你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

MetricSpecification Class

Definition

Specifications of the Metrics for Azure Monitoring

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.MetricSpecificationTypeConverter))]
public class MetricSpecification : Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.IMetricSpecification
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.Api20211201.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

Only provide one value for this field. Valid values: Average, Minimum, Maximum, Total, Count.

Category

Name of the metric category that the metric belongs to. A metric can only belong to a single category.

Dimension

Dimensions of the metric

DisplayDescription

Localized friendly description of the metric

DisplayName

Localized friendly display name of the metric

EnableRegionalMdmAccount

Whether or not the service is using regional MDM accounts.

FillGapWithZero

Optional. If set to true, then zero will be returned for time duration where no metric is emitted/published.

Name

Name of the metric

SourceMdmAccount

The name of the MDM account.

SourceMdmNamespace

The name of the MDM namespace.

SupportedAggregationType

Supported aggregation types

SupportedTimeGrainType

Supported time grain types

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.VMware.Models.Api20211201.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