public class ManagedClusterUpgradeProfileInner extends Object
| Constructor and Description |
|---|
ManagedClusterUpgradeProfileInner() |
| Modifier and Type | Method and Description |
|---|---|
List<ManagedClusterPoolUpgradeProfile> |
agentPoolProfiles()
Get the agentPoolProfiles property: The list of available upgrade versions for agent pools.
|
ManagedClusterPoolUpgradeProfile |
controlPlaneProfile()
Get the controlPlaneProfile property: The list of available upgrade versions for the control plane.
|
String |
id()
Get the id property: Id of upgrade profile.
|
String |
name()
Get the name property: Name of upgrade profile.
|
String |
type()
Get the type property: Type of upgrade profile.
|
void |
validate()
Validates the instance.
|
ManagedClusterUpgradeProfileInner |
withAgentPoolProfiles(List<ManagedClusterPoolUpgradeProfile> agentPoolProfiles)
Set the agentPoolProfiles property: The list of available upgrade versions for agent pools.
|
ManagedClusterUpgradeProfileInner |
withControlPlaneProfile(ManagedClusterPoolUpgradeProfile controlPlaneProfile)
Set the controlPlaneProfile property: The list of available upgrade versions for the control plane.
|
public String id()
public String name()
public String type()
public ManagedClusterPoolUpgradeProfile controlPlaneProfile()
public ManagedClusterUpgradeProfileInner withControlPlaneProfile(ManagedClusterPoolUpgradeProfile controlPlaneProfile)
controlPlaneProfile - the controlPlaneProfile value to set.public List<ManagedClusterPoolUpgradeProfile> agentPoolProfiles()
public ManagedClusterUpgradeProfileInner withAgentPoolProfiles(List<ManagedClusterPoolUpgradeProfile> agentPoolProfiles)
agentPoolProfiles - the agentPoolProfiles value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.