ManagedClusterSku Class
- java.
lang. Object - com.
azure. resourcemanager. containerservice. models. ManagedClusterSku
- com.
Implements
public final class ManagedClusterSku
implements JsonSerializable<ManagedClusterSku>
The SKU of a Managed Cluster.
Constructor Summary
Constructor | Description |
---|---|
ManagedClusterSku() |
Creates an instance of Managed |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Managed |
fromJson(JsonReader jsonReader)
Reads an instance of Managed |
Managed |
name()
Get the name property: The name of a managed cluster SKU. |
Managed |
tier()
Get the tier property: If not specified, the default is 'Free'. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Managed |
withName(ManagedClusterSkuName name)
Set the name property: The name of a managed cluster SKU. |
Managed |
withTier(ManagedClusterSkuTier tier)
Set the tier property: If not specified, the default is 'Free'. |
Methods inherited from java.lang.Object
Constructor Details
ManagedClusterSku
public ManagedClusterSku()
Creates an instance of ManagedClusterSku class.
Method Details
fromJson
public static ManagedClusterSku fromJson(JsonReader jsonReader)
Reads an instance of ManagedClusterSku from the JsonReader.
Parameters:
Returns:
Throws:
name
public ManagedClusterSkuName name()
Get the name property: The name of a managed cluster SKU.
Returns:
tier
public ManagedClusterSkuTier tier()
Get the tier property: If not specified, the default is 'Free'. See [AKS Pricing Tier](https://learn.microsoft.com/azure/aks/free-standard-pricing-tiers) for more details.
Returns:
toJson
validate
public void validate()
Validates the instance.
withName
public ManagedClusterSku withName(ManagedClusterSkuName name)
Set the name property: The name of a managed cluster SKU.
Parameters:
Returns:
withTier
public ManagedClusterSku withTier(ManagedClusterSkuTier tier)
Set the tier property: If not specified, the default is 'Free'. See [AKS Pricing Tier](https://learn.microsoft.com/azure/aks/free-standard-pricing-tiers) for more details.
Parameters:
Returns:
Applies to
Azure SDK for Java