Storage Accounts - List Sas Tokens
获取与指定的 Data Lake Analytics 和 Azure 存储帐户和容器组合关联的 SAS 令牌。
POST https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}/storageAccounts/{storageAccountName}/containers/{containerName}/listSasTokens?api-version=2016-11-01
URI 参数
| 名称 | 在 | 必需 | 类型 | 说明 |
|---|---|---|---|---|
|
account
|
path | True |
string |
Data Lake Analytics 帐户的名称。 |
|
container
|
path | True |
string |
为其请求 SAS 令牌的 Azure 存储容器的名称。 |
|
resource
|
path | True |
string |
Azure 资源组的名称。 |
|
storage
|
path | True |
string |
要为其请求 SAS 令牌的 Azure 存储帐户的名称。 |
|
subscription
|
path | True |
string |
获取唯一标识 Microsoft Azure 订阅的订阅凭据。 订阅 ID 构成了每个服务调用的 URI 的一部分。 |
|
api-version
|
query | True |
string |
客户端 API 版本。 |
响应
| 名称 | 类型 | 说明 |
|---|---|---|
| 200 OK |
已成功检索指定 Azure 存储帐户容器的存储帐户 SAS 令牌列表。 |
|
| Other Status Codes |
安全性
azure_auth
Azure Active Directory OAuth2 流
类型:
oauth2
流向:
implicit
授权 URL:
https://login.microsoftonline.com/common/oauth2/authorize
作用域
| 名称 | 说明 |
|---|---|
| user_impersonation | 模拟用户帐户 |
示例
Gets the SAS token
示例请求
示例响应
{
"value": [
{
"accessToken": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab346"
}
],
"nextLink": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/contosorg/providers/Microsoft.DataLakeAnalytics/accounts/contosoadla/jobPolicies?api-version=2016-11-01&%24skiptoken=<token>"
}
定义
| 名称 | 说明 |
|---|---|
|
Error |
资源管理错误附加信息。 |
|
Error |
错误详细信息。 |
|
Error |
错误响应 |
|
Sas |
SAS 令牌信息。 |
|
Sas |
包含用于连接的存储帐户、容器和关联的 SAS 令牌的 SAS 响应。 |
ErrorAdditionalInfo
资源管理错误附加信息。
| 名称 | 类型 | 说明 |
|---|---|---|
| info |
object |
其他信息。 |
| type |
string |
其他信息类型。 |
ErrorDetail
错误详细信息。
| 名称 | 类型 | 说明 |
|---|---|---|
| additionalInfo |
错误附加信息。 |
|
| code |
string |
错误代码。 |
| details |
错误详细信息。 |
|
| message |
string |
错误消息。 |
| target |
string |
错误目标。 |
ErrorResponse
错误响应
| 名称 | 类型 | 说明 |
|---|---|---|
| error |
错误对象。 |
SasTokenInformation
SAS 令牌信息。
| 名称 | 类型 | 说明 |
|---|---|---|
| accessToken |
string |
关联的 Azure 存储容器的访问令牌。 |
SasTokenInformationListResult
包含用于连接的存储帐户、容器和关联的 SAS 令牌的 SAS 响应。
| 名称 | 类型 | 说明 |
|---|---|---|
| nextLink |
string |
指向下一页结果的链接(url)。 |
| value |
列表作的结果。 |