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

ManagedClusterAgentPoolProfile 类

定义

容器服务代理池的配置文件。

public class ManagedClusterAgentPoolProfile : Microsoft.Azure.Management.ContainerService.Fluent.Models.ManagedClusterAgentPoolProfileProperties
type ManagedClusterAgentPoolProfile = class
    inherit ManagedClusterAgentPoolProfileProperties
Public Class ManagedClusterAgentPoolProfile
Inherits ManagedClusterAgentPoolProfileProperties
继承
ManagedClusterAgentPoolProfile

构造函数

ManagedClusterAgentPoolProfile()

初始化 ManagedClusterAgentPoolProfile 类的新实例。

ManagedClusterAgentPoolProfile(String, Nullable<Int32>, ContainerServiceVMSizeTypes, Nullable<Int32>, OSDiskType, KubeletDiskType, String, String, Nullable<Int32>, OSType, Nullable<Int32>, Nullable<Int32>, Nullable<Boolean>, AgentPoolType, AgentPoolMode, String, String, AgentPoolUpgradeSettings, String, PowerState, IList<String>, Nullable<Boolean>, ScaleSetPriority, ScaleSetEvictionPolicy, Nullable<Double>, IDictionary<String, String>, IDictionary<String,String>, IList<String>, String, KubeletConfig, LinuxOSConfig, Nullable<Boolean>)

初始化 ManagedClusterAgentPoolProfile 类的新实例。

属性

AvailabilityZones

获取或设置节点的可用性区域。 必须使用 VirtualMachineScaleSets AgentPoolType。

(继承自 ManagedClusterAgentPoolProfileProperties)
Count

获取或设置用于托管 docker 容器 (VM) 代理的数目。 用户池的允许值必须在 0 到 100 ((包括) )范围内,系统池的) 范围为 1 到 100 (。 默认值为 1。

(继承自 ManagedClusterAgentPoolProfileProperties)
EnableAutoScaling

获取或设置是否启用自动缩放程序

(继承自 ManagedClusterAgentPoolProfileProperties)
EnableEncryptionAtHost

获取或设置是否启用 EncryptionAtHost

(继承自 ManagedClusterAgentPoolProfileProperties)
EnableNodePublicIP

获取或设置为节点启用公共 IP

(继承自 ManagedClusterAgentPoolProfileProperties)
KubeletConfig

获取或设置 kubeletConfig 指定代理节点上 kubelet 的配置。

(继承自 ManagedClusterAgentPoolProfileProperties)
KubeletDiskType

获取或设置 kubeletDiskType 确定 emptyDir 卷、容器运行时数据根和 Kubelet 临时存储的位置。 目前允许一个值 OS,导致 Kubelet 使用 OS 磁盘获取数据。 可能的值包括:“OS”

(继承自 ManagedClusterAgentPoolProfileProperties)
LinuxOSConfig

获取或设置 linuxOSConfig 指定 linux 代理节点的 OS 配置。

(继承自 ManagedClusterAgentPoolProfileProperties)
MaxCount

获取或设置自动缩放的最大节点数

(继承自 ManagedClusterAgentPoolProfileProperties)
MaxPods

获取或设置可在节点上运行的 Pod 的最大数目。

(继承自 ManagedClusterAgentPoolProfileProperties)
MinCount

获取或设置用于自动缩放的最小节点数

(继承自 ManagedClusterAgentPoolProfileProperties)
Mode

获取或设置 agentPoolMode 表示代理池的模式。 可能的值包括:“System”、“User”

(继承自 ManagedClusterAgentPoolProfileProperties)
Name

获取或设置订阅和资源组上下文中代理池配置文件的唯一名称。

NodeImageVersion

获取节点映像的版本

(继承自 ManagedClusterAgentPoolProfileProperties)
NodeLabels

获取或设置代理池节点标签,以便跨代理池中的所有节点持久保存。

(继承自 ManagedClusterAgentPoolProfileProperties)
NodeTaints

获取或设置在节点池创建和缩放期间添加到新节点的污点。 例如,key=value:NoSchedule。

(继承自 ManagedClusterAgentPoolProfileProperties)
OrchestratorVersion

获取或设置创建托管群集时指定的业务流程协调程序版本。

(继承自 ManagedClusterAgentPoolProfileProperties)
OsDiskSizeGB

获取或设置 OS 磁盘大小(以 GB 为单位),用于指定此主/代理池中每台计算机的磁盘大小。 如果指定 0,它将根据指定的 vmSize 应用默认 osDisk 大小。

(继承自 ManagedClusterAgentPoolProfileProperties)
OsDiskType

获取或设置要用于给定代理池中的计算机的 OS 磁盘类型。 允许的值为“临时”和“Managed”。 默认为“托管”。 创建后可能不会更改。 可能的值包括:“Managed”、“Ephemeral”

(继承自 ManagedClusterAgentPoolProfileProperties)
OsType

获取或设置用于指定 os 类型的 osType。 从 Linux 和 Windows 中进行选择。 默认为 Linux。 可能的值包括:“Linux”、“Windows”

(继承自 ManagedClusterAgentPoolProfileProperties)
PodSubnetID

获取或设置 Pod SubnetID 指定 Pod 的 VNet 子网标识符。

(继承自 ManagedClusterAgentPoolProfileProperties)
PowerState

获取描述代理池是正在运行还是已停止

(继承自 ManagedClusterAgentPoolProfileProperties)
ProvisioningState

获取当前部署或预配状态,该状态仅显示在响应中。

(继承自 ManagedClusterAgentPoolProfileProperties)
ProximityPlacementGroupID

获取或设置邻近放置组的 ID。

(继承自 ManagedClusterAgentPoolProfileProperties)
ScaleSetEvictionPolicy

获取或设置 scaleSetEvictionPolicy,用于为现成虚拟机规模集指定逐出策略。 默认为“删除”。 可能的值包括:“Delete”、“Deallocate”

(继承自 ManagedClusterAgentPoolProfileProperties)
ScaleSetPriority

获取或设置用于指定虚拟机规模集优先级的 scaleSetPriority。 默认为“常规”。 可能的值包括:“Spot”、“Regular”

(继承自 ManagedClusterAgentPoolProfileProperties)
SpotMaxPrice

获取或设置 spotMaxPrice,用于指定愿意以美元支付的最高价格。 可能的值是大于零或 -1 的任何十进制值,指示默认价格是按需的。

(继承自 ManagedClusterAgentPoolProfileProperties)
Tags

获取或设置要保留在代理池虚拟机规模集上的代理池标记。

(继承自 ManagedClusterAgentPoolProfileProperties)
Type

获取或设置 agentPoolType 表示代理池的类型。 可能的值包括:“VirtualMachineScaleSets”、“AvailabilitySet”

(继承自 ManagedClusterAgentPoolProfileProperties)
UpgradeSettings

获取或设置用于升级代理池的设置

(继承自 ManagedClusterAgentPoolProfileProperties)
VmSize

获取或设置代理 VM 的大小。 可能的值包括:“Standard_A1”、“Standard_A10”、“Standard_A11”、“Standard_A1_v2”、“Standard_A2”、“Standard_A2_v2”、“Standard_A2m_v2”、“Standard_A3”、 “Standard_A4”、“Standard_A4_v2”、“Standard_A4m_v2”、“Standard_A5”、“Standard_A6”、“Standard_A7”、“Standard_A8”、“Standard_A8_v2”、“Standard_A8m_v2”、“Standard_A9”、“Standard_B2ms”、“Standard_B2s”、“Standard_B4ms”、“Standard_B8ms”、“Standard_D1”, “Standard_D11”、“Standard_D11_v2”、“Standard_D11_v2_Promo”, “Standard_D12”、“Standard_D12_v2”、“Standard_D12_v2_Promo”、“Standard_D13”、“Standard_D13_v2”、“Standard_D13_v2_Promo”、“Standard_D14”、“Standard_D14_v2”、“Standard_D14_v2_Promo”、“Standard_D15_v2”、“Standard_D16_v3”、“Standard_D16s_v3”、“Standard_D1_v2”、“Standard_D2”、“Standard_D2_v2”、“Standard_D2_v2_Promo”, “Standard_D2_v3”、“Standard_D2s_v3”、“Standard_D3”、“Standard_D32_v3”, “Standard_D32s_v3”、“Standard_D3_v2”、“Standard_D3_v2_Promo”、“Standard_D4”、“Standard_D4_v2”、“Standard_D4_v2_Promo”、“Standard_D4_v3”、“Standard_D4s_v3”、“Standard_D5_v2”、“Standard_D5_v2_Promo”、“Standard_D64_v3”、“Standard_D64s_v3”、“Standard_D8_v3”、“Standard_D8s_v3”、“Standard_DS1”, “Standard_DS11”、“Standard_DS11_v2”、“Standard_DS11_v2_Promo”、“Standard_DS12”、“Standard_DS12_v2”、“Standard_DS12_v2_Promo”, “Standard_DS13”、“Standard_DS13-2_v2”、“Standard_DS13 4_v2”、“Standard_DS13_v2”、“Standard_DS13_v2_Promo”、“Standard_DS14”、“Standard_DS14-4_v2”、“Standard_DS14-8_v2”、“Standard_DS14_v2”、“Standard_DS14_v2_Promo”、“Standard_DS15_v2”、“Standard_DS1_v2”、“Standard_DS2”, “Standard_DS2_v2”、“Standard_DS2_v2_Promo”、“Standard_DS3”、“Standard_DS3_v2”, “Standard_DS3_v2_Promo”、“Standard_DS4”、“Standard_DS4_v2”、“Standard_DS4_v2_Promo”、“Standard_DS5_v2”、“Standard_DS5_v2_Promo”、“Standard_E16_v3”、“Standard_E16s_v3”、“Standard_E2_v3”、“Standard_E2s_v3”、“Standard_E32-16s_v3”、“Standard_E32-8s_v3”、“Standard_E32_v3”、“Standard_E32s_v3”, “Standard_E4_v3”、“Standard_E4s_v3”、“Standard_E64-16s_v3”、“Standard_E64-32s_v3”、“Standard_E64_v3”、“Standard_E64s_v3”、“Standard_E8_v3”, “Standard_E8s_v3”、“Standard_F1”、“Standard_F16”、“Standard_F16s”、“Standard_F16s_v2”、“Standard_F1s”、“Standard_F2”、“Standard_F2s”、“Standard_F2s_v2”、“Standard_F32s_v2”、“Standard_F4”、“Standard_F4s”、“Standard_F4s_v2”、“Standard_F64s_v2”、“Standard_F72s_v2”、” “Standard_F8”、“Standard_F8s”、“Standard_F8s_v2”、“Standard_G1”、“Standard_G2”、“Standard_G3”、“Standard_G4”、“Standard_G5”、“Standard_GS1”、“Standard_GS2”、“Standard_GS3”、“Standard_GS4”、“Standard_GS4-4”、“Standard_GS4-8”, “Standard_GS5”、“Standard_GS5-16”、“Standard_GS5-8”、“Standard_H16”、“Standard_H16m”、“Standard_H16mr”、“Standard_H16r”、“Standard_H8”、“Standard_H8m”、“Standard_L16s”、“Standard_L32s”、“Standard_L4s”、“Standard_L8s”、“Standard_M128-32ms”, “Standard_M128-64ms”、“Standard_M128ms”、“Standard_M128s”、“Standard_M64-16ms”、“Standard_M64-32ms”、“Standard_M64ms”、“Standard_M64s”、“Standard_NC12”、“Standard_NC12s_v2”、 “Standard_NC12s_v3”、“Standard_NC24”、“Standard_NC24r”、“Standard_NC24rs_v2”、“Standard_NC24rs_v3”、“Standard_NC24s_v2”、“Standard_NC24s_v3”、“Standard_NC6”、“Standard_NC6s_v2”、“Standard_NC6s_v3”、“Standard_ND12s”、“Standard_ND24rs”、“Standard_ND24s”、“Standard_ND6s”、“Standard_NV12”, “Standard_NV24”、“Standard_NV6”

(继承自 ManagedClusterAgentPoolProfileProperties)
VnetSubnetID

获取或设置 vNet SubnetID 指定节点(可能为 Pod)的 VNet 子网标识符

(继承自 ManagedClusterAgentPoolProfileProperties)

方法

Validate()

验证 对象。

适用于