java.lang.Object
com.azure.resourcemanager.hybridcontainerservice.models.ArcAgentProfile

public final class ArcAgentProfile extends Object
Defines the Arc Agent properties for the Provisioned clusters.
  • Constructor Details

    • ArcAgentProfile

      public ArcAgentProfile()
      Creates an instance of ArcAgentProfile class.
  • Method Details

    • agentVersion

      public String agentVersion()
      Get the agentVersion property: Version of the Arc agents to be installed on the provisioned Provisioned cluster resource.
      Returns:
      the agentVersion value.
    • withAgentVersion

      public ArcAgentProfile withAgentVersion(String agentVersion)
      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

      public AutoUpgradeOptions 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

      public ArcAgentProfile withAgentAutoUpgrade(AutoUpgradeOptions agentAutoUpgrade)
      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.