ISnapshotsOperations.BeginRevokeAccessWithHttpMessagesAsync(String, String, Dictionary<String,List<String>>, CancellationToken) ISnapshotsOperations.BeginRevokeAccessWithHttpMessagesAsync(String, String, Dictionary<String,List<String>>, CancellationToken) Method

Definition

Revokes access to a snapshot.

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse> BeginRevokeAccessWithHttpMessagesAsync (string resourceGroupName, string snapshotName, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = null);
abstract member BeginRevokeAccessWithHttpMessagesAsync : string * string * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse>

Parameters

resourceGroupName
String String

The name of the resource group.

snapshotName
String String

The name of the snapshot that is being created. The name can't be changed after the snapshot is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The max name length is 80 characters.

customHeaders
Dictionary<String,List<String>>

The headers that will be added to request.

cancellationToken
CancellationToken CancellationToken

The cancellation token.

Returns

Task<Microsoft.Rest.Azure.AzureOperationResponse>

Exceptions

Microsoft.Rest.Azure.CloudException Microsoft.Rest.Azure.CloudException

Thrown when the operation returned an invalid status code

Microsoft.Rest.ValidationException Microsoft.Rest.ValidationException

Thrown when a required parameter is null

Applies to