Condividi tramite


SkuInfoInner Class

  • java.lang.Object
    • com.azure.resourcemanager.appservice.fluent.models.SkuInfoInner

Implements

public final class SkuInfoInner
implements JsonSerializable<SkuInfoInner>

SKU discovery information.

Method Summary

Modifier and Type Method and Description
SkuCapacity capacity()

Get the capacity property: Min, max, and default scale values of the SKU.

static SkuInfoInner fromJson(JsonReader jsonReader)

Reads an instance of SkuInfoInner from the JsonReader.

String resourceType()

Get the resourceType property: Resource type that this SKU applies to.

SkuDescription sku()

Get the sku property: Name and tier of the SKU.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

capacity

public SkuCapacity capacity()

Get the capacity property: Min, max, and default scale values of the SKU.

Returns:

the capacity value.

fromJson

public static SkuInfoInner fromJson(JsonReader jsonReader)

Reads an instance of SkuInfoInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

resourceType

public String resourceType()

Get the resourceType property: Resource type that this SKU applies to.

Returns:

the resourceType value.

sku

public SkuDescription sku()

Get the sku property: Name and tier of the SKU.

Returns:

the sku value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to