Share via


StorageQueue Constructors

Definition

Overloads

StorageQueue()

Initializes a new instance of the StorageQueue class.

StorageQueue(String, String, String, IDictionary<String,String>, Nullable<Int32>)

Initializes a new instance of the StorageQueue class.

StorageQueue()

Initializes a new instance of the StorageQueue class.

public StorageQueue ();
Public Sub New ()

Applies to

StorageQueue(String, String, String, IDictionary<String,String>, Nullable<Int32>)

Initializes a new instance of the StorageQueue class.

public StorageQueue (string id = default, string name = default, string type = default, System.Collections.Generic.IDictionary<string,string> metadata = default, int? approximateMessageCount = default);
new Microsoft.Azure.Management.Storage.Models.StorageQueue : string * string * string * System.Collections.Generic.IDictionary<string, string> * Nullable<int> -> Microsoft.Azure.Management.Storage.Models.StorageQueue
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional metadata As IDictionary(Of String, String) = Nothing, Optional approximateMessageCount As Nullable(Of Integer) = Nothing)

Parameters

id
String

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

name
String

The name of the resource

type
String

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

metadata
IDictionary<String,String>

A name-value pair that represents queue metadata.

approximateMessageCount
Nullable<Int32>

Integer indicating an approximate number of messages in the queue. This number is not lower than the actual number of messages in the queue, but could be higher.

Applies to