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.
Specifications of the Metrics for Azure Monitoring
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MixedReality.Models.Api20210301Preview.MetricSpecificationTypeConverter))]
public class MetricSpecification : Microsoft.Azure.PowerShell.Cmdlets.MixedReality.Models.Api20210301Preview.IMetricSpecification
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MixedReality.Models.Api20210301Preview.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 |
Only provide one value for this field. Valid values: Average, Minimum, Maximum, Total, Count. |
Category |
Metric category |
Dimension |
Dimensions of the metric |
DisplayDescription |
Localized friendly description of the metric |
DisplayName |
Localized friendly display name of the metric |
EnableRegionalMdmAccount |
Flag to indicate use of regional Mdm accounts |
FillGapWithZero |
Flag to determine is Zero is returned for time duration where no metric is emitted |
InternalMetricName |
Internal metric name. |
LockedAggregationType |
Locked aggregation type of the metric |
MetricFilterPattern |
Metric filter regex pattern |
Name |
Name of the metric |
SourceMdmAccount |
Source mdm account |
SourceMdmNamespace |
Source mdm namespace |
SupportedAggregationType |
Supported aggregation types. Valid values: Average, Minimum, Maximum, Total, Count. |
SupportedTimeGrainType |
Supported time grains. Valid values: PT1M, PT5M, PT15M, PT30M, PT1H, PT6H, PT12H, P1D |
Unit |
Unit that makes sense for the metric |
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.MixedReality.Models.Api20210301Preview.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() |