ManagedClusterAgentPoolProfile コンストラクター
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
ManagedClusterAgentPoolProfile()
ManagedClusterAgentPoolProfile クラスの新しいインスタンスを初期化します。
public ManagedClusterAgentPoolProfile ();
Public Sub New ()
適用対象
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 クラスの新しいインスタンスを初期化します。
public ManagedClusterAgentPoolProfile (string name, int? count = default, Microsoft.Azure.Management.ContainerService.Fluent.Models.ContainerServiceVMSizeTypes vmSize = default, int? osDiskSizeGB = default, Microsoft.Azure.Management.ContainerService.Fluent.Models.OSDiskType osDiskType = default, Microsoft.Azure.Management.ContainerService.Fluent.Models.KubeletDiskType kubeletDiskType = default, string vnetSubnetID = default, string podSubnetID = default, int? maxPods = default, Microsoft.Azure.Management.ContainerService.Fluent.Models.OSType osType = default, int? maxCount = default, int? minCount = default, bool? enableAutoScaling = default, Microsoft.Azure.Management.ContainerService.Fluent.Models.AgentPoolType type = default, Microsoft.Azure.Management.ContainerService.Fluent.Models.AgentPoolMode mode = default, string orchestratorVersion = default, string nodeImageVersion = default, Microsoft.Azure.Management.ContainerService.Fluent.Models.AgentPoolUpgradeSettings upgradeSettings = default, string provisioningState = default, Microsoft.Azure.Management.ContainerService.Fluent.Models.PowerState powerState = default, System.Collections.Generic.IList<string> availabilityZones = default, bool? enableNodePublicIP = default, Microsoft.Azure.Management.ContainerService.Fluent.Models.ScaleSetPriority scaleSetPriority = default, Microsoft.Azure.Management.ContainerService.Fluent.Models.ScaleSetEvictionPolicy scaleSetEvictionPolicy = default, double? spotMaxPrice = default, System.Collections.Generic.IDictionary<string,string> tags = default, System.Collections.Generic.IDictionary<string,string> nodeLabels = default, System.Collections.Generic.IList<string> nodeTaints = default, string proximityPlacementGroupID = default, Microsoft.Azure.Management.ContainerService.Fluent.Models.KubeletConfig kubeletConfig = default, Microsoft.Azure.Management.ContainerService.Fluent.Models.LinuxOSConfig linuxOSConfig = default, bool? enableEncryptionAtHost = default);
new Microsoft.Azure.Management.ContainerService.Fluent.Models.ManagedClusterAgentPoolProfile : string * Nullable<int> * Microsoft.Azure.Management.ContainerService.Fluent.Models.ContainerServiceVMSizeTypes * Nullable<int> * Microsoft.Azure.Management.ContainerService.Fluent.Models.OSDiskType * Microsoft.Azure.Management.ContainerService.Fluent.Models.KubeletDiskType * string * string * Nullable<int> * Microsoft.Azure.Management.ContainerService.Fluent.Models.OSType * Nullable<int> * Nullable<int> * Nullable<bool> * Microsoft.Azure.Management.ContainerService.Fluent.Models.AgentPoolType * Microsoft.Azure.Management.ContainerService.Fluent.Models.AgentPoolMode * string * string * Microsoft.Azure.Management.ContainerService.Fluent.Models.AgentPoolUpgradeSettings * string * Microsoft.Azure.Management.ContainerService.Fluent.Models.PowerState * System.Collections.Generic.IList<string> * Nullable<bool> * Microsoft.Azure.Management.ContainerService.Fluent.Models.ScaleSetPriority * Microsoft.Azure.Management.ContainerService.Fluent.Models.ScaleSetEvictionPolicy * Nullable<double> * System.Collections.Generic.IDictionary<string, string> * System.Collections.Generic.IDictionary<string, string> * System.Collections.Generic.IList<string> * string * Microsoft.Azure.Management.ContainerService.Fluent.Models.KubeletConfig * Microsoft.Azure.Management.ContainerService.Fluent.Models.LinuxOSConfig * Nullable<bool> -> Microsoft.Azure.Management.ContainerService.Fluent.Models.ManagedClusterAgentPoolProfile
Public Sub New (name As String, Optional count As Nullable(Of Integer) = Nothing, Optional vmSize As ContainerServiceVMSizeTypes = Nothing, Optional osDiskSizeGB As Nullable(Of Integer) = Nothing, Optional osDiskType As OSDiskType = Nothing, Optional kubeletDiskType As KubeletDiskType = Nothing, Optional vnetSubnetID As String = Nothing, Optional podSubnetID As String = Nothing, Optional maxPods As Nullable(Of Integer) = Nothing, Optional osType As OSType = Nothing, Optional maxCount As Nullable(Of Integer) = Nothing, Optional minCount As Nullable(Of Integer) = Nothing, Optional enableAutoScaling As Nullable(Of Boolean) = Nothing, Optional type As AgentPoolType = Nothing, Optional mode As AgentPoolMode = Nothing, Optional orchestratorVersion As String = Nothing, Optional nodeImageVersion As String = Nothing, Optional upgradeSettings As AgentPoolUpgradeSettings = Nothing, Optional provisioningState As String = Nothing, Optional powerState As PowerState = Nothing, Optional availabilityZones As IList(Of String) = Nothing, Optional enableNodePublicIP As Nullable(Of Boolean) = Nothing, Optional scaleSetPriority As ScaleSetPriority = Nothing, Optional scaleSetEvictionPolicy As ScaleSetEvictionPolicy = Nothing, Optional spotMaxPrice As Nullable(Of Double) = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional nodeLabels As IDictionary(Of String, String) = Nothing, Optional nodeTaints As IList(Of String) = Nothing, Optional proximityPlacementGroupID As String = Nothing, Optional kubeletConfig As KubeletConfig = Nothing, Optional linuxOSConfig As LinuxOSConfig = Nothing, Optional enableEncryptionAtHost As Nullable(Of Boolean) = Nothing)
パラメーター
- name
- String
サブスクリプションとリソース グループのコンテキストにおけるエージェント プール プロファイルの一意の名前。
Docker コンテナーをホストするエージェント (VM) の数。 使用できる値は、ユーザー プールの場合は 0 から 100 (含む) の範囲、システム プールの場合は 1 から 100 (含む) の範囲である必要があります。 既定値は 1 です。
- vmSize
- ContainerServiceVMSizeTypes
エージェント 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_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_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_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_NV12'、 'Standard_NV24'、'Standard_NV6'
このマスター/エージェント プール内のすべてのマシンのディスク サイズを指定するために使用する OS ディスク サイズ (GB)。 0 を指定すると、指定された vmSize に従って既定の osDisk サイズが適用されます。
- osDiskType
- OSDiskType
特定のエージェント プール内のマシンに使用される OS ディスクの種類。 使用できる値は、'エフェメラル' と 'Managed' です。 既定値は 'Managed' です。 作成後は変更できない場合があります。 使用可能な値は、'Managed'、'Ephemeral' です。
- kubeletDiskType
- KubeletDiskType
KubeletDiskType は、emptyDir ボリューム、コンテナー ランタイム データ ルート、および Kubelet エフェメラル ストレージの配置を決定します。 現在、1 つの値 OS が許可されているため、Kubelet はデータに OS ディスクを使用します。 使用可能な値は次のとおりです: 'OS'
- vnetSubnetID
- String
VNet SubnetID は、ノードとポッドに対して VNet のサブネット識別子を指定します
- podSubnetID
- String
Pod SubnetID は、ポッドの VNet のサブネット識別子を指定します。
- osType
- OSType
OS の種類を指定するために使用する OsType。 Linux と Windows から選択します。 既定では Linux です。 使用可能な値は、'Linux'、'Windows' です。
- type
- AgentPoolType
AgentPoolType は、エージェント プールの種類を表します。 使用可能な値は、'VirtualMachineScaleSets'、'AvailabilitySet' です。
- mode
- AgentPoolMode
AgentPoolMode は、エージェント プールのモードを表します。 使用可能な値は、'System'、'User' です。
- orchestratorVersion
- String
マネージド クラスターの作成時に指定されたオーケストレーターのバージョン。
- nodeImageVersion
- String
ノード イメージのバージョン
- upgradeSettings
- AgentPoolUpgradeSettings
エージェント プールをアップグレードするための設定
- provisioningState
- String
現在のデプロイまたはプロビジョニングの状態。応答にのみ表示されます。
- powerState
- PowerState
エージェント プールが実行中か停止しているかについて説明します
- scaleSetPriority
- ScaleSetPriority
仮想マシン スケール セットの優先順位を指定するために使用する ScaleSetPriority。 既定値は標準です。 指定できる値は、'Spot'、'Regular' です。
- scaleSetEvictionPolicy
- ScaleSetEvictionPolicy
スポット仮想マシン スケール セットの削除ポリシーを指定するために使用する ScaleSetEvictionPolicy。 既定値は [削除] です。 指定できる値は、'Delete'、'Deallocate' です。
SpotMaxPrice は、米国ドルで支払う最大価格を指定するために使用されます。 使用できる値は、0 より大きい任意の 10 進値または -1 です。これは、既定の価格がオンデマンドであることを示します。
- tags
- IDictionary<String,String>
エージェント プール仮想マシン スケール セットに永続化するエージェント プール タグ。
- nodeLabels
- IDictionary<String,String>
エージェント プール内のすべてのノードに保持されるエージェント プール ノード ラベル。
- proximityPlacementGroupID
- String
近接配置グループの ID。
- kubeletConfig
- KubeletConfig
KubeletConfig は、エージェント ノードでの kubelet の構成を指定します。
- linuxOSConfig
- LinuxOSConfig
LinuxOSConfig では、Linux エージェント ノードの OS 構成を指定します。
適用対象
Azure SDK for .NET