Freigeben über


ArmStorageModelFactory.StorageQueueData Methode

Definition

Initialisiert eine neue instance von 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

Parameter

id
ResourceIdentifier

Die ID.

name
String

Der Name.

resourceType
ResourceType

Der resourceType.

systemData
SystemData

SystemData.

metadata
IDictionary<String,String>

Ein Name-Wert-Paar, das Warteschlangenmetadaten darstellt.

approximateMessageCount
Nullable<Int32>

Ganze Zahl, die eine ungefähre Anzahl von Nachrichten in der Warteschlange angibt. Diese Anzahl ist nicht niedriger ist als die tatsächliche Anzahl der Nachrichten in der Warteschlange, sie kann jedoch höher sein.

Gibt zurück

Eine neue StorageQueueData instance zum Simulieren.

Gilt für: