StorageAccountsOperations.ListAccountSASAsync(String, String, AccountSasParameters, CancellationToken) Method

Definition

List SAS credentials of a storage account.

public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Storage.Models.ListAccountSasResponse>> ListAccountSASAsync (string resourceGroupName, string accountName, Azure.ResourceManager.Storage.Models.AccountSasParameters parameters, System.Threading.CancellationToken cancellationToken = default);
abstract member ListAccountSASAsync : string * string * Azure.ResourceManager.Storage.Models.AccountSasParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Storage.Models.ListAccountSasResponse>>
override this.ListAccountSASAsync : string * string * Azure.ResourceManager.Storage.Models.AccountSasParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Storage.Models.ListAccountSasResponse>>
Public Overridable Function ListAccountSASAsync (resourceGroupName As String, accountName As String, parameters As AccountSasParameters, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ListAccountSasResponse))

Parameters

resourceGroupName
System.String

The name of the resource group within the user's subscription. The name is case insensitive.

accountName
System.String

The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.

parameters
AccountSasParameters

The parameters to provide to list SAS credentials for the storage account.

cancellationToken
System.Threading.CancellationToken

The cancellation token to use.

Returns

System.Threading.Tasks.Task<Response<ListAccountSasResponse>>

Applies to