Microsoft.OperationalInsights (stable:2025-02-01)

2025/03/17 • 72 new methods

AvailableServiceTiers_ListByWorkspace (new)
Description :  Gets the available service tiers for the workspace.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/availableServiceTiers
{
subscriptionId: string ,
resourceGroupName: string ,
workspaceName: string ,
api-version: string ,
}

⚐ Response (200)

{
serviceTier: enum ,
enabled: boolean ,
minimumRetention: integer ,
maximumRetention: integer ,
defaultRetention: integer ,
capacityReservationLevel: integer ,
lastSkuUpdate: string ,
}
Clusters_ListByResourceGroup (new)
Description :  Gets Log Analytics clusters in a resource group.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/clusters
{
resourceGroupName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
nextLink: string ,
value:
[
{
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
sku:
{
capacity: integer ,
name: enum ,
}
,
properties:
{
clusterId: string ,
provisioningState: enum ,
isDoubleEncryptionEnabled: boolean ,
isAvailabilityZonesEnabled: boolean ,
billingType: enum ,
keyVaultProperties:
{
keyVaultUri: string ,
keyName: string ,
keyVersion: string ,
keyRsaSize: integer ,
}
,
lastModifiedDate: string ,
createdDate: string ,
associatedWorkspaces:
[
{
workspaceId: string ,
workspaceName: string ,
resourceId: string ,
associateDate: string ,
}
,
]
,
capacityReservationProperties:
{
lastSkuUpdate: string ,
minCapacity: integer ,
}
,
replication:
{
location: string ,
enabled: boolean ,
isAvailabilityZonesEnabled: boolean ,
provisioningState: enum ,
createdDate: string ,
lastModifiedDate: string ,
}
,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Clusters_List (new)
Description :  Gets the Log Analytics clusters in a subscription.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.OperationalInsights/clusters
{
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
nextLink: string ,
value:
[
{
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
sku:
{
capacity: integer ,
name: enum ,
}
,
properties:
{
clusterId: string ,
provisioningState: enum ,
isDoubleEncryptionEnabled: boolean ,
isAvailabilityZonesEnabled: boolean ,
billingType: enum ,
keyVaultProperties:
{
keyVaultUri: string ,
keyName: string ,
keyVersion: string ,
keyRsaSize: integer ,
}
,
lastModifiedDate: string ,
createdDate: string ,
associatedWorkspaces:
[
{
workspaceId: string ,
workspaceName: string ,
resourceId: string ,
associateDate: string ,
}
,
]
,
capacityReservationProperties:
{
lastSkuUpdate: string ,
minCapacity: integer ,
}
,
replication:
{
location: string ,
enabled: boolean ,
isAvailabilityZonesEnabled: boolean ,
provisioningState: enum ,
createdDate: string ,
lastModifiedDate: string ,
}
,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Clusters_CreateOrUpdate (new)
Description :  Create or update a Log Analytics cluster.
Reference :  Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/clusters/{clusterName}
{
resourceGroupName: string ,
api-version: string ,
subscriptionId: string ,
clusterName: string ,
parameters:
{
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
sku:
{
capacity: integer ,
name: enum ,
}
,
properties:
{
clusterId: string ,
provisioningState: enum ,
isDoubleEncryptionEnabled: boolean ,
isAvailabilityZonesEnabled: boolean ,
billingType: enum ,
keyVaultProperties:
{
keyVaultUri: string ,
keyName: string ,
keyVersion: string ,
keyRsaSize: integer ,
}
,
lastModifiedDate: string ,
createdDate: string ,
associatedWorkspaces:
[
{
workspaceId: string ,
workspaceName: string ,
resourceId: string ,
associateDate: string ,
}
,
]
,
capacityReservationProperties:
{
lastSkuUpdate: string ,
minCapacity: integer ,
}
,
replication:
{
location: string ,
enabled: boolean ,
isAvailabilityZonesEnabled: boolean ,
provisioningState: enum ,
createdDate: string ,
lastModifiedDate: string ,
}
,
}
,
}
,
}

⚐ Response (202)

{
location: string ,
azure-asyncoperation: string ,
}

⚐ Response (200)

{
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
sku:
{
capacity: integer ,
name: enum ,
}
,
properties:
{
clusterId: string ,
provisioningState: enum ,
isDoubleEncryptionEnabled: boolean ,
isAvailabilityZonesEnabled: boolean ,
billingType: enum ,
keyVaultProperties:
{
keyVaultUri: string ,
keyName: string ,
keyVersion: string ,
keyRsaSize: integer ,
}
,
lastModifiedDate: string ,
createdDate: string ,
associatedWorkspaces:
[
{
workspaceId: string ,
workspaceName: string ,
resourceId: string ,
associateDate: string ,
}
,
]
,
capacityReservationProperties:
{
lastSkuUpdate: string ,
minCapacity: integer ,
}
,
replication:
{
location: string ,
enabled: boolean ,
isAvailabilityZonesEnabled: boolean ,
provisioningState: enum ,
createdDate: string ,
lastModifiedDate: string ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Clusters_Delete (new)
Description :  Deletes a cluster instance.
Reference :  Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/clusters/{clusterName}
{
resourceGroupName: string ,
clusterName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (202)

{}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Clusters_Get (new)
Description :  Gets a Log Analytics cluster instance.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/clusters/{clusterName}
{
subscriptionId: string ,
resourceGroupName: string ,
api-version: string ,
clusterName: string ,
}

⚐ Response (200)

{
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
sku:
{
capacity: integer ,
name: enum ,
}
,
properties:
{
clusterId: string ,
provisioningState: enum ,
isDoubleEncryptionEnabled: boolean ,
isAvailabilityZonesEnabled: boolean ,
billingType: enum ,
keyVaultProperties:
{
keyVaultUri: string ,
keyName: string ,
keyVersion: string ,
keyRsaSize: integer ,
}
,
lastModifiedDate: string ,
createdDate: string ,
associatedWorkspaces:
[
{
workspaceId: string ,
workspaceName: string ,
resourceId: string ,
associateDate: string ,
}
,
]
,
capacityReservationProperties:
{
lastSkuUpdate: string ,
minCapacity: integer ,
}
,
replication:
{
location: string ,
enabled: boolean ,
isAvailabilityZonesEnabled: boolean ,
provisioningState: enum ,
createdDate: string ,
lastModifiedDate: string ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Clusters_Update (new)
Description :  Updates a Log Analytics cluster.
Reference :  Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/clusters/{clusterName}
{
resourceGroupName: string ,
clusterName: string ,
parameters:
{
properties:
{
keyVaultProperties:
{
keyVaultUri: string ,
keyName: string ,
keyVersion: string ,
keyRsaSize: integer ,
}
,
billingType: enum ,
}
,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
sku:
{
capacity: integer ,
name: enum ,
}
,
tags: object ,
}
,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
sku:
{
capacity: integer ,
name: enum ,
}
,
properties:
{
clusterId: string ,
provisioningState: enum ,
isDoubleEncryptionEnabled: boolean ,
isAvailabilityZonesEnabled: boolean ,
billingType: enum ,
keyVaultProperties:
{
keyVaultUri: string ,
keyName: string ,
keyVersion: string ,
keyRsaSize: integer ,
}
,
lastModifiedDate: string ,
createdDate: string ,
associatedWorkspaces:
[
{
workspaceId: string ,
workspaceName: string ,
resourceId: string ,
associateDate: string ,
}
,
]
,
capacityReservationProperties:
{
lastSkuUpdate: string ,
minCapacity: integer ,
}
,
replication:
{
location: string ,
enabled: boolean ,
isAvailabilityZonesEnabled: boolean ,
provisioningState: enum ,
createdDate: string ,
lastModifiedDate: string ,
}
,
}
,
}

⚐ Response (202)

{
location: string ,
azure-asyncoperation: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
DataExports_ListByWorkspace (new)
Description :  Lists the data export instances within a workspace.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/dataExports
{
subscriptionId: string ,
resourceGroupName: string ,
workspaceName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
dataExportId: string ,
tableNames:
[
string ,
]
,
destination:
{
resourceId: string ,
type: enum ,
metaData:
{
eventHubName: string ,
}
,
}
,
enable: boolean ,
createdDate: string ,
lastModifiedDate: string ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
DataExports_CreateOrUpdate (new)
Description :  Create or update a data export.
Reference :  Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/dataExports/{dataExportName}
{
subscriptionId: string ,
resourceGroupName: string ,
workspaceName: string ,
dataExportName: string ,
api-version: string ,
parameters:
{
properties:
{
dataExportId: string ,
tableNames:
[
string ,
]
,
destination:
{
resourceId: string ,
type: enum ,
metaData:
{
eventHubName: string ,
}
,
}
,
enable: boolean ,
createdDate: string ,
lastModifiedDate: string ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
dataExportId: string ,
tableNames:
[
string ,
]
,
destination:
{
resourceId: string ,
type: enum ,
metaData:
{
eventHubName: string ,
}
,
}
,
enable: boolean ,
createdDate: string ,
lastModifiedDate: string ,
}
,
}

⚐ Response (201)

{
properties:
{
dataExportId: string ,
tableNames:
[
string ,
]
,
destination:
{
resourceId: string ,
type: enum ,
metaData:
{
eventHubName: string ,
}
,
}
,
enable: boolean ,
createdDate: string ,
lastModifiedDate: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
DataExports_Get (new)
Description :  Gets a data export instance.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/dataExports/{dataExportName}
{
subscriptionId: string ,
resourceGroupName: string ,
workspaceName: string ,
dataExportName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
dataExportId: string ,
tableNames:
[
string ,
]
,
destination:
{
resourceId: string ,
type: enum ,
metaData:
{
eventHubName: string ,
}
,
}
,
enable: boolean ,
createdDate: string ,
lastModifiedDate: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
DataExports_Delete (new)
Description :  Deletes the specified data export in a given workspace..
Reference :  Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/dataExports/{dataExportName}
{
subscriptionId: string ,
resourceGroupName: string ,
workspaceName: string ,
dataExportName: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (404)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
DataSources_CreateOrUpdate (new)
Description :  Create or update a data source.
Reference :  Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/dataSources/{dataSourceName}
{
resourceGroupName: string ,
workspaceName: string ,
dataSourceName: string ,
parameters:
{
properties: object ,
etag: string ,
kind: enum ,
tags: object ,
}
,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
properties: object ,
etag: string ,
kind: enum ,
tags: object ,
}

⚐ Response (201)

{
properties: object ,
etag: string ,
kind: enum ,
tags: object ,
}
DataSources_Delete (new)
Description :  Deletes a data source instance.
Reference :  Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/dataSources/{dataSourceName}
{
resourceGroupName: string ,
workspaceName: string ,
dataSourceName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}
DataSources_Get (new)
Description :  Gets a datasource instance.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/dataSources/{dataSourceName}
{
resourceGroupName: string ,
workspaceName: string ,
dataSourceName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
properties: object ,
etag: string ,
kind: enum ,
tags: object ,
}
DataSources_ListByWorkspace (new)
Description :  Gets the first page of data source instances in a workspace with the link to the next page.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/dataSources
{
resourceGroupName: string ,
workspaceName: string ,
$filter: string ,
$skiptoken: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
properties: object ,
etag: string ,
kind: enum ,
tags: object ,
}
,
]
,
nextLink: string ,
}
Gateways_Delete (new)
Description :  Delete a Log Analytics gateway.
Reference :  Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/gateways/{gatewayId}
{
subscriptionId: string ,
resourceGroupName: string ,
workspaceName: string ,
gatewayId: string ,
api-version: string ,
}

⚐ Response (200)

{}
IntelligencePacks_Disable (new)
Description :  Disables an intelligence pack for a given workspace.
Reference :  Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/intelligencePacks/{intelligencePackName}/Disable
{
resourceGroupName: string ,
workspaceName: string ,
intelligencePackName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{}
IntelligencePacks_Enable (new)
Description :  Enables an intelligence pack for a given workspace.
Reference :  Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/intelligencePacks/{intelligencePackName}/Enable
{
resourceGroupName: string ,
workspaceName: string ,
intelligencePackName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{}
IntelligencePacks_List (new)
Description :  Lists all the intelligence packs possible and whether they are enabled or disabled for a given workspace.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/intelligencePacks
{
resourceGroupName: string ,
workspaceName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
name: string ,
enabled: boolean ,
displayName: string ,
}
LinkedServices_CreateOrUpdate (new)
Description :  Create or update a linked service.
Reference :  Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/linkedServices/{linkedServiceName}
{
resourceGroupName: string ,
workspaceName: string ,
linkedServiceName: string ,
parameters:
{
properties:
{
resourceId: string ,
writeAccessResourceId: string ,
provisioningState: enum ,
}
,
tags: object ,
}
,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (202)

{}

⚐ Response (200)

{
properties:
{
resourceId: string ,
writeAccessResourceId: string ,
provisioningState: enum ,
}
,
tags: object ,
}

⚐ Response (201)

{
properties:
{
resourceId: string ,
writeAccessResourceId: string ,
provisioningState: enum ,
}
,
tags: object ,
}
LinkedServices_Delete (new)
Description :  Deletes a linked service instance.
Reference :  Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/linkedServices/{linkedServiceName}
{
resourceGroupName: string ,
workspaceName: string ,
linkedServiceName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
properties:
{
resourceId: string ,
writeAccessResourceId: string ,
provisioningState: enum ,
}
,
tags: object ,
}

⚐ Response (202)

{}

⚐ Response (204)

{}
LinkedServices_Get (new)
Description :  Gets a linked service instance.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/linkedServices/{linkedServiceName}
{
resourceGroupName: string ,
workspaceName: string ,
linkedServiceName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
properties:
{
resourceId: string ,
writeAccessResourceId: string ,
provisioningState: enum ,
}
,
tags: object ,
}
LinkedServices_ListByWorkspace (new)
Description :  Gets the linked services instances in a workspace.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/linkedServices
{
resourceGroupName: string ,
workspaceName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
resourceId: string ,
writeAccessResourceId: string ,
provisioningState: enum ,
}
,
tags: object ,
}
,
]
,
}
LinkedStorageAccounts_CreateOrUpdate (new)
Description :  Create or Update a link relation between current workspace and a group of storage accounts of a specific data source type.
Reference :  Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/linkedStorageAccounts/{dataSourceType}
{
resourceGroupName: string ,
workspaceName: string ,
dataSourceType: string ,
parameters:
{
properties:
{
dataSourceType: enum ,
storageAccountIds:
[
string ,
]
,
}
,
}
,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
dataSourceType: enum ,
storageAccountIds:
[
string ,
]
,
}
,
}
LinkedStorageAccounts_Delete (new)
Description :  Deletes all linked storage accounts of a specific data source type associated with the specified workspace.
Reference :  Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/linkedStorageAccounts/{dataSourceType}
{
resourceGroupName: string ,
workspaceName: string ,
dataSourceType: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{}
LinkedStorageAccounts_Get (new)
Description :  Gets all linked storage account of a specific data source type associated with the specified workspace.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/linkedStorageAccounts/{dataSourceType}
{
resourceGroupName: string ,
workspaceName: string ,
dataSourceType: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
properties:
{
dataSourceType: enum ,
storageAccountIds:
[
string ,
]
,
}
,
}
LinkedStorageAccounts_ListByWorkspace (new)
Description :  Gets all linked storage accounts associated with the specified workspace, storage accounts will be sorted by their data source type.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/linkedStorageAccounts
{
subscriptionId: string ,
resourceGroupName: string ,
api-version: string ,
workspaceName: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
dataSourceType: enum ,
storageAccountIds:
[
string ,
]
,
}
,
}
,
]
,
}
ManagementGroups_List (new)
Description :  Gets a list of management groups connected to a workspace.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/managementGroups
{
resourceGroupName: string ,
workspaceName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
serverCount: integer ,
isGateway: boolean ,
name: string ,
id: string ,
created: string ,
dataReceived: string ,
version: string ,
sku: string ,
}
,
}
,
]
,
}
OperationStatuses_Get (new)
Description :  Get the status of a long running azure asynchronous operation.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.OperationalInsights/locations/{location}/operationStatuses/{asyncOperationId}
{
location: string ,
asyncOperationId: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
id: string ,
name: string ,
startTime: string ,
endTime: string ,
status: string ,
error:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
,
}
Operations_List (new)
Description :  Lists all of the available OperationalInsights Rest API operations.
Reference :  Link ¶

⚼ Request

GET:  /providers/Microsoft.OperationalInsights/operations
{
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
name: string ,
display:
{
provider: string ,
resource: string ,
operation: string ,
description: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Queries_List (new)
Description :  Gets a list of Queries defined within a Log Analytics QueryPack.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/queryPacks/{queryPackName}/queries
{
subscriptionId: string ,
resourceGroupName: string ,
queryPackName: string ,
api-version: string ,
$top: integer ,
includeBody: boolean ,
$skipToken: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
id: string ,
displayName: string ,
timeCreated: string ,
timeModified: string ,
author: string ,
description: string ,
body: string ,
related:
{
categories:
[
string ,
]
,
resourceTypes:
[
string ,
]
,
solutions:
[
string ,
]
,
}
,
tags: object ,
properties: object ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Queries_Get (new)
Description :  Gets a specific Log Analytics Query defined within a Log Analytics QueryPack.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/queryPacks/{queryPackName}/queries/{id}
{
subscriptionId: string ,
resourceGroupName: string ,
queryPackName: string ,
id: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
id: string ,
displayName: string ,
timeCreated: string ,
timeModified: string ,
author: string ,
description: string ,
body: string ,
related:
{
categories:
[
string ,
]
,
resourceTypes:
[
string ,
]
,
solutions:
[
string ,
]
,
}
,
tags: object ,
properties: object ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Queries_Put (new)
Description :  Adds or Updates a specific Query within a Log Analytics QueryPack.
Reference :  Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/queryPacks/{queryPackName}/queries/{id}
{
subscriptionId: string ,
resourceGroupName: string ,
queryPackName: string ,
id: string ,
api-version: string ,
QueryPayload:
{
properties:
{
id: string ,
displayName: string ,
timeCreated: string ,
timeModified: string ,
author: string ,
description: string ,
body: string ,
related:
{
categories:
[
string ,
]
,
resourceTypes:
[
string ,
]
,
solutions:
[
string ,
]
,
}
,
tags: object ,
properties: object ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
id: string ,
displayName: string ,
timeCreated: string ,
timeModified: string ,
author: string ,
description: string ,
body: string ,
related:
{
categories:
[
string ,
]
,
resourceTypes:
[
string ,
]
,
solutions:
[
string ,
]
,
}
,
tags: object ,
properties: object ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Queries_Update (new)
Description :  Adds or Updates a specific Query within a Log Analytics QueryPack.
Reference :  Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/queryPacks/{queryPackName}/queries/{id}
{
subscriptionId: string ,
resourceGroupName: string ,
queryPackName: string ,
id: string ,
api-version: string ,
QueryPayload:
{
properties:
{
id: string ,
displayName: string ,
timeCreated: string ,
timeModified: string ,
author: string ,
description: string ,
body: string ,
related:
{
categories:
[
string ,
]
,
resourceTypes:
[
string ,
]
,
solutions:
[
string ,
]
,
}
,
tags: object ,
properties: object ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
id: string ,
displayName: string ,
timeCreated: string ,
timeModified: string ,
author: string ,
description: string ,
body: string ,
related:
{
categories:
[
string ,
]
,
resourceTypes:
[
string ,
]
,
solutions:
[
string ,
]
,
}
,
tags: object ,
properties: object ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Queries_Delete (new)
Description :  Deletes a specific Query defined within an Log Analytics QueryPack.
Reference :  Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/queryPacks/{queryPackName}/queries/{id}
{
subscriptionId: string ,
resourceGroupName: string ,
queryPackName: string ,
id: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
QueryPacks_List (new)
Description :  Gets a list of all Log Analytics QueryPacks within a subscription.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.OperationalInsights/queryPacks
{
api-version: string ,
subscriptionId: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}

⚐ Response (200)

{
value:
[
{
properties:
{
queryPackId: string ,
timeCreated: string ,
timeModified: string ,
provisioningState: string ,
}
,
}
,
]
,
nextLink: string ,
}
QueryPacks_ListByResourceGroup (new)
Description :  Gets a list of Log Analytics QueryPacks within a resource group.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/queryPacks
{
resourceGroupName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}

⚐ Response (200)

{
value:
[
{
properties:
{
queryPackId: string ,
timeCreated: string ,
timeModified: string ,
provisioningState: string ,
}
,
}
,
]
,
nextLink: string ,
}
QueryPacks_CreateOrUpdateWithoutName (new)
Description :  Creates a Log Analytics QueryPack. Note: You cannot specify a different value for InstrumentationKey nor AppId in the Put operation.
Reference :  Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/queryPacks
{
resourceGroupName: string ,
api-version: string ,
subscriptionId: string ,
LogAnalyticsQueryPackPayload:
{
properties:
{
queryPackId: string ,
timeCreated: string ,
timeModified: string ,
provisioningState: string ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}

⚐ Response (201)

{
properties:
{
queryPackId: string ,
timeCreated: string ,
timeModified: string ,
provisioningState: string ,
}
,
}
QueryPacks_Delete (new)
Description :  Deletes a Log Analytics QueryPack.
Reference :  Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/queryPacks/{queryPackName}
{
resourceGroupName: string ,
api-version: string ,
subscriptionId: string ,
queryPackName: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}

⚐ Response (200)

{}

⚐ Response (204)

{}
QueryPacks_Get (new)
Description :  Returns a Log Analytics QueryPack.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/queryPacks/{queryPackName}
{
resourceGroupName: string ,
api-version: string ,
subscriptionId: string ,
queryPackName: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}

⚐ Response (200)

{
properties:
{
queryPackId: string ,
timeCreated: string ,
timeModified: string ,
provisioningState: string ,
}
,
}
QueryPacks_CreateOrUpdate (new)
Description :  Creates (or updates) a Log Analytics QueryPack. Note: You cannot specify a different value for InstrumentationKey nor AppId in the Put operation.
Reference :  Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/queryPacks/{queryPackName}
{
resourceGroupName: string ,
api-version: string ,
subscriptionId: string ,
queryPackName: string ,
LogAnalyticsQueryPackPayload:
{
properties:
{
queryPackId: string ,
timeCreated: string ,
timeModified: string ,
provisioningState: string ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}

⚐ Response (200)

{
properties:
{
queryPackId: string ,
timeCreated: string ,
timeModified: string ,
provisioningState: string ,
}
,
}
QueryPacks_UpdateTags (new)
Description :  Updates an existing QueryPack's tags. To update other fields use the CreateOrUpdate method.
Reference :  Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/queryPacks/{queryPackName}
{
resourceGroupName: string ,
api-version: string ,
subscriptionId: string ,
queryPackName: string ,
QueryPackTags:
{
tags: object ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}

⚐ Response (200)

{
properties:
{
queryPackId: string ,
timeCreated: string ,
timeModified: string ,
provisioningState: string ,
}
,
}
SavedSearches_Delete (new)
Description :  Deletes the specified saved search in a given workspace.
Reference :  Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/savedSearches/{savedSearchId}
{
subscriptionId: string ,
resourceGroupName: string ,
workspaceName: string ,
savedSearchId: string ,
api-version: string ,
}

⚐ Response (200)

{}
SavedSearches_CreateOrUpdate (new)
Description :  Creates or updates a saved search for a given workspace.
Reference :  Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/savedSearches/{savedSearchId}
{
subscriptionId: string ,
resourceGroupName: string ,
workspaceName: string ,
savedSearchId: string ,
api-version: string ,
parameters:
{
etag: string ,
properties:
{
category: string ,
displayName: string ,
query: string ,
functionAlias: string ,
functionParameters: string ,
version: integer ,
tags:
[
{
name: string ,
value: string ,
}
,
]
,
}
,
}
,
}

⚐ Response (200)

{
etag: string ,
properties:
{
category: string ,
displayName: string ,
query: string ,
functionAlias: string ,
functionParameters: string ,
version: integer ,
tags:
[
{
name: string ,
value: string ,
}
,
]
,
}
,
}
SavedSearches_Get (new)
Description :  Gets the specified saved search for a given workspace.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/savedSearches/{savedSearchId}
{
subscriptionId: string ,
resourceGroupName: string ,
workspaceName: string ,
savedSearchId: string ,
api-version: string ,
}

⚐ Response (200)

{
etag: string ,
properties:
{
category: string ,
displayName: string ,
query: string ,
functionAlias: string ,
functionParameters: string ,
version: integer ,
tags:
[
{
name: string ,
value: string ,
}
,
]
,
}
,
}
SavedSearches_ListByWorkspace (new)
Description :  Gets the saved searches for a given Log Analytics Workspace
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/savedSearches
{
resourceGroupName: string ,
workspaceName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
etag: string ,
properties:
{
category: string ,
displayName: string ,
query: string ,
functionAlias: string ,
functionParameters: string ,
version: integer ,
tags:
[
{
name: string ,
value: string ,
}
,
]
,
}
,
}
,
]
,
}
Schema_Get (new)
Description :  Gets the schema for a given workspace.
Reference :  Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/schema
{
resourceGroupName: string ,
workspaceName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
metadata:
{
requestId: string ,
resultType: string ,
total: integer ,
top: integer ,
id: string ,
coreSummaries:
[
{
status: string ,
numberOfDocuments: integer ,
}
,
]
,
status: string ,
startTime: string ,
lastUpdated: string ,
eTag: string ,
sort:
[
{
name: string ,
order: enum ,
}
,
]
,
requestTime: integer ,
aggregatedValueField: string ,
aggregatedGroupingFields: string ,
sum: integer ,
max: integer ,
schema:
{
name: string ,
version: integer ,
}
,
}
,
value:
[
{
name: string ,
displayName: string ,
type: string ,
indexed: boolean ,
stored: boolean ,
facet: boolean ,
ownerType:
[
string ,
]
,
}
,
]
,
}
SharedKeys_GetSharedKeys (new)
Description :  Gets the shared keys for a workspace.
Reference :  Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/sharedKeys
{
resourceGroupName: string ,
workspaceName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
primarySharedKey: string ,
secondarySharedKey: string ,
}
SharedKeys_Regenerate (new)
Description :  Regenerates the shared keys for a Log Analytics Workspace. These keys are used to connect Microsoft Operational Insights agents to the workspace.
Reference :  Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/regenerateSharedKey
{
subscriptionId: string ,
resourceGroupName: string ,
workspaceName: string ,
api-version: string ,
}

⚐ Response (200)

{
primarySharedKey: string ,
secondarySharedKey: string ,
}
StorageInsightConfigs_CreateOrUpdate (new)
Description :  Create or update a storage insight.
Reference :  Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/storageInsightConfigs/{storageInsightName}
{
resourceGroupName: string ,
workspaceName: string ,
storageInsightName: string ,
parameters:
{
properties:
{
containers:
[
string ,
]
,
tables:
[
string ,
]
,
storageAccount:
{
id: string ,
key: string ,
}
,
status:
{
state: enum ,
description: string ,
}
,
}
,
eTag: string ,
tags: object ,
}
,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (201)

{
properties:
{
containers:
[
string ,
]
,
tables:
[
string ,
]
,
storageAccount:
{
id: string ,
key: string ,
}
,
status:
{
state: enum ,
description: string ,
}
,
}
,
eTag: string ,
tags: object ,
}

⚐ Response (200)

{
properties:
{
containers:
[
string ,
]
,
tables:
[
string ,
]
,
storageAccount:
{
id: string ,
key: string ,
}
,
status:
{
state: enum ,
description: string ,
}
,
}
,
eTag: string ,
tags: object ,
}
StorageInsightConfigs_Get (new)
Description :  Gets a storage insight instance.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/storageInsightConfigs/{storageInsightName}
{
resourceGroupName: string ,
workspaceName: string ,
storageInsightName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
properties:
{
containers:
[
string ,
]
,
tables:
[
string ,
]
,
storageAccount:
{
id: string ,
key: string ,
}
,
status:
{
state: enum ,
description: string ,
}
,
}
,
eTag: string ,
tags: object ,
}
StorageInsightConfigs_Delete (new)
Description :  Deletes a storageInsightsConfigs resource
Reference :  Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/storageInsightConfigs/{storageInsightName}
{
resourceGroupName: string ,
workspaceName: string ,
storageInsightName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}
StorageInsightConfigs_ListByWorkspace (new)
Description :  Lists the storage insight instances within a workspace
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/storageInsightConfigs
{
resourceGroupName: string ,
workspaceName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
containers:
[
string ,
]
,
tables:
[
string ,
]
,
storageAccount:
{
id: string ,
key: string ,
}
,
status:
{
state: enum ,
description: string ,
}
,
}
,
eTag: string ,
tags: object ,
}
,
]
,
@odata.nextLink: string ,
}
Tables_ListByWorkspace (new)
Description :  Gets all the tables for the specified Log Analytics workspace.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/tables
{
subscriptionId: string ,
resourceGroupName: string ,
workspaceName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
retentionInDays: integer ,
totalRetentionInDays: integer ,
archiveRetentionInDays: integer ,
searchResults:
{
query: string ,
description: string ,
limit: integer ,
startSearchTime: string ,
endSearchTime: string ,
sourceTable: string ,
azureAsyncOperationId: string ,
}
,
restoredLogs:
{
startRestoreTime: string ,
endRestoreTime: string ,
sourceTable: string ,
azureAsyncOperationId: string ,
}
,
resultStatistics:
{
progress: number ,
ingestedRecords: integer ,
scannedGb: number ,
}
,
plan: enum ,
lastPlanModifiedDate: string ,
schema:
{
name: string ,
displayName: string ,
description: string ,
columns:
[
{
name: string ,
type: enum ,
dataTypeHint: enum ,
displayName: string ,
description: string ,
isDefaultDisplay: boolean ,
isHidden: boolean ,
}
,
]
,
standardColumns:
[
{
name: string ,
type: enum ,
dataTypeHint: enum ,
displayName: string ,
description: string ,
isDefaultDisplay: boolean ,
isHidden: boolean ,
}
,
]
,
categories:
[
string ,
]
,
labels:
[
string ,
]
,
source: enum ,
tableType: enum ,
tableSubType: enum ,
solutions:
[
string ,
]
,
}
,
provisioningState: enum ,
retentionInDaysAsDefault: boolean ,
totalRetentionInDaysAsDefault: boolean ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Tables_CreateOrUpdate (new)
Description :  Update or Create a Log Analytics workspace table.
Reference :  Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/tables/{tableName}
{
subscriptionId: string ,
resourceGroupName: string ,
workspaceName: string ,
api-version: string ,
tableName: string ,
parameters:
{
properties:
{
retentionInDays: integer ,
totalRetentionInDays: integer ,
archiveRetentionInDays: integer ,
searchResults:
{
query: string ,
description: string ,
limit: integer ,
startSearchTime: string ,
endSearchTime: string ,
sourceTable: string ,
azureAsyncOperationId: string ,
}
,
restoredLogs:
{
startRestoreTime: string ,
endRestoreTime: string ,
sourceTable: string ,
azureAsyncOperationId: string ,
}
,
resultStatistics:
{
progress: number ,
ingestedRecords: integer ,
scannedGb: number ,
}
,
plan: enum ,
lastPlanModifiedDate: string ,
schema:
{
name: string ,
displayName: string ,
description: string ,
columns:
[
{
name: string ,
type: enum ,
dataTypeHint: enum ,
displayName: string ,
description: string ,
isDefaultDisplay: boolean ,
isHidden: boolean ,
}
,
]
,
standardColumns:
[
{
name: string ,
type: enum ,
dataTypeHint: enum ,
displayName: string ,
description: string ,
isDefaultDisplay: boolean ,
isHidden: boolean ,
}
,
]
,
categories:
[
string ,
]
,
labels:
[
string ,
]
,
source: enum ,
tableType: enum ,
tableSubType: enum ,
solutions:
[
string ,
]
,
}
,
provisioningState: enum ,
retentionInDaysAsDefault: boolean ,
totalRetentionInDaysAsDefault: boolean ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
retentionInDays: integer ,
totalRetentionInDays: integer ,
archiveRetentionInDays: integer ,
searchResults:
{
query: string ,
description: string ,
limit: integer ,
startSearchTime: string ,
endSearchTime: string ,
sourceTable: string ,
azureAsyncOperationId: string ,
}
,
restoredLogs:
{
startRestoreTime: string ,
endRestoreTime: string ,
sourceTable: string ,
azureAsyncOperationId: string ,
}
,
resultStatistics:
{
progress: number ,
ingestedRecords: integer ,
scannedGb: number ,
}
,
plan: enum ,
lastPlanModifiedDate: string ,
schema:
{
name: string ,
displayName: string ,
description: string ,
columns:
[
{
name: string ,
type: enum ,
dataTypeHint: enum ,
displayName: string ,
description: string ,
isDefaultDisplay: boolean ,
isHidden: boolean ,
}
,
]
,
standardColumns:
[
{
name: string ,
type: enum ,
dataTypeHint: enum ,
displayName: string ,
description: string ,
isDefaultDisplay: boolean ,
isHidden: boolean ,
}
,
]
,
categories:
[
string ,
]
,
labels:
[
string ,
]
,
source: enum ,
tableType: enum ,
tableSubType: enum ,
solutions:
[
string ,
]
,
}
,
provisioningState: enum ,
retentionInDaysAsDefault: boolean ,
totalRetentionInDaysAsDefault: boolean ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Tables_Update (new)
Description :  Update a Log Analytics workspace table.
Reference :  Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/tables/{tableName}
{
subscriptionId: string ,
resourceGroupName: string ,
workspaceName: string ,
api-version: string ,
tableName: string ,
parameters:
{
properties:
{
retentionInDays: integer ,
totalRetentionInDays: integer ,
archiveRetentionInDays: integer ,
searchResults:
{
query: string ,
description: string ,
limit: integer ,
startSearchTime: string ,
endSearchTime: string ,
sourceTable: string ,
azureAsyncOperationId: string ,
}
,
restoredLogs:
{
startRestoreTime: string ,
endRestoreTime: string ,
sourceTable: string ,
azureAsyncOperationId: string ,
}
,
resultStatistics:
{
progress: number ,
ingestedRecords: integer ,
scannedGb: number ,
}
,
plan: enum ,
lastPlanModifiedDate: string ,
schema:
{
name: string ,
displayName: string ,
description: string ,
columns:
[
{
name: string ,
type: enum ,
dataTypeHint: enum ,
displayName: string ,
description: string ,
isDefaultDisplay: boolean ,
isHidden: boolean ,
}
,
]
,
standardColumns:
[
{
name: string ,
type: enum ,
dataTypeHint: enum ,
displayName: string ,
description: string ,
isDefaultDisplay: boolean ,
isHidden: boolean ,
}
,
]
,
categories:
[
string ,
]
,
labels:
[
string ,
]
,
source: enum ,
tableType: enum ,
tableSubType: enum ,
solutions:
[
string ,
]
,
}
,
provisioningState: enum ,
retentionInDaysAsDefault: boolean ,
totalRetentionInDaysAsDefault: boolean ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
retentionInDays: integer ,
totalRetentionInDays: integer ,
archiveRetentionInDays: integer ,
searchResults:
{
query: string ,
description: string ,
limit: integer ,
startSearchTime: string ,
endSearchTime: string ,
sourceTable: string ,
azureAsyncOperationId: string ,
}
,
restoredLogs:
{
startRestoreTime: string ,
endRestoreTime: string ,
sourceTable: string ,
azureAsyncOperationId: string ,
}
,
resultStatistics:
{
progress: number ,
ingestedRecords: integer ,
scannedGb: number ,
}
,
plan: enum ,
lastPlanModifiedDate: string ,
schema:
{
name: string ,
displayName: string ,
description: string ,
columns:
[
{
name: string ,
type: enum ,
dataTypeHint: enum ,
displayName: string ,
description: string ,
isDefaultDisplay: boolean ,
isHidden: boolean ,
}
,
]
,
standardColumns:
[
{
name: string ,
type: enum ,
dataTypeHint: enum ,
displayName: string ,
description: string ,
isDefaultDisplay: boolean ,
isHidden: boolean ,
}
,
]
,
categories:
[
string ,
]
,
labels:
[
string ,
]
,
source: enum ,
tableType: enum ,
tableSubType: enum ,
solutions:
[
string ,
]
,
}
,
provisioningState: enum ,
retentionInDaysAsDefault: boolean ,
totalRetentionInDaysAsDefault: boolean ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Tables_Get (new)
Description :  Gets a Log Analytics workspace table.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/tables/{tableName}
{
subscriptionId: string ,
resourceGroupName: string ,
workspaceName: string ,
api-version: string ,
tableName: string ,
}

⚐ Response (200)

{
properties:
{
retentionInDays: integer ,
totalRetentionInDays: integer ,
archiveRetentionInDays: integer ,
searchResults:
{
query: string ,
description: string ,
limit: integer ,
startSearchTime: string ,
endSearchTime: string ,
sourceTable: string ,
azureAsyncOperationId: string ,
}
,
restoredLogs:
{
startRestoreTime: string ,
endRestoreTime: string ,
sourceTable: string ,
azureAsyncOperationId: string ,
}
,
resultStatistics:
{
progress: number ,
ingestedRecords: integer ,
scannedGb: number ,
}
,
plan: enum ,
lastPlanModifiedDate: string ,
schema:
{
name: string ,
displayName: string ,
description: string ,
columns:
[
{
name: string ,
type: enum ,
dataTypeHint: enum ,
displayName: string ,
description: string ,
isDefaultDisplay: boolean ,
isHidden: boolean ,
}
,
]
,
standardColumns:
[
{
name: string ,
type: enum ,
dataTypeHint: enum ,
displayName: string ,
description: string ,
isDefaultDisplay: boolean ,
isHidden: boolean ,
}
,
]
,
categories:
[
string ,
]
,
labels:
[
string ,
]
,
source: enum ,
tableType: enum ,
tableSubType: enum ,
solutions:
[
string ,
]
,
}
,
provisioningState: enum ,
retentionInDaysAsDefault: boolean ,
totalRetentionInDaysAsDefault: boolean ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Tables_Delete (new)
Description :  Delete a Log Analytics workspace table.
Reference :  Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/tables/{tableName}
{
subscriptionId: string ,
resourceGroupName: string ,
workspaceName: string ,
api-version: string ,
tableName: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (202)

{
location: string ,
azure-asyncoperation: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Tables_Migrate (new)
Description :  Migrate a Log Analytics table from support of the Data Collector API and Custom Fields features to support of Data Collection Rule-based Custom Logs.
Reference :  Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/tables/{tableName}/migrate
{
subscriptionId: string ,
resourceGroupName: string ,
workspaceName: string ,
api-version: string ,
tableName: string ,
}

⚐ Response (200)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Tables_CancelSearch (new)
Description :  Cancel a log analytics workspace search results table query run.
Reference :  Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/tables/{tableName}/cancelSearch
{
subscriptionId: string ,
resourceGroupName: string ,
workspaceName: string ,
api-version: string ,
tableName: string ,
}

⚐ Response (200)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Usages_List (new)
Description :  Gets a list of usage metrics for a workspace.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/usages
{
resourceGroupName: string ,
workspaceName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
name:
{
value: string ,
localizedValue: string ,
}
,
unit: string ,
currentValue: number ,
limit: number ,
nextResetTime: string ,
quotaPeriod: string ,
}
,
]
,
}
WorkspacePurge_Purge (new)
Description :  Purges 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 per hour. You should batch the execution of purge requests by sending a single command whose predicate includes all user identities that require purging. Use the in operator to specify multiple identities. You should run the query prior to using for a purge request to verify that the results are expected. Log Analytics only supports purge operations required for compliance with GDPR. The Log Analytics product team reserves the right to reject requests for purge operations that are not for the purpose of GDPR compliance. In the event of a dispute, please create a support ticket
Reference :  Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/purge
{
resourceGroupName: string ,
api-version: string ,
subscriptionId: string ,
workspaceName: string ,
body:
{
table: string ,
filters:
[
{
column: string ,
operator: string ,
value: string ,
key: string ,
}
,
]
,
}
,
}

⚐ Response (202)

{
$headers:
{
x-ms-status-location: string ,
}
,
$schema:
{
operationId: string ,
}
,
}
WorkspacePurge_GetPurgeStatus (new)
Description :  Gets status of an ongoing purge operation.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/operations/{purgeId}
{
resourceGroupName: string ,
api-version: string ,
subscriptionId: string ,
workspaceName: string ,
purgeId: string ,
}

⚐ Response (200)

{
status: enum ,
}
Workspaces_List (new)
Description :  Gets the workspaces in a subscription.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.OperationalInsights/workspaces
{
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
provisioningState: enum ,
customerId: string ,
sku:
{
name: enum ,
capacityReservationLevel: integer ,
lastSkuUpdate: string ,
}
,
retentionInDays: integer ,
workspaceCapping:
{
dailyQuotaGb: number ,
quotaNextResetTime: string ,
dataIngestionStatus: enum ,
}
,
createdDate: string ,
modifiedDate: string ,
publicNetworkAccessForIngestion: enum ,
publicNetworkAccessForQuery: enum ,
forceCmkForQuery: boolean ,
privateLinkScopedResources:
[
{
resourceId: string ,
scopeId: string ,
}
,
]
,
features:
{
enableDataExport: boolean ,
immediatePurgeDataOn30Days: boolean ,
enableLogAccessUsingOnlyResourcePermissions: boolean ,
clusterResourceId: string ,
disableLocalAuth: boolean ,
unifiedSentinelBillingOnly: boolean ,
}
,
defaultDataCollectionRuleResourceId: string ,
replication:
{
location: string ,
enabled: boolean ,
provisioningState: enum ,
createdDate: string ,
lastModifiedDate: string ,
}
,
failover:
{
state: enum ,
lastModifiedDate: string ,
}
,
}
,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
etag: string ,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Workspaces_ListByResourceGroup (new)
Description :  Gets workspaces in a resource group.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces
{
resourceGroupName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
provisioningState: enum ,
customerId: string ,
sku:
{
name: enum ,
capacityReservationLevel: integer ,
lastSkuUpdate: string ,
}
,
retentionInDays: integer ,
workspaceCapping:
{
dailyQuotaGb: number ,
quotaNextResetTime: string ,
dataIngestionStatus: enum ,
}
,
createdDate: string ,
modifiedDate: string ,
publicNetworkAccessForIngestion: enum ,
publicNetworkAccessForQuery: enum ,
forceCmkForQuery: boolean ,
privateLinkScopedResources:
[
{
resourceId: string ,
scopeId: string ,
}
,
]
,
features:
{
enableDataExport: boolean ,
immediatePurgeDataOn30Days: boolean ,
enableLogAccessUsingOnlyResourcePermissions: boolean ,
clusterResourceId: string ,
disableLocalAuth: boolean ,
unifiedSentinelBillingOnly: boolean ,
}
,
defaultDataCollectionRuleResourceId: string ,
replication:
{
location: string ,
enabled: boolean ,
provisioningState: enum ,
createdDate: string ,
lastModifiedDate: string ,
}
,
failover:
{
state: enum ,
lastModifiedDate: string ,
}
,
}
,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
etag: string ,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Workspaces_CreateOrUpdate (new)
Description :  Create or update a workspace.
Reference :  Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}
{
resourceGroupName: string ,
workspaceName: string ,
parameters:
{
properties:
{
provisioningState: enum ,
customerId: string ,
sku:
{
name: enum ,
capacityReservationLevel: integer ,
lastSkuUpdate: string ,
}
,
retentionInDays: integer ,
workspaceCapping:
{
dailyQuotaGb: number ,
quotaNextResetTime: string ,
dataIngestionStatus: enum ,
}
,
createdDate: string ,
modifiedDate: string ,
publicNetworkAccessForIngestion: enum ,
publicNetworkAccessForQuery: enum ,
forceCmkForQuery: boolean ,
privateLinkScopedResources:
[
{
resourceId: string ,
scopeId: string ,
}
,
]
,
features:
{
enableDataExport: boolean ,
immediatePurgeDataOn30Days: boolean ,
enableLogAccessUsingOnlyResourcePermissions: boolean ,
clusterResourceId: string ,
disableLocalAuth: boolean ,
unifiedSentinelBillingOnly: boolean ,
}
,
defaultDataCollectionRuleResourceId: string ,
replication:
{
location: string ,
enabled: boolean ,
provisioningState: enum ,
createdDate: string ,
lastModifiedDate: string ,
}
,
failover:
{
state: enum ,
lastModifiedDate: string ,
}
,
}
,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
etag: string ,
}
,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
properties:
{
provisioningState: enum ,
customerId: string ,
sku:
{
name: enum ,
capacityReservationLevel: integer ,
lastSkuUpdate: string ,
}
,
retentionInDays: integer ,
workspaceCapping:
{
dailyQuotaGb: number ,
quotaNextResetTime: string ,
dataIngestionStatus: enum ,
}
,
createdDate: string ,
modifiedDate: string ,
publicNetworkAccessForIngestion: enum ,
publicNetworkAccessForQuery: enum ,
forceCmkForQuery: boolean ,
privateLinkScopedResources:
[
{
resourceId: string ,
scopeId: string ,
}
,
]
,
features:
{
enableDataExport: boolean ,
immediatePurgeDataOn30Days: boolean ,
enableLogAccessUsingOnlyResourcePermissions: boolean ,
clusterResourceId: string ,
disableLocalAuth: boolean ,
unifiedSentinelBillingOnly: boolean ,
}
,
defaultDataCollectionRuleResourceId: string ,
replication:
{
location: string ,
enabled: boolean ,
provisioningState: enum ,
createdDate: string ,
lastModifiedDate: string ,
}
,
failover:
{
state: enum ,
lastModifiedDate: string ,
}
,
}
,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
etag: string ,
}

⚐ Response (201)

{
properties:
{
provisioningState: enum ,
customerId: string ,
sku:
{
name: enum ,
capacityReservationLevel: integer ,
lastSkuUpdate: string ,
}
,
retentionInDays: integer ,
workspaceCapping:
{
dailyQuotaGb: number ,
quotaNextResetTime: string ,
dataIngestionStatus: enum ,
}
,
createdDate: string ,
modifiedDate: string ,
publicNetworkAccessForIngestion: enum ,
publicNetworkAccessForQuery: enum ,
forceCmkForQuery: boolean ,
privateLinkScopedResources:
[
{
resourceId: string ,
scopeId: string ,
}
,
]
,
features:
{
enableDataExport: boolean ,
immediatePurgeDataOn30Days: boolean ,
enableLogAccessUsingOnlyResourcePermissions: boolean ,
clusterResourceId: string ,
disableLocalAuth: boolean ,
unifiedSentinelBillingOnly: boolean ,
}
,
defaultDataCollectionRuleResourceId: string ,
replication:
{
location: string ,
enabled: boolean ,
provisioningState: enum ,
createdDate: string ,
lastModifiedDate: string ,
}
,
failover:
{
state: enum ,
lastModifiedDate: string ,
}
,
}
,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
etag: string ,
}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Workspaces_Delete (new)
Description :  Deletes 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 kept for 14 days and cannot be used for another workspace. To remove the workspace completely and release the name, use the force flag.
Reference :  Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}
{
resourceGroupName: string ,
workspaceName: string ,
api-version: string ,
subscriptionId: string ,
force: boolean ,
}

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Workspaces_Get (new)
Description :  Gets a workspace instance.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}
{
resourceGroupName: string ,
workspaceName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
properties:
{
provisioningState: enum ,
customerId: string ,
sku:
{
name: enum ,
capacityReservationLevel: integer ,
lastSkuUpdate: string ,
}
,
retentionInDays: integer ,
workspaceCapping:
{
dailyQuotaGb: number ,
quotaNextResetTime: string ,
dataIngestionStatus: enum ,
}
,
createdDate: string ,
modifiedDate: string ,
publicNetworkAccessForIngestion: enum ,
publicNetworkAccessForQuery: enum ,
forceCmkForQuery: boolean ,
privateLinkScopedResources:
[
{
resourceId: string ,
scopeId: string ,
}
,
]
,
features:
{
enableDataExport: boolean ,
immediatePurgeDataOn30Days: boolean ,
enableLogAccessUsingOnlyResourcePermissions: boolean ,
clusterResourceId: string ,
disableLocalAuth: boolean ,
unifiedSentinelBillingOnly: boolean ,
}
,
defaultDataCollectionRuleResourceId: string ,
replication:
{
location: string ,
enabled: boolean ,
provisioningState: enum ,
createdDate: string ,
lastModifiedDate: string ,
}
,
failover:
{
state: enum ,
lastModifiedDate: string ,
}
,
}
,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
etag: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Workspaces_Update (new)
Description :  Updates a workspace.
Reference :  Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}
{
resourceGroupName: string ,
workspaceName: string ,
parameters:
{
properties:
{
provisioningState: enum ,
customerId: string ,
sku:
{
name: enum ,
capacityReservationLevel: integer ,
lastSkuUpdate: string ,
}
,
retentionInDays: integer ,
workspaceCapping:
{
dailyQuotaGb: number ,
quotaNextResetTime: string ,
dataIngestionStatus: enum ,
}
,
createdDate: string ,
modifiedDate: string ,
publicNetworkAccessForIngestion: enum ,
publicNetworkAccessForQuery: enum ,
forceCmkForQuery: boolean ,
privateLinkScopedResources:
[
{
resourceId: string ,
scopeId: string ,
}
,
]
,
features:
{
enableDataExport: boolean ,
immediatePurgeDataOn30Days: boolean ,
enableLogAccessUsingOnlyResourcePermissions: boolean ,
clusterResourceId: string ,
disableLocalAuth: boolean ,
unifiedSentinelBillingOnly: boolean ,
}
,
defaultDataCollectionRuleResourceId: string ,
replication:
{
location: string ,
enabled: boolean ,
provisioningState: enum ,
createdDate: string ,
lastModifiedDate: string ,
}
,
failover:
{
state: enum ,
lastModifiedDate: string ,
}
,
}
,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
tags: object ,
}
,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
properties:
{
provisioningState: enum ,
customerId: string ,
sku:
{
name: enum ,
capacityReservationLevel: integer ,
lastSkuUpdate: string ,
}
,
retentionInDays: integer ,
workspaceCapping:
{
dailyQuotaGb: number ,
quotaNextResetTime: string ,
dataIngestionStatus: enum ,
}
,
createdDate: string ,
modifiedDate: string ,
publicNetworkAccessForIngestion: enum ,
publicNetworkAccessForQuery: enum ,
forceCmkForQuery: boolean ,
privateLinkScopedResources:
[
{
resourceId: string ,
scopeId: string ,
}
,
]
,
features:
{
enableDataExport: boolean ,
immediatePurgeDataOn30Days: boolean ,
enableLogAccessUsingOnlyResourcePermissions: boolean ,
clusterResourceId: string ,
disableLocalAuth: boolean ,
unifiedSentinelBillingOnly: boolean ,
}
,
defaultDataCollectionRuleResourceId: string ,
replication:
{
location: string ,
enabled: boolean ,
provisioningState: enum ,
createdDate: string ,
lastModifiedDate: string ,
}
,
failover:
{
state: enum ,
lastModifiedDate: string ,
}
,
}
,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
etag: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
DeletedWorkspaces_List (new)
Description :  Gets recently deleted workspaces in a subscription, available for recovery.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.OperationalInsights/deletedWorkspaces
{
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
provisioningState: enum ,
customerId: string ,
sku:
{
name: enum ,
capacityReservationLevel: integer ,
lastSkuUpdate: string ,
}
,
retentionInDays: integer ,
workspaceCapping:
{
dailyQuotaGb: number ,
quotaNextResetTime: string ,
dataIngestionStatus: enum ,
}
,
createdDate: string ,
modifiedDate: string ,
publicNetworkAccessForIngestion: enum ,
publicNetworkAccessForQuery: enum ,
forceCmkForQuery: boolean ,
privateLinkScopedResources:
[
{
resourceId: string ,
scopeId: string ,
}
,
]
,
features:
{
enableDataExport: boolean ,
immediatePurgeDataOn30Days: boolean ,
enableLogAccessUsingOnlyResourcePermissions: boolean ,
clusterResourceId: string ,
disableLocalAuth: boolean ,
unifiedSentinelBillingOnly: boolean ,
}
,
defaultDataCollectionRuleResourceId: string ,
replication:
{
location: string ,
enabled: boolean ,
provisioningState: enum ,
createdDate: string ,
lastModifiedDate: string ,
}
,
failover:
{
state: enum ,
lastModifiedDate: string ,
}
,
}
,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
etag: string ,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
DeletedWorkspaces_ListByResourceGroup (new)
Description :  Gets recently deleted workspaces in a resource group, available for recovery.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/deletedWorkspaces
{
resourceGroupName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
provisioningState: enum ,
customerId: string ,
sku:
{
name: enum ,
capacityReservationLevel: integer ,
lastSkuUpdate: string ,
}
,
retentionInDays: integer ,
workspaceCapping:
{
dailyQuotaGb: number ,
quotaNextResetTime: string ,
dataIngestionStatus: enum ,
}
,
createdDate: string ,
modifiedDate: string ,
publicNetworkAccessForIngestion: enum ,
publicNetworkAccessForQuery: enum ,
forceCmkForQuery: boolean ,
privateLinkScopedResources:
[
{
resourceId: string ,
scopeId: string ,
}
,
]
,
features:
{
enableDataExport: boolean ,
immediatePurgeDataOn30Days: boolean ,
enableLogAccessUsingOnlyResourcePermissions: boolean ,
clusterResourceId: string ,
disableLocalAuth: boolean ,
unifiedSentinelBillingOnly: boolean ,
}
,
defaultDataCollectionRuleResourceId: string ,
replication:
{
location: string ,
enabled: boolean ,
provisioningState: enum ,
createdDate: string ,
lastModifiedDate: string ,
}
,
failover:
{
state: enum ,
lastModifiedDate: string ,
}
,
}
,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
etag: string ,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}