Udostępnij za pośrednictwem


MetricSpecificationV1 Constructors

Definition

Overloads

MetricSpecificationV1()

Initializes a new instance of the MetricSpecificationV1 class.

MetricSpecificationV1(String, String, String, String, String, IList<MetricDimensionV1>, Nullable<Boolean>, String, String, IList<String>, IList<String>)

Initializes a new instance of the MetricSpecificationV1 class.

MetricSpecificationV1()

Initializes a new instance of the MetricSpecificationV1 class.

public MetricSpecificationV1 ();
Public Sub New ()

Applies to

MetricSpecificationV1(String, String, String, String, String, IList<MetricDimensionV1>, Nullable<Boolean>, String, String, IList<String>, IList<String>)

Initializes a new instance of the MetricSpecificationV1 class.

public MetricSpecificationV1 (string name = default, string displayName = default, string displayDescription = default, string unit = default, string aggregationType = default, System.Collections.Generic.IList<Microsoft.Azure.Management.DataBoxEdge.Models.MetricDimensionV1> dimensions = default, bool? fillGapWithZero = default, string category = default, string resourceIdDimensionNameOverride = default, System.Collections.Generic.IList<string> supportedTimeGrainTypes = default, System.Collections.Generic.IList<string> supportedAggregationTypes = default);
new Microsoft.Azure.Management.DataBoxEdge.Models.MetricSpecificationV1 : string * string * string * string * string * System.Collections.Generic.IList<Microsoft.Azure.Management.DataBoxEdge.Models.MetricDimensionV1> * Nullable<bool> * string * string * System.Collections.Generic.IList<string> * System.Collections.Generic.IList<string> -> Microsoft.Azure.Management.DataBoxEdge.Models.MetricSpecificationV1
Public Sub New (Optional name As String = Nothing, Optional displayName As String = Nothing, Optional displayDescription As String = Nothing, Optional unit As String = Nothing, Optional aggregationType As String = Nothing, Optional dimensions As IList(Of MetricDimensionV1) = Nothing, Optional fillGapWithZero As Nullable(Of Boolean) = Nothing, Optional category As String = Nothing, Optional resourceIdDimensionNameOverride As String = Nothing, Optional supportedTimeGrainTypes As IList(Of String) = Nothing, Optional supportedAggregationTypes As IList(Of String) = Nothing)

Parameters

name
String

Name of the metric.

displayName
String

Display name of the metric.

displayDescription
String

Description of the metric to be displayed.

unit
String

Metric units. Possible values include: 'NotSpecified', 'Percent', 'Count', 'Seconds', 'Milliseconds', 'Bytes', 'BytesPerSecond', 'CountPerSecond'

aggregationType
String

Metric aggregation type. Possible values include: 'NotSpecified', 'None', 'Average', 'Minimum', 'Maximum', 'Total', 'Count'

dimensions
IList<MetricDimensionV1>

Metric dimensions, other than default dimension which is resource.

fillGapWithZero
Nullable<Boolean>

Set true to fill the gaps with zero.

category
String

Metric category. Possible values include: 'Capacity', 'Transaction'

resourceIdDimensionNameOverride
String

Resource name override.

supportedTimeGrainTypes
IList<String>

Support granularity of metrics.

supportedAggregationTypes
IList<String>

Support metric aggregation type.

Applies to