Class ArcAgentProfile
java.lang.Object
com.azure.resourcemanager.hybridcontainerservice.models.ArcAgentProfile
Defines the Arc Agent properties for the Provisioned clusters.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the agentAutoUpgrade property: Indicates whether the Arc agents on the provisioned clusters be upgraded automatically to the latest version.Get the agentVersion property: Version of the Arc agents to be installed on the provisioned Provisioned cluster resource.void
validate()
Validates the instance.withAgentAutoUpgrade
(AutoUpgradeOptions agentAutoUpgrade) Set the agentAutoUpgrade property: Indicates whether the Arc agents on the provisioned clusters be upgraded automatically to the latest version.withAgentVersion
(String agentVersion) Set the agentVersion property: Version of the Arc agents to be installed on the provisioned Provisioned cluster resource.
-
Constructor Details
-
ArcAgentProfile
public ArcAgentProfile()Creates an instance of ArcAgentProfile class.
-
-
Method Details
-
agentVersion
Get the agentVersion property: Version of the Arc agents to be installed on the provisioned Provisioned cluster resource.- Returns:
- the agentVersion value.
-
withAgentVersion
Set the agentVersion property: Version of the Arc agents to be installed on the provisioned Provisioned cluster resource.- Parameters:
agentVersion
- the agentVersion value to set.- Returns:
- the ArcAgentProfile object itself.
-
agentAutoUpgrade
Get the agentAutoUpgrade property: Indicates whether the Arc agents on the provisioned clusters be upgraded automatically to the latest version. Defaults to Enabled.- Returns:
- the agentAutoUpgrade value.
-
withAgentAutoUpgrade
Set the agentAutoUpgrade property: Indicates whether the Arc agents on the provisioned clusters be upgraded automatically to the latest version. Defaults to Enabled.- Parameters:
agentAutoUpgrade
- the agentAutoUpgrade value to set.- Returns:
- the ArcAgentProfile object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-