Freigeben über


StorageAccountResource.GetServiceSasAsync Methode

Definition

Auflisten der SAS-Anmeldeinformationen des Diensts einer bestimmten Ressource.

  • Anfordern von Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/ListServiceSas
  • Vorgang IdStorageAccounts_ListServiceSAS
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Storage.Models.GetServiceSasResult>> GetServiceSasAsync (Azure.ResourceManager.Storage.Models.ServiceSasContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member GetServiceSasAsync : Azure.ResourceManager.Storage.Models.ServiceSasContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Storage.Models.GetServiceSasResult>>
override this.GetServiceSasAsync : Azure.ResourceManager.Storage.Models.ServiceSasContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Storage.Models.GetServiceSasResult>>
Public Overridable Function GetServiceSasAsync (content As ServiceSasContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of GetServiceSasResult))

Parameter

content
ServiceSasContent

Die Parameter, die zum Auflisten von Sas-Anmeldeinformationen des Diensts bereitgestellt werden sollen.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

content ist NULL.

Gilt für: