ResourceSkuRestrictionInfo Class
- java.
lang. Object - com.
azure. resourcemanager. appplatform. models. ResourceSkuRestrictionInfo
- com.
Implements
public final class ResourceSkuRestrictionInfo
implements JsonSerializable<ResourceSkuRestrictionInfo>
Information about the restriction where the SKU cannot be used.
Constructor | Description |
---|---|
Resource |
Creates an instance of Resource |
Modifier and Type | Method and Description |
---|---|
static
Resource |
from Reads an instance of Resource |
List<String> |
locations()
Get the locations property: Gets locations where the SKU is restricted. |
Json |
to |
void |
validate()
Validates the instance. |
Resource |
with Set the locations property: Gets locations where the SKU is restricted. |
Resource |
with Set the zones property: Gets list of availability zones where the SKU is restricted. |
List<String> |
zones()
Get the zones property: Gets list of availability zones where the SKU is restricted. |
Methods inherited from java.lang.Object
ResourceSkuRestrictionInfo
public ResourceSkuRestrictionInfo()
Creates an instance of ResourceSkuRestrictionInfo class.
fromJson
public static ResourceSkuRestrictionInfo fromJson(JsonReader jsonReader)
Reads an instance of ResourceSkuRestrictionInfo from the JsonReader.
Parameters:
Returns:
Throws:
locations
public List
Get the locations property: Gets locations where the SKU is restricted.
Returns:
toJson
validate
public void validate()
Validates the instance.
withLocations
public ResourceSkuRestrictionInfo withLocations(List
Set the locations property: Gets locations where the SKU is restricted.
Parameters:
Returns:
withZones
public ResourceSkuRestrictionInfo withZones(List
Set the zones property: Gets list of availability zones where the SKU is restricted.
Parameters:
Returns:
zones
public List
Get the zones property: Gets list of availability zones where the SKU is restricted.
Returns:
Azure SDK for Java geri bildirimi
Azure SDK for Java, açık kaynak bir projedir. Geri bildirim sağlamak için bir bağlantı seçin: