ResourceSkuCapabilities Class

  • java.lang.Object
    • com.azure.resourcemanager.compute.models.ResourceSkuCapabilities

Implements

public final class ResourceSkuCapabilities
implements JsonSerializable<ResourceSkuCapabilities>

Describes The SKU capabilities object.

Constructor Summary

Constructor Description
ResourceSkuCapabilities()

Creates an instance of ResourceSkuCapabilities class.

Method Summary

Modifier and Type Method and Description
static ResourceSkuCapabilities fromJson(JsonReader jsonReader)

Reads an instance of ResourceSkuCapabilities from the JsonReader.

String name()

Get the name property: An invariant to describe the feature.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

String value()

Get the value property: An invariant if the feature is measured by quantity.

Methods inherited from java.lang.Object

Constructor Details

ResourceSkuCapabilities

public ResourceSkuCapabilities()

Creates an instance of ResourceSkuCapabilities class.

Method Details

fromJson

public static ResourceSkuCapabilities fromJson(JsonReader jsonReader)

Reads an instance of ResourceSkuCapabilities from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

name

public String name()

Get the name property: An invariant to describe the feature.

Returns:

the name value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

value

public String value()

Get the value property: An invariant if the feature is measured by quantity.

Returns:

the value value.

Applies to