次の方法で共有


IQueueOperations.CreateWithHttpMessagesAsync メソッド

定義

指定したアカウントの下に、指定したキュー名を持つ新しいキューを作成します。

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.Storage.Models.StorageQueue>> CreateWithHttpMessagesAsync (string resourceGroupName, string accountName, string queueName, System.Collections.Generic.IDictionary<string,string> metadata = default, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateWithHttpMessagesAsync : string * string * string * System.Collections.Generic.IDictionary<string, string> * 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.StorageQueue>>
Public Function CreateWithHttpMessagesAsync (resourceGroupName As String, accountName As String, queueName As String, Optional metadata As IDictionary(Of String, String) = Nothing, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of StorageQueue))

パラメーター

resourceGroupName
String

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

accountName
String

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

queueName
String

キュー名はストレージ アカウント内で一意である必要があり、3 ~ 63 文字である必要があります。名前は小文字の英数字とダッシュ (-) 文字のみで構成する必要があります。先頭と末尾は英数字で、2 つの連続するダッシュ (-) 文字を含めることはできません。

metadata
IDictionary<String,String>

キュー メタデータを表す名前と値のペア。

customHeaders
Dictionary<String,List<String>>

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

cancellationToken
CancellationToken

キャンセル トークン。

戻り値

例外

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

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

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

適用対象