SqlManagedInstanceSku Class
- java.
lang. Object - com.
azure. resourcemanager. azurearcdata. models. SqlManagedInstanceSku
- com.
Implements
public final class SqlManagedInstanceSku
implements JsonSerializable<SqlManagedInstanceSku>
The resource model definition representing SKU for Azure Managed Instance - Azure Arc.
Constructor Summary
| Constructor | Description |
|---|---|
| SqlManagedInstanceSku() |
Creates an instance of Sql |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Integer |
capacity()
Get the capacity property: The capacity property. |
| Boolean |
dev()
Get the dev property: Whether dev/test is enabled. |
| String |
family()
Get the family property: The family property. |
|
static
Sql |
fromJson(JsonReader jsonReader)
Reads an instance of Sql |
| String |
name()
Get the name property: The name of the SKU. |
| String |
size()
Get the size property: The SKU size. |
|
Sql |
tier()
Get the tier property: The pricing tier for the instance. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Sql |
withCapacity(Integer capacity)
Set the capacity property: The capacity property. |
|
Sql |
withDev(Boolean dev)
Set the dev property: Whether dev/test is enabled. |
|
Sql |
withFamily(String family)
Set the family property: The family property. |
|
Sql |
withSize(String size)
Set the size property: The SKU size. |
|
Sql |
withTier(SqlManagedInstanceSkuTier tier)
Set the tier property: The pricing tier for the instance. |
Methods inherited from java.lang.Object
Constructor Details
SqlManagedInstanceSku
public SqlManagedInstanceSku()
Creates an instance of SqlManagedInstanceSku class.
Method Details
capacity
public Integer capacity()
Get the capacity property: The capacity property.
Returns:
dev
public Boolean dev()
Get the dev property: Whether dev/test is enabled. When the dev field is set to true, the resource is used for dev/test purpose.
Returns:
family
public String family()
Get the family property: The family property.
Returns:
fromJson
public static SqlManagedInstanceSku fromJson(JsonReader jsonReader)
Reads an instance of SqlManagedInstanceSku from the JsonReader.
Parameters:
Returns:
Throws:
name
public String name()
Get the name property: The name of the SKU.
Returns:
size
public String size()
Get the size property: The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
Returns:
tier
public SqlManagedInstanceSkuTier tier()
Get the tier property: The pricing tier for the instance.
Returns:
toJson
validate
public void validate()
Validates the instance.
withCapacity
public SqlManagedInstanceSku withCapacity(Integer capacity)
Set the capacity property: The capacity property.
Parameters:
Returns:
withDev
public SqlManagedInstanceSku withDev(Boolean dev)
Set the dev property: Whether dev/test is enabled. When the dev field is set to true, the resource is used for dev/test purpose.
Parameters:
Returns:
withFamily
public SqlManagedInstanceSku withFamily(String family)
Set the family property: The family property.
Parameters:
Returns:
withSize
public SqlManagedInstanceSku withSize(String size)
Set the size property: The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
Parameters:
Returns:
withTier
public SqlManagedInstanceSku withTier(SqlManagedInstanceSkuTier tier)
Set the tier property: The pricing tier for the instance.
Parameters:
Returns: