ArmCosmosDBModelFactory.CosmosDBMetricValue Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of 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
Parameters
- timestamp
- Nullable<DateTimeOffset>
The metric timestamp (ISO-8601 format).
Returns
A new CosmosDBMetricValue instance for mocking.