你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

StorageAccountResource.GetServiceSas 方法

定义

列出特定资源的服务 SAS 凭据。

  • 请求路径/订阅/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/ListServiceSas
  • 操作IdStorageAccounts_ListServiceSAS
public virtual Azure.Response<Azure.ResourceManager.Storage.Models.GetServiceSasResult> GetServiceSas (Azure.ResourceManager.Storage.Models.ServiceSasContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member GetServiceSas : Azure.ResourceManager.Storage.Models.ServiceSasContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Storage.Models.GetServiceSasResult>
override this.GetServiceSas : Azure.ResourceManager.Storage.Models.ServiceSasContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Storage.Models.GetServiceSasResult>
Public Overridable Function GetServiceSas (content As ServiceSasContent, Optional cancellationToken As CancellationToken = Nothing) As Response(Of GetServiceSasResult)

参数

content
ServiceSasContent

要提供以列出服务 SAS 凭据的参数。

cancellationToken
CancellationToken

要使用的取消标记。

返回

例外

content 为 null。

适用于