Freigeben über


ArmContainerRegistryModelFactory.ContainerRegistryUsage Methode

Definition

Initialisiert eine neue instance von ContainerRegistryUsage.

public static Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryUsage ContainerRegistryUsage (string name = default, long? limit = default, long? currentValue = default, Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryUsageUnit? unit = default);
static member ContainerRegistryUsage : string * Nullable<int64> * Nullable<int64> * Nullable<Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryUsageUnit> -> Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryUsage
Public Shared Function ContainerRegistryUsage (Optional name As String = Nothing, Optional limit As Nullable(Of Long) = Nothing, Optional currentValue As Nullable(Of Long) = Nothing, Optional unit As Nullable(Of ContainerRegistryUsageUnit) = Nothing) As ContainerRegistryUsage

Parameter

name
String

Der Name der Verwendung.

limit
Nullable<Int64>

Das Limit der Nutzung.

currentValue
Nullable<Int64>

Der aktuelle Wert der Verwendung.

unit
Nullable<ContainerRegistryUsageUnit>

Die Maßeinheit.

Gibt zurück

Eine neue ContainerRegistryUsage instance zum Mocking.

Gilt für: