Condividi tramite


Dimension Class

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

Implements

public final class Dimension
implements JsonSerializable<Dimension>

Dimension of a resource metric. For e.g. instance specific HTTP requests for a web app, where instance name is dimension of the metric HTTP request.

Method Summary

Modifier and Type Method and Description
String displayName()

Get the displayName property: The displayName property.

static Dimension fromJson(JsonReader jsonReader)

Reads an instance of Dimension from the JsonReader.

String internalName()

Get the internalName property: The internalName property.

String name()

Get the name property: The name property.

Boolean toBeExportedForShoebox()

Get the toBeExportedForShoebox property: The toBeExportedForShoebox property.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

displayName

public String displayName()

Get the displayName property: The displayName property.

Returns:

the displayName value.

fromJson

public static Dimension fromJson(JsonReader jsonReader)

Reads an instance of Dimension from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of Dimension 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 Dimension.

internalName

public String internalName()

Get the internalName property: The internalName property.

Returns:

the internalName value.

name

public String name()

Get the name property: The name property.

Returns:

the name value.

toBeExportedForShoebox

public Boolean toBeExportedForShoebox()

Get the toBeExportedForShoebox property: The toBeExportedForShoebox property.

Returns:

the toBeExportedForShoebox value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to