Partager via


MetricSpecification Class

Definition

Metric specification of operation.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.MetricSpecificationTypeConverter))]
public class MetricSpecification : Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.IMetricSpecification
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.MetricSpecificationTypeConverter))>]
type MetricSpecification = class
    interface IMetricSpecification
    interface IJsonSerializable
Public Class MetricSpecification
Implements IMetricSpecification
Inheritance
MetricSpecification
Attributes
Implements

Constructors

MetricSpecification()

Creates an new MetricSpecification instance.

Properties

AggregationType

Aggregation type could be Average.

Category

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

Dimension

Dimensions of blobs, including blob type and access tier.

DisplayDescription

Display description of metric specification.

DisplayName

Display name of metric specification.

FillGapWithZero

The property to decide fill gap with zero or not.

Name

Name of metric specification.

ResourceIdDimensionNameOverride

Account Resource Id.

Unit

Unit could be Bytes or Count.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of MetricSpecification.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of MetricSpecification.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.IMetricSpecification.

FromJsonString(String)

Creates a new instance of MetricSpecification, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of MetricSpecification into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to