Condividi tramite


MetricDefinition Constructors

Definition

Overloads

MetricDefinition()

Initializes a new instance of the MetricDefinition class.

MetricDefinition(IList<MetricAvailability>, String, String, String, MetricName)

Initializes a new instance of the MetricDefinition class.

MetricDefinition()

Initializes a new instance of the MetricDefinition class.

public MetricDefinition ();
Public Sub New ()

Applies to

MetricDefinition(IList<MetricAvailability>, String, String, String, MetricName)

Initializes a new instance of the MetricDefinition class.

public MetricDefinition (System.Collections.Generic.IList<Microsoft.Azure.Management.CosmosDB.Models.MetricAvailability> metricAvailabilities = default, string primaryAggregationType = default, string unit = default, string resourceUri = default, Microsoft.Azure.Management.CosmosDB.Models.MetricName name = default);
new Microsoft.Azure.Management.CosmosDB.Models.MetricDefinition : System.Collections.Generic.IList<Microsoft.Azure.Management.CosmosDB.Models.MetricAvailability> * string * string * string * Microsoft.Azure.Management.CosmosDB.Models.MetricName -> Microsoft.Azure.Management.CosmosDB.Models.MetricDefinition
Public Sub New (Optional metricAvailabilities As IList(Of MetricAvailability) = Nothing, Optional primaryAggregationType As String = Nothing, Optional unit As String = Nothing, Optional resourceUri As String = Nothing, Optional name As MetricName = Nothing)

Parameters

metricAvailabilities
IList<MetricAvailability>

The list of metric availabilities for the account.

primaryAggregationType
String

The primary aggregation type of the metric. Possible values include: 'None', 'Average', 'Total', 'Minimum', 'Maximum', 'Last'

unit
String

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

resourceUri
String

The resource uri of the database.

name
MetricName

The name information for the metric.

Applies to