Class ManagedClusterSku
- java.lang.Object
-
- com.azure.resourcemanager.containerservice.models.ManagedClusterSku
-
public final class ManagedClusterSku extends Object
The SKU of a Managed Cluster.
-
-
Constructor Summary
Constructors Constructor Description ManagedClusterSku()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ManagedClusterSkuNamename()Get the name property: The name of a managed cluster SKU.ManagedClusterSkuTiertier()Get the tier property: The tier of a managed cluster SKU.voidvalidate()Validates the instance.ManagedClusterSkuwithName(ManagedClusterSkuName name)Set the name property: The name of a managed cluster SKU.ManagedClusterSkuwithTier(ManagedClusterSkuTier tier)Set the tier property: The tier of a managed cluster SKU.
-
-
-
Method Detail
-
name
public ManagedClusterSkuName name()
Get the name property: The name of a managed cluster SKU.- Returns:
- the name value.
-
withName
public ManagedClusterSku withName(ManagedClusterSkuName name)
Set the name property: The name of a managed cluster SKU.- Parameters:
name- the name value to set.- Returns:
- the ManagedClusterSku object itself.
-
tier
public ManagedClusterSkuTier tier()
Get the tier property: The tier of a managed cluster SKU. If not specified, the default is 'Free'. See [uptime SLA](https://docs.microsoft.com/azure/aks/uptime-sla) for more details.- Returns:
- the tier value.
-
withTier
public ManagedClusterSku withTier(ManagedClusterSkuTier tier)
Set the tier property: The tier of a managed cluster SKU. If not specified, the default is 'Free'. See [uptime SLA](https://docs.microsoft.com/azure/aks/uptime-sla) for more details.- Parameters:
tier- the tier value to set.- Returns:
- the ManagedClusterSku object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-