Class SqlManagedInstanceSku
java.lang.Object
com.azure.resourcemanager.azurearcdata.models.SqlManagedInstanceSku
The resource model definition representing SKU for Azure Managed Instance - Azure Arc.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncapacity()
Get the capacity property: The capacity property.dev()
Get the dev property: Whether dev/test is enabled.family()
Get the family property: The family property.name()
Get the name property: The name of the SKU.size()
Get the size property: The SKU size.tier()
Get the tier property: The pricing tier for the instance.void
validate()
Validates the instance.withCapacity
(Integer capacity) Set the capacity property: The capacity property.Set the dev property: Whether dev/test is enabled.withFamily
(String family) Set the family property: The family property.Set the name property: The name of the SKU.Set the size property: The SKU size.Set the tier property: The pricing tier for the instance.
-
Constructor Details
-
SqlManagedInstanceSku
public SqlManagedInstanceSku()Creates an instance of SqlManagedInstanceSku class.
-
-
Method Details
-
name
Get the name property: The name of the SKU.- Returns:
- the name value.
-
withName
Set the name property: The name of the SKU.- Parameters:
name
- the name value to set.- Returns:
- the SqlManagedInstanceSku object itself.
-
tier
Get the tier property: The pricing tier for the instance.- Returns:
- the tier value.
-
withTier
Set the tier property: The pricing tier for the instance.- Parameters:
tier
- the tier value to set.- Returns:
- the SqlManagedInstanceSku object itself.
-
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:
- the dev value.
-
withDev
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:
dev
- the dev value to set.- Returns:
- the SqlManagedInstanceSku object itself.
-
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:
- the size value.
-
withSize
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:
size
- the size value to set.- Returns:
- the SqlManagedInstanceSku object itself.
-
family
Get the family property: The family property.- Returns:
- the family value.
-
withFamily
Set the family property: The family property.- Parameters:
family
- the family value to set.- Returns:
- the SqlManagedInstanceSku object itself.
-
capacity
Get the capacity property: The capacity property.- Returns:
- the capacity value.
-
withCapacity
Set the capacity property: The capacity property.- Parameters:
capacity
- the capacity value to set.- Returns:
- the SqlManagedInstanceSku object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-