public class ManagedClusterInner
extends com.azure.core.management.Resource
| Constructor and Description |
|---|
ManagedClusterInner() |
| Modifier and Type | Method and Description |
|---|---|
ManagedClusterAadProfile |
aadProfile()
Get the aadProfile property: Profile of Azure Active Directory configuration.
|
Map<String,ManagedClusterAddonProfile> |
addonProfiles()
Get the addonProfiles property: Profile of managed cluster add-on.
|
List<ManagedClusterAgentPoolProfile> |
agentPoolProfiles()
Get the agentPoolProfiles property: Properties of the agent pool.
|
ManagedClusterApiServerAccessProfile |
apiServerAccessProfile()
Get the apiServerAccessProfile property: Access profile for managed cluster API server.
|
ManagedClusterPropertiesAutoScalerProfile |
autoScalerProfile()
Get the autoScalerProfile property: Parameters to be applied to the cluster-autoscaler when enabled.
|
String |
diskEncryptionSetId()
Get the diskEncryptionSetId property: ResourceId of the disk encryption set to use for enabling encryption at
rest.
|
String |
dnsPrefix()
Get the dnsPrefix property: DNS prefix specified when creating the managed cluster.
|
Boolean |
enablePodSecurityPolicy()
Get the enablePodSecurityPolicy property: (DEPRECATING) Whether to enable Kubernetes pod security policy
(preview).
|
Boolean |
enableRbac()
Get the enableRbac property: Whether to enable Kubernetes Role-Based Access Control.
|
String |
fqdn()
Get the fqdn property: FQDN for the master pool.
|
ManagedClusterIdentity |
identity()
Get the identity property: The identity of the managed cluster, if configured.
|
Map<String,UserAssignedIdentity> |
identityProfile()
Get the identityProfile property: Identities associated with the cluster.
|
String |
kubernetesVersion()
Get the kubernetesVersion property: Version of Kubernetes specified when creating the managed cluster.
|
ContainerServiceLinuxProfile |
linuxProfile()
Get the linuxProfile property: Profile for Linux VMs in the container service cluster.
|
Integer |
maxAgentPools()
Get the maxAgentPools property: The max number of agent pools for the managed cluster.
|
ContainerServiceNetworkProfile |
networkProfile()
Get the networkProfile property: Profile of network configuration.
|
String |
nodeResourceGroup()
Get the nodeResourceGroup property: Name of the resource group containing agent pool nodes.
|
String |
privateFqdn()
Get the privateFqdn property: FQDN of private cluster.
|
String |
provisioningState()
Get the provisioningState property: The current deployment or provisioning state, which only appears in the
response.
|
ManagedClusterServicePrincipalProfile |
servicePrincipalProfile()
Get the servicePrincipalProfile property: Information about a service principal identity for the cluster to use
for manipulating Azure APIs.
|
ManagedClusterSku |
sku()
Get the sku property: The managed cluster SKU.
|
void |
validate()
Validates the instance.
|
ManagedClusterWindowsProfile |
windowsProfile()
Get the windowsProfile property: Profile for Windows VMs in the container service cluster.
|
ManagedClusterInner |
withAadProfile(ManagedClusterAadProfile aadProfile)
Set the aadProfile property: Profile of Azure Active Directory configuration.
|
ManagedClusterInner |
withAddonProfiles(Map<String,ManagedClusterAddonProfile> addonProfiles)
Set the addonProfiles property: Profile of managed cluster add-on.
|
ManagedClusterInner |
withAgentPoolProfiles(List<ManagedClusterAgentPoolProfile> agentPoolProfiles)
Set the agentPoolProfiles property: Properties of the agent pool.
|
ManagedClusterInner |
withApiServerAccessProfile(ManagedClusterApiServerAccessProfile apiServerAccessProfile)
Set the apiServerAccessProfile property: Access profile for managed cluster API server.
|
ManagedClusterInner |
withAutoScalerProfile(ManagedClusterPropertiesAutoScalerProfile autoScalerProfile)
Set the autoScalerProfile property: Parameters to be applied to the cluster-autoscaler when enabled.
|
ManagedClusterInner |
withDiskEncryptionSetId(String diskEncryptionSetId)
Set the diskEncryptionSetId property: ResourceId of the disk encryption set to use for enabling encryption at
rest.
|
ManagedClusterInner |
withDnsPrefix(String dnsPrefix)
Set the dnsPrefix property: DNS prefix specified when creating the managed cluster.
|
ManagedClusterInner |
withEnablePodSecurityPolicy(Boolean enablePodSecurityPolicy)
Set the enablePodSecurityPolicy property: (DEPRECATING) Whether to enable Kubernetes pod security policy
(preview).
|
ManagedClusterInner |
withEnableRbac(Boolean enableRbac)
Set the enableRbac property: Whether to enable Kubernetes Role-Based Access Control.
|
ManagedClusterInner |
withIdentity(ManagedClusterIdentity identity)
Set the identity property: The identity of the managed cluster, if configured.
|
ManagedClusterInner |
withIdentityProfile(Map<String,UserAssignedIdentity> identityProfile)
Set the identityProfile property: Identities associated with the cluster.
|
ManagedClusterInner |
withKubernetesVersion(String kubernetesVersion)
Set the kubernetesVersion property: Version of Kubernetes specified when creating the managed cluster.
|
ManagedClusterInner |
withLinuxProfile(ContainerServiceLinuxProfile linuxProfile)
Set the linuxProfile property: Profile for Linux VMs in the container service cluster.
|
ManagedClusterInner |
withNetworkProfile(ContainerServiceNetworkProfile networkProfile)
Set the networkProfile property: Profile of network configuration.
|
ManagedClusterInner |
withNodeResourceGroup(String nodeResourceGroup)
Set the nodeResourceGroup property: Name of the resource group containing agent pool nodes.
|
ManagedClusterInner |
withServicePrincipalProfile(ManagedClusterServicePrincipalProfile servicePrincipalProfile)
Set the servicePrincipalProfile property: Information about a service principal identity for the cluster to use
for manipulating Azure APIs.
|
ManagedClusterInner |
withSku(ManagedClusterSku sku)
Set the sku property: The managed cluster SKU.
|
ManagedClusterInner |
withWindowsProfile(ManagedClusterWindowsProfile windowsProfile)
Set the windowsProfile property: Profile for Windows VMs in the container service cluster.
|
public ManagedClusterSku sku()
public ManagedClusterInner withSku(ManagedClusterSku sku)
sku - the sku value to set.public ManagedClusterIdentity identity()
public ManagedClusterInner withIdentity(ManagedClusterIdentity identity)
identity - the identity value to set.public String provisioningState()
public Integer maxAgentPools()
public String kubernetesVersion()
public ManagedClusterInner withKubernetesVersion(String kubernetesVersion)
kubernetesVersion - the kubernetesVersion value to set.public String dnsPrefix()
public ManagedClusterInner withDnsPrefix(String dnsPrefix)
dnsPrefix - the dnsPrefix value to set.public String fqdn()
public String privateFqdn()
public List<ManagedClusterAgentPoolProfile> agentPoolProfiles()
public ManagedClusterInner withAgentPoolProfiles(List<ManagedClusterAgentPoolProfile> agentPoolProfiles)
agentPoolProfiles - the agentPoolProfiles value to set.public ContainerServiceLinuxProfile linuxProfile()
public ManagedClusterInner withLinuxProfile(ContainerServiceLinuxProfile linuxProfile)
linuxProfile - the linuxProfile value to set.public ManagedClusterWindowsProfile windowsProfile()
public ManagedClusterInner withWindowsProfile(ManagedClusterWindowsProfile windowsProfile)
windowsProfile - the windowsProfile value to set.public ManagedClusterServicePrincipalProfile servicePrincipalProfile()
public ManagedClusterInner withServicePrincipalProfile(ManagedClusterServicePrincipalProfile servicePrincipalProfile)
servicePrincipalProfile - the servicePrincipalProfile value to set.public Map<String,ManagedClusterAddonProfile> addonProfiles()
public ManagedClusterInner withAddonProfiles(Map<String,ManagedClusterAddonProfile> addonProfiles)
addonProfiles - the addonProfiles value to set.public String nodeResourceGroup()
public ManagedClusterInner withNodeResourceGroup(String nodeResourceGroup)
nodeResourceGroup - the nodeResourceGroup value to set.public Boolean enableRbac()
public ManagedClusterInner withEnableRbac(Boolean enableRbac)
enableRbac - the enableRbac value to set.public Boolean enablePodSecurityPolicy()
public ManagedClusterInner withEnablePodSecurityPolicy(Boolean enablePodSecurityPolicy)
enablePodSecurityPolicy - the enablePodSecurityPolicy value to set.public ContainerServiceNetworkProfile networkProfile()
public ManagedClusterInner withNetworkProfile(ContainerServiceNetworkProfile networkProfile)
networkProfile - the networkProfile value to set.public ManagedClusterAadProfile aadProfile()
public ManagedClusterInner withAadProfile(ManagedClusterAadProfile aadProfile)
aadProfile - the aadProfile value to set.public ManagedClusterPropertiesAutoScalerProfile autoScalerProfile()
public ManagedClusterInner withAutoScalerProfile(ManagedClusterPropertiesAutoScalerProfile autoScalerProfile)
autoScalerProfile - the autoScalerProfile value to set.public ManagedClusterApiServerAccessProfile apiServerAccessProfile()
public ManagedClusterInner withApiServerAccessProfile(ManagedClusterApiServerAccessProfile apiServerAccessProfile)
apiServerAccessProfile - the apiServerAccessProfile value to set.public String diskEncryptionSetId()
public ManagedClusterInner withDiskEncryptionSetId(String diskEncryptionSetId)
diskEncryptionSetId - the diskEncryptionSetId value to set.public Map<String,UserAssignedIdentity> identityProfile()
public ManagedClusterInner withIdentityProfile(Map<String,UserAssignedIdentity> identityProfile)
identityProfile - the identityProfile value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.