deleted_workspaces
Creates, updates, deletes, gets or lists a deleted_workspaces
resource.
Overview
Name | deleted_workspaces |
Type | Resource |
Id | azure.log_analytics.deleted_workspaces |
Fields
The following fields are returned by SELECT
queries:
- list_by_resource_group
- list
OK response definition.
Name | Datatype | Description |
---|---|---|
etag | string | The etag of the workspace. |
identity | object | Identity for the resource. |
location | string | The geo-location where the resource lives |
properties | object | Workspace properties. |
systemData | object | Metadata pertaining to creation and last modification of the resource. |
tags | object | Resource tags. |
OK response definition.
Name | Datatype | Description |
---|---|---|
etag | string | The etag of the workspace. |
identity | object | Identity for the resource. |
location | string | The geo-location where the resource lives |
properties | object | Workspace properties. |
systemData | object | Metadata pertaining to creation and last modification of the resource. |
tags | object | Resource tags. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
list_by_resource_group | select | resourceGroupName , subscriptionId | Gets recently deleted workspaces in a resource group, available for recovery. | |
list | select | subscriptionId | Gets recently deleted workspaces in a subscription, available for recovery. |
Parameters
Parameters can be passed in the WHERE
clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
Name | Datatype | Description |
---|---|---|
resourceGroupName | string | The name of the resource group. The name is case insensitive. |
subscriptionId | string | The ID of the target subscription. |
SELECT
examples
- list_by_resource_group
- list
Gets recently deleted workspaces in a resource group, available for recovery.
SELECT
etag,
identity,
location,
properties,
systemData,
tags
FROM azure.log_analytics.deleted_workspaces
WHERE resourceGroupName = '{{ resourceGroupName }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
;
Gets recently deleted workspaces in a subscription, available for recovery.
SELECT
etag,
identity,
location,
properties,
systemData,
tags
FROM azure.log_analytics.deleted_workspaces
WHERE subscriptionId = '{{ subscriptionId }}' -- required
;