ManagedClusterPoolUpgradeProfile Class
- java.
lang. Object - com.
azure. resourcemanager. containerservice. models. ManagedClusterPoolUpgradeProfile
- com.
Implements
public final class ManagedClusterPoolUpgradeProfile
implements JsonSerializable<ManagedClusterPoolUpgradeProfile>
The list of available upgrade versions.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Managed |
fromJson(JsonReader jsonReader)
Reads an instance of Managed |
| String |
kubernetesVersion()
Get the kubernetes |
| String |
name()
Get the name property: The Agent Pool name. |
| OSType |
osType()
Get the os |
|
Json |
toJson(JsonWriter jsonWriter) |
|
List<Managed |
upgrades()
Get the upgrades property: List of orchestrator types and versions available for upgrade. |
| void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Method Details
fromJson
public static ManagedClusterPoolUpgradeProfile fromJson(JsonReader jsonReader)
Reads an instance of ManagedClusterPoolUpgradeProfile from the JsonReader.
Parameters:
Returns:
Throws:
kubernetesVersion
public String kubernetesVersion()
Get the kubernetesVersion property: The Kubernetes version (major.minor.patch).
Returns:
name
public String name()
Get the name property: The Agent Pool name.
Returns:
osType
public OSType osType()
Get the osType property: The operating system type. The default is Linux.
Returns:
toJson
upgrades
public List<ManagedClusterPoolUpgradeProfileUpgradesItem> upgrades()
Get the upgrades property: List of orchestrator types and versions available for upgrade.
Returns:
validate
public void validate()
Validates the instance.