Class ManagedClusterInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.containerservice.fluent.models.ManagedClusterInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>
public final class ManagedClusterInner
extends com.azure.core.management.Resource
Managed cluster.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the aadProfile property: The Azure Active Directory configuration.Get the addonProfiles property: The profile of managed cluster add-on.Get the agentPoolProfiles property: The agent pool properties.Get the apiServerAccessProfile property: The access profile for managed cluster API server.Get the autoScalerProfile property: Parameters to be applied to the cluster-autoscaler when enabled.Get the autoUpgradeProfile property: The auto upgrade configuration.Get the azureMonitorProfile property: Azure Monitor addon profiles for monitoring the managed cluster.Get the azurePortalFqdn property: 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.Get the bootstrapProfile property: Profile of the cluster bootstrap configuration.Get the currentKubernetesVersion property: If kubernetesVersion was a fully specified version <major.minor.patch>, this field will be exactly equal to it.Get the disableLocalAccounts property: If set to true, getting static credentials will be disabled for this cluster.Get the diskEncryptionSetId property: This is of the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{encryptionSetName}'.Get the dnsPrefix property: This cannot be updated once the Managed Cluster has been created.Get the enableRbac property: Whether to enable Kubernetes Role-Based Access Control.etag()Get the etag property: Unique read-only string used to implement optimistic concurrency.Get the extendedLocation property: The extended location of the Virtual Machine.fqdn()Get the fqdn property: The FQDN of the master pool.Get the fqdnSubdomain property: This cannot be updated once the Managed Cluster has been created.static ManagedClusterInnerfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ManagedClusterInner from the JsonReader.Get the httpProxyConfig property: Configurations for provisioning the cluster with HTTP proxy servers.id()Get the id property: Fully qualified resource Id for the resource.identity()Get the identity property: The identity of the managed cluster, if configured.Get the identityProfile property: The user identity associated with the managed cluster.Get the ingressProfile property: Ingress profile for the managed cluster.Get the kubernetesVersion property: Both patch version <major.minor.patch> (e.g. 1.20.13) and <major.minor> (e.g. 1.20) are supported.Get the linuxProfile property: The profile for Linux VMs in the Managed Cluster.Get the maxAgentPools property: The max number of agent pools for the managed cluster.Get the metricsProfile property: Optional cluster metrics configuration.name()Get the name property: The name of the resource.Get the networkProfile property: The network configuration profile.Get the nodeResourceGroup property: The name of the resource group containing agent pool nodes.Get the nodeResourceGroupProfile property: Profile of the node resource group configuration.Get the oidcIssuerProfile property: The OIDC issuer profile of the Managed Cluster.Get the podIdentityProfile property: See [use AAD pod identity](https://docs.microsoft.com/azure/aks/use-azure-ad-pod-identity) for more details on AAD pod identity integration.Get the powerState property: The Power State of the cluster.Get the privateFqdn property: The FQDN of private cluster.Get the privateLinkResources property: Private link resources associated with the cluster.Get the provisioningState property: The current provisioning state.Get the publicNetworkAccess property: Allow or deny public network access for AKS.Get the resourceUid property: The resourceUID uniquely identifies ManagedClusters that reuse ARM ResourceIds (i.e: create, delete, create sequence).Get the securityProfile property: Security profile for the managed cluster.Get the serviceMeshProfile property: Service mesh profile for a managed cluster.Get the servicePrincipalProfile property: Information about a service principal identity for the cluster to use for manipulating Azure APIs.sku()Get the sku property: The managed cluster SKU.status()Get the status property: Contains read-only information about the Managed Cluster.Get the storageProfile property: Storage profile for the managed cluster.Get the supportPlan property: The support plan for the Managed Cluster.com.azure.core.management.SystemDataGet the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) type()Get the type property: The type of the resource.Get the upgradeSettings property: Settings for upgrading a cluster.voidvalidate()Validates the instance.Get the windowsProfile property: The profile for Windows VMs in the Managed Cluster.withAadProfile(ManagedClusterAadProfile aadProfile) Set the aadProfile property: The Azure Active Directory configuration.withAddonProfiles(Map<String, ManagedClusterAddonProfile> addonProfiles) Set the addonProfiles property: The profile of managed cluster add-on.withAgentPoolProfiles(List<ManagedClusterAgentPoolProfile> agentPoolProfiles) Set the agentPoolProfiles property: The agent pool properties.withApiServerAccessProfile(ManagedClusterApiServerAccessProfile apiServerAccessProfile) Set the apiServerAccessProfile property: The access profile for managed cluster API server.withAutoScalerProfile(ManagedClusterPropertiesAutoScalerProfile autoScalerProfile) Set the autoScalerProfile property: Parameters to be applied to the cluster-autoscaler when enabled.withAutoUpgradeProfile(ManagedClusterAutoUpgradeProfile autoUpgradeProfile) Set the autoUpgradeProfile property: The auto upgrade configuration.withAzureMonitorProfile(ManagedClusterAzureMonitorProfile azureMonitorProfile) Set the azureMonitorProfile property: Azure Monitor addon profiles for monitoring the managed cluster.withBootstrapProfile(ManagedClusterBootstrapProfile bootstrapProfile) Set the bootstrapProfile property: Profile of the cluster bootstrap configuration.withDisableLocalAccounts(Boolean disableLocalAccounts) Set the disableLocalAccounts property: If set to true, getting static credentials will be disabled for this cluster.withDiskEncryptionSetId(String diskEncryptionSetId) Set the diskEncryptionSetId property: This is of the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{encryptionSetName}'.withDnsPrefix(String dnsPrefix) Set the dnsPrefix property: This cannot be updated once the Managed Cluster has been created.withEnableRbac(Boolean enableRbac) Set the enableRbac property: Whether to enable Kubernetes Role-Based Access Control.withExtendedLocation(ExtendedLocation extendedLocation) Set the extendedLocation property: The extended location of the Virtual Machine.withFqdnSubdomain(String fqdnSubdomain) Set the fqdnSubdomain property: This cannot be updated once the Managed Cluster has been created.withHttpProxyConfig(ManagedClusterHttpProxyConfig httpProxyConfig) Set the httpProxyConfig property: Configurations for provisioning the cluster with HTTP proxy servers.withIdentity(ManagedClusterIdentity identity) Set the identity property: The identity of the managed cluster, if configured.withIdentityProfile(Map<String, UserAssignedIdentity> identityProfile) Set the identityProfile property: The user identity associated with the managed cluster.withIngressProfile(ManagedClusterIngressProfile ingressProfile) Set the ingressProfile property: Ingress profile for the managed cluster.withKubernetesVersion(String kubernetesVersion) Set the kubernetesVersion property: Both patch version <major.minor.patch> (e.g. 1.20.13) and <major.minor> (e.g. 1.20) are supported.withLinuxProfile(ContainerServiceLinuxProfile linuxProfile) Set the linuxProfile property: The profile for Linux VMs in the Managed Cluster.withLocation(String location) withMetricsProfile(ManagedClusterMetricsProfile metricsProfile) Set the metricsProfile property: Optional cluster metrics configuration.withNetworkProfile(ContainerServiceNetworkProfile networkProfile) Set the networkProfile property: The network configuration profile.withNodeResourceGroup(String nodeResourceGroup) Set the nodeResourceGroup property: The name of the resource group containing agent pool nodes.withNodeResourceGroupProfile(ManagedClusterNodeResourceGroupProfile nodeResourceGroupProfile) Set the nodeResourceGroupProfile property: Profile of the node resource group configuration.withOidcIssuerProfile(ManagedClusterOidcIssuerProfile oidcIssuerProfile) Set the oidcIssuerProfile property: The OIDC issuer profile of the Managed Cluster.withPodIdentityProfile(ManagedClusterPodIdentityProfile podIdentityProfile) Set the podIdentityProfile property: See [use AAD pod identity](https://docs.microsoft.com/azure/aks/use-azure-ad-pod-identity) for more details on AAD pod identity integration.withPrivateLinkResources(List<PrivateLinkResourceInner> privateLinkResources) Set the privateLinkResources property: Private link resources associated with the cluster.withPublicNetworkAccess(PublicNetworkAccess publicNetworkAccess) Set the publicNetworkAccess property: Allow or deny public network access for AKS.withSecurityProfile(ManagedClusterSecurityProfile securityProfile) Set the securityProfile property: Security profile for the managed cluster.withServiceMeshProfile(ServiceMeshProfile serviceMeshProfile) Set the serviceMeshProfile property: Service mesh profile for a managed cluster.withServicePrincipalProfile(ManagedClusterServicePrincipalProfile servicePrincipalProfile) Set the servicePrincipalProfile property: Information about a service principal identity for the cluster to use for manipulating Azure APIs.withSku(ManagedClusterSku sku) Set the sku property: The managed cluster SKU.withStatus(ManagedClusterStatus status) Set the status property: Contains read-only information about the Managed Cluster.withStorageProfile(ManagedClusterStorageProfile storageProfile) Set the storageProfile property: Storage profile for the managed cluster.withSupportPlan(KubernetesSupportPlan supportPlan) Set the supportPlan property: The support plan for the Managed Cluster.withUpgradeSettings(ClusterUpgradeSettings upgradeSettings) Set the upgradeSettings property: Settings for upgrading a cluster.withWindowsProfile(ManagedClusterWindowsProfile windowsProfile) Set the windowsProfile property: The profile for Windows VMs in the Managed Cluster.withWorkloadAutoScalerProfile(ManagedClusterWorkloadAutoScalerProfile workloadAutoScalerProfile) Set the workloadAutoScalerProfile property: Workload Auto-scaler profile for the managed cluster.Get the workloadAutoScalerProfile property: Workload Auto-scaler profile for the managed cluster.Methods inherited from class com.azure.core.management.Resource
location, tagsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
ManagedClusterInner
public ManagedClusterInner()Creates an instance of ManagedClusterInner class.
-
-
Method Details
-
etag
Get the etag property: Unique read-only string used to implement optimistic concurrency. The eTag value will change when the resource is updated. Specify an if-match or if-none-match header with the eTag value for a subsequent request to enable optimistic concurrency per the normal etag convention.- Returns:
- the etag value.
-
sku
Get the sku property: The managed cluster SKU.- Returns:
- the sku value.
-
withSku
Set the sku property: The managed cluster SKU.- Parameters:
sku- the sku value to set.- Returns:
- the ManagedClusterInner object itself.
-
extendedLocation
Get the extendedLocation property: The extended location of the Virtual Machine.- Returns:
- the extendedLocation value.
-
withExtendedLocation
Set the extendedLocation property: The extended location of the Virtual Machine.- Parameters:
extendedLocation- the extendedLocation value to set.- Returns:
- the ManagedClusterInner object itself.
-
identity
Get the identity property: The identity of the managed cluster, if configured.- Returns:
- the identity value.
-
withIdentity
Set the identity property: The identity of the managed cluster, if configured.- Parameters:
identity- the identity value to set.- Returns:
- the ManagedClusterInner object itself.
-
systemData
public com.azure.core.management.SystemData systemData()Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.- Returns:
- the systemData value.
-
type
Get the type property: The type of the resource.- Overrides:
typein classcom.azure.core.management.ProxyResource- Returns:
- the type value.
-
name
Get the name property: The name of the resource.- Overrides:
namein classcom.azure.core.management.ProxyResource- Returns:
- the name value.
-
id
Get the id property: Fully qualified resource Id for the resource.- Overrides:
idin classcom.azure.core.management.ProxyResource- Returns:
- the id value.
-
withLocation
- Overrides:
withLocationin classcom.azure.core.management.Resource
-
withTags
- Overrides:
withTagsin classcom.azure.core.management.Resource
-
provisioningState
Get the provisioningState property: The current provisioning state.- Returns:
- the provisioningState value.
-
powerState
Get the powerState property: The Power State of the cluster.- Returns:
- the powerState value.
-
maxAgentPools
Get the maxAgentPools property: The max number of agent pools for the managed cluster.- Returns:
- the maxAgentPools value.
-
kubernetesVersion
Get the kubernetesVersion property: 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:
- the kubernetesVersion value.
-
withKubernetesVersion
Set the kubernetesVersion property: 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:
kubernetesVersion- the kubernetesVersion value to set.- Returns:
- the ManagedClusterInner object itself.
-
currentKubernetesVersion
Get the currentKubernetesVersion property: 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:
- the currentKubernetesVersion value.
-
dnsPrefix
Get the dnsPrefix property: This cannot be updated once the Managed Cluster has been created.- Returns:
- the dnsPrefix value.
-
withDnsPrefix
Set the dnsPrefix property: This cannot be updated once the Managed Cluster has been created.- Parameters:
dnsPrefix- the dnsPrefix value to set.- Returns:
- the ManagedClusterInner object itself.
-
fqdnSubdomain
Get the fqdnSubdomain property: This cannot be updated once the Managed Cluster has been created.- Returns:
- the fqdnSubdomain value.
-
withFqdnSubdomain
Set the fqdnSubdomain property: This cannot be updated once the Managed Cluster has been created.- Parameters:
fqdnSubdomain- the fqdnSubdomain value to set.- Returns:
- the ManagedClusterInner object itself.
-
fqdn
Get the fqdn property: The FQDN of the master pool.- Returns:
- the fqdn value.
-
privateFqdn
Get the privateFqdn property: The FQDN of private cluster.- Returns:
- the privateFqdn value.
-
azurePortalFqdn
Get the azurePortalFqdn property: 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:
- the azurePortalFqdn value.
-
agentPoolProfiles
Get the agentPoolProfiles property: The agent pool properties.- Returns:
- the agentPoolProfiles value.
-
withAgentPoolProfiles
public ManagedClusterInner withAgentPoolProfiles(List<ManagedClusterAgentPoolProfile> agentPoolProfiles) Set the agentPoolProfiles property: The agent pool properties.- Parameters:
agentPoolProfiles- the agentPoolProfiles value to set.- Returns:
- the ManagedClusterInner object itself.
-
linuxProfile
Get the linuxProfile property: The profile for Linux VMs in the Managed Cluster.- Returns:
- the linuxProfile value.
-
withLinuxProfile
Set the linuxProfile property: The profile for Linux VMs in the Managed Cluster.- Parameters:
linuxProfile- the linuxProfile value to set.- Returns:
- the ManagedClusterInner object itself.
-
windowsProfile
Get the windowsProfile property: The profile for Windows VMs in the Managed Cluster.- Returns:
- the windowsProfile value.
-
withWindowsProfile
Set the windowsProfile property: The profile for Windows VMs in the Managed Cluster.- Parameters:
windowsProfile- the windowsProfile value to set.- Returns:
- the ManagedClusterInner object itself.
-
servicePrincipalProfile
Get the servicePrincipalProfile property: Information about a service principal identity for the cluster to use for manipulating Azure APIs.- Returns:
- the servicePrincipalProfile value.
-
withServicePrincipalProfile
public ManagedClusterInner withServicePrincipalProfile(ManagedClusterServicePrincipalProfile servicePrincipalProfile) Set the servicePrincipalProfile property: Information about a service principal identity for the cluster to use for manipulating Azure APIs.- Parameters:
servicePrincipalProfile- the servicePrincipalProfile value to set.- Returns:
- the ManagedClusterInner object itself.
-
addonProfiles
Get the addonProfiles property: The profile of managed cluster add-on.- Returns:
- the addonProfiles value.
-
withAddonProfiles
Set the addonProfiles property: The profile of managed cluster add-on.- Parameters:
addonProfiles- the addonProfiles value to set.- Returns:
- the ManagedClusterInner object itself.
-
podIdentityProfile
Get the podIdentityProfile property: 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:
- the podIdentityProfile value.
-
withPodIdentityProfile
public ManagedClusterInner withPodIdentityProfile(ManagedClusterPodIdentityProfile podIdentityProfile) Set the podIdentityProfile property: 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:
podIdentityProfile- the podIdentityProfile value to set.- Returns:
- the ManagedClusterInner object itself.
-
oidcIssuerProfile
Get the oidcIssuerProfile property: The OIDC issuer profile of the Managed Cluster.- Returns:
- the oidcIssuerProfile value.
-
withOidcIssuerProfile
Set the oidcIssuerProfile property: The OIDC issuer profile of the Managed Cluster.- Parameters:
oidcIssuerProfile- the oidcIssuerProfile value to set.- Returns:
- the ManagedClusterInner object itself.
-
nodeResourceGroup
Get the nodeResourceGroup property: The name of the resource group containing agent pool nodes.- Returns:
- the nodeResourceGroup value.
-
withNodeResourceGroup
Set the nodeResourceGroup property: The name of the resource group containing agent pool nodes.- Parameters:
nodeResourceGroup- the nodeResourceGroup value to set.- Returns:
- the ManagedClusterInner object itself.
-
nodeResourceGroupProfile
Get the nodeResourceGroupProfile property: Profile of the node resource group configuration.- Returns:
- the nodeResourceGroupProfile value.
-
withNodeResourceGroupProfile
public ManagedClusterInner withNodeResourceGroupProfile(ManagedClusterNodeResourceGroupProfile nodeResourceGroupProfile) Set the nodeResourceGroupProfile property: Profile of the node resource group configuration.- Parameters:
nodeResourceGroupProfile- the nodeResourceGroupProfile value to set.- Returns:
- the ManagedClusterInner object itself.
-
enableRbac
Get the enableRbac property: Whether to enable Kubernetes Role-Based Access Control.- Returns:
- the enableRbac value.
-
withEnableRbac
Set the enableRbac property: Whether to enable Kubernetes Role-Based Access Control.- Parameters:
enableRbac- the enableRbac value to set.- Returns:
- the ManagedClusterInner object itself.
-
supportPlan
Get the supportPlan property: The support plan for the Managed Cluster. If unspecified, the default is 'KubernetesOfficial'.- Returns:
- the supportPlan value.
-
withSupportPlan
Set the supportPlan property: The support plan for the Managed Cluster. If unspecified, the default is 'KubernetesOfficial'.- Parameters:
supportPlan- the supportPlan value to set.- Returns:
- the ManagedClusterInner object itself.
-
networkProfile
Get the networkProfile property: The network configuration profile.- Returns:
- the networkProfile value.
-
withNetworkProfile
Set the networkProfile property: The network configuration profile.- Parameters:
networkProfile- the networkProfile value to set.- Returns:
- the ManagedClusterInner object itself.
-
aadProfile
Get the aadProfile property: The Azure Active Directory configuration.- Returns:
- the aadProfile value.
-
withAadProfile
Set the aadProfile property: The Azure Active Directory configuration.- Parameters:
aadProfile- the aadProfile value to set.- Returns:
- the ManagedClusterInner object itself.
-
autoUpgradeProfile
Get the autoUpgradeProfile property: The auto upgrade configuration.- Returns:
- the autoUpgradeProfile value.
-
withAutoUpgradeProfile
public ManagedClusterInner withAutoUpgradeProfile(ManagedClusterAutoUpgradeProfile autoUpgradeProfile) Set the autoUpgradeProfile property: The auto upgrade configuration.- Parameters:
autoUpgradeProfile- the autoUpgradeProfile value to set.- Returns:
- the ManagedClusterInner object itself.
-
upgradeSettings
Get the upgradeSettings property: Settings for upgrading a cluster.- Returns:
- the upgradeSettings value.
-
withUpgradeSettings
Set the upgradeSettings property: Settings for upgrading a cluster.- Parameters:
upgradeSettings- the upgradeSettings value to set.- Returns:
- the ManagedClusterInner object itself.
-
autoScalerProfile
Get the autoScalerProfile property: Parameters to be applied to the cluster-autoscaler when enabled.- Returns:
- the autoScalerProfile value.
-
withAutoScalerProfile
public ManagedClusterInner withAutoScalerProfile(ManagedClusterPropertiesAutoScalerProfile autoScalerProfile) Set the autoScalerProfile property: Parameters to be applied to the cluster-autoscaler when enabled.- Parameters:
autoScalerProfile- the autoScalerProfile value to set.- Returns:
- the ManagedClusterInner object itself.
-
apiServerAccessProfile
Get the apiServerAccessProfile property: The access profile for managed cluster API server.- Returns:
- the apiServerAccessProfile value.
-
withApiServerAccessProfile
public ManagedClusterInner withApiServerAccessProfile(ManagedClusterApiServerAccessProfile apiServerAccessProfile) Set the apiServerAccessProfile property: The access profile for managed cluster API server.- Parameters:
apiServerAccessProfile- the apiServerAccessProfile value to set.- Returns:
- the ManagedClusterInner object itself.
-
diskEncryptionSetId
Get the diskEncryptionSetId property: This is of the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{encryptionSetName}'.- Returns:
- the diskEncryptionSetId value.
-
withDiskEncryptionSetId
Set the diskEncryptionSetId property: This is of the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{encryptionSetName}'.- Parameters:
diskEncryptionSetId- the diskEncryptionSetId value to set.- Returns:
- the ManagedClusterInner object itself.
-
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:
- the identityProfile value.
-
withIdentityProfile
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:
identityProfile- the identityProfile value to set.- Returns:
- the ManagedClusterInner object itself.
-
privateLinkResources
Get the privateLinkResources property: Private link resources associated with the cluster.- Returns:
- the privateLinkResources value.
-
withPrivateLinkResources
public ManagedClusterInner withPrivateLinkResources(List<PrivateLinkResourceInner> privateLinkResources) Set the privateLinkResources property: Private link resources associated with the cluster.- Parameters:
privateLinkResources- the privateLinkResources value to set.- Returns:
- the ManagedClusterInner object itself.
-
disableLocalAccounts
Get the disableLocalAccounts property: 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:
- the disableLocalAccounts value.
-
withDisableLocalAccounts
Set the disableLocalAccounts property: 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:
disableLocalAccounts- the disableLocalAccounts value to set.- Returns:
- the ManagedClusterInner object itself.
-
httpProxyConfig
Get the httpProxyConfig property: Configurations for provisioning the cluster with HTTP proxy servers.- Returns:
- the httpProxyConfig value.
-
withHttpProxyConfig
Set the httpProxyConfig property: Configurations for provisioning the cluster with HTTP proxy servers.- Parameters:
httpProxyConfig- the httpProxyConfig value to set.- Returns:
- the ManagedClusterInner object itself.
-
securityProfile
Get the securityProfile property: Security profile for the managed cluster.- Returns:
- the securityProfile value.
-
withSecurityProfile
Set the securityProfile property: Security profile for the managed cluster.- Parameters:
securityProfile- the securityProfile value to set.- Returns:
- the ManagedClusterInner object itself.
-
storageProfile
Get the storageProfile property: Storage profile for the managed cluster.- Returns:
- the storageProfile value.
-
withStorageProfile
Set the storageProfile property: Storage profile for the managed cluster.- Parameters:
storageProfile- the storageProfile value to set.- Returns:
- the ManagedClusterInner object itself.
-
ingressProfile
Get the ingressProfile property: Ingress profile for the managed cluster.- Returns:
- the ingressProfile value.
-
withIngressProfile
Set the ingressProfile property: Ingress profile for the managed cluster.- Parameters:
ingressProfile- the ingressProfile value to set.- Returns:
- the ManagedClusterInner object itself.
-
publicNetworkAccess
Get the publicNetworkAccess property: Allow or deny public network access for AKS.- Returns:
- the publicNetworkAccess value.
-
withPublicNetworkAccess
Set the publicNetworkAccess property: Allow or deny public network access for AKS.- Parameters:
publicNetworkAccess- the publicNetworkAccess value to set.- Returns:
- the ManagedClusterInner object itself.
-
workloadAutoScalerProfile
Get the workloadAutoScalerProfile property: Workload Auto-scaler profile for the managed cluster.- Returns:
- the workloadAutoScalerProfile value.
-
withWorkloadAutoScalerProfile
public ManagedClusterInner withWorkloadAutoScalerProfile(ManagedClusterWorkloadAutoScalerProfile workloadAutoScalerProfile) Set the workloadAutoScalerProfile property: Workload Auto-scaler profile for the managed cluster.- Parameters:
workloadAutoScalerProfile- the workloadAutoScalerProfile value to set.- Returns:
- the ManagedClusterInner object itself.
-
azureMonitorProfile
Get the azureMonitorProfile property: Azure Monitor addon profiles for monitoring the managed cluster.- Returns:
- the azureMonitorProfile value.
-
withAzureMonitorProfile
public ManagedClusterInner withAzureMonitorProfile(ManagedClusterAzureMonitorProfile azureMonitorProfile) Set the azureMonitorProfile property: Azure Monitor addon profiles for monitoring the managed cluster.- Parameters:
azureMonitorProfile- the azureMonitorProfile value to set.- Returns:
- the ManagedClusterInner object itself.
-
serviceMeshProfile
Get the serviceMeshProfile property: Service mesh profile for a managed cluster.- Returns:
- the serviceMeshProfile value.
-
withServiceMeshProfile
Set the serviceMeshProfile property: Service mesh profile for a managed cluster.- Parameters:
serviceMeshProfile- the serviceMeshProfile value to set.- Returns:
- the ManagedClusterInner object itself.
-
resourceUid
Get the resourceUid property: The resourceUID uniquely identifies ManagedClusters that reuse ARM ResourceIds (i.e: create, delete, create sequence).- Returns:
- the resourceUid value.
-
metricsProfile
Get the metricsProfile property: Optional cluster metrics configuration.- Returns:
- the metricsProfile value.
-
withMetricsProfile
Set the metricsProfile property: Optional cluster metrics configuration.- Parameters:
metricsProfile- the metricsProfile value to set.- Returns:
- the ManagedClusterInner object itself.
-
bootstrapProfile
Get the bootstrapProfile property: Profile of the cluster bootstrap configuration.- Returns:
- the bootstrapProfile value.
-
withBootstrapProfile
Set the bootstrapProfile property: Profile of the cluster bootstrap configuration.- Parameters:
bootstrapProfile- the bootstrapProfile value to set.- Returns:
- the ManagedClusterInner object itself.
-
status
Get the status property: Contains read-only information about the Managed Cluster.- Returns:
- the status value.
-
withStatus
Set the status property: Contains read-only information about the Managed Cluster.- Parameters:
status- the status value to set.- Returns:
- the ManagedClusterInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>- Overrides:
toJsonin classcom.azure.core.management.Resource- Throws:
IOException
-
fromJson
Reads an instance of ManagedClusterInner from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of ManagedClusterInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IllegalStateException- If the deserialized JSON object was missing any required properties.IOException- If an error occurs while reading the ManagedClusterInner.
-