WorkspacePurgeOperationsExtensions.GetPurgeStatusAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET