Share via


ResourceSkuProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.devopsinfrastructure.models.ResourceSkuProperties

Implements

public final class ResourceSkuProperties
implements JsonSerializable<ResourceSkuProperties>

Properties of a ResourceSku.

Method Summary

Modifier and Type Method and Description
List<ResourceSkuCapabilities> capabilities()

Get the capabilities property: Name value pairs to describe the capability.

String family()

Get the family property: The family of the SKU.

static ResourceSkuProperties fromJson(JsonReader jsonReader)

Reads an instance of ResourceSkuProperties from the JsonReader.

List<ResourceSkuLocationInfo> locationInfo()

Get the locationInfo property: A list of locations and availability zones in those locations where the SKU is available.

List<String> locations()

Get the locations property: The set of locations that the SKU is available.

String resourceType()

Get the resourceType property: The type of resource the SKU applies to.

List<ResourceSkuRestrictions> restrictions()

Get the restrictions property: The restrictions of the SKU.

String size()

Get the size property: The size of the SKU.

String tier()

Get the tier property: The tier of virtual machines in a scale set.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

capabilities

public List<ResourceSkuCapabilities> capabilities()

Get the capabilities property: Name value pairs to describe the capability.

Returns:

the capabilities value.

family

public String family()

Get the family property: The family of the SKU.

Returns:

the family value.

fromJson

public static ResourceSkuProperties fromJson(JsonReader jsonReader)

Reads an instance of ResourceSkuProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

locationInfo

public List<ResourceSkuLocationInfo> locationInfo()

Get the locationInfo property: A list of locations and availability zones in those locations where the SKU is available.

Returns:

the locationInfo value.

locations

public List<String> locations()

Get the locations property: The set of locations that the SKU is available.

Returns:

the locations value.

resourceType

public String resourceType()

Get the resourceType property: The type of resource the SKU applies to.

Returns:

the resourceType value.

restrictions

public List<ResourceSkuRestrictions> restrictions()

Get the restrictions property: The restrictions of the SKU.

Returns:

the restrictions value.

size

public String size()

Get the size property: The size of the SKU.

Returns:

the size value.

tier

public String tier()

Get the tier property: The tier of virtual machines in a scale set.

Returns:

the tier value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to