次の方法で共有


Storage Accounts - List Sas Tokens

指定した Data Lake Analytics と Azure Storage アカウントとコンテナーの組み合わせに関連付けられている 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 パラメーター

名前 / 必須 説明
accountName
path True

string

Data Lake Analytics アカウントの名前。

containerName
path True

string

SAS トークンが要求されている Azure ストレージ コンテナーの名前。

resourceGroupName
path True

string

Azure リソース グループの名前。

storageAccountName
path True

string

SAS トークンが要求されている Azure ストレージ アカウントの名前。

subscriptionId
path True

string

Microsoft Azure サブスクリプションを一意に識別するサブスクリプション資格情報を取得します。 サブスクリプション ID は、すべてのサービス呼び出しの URI の一部を形成します。

api-version
query True

string

クライアント API のバージョン。

応答

名前 説明
200 OK

SasTokenInformationListResult

指定した Azure Storage アカウント コンテナーのストレージ アカウント SAS トークンの一覧が正常に取得されました。

Other Status Codes

ErrorResponse

セキュリティ

azure_auth

Azure Active Directory OAuth2 フロー

型: oauth2
フロー: implicit
Authorization URL (承認 URL): https://login.microsoftonline.com/common/oauth2/authorize

スコープ

名前 説明
user_impersonation ユーザー アカウントを偽装する

Gets the SAS token

要求のサンプル

POST https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/contosorg/providers/Microsoft.DataLakeAnalytics/accounts/contosoadla/storageAccounts/test_storage/containers/test_container/listSasTokens?api-version=2016-11-01

応答のサンプル

{
  "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>"
}

定義

名前 説明
ErrorAdditionalInfo

リソース管理エラーの追加情報。

ErrorDetail

エラーの詳細。

ErrorResponse

エラー応答

SasTokenInformation

SAS トークン情報。

SasTokenInformationListResult

接続用のストレージ アカウント、コンテナー、および関連付けられている SAS トークンを含む SAS 応答。

ErrorAdditionalInfo

リソース管理エラーの追加情報。

名前 説明
info

object

追加情報。

type

string

追加情報の種類。

ErrorDetail

エラーの詳細。

名前 説明
additionalInfo

ErrorAdditionalInfo[]

エラーの追加情報。

code

string

エラー コード。

details

ErrorDetail[]

エラーの詳細。

message

string

エラー メッセージ。

target

string

エラーターゲット。

ErrorResponse

エラー応答

名前 説明
error

ErrorDetail

エラー オブジェクト。

SasTokenInformation

SAS トークン情報。

名前 説明
accessToken

string

関連付けられている Azure Storage コンテナーのアクセス トークン。

SasTokenInformationListResult

接続用のストレージ アカウント、コンテナー、および関連付けられている SAS トークンを含む SAS 応答。

名前 説明
nextLink

string

結果の次のページへのリンク (URL)。

value

SasTokenInformation[]

リスト操作の結果。