MetricSpecification Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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() |