Class ProvisionedClustersCommonProperties

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

public class ProvisionedClustersCommonProperties extends Object
HybridAKSClusterSpec defines the desired state of HybridAKSCluster.
  • Constructor Details

    • ProvisionedClustersCommonProperties

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

    • enableRbac

      public Boolean enableRbac()
      Get the enableRbac property: EnableRBAC - Whether to enable Kubernetes Role-Based Access Control.
      Returns:
      the enableRbac value.
    • withEnableRbac

      public ProvisionedClustersCommonProperties withEnableRbac(Boolean enableRbac)
      Set the enableRbac property: EnableRBAC - Whether to enable Kubernetes Role-Based Access Control.
      Parameters:
      enableRbac - the enableRbac value to set.
      Returns:
      the ProvisionedClustersCommonProperties object itself.
    • linuxProfile

      public LinuxProfileProperties linuxProfile()
      Get the linuxProfile property: LinuxProfile - The profile for Linux VMs in the Provisioned Cluster.
      Returns:
      the linuxProfile value.
    • withLinuxProfile

      public ProvisionedClustersCommonProperties withLinuxProfile(LinuxProfileProperties linuxProfile)
      Set the linuxProfile property: LinuxProfile - The profile for Linux VMs in the Provisioned Cluster.
      Parameters:
      linuxProfile - the linuxProfile value to set.
      Returns:
      the ProvisionedClustersCommonProperties object itself.
    • features

      Get the features property: Additional features specs like Arc Agent Onboarding.
      Returns:
      the features value.
    • withFeatures

      Set the features property: Additional features specs like Arc Agent Onboarding.
      Parameters:
      features - the features value to set.
      Returns:
      the ProvisionedClustersCommonProperties object itself.
    • addonProfiles

      public Map<String,AddonProfiles> addonProfiles()
      Get the addonProfiles property: AddonProfiles - Profile of managed cluster add-on.
      Returns:
      the addonProfiles value.
    • withAddonProfiles

      public ProvisionedClustersCommonProperties withAddonProfiles(Map<String,AddonProfiles> addonProfiles)
      Set the addonProfiles property: AddonProfiles - Profile of managed cluster add-on.
      Parameters:
      addonProfiles - the addonProfiles value to set.
      Returns:
      the ProvisionedClustersCommonProperties object itself.
    • controlPlane

      public ControlPlaneProfile controlPlane()
      Get the controlPlane property: ControlPlane - ControlPlane Configuration.
      Returns:
      the controlPlane value.
    • withControlPlane

      public ProvisionedClustersCommonProperties withControlPlane(ControlPlaneProfile controlPlane)
      Set the controlPlane property: ControlPlane - ControlPlane Configuration.
      Parameters:
      controlPlane - the controlPlane value to set.
      Returns:
      the ProvisionedClustersCommonProperties object itself.
    • kubernetesVersion

      public String kubernetesVersion()
      Get the kubernetesVersion property: KubernetesVersion - Version of Kubernetes specified when creating the managed cluster.
      Returns:
      the kubernetesVersion value.
    • withKubernetesVersion

      public ProvisionedClustersCommonProperties withKubernetesVersion(String kubernetesVersion)
      Set the kubernetesVersion property: KubernetesVersion - Version of Kubernetes specified when creating the managed cluster.
      Parameters:
      kubernetesVersion - the kubernetesVersion value to set.
      Returns:
      the ProvisionedClustersCommonProperties object itself.
    • networkProfile

      public NetworkProfile networkProfile()
      Get the networkProfile property: NetworkProfile - Profile of network configuration.
      Returns:
      the networkProfile value.
    • withNetworkProfile

      public ProvisionedClustersCommonProperties withNetworkProfile(NetworkProfile networkProfile)
      Set the networkProfile property: NetworkProfile - Profile of network configuration.
      Parameters:
      networkProfile - the networkProfile value to set.
      Returns:
      the ProvisionedClustersCommonProperties object itself.
    • nodeResourceGroup

      public String nodeResourceGroup()
      Get the nodeResourceGroup property: NodeResourceGroup - Name of the resource group containing agent pool nodes.
      Returns:
      the nodeResourceGroup value.
    • withNodeResourceGroup

      public ProvisionedClustersCommonProperties withNodeResourceGroup(String nodeResourceGroup)
      Set the nodeResourceGroup property: NodeResourceGroup - Name of the resource group containing agent pool nodes.
      Parameters:
      nodeResourceGroup - the nodeResourceGroup value to set.
      Returns:
      the ProvisionedClustersCommonProperties object itself.
    • agentPoolProfiles

      public List<NamedAgentPoolProfile> agentPoolProfiles()
      Get the agentPoolProfiles property: The agent pools of the cluster.
      Returns:
      the agentPoolProfiles value.
    • withAgentPoolProfiles

      public ProvisionedClustersCommonProperties withAgentPoolProfiles(List<NamedAgentPoolProfile> agentPoolProfiles)
      Set the agentPoolProfiles property: The agent pools of the cluster.
      Parameters:
      agentPoolProfiles - the agentPoolProfiles value to set.
      Returns:
      the ProvisionedClustersCommonProperties object itself.
    • cloudProviderProfile

      public CloudProviderProfile cloudProviderProfile()
      Get the cloudProviderProfile property: The underlying cloud infra provider properties.
      Returns:
      the cloudProviderProfile value.
    • withCloudProviderProfile

      public ProvisionedClustersCommonProperties withCloudProviderProfile(CloudProviderProfile cloudProviderProfile)
      Set the cloudProviderProfile property: The underlying cloud infra provider properties.
      Parameters:
      cloudProviderProfile - the cloudProviderProfile value to set.
      Returns:
      the ProvisionedClustersCommonProperties object itself.
    • provisioningState

      public ProvisioningState provisioningState()
      Get the provisioningState property: The provisioningState property.
      Returns:
      the provisioningState value.
    • status

      Get the status property: HybridAKSClusterStatus defines the observed state of HybridAKSCluster.
      Returns:
      the status value.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.