azure.com

Azure Log Analytics API reference for management of saved Queries within Query Packs.

🔑 oauth2 5 endpoints cloud
📄 Docs 📋 OpenAPI spec 🔬 Try in Swagger UI

SDKs by language (9 total)

azure-sdk-for-python ✓ Official
pip install azure-sdk-for-python
azure-sdk-for-js ✓ Official
npm install azure-sdk-for-js
azure-sdk-for-node ✓ Official
npm install azure-sdk-for-node
azure-sdk-for-go ✓ Official
go get github.com/Azure/azure-sdk-for-go
azure-sdk-for-java ✓ Official
# Maven: see https://github.com/Azure/azure-sdk-for-java
dotnet add package cognitive-services-speech-sdk
azure-sdk-for-net ✓ Official
dotnet add package azure-sdk-for-net
# See https://github.com/microsoft/Azure-Kinect-Sensor-SDK
# See https://github.com/Azure/MachineLearningNotebooks
curl examples
Gets a list of Queries defined within a Log Analytics QueryPack.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/queryPacks/{queryPackName}/queries
Gets a specific Log Analytics Query defined within a Log Analytics QueryPack.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/queryPacks/{queryPackName}/queries/{queryId}
Endpoints (5 total)
GET
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/queryPacks/{queryPackName}/queries
Gets a list of Queries defined within a Log Analytics QueryPack.
GET
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/queryPacks/{queryPackName}/queries/{queryId}
Gets a specific Log Analytics Query defined within a Log Analytics QueryPack.
POST
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/queryPacks/{queryPackName}/queries/search
Search a list of Queries defined within a Log Analytics QueryPack according t…
PUT
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/queryPacks/{queryPackName}/queries/{queryId}
Adds or Updates a specific Query within a Log Analytics QueryPack.
DELETE
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/queryPacks/{queryPackName}/queries/{queryId}
Deletes a specific Query defined within an Log Analytics QueryPack.
At a glance
Total SDKs9
Languages8
Endpoints5
Authoauth2
Categories1