WorkspacePurgeOperationsExtensions.GetPurgeStatusAsync Method

Definition

Gets status of an ongoing purge operation.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.OperationalInsights.Models.WorkspacePurgeStatusResponse> GetPurgeStatusAsync (this Microsoft.Azure.Management.OperationalInsights.IWorkspacePurgeOperations operations, string resourceGroupName, string workspaceName, string purgeId, System.Threading.CancellationToken cancellationToken = default);
static member GetPurgeStatusAsync : Microsoft.Azure.Management.OperationalInsights.IWorkspacePurgeOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.OperationalInsights.Models.WorkspacePurgeStatusResponse>
<Extension()>
Public Function GetPurgeStatusAsync (operations As IWorkspacePurgeOperations, resourceGroupName As String, workspaceName As String, purgeId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of WorkspacePurgeStatusResponse)

Parameters

operations
IWorkspacePurgeOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group. The name is case insensitive.

workspaceName
String

The name of the workspace.

purgeId
String

In a purge status request, this is the Id of the operation the status of which is returned.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to