Share via


MetricSpecification Class

Definition

Definition of a single resource metric.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.MetricSpecificationTypeConverter))]
public class MetricSpecification : Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.IMetricSpecification
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.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
Availability
Category
Dimension
DisplayDescription
DisplayName
EnableRegionalMdmAccount
FillGapWithZero
IsInternal
MetricFilterPattern
Name
SourceMdmAccount
SourceMdmNamespace
SupportedAggregationType
SupportedTimeGrainType
SupportsInstanceLevelAggregation
Unit

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.Functions.Models.Api20231201.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.

Applies to