ManagedStorageSharedAccessSignatureClient.RevokeToken Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| RevokeToken(Nullable<Int32>, RequestContext) |
[Protocol Method] Revoke a SAS Token for managed storage account of this GeoCatalog.
|
| RevokeToken(Nullable<Int32>, CancellationToken) |
Revoke a SAS Token for managed storage account of this GeoCatalog. |
RevokeToken(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.
public virtual Azure.Response RevokeToken(int? durationInMinutes, Azure.RequestContext context);
abstract member RevokeToken : Nullable<int> * Azure.RequestContext -> Azure.Response
override this.RevokeToken : Nullable<int> * Azure.RequestContext -> Azure.Response
Public Overridable Function RevokeToken (durationInMinutes As Nullable(Of Integer), context As RequestContext) As Response
Parameters
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
RevokeToken(Nullable<Int32>, CancellationToken)
Revoke a SAS Token for managed storage account of this GeoCatalog.
public virtual Azure.Response RevokeToken(int? durationInMinutes = default, System.Threading.CancellationToken cancellationToken = default);
abstract member RevokeToken : Nullable<int> * System.Threading.CancellationToken -> Azure.Response
override this.RevokeToken : Nullable<int> * System.Threading.CancellationToken -> Azure.Response
Public Overridable Function RevokeToken (Optional durationInMinutes As Nullable(Of Integer) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Response
Parameters
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.