Usage Constructors

Definition

Overloads

Usage()

Initializes a new instance of the Usage class.

Usage(UnitType, MetricName, String, Nullable<Int64>, Nullable<Int64>)

Initializes a new instance of the Usage class.

Usage()

Initializes a new instance of the Usage class.

public Usage ();
Public Sub New ()

Applies to

Usage(UnitType, MetricName, String, Nullable<Int64>, Nullable<Int64>)

Initializes a new instance of the Usage class.

public Usage (Microsoft.Azure.Management.CosmosDB.Fluent.Models.UnitType unit = default, Microsoft.Azure.Management.CosmosDB.Fluent.Models.MetricName name = default, string quotaPeriod = default, long? limit = default, long? currentValue = default);
new Microsoft.Azure.Management.CosmosDB.Fluent.Models.Usage : Microsoft.Azure.Management.CosmosDB.Fluent.Models.UnitType * Microsoft.Azure.Management.CosmosDB.Fluent.Models.MetricName * string * Nullable<int64> * Nullable<int64> -> Microsoft.Azure.Management.CosmosDB.Fluent.Models.Usage
Public Sub New (Optional unit As UnitType = Nothing, Optional name As MetricName = Nothing, Optional quotaPeriod As String = Nothing, Optional limit As Nullable(Of Long) = Nothing, Optional currentValue As Nullable(Of Long) = Nothing)

Parameters

unit
UnitType

The unit of the metric. Possible values include: 'Count', 'Bytes', 'Seconds', 'Percent', 'CountPerSecond', 'BytesPerSecond', 'Milliseconds'

name
MetricName

The name information for the metric.

quotaPeriod
String

The quota period used to summarize the usage values.

limit
Nullable<Int64>

Maximum value for this metric

currentValue
Nullable<Int64>

Current value for this metric

Applies to