GlobalCsmSkuDescription Class
- java.
lang. Object - com.
azure. resourcemanager. appservice. models. GlobalCsmSkuDescription
- com.
Implements
public final class GlobalCsmSkuDescription
implements JsonSerializable<GlobalCsmSkuDescription>
A Global SKU Description.
Constructor Summary
Constructor | Description |
---|---|
GlobalCsmSkuDescription() |
Creates an instance of Global |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<Capability |
capabilities()
Get the capabilities property: Capabilities of the SKU, e. |
Sku |
capacity()
Get the capacity property: Min, max, and default scale values of the SKU. |
String |
family()
Get the family property: Family code of the resource SKU. |
static
Global |
fromJson(JsonReader jsonReader)
Reads an instance of Global |
List<String> |
locations()
Get the locations property: Locations of the SKU. |
String |
name()
Get the name property: Name of the resource SKU. |
String |
size()
Get the size property: Size specifier of the resource SKU. |
String |
tier()
Get the tier property: Service Tier of the resource SKU. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Global |
withCapabilities(List<CapabilityInner> capabilities)
Set the capabilities property: Capabilities of the SKU, e. |
Global |
withCapacity(SkuCapacity capacity)
Set the capacity property: Min, max, and default scale values of the SKU. |
Global |
withFamily(String family)
Set the family property: Family code of the resource SKU. |
Global |
withLocations(List<String> locations)
Set the locations property: Locations of the SKU. |
Global |
withName(String name)
Set the name property: Name of the resource SKU. |
Global |
withSize(String size)
Set the size property: Size specifier of the resource SKU. |
Global |
withTier(String tier)
Set the tier property: Service Tier of the resource SKU. |
Methods inherited from java.lang.Object
Constructor Details
GlobalCsmSkuDescription
public GlobalCsmSkuDescription()
Creates an instance of GlobalCsmSkuDescription class.
Method Details
capabilities
public List
Get the capabilities property: Capabilities of the SKU, e.g., is traffic manager enabled?.
Returns:
capacity
public SkuCapacity capacity()
Get the capacity property: Min, max, and default scale values of the SKU.
Returns:
family
public String family()
Get the family property: Family code of the resource SKU.
Returns:
fromJson
public static GlobalCsmSkuDescription fromJson(JsonReader jsonReader)
Reads an instance of GlobalCsmSkuDescription from the JsonReader.
Parameters:
Returns:
Throws:
locations
public List
Get the locations property: Locations of the SKU.
Returns:
name
public String name()
Get the name property: Name of the resource SKU.
Returns:
size
public String size()
Get the size property: Size specifier of the resource SKU.
Returns:
tier
public String tier()
Get the tier property: Service Tier of the resource SKU.
Returns:
toJson
validate
public void validate()
Validates the instance.
withCapabilities
public GlobalCsmSkuDescription withCapabilities(List
Set the capabilities property: Capabilities of the SKU, e.g., is traffic manager enabled?.
Parameters:
Returns:
withCapacity
public GlobalCsmSkuDescription withCapacity(SkuCapacity capacity)
Set the capacity property: Min, max, and default scale values of the SKU.
Parameters:
Returns:
withFamily
public GlobalCsmSkuDescription withFamily(String family)
Set the family property: Family code of the resource SKU.
Parameters:
Returns:
withLocations
public GlobalCsmSkuDescription withLocations(List
Set the locations property: Locations of the SKU.
Parameters:
Returns:
withName
public GlobalCsmSkuDescription withName(String name)
Set the name property: Name of the resource SKU.
Parameters:
Returns:
withSize
public GlobalCsmSkuDescription withSize(String size)
Set the size property: Size specifier of the resource SKU.
Parameters:
Returns:
withTier
public GlobalCsmSkuDescription withTier(String tier)
Set the tier property: Service Tier of the resource SKU.
Parameters:
Returns:
Applies to
Azure SDK for Java