ManagedStorageSharedAccessSignatureClient.RevokeTokenAsync Method

Definition

Overloads

Name Description
RevokeTokenAsync(Nullable<Int32>, RequestContext)

[Protocol Method] Revoke a SAS Token for managed storage account of this GeoCatalog.

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
RevokeTokenAsync(Nullable<Int32>, CancellationToken)

Revoke a SAS Token for managed storage account of this GeoCatalog.

RevokeTokenAsync(Nullable<Int32>, RequestContext)

Source:
ManagedStorageSharedAccessSignatureClient.cs

[Protocol Method] Revoke a SAS Token for managed storage account of this GeoCatalog.

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
public virtual System.Threading.Tasks.Task<Azure.Response> RevokeTokenAsync(int? durationInMinutes, Azure.RequestContext context);
abstract member RevokeTokenAsync : Nullable<int> * Azure.RequestContext -> System.Threading.Tasks.Task<Azure.Response>
override this.RevokeTokenAsync : Nullable<int> * Azure.RequestContext -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function RevokeTokenAsync (durationInMinutes As Nullable(Of Integer), context As RequestContext) As Task(Of Response)

Parameters

durationInMinutes
Nullable<Int32>

The duration, in minutes, that the SAS token will be valid. Only valid for approved users.

context
RequestContext

The request options, which can override default behaviors of the client pipeline on a per-call basis.

Returns

The response returned from the service.

Exceptions

Service returned a non-success status code.

Applies to

RevokeTokenAsync(Nullable<Int32>, CancellationToken)

Source:
ManagedStorageSharedAccessSignatureClient.cs

Revoke a SAS Token for managed storage account of this GeoCatalog.

public virtual System.Threading.Tasks.Task<Azure.Response> RevokeTokenAsync(int? durationInMinutes = default, System.Threading.CancellationToken cancellationToken = default);
abstract member RevokeTokenAsync : Nullable<int> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
override this.RevokeTokenAsync : Nullable<int> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function RevokeTokenAsync (Optional durationInMinutes As Nullable(Of Integer) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response)

Parameters

durationInMinutes
Nullable<Int32>

The duration, in minutes, that the SAS token will be valid. Only valid for approved users.

cancellationToken
CancellationToken

The cancellation token that can be used to cancel the operation.

Returns

Exceptions

Service returned a non-success status code.

Applies to