MetricSpecification Class

Definition

Specifications of the Metrics for Azure Monitoring.

public final class MetricSpecification
Inheritance
java.lang.Object
MetricSpecification

Inherited Members

java.lang.Object.clone() java.lang.Object.equals(java.lang.Object) java.lang.Object.finalize() java.lang.Object.getClass() java.lang.Object.hashCode() java.lang.Object.notify() java.lang.Object.notifyAll() java.lang.Object.toString() java.lang.Object.wait() java.lang.Object.wait(long) java.lang.Object.wait(long,int)

Constructors

MetricSpecification()

Methods

aggregationType()

Get the aggregationType property: Only provide one value for this field. Valid values: Average, Minimum, Maximum, Total, Count.

category()

Get the category property: Name of the metric category that the metric belongs to. A metric can only belong to a single category.

dimensions()

Get the dimensions property: Dimensions of the metric.

displayDescription()

Get the displayDescription property: Localized friendly description of the metric.

displayName()

Get the displayName property: Localized friendly display name of the metric.

enableRegionalMdmAccount()

Get the enableRegionalMdmAccount property: Whether or not the service is using regional MDM accounts.

fillGapWithZero()

Get the fillGapWithZero property: Optional. If set to true, then zero will be returned for time duration where no metric is emitted/published.

name()

Get the name property: Name of the metric.

sourceMdmAccount()

Get the sourceMdmAccount property: The name of the MDM account.

sourceMdmNamespace()

Get the sourceMdmNamespace property: The name of the MDM namespace.

supportedAggregationTypes()

Get the supportedAggregationTypes property: Supported aggregation types.

supportedTimeGrainTypes()

Get the supportedTimeGrainTypes property: Supported time grain types.

unit()

Get the unit property: Unit that makes sense for the metric.

validate()

Validates the instance.

withAggregationType(String aggregationType)

Set the aggregationType property: Only provide one value for this field. Valid values: Average, Minimum, Maximum, Total, Count.

withCategory(String category)

Set the category property: Name of the metric category that the metric belongs to. A metric can only belong to a single category.

withDimensions(List<MetricDimension> dimensions)

Set the dimensions property: Dimensions of the metric.

withDisplayDescription(String displayDescription)

Set the displayDescription property: Localized friendly description of the metric.

withDisplayName(String displayName)

Set the displayName property: Localized friendly display name of the metric.

withEnableRegionalMdmAccount(String enableRegionalMdmAccount)

Set the enableRegionalMdmAccount property: Whether or not the service is using regional MDM accounts.

withFillGapWithZero(Boolean fillGapWithZero)

Set the fillGapWithZero property: Optional. If set to true, then zero will be returned for time duration where no metric is emitted/published.

withName(String name)

Set the name property: Name of the metric.

withSourceMdmAccount(String sourceMdmAccount)

Set the sourceMdmAccount property: The name of the MDM account.

withSourceMdmNamespace(String sourceMdmNamespace)

Set the sourceMdmNamespace property: The name of the MDM namespace.

withSupportedAggregationTypes(List<String> supportedAggregationTypes)

Set the supportedAggregationTypes property: Supported aggregation types.

withSupportedTimeGrainTypes(List<String> supportedTimeGrainTypes)

Set the supportedTimeGrainTypes property: Supported time grain types.

withUnit(String unit)

Set the unit property: Unit that makes sense for the metric.

Applies to