Class AutoScaleVCoreSku
java.lang.Object
com.azure.resourcemanager.powerbidedicated.models.AutoScaleVCoreSku
Represents the SKU name and Azure pricing tier for auto scale v-core resource.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncapacity()
Get the capacity property: The capacity of an auto scale v-core resource.name()
Get the name property: Name of the SKU level.tier()
Get the tier property: The name of the Azure pricing tier to which the SKU applies.void
validate()
Validates the instance.withCapacity
(Integer capacity) Set the capacity property: The capacity of an auto scale v-core resource.Set the name property: Name of the SKU level.withTier
(VCoreSkuTier tier) Set the tier property: The name of the Azure pricing tier to which the SKU applies.
-
Constructor Details
-
AutoScaleVCoreSku
public AutoScaleVCoreSku()Creates an instance of AutoScaleVCoreSku class.
-
-
Method Details
-
name
Get the name property: Name of the SKU level.- Returns:
- the name value.
-
withName
Set the name property: Name of the SKU level.- Parameters:
name
- the name value to set.- Returns:
- the AutoScaleVCoreSku object itself.
-
tier
Get the tier property: The name of the Azure pricing tier to which the SKU applies.- Returns:
- the tier value.
-
withTier
Set the tier property: The name of the Azure pricing tier to which the SKU applies.- Parameters:
tier
- the tier value to set.- Returns:
- the AutoScaleVCoreSku object itself.
-
capacity
Get the capacity property: The capacity of an auto scale v-core resource.- Returns:
- the capacity value.
-
withCapacity
Set the capacity property: The capacity of an auto scale v-core resource.- Parameters:
capacity
- the capacity value to set.- Returns:
- the AutoScaleVCoreSku object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-