Skip to main content

deleted_workspaces

Creates, updates, deletes, gets or lists a deleted_workspaces resource.

Overview

Namedeleted_workspaces
TypeResource
Idazure.log_analytics.deleted_workspaces

Fields

The following fields are returned by SELECT queries:

OK response definition.

NameDatatypeDescription
etagstringThe etag of the workspace.
identityobjectIdentity for the resource.
locationstringThe geo-location where the resource lives
propertiesobjectWorkspace properties.
systemDataobjectMetadata pertaining to creation and last modification of the resource.
tagsobjectResource tags.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_by_resource_groupselectresourceGroupName, subscriptionIdGets recently deleted workspaces in a resource group, available for recovery.
listselectsubscriptionIdGets 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.

NameDatatypeDescription
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
subscriptionIdstringThe ID of the target subscription.

SELECT examples

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
;