你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
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.VMware.Models.MetricSpecificationTypeConverter))]
public class MetricSpecification : Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IMetricSpecification
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.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 |
Name of the metric category that the metric belongs to. A metric can only belong to a single category. |
Dimension |
Dimensions of the metric |
DisplayDescription |
Localized friendly description of the metric |
DisplayName |
Localized friendly display name of the metric |
EnableRegionalMdmAccount |
Whether or not the service is using regional MDM accounts. |
FillGapWithZero |
Optional. If set to true, then zero will be returned for time duration where no metric is emitted/published. |
Name |
Name of the metric |
SourceMdmAccount |
The name of the MDM account. |
SourceMdmNamespace |
The name of the MDM namespace. |
SupportedAggregationType |
Supported aggregation types |
SupportedTimeGrainType |
Supported time grain types |
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.VMware.Models.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() |