Share via


QueueOperationsExtensions.Create Method

Definition

Creates a new queue with the specified queue name, under the specified account.

public static Microsoft.Azure.Management.Storage.Models.StorageQueue Create (this Microsoft.Azure.Management.Storage.IQueueOperations operations, string resourceGroupName, string accountName, string queueName, System.Collections.Generic.IDictionary<string,string> metadata = default);
static member Create : Microsoft.Azure.Management.Storage.IQueueOperations * string * string * string * System.Collections.Generic.IDictionary<string, string> -> Microsoft.Azure.Management.Storage.Models.StorageQueue
<Extension()>
Public Function Create (operations As IQueueOperations, resourceGroupName As String, accountName As String, queueName As String, Optional metadata As IDictionary(Of String, String) = Nothing) As StorageQueue

Parameters

operations
IQueueOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group within the user's subscription. The name is case insensitive.

accountName
String

The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.

queueName
String

A queue name must be unique within a storage account and must be between 3 and 63 characters.The name must comprise of lowercase alphanumeric and dash(-) characters only, it should begin and end with an alphanumeric character and it cannot have two consecutive dash(-) characters.

metadata
IDictionary<String,String>

A name-value pair that represents queue metadata.

Returns

Applies to