Freigeben über


ArmCosmosDBModelFactory.CosmosDBBaseUsage Methode

Definition

Initialisiert eine neue instance von CosmosDBBaseUsage.

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

Parameter

unit
Nullable<CosmosDBMetricUnitType>

Die Einheit der Metrik.

name
CosmosDBMetricName

Die Namensinformationen für die Metrik.

quotaPeriod
String

Der Kontingentzeitraum, der zum Zusammenfassen der Nutzungswerte verwendet wird.

limit
Nullable<Int64>

Maximaler Wert für diese Metrik.

currentValue
Nullable<Int64>

Aktueller Wert für diese Metrik.

Gibt zurück

Eine neue CosmosDBBaseUsage instance zum Simulieren.

Gilt für: