Share via


ArmStorageModelFactory.StorageQueueData Method

Definition

Initializes a new instance of StorageQueueData.

public static Azure.ResourceManager.Storage.StorageQueueData StorageQueueData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> metadata = default, int? approximateMessageCount = default);
static member StorageQueueData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Nullable<int> -> Azure.ResourceManager.Storage.StorageQueueData
Public Shared Function StorageQueueData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional metadata As IDictionary(Of String, String) = Nothing, Optional approximateMessageCount As Nullable(Of Integer) = Nothing) As StorageQueueData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

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.

Returns

A new StorageQueueData instance for mocking.

Applies to