Dela via


MetricSpecification Class

Definition

Specifications of the Metrics for Azure Monitoring.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Peering.Models.Api20221001.MetricSpecificationTypeConverter))]
public class MetricSpecification : Microsoft.Azure.PowerShell.Cmdlets.Peering.Models.Api20221001.IMetricSpecification
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Peering.Models.Api20221001.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 will be set to one of the values: Average, Minimum, Maximum, Total, Count.

Dimension

Dimensions of the metric.

DisplayDescription

Localized friendly description of the metric.

DisplayName

Localized friendly display name of the metric.

Name

Name of the metric.

SupportedTimeGrainType

Supported time grain types for the metric.

Unit

Unit that makes sense for the metric.

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.Peering.Models.Api20221001.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