通过


你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ManagedClusterProperties interface

托管群集的属性。

属性

aadProfile

Azure Active Directory 配置。

addonProfiles

托管群集加载项的配置文件。

agentPoolProfiles

代理池属性。

apiServerAccessProfile

托管群集 API 服务器的访问配置文件。

autoScalerProfile

启用时要应用于群集自动缩放程序的参数

autoUpgradeProfile

自动升级配置。

creationData

如果使用快照创建/升级群集,则用于指定源快照 ID 的 CreationData。

disableLocalAccounts

如果设置为 true,将禁用此群集的静态凭据。 这只能在启用了 AAD 的托管群集上使用。 有关详细信息,请参阅 禁用本地帐户

diskEncryptionSetID

此格式为:“/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{encryptionSetName}”

dnsPrefix

创建托管群集后,无法更新此功能。

enableNamespaceResources

默认值为 false。 可以在创建和更新托管群集时启用/禁用它。 有关命名空间作为 ARM 资源的更多详细信息,请参阅 https://aka.ms/NamespaceARMResource

enablePodSecurityPolicy

(弃用)是否启用 Kubernetes Pod 安全策略(预览版)。 此功能设置为在 2020 年 10 月 15 日删除。 有关详细信息,请查看 aka.ms/aks/azpodpolicy。

enableRBAC

是否启用 Kubernetes Role-Based 访问控制。

fqdnSubdomain

创建托管群集后,无法更新此功能。

httpProxyConfig

使用 HTTP 代理服务器预配群集的配置。

identityProfile

与群集关联的标识。

ingressProfile

托管群集的入口配置文件。

kubernetesVersion

升级支持的 AKS 群集时,无法跳过 Kubernetes 次要版本。 所有升级都必须按主版本号按顺序执行。 例如,允许在 1.14.x -> 1.15.x 或 1.15.x 之间升级> 1.16.x,但不允许使用 1.14.x -> 1.16.x。 有关更多详细信息,请参阅 升级 AKS 群集

linuxProfile

托管群集中 Linux VM 的配置文件。

networkProfile

网络配置文件。

nodeResourceGroup

包含代理池节点的资源组的名称。

oidcIssuerProfile

托管群集的 OIDC 颁发者配置文件。

podIdentityProfile

有关 AAD Pod 标识集成的详细信息,请参阅 使用 AAD Pod 标识

privateLinkResources

与群集关联的专用链接资源。

publicNetworkAccess

允许或拒绝 AKS 的公共网络访问

securityProfile

托管群集的安全配置文件。

servicePrincipalProfile

有关群集用于作 Azure API 的服务主体标识的信息。

storageProfile

托管群集的存储配置文件。

windowsProfile

托管群集中 Windows VM 的配置文件。

workloadAutoScalerProfile

容器服务群集的工作负荷自动缩放程序配置文件。

属性详细信息

aadProfile

Azure Active Directory 配置。

aadProfile?: ManagedClusterAADProfile

属性值

addonProfiles

托管群集加载项的配置文件。

addonProfiles?: Record<string, ManagedClusterAddonProfile>

属性值

Record<string, ManagedClusterAddonProfile>

agentPoolProfiles

代理池属性。

agentPoolProfiles?: ManagedClusterAgentPoolProfile[]

属性值

apiServerAccessProfile

托管群集 API 服务器的访问配置文件。

apiServerAccessProfile?: ManagedClusterAPIServerAccessProfile

属性值

autoScalerProfile

启用时要应用于群集自动缩放程序的参数

autoScalerProfile?: ManagedClusterPropertiesAutoScalerProfile

属性值

autoUpgradeProfile

自动升级配置。

autoUpgradeProfile?: ManagedClusterAutoUpgradeProfile

属性值

creationData

如果使用快照创建/升级群集,则用于指定源快照 ID 的 CreationData。

creationData?: CreationData

属性值

disableLocalAccounts

如果设置为 true,将禁用此群集的静态凭据。 这只能在启用了 AAD 的托管群集上使用。 有关详细信息,请参阅 禁用本地帐户

disableLocalAccounts?: boolean

属性值

boolean

diskEncryptionSetID

此格式为:“/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{encryptionSetName}”

diskEncryptionSetID?: string

属性值

string

dnsPrefix

创建托管群集后,无法更新此功能。

dnsPrefix?: string

属性值

string

enableNamespaceResources

默认值为 false。 可以在创建和更新托管群集时启用/禁用它。 有关命名空间作为 ARM 资源的更多详细信息,请参阅 https://aka.ms/NamespaceARMResource

enableNamespaceResources?: boolean

属性值

boolean

enablePodSecurityPolicy

(弃用)是否启用 Kubernetes Pod 安全策略(预览版)。 此功能设置为在 2020 年 10 月 15 日删除。 有关详细信息,请查看 aka.ms/aks/azpodpolicy。

enablePodSecurityPolicy?: boolean

属性值

boolean

enableRBAC

是否启用 Kubernetes Role-Based 访问控制。

enableRBAC?: boolean

属性值

boolean

fqdnSubdomain

创建托管群集后,无法更新此功能。

fqdnSubdomain?: string

属性值

string

httpProxyConfig

使用 HTTP 代理服务器预配群集的配置。

httpProxyConfig?: ManagedClusterHttpProxyConfig

属性值

identityProfile

与群集关联的标识。

identityProfile?: Record<string, UserAssignedIdentity>

属性值

Record<string, UserAssignedIdentity>

ingressProfile

托管群集的入口配置文件。

ingressProfile?: ManagedClusterIngressProfile

属性值

kubernetesVersion

升级支持的 AKS 群集时,无法跳过 Kubernetes 次要版本。 所有升级都必须按主版本号按顺序执行。 例如,允许在 1.14.x -> 1.15.x 或 1.15.x 之间升级> 1.16.x,但不允许使用 1.14.x -> 1.16.x。 有关更多详细信息,请参阅 升级 AKS 群集

kubernetesVersion?: string

属性值

string

linuxProfile

托管群集中 Linux VM 的配置文件。

linuxProfile?: ContainerServiceLinuxProfile

属性值

networkProfile

网络配置文件。

networkProfile?: ContainerServiceNetworkProfile

属性值

nodeResourceGroup

包含代理池节点的资源组的名称。

nodeResourceGroup?: string

属性值

string

oidcIssuerProfile

托管群集的 OIDC 颁发者配置文件。

oidcIssuerProfile?: ManagedClusterOidcIssuerProfile

属性值

podIdentityProfile

有关 AAD Pod 标识集成的详细信息,请参阅 使用 AAD Pod 标识

podIdentityProfile?: ManagedClusterPodIdentityProfile

属性值

privateLinkResources

与群集关联的专用链接资源。

privateLinkResources?: PrivateLinkResource[]

属性值

publicNetworkAccess

允许或拒绝 AKS 的公共网络访问

publicNetworkAccess?: "Enabled" | "Disabled"

属性值

"Enabled" | "Disabled"

securityProfile

托管群集的安全配置文件。

securityProfile?: ManagedClusterSecurityProfile

属性值

servicePrincipalProfile

有关群集用于作 Azure API 的服务主体标识的信息。

servicePrincipalProfile?: ManagedClusterServicePrincipalProfile

属性值

storageProfile

托管群集的存储配置文件。

storageProfile?: ManagedClusterStorageProfile

属性值

windowsProfile

托管群集中 Windows VM 的配置文件。

windowsProfile?: ManagedClusterWindowsProfile

属性值

workloadAutoScalerProfile

容器服务群集的工作负荷自动缩放程序配置文件。

workloadAutoScalerProfile?: ManagedClusterWorkloadAutoScalerProfile

属性值