共用方式為


OperationResourceMetricSpecification Constructors

Definition

Overloads

OperationResourceMetricSpecification()

Initializes a new instance of the OperationResourceMetricSpecification class.

OperationResourceMetricSpecification(String, String, String, String, String, IList<String>, Nullable<Boolean>, IList<OperationResourceMetricSpecificationDimension>)

Initializes a new instance of the OperationResourceMetricSpecification class.

OperationResourceMetricSpecification()

Initializes a new instance of the OperationResourceMetricSpecification class.

public OperationResourceMetricSpecification ();
Public Sub New ()

Applies to

OperationResourceMetricSpecification(String, String, String, String, String, IList<String>, Nullable<Boolean>, IList<OperationResourceMetricSpecificationDimension>)

Initializes a new instance of the OperationResourceMetricSpecification class.

public OperationResourceMetricSpecification (string name = default, string displayName = default, string displayDescription = default, string unit = default, string aggregationType = default, System.Collections.Generic.IList<string> supportedAggregationTypes = default, bool? fillGapWithZero = default, System.Collections.Generic.IList<Microsoft.Azure.Management.StorageSync.Models.OperationResourceMetricSpecificationDimension> dimensions = default);
new Microsoft.Azure.Management.StorageSync.Models.OperationResourceMetricSpecification : string * string * string * string * string * System.Collections.Generic.IList<string> * Nullable<bool> * System.Collections.Generic.IList<Microsoft.Azure.Management.StorageSync.Models.OperationResourceMetricSpecificationDimension> -> Microsoft.Azure.Management.StorageSync.Models.OperationResourceMetricSpecification
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 supportedAggregationTypes As IList(Of String) = Nothing, Optional fillGapWithZero As Nullable(Of Boolean) = Nothing, Optional dimensions As IList(Of OperationResourceMetricSpecificationDimension) = Nothing)

Parameters

name
String

Name of the metric.

displayName
String

Display name for the metric.

displayDescription
String

Display description for the metric.

unit
String

Unit for the metric.

aggregationType
String

Aggregation type for the metric.

supportedAggregationTypes
IList<String>

Supported aggregation types for the metric.

fillGapWithZero
Nullable<Boolean>

Fill gaps in the metric with zero.

dimensions
IList<OperationResourceMetricSpecificationDimension>

Dimensions for the metric specification.

Applies to