Udostępnij za pośrednictwem


ResourceManagementClientExtensions.GetLongRunningOperationStatusAsync Method

Definition

The Get Operation Status operation returns the status of the specified operation. After calling an asynchronous operation, you can call Get Operation Status to determine whether the operation has succeeded, failed, or is still in progress.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Resources.Models.LongRunningOperationResponse> GetLongRunningOperationStatusAsync (this Microsoft.Azure.Management.Resources.IResourceManagementClient operations, string operationStatusLink);
static member GetLongRunningOperationStatusAsync : Microsoft.Azure.Management.Resources.IResourceManagementClient * string -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Resources.Models.LongRunningOperationResponse>
<Extension()>
Public Function GetLongRunningOperationStatusAsync (operations As IResourceManagementClient, operationStatusLink As String) As Task(Of LongRunningOperationResponse)

Parameters

operations
IResourceManagementClient

Reference to the Microsoft.Azure.Management.Resources.IResourceManagementClient.

operationStatusLink
String

Required. Location value returned by the Begin operation.

Returns

A standard service response for long running operations.

Applies to