ManagedClusterProperties Class
- java.
lang. Object - com.
azure. resourcemanager. containerservice. fluent. models. ManagedClusterProperties
- com.
Implements
public final class ManagedClusterProperties
implements JsonSerializable<ManagedClusterProperties>
Properties of the managed cluster.
Constructor Summary
| Constructor | Description |
|---|---|
| ManagedClusterProperties() |
Creates an instance of Managed |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Managed |
aadProfile()
Get the aad |
|
Map<String,Managed |
addonProfiles()
Get the addon |
|
List<Managed |
agentPoolProfiles()
Get the agent |
|
Managed |
aiToolchainOperatorProfile()
Get the ai |
|
Managed |
apiServerAccessProfile()
Get the api |
|
Managed |
autoScalerProfile()
Get the auto |
|
Managed |
autoUpgradeProfile()
Get the auto |
|
Managed |
azureMonitorProfile()
Get the azure |
| String |
azurePortalFQDN()
Get the azure |
|
Managed |
bootstrapProfile()
Get the bootstrap |
| String |
currentKubernetesVersion()
Get the current |
| Boolean |
disableLocalAccounts()
Get the disable |
| String |
diskEncryptionSetId()
Get the disk |
| String |
dnsPrefix()
Get the dns |
| Boolean |
enableRbac()
Get the enable |
| String |
fqdn()
Get the fqdn property: The FQDN of the master pool. |
| String |
fqdnSubdomain()
Get the fqdn |
|
static
Managed |
fromJson(JsonReader jsonReader)
Reads an instance of Managed |
|
Managed |
hostedSystemProfile()
Get the hosted |
|
Managed |
httpProxyConfig()
Get the http |
|
Map<String,User |
identityProfile()
Get the identity |
|
Managed |
ingressProfile()
Get the ingress |
| String |
kubernetesVersion()
Get the kubernetes |
|
Container |
linuxProfile()
Get the linux |
| Integer |
maxAgentPools()
Get the max |
|
Managed |
metricsProfile()
Get the metrics |
|
Container |
networkProfile()
Get the network |
|
Managed |
nodeProvisioningProfile()
Get the node |
| String |
nodeResourceGroup()
Get the node |
|
Managed |
nodeResourceGroupProfile()
Get the node |
|
Managed |
oidcIssuerProfile()
Get the oidc |
|
Managed |
podIdentityProfile()
Get the pod |
|
Power |
powerState()
Get the power |
| String |
privateFQDN()
Get the privateFQDN property: The FQDN of private cluster. |
|
List<Private |
privateLinkResources()
Get the private |
| String |
provisioningState()
Get the provisioning |
|
Public |
publicNetworkAccess()
Get the public |
| String |
resourceUID()
Get the resourceUID property: The resourceUID uniquely identifies Managed |
|
Managed |
securityProfile()
Get the security |
|
Service |
serviceMeshProfile()
Get the service |
|
Managed |
servicePrincipalProfile()
Get the service |
|
Managed |
status()
Get the status property: Contains read-only information about the Managed Cluster. |
|
Managed |
storageProfile()
Get the storage |
|
Kubernetes |
supportPlan()
Get the support |
|
Json |
toJson(JsonWriter jsonWriter) |
|
Cluster |
upgradeSettings()
Get the upgrade |
| void |
validate()
Validates the instance. |
|
Managed |
windowsProfile()
Get the windows |
|
Managed |
withAadProfile(ManagedClusterAadProfile aadProfile)
Set the aad |
|
Managed |
withAddonProfiles(Map<String,ManagedClusterAddonProfile> addonProfiles)
Set the addon |
|
Managed |
withAgentPoolProfiles(List<ManagedClusterAgentPoolProfile> agentPoolProfiles)
Set the agent |
|
Managed |
withAiToolchainOperatorProfile(ManagedClusterAIToolchainOperatorProfile aiToolchainOperatorProfile)
Set the ai |
|
Managed |
withApiServerAccessProfile(ManagedClusterApiServerAccessProfile apiServerAccessProfile)
Set the api |
|
Managed |
withAutoScalerProfile(ManagedClusterPropertiesAutoScalerProfile autoScalerProfile)
Set the auto |
|
Managed |
withAutoUpgradeProfile(ManagedClusterAutoUpgradeProfile autoUpgradeProfile)
Set the auto |
|
Managed |
withAzureMonitorProfile(ManagedClusterAzureMonitorProfile azureMonitorProfile)
Set the azure |
|
Managed |
withBootstrapProfile(ManagedClusterBootstrapProfile bootstrapProfile)
Set the bootstrap |
|
Managed |
withDisableLocalAccounts(Boolean disableLocalAccounts)
Set the disable |
|
Managed |
withDiskEncryptionSetId(String diskEncryptionSetId)
Set the disk |
|
Managed |
withDnsPrefix(String dnsPrefix)
Set the dns |
|
Managed |
withEnableRbac(Boolean enableRbac)
Set the enable |
|
Managed |
withFqdnSubdomain(String fqdnSubdomain)
Set the fqdn |
|
Managed |
withHostedSystemProfile(ManagedClusterHostedSystemProfile hostedSystemProfile)
Set the hosted |
|
Managed |
withHttpProxyConfig(ManagedClusterHttpProxyConfig httpProxyConfig)
Set the http |
|
Managed |
withIdentityProfile(Map<String,UserAssignedIdentity> identityProfile)
Set the identity |
|
Managed |
withIngressProfile(ManagedClusterIngressProfile ingressProfile)
Set the ingress |
|
Managed |
withKubernetesVersion(String kubernetesVersion)
Set the kubernetes |
|
Managed |
withLinuxProfile(ContainerServiceLinuxProfile linuxProfile)
Set the linux |
|
Managed |
withMetricsProfile(ManagedClusterMetricsProfile metricsProfile)
Set the metrics |
|
Managed |
withNetworkProfile(ContainerServiceNetworkProfile networkProfile)
Set the network |
|
Managed |
withNodeProvisioningProfile(ManagedClusterNodeProvisioningProfile nodeProvisioningProfile)
Set the node |
|
Managed |
withNodeResourceGroup(String nodeResourceGroup)
Set the node |
|
Managed |
withNodeResourceGroupProfile(ManagedClusterNodeResourceGroupProfile nodeResourceGroupProfile)
Set the node |
|
Managed |
withOidcIssuerProfile(ManagedClusterOidcIssuerProfile oidcIssuerProfile)
Set the oidc |
|
Managed |
withPodIdentityProfile(ManagedClusterPodIdentityProfile podIdentityProfile)
Set the pod |
|
Managed |
withPrivateLinkResources(List<PrivateLinkResourceInner> privateLinkResources)
Set the private |
|
Managed |
withPublicNetworkAccess(PublicNetworkAccess publicNetworkAccess)
Set the public |
|
Managed |
withSecurityProfile(ManagedClusterSecurityProfile securityProfile)
Set the security |
|
Managed |
withServiceMeshProfile(ServiceMeshProfile serviceMeshProfile)
Set the service |
|
Managed |
withServicePrincipalProfile(ManagedClusterServicePrincipalProfile servicePrincipalProfile)
Set the service |
|
Managed |
withStatus(ManagedClusterStatus status)
Set the status property: Contains read-only information about the Managed Cluster. |
|
Managed |
withStorageProfile(ManagedClusterStorageProfile storageProfile)
Set the storage |
|
Managed |
withSupportPlan(KubernetesSupportPlan supportPlan)
Set the support |
|
Managed |
withUpgradeSettings(ClusterUpgradeSettings upgradeSettings)
Set the upgrade |
|
Managed |
withWindowsProfile(ManagedClusterWindowsProfile windowsProfile)
Set the windows |
|
Managed |
withWorkloadAutoScalerProfile(ManagedClusterWorkloadAutoScalerProfile workloadAutoScalerProfile)
Set the workload |
|
Managed |
workloadAutoScalerProfile()
Get the workload |
Methods inherited from java.lang.Object
Constructor Details
ManagedClusterProperties
public ManagedClusterProperties()
Creates an instance of ManagedClusterProperties class.
Method Details
aadProfile
public ManagedClusterAadProfile aadProfile()
Get the aadProfile property: The Azure Active Directory configuration.
Returns:
addonProfiles
public Map<String,ManagedClusterAddonProfile> addonProfiles()
Get the addonProfiles property: The profile of managed cluster add-on.
Returns:
agentPoolProfiles
public List<ManagedClusterAgentPoolProfile> agentPoolProfiles()
Get the agentPoolProfiles property: The agent pool properties.
Returns:
aiToolchainOperatorProfile
public ManagedClusterAIToolchainOperatorProfile aiToolchainOperatorProfile()
Get the aiToolchainOperatorProfile property: AI toolchain operator settings that apply to the whole cluster.
Returns:
apiServerAccessProfile
public ManagedClusterApiServerAccessProfile apiServerAccessProfile()
Get the apiServerAccessProfile property: The access profile for managed cluster API server.
Returns:
autoScalerProfile
public ManagedClusterPropertiesAutoScalerProfile autoScalerProfile()
Get the autoScalerProfile property: Parameters to be applied to the cluster-autoscaler when enabled.
Returns:
autoUpgradeProfile
public ManagedClusterAutoUpgradeProfile autoUpgradeProfile()
Get the autoUpgradeProfile property: The auto upgrade configuration.
Returns:
azureMonitorProfile
public ManagedClusterAzureMonitorProfile azureMonitorProfile()
Get the azureMonitorProfile property: Azure Monitor addon profiles for monitoring the managed cluster.
Returns:
azurePortalFQDN
public String azurePortalFQDN()
Get the azurePortalFQDN property: The special FQDN used by the Azure Portal to access the Managed Cluster. This FQDN is for use only by the Azure Portal and should not be used by other clients. The Azure Portal requires certain Cross-Origin Resource Sharing (CORS) headers to be sent in some responses, which Kubernetes APIServer doesn't handle by default. This special FQDN supports CORS, allowing the Azure Portal to function properly.
Returns:
bootstrapProfile
public ManagedClusterBootstrapProfile bootstrapProfile()
Get the bootstrapProfile property: Profile of the cluster bootstrap configuration.
Returns:
currentKubernetesVersion
public String currentKubernetesVersion()
Get the currentKubernetesVersion property: The version of Kubernetes the Managed Cluster is running. If kubernetesVersion was a fully specified version <major.minor.patch>, this field will be exactly equal to it. If kubernetesVersion was <major.minor>, this field will contain the full <major.minor.patch> version being used.
Returns:
disableLocalAccounts
public Boolean disableLocalAccounts()
Get the disableLocalAccounts property: If local accounts should be disabled on the Managed Cluster. If set to true, getting static credentials will be disabled for this cluster. This must only be used on Managed Clusters that are AAD enabled. For more details see [disable local accounts](https://docs.microsoft.com/azure/aks/managed-aad\#disable-local-accounts-preview).
Returns:
diskEncryptionSetId
public String diskEncryptionSetId()
Get the diskEncryptionSetId property: The Resource ID of the disk encryption set to use for enabling encryption at rest. This is of the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{encryptionSetName}'.
Returns:
dnsPrefix
public String dnsPrefix()
Get the dnsPrefix property: The DNS prefix of the Managed Cluster. This cannot be updated once the Managed Cluster has been created.
Returns:
enableRbac
public Boolean enableRbac()
Get the enableRbac property: Whether to enable Kubernetes Role-Based Access Control.
Returns:
fqdn
public String fqdn()
Get the fqdn property: The FQDN of the master pool.
Returns:
fqdnSubdomain
public String fqdnSubdomain()
Get the fqdnSubdomain property: The FQDN subdomain of the private cluster with custom private dns zone. This cannot be updated once the Managed Cluster has been created.
Returns:
fromJson
public static ManagedClusterProperties fromJson(JsonReader jsonReader)
Reads an instance of ManagedClusterProperties from the JsonReader.
Parameters:
Returns:
Throws:
hostedSystemProfile
public ManagedClusterHostedSystemProfile hostedSystemProfile()
Get the hostedSystemProfile property: Settings for hosted system addons. For more information, see https://aka.ms/aks/automatic/systemcomponents.
Returns:
httpProxyConfig
public ManagedClusterHttpProxyConfig httpProxyConfig()
Get the httpProxyConfig property: Configurations for provisioning the cluster with HTTP proxy servers.
Returns:
identityProfile
public Map<String,UserAssignedIdentity> identityProfile()
Get the identityProfile property: The user identity associated with the managed cluster. This identity will be used by the kubelet. Only one user assigned identity is allowed. The only accepted key is "kubeletidentity", with value of "resourceId": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}".
Returns:
ingressProfile
public ManagedClusterIngressProfile ingressProfile()
Get the ingressProfile property: Ingress profile for the managed cluster.
Returns:
kubernetesVersion
public String kubernetesVersion()
Get the kubernetesVersion property: The version of Kubernetes specified by the user. Both patch version <major.minor.patch> (e.g. 1.20.13) and <major.minor> (e.g. 1.20) are supported. When <major.minor> is specified, the latest supported GA patch version is chosen automatically. Updating the cluster with the same <major.minor> once it has been created (e.g. 1.14.x -> 1.14) will not trigger an upgrade, even if a newer patch version is available. When you upgrade a supported AKS cluster, Kubernetes minor versions cannot be skipped. All upgrades must be performed sequentially by major version number. For example, upgrades between 1.14.x -> 1.15.x or 1.15.x -> 1.16.x are allowed, however 1.14.x -> 1.16.x is not allowed. See [upgrading an AKS cluster](https://docs.microsoft.com/azure/aks/upgrade-cluster) for more details.
Returns:
linuxProfile
public ContainerServiceLinuxProfile linuxProfile()
Get the linuxProfile property: The profile for Linux VMs in the Managed Cluster.
Returns:
maxAgentPools
public Integer maxAgentPools()
Get the maxAgentPools property: The max number of agent pools for the managed cluster.
Returns:
metricsProfile
public ManagedClusterMetricsProfile metricsProfile()
Get the metricsProfile property: Optional cluster metrics configuration.
Returns:
networkProfile
public ContainerServiceNetworkProfile networkProfile()
Get the networkProfile property: The network configuration profile.
Returns:
nodeProvisioningProfile
public ManagedClusterNodeProvisioningProfile nodeProvisioningProfile()
Get the nodeProvisioningProfile property: Node provisioning settings that apply to the whole cluster.
Returns:
nodeResourceGroup
public String nodeResourceGroup()
Get the nodeResourceGroup property: The name of the resource group containing agent pool nodes.
Returns:
nodeResourceGroupProfile
public ManagedClusterNodeResourceGroupProfile nodeResourceGroupProfile()
Get the nodeResourceGroupProfile property: Profile of the node resource group configuration.
Returns:
oidcIssuerProfile
public ManagedClusterOidcIssuerProfile oidcIssuerProfile()
Get the oidcIssuerProfile property: The OIDC issuer profile of the Managed Cluster.
Returns:
podIdentityProfile
public ManagedClusterPodIdentityProfile podIdentityProfile()
Get the podIdentityProfile property: The pod identity profile of the Managed Cluster. See [use AAD pod identity](https://docs.microsoft.com/azure/aks/use-azure-ad-pod-identity) for more details on AAD pod identity integration.
Returns:
powerState
public PowerState powerState()
Get the powerState property: The Power State of the cluster.
Returns:
privateFQDN
public String privateFQDN()
Get the privateFQDN property: The FQDN of private cluster.
Returns:
privateLinkResources
public List<PrivateLinkResourceInner> privateLinkResources()
Get the privateLinkResources property: Private link resources associated with the cluster.
Returns:
provisioningState
public String provisioningState()
Get the provisioningState property: The current provisioning state.
Returns:
publicNetworkAccess
public PublicNetworkAccess publicNetworkAccess()
Get the publicNetworkAccess property: PublicNetworkAccess of the managedCluster. Allow or deny public network access for AKS.
Returns:
resourceUID
public String resourceUID()
Get the resourceUID property: The resourceUID uniquely identifies ManagedClusters that reuse ARM ResourceIds (i.e: create, delete, create sequence).
Returns:
securityProfile
public ManagedClusterSecurityProfile securityProfile()
Get the securityProfile property: Security profile for the managed cluster.
Returns:
serviceMeshProfile
public ServiceMeshProfile serviceMeshProfile()
Get the serviceMeshProfile property: Service mesh profile for a managed cluster.
Returns:
servicePrincipalProfile
public ManagedClusterServicePrincipalProfile servicePrincipalProfile()
Get the servicePrincipalProfile property: Information about a service principal identity for the cluster to use for manipulating Azure APIs.
Returns:
status
public ManagedClusterStatus status()
Get the status property: Contains read-only information about the Managed Cluster.
Returns:
storageProfile
public ManagedClusterStorageProfile storageProfile()
Get the storageProfile property: Storage profile for the managed cluster.
Returns:
supportPlan
public KubernetesSupportPlan supportPlan()
Get the supportPlan property: The support plan for the Managed Cluster. If unspecified, the default is 'KubernetesOfficial'.
Returns:
toJson
upgradeSettings
public ClusterUpgradeSettings upgradeSettings()
Get the upgradeSettings property: Settings for upgrading a cluster.
Returns:
validate
public void validate()
Validates the instance.
windowsProfile
public ManagedClusterWindowsProfile windowsProfile()
Get the windowsProfile property: The profile for Windows VMs in the Managed Cluster.
Returns:
withAadProfile
public ManagedClusterProperties withAadProfile(ManagedClusterAadProfile aadProfile)
Set the aadProfile property: The Azure Active Directory configuration.
Parameters:
Returns:
withAddonProfiles
public ManagedClusterProperties withAddonProfiles(Map<String,ManagedClusterAddonProfile> addonProfiles)
Set the addonProfiles property: The profile of managed cluster add-on.
Parameters:
Returns:
withAgentPoolProfiles
public ManagedClusterProperties withAgentPoolProfiles(List<ManagedClusterAgentPoolProfile> agentPoolProfiles)
Set the agentPoolProfiles property: The agent pool properties.
Parameters:
Returns:
withAiToolchainOperatorProfile
public ManagedClusterProperties withAiToolchainOperatorProfile(ManagedClusterAIToolchainOperatorProfile aiToolchainOperatorProfile)
Set the aiToolchainOperatorProfile property: AI toolchain operator settings that apply to the whole cluster.
Parameters:
Returns:
withApiServerAccessProfile
public ManagedClusterProperties withApiServerAccessProfile(ManagedClusterApiServerAccessProfile apiServerAccessProfile)
Set the apiServerAccessProfile property: The access profile for managed cluster API server.
Parameters:
Returns:
withAutoScalerProfile
public ManagedClusterProperties withAutoScalerProfile(ManagedClusterPropertiesAutoScalerProfile autoScalerProfile)
Set the autoScalerProfile property: Parameters to be applied to the cluster-autoscaler when enabled.
Parameters:
Returns:
withAutoUpgradeProfile
public ManagedClusterProperties withAutoUpgradeProfile(ManagedClusterAutoUpgradeProfile autoUpgradeProfile)
Set the autoUpgradeProfile property: The auto upgrade configuration.
Parameters:
Returns:
withAzureMonitorProfile
public ManagedClusterProperties withAzureMonitorProfile(ManagedClusterAzureMonitorProfile azureMonitorProfile)
Set the azureMonitorProfile property: Azure Monitor addon profiles for monitoring the managed cluster.
Parameters:
Returns:
withBootstrapProfile
public ManagedClusterProperties withBootstrapProfile(ManagedClusterBootstrapProfile bootstrapProfile)
Set the bootstrapProfile property: Profile of the cluster bootstrap configuration.
Parameters:
Returns:
withDisableLocalAccounts
public ManagedClusterProperties withDisableLocalAccounts(Boolean disableLocalAccounts)
Set the disableLocalAccounts property: If local accounts should be disabled on the Managed Cluster. If set to true, getting static credentials will be disabled for this cluster. This must only be used on Managed Clusters that are AAD enabled. For more details see [disable local accounts](https://docs.microsoft.com/azure/aks/managed-aad\#disable-local-accounts-preview).
Parameters:
Returns:
withDiskEncryptionSetId
public ManagedClusterProperties withDiskEncryptionSetId(String diskEncryptionSetId)
Set the diskEncryptionSetId property: The Resource ID of the disk encryption set to use for enabling encryption at rest. This is of the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{encryptionSetName}'.
Parameters:
Returns:
withDnsPrefix
public ManagedClusterProperties withDnsPrefix(String dnsPrefix)
Set the dnsPrefix property: The DNS prefix of the Managed Cluster. This cannot be updated once the Managed Cluster has been created.
Parameters:
Returns:
withEnableRbac
public ManagedClusterProperties withEnableRbac(Boolean enableRbac)
Set the enableRbac property: Whether to enable Kubernetes Role-Based Access Control.
Parameters:
Returns:
withFqdnSubdomain
public ManagedClusterProperties withFqdnSubdomain(String fqdnSubdomain)
Set the fqdnSubdomain property: The FQDN subdomain of the private cluster with custom private dns zone. This cannot be updated once the Managed Cluster has been created.
Parameters:
Returns:
withHostedSystemProfile
public ManagedClusterProperties withHostedSystemProfile(ManagedClusterHostedSystemProfile hostedSystemProfile)
Set the hostedSystemProfile property: Settings for hosted system addons. For more information, see https://aka.ms/aks/automatic/systemcomponents.
Parameters:
Returns:
withHttpProxyConfig
public ManagedClusterProperties withHttpProxyConfig(ManagedClusterHttpProxyConfig httpProxyConfig)
Set the httpProxyConfig property: Configurations for provisioning the cluster with HTTP proxy servers.
Parameters:
Returns:
withIdentityProfile
public ManagedClusterProperties withIdentityProfile(Map<String,UserAssignedIdentity> identityProfile)
Set the identityProfile property: The user identity associated with the managed cluster. This identity will be used by the kubelet. Only one user assigned identity is allowed. The only accepted key is "kubeletidentity", with value of "resourceId": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}".
Parameters:
Returns:
withIngressProfile
public ManagedClusterProperties withIngressProfile(ManagedClusterIngressProfile ingressProfile)
Set the ingressProfile property: Ingress profile for the managed cluster.
Parameters:
Returns:
withKubernetesVersion
public ManagedClusterProperties withKubernetesVersion(String kubernetesVersion)
Set the kubernetesVersion property: The version of Kubernetes specified by the user. Both patch version <major.minor.patch> (e.g. 1.20.13) and <major.minor> (e.g. 1.20) are supported. When <major.minor> is specified, the latest supported GA patch version is chosen automatically. Updating the cluster with the same <major.minor> once it has been created (e.g. 1.14.x -> 1.14) will not trigger an upgrade, even if a newer patch version is available. When you upgrade a supported AKS cluster, Kubernetes minor versions cannot be skipped. All upgrades must be performed sequentially by major version number. For example, upgrades between 1.14.x -> 1.15.x or 1.15.x -> 1.16.x are allowed, however 1.14.x -> 1.16.x is not allowed. See [upgrading an AKS cluster](https://docs.microsoft.com/azure/aks/upgrade-cluster) for more details.
Parameters:
Returns:
withLinuxProfile
public ManagedClusterProperties withLinuxProfile(ContainerServiceLinuxProfile linuxProfile)
Set the linuxProfile property: The profile for Linux VMs in the Managed Cluster.
Parameters:
Returns:
withMetricsProfile
public ManagedClusterProperties withMetricsProfile(ManagedClusterMetricsProfile metricsProfile)
Set the metricsProfile property: Optional cluster metrics configuration.
Parameters:
Returns:
withNetworkProfile
public ManagedClusterProperties withNetworkProfile(ContainerServiceNetworkProfile networkProfile)
Set the networkProfile property: The network configuration profile.
Parameters:
Returns:
withNodeProvisioningProfile
public ManagedClusterProperties withNodeProvisioningProfile(ManagedClusterNodeProvisioningProfile nodeProvisioningProfile)
Set the nodeProvisioningProfile property: Node provisioning settings that apply to the whole cluster.
Parameters:
Returns:
withNodeResourceGroup
public ManagedClusterProperties withNodeResourceGroup(String nodeResourceGroup)
Set the nodeResourceGroup property: The name of the resource group containing agent pool nodes.
Parameters:
Returns:
withNodeResourceGroupProfile
public ManagedClusterProperties withNodeResourceGroupProfile(ManagedClusterNodeResourceGroupProfile nodeResourceGroupProfile)
Set the nodeResourceGroupProfile property: Profile of the node resource group configuration.
Parameters:
Returns:
withOidcIssuerProfile
public ManagedClusterProperties withOidcIssuerProfile(ManagedClusterOidcIssuerProfile oidcIssuerProfile)
Set the oidcIssuerProfile property: The OIDC issuer profile of the Managed Cluster.
Parameters:
Returns:
withPodIdentityProfile
public ManagedClusterProperties withPodIdentityProfile(ManagedClusterPodIdentityProfile podIdentityProfile)
Set the podIdentityProfile property: The pod identity profile of the Managed Cluster. See [use AAD pod identity](https://docs.microsoft.com/azure/aks/use-azure-ad-pod-identity) for more details on AAD pod identity integration.
Parameters:
Returns:
withPrivateLinkResources
public ManagedClusterProperties withPrivateLinkResources(List<PrivateLinkResourceInner> privateLinkResources)
Set the privateLinkResources property: Private link resources associated with the cluster.
Parameters:
Returns:
withPublicNetworkAccess
public ManagedClusterProperties withPublicNetworkAccess(PublicNetworkAccess publicNetworkAccess)
Set the publicNetworkAccess property: PublicNetworkAccess of the managedCluster. Allow or deny public network access for AKS.
Parameters:
Returns:
withSecurityProfile
public ManagedClusterProperties withSecurityProfile(ManagedClusterSecurityProfile securityProfile)
Set the securityProfile property: Security profile for the managed cluster.
Parameters:
Returns:
withServiceMeshProfile
public ManagedClusterProperties withServiceMeshProfile(ServiceMeshProfile serviceMeshProfile)
Set the serviceMeshProfile property: Service mesh profile for a managed cluster.
Parameters:
Returns:
withServicePrincipalProfile
public ManagedClusterProperties withServicePrincipalProfile(ManagedClusterServicePrincipalProfile servicePrincipalProfile)
Set the servicePrincipalProfile property: Information about a service principal identity for the cluster to use for manipulating Azure APIs.
Parameters:
Returns:
withStatus
public ManagedClusterProperties withStatus(ManagedClusterStatus status)
Set the status property: Contains read-only information about the Managed Cluster.
Parameters:
Returns:
withStorageProfile
public ManagedClusterProperties withStorageProfile(ManagedClusterStorageProfile storageProfile)
Set the storageProfile property: Storage profile for the managed cluster.
Parameters:
Returns:
withSupportPlan
public ManagedClusterProperties withSupportPlan(KubernetesSupportPlan supportPlan)
Set the supportPlan property: The support plan for the Managed Cluster. If unspecified, the default is 'KubernetesOfficial'.
Parameters:
Returns:
withUpgradeSettings
public ManagedClusterProperties withUpgradeSettings(ClusterUpgradeSettings upgradeSettings)
Set the upgradeSettings property: Settings for upgrading a cluster.
Parameters:
Returns:
withWindowsProfile
public ManagedClusterProperties withWindowsProfile(ManagedClusterWindowsProfile windowsProfile)
Set the windowsProfile property: The profile for Windows VMs in the Managed Cluster.
Parameters:
Returns:
withWorkloadAutoScalerProfile
public ManagedClusterProperties withWorkloadAutoScalerProfile(ManagedClusterWorkloadAutoScalerProfile workloadAutoScalerProfile)
Set the workloadAutoScalerProfile property: Workload Auto-scaler profile for the managed cluster.
Parameters:
Returns:
workloadAutoScalerProfile
public ManagedClusterWorkloadAutoScalerProfile workloadAutoScalerProfile()
Get the workloadAutoScalerProfile property: Workload Auto-scaler profile for the managed cluster.
Returns: