Microsoft.OperationalInsights (stable:2021-06-01)

2025/10/23 • 14 new, 14 deleted methods

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 ,
}
,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
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 ,
}
,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
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 ,
}
,
}
,
}
,
}

⚐ Response (202)

{}

⚐ 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 ,
}
,
}
,
}

⚐ Response (201)

{
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 ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
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:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
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 ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
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 ,
}
,
}
,
}

⚐ Response (202)

{
location: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
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 ,
}
,
}
,
etag: string ,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
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 ,
}
,
}
,
etag: string ,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
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 ,
}
,
}
,
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 ,
}
,
}
,
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 ,
}
,
}
,
etag: string ,
}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
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:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
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 ,
}
,
}
,
etag: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
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 ,
}
,
}
,
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 ,
}
,
}
,
etag: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
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 ,
}
,
}
,
etag: string ,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
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 ,
}
,
}
,
etag: string ,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Clusters_ListByResourceGroup (removed)
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 ,
}
,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Clusters_List (removed)
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 ,
}
,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Clusters_CreateOrUpdate (removed)
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 ,
}
,
}
,
}
,
}

⚐ Response (202)

{}

⚐ 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 ,
}
,
}
,
}

⚐ Response (201)

{
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 ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Clusters_Delete (removed)
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:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Clusters_Get (removed)
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 ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Clusters_Update (removed)
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 ,
}
,
}
,
}

⚐ Response (202)

{
location: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Workspaces_List (removed)
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 ,
}
,
}
,
etag: string ,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Workspaces_ListByResourceGroup (removed)
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 ,
}
,
}
,
etag: string ,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Workspaces_CreateOrUpdate (removed)
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 ,
}
,
}
,
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 ,
}
,
}
,
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 ,
}
,
}
,
etag: string ,
}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Workspaces_Delete (removed)
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:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Workspaces_Get (removed)
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 ,
}
,
}
,
etag: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Workspaces_Update (removed)
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 ,
}
,
}
,
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 ,
}
,
}
,
etag: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
DeletedWorkspaces_List (removed)
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 ,
}
,
}
,
etag: string ,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
DeletedWorkspaces_ListByResourceGroup (removed)
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 ,
}
,
}
,
etag: string ,
}
,
]
,
}

⚐ Response (default)

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