SnapshotsOperationsExtensions.BeginRevokeAccessAsync(ISnapshotsOperations, String, String, CancellationToken) Method

Definition

Revokes access to a snapshot.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Models.OperationStatusResponse> BeginRevokeAccessAsync (this Microsoft.Azure.Management.Compute.ISnapshotsOperations operations, string resourceGroupName, string snapshotName, System.Threading.CancellationToken cancellationToken = null);
static member BeginRevokeAccessAsync : Microsoft.Azure.Management.Compute.ISnapshotsOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Models.OperationStatusResponse>

Parameters

operations
ISnapshotsOperations

The operations group for this extension method.

resourceGroupName
System.String

The name of the resource group.

snapshotName
System.String

The name of the snapshot within the given subscription and resource group.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Models.OperationStatusResponse>

Applies to