Udostępnij za pośrednictwem


PrivateEndpointOperationsExtensions.GetOperationStatusAsync Method

Definition

Gets the operation status for a private endpoint connection.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.RecoveryServices.Backup.Models.OperationStatus> GetOperationStatusAsync (this Microsoft.Azure.Management.RecoveryServices.Backup.IPrivateEndpointOperations operations, string vaultName, string resourceGroupName, string privateEndpointConnectionName, string operationId, System.Threading.CancellationToken cancellationToken = default);
static member GetOperationStatusAsync : Microsoft.Azure.Management.RecoveryServices.Backup.IPrivateEndpointOperations * string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.RecoveryServices.Backup.Models.OperationStatus>
<Extension()>
Public Function GetOperationStatusAsync (operations As IPrivateEndpointOperations, vaultName As String, resourceGroupName As String, privateEndpointConnectionName As String, operationId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of OperationStatus)

Parameters

operations
IPrivateEndpointOperations

The operations group for this extension method.

vaultName
String

The name of the recovery services vault.

resourceGroupName
String

The name of the resource group where the recovery services vault is present.

privateEndpointConnectionName
String

The name of the private endpoint connection.

operationId
String

Operation id

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to