ManagedClusterProperties interface
托管群集的属性。
属性
| aad |
Azure Active Directory 配置。 |
| addon |
托管群集加载项的配置文件。 |
| agent |
代理池属性。 |
| api |
托管群集 API 服务器的访问配置文件。 |
| auto |
启用时要应用于群集自动缩放程序的参数 |
| auto |
自动升级配置。 |
| creation |
如果使用快照创建/升级群集,则用于指定源快照 ID 的 CreationData。 |
| disable |
如果设置为 true,将禁用此群集的静态凭据。 这只能在启用了 AAD 的托管群集上使用。 有关详细信息,请参阅 禁用本地帐户。 |
| disk |
此格式为:“/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{encryptionSetName}” |
| dns |
创建托管群集后,无法更新此功能。 |
| enable |
默认值为 false。 可以在创建和更新托管群集时启用/禁用它。 有关命名空间作为 ARM 资源的更多详细信息,请参阅 https://aka.ms/NamespaceARMResource。 |
| enable |
(弃用)是否启用 Kubernetes Pod 安全策略(预览版)。 此功能设置为在 2020 年 10 月 15 日删除。 有关详细信息,请查看 aka.ms/aks/azpodpolicy。 |
| enableRBAC | 是否启用 Kubernetes Role-Based 访问控制。 |
| fqdn |
创建托管群集后,无法更新此功能。 |
| http |
使用 HTTP 代理服务器预配群集的配置。 |
| identity |
与群集关联的标识。 |
| ingress |
托管群集的入口配置文件。 |
| kubernetes |
升级支持的 AKS 群集时,无法跳过 Kubernetes 次要版本。 所有升级都必须按主版本号按顺序执行。 例如,允许在 1.14.x -> 1.15.x 或 1.15.x 之间升级> 1.16.x,但不允许使用 1.14.x -> 1.16.x。 有关更多详细信息,请参阅 升级 AKS 群集。 |
| linux |
托管群集中 Linux VM 的配置文件。 |
| network |
网络配置文件。 |
| node |
包含代理池节点的资源组的名称。 |
| oidc |
托管群集的 OIDC 颁发者配置文件。 |
| pod |
有关 AAD Pod 标识集成的详细信息,请参阅 使用 AAD Pod 标识。 |
| private |
与群集关联的专用链接资源。 |
| public |
允许或拒绝 AKS 的公共网络访问 |
| security |
托管群集的安全配置文件。 |
| service |
有关群集用于作 Azure API 的服务主体标识的信息。 |
| storage |
托管群集的存储配置文件。 |
| windows |
托管群集中 Windows VM 的配置文件。 |
| workload |
容器服务群集的工作负荷自动缩放程序配置文件。 |
属性详细信息
aadProfile
addonProfiles
托管群集加载项的配置文件。
addonProfiles?: Record<string, ManagedClusterAddonProfile>
属性值
Record<string, ManagedClusterAddonProfile>
agentPoolProfiles
apiServerAccessProfile
托管群集 API 服务器的访问配置文件。
apiServerAccessProfile?: ManagedClusterAPIServerAccessProfile
属性值
autoScalerProfile
启用时要应用于群集自动缩放程序的参数
autoScalerProfile?: ManagedClusterPropertiesAutoScalerProfile
属性值
autoUpgradeProfile
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
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
networkProfile
nodeResourceGroup
包含代理池节点的资源组的名称。
nodeResourceGroup?: string
属性值
string
oidcIssuerProfile
托管群集的 OIDC 颁发者配置文件。
oidcIssuerProfile?: ManagedClusterOidcIssuerProfile
属性值
podIdentityProfile
privateLinkResources
publicNetworkAccess
允许或拒绝 AKS 的公共网络访问
publicNetworkAccess?: "Enabled" | "Disabled"
属性值
"Enabled" | "Disabled"
securityProfile
servicePrincipalProfile
有关群集用于作 Azure API 的服务主体标识的信息。
servicePrincipalProfile?: ManagedClusterServicePrincipalProfile
属性值
storageProfile
windowsProfile
托管群集中 Windows VM 的配置文件。
windowsProfile?: ManagedClusterWindowsProfile
属性值
workloadAutoScalerProfile
容器服务群集的工作负荷自动缩放程序配置文件。
workloadAutoScalerProfile?: ManagedClusterWorkloadAutoScalerProfile