Share via


MetricSpecification Constructors

Definition

Overloads

MetricSpecification()

Initializes a new instance of the MetricSpecification class.

MetricSpecification(String, String, String, String, IList<Dimension>, String, Nullable<Boolean>, String, String)

Initializes a new instance of the MetricSpecification class.

MetricSpecification()

Initializes a new instance of the MetricSpecification class.

public MetricSpecification ();
Public Sub New ()

Applies to

MetricSpecification(String, String, String, String, IList<Dimension>, String, Nullable<Boolean>, String, String)

Initializes a new instance of the MetricSpecification class.

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

Parameters

name
String

Name of metric specification.

displayName
String

Display name of metric specification.

displayDescription
String

Display description of metric specification.

unit
String

Unit could be Bytes or Count.

dimensions
IList<Dimension>

Dimensions of blobs, including blob type and access tier.

aggregationType
String

Aggregation type could be Average.

fillGapWithZero
Nullable<Boolean>

The property to decide fill gap with zero or not.

category
String

The category this metric specification belong to, could be Capacity.

resourceIdDimensionNameOverride
String

Account Resource Id.

Applies to