你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Storage Accounts - List Sas Tokens
Gets the SAS token associated with the specified Data Lake Analytics and Azure Storage account and container combination.
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 Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
account
|
path | True |
string |
The name of the Data Lake Analytics account. |
container
|
path | True |
string |
The name of the Azure storage container for which the SAS token is being requested. |
resource
|
path | True |
string |
The name of the Azure resource group. |
storage
|
path | True |
string |
The name of the Azure storage account for which the SAS token is being requested. |
subscription
|
path | True |
string |
Get subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. |
api-version
|
query | True |
string |
Client Api Version. |
Responses
Name | Type | Description |
---|---|---|
200 OK |
Successfully retrieved the list of Storage Account SAS tokens for the specified Azure Storage account container. |
|
Other Status Codes |
Security
azure_auth
Azure Active Directory OAuth2 Flow
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Scopes
Name | Description |
---|---|
user_impersonation | impersonate your user account |
Examples
Gets the SAS token
Sample request
Sample response
{
"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>"
}
Definitions
Name | Description |
---|---|
Error |
The resource management error additional info. |
Error |
The error detail. |
Error |
Error response |
Sas |
SAS token information. |
Sas |
The SAS response that contains the storage account, container and associated SAS token for connection use. |
ErrorAdditionalInfo
The resource management error additional info.
Name | Type | Description |
---|---|---|
info |
object |
The additional info. |
type |
string |
The additional info type. |
ErrorDetail
The error detail.
Name | Type | Description |
---|---|---|
additionalInfo |
The error additional info. |
|
code |
string |
The error code. |
details |
The error details. |
|
message |
string |
The error message. |
target |
string |
The error target. |
ErrorResponse
Error response
Name | Type | Description |
---|---|---|
error |
The error object. |
SasTokenInformation
SAS token information.
Name | Type | Description |
---|---|---|
accessToken |
string |
The access token for the associated Azure Storage Container. |
SasTokenInformationListResult
The SAS response that contains the storage account, container and associated SAS token for connection use.
Name | Type | Description |
---|---|---|
nextLink |
string |
The link (url) to the next page of results. |
value |
The results of the list operation. |