Compartilhar via


ArmCosmosDBModelFactory.CosmosDBMetricValue Método

Definição

Inicializa uma nova instância do CosmosDBMetricValue.

public static Azure.ResourceManager.CosmosDB.Models.CosmosDBMetricValue CosmosDBMetricValue (int? count = default, double? average = default, double? maximum = default, double? minimum = default, DateTimeOffset? timestamp = default, double? total = default);
static member CosmosDBMetricValue : Nullable<int> * Nullable<double> * Nullable<double> * Nullable<double> * Nullable<DateTimeOffset> * Nullable<double> -> Azure.ResourceManager.CosmosDB.Models.CosmosDBMetricValue
Public Shared Function CosmosDBMetricValue (Optional count As Nullable(Of Integer) = Nothing, Optional average As Nullable(Of Double) = Nothing, Optional maximum As Nullable(Of Double) = Nothing, Optional minimum As Nullable(Of Double) = Nothing, Optional timestamp As Nullable(Of DateTimeOffset) = Nothing, Optional total As Nullable(Of Double) = Nothing) As CosmosDBMetricValue

Parâmetros

count
Nullable<Int32>

O número de valores para a métrica.

average
Nullable<Double>

O valor médio da métrica.

maximum
Nullable<Double>

O valor máximo da métrica.

minimum
Nullable<Double>

O valor mínimo da métrica.

timestamp
Nullable<DateTimeOffset>

O carimbo de data/hora da métrica (formato ISO-8601).

total
Nullable<Double>

O valor total da métrica.

Retornos

Uma nova CosmosDBMetricValue instância para simulação.

Aplica-se a