次の方法で共有


StorageAccountsOperationsExtensions.ListKeysAsync メソッド

定義

指定したストレージ アカウントのアクセス キーまたは Kerberos キー (Active Directory が有効な場合) を一覧表示します。

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Storage.Models.StorageAccountListKeysResult> ListKeysAsync (this Microsoft.Azure.Management.Storage.IStorageAccountsOperations operations, string resourceGroupName, string accountName, Microsoft.Azure.Management.Storage.Models.ListKeyExpand? expand = default, System.Threading.CancellationToken cancellationToken = default);
static member ListKeysAsync : Microsoft.Azure.Management.Storage.IStorageAccountsOperations * string * string * Nullable<Microsoft.Azure.Management.Storage.Models.ListKeyExpand> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Storage.Models.StorageAccountListKeysResult>
<Extension()>
Public Function ListKeysAsync (operations As IStorageAccountsOperations, resourceGroupName As String, accountName As String, Optional expand As Nullable(Of ListKeyExpand) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of StorageAccountListKeysResult)

パラメーター

operations
IStorageAccountsOperations

この拡張メソッドの操作グループ。

resourceGroupName
String

ユーザーのサブスクリプション内のリソース グループの名前。 名前の大文字と小文字は区別されます。

accountName
String

指定したリソース グループ内のストレージ アカウントの名前。 ストレージ アカウント名の長さは 3 ~ 24 文字で、数字と小文字のみを使用する必要があります。

expand
Nullable<ListKeyExpand>

一覧表示するキーの種類を指定します。 使用できる値は縁石です。 使用可能な値は次のとおりです: 'kerb'

cancellationToken
CancellationToken

キャンセル トークン。

戻り値

適用対象