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

OperationMetricSpecificationDefinition Class

Definition

The definition of Azure Monitoring metric.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api202301Preview.OperationMetricSpecificationDefinitionTypeConverter))]
public class OperationMetricSpecificationDefinition : Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api202301Preview.IOperationMetricSpecificationDefinition
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api202301Preview.OperationMetricSpecificationDefinitionTypeConverter))>]
type OperationMetricSpecificationDefinition = class
    interface IOperationMetricSpecificationDefinition
    interface IJsonSerializable
Public Class OperationMetricSpecificationDefinition
Implements IOperationMetricSpecificationDefinition
Inheritance
OperationMetricSpecificationDefinition
Attributes
Implements

Constructors

OperationMetricSpecificationDefinition()

Creates an new OperationMetricSpecificationDefinition instance.

Properties

AggregationType

Metric aggregation type.

DisplayDescription

Metric description.

DisplayName

Metric display name.

InternalMetricName

Internal metric name.

Name

Metric name.

Unit

Metric unit.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of OperationMetricSpecificationDefinition.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of OperationMetricSpecificationDefinition.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api202301Preview.IOperationMetricSpecificationDefinition.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of OperationMetricSpecificationDefinition into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to