Azure Operationalinsights: Openapi
Provides NSP operations for working with Log Analytics.
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
Provides NSP operations for working with Log Analytics.
Endpoints 85
Operations
- GETOperations_List
/providers/Microsoft.OperationalInsights/operationsLists all of the available OperationalInsights Rest API operations.
Clusters
- GETClusters_List
/subscriptions/:subscriptionId/providers/Microsoft.OperationalInsights/clustersGets the Log Analytics clusters in a subscription. - GETClusters_ListByResourceGroup
/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.OperationalInsights/clustersGets Log Analytics clusters in a resource group. - GETClusters_Get
/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.OperationalInsights/clusters/:clusterNameGets a Log Analytics cluster instance. - PUTClusters_CreateOrUpdate
/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.OperationalInsights/clusters/:clusterNameCreate or update a Log Analytics cluster. - DELETEClusters_Delete
/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.OperationalInsights/clusters/:clusterNameDeletes a cluster instance. - PATCHClusters_Update
/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.OperationalInsights/clusters/:clusterNameUpdates a Log Analytics cluster.
DataExport
- GETDataExports_ListByWorkspace
/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.OperationalInsights/workspaces/:workspaceName/dataExportsLists the data export instances within a workspace. - GETDataExports_Get
/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.OperationalInsights/workspaces/:workspaceName/dataExports/:dataExportNameGets a data export instance. - PUTDataExports_CreateOrUpdate
/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.OperationalInsights/workspaces/:workspaceName/dataExports/:dataExportNameCreate or update a data export. - DELETEDataExports_Delete
/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.OperationalInsights/workspaces/:workspaceName/dataExports/:dataExportNameDeletes the specified data export in a given workspace..
Workspaces
- GETWorkspaces_List
/subscriptions/:subscriptionId/providers/Microsoft.OperationalInsights/workspacesGets the workspaces in a subscription. - POSTWorkspaces_Failover
/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.OperationalInsights/locations/:location/workspaces/:workspaceName/failoverActivates failover for the specified workspace. The specified replication location must match the location of the enabled replication for this workspace. The… - GETWorkspaces_ListByResourceGroup
/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.OperationalInsights/workspacesGets workspaces in a resource group. - GETWorkspaces_Get
/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.OperationalInsights/workspaces/:workspaceNameGets a workspace instance. - PUTWorkspaces_CreateOrUpdate
/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.OperationalInsights/workspaces/:workspaceNameCreate or update a workspace. - DELETEWorkspaces_Delete
/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.OperationalInsights/workspaces/:workspaceName?force=trueDeletes a workspace resource. To recover the workspace, create it again with the same name, in the same subscription, resource group and location. The name is… - PATCHWorkspaces_Update
/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.OperationalInsights/workspaces/:workspaceNameUpdates a workspace. - POSTWorkspaces_Failback
/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.OperationalInsights/workspaces/:workspaceName/failbackDeactivates failover for the specified workspace. The failback operation is asynchronous and can take up to 30 minutes to complete. The status of the… - DELETEGateways_Delete
/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.OperationalInsights/workspaces/:workspaceName/gateways/:gatewayIdDelete a Log Analytics gateway. - GETIntelligencePacks_List
/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.OperationalInsights/workspaces/:workspaceName/intelligencePacksLists all the intelligence packs possible and whether they are enabled or disabled for a given workspace. - POSTIntelligencePacks_Disable
/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.OperationalInsights/workspaces/:workspaceName/intelligencePacks/:intelligencePackName/DisableDisables an intelligence pack for a given workspace. - POSTIntelligencePacks_Enable
/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.OperationalInsights/workspaces/:workspaceName/intelligencePacks/:intelligencePackName/EnableEnables an intelligence pack for a given workspace. - GETManagementGroups_List
/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.OperationalInsights/workspaces/:workspaceName/managementGroupsGets a list of management groups connected to a workspace. - GETWorkspacePurge_GetPurgeStatus
/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.OperationalInsights/workspaces/:workspaceName/operations/:purgeIdGets status of an ongoing purge operation. - POSTWorkspacePurge_Purge
/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.OperationalInsights/workspaces/:workspaceName/purgePurges data in an Log Analytics workspace by a set of user-defined filters. In order to manage system resources, purge requests are throttled at 50 requests… - POSTWorkspacePurge_PurgeLakeData
/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.OperationalInsights/workspaces/:workspaceName/purgeLakeDataPurges data lake data in a Log Analytics workspace for a table over a specified time range. This operation deletes data lake data (Auxiliary tables, or… - POSTSharedKeys_Regenerate
/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.OperationalInsights/workspaces/:workspaceName/regenerateSharedKeyRegenerates the shared keys for a Log Analytics Workspace. These keys are used to connect Microsoft Operational Insights agents to the workspace. - POSTSchema_Get
/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.OperationalInsights/workspaces/:workspaceName/schemaGets the schema for a given workspace. - POSTSharedKeys_GetSharedKeys
/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.OperationalInsights/workspaces/:workspaceName/sharedKeysGets the shared keys for a workspace. - GETUsages_List
/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.OperationalInsights/workspaces/:workspaceName/usagesGets a list of usage metrics for a workspace.
AvailableServiceTiers
- GETAvailableServiceTiers_ListByWorkspace
/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.OperationalInsights/workspaces/:workspaceName/availableServiceTiersGets the available service tiers for the workspace.
DataSources
- GETDataSources_ListByWorkspace
/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.OperationalInsights/workspaces/:workspaceName/dataSources?$filter=string&$skiptoken=stringGets the first page of data source instances in a workspace with the link to the next page. - GETDataSources_Get
/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.OperationalInsights/workspaces/:workspaceName/dataSources/:dataSourceNameGets a datasource instance. - PUTDataSources_CreateOrUpdate
/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.OperationalInsights/workspaces/:workspaceName/dataSources/:dataSourceNameCreate or update a data source. - DELETEDataSources_Delete
/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.OperationalInsights/workspaces/:workspaceName/dataSources/:dataSourceNameDeletes a data source instance.
LinkedServices
- GETLinkedServices_ListByWorkspace
/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.OperationalInsights/workspaces/:workspaceName/linkedServicesGets the linked services instances in a workspace. - GETLinkedServices_Get
/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.OperationalInsights/workspaces/:workspaceName/linkedServices/:linkedServiceNameGets a linked service instance. - PUTLinkedServices_CreateOrUpdate
/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.OperationalInsights/workspaces/:workspaceName/linkedServices/:linkedServiceNameCreate or update a linked service. - DELETELinkedServices_Delete
/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.OperationalInsights/workspaces/:workspaceName/linkedServices/:linkedServiceNameDeletes a linked service instance.
LinkedStorageAccounts
- GETLinkedStorageAccounts_ListByWorkspace
/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.OperationalInsights/workspaces/:workspaceName/linkedStorageAccountsGets all linked storage accounts associated with the specified workspace, storage accounts will be sorted by their data source type. - GETLinkedStorageAccounts_Get
/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.OperationalInsights/workspaces/:workspaceName/linkedStorageAccounts/:dataSourceTypeGets all linked storage account of a specific data source type associated with the specified workspace. - PUTLinkedStorageAccounts_CreateOrUpdate
/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.OperationalInsights/workspaces/:workspaceName/linkedStorageAccounts/:dataSourceTypeCreate or Update a link relation between current workspace and a group of storage accounts of a specific data source type. - DELETELinkedStorageAccounts_Delete
/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.OperationalInsights/workspaces/:workspaceName/linkedStorageAccounts/:dataSourceTypeDeletes all linked storage accounts of a specific data source type associated with the specified workspace.
SavedSearches
- GETSavedSearches_ListByWorkspace
/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.OperationalInsights/workspaces/:workspaceName/savedSearchesGets the saved searches for a given Log Analytics Workspace - GETSavedSearches_Get
/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.OperationalInsights/workspaces/:workspaceName/savedSearches/:savedSearchIdGets the specified saved search for a given workspace. - PUTSavedSearches_CreateOrUpdate
/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.OperationalInsights/workspaces/:workspaceName/savedSearches/:savedSearchIdCreates or updates a saved search for a given workspace. - DELETESavedSearches_Delete
/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.OperationalInsights/workspaces/:workspaceName/savedSearches/:savedSearchIdDeletes the specified saved search in a given workspace.
StorageInsights
- GETStorageInsightConfigs_ListByWorkspace
/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.OperationalInsights/workspaces/:workspaceName/storageInsightConfigsLists the storage insight instances within a workspace - GETStorageInsightConfigs_Get
/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.OperationalInsights/workspaces/:workspaceName/storageInsightConfigs/:storageInsightNameGets a storage insight instance. - PUTStorageInsightConfigs_CreateOrUpdate
/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.OperationalInsights/workspaces/:workspaceName/storageInsightConfigs/:storageInsightNameCreate or update a storage insight. - DELETEStorageInsightConfigs_Delete
/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.OperationalInsights/workspaces/:workspaceName/storageInsightConfigs/:storageInsightNameDeletes a storageInsightsConfigs resource
Tables
- GETTables_ListByWorkspace
/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.OperationalInsights/workspaces/:workspaceName/tablesGets all the tables for the specified Log Analytics workspace. - GETTables_Get
/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.OperationalInsights/workspaces/:workspaceName/tables/:tableNameGets a Log Analytics workspace table. - PUTTables_CreateOrUpdate
/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.OperationalInsights/workspaces/:workspaceName/tables/:tableNameUpdate or Create a Log Analytics workspace table. - DELETETables_Delete
/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.OperationalInsights/workspaces/:workspaceName/tables/:tableNameDelete a Log Analytics workspace table. - PATCHTables_Update
/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.OperationalInsights/workspaces/:workspaceName/tables/:tableNameUpdate a Log Analytics workspace table. - POSTTables_CancelSearch
/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.OperationalInsights/workspaces/:workspaceName/tables/:tableName/cancelSearchCancel a log analytics workspace search results table query run. - POSTTables_Migrate
/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.OperationalInsights/workspaces/:workspaceName/tables/:tableName/migrateMigrate a Log Analytics table from support of the Data Collector API and Custom Fields features to support of Data Collection Rule-based Custom Logs.
NetworkSecurityPerimeterConfigurations
- GETWorkspaces_ListNSP
/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.OperationalInsights/workspaces/:workspaceName/networkSecurityPerimeterConfigurationsGets a list of NSP configurations for specified workspace. - GETWorkspaces_GetNSP
/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.OperationalInsights/workspaces/:workspaceName/networkSecurityPerimeterConfigurations/:networkSecurityPerimeterConfigurationNameGets a network security perimeter configuration. - POSTWorkspaces_ReconcileNSP
/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.OperationalInsights/workspaces/:workspaceName/networkSecurityPerimeterConfigurations/:networkSecurityPerimeterConfigurationName/reconcileReconcile network security perimeter configuration for Workspace resource.
SummaryRules
- GETSummaryLogs_ListByWorkspace
/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.OperationalInsights/workspaces/:workspaceName/summaryLogsGets all summary rules for the specified Log Analytics workspace. - GETSummaryLogs_Get
/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.OperationalInsights/workspaces/:workspaceName/summaryLogs/:summaryLogsNameGets Log Analytics workspace Summary rules. - PUTSummaryLogs_CreateOrUpdate
/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.OperationalInsights/workspaces/:workspaceName/summaryLogs/:summaryLogsNameCreates or updates Log Analytics workspace Summary rules. - DELETESummaryLogs_Delete
/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.OperationalInsights/workspaces/:workspaceName/summaryLogs/:summaryLogsNameDeletes Log Analytics workspace Summary rules. - POSTSummaryLogs_RetryBin
/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.OperationalInsights/workspaces/:workspaceName/summaryLogs/:summaryLogsName/retrybinRetries a failed Summary rule bin. - POSTSummaryLogs_Start
/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.OperationalInsights/workspaces/:workspaceName/summaryLogs/:summaryLogsName/startStarts an inactive Summary rule. - POSTSummaryLogs_Stop
/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.OperationalInsights/workspaces/:workspaceName/summaryLogs/:summaryLogsName/stopStops an active Summary rule.
asyncOperations
- GETOperationStatuses_Get
/subscriptions/:subscriptionId/providers/Microsoft.OperationalInsights/locations/:location/operationStatuses/:asyncOperationIdGet the status of a long running azure asynchronous operation.
DeletedWorkspaces
- GETDeletedWorkspaces_List
/subscriptions/:subscriptionId/providers/Microsoft.OperationalInsights/deletedWorkspacesGets recently deleted workspaces in a subscription, available for recovery. - GETDeletedWorkspaces_ListByResourceGroup
/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.OperationalInsights/deletedWorkspacesGets recently deleted workspaces in a resource group, available for recovery.
- 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. - GETQueries_List
/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.OperationalInsights/queryPacks/:queryPackName/queries?$top=0&includeBody=true&$skipToken=stringGets a list of Queries defined within a Log Analytics QueryPack. - GETQueries_Get
/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.OperationalInsights/queryPacks/:queryPackName/queries/:idGets a specific Log Analytics Query defined within a Log Analytics QueryPack. - PUTQueries_Put
/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.OperationalInsights/queryPacks/:queryPackName/queries/:idAdds or Updates a specific Query within a Log Analytics QueryPack. - DELETEQueries_Delete
/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.OperationalInsights/queryPacks/:queryPackName/queries/:idDeletes a specific Query defined within an Log Analytics QueryPack. - PATCHQueries_Update
/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.OperationalInsights/queryPacks/:queryPackName/queries/:idAdds or Updates a specific Query within a Log Analytics QueryPack. - POSTQueries_Search
/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.OperationalInsights/queryPacks/:queryPackName/queries/search?$top=0&includeBody=true&$skipToken=stringSearch a list of Queries defined within a Log Analytics QueryPack according to given search properties.
API details
- Base URL
https://management.azure.com- Authentication
- OAuth 2.0 (implicit flow) with 1 scope
- Operations
- 85 operations on 55 pathsGET 38POST 16PUT 13DELETE 13PATCH 5
- Main resources
- Workspaces 20SummaryRules 7Tables 7Clusters 6DataExport 4DataSources 4LinkedServices 4LinkedStorageAccounts 4SavedSearches 4StorageInsights 4
- Response formats
application/json- Description format
- Swagger 2.0, API version
2026-03-01 - Links
- OpenAPI document
How to test the Azure Operationalinsights: Openapi in Swastik Codes
- Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
- Fork it into your workspaceChoose a workspace. You get your own copy of the Azure Operationalinsights: Openapi collection, without the publisher's secrets.
- 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.
- Send a requestPick an endpoint, for example “Operations_List” (GET /providers/Microsoft.OperationalInsights/operations), and press Send. Check the response, add tests and run the whole collection with the runner.
Frequently asked questions
What is the Azure Operationalinsights: Openapi?
Provides NSP operations for working with Log Analytics. It is listed under Developer tools and has 85 endpoints.
Who publishes the Azure Operationalinsights: Openapi?
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: Openapi?
Requests go to https://management.azure.com. Endpoint paths are added to this base URL.
How do I authenticate with the Azure Operationalinsights: Openapi?
With OAuth 2.0 (implicit flow) with 1 scope.
How many endpoints does the Azure Operationalinsights: Openapi have?
85 operations on 55 paths (38 GET, 16 POST, 13 PUT, 13 DELETE, 5 PATCH). The largest groups are Workspaces, SummaryRules, Tables, Clusters.
Is forking the Azure Operationalinsights: Openapi free?
Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.