Compartilhar via


MetricSpecification Class

Definition

Metric specification of operation.

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

The metric aggregation type. Possible values include: 'Average', 'Count', 'Total'.

Availability

Retention policies of a resource metric.

Dimension

The dimensions of metric

DisplayDescription

Display description of metric specification.

DisplayName

Display name of metric specification.

FillGapWithZero

Property to specify whether to fill gap with zero.

IsInternal

Property to specify metric is internal or not.

MetricFilterPattern

Pattern to filter based on name

Name

Name of metric specification.

SupportedTimeGrainType

The supported time grain types for the metrics.

Unit

The metric unit. Possible values include: 'Bytes', 'Count', 'Milliseconds'.

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.Cdn.Models.Api20240201.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