ResourceSkuLocationInfo Class
- java.
lang. Object - com.
azure. resourcemanager. appplatform. models. ResourceSkuLocationInfo
- com.
Implements
public final class ResourceSkuLocationInfo
implements JsonSerializable<ResourceSkuLocationInfo>
Locations and availability zones where the SKU is available.
Constructor Summary
Constructor | Description |
---|---|
ResourceSkuLocationInfo() |
Creates an instance of Resource |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Resource |
fromJson(JsonReader jsonReader)
Reads an instance of Resource |
String |
location()
Get the location property: Gets location of the SKU. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Resource |
withLocation(String location)
Set the location property: Gets location of the SKU. |
Resource |
withZoneDetails(List<ResourceSkuZoneDetails> zoneDetails)
Set the zone |
Resource |
withZones(List<String> zones)
Set the zones property: Gets list of availability zones where the SKU is supported. |
List<Resource |
zoneDetails()
Get the zone |
List<String> |
zones()
Get the zones property: Gets 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
fromJson
public static ResourceSkuLocationInfo fromJson(JsonReader jsonReader)
Reads an instance of ResourceSkuLocationInfo from the JsonReader.
Parameters:
Returns:
Throws:
location
public String location()
Get the location property: Gets location of the SKU.
Returns:
toJson
validate
public void validate()
Validates the instance.
withLocation
public ResourceSkuLocationInfo withLocation(String location)
Set the location property: Gets location of the SKU.
Parameters:
Returns:
withZoneDetails
public ResourceSkuLocationInfo withZoneDetails(List
Set the zoneDetails property: Gets details of capabilities available to a SKU in specific zones.
Parameters:
Returns:
withZones
public ResourceSkuLocationInfo withZones(List
Set the zones property: Gets list of availability zones where the SKU is supported.
Parameters:
Returns:
zoneDetails
public List
Get the zoneDetails property: Gets details of capabilities available to a SKU in specific zones.
Returns:
zones
public List
Get the zones property: Gets list of availability zones where the SKU is supported.
Returns:
Applies to
Azure SDK for Java