次の方法で共有


IStorageAccountsOperations.GetPropertiesWithHttpMessagesAsync メソッド

定義

名前、SKU 名、場所、アカウントの状態を含むがこれらに限定されない、指定されたストレージ アカウントのプロパティを返します。 ListKeys 操作は、ストレージ キーを取得するために使用する必要があります。

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.Storage.Models.StorageAccount>> GetPropertiesWithHttpMessagesAsync (string resourceGroupName, string accountName, Microsoft.Azure.Management.Storage.Models.StorageAccountExpand? expand = default, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetPropertiesWithHttpMessagesAsync : string * string * Nullable<Microsoft.Azure.Management.Storage.Models.StorageAccountExpand> * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.Storage.Models.StorageAccount>>
Public Function GetPropertiesWithHttpMessagesAsync (resourceGroupName As String, accountName As String, Optional expand As Nullable(Of StorageAccountExpand) = Nothing, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of StorageAccount))

パラメーター

resourceGroupName
String

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

accountName
String

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

expand
Nullable<StorageAccountExpand>

アカウントのプロパティ内のプロパティを展開するために使用できます。 既定では、プロパティをフェッチするときにデータは含まれません。 現在、geoReplicationStats と blobRestoreStatus のみがサポートされています。 使用できる値は、'geoReplicationStats'、'blobRestoreStatus' です。

customHeaders
Dictionary<String,List<String>>

要求に追加されるヘッダー。

cancellationToken
CancellationToken

キャンセル トークン。

戻り値

例外

操作が無効な状態コードを返したときにスローされます

応答を逆シリアル化できない場合にスローされます

必須パラメーターが null の場合にスローされます

適用対象