Microsoft Azure

Azure Operationalinsights: Query Packs

Azure Log Analytics API reference for Query Packs management.

Developer tools#openapi

Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.

Overview

Azure Log Analytics API reference for Query Packs management.

Endpoints 7

  • GETQueryPacks_List/subscriptions/:subscriptionId/providers/Microsoft.OperationalInsights/queryPacksGets a list of all Log Analytics QueryPacks within a subscription.
  • GETQueryPacks_ListByResourceGroup/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.OperationalInsights/queryPacksGets a list of Log Analytics QueryPacks within a resource group.
  • PUTQueryPacks_CreateOrUpdateWithoutName/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.OperationalInsights/queryPacksCreates a Log Analytics QueryPack. Note: You cannot specify a different value for InstrumentationKey nor AppId in the Put operation.
  • GETQueryPacks_Get/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.OperationalInsights/queryPacks/:queryPackNameReturns a Log Analytics QueryPack.
  • PUTQueryPacks_CreateOrUpdate/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.OperationalInsights/queryPacks/:queryPackNameCreates (or updates) a Log Analytics QueryPack. Note: You cannot specify a different value for InstrumentationKey nor AppId in the Put operation.
  • DELETEQueryPacks_Delete/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.OperationalInsights/queryPacks/:queryPackNameDeletes a Log Analytics QueryPack.
  • PATCHQueryPacks_UpdateTags/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.OperationalInsights/queryPacks/:queryPackNameUpdates an existing QueryPack's tags. To update other fields use the CreateOrUpdate method.

API details

Base URL
https://management.azure.com
Authentication
OAuth 2.0 (implicit flow) with 1 scope
Operations
7 operations on 3 pathsGET 3PUT 2PATCH 1DELETE 1
Response formats
application/json
Description format
Swagger 2.0, API version 2025-02-01

How to test the Azure Operationalinsights: Query Packs in Swastik Codes

  1. Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
  2. Fork it into your workspaceChoose a workspace. You get your own copy of the Azure Operationalinsights: Query Packs collection, without the publisher's secrets.
  3. Add your credentialsThis API uses OAuth 2.0 (implicit flow) with 1 scope. Add yours in the collection's variables or an environment; the requests already reference it.
  4. Send a requestPick an endpoint, for example “QueryPacks_List” (GET /subscriptions/:subscriptionId/providers/Microsoft.OperationalInsights/queryPacks), and press Send. Check the response, add tests and run the whole collection with the runner.

Frequently asked questions

What is the Azure Operationalinsights: Query Packs?

Azure Log Analytics API reference for Query Packs management. It is listed under Developer tools and has 7 endpoints.

Who publishes the Azure Operationalinsights: Query Packs?

It is listed from Microsoft Azure's public API description (an OpenAPI document), not published by Microsoft Azure on Swastik Codes. Anyone who controls azure.com can claim the profile by adding a DNS TXT record.

What is the base URL of the Azure Operationalinsights: Query Packs?

Requests go to https://management.azure.com. Endpoint paths are added to this base URL.

How do I authenticate with the Azure Operationalinsights: Query Packs?

With OAuth 2.0 (implicit flow) with 1 scope.

How many endpoints does the Azure Operationalinsights: Query Packs have?

7 operations on 3 paths (3 GET, 2 PUT, 1 PATCH, 1 DELETE).

Is forking the Azure Operationalinsights: Query Packs free?

Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.

Suggest an API

Tell us which public API is missing. We check it, then add it here with its endpoints when it has an OpenAPI (Swagger) description.