Freigeben über


ResourceSkuLocationInfo Class

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

Implements

public final class ResourceSkuLocationInfo
implements JsonSerializable<ResourceSkuLocationInfo>

Describes an available Compute SKU Location Information.

Constructor Summary

Constructor Description
ResourceSkuLocationInfo()

Creates an instance of ResourceSkuLocationInfo class.

Method Summary

Modifier and Type Method and Description
List<String> extendedLocations()

Get the extendedLocations property: The names of extended locations.

static ResourceSkuLocationInfo fromJson(JsonReader jsonReader)

Reads an instance of ResourceSkuLocationInfo from the JsonReader.

String location()

Get the location property: Location of the SKU.

JsonWriter toJson(JsonWriter jsonWriter)
ExtendedLocationType type()

Get the type property: The type of the extended location.

void validate()

Validates the instance.

List<ResourceSkuZoneDetails> zoneDetails()

Get the zoneDetails property: Details of capabilities available to a SKU in specific zones.

List<String> zones()

Get the zones property: List of availability zones where the SKU is supported.

Methods inherited from java.lang.Object

Constructor Details

ResourceSkuLocationInfo

public ResourceSkuLocationInfo()

Creates an instance of ResourceSkuLocationInfo class.

Method Details

extendedLocations

public List<String> extendedLocations()

Get the extendedLocations property: The names of extended locations.

Returns:

the extendedLocations value.

fromJson

public static ResourceSkuLocationInfo fromJson(JsonReader jsonReader)

Reads an instance of ResourceSkuLocationInfo from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

location

public String location()

Get the location property: Location of the SKU.

Returns:

the location value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public ExtendedLocationType type()

Get the type property: The type of the extended location.

Returns:

the type value.

validate

public void validate()

Validates the instance.

zoneDetails

public List<ResourceSkuZoneDetails> zoneDetails()

Get the zoneDetails property: Details of capabilities available to a SKU in specific zones.

Returns:

the zoneDetails value.

zones

public List<String> zones()

Get the zones property: List of availability zones where the SKU is supported.

Returns:

the zones value.

Applies to