Bagikan melalui


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