Skip to main content

workspace_purge_purge_status

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

Overview

Nameworkspace_purge_purge_status
TypeResource
Idazure.log_analytics.workspace_purge_purge_status

Fields

The following fields are returned by SELECT queries:

Returns status of purge operation in body of response. e.g.: running, completed.

NameDatatypeDescription
statusstringStatus of the operation represented by the requested Id.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresourceGroupName, subscriptionId, workspaceName, purgeIdGets status of an ongoing purge operation.

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
purgeIdstringIn a purge status request, this is the Id of the operation the status of which is returned.
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
subscriptionIdstringThe ID of the target subscription.
workspaceNamestringThe name of the workspace.

SELECT examples

Gets status of an ongoing purge operation.

SELECT
status
FROM azure.log_analytics.workspace_purge_purge_status
WHERE resourceGroupName = '{{ resourceGroupName }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
AND workspaceName = '{{ workspaceName }}' -- required
AND purgeId = '{{ purgeId }}' -- required
;