SkuInfoInner Class
- java.
lang. Object - com.
azure. resourcemanager. appservice. fluent. models. SkuInfoInner
- com.
Implements
public final class SkuInfoInner
implements JsonSerializable<SkuInfoInner>
SKU discovery information.
Constructor Summary
Constructor | Description |
---|---|
SkuInfoInner() |
Creates an instance of Sku |
Method Summary
Modifier and Type | Method and Description |
---|---|
Sku |
capacity()
Get the capacity property: Min, max, and default scale values of the SKU. |
static
Sku |
fromJson(JsonReader jsonReader)
Reads an instance of Sku |
String |
resourceType()
Get the resource |
Sku |
sku()
Get the sku property: Name and tier of the SKU. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Sku |
withCapacity(SkuCapacity capacity)
Set the capacity property: Min, max, and default scale values of the SKU. |
Sku |
withResourceType(String resourceType)
Set the resource |
Sku |
withSku(SkuDescription sku)
Set the sku property: Name and tier of the SKU. |
Methods inherited from java.lang.Object
Constructor Details
SkuInfoInner
public SkuInfoInner()
Creates an instance of SkuInfoInner class.
Method Details
capacity
public SkuCapacity capacity()
Get the capacity property: Min, max, and default scale values of the SKU.
Returns:
fromJson
public static SkuInfoInner fromJson(JsonReader jsonReader)
Reads an instance of SkuInfoInner from the JsonReader.
Parameters:
Returns:
Throws:
resourceType
public String resourceType()
Get the resourceType property: Resource type that this SKU applies to.
Returns:
sku
public SkuDescription sku()
Get the sku property: Name and tier of the SKU.
Returns:
toJson
validate
public void validate()
Validates the instance.
withCapacity
public SkuInfoInner withCapacity(SkuCapacity capacity)
Set the capacity property: Min, max, and default scale values of the SKU.
Parameters:
Returns:
withResourceType
public SkuInfoInner withResourceType(String resourceType)
Set the resourceType property: Resource type that this SKU applies to.
Parameters:
Returns:
withSku
public SkuInfoInner withSku(SkuDescription sku)
Set the sku property: Name and tier of the SKU.
Parameters:
Returns:
Applies to
Azure SDK for Java