Sku Class

  • java.lang.Object
    • com.azure.resourcemanager.signalr.models.Sku

Implements

public final class Sku
implements JsonSerializable<Sku>

Describes an available sku.".

Constructor Summary

Constructor Description
Sku()

Creates an instance of Sku class.

Method Summary

Modifier and Type Method and Description
SkuCapacity capacity()

Get the capacity property: Describes scaling information of a sku.

static Sku fromJson(JsonReader jsonReader)

Reads an instance of Sku from the JsonReader.

String resourceType()

Get the resourceType property: The resource type that this object applies to.

ResourceSku sku()

Get the sku property: The billing information of the resource.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

Sku

public Sku()

Creates an instance of Sku class.

Method Details

capacity

public SkuCapacity capacity()

Get the capacity property: Describes scaling information of a sku.

Returns:

the capacity value.

fromJson

public static Sku fromJson(JsonReader jsonReader)

Reads an instance of Sku from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

resourceType

public String resourceType()

Get the resourceType property: The resource type that this object applies to.

Returns:

the resourceType value.

sku

public ResourceSku sku()

Get the sku property: The billing information of the resource.

Returns:

the sku value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to