Class ProvisionedClustersAllProperties

java.lang.Object
com.azure.resourcemanager.hybridcontainerservice.models.ProvisionedClustersPropertiesWithSecrets
com.azure.resourcemanager.hybridcontainerservice.models.ProvisionedClustersAllProperties

public final class ProvisionedClustersAllProperties extends ProvisionedClustersPropertiesWithSecrets
All properties of the provisioned cluster.
  • Constructor Details

    • ProvisionedClustersAllProperties

      public ProvisionedClustersAllProperties()
      Creates an instance of ProvisionedClustersAllProperties 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 ProvisionedClustersAllProperties 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 ProvisionedClustersAllProperties 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 ProvisionedClustersAllProperties 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 ProvisionedClustersAllProperties 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 ProvisionedClustersAllProperties 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 ProvisionedClustersAllProperties 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 ProvisionedClustersAllProperties object itself.
    • controlPlane

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

      public ProvisionedClustersAllProperties withControlPlane(ControlPlaneProfile controlPlane)
      Set the controlPlane property: ControlPlane - ControlPlane Configuration.
      Parameters:
      controlPlane - the controlPlane value to set.
      Returns:
      the ProvisionedClustersAllProperties 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 ProvisionedClustersAllProperties 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 ProvisionedClustersAllProperties object itself.
    • networkProfile

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

      public ProvisionedClustersAllProperties withNetworkProfile(NetworkProfile networkProfile)
      Set the networkProfile property: NetworkProfile - Profile of network configuration.
      Parameters:
      networkProfile - the networkProfile value to set.
      Returns:
      the ProvisionedClustersAllProperties 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 ProvisionedClustersAllProperties 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 ProvisionedClustersAllProperties object itself.
    • agentPoolProfiles

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

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

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

      public ProvisionedClustersAllProperties withCloudProviderProfile(CloudProviderProfile cloudProviderProfile)
      Set the cloudProviderProfile property: The underlying cloud infra provider properties.
      Parameters:
      cloudProviderProfile - the cloudProviderProfile value to set.
      Returns:
      the ProvisionedClustersAllProperties 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.
    • withAadProfile

      public ProvisionedClustersAllProperties withAadProfile(AadProfile aadProfile)
      Set the aadProfile property: AAD profile for the provisioned cluster.
      Overrides:
      withAadProfile in class ProvisionedClustersPropertiesWithSecrets
      Parameters:
      aadProfile - the aadProfile value to set.
      Returns:
      the ProvisionedClustersPropertiesWithSecrets object itself.
    • withWindowsProfile

      public ProvisionedClustersAllProperties withWindowsProfile(WindowsProfile windowsProfile)
      Set the windowsProfile property: WindowsProfile - Profile for Windows VMs in the Provisioned Cluster.
      Overrides:
      withWindowsProfile in class ProvisionedClustersPropertiesWithSecrets
      Parameters:
      windowsProfile - the windowsProfile value to set.
      Returns:
      the ProvisionedClustersPropertiesWithSecrets object itself.
    • withHttpProxyConfig

      public ProvisionedClustersAllProperties withHttpProxyConfig(HttpProxyConfig httpProxyConfig)
      Set the httpProxyConfig property: HttpProxyConfig - Configurations for provisioning the cluster with HTTP proxy servers.
      Overrides:
      withHttpProxyConfig in class ProvisionedClustersPropertiesWithSecrets
      Parameters:
      httpProxyConfig - the httpProxyConfig value to set.
      Returns:
      the ProvisionedClustersPropertiesWithSecrets object itself.
    • validate

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