MetricSpecification Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.PowerShell.Cmdlets.Compute.Helpers.Storage.Models.Dimension> dimensions = default, string aggregationType = default, bool? fillGapWithZero = default, string category = default, string resourceIdDimensionNameOverride = default);
new Microsoft.Azure.PowerShell.Cmdlets.Compute.Helpers.Storage.Models.MetricSpecification : string * string * string * string * System.Collections.Generic.IList<Microsoft.Azure.PowerShell.Cmdlets.Compute.Helpers.Storage.Models.Dimension> * string * Nullable<bool> * string * string -> Microsoft.Azure.PowerShell.Cmdlets.Compute.Helpers.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.
- aggregationType
- String
Aggregation type could be Average.
- category
- String
The category this metric specification belong to, could be Capacity.
- resourceIdDimensionNameOverride
- String
Account Resource Id.