Condividi tramite


MetricSpecification Class

  • java.lang.Object
    • com.azure.resourcemanager.appservice.models.MetricSpecification

Implements

public final class MetricSpecification
implements JsonSerializable<MetricSpecification>

Definition of a single resource metric.

Method Summary

Modifier and Type Method and Description
String aggregationType()

Get the aggregationType property: The aggregationType property.

List<MetricAvailability> availabilities()

Get the availabilities property: The availabilities property.

String category()

Get the category property: The category property.

List<Dimension> dimensions()

Get the dimensions property: The dimensions property.

String displayDescription()

Get the displayDescription property: The displayDescription property.

String displayName()

Get the displayName property: The displayName property.

Boolean enableRegionalMdmAccount()

Get the enableRegionalMdmAccount property: The enableRegionalMdmAccount property.

Boolean fillGapWithZero()

Get the fillGapWithZero property: The fillGapWithZero property.

static MetricSpecification fromJson(JsonReader jsonReader)

Reads an instance of MetricSpecification from the JsonReader.

Boolean isInternal()

Get the isInternal property: The isInternal property.

String metricFilterPattern()

Get the metricFilterPattern property: The metricFilterPattern property.

String name()

Get the name property: The name property.

String sourceMdmAccount()

Get the sourceMdmAccount property: The sourceMdmAccount property.

String sourceMdmNamespace()

Get the sourceMdmNamespace property: The sourceMdmNamespace property.

List<String> supportedAggregationTypes()

Get the supportedAggregationTypes property: The supportedAggregationTypes property.

List<String> supportedTimeGrainTypes()

Get the supportedTimeGrainTypes property: The supportedTimeGrainTypes property.

Boolean supportsInstanceLevelAggregation()

Get the supportsInstanceLevelAggregation property: The supportsInstanceLevelAggregation property.

JsonWriter toJson(JsonWriter jsonWriter)
String unit()

Get the unit property: The unit property.

void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

aggregationType

public String aggregationType()

Get the aggregationType property: The aggregationType property.

Returns:

the aggregationType value.

availabilities

public List<MetricAvailability> availabilities()

Get the availabilities property: The availabilities property.

Returns:

the availabilities value.

category

public String category()

Get the category property: The category property.

Returns:

the category value.

dimensions

public List<Dimension> dimensions()

Get the dimensions property: The dimensions property.

Returns:

the dimensions value.

displayDescription

public String displayDescription()

Get the displayDescription property: The displayDescription property.

Returns:

the displayDescription value.

displayName

public String displayName()

Get the displayName property: The displayName property.

Returns:

the displayName value.

enableRegionalMdmAccount

public Boolean enableRegionalMdmAccount()

Get the enableRegionalMdmAccount property: The enableRegionalMdmAccount property.

Returns:

the enableRegionalMdmAccount value.

fillGapWithZero

public Boolean fillGapWithZero()

Get the fillGapWithZero property: The fillGapWithZero property.

Returns:

the fillGapWithZero value.

fromJson

public static MetricSpecification fromJson(JsonReader jsonReader)

Reads an instance of MetricSpecification from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of MetricSpecification if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the MetricSpecification.

isInternal

public Boolean isInternal()

Get the isInternal property: The isInternal property.

Returns:

the isInternal value.

metricFilterPattern

public String metricFilterPattern()

Get the metricFilterPattern property: The metricFilterPattern property.

Returns:

the metricFilterPattern value.

name

public String name()

Get the name property: The name property.

Returns:

the name value.

sourceMdmAccount

public String sourceMdmAccount()

Get the sourceMdmAccount property: The sourceMdmAccount property.

Returns:

the sourceMdmAccount value.

sourceMdmNamespace

public String sourceMdmNamespace()

Get the sourceMdmNamespace property: The sourceMdmNamespace property.

Returns:

the sourceMdmNamespace value.

supportedAggregationTypes

public List<String> supportedAggregationTypes()

Get the supportedAggregationTypes property: The supportedAggregationTypes property.

Returns:

the supportedAggregationTypes value.

supportedTimeGrainTypes

public List<String> supportedTimeGrainTypes()

Get the supportedTimeGrainTypes property: The supportedTimeGrainTypes property.

Returns:

the supportedTimeGrainTypes value.

supportsInstanceLevelAggregation

public Boolean supportsInstanceLevelAggregation()

Get the supportsInstanceLevelAggregation property: The supportsInstanceLevelAggregation property.

Returns:

the supportsInstanceLevelAggregation value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

unit

public String unit()

Get the unit property: The unit property.

Returns:

the unit value.

validate

public void validate()

Validates the instance.

Applies to