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 Summary
ConstructorDescriptionCreates an instance of ProvisionedClustersAllProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the addonProfiles property: AddonProfiles - Profile of managed cluster add-on.Get the agentPoolProfiles property: The agent pools of the cluster.Get the cloudProviderProfile property: The underlying cloud infra provider properties.Get the controlPlane property: ControlPlane - ControlPlane Configuration.Get the enableRbac property: EnableRBAC - Whether to enable Kubernetes Role-Based Access Control.features()
Get the features property: Additional features specs like Arc Agent Onboarding.Get the kubernetesVersion property: KubernetesVersion - Version of Kubernetes specified when creating the managed cluster.Get the linuxProfile property: LinuxProfile - The profile for Linux VMs in the Provisioned Cluster.Get the networkProfile property: NetworkProfile - Profile of network configuration.Get the nodeResourceGroup property: NodeResourceGroup - Name of the resource group containing agent pool nodes.Get the provisioningState property: The provisioningState property.status()
Get the status property: HybridAKSClusterStatus defines the observed state of HybridAKSCluster.void
validate()
Validates the instance.withAadProfile
(AadProfile aadProfile) Set the aadProfile property: AAD profile for the provisioned cluster.withAddonProfiles
(Map<String, AddonProfiles> addonProfiles) Set the addonProfiles property: AddonProfiles - Profile of managed cluster add-on.withAgentPoolProfiles
(List<NamedAgentPoolProfile> agentPoolProfiles) Set the agentPoolProfiles property: The agent pools of the cluster.withCloudProviderProfile
(CloudProviderProfile cloudProviderProfile) Set the cloudProviderProfile property: The underlying cloud infra provider properties.withControlPlane
(ControlPlaneProfile controlPlane) Set the controlPlane property: ControlPlane - ControlPlane Configuration.withEnableRbac
(Boolean enableRbac) Set the enableRbac property: EnableRBAC - Whether to enable Kubernetes Role-Based Access Control.Set the features property: Additional features specs like Arc Agent Onboarding.withHttpProxyConfig
(HttpProxyConfig httpProxyConfig) Set the httpProxyConfig property: HttpProxyConfig - Configurations for provisioning the cluster with HTTP proxy servers.withKubernetesVersion
(String kubernetesVersion) Set the kubernetesVersion property: KubernetesVersion - Version of Kubernetes specified when creating the managed cluster.withLinuxProfile
(LinuxProfileProperties linuxProfile) Set the linuxProfile property: LinuxProfile - The profile for Linux VMs in the Provisioned Cluster.withNetworkProfile
(NetworkProfile networkProfile) Set the networkProfile property: NetworkProfile - Profile of network configuration.withNodeResourceGroup
(String nodeResourceGroup) Set the nodeResourceGroup property: NodeResourceGroup - Name of the resource group containing agent pool nodes.withWindowsProfile
(WindowsProfile windowsProfile) Set the windowsProfile property: WindowsProfile - Profile for Windows VMs in the Provisioned Cluster.Methods inherited from class com.azure.resourcemanager.hybridcontainerservice.models.ProvisionedClustersPropertiesWithSecrets
aadProfile, httpProxyConfig, windowsProfile
-
Constructor Details
-
ProvisionedClustersAllProperties
public ProvisionedClustersAllProperties()Creates an instance of ProvisionedClustersAllProperties class.
-
-
Method Details
-
enableRbac
Get the enableRbac property: EnableRBAC - Whether to enable Kubernetes Role-Based Access Control.- Returns:
- the enableRbac value.
-
withEnableRbac
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
Get the linuxProfile property: LinuxProfile - The profile for Linux VMs in the Provisioned Cluster.- Returns:
- the linuxProfile value.
-
withLinuxProfile
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
public ProvisionedClustersAllProperties withFeatures(ProvisionedClustersCommonPropertiesFeatures features) Set the features property: Additional features specs like Arc Agent Onboarding.- Parameters:
features
- the features value to set.- Returns:
- the ProvisionedClustersAllProperties object itself.
-
addonProfiles
Get the addonProfiles property: AddonProfiles - Profile of managed cluster add-on.- Returns:
- the addonProfiles value.
-
withAddonProfiles
Set the addonProfiles property: AddonProfiles - Profile of managed cluster add-on.- Parameters:
addonProfiles
- the addonProfiles value to set.- Returns:
- the ProvisionedClustersAllProperties object itself.
-
controlPlane
Get the controlPlane property: ControlPlane - ControlPlane Configuration.- Returns:
- the controlPlane value.
-
withControlPlane
Set the controlPlane property: ControlPlane - ControlPlane Configuration.- Parameters:
controlPlane
- the controlPlane value to set.- Returns:
- the ProvisionedClustersAllProperties object itself.
-
kubernetesVersion
Get the kubernetesVersion property: KubernetesVersion - Version of Kubernetes specified when creating the managed cluster.- Returns:
- the kubernetesVersion value.
-
withKubernetesVersion
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
Get the networkProfile property: NetworkProfile - Profile of network configuration.- Returns:
- the networkProfile value.
-
withNetworkProfile
Set the networkProfile property: NetworkProfile - Profile of network configuration.- Parameters:
networkProfile
- the networkProfile value to set.- Returns:
- the ProvisionedClustersAllProperties object itself.
-
nodeResourceGroup
Get the nodeResourceGroup property: NodeResourceGroup - Name of the resource group containing agent pool nodes.- Returns:
- the nodeResourceGroup value.
-
withNodeResourceGroup
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
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
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
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
Set the aadProfile property: AAD profile for the provisioned cluster.- Overrides:
withAadProfile
in classProvisionedClustersPropertiesWithSecrets
- Parameters:
aadProfile
- the aadProfile value to set.- Returns:
- the ProvisionedClustersPropertiesWithSecrets object itself.
-
withWindowsProfile
Set the windowsProfile property: WindowsProfile - Profile for Windows VMs in the Provisioned Cluster.- Overrides:
withWindowsProfile
in classProvisionedClustersPropertiesWithSecrets
- Parameters:
windowsProfile
- the windowsProfile value to set.- Returns:
- the ProvisionedClustersPropertiesWithSecrets object itself.
-
withHttpProxyConfig
Set the httpProxyConfig property: HttpProxyConfig - Configurations for provisioning the cluster with HTTP proxy servers.- Overrides:
withHttpProxyConfig
in classProvisionedClustersPropertiesWithSecrets
- Parameters:
httpProxyConfig
- the httpProxyConfig value to set.- Returns:
- the ProvisionedClustersPropertiesWithSecrets object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classProvisionedClustersPropertiesWithSecrets
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-