MetricSpecification Class
- java.
lang. Object - com.
microsoft. azure. management. network. MetricSpecification
- com.
public class MetricSpecification
Description of metrics specification.
Constructor Summary
Constructor | Description | |
---|---|---|
MetricSpecification() |
Method Summary
Modifier and Type | Method and Description |
---|---|
java.lang.String |
aggregationType()
Get the aggregation type. |
java.util.List<Availability> |
availabilities()
Get list of availability. |
java.util.List<Dimension> |
dimensions()
Get list of dimensions. |
java.lang.String |
displayDescription()
Get the description of the metric. |
java.lang.String |
displayName()
Get the display name of the metric. |
java.lang.Boolean |
enableRegionalMdmAccount()
Get whether regional MDM account enabled. |
java.lang.Boolean |
fillGapWithZero()
Get whether gaps would be filled with zeros. |
java.lang.Boolean |
isInternal()
Get whether the metric is internal. |
java.lang.String |
metricFilterPattern()
Get pattern for the filter of the metric. |
java.lang.String |
name()
Get the name of the metric. |
java.lang.String |
resourceIdDimensionNameOverride()
Get the resource Id dimension name override. |
java.lang.String |
sourceMdmAccount()
Get the source MDM account. |
java.lang.String |
sourceMdmNamespace()
Get the source MDM namespace. |
java.lang.String |
unit()
Get units the metric to be displayed in. |
Metric |
withAggregationType(String aggregationType)
Set the aggregation type. |
Metric |
withAvailabilities(List<Availability> availabilities)
Set list of availability. |
Metric |
withDimensions(List<Dimension> dimensions)
Set list of dimensions. |
Metric |
withDisplayDescription(String displayDescription)
Set the description of the metric. |
Metric |
withDisplayName(String displayName)
Set the display name of the metric. |
Metric |
withEnableRegionalMdmAccount(Boolean enableRegionalMdmAccount)
Set whether regional MDM account enabled. |
Metric |
withFillGapWithZero(Boolean fillGapWithZero)
Set whether gaps would be filled with zeros. |
Metric |
withIsInternal(Boolean isInternal)
Set whether the metric is internal. |
Metric |
withMetricFilterPattern(String metricFilterPattern)
Set pattern for the filter of the metric. |
Metric |
withName(String name)
Set the name of the metric. |
Metric |
withResourceIdDimensionNameOverride(String resourceIdDimensionNameOverride)
Set the resource Id dimension name override. |
Metric |
withSourceMdmAccount(String sourceMdmAccount)
Set the source MDM account. |
Metric |
withSourceMdmNamespace(String sourceMdmNamespace)
Set the source MDM namespace. |
Metric |
withUnit(String unit)
Set units the metric to be displayed in. |
Methods inherited from java.lang.Object
Constructor Details
MetricSpecification
public MetricSpecification()
Method Details
aggregationType
public String aggregationType()
Get the aggregation type.
Returns:
availabilities
public List
Get list of availability.
Returns:
dimensions
public List
Get list of dimensions.
Returns:
displayDescription
public String displayDescription()
Get the description of the metric.
Returns:
displayName
public String displayName()
Get the display name of the metric.
Returns:
enableRegionalMdmAccount
public Boolean enableRegionalMdmAccount()
Get whether regional MDM account enabled.
Returns:
fillGapWithZero
public Boolean fillGapWithZero()
Get whether gaps would be filled with zeros.
Returns:
isInternal
public Boolean isInternal()
Get whether the metric is internal.
Returns:
metricFilterPattern
public String metricFilterPattern()
Get pattern for the filter of the metric.
Returns:
name
public String name()
Get the name of the metric.
Returns:
resourceIdDimensionNameOverride
public String resourceIdDimensionNameOverride()
Get the resource Id dimension name override.
Returns:
sourceMdmAccount
public String sourceMdmAccount()
Get the source MDM account.
Returns:
sourceMdmNamespace
public String sourceMdmNamespace()
Get the source MDM namespace.
Returns:
unit
public String unit()
Get units the metric to be displayed in.
Returns:
withAggregationType
public MetricSpecification withAggregationType(String aggregationType)
Set the aggregation type.
Parameters:
Returns:
withAvailabilities
public MetricSpecification withAvailabilities(List
Set list of availability.
Parameters:
Returns:
withDimensions
public MetricSpecification withDimensions(List
Set list of dimensions.
Parameters:
Returns:
withDisplayDescription
public MetricSpecification withDisplayDescription(String displayDescription)
Set the description of the metric.
Parameters:
Returns:
withDisplayName
public MetricSpecification withDisplayName(String displayName)
Set the display name of the metric.
Parameters:
Returns:
withEnableRegionalMdmAccount
public MetricSpecification withEnableRegionalMdmAccount(Boolean enableRegionalMdmAccount)
Set whether regional MDM account enabled.
Parameters:
Returns:
withFillGapWithZero
public MetricSpecification withFillGapWithZero(Boolean fillGapWithZero)
Set whether gaps would be filled with zeros.
Parameters:
Returns:
withIsInternal
public MetricSpecification withIsInternal(Boolean isInternal)
Set whether the metric is internal.
Parameters:
Returns:
withMetricFilterPattern
public MetricSpecification withMetricFilterPattern(String metricFilterPattern)
Set pattern for the filter of the metric.
Parameters:
Returns:
withName
public MetricSpecification withName(String name)
Set the name of the metric.
Parameters:
Returns:
withResourceIdDimensionNameOverride
public MetricSpecification withResourceIdDimensionNameOverride(String resourceIdDimensionNameOverride)
Set the resource Id dimension name override.
Parameters:
Returns:
withSourceMdmAccount
public MetricSpecification withSourceMdmAccount(String sourceMdmAccount)
Set the source MDM account.
Parameters:
Returns:
withSourceMdmNamespace
public MetricSpecification withSourceMdmNamespace(String sourceMdmNamespace)
Set the source MDM namespace.
Parameters:
Returns:
withUnit
public MetricSpecification withUnit(String unit)
Set units the metric to be displayed in.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Binnenkort beschikbaar: In de loop van 2024 zullen we GitHub-problemen geleidelijk uitfaseren als het feedbackmechanisme voor inhoud en deze vervangen door een nieuw feedbacksysteem. Zie voor meer informatie:Feedback verzenden en weergeven voor