ManagedClusterUpgradeProfileInner Class
- java.
lang. Object - com.
azure. resourcemanager. containerservice. fluent. models. ManagedClusterUpgradeProfileInner
- com.
Implements
public final class ManagedClusterUpgradeProfileInner
implements JsonSerializable<ManagedClusterUpgradeProfileInner>
The list of available upgrades for compute pools.
Constructor Summary
Constructor | Description |
---|---|
ManagedClusterUpgradeProfileInner() |
Creates an instance of Managed |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<Managed |
agentPoolProfiles()
Get the agent |
Managed |
controlPlaneProfile()
Get the control |
static
Managed |
fromJson(JsonReader jsonReader)
Reads an instance of Managed |
String |
id()
Get the id property: The ID of the upgrade profile. |
String |
name()
Get the name property: The name of the upgrade profile. |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the upgrade profile. |
void |
validate()
Validates the instance. |
Managed |
withAgentPoolProfiles(List<ManagedClusterPoolUpgradeProfile> agentPoolProfiles)
Set the agent |
Managed |
withControlPlaneProfile(ManagedClusterPoolUpgradeProfile controlPlaneProfile)
Set the control |
Methods inherited from java.lang.Object
Constructor Details
ManagedClusterUpgradeProfileInner
public ManagedClusterUpgradeProfileInner()
Creates an instance of ManagedClusterUpgradeProfileInner class.
Method Details
agentPoolProfiles
public List
Get the agentPoolProfiles property: The list of available upgrade versions for agent pools.
Returns:
controlPlaneProfile
public ManagedClusterPoolUpgradeProfile controlPlaneProfile()
Get the controlPlaneProfile property: The list of available upgrade versions for the control plane.
Returns:
fromJson
public static ManagedClusterUpgradeProfileInner fromJson(JsonReader jsonReader)
Reads an instance of ManagedClusterUpgradeProfileInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: The ID of the upgrade profile.
Returns:
name
public String name()
Get the name property: The name of the upgrade profile.
Returns:
toJson
type
public String type()
Get the type property: The type of the upgrade profile.
Returns:
validate
public void validate()
Validates the instance.
withAgentPoolProfiles
public ManagedClusterUpgradeProfileInner withAgentPoolProfiles(List
Set the agentPoolProfiles property: The list of available upgrade versions for agent pools.
Parameters:
Returns:
withControlPlaneProfile
public ManagedClusterUpgradeProfileInner withControlPlaneProfile(ManagedClusterPoolUpgradeProfile controlPlaneProfile)
Set the controlPlaneProfile property: The list of available upgrade versions for the control plane.
Parameters:
Returns:
Applies to
Azure SDK for Java