pulumi-alicloud 3.81.0a1750224117__py3-none-any.whl → 3.82.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-alicloud might be problematic. Click here for more details.
- pulumi_alicloud/__init__.py +40 -0
- pulumi_alicloud/alikafka/__init__.py +2 -0
- pulumi_alicloud/alikafka/_inputs.py +450 -0
- pulumi_alicloud/alikafka/instance.py +331 -95
- pulumi_alicloud/alikafka/outputs.py +346 -0
- pulumi_alicloud/cdn/get_service.py +4 -4
- pulumi_alicloud/cen/get_transit_router_route_table_propagations.py +116 -21
- pulumi_alicloud/cen/get_transit_router_route_tables.py +35 -29
- pulumi_alicloud/cen/get_transit_router_vpn_attachments.py +178 -59
- pulumi_alicloud/cen/outputs.py +56 -41
- pulumi_alicloud/cloudfirewall/__init__.py +1 -0
- pulumi_alicloud/cloudfirewall/policy_advanced_config.py +165 -0
- pulumi_alicloud/cs/_inputs.py +54 -0
- pulumi_alicloud/cs/node_pool.py +158 -45
- pulumi_alicloud/cs/outputs.py +51 -0
- pulumi_alicloud/dfs/vsc_mount_point.py +4 -4
- pulumi_alicloud/ecs/_inputs.py +66 -0
- pulumi_alicloud/ecs/ecs_network_interface.py +47 -0
- pulumi_alicloud/ecs/get_ecs_key_pairs.py +57 -13
- pulumi_alicloud/ecs/get_ecs_launch_templates.py +15 -14
- pulumi_alicloud/ecs/get_key_pairs.py +1 -1
- pulumi_alicloud/ecs/instance.py +115 -0
- pulumi_alicloud/ecs/outputs.py +176 -80
- pulumi_alicloud/eflo/node_group.py +103 -7
- pulumi_alicloud/emrv2/_inputs.py +74 -0
- pulumi_alicloud/emrv2/outputs.py +65 -0
- pulumi_alicloud/esa/__init__.py +2 -0
- pulumi_alicloud/esa/certificate.py +7 -28
- pulumi_alicloud/esa/custom_scene_policy.py +484 -0
- pulumi_alicloud/esa/version.py +406 -0
- pulumi_alicloud/eventbridge/service_linked_role.py +25 -31
- pulumi_alicloud/ga/forwarding_rule.py +2 -2
- pulumi_alicloud/gpdb/instance.py +28 -28
- pulumi_alicloud/hbr/__init__.py +1 -0
- pulumi_alicloud/hbr/get_udm_snapshots.py +282 -0
- pulumi_alicloud/hbr/ots_backup_plan.py +2 -2
- pulumi_alicloud/hbr/outputs.py +96 -0
- pulumi_alicloud/hbr/replication_vault.py +167 -41
- pulumi_alicloud/hbr/vault.py +21 -7
- pulumi_alicloud/kms/secret.py +42 -28
- pulumi_alicloud/maxcompute/_inputs.py +26 -6
- pulumi_alicloud/maxcompute/outputs.py +18 -4
- pulumi_alicloud/maxcompute/project.py +50 -3
- pulumi_alicloud/message/__init__.py +1 -0
- pulumi_alicloud/message/service_service.py +132 -0
- pulumi_alicloud/message/service_subscription.py +37 -23
- pulumi_alicloud/mns/get_service.py +8 -4
- pulumi_alicloud/mongodb/instance.py +63 -16
- pulumi_alicloud/mongodb/sharding_instance.py +249 -0
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/ram/role.py +306 -105
- pulumi_alicloud/rds/_inputs.py +0 -9
- pulumi_alicloud/rds/custom.py +360 -31
- pulumi_alicloud/rds/outputs.py +0 -6
- pulumi_alicloud/threatdetection/__init__.py +1 -0
- pulumi_alicloud/threatdetection/cycle_task.py +731 -0
- pulumi_alicloud/vpc/network_interface.py +34 -0
- {pulumi_alicloud-3.81.0a1750224117.dist-info → pulumi_alicloud-3.82.0.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.81.0a1750224117.dist-info → pulumi_alicloud-3.82.0.dist-info}/RECORD +61 -53
- {pulumi_alicloud-3.81.0a1750224117.dist-info → pulumi_alicloud-3.82.0.dist-info}/WHEEL +0 -0
- {pulumi_alicloud-3.81.0a1750224117.dist-info → pulumi_alicloud-3.82.0.dist-info}/top_level.txt +0 -0
pulumi_alicloud/cs/node_pool.py
CHANGED
|
@@ -23,8 +23,6 @@ __all__ = ['NodePoolArgs', 'NodePool']
|
|
|
23
23
|
class NodePoolArgs:
|
|
24
24
|
def __init__(__self__, *,
|
|
25
25
|
cluster_id: pulumi.Input[builtins.str],
|
|
26
|
-
instance_types: pulumi.Input[Sequence[pulumi.Input[builtins.str]]],
|
|
27
|
-
vswitch_ids: pulumi.Input[Sequence[pulumi.Input[builtins.str]]],
|
|
28
26
|
auto_renew: Optional[pulumi.Input[builtins.bool]] = None,
|
|
29
27
|
auto_renew_period: Optional[pulumi.Input[builtins.int]] = None,
|
|
30
28
|
cis_enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
@@ -33,12 +31,14 @@ class NodePoolArgs:
|
|
|
33
31
|
data_disks: Optional[pulumi.Input[Sequence[pulumi.Input['NodePoolDataDiskArgs']]]] = None,
|
|
34
32
|
deployment_set_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
35
33
|
desired_size: Optional[pulumi.Input[builtins.str]] = None,
|
|
34
|
+
eflo_node_group: Optional[pulumi.Input['NodePoolEfloNodeGroupArgs']] = None,
|
|
36
35
|
force_delete: Optional[pulumi.Input[builtins.bool]] = None,
|
|
37
36
|
format_disk: Optional[pulumi.Input[builtins.bool]] = None,
|
|
38
37
|
image_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
39
38
|
image_type: Optional[pulumi.Input[builtins.str]] = None,
|
|
40
39
|
install_cloud_monitor: Optional[pulumi.Input[builtins.bool]] = None,
|
|
41
40
|
instance_charge_type: Optional[pulumi.Input[builtins.str]] = None,
|
|
41
|
+
instance_types: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
42
42
|
instances: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
43
43
|
internet_charge_type: Optional[pulumi.Input[builtins.str]] = None,
|
|
44
44
|
internet_max_bandwidth_out: Optional[pulumi.Input[builtins.int]] = None,
|
|
@@ -92,14 +92,14 @@ class NodePoolArgs:
|
|
|
92
92
|
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
93
93
|
taints: Optional[pulumi.Input[Sequence[pulumi.Input['NodePoolTaintArgs']]]] = None,
|
|
94
94
|
tee_config: Optional[pulumi.Input['NodePoolTeeConfigArgs']] = None,
|
|
95
|
+
type: Optional[pulumi.Input[builtins.str]] = None,
|
|
95
96
|
unschedulable: Optional[pulumi.Input[builtins.bool]] = None,
|
|
96
97
|
update_nodes: Optional[pulumi.Input[builtins.bool]] = None,
|
|
97
|
-
user_data: Optional[pulumi.Input[builtins.str]] = None
|
|
98
|
+
user_data: Optional[pulumi.Input[builtins.str]] = None,
|
|
99
|
+
vswitch_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None):
|
|
98
100
|
"""
|
|
99
101
|
The set of arguments for constructing a NodePool resource.
|
|
100
102
|
:param pulumi.Input[builtins.str] cluster_id: The id of kubernetes cluster.
|
|
101
|
-
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] instance_types: In the node instance specification list, you can select multiple instance specifications as alternatives. When each node is created, it will try to purchase from the first specification until it is created successfully. The final purchased instance specifications may vary with inventory changes.
|
|
102
|
-
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] vswitch_ids: The vswitches used by node pool workers.
|
|
103
103
|
:param pulumi.Input[builtins.bool] auto_renew: Whether to enable automatic renewal for nodes in the node pool takes effect only when `instance_charge_type` is set to `PrePaid`. Default value: `false`. Valid values:
|
|
104
104
|
:param pulumi.Input[builtins.int] auto_renew_period: The automatic renewal period of nodes in the node pool takes effect only when you select Prepaid and Automatic Renewal, and is a required value. When `PeriodUnit = Month`, the value range is {1, 2, 3, 6, 12}. Default value: 1.
|
|
105
105
|
:param pulumi.Input[builtins.bool] cis_enabled: Whether enable worker node to support cis security reinforcement, its valid value `true` or `false`. Default to `false` and apply to AliyunLinux series. Use `security_hardening_os` instead.
|
|
@@ -108,6 +108,7 @@ class NodePoolArgs:
|
|
|
108
108
|
:param pulumi.Input[Sequence[pulumi.Input['NodePoolDataDiskArgs']]] data_disks: Configure the data disk of the node in the node pool. See `data_disks` below.
|
|
109
109
|
:param pulumi.Input[builtins.str] deployment_set_id: The deployment set of node pool. Specify the deploymentSet to ensure that the nodes in the node pool can be distributed on different physical machines.
|
|
110
110
|
:param pulumi.Input[builtins.str] desired_size: Number of expected nodes in the node pool.
|
|
111
|
+
:param pulumi.Input['NodePoolEfloNodeGroupArgs'] eflo_node_group: Lingjun node pool configuration. See `eflo_node_group` below.
|
|
111
112
|
:param pulumi.Input[builtins.bool] force_delete: Whether to force deletion.
|
|
112
113
|
:param pulumi.Input[builtins.bool] format_disk: After you select this check box, if data disks have been attached to the specified ECS instances and the file system of the last data disk is uninitialized, the system automatically formats the last data disk to ext4 and mounts the data disk to /var/lib/docker and /var/lib/kubelet. The original data on the disk will be cleared. Make sure that you back up data in advance. If no data disk is mounted on the ECS instance, no new data disk will be purchased. Default is `false`.
|
|
113
114
|
:param pulumi.Input[builtins.str] image_id: The custom image ID. The system-provided image is used by default.
|
|
@@ -120,9 +121,11 @@ class NodePoolArgs:
|
|
|
120
121
|
- `Windows` : Windows image.
|
|
121
122
|
- `WindowsCore` : WindowsCore image.
|
|
122
123
|
- `ContainerOS` : container-optimized image.
|
|
123
|
-
- `Ubuntu`:
|
|
124
|
+
- `Ubuntu`: Ubuntu image.
|
|
125
|
+
- `AliyunLinux3ContainerOptimized`: Alinux3 container-optimized image.
|
|
124
126
|
:param pulumi.Input[builtins.bool] install_cloud_monitor: Whether to install cloud monitoring on the ECS node. After installation, you can view the monitoring information of the created ECS instance in the cloud monitoring console and recommend enable it. Default value: `false`. Valid values:
|
|
125
127
|
:param pulumi.Input[builtins.str] instance_charge_type: Node payment type. Valid values: `PostPaid`, `PrePaid`, default is `PostPaid`. If value is `PrePaid`, the arguments `period`, `period_unit`, `auto_renew` and `auto_renew_period` are required.
|
|
128
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] instance_types: In the node instance specification list, you can select multiple instance specifications as alternatives. When each node is created, it will try to purchase from the first specification until it is created successfully. The final purchased instance specifications may vary with inventory changes.
|
|
126
129
|
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] instances: The instance list. Add existing nodes under the same cluster VPC to the node pool.
|
|
127
130
|
:param pulumi.Input[builtins.str] internet_charge_type: The billing method for network usage. Valid values `PayByBandwidth` and `PayByTraffic`. Conflict with `eip_internet_charge_type`, EIP and public network IP can only choose one.
|
|
128
131
|
:param pulumi.Input[builtins.int] internet_max_bandwidth_out: The maximum bandwidth of the public IP address of the node. The unit is Mbps(Mega bit per second). The value range is:\\[1,100\\]
|
|
@@ -196,13 +199,15 @@ class NodePoolArgs:
|
|
|
196
199
|
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] tags: Add tags only for ECS instances. The maximum length of the tag key is 128 characters. The tag key and value cannot start with aliyun or acs:, or contain https:// or http://.
|
|
197
200
|
:param pulumi.Input[Sequence[pulumi.Input['NodePoolTaintArgs']]] taints: A List of Kubernetes taints to assign to the nodes. Detailed below. More information in [Taints and Toleration](https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/). See `taints` below.
|
|
198
201
|
:param pulumi.Input['NodePoolTeeConfigArgs'] tee_config: The configuration about confidential computing for the cluster. See `tee_config` below.
|
|
202
|
+
:param pulumi.Input[builtins.str] type: Node pool type, value range:
|
|
203
|
+
-'ess': common node pool (including hosting function and auto scaling function).
|
|
204
|
+
-'lingjun': Lingjun node pool.
|
|
199
205
|
:param pulumi.Input[builtins.bool] unschedulable: Whether the node after expansion can be scheduled.
|
|
200
206
|
:param pulumi.Input[builtins.bool] update_nodes: Synchronously update node labels and taints.
|
|
201
207
|
:param pulumi.Input[builtins.str] user_data: Node custom data, base64-encoded.
|
|
208
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] vswitch_ids: The vswitches used by node pool workers.
|
|
202
209
|
"""
|
|
203
210
|
pulumi.set(__self__, "cluster_id", cluster_id)
|
|
204
|
-
pulumi.set(__self__, "instance_types", instance_types)
|
|
205
|
-
pulumi.set(__self__, "vswitch_ids", vswitch_ids)
|
|
206
211
|
if auto_renew is not None:
|
|
207
212
|
pulumi.set(__self__, "auto_renew", auto_renew)
|
|
208
213
|
if auto_renew_period is not None:
|
|
@@ -222,6 +227,8 @@ class NodePoolArgs:
|
|
|
222
227
|
pulumi.set(__self__, "deployment_set_id", deployment_set_id)
|
|
223
228
|
if desired_size is not None:
|
|
224
229
|
pulumi.set(__self__, "desired_size", desired_size)
|
|
230
|
+
if eflo_node_group is not None:
|
|
231
|
+
pulumi.set(__self__, "eflo_node_group", eflo_node_group)
|
|
225
232
|
if force_delete is not None:
|
|
226
233
|
pulumi.set(__self__, "force_delete", force_delete)
|
|
227
234
|
if format_disk is not None:
|
|
@@ -234,6 +241,8 @@ class NodePoolArgs:
|
|
|
234
241
|
pulumi.set(__self__, "install_cloud_monitor", install_cloud_monitor)
|
|
235
242
|
if instance_charge_type is not None:
|
|
236
243
|
pulumi.set(__self__, "instance_charge_type", instance_charge_type)
|
|
244
|
+
if instance_types is not None:
|
|
245
|
+
pulumi.set(__self__, "instance_types", instance_types)
|
|
237
246
|
if instances is not None:
|
|
238
247
|
pulumi.set(__self__, "instances", instances)
|
|
239
248
|
if internet_charge_type is not None:
|
|
@@ -352,12 +361,16 @@ class NodePoolArgs:
|
|
|
352
361
|
pulumi.set(__self__, "taints", taints)
|
|
353
362
|
if tee_config is not None:
|
|
354
363
|
pulumi.set(__self__, "tee_config", tee_config)
|
|
364
|
+
if type is not None:
|
|
365
|
+
pulumi.set(__self__, "type", type)
|
|
355
366
|
if unschedulable is not None:
|
|
356
367
|
pulumi.set(__self__, "unschedulable", unschedulable)
|
|
357
368
|
if update_nodes is not None:
|
|
358
369
|
pulumi.set(__self__, "update_nodes", update_nodes)
|
|
359
370
|
if user_data is not None:
|
|
360
371
|
pulumi.set(__self__, "user_data", user_data)
|
|
372
|
+
if vswitch_ids is not None:
|
|
373
|
+
pulumi.set(__self__, "vswitch_ids", vswitch_ids)
|
|
361
374
|
|
|
362
375
|
@property
|
|
363
376
|
@pulumi.getter(name="clusterId")
|
|
@@ -371,30 +384,6 @@ class NodePoolArgs:
|
|
|
371
384
|
def cluster_id(self, value: pulumi.Input[builtins.str]):
|
|
372
385
|
pulumi.set(self, "cluster_id", value)
|
|
373
386
|
|
|
374
|
-
@property
|
|
375
|
-
@pulumi.getter(name="instanceTypes")
|
|
376
|
-
def instance_types(self) -> pulumi.Input[Sequence[pulumi.Input[builtins.str]]]:
|
|
377
|
-
"""
|
|
378
|
-
In the node instance specification list, you can select multiple instance specifications as alternatives. When each node is created, it will try to purchase from the first specification until it is created successfully. The final purchased instance specifications may vary with inventory changes.
|
|
379
|
-
"""
|
|
380
|
-
return pulumi.get(self, "instance_types")
|
|
381
|
-
|
|
382
|
-
@instance_types.setter
|
|
383
|
-
def instance_types(self, value: pulumi.Input[Sequence[pulumi.Input[builtins.str]]]):
|
|
384
|
-
pulumi.set(self, "instance_types", value)
|
|
385
|
-
|
|
386
|
-
@property
|
|
387
|
-
@pulumi.getter(name="vswitchIds")
|
|
388
|
-
def vswitch_ids(self) -> pulumi.Input[Sequence[pulumi.Input[builtins.str]]]:
|
|
389
|
-
"""
|
|
390
|
-
The vswitches used by node pool workers.
|
|
391
|
-
"""
|
|
392
|
-
return pulumi.get(self, "vswitch_ids")
|
|
393
|
-
|
|
394
|
-
@vswitch_ids.setter
|
|
395
|
-
def vswitch_ids(self, value: pulumi.Input[Sequence[pulumi.Input[builtins.str]]]):
|
|
396
|
-
pulumi.set(self, "vswitch_ids", value)
|
|
397
|
-
|
|
398
387
|
@property
|
|
399
388
|
@pulumi.getter(name="autoRenew")
|
|
400
389
|
def auto_renew(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
@@ -492,6 +481,18 @@ class NodePoolArgs:
|
|
|
492
481
|
def desired_size(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
493
482
|
pulumi.set(self, "desired_size", value)
|
|
494
483
|
|
|
484
|
+
@property
|
|
485
|
+
@pulumi.getter(name="efloNodeGroup")
|
|
486
|
+
def eflo_node_group(self) -> Optional[pulumi.Input['NodePoolEfloNodeGroupArgs']]:
|
|
487
|
+
"""
|
|
488
|
+
Lingjun node pool configuration. See `eflo_node_group` below.
|
|
489
|
+
"""
|
|
490
|
+
return pulumi.get(self, "eflo_node_group")
|
|
491
|
+
|
|
492
|
+
@eflo_node_group.setter
|
|
493
|
+
def eflo_node_group(self, value: Optional[pulumi.Input['NodePoolEfloNodeGroupArgs']]):
|
|
494
|
+
pulumi.set(self, "eflo_node_group", value)
|
|
495
|
+
|
|
495
496
|
@property
|
|
496
497
|
@pulumi.getter(name="forceDelete")
|
|
497
498
|
def force_delete(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
@@ -541,7 +542,8 @@ class NodePoolArgs:
|
|
|
541
542
|
- `Windows` : Windows image.
|
|
542
543
|
- `WindowsCore` : WindowsCore image.
|
|
543
544
|
- `ContainerOS` : container-optimized image.
|
|
544
|
-
- `Ubuntu`:
|
|
545
|
+
- `Ubuntu`: Ubuntu image.
|
|
546
|
+
- `AliyunLinux3ContainerOptimized`: Alinux3 container-optimized image.
|
|
545
547
|
"""
|
|
546
548
|
return pulumi.get(self, "image_type")
|
|
547
549
|
|
|
@@ -573,6 +575,18 @@ class NodePoolArgs:
|
|
|
573
575
|
def instance_charge_type(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
574
576
|
pulumi.set(self, "instance_charge_type", value)
|
|
575
577
|
|
|
578
|
+
@property
|
|
579
|
+
@pulumi.getter(name="instanceTypes")
|
|
580
|
+
def instance_types(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
581
|
+
"""
|
|
582
|
+
In the node instance specification list, you can select multiple instance specifications as alternatives. When each node is created, it will try to purchase from the first specification until it is created successfully. The final purchased instance specifications may vary with inventory changes.
|
|
583
|
+
"""
|
|
584
|
+
return pulumi.get(self, "instance_types")
|
|
585
|
+
|
|
586
|
+
@instance_types.setter
|
|
587
|
+
def instance_types(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
588
|
+
pulumi.set(self, "instance_types", value)
|
|
589
|
+
|
|
576
590
|
@property
|
|
577
591
|
@pulumi.getter
|
|
578
592
|
def instances(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
@@ -1233,6 +1247,20 @@ class NodePoolArgs:
|
|
|
1233
1247
|
def tee_config(self, value: Optional[pulumi.Input['NodePoolTeeConfigArgs']]):
|
|
1234
1248
|
pulumi.set(self, "tee_config", value)
|
|
1235
1249
|
|
|
1250
|
+
@property
|
|
1251
|
+
@pulumi.getter
|
|
1252
|
+
def type(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1253
|
+
"""
|
|
1254
|
+
Node pool type, value range:
|
|
1255
|
+
-'ess': common node pool (including hosting function and auto scaling function).
|
|
1256
|
+
-'lingjun': Lingjun node pool.
|
|
1257
|
+
"""
|
|
1258
|
+
return pulumi.get(self, "type")
|
|
1259
|
+
|
|
1260
|
+
@type.setter
|
|
1261
|
+
def type(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1262
|
+
pulumi.set(self, "type", value)
|
|
1263
|
+
|
|
1236
1264
|
@property
|
|
1237
1265
|
@pulumi.getter
|
|
1238
1266
|
def unschedulable(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
@@ -1269,6 +1297,18 @@ class NodePoolArgs:
|
|
|
1269
1297
|
def user_data(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1270
1298
|
pulumi.set(self, "user_data", value)
|
|
1271
1299
|
|
|
1300
|
+
@property
|
|
1301
|
+
@pulumi.getter(name="vswitchIds")
|
|
1302
|
+
def vswitch_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
1303
|
+
"""
|
|
1304
|
+
The vswitches used by node pool workers.
|
|
1305
|
+
"""
|
|
1306
|
+
return pulumi.get(self, "vswitch_ids")
|
|
1307
|
+
|
|
1308
|
+
@vswitch_ids.setter
|
|
1309
|
+
def vswitch_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
1310
|
+
pulumi.set(self, "vswitch_ids", value)
|
|
1311
|
+
|
|
1272
1312
|
|
|
1273
1313
|
@pulumi.input_type
|
|
1274
1314
|
class _NodePoolState:
|
|
@@ -1282,6 +1322,7 @@ class _NodePoolState:
|
|
|
1282
1322
|
data_disks: Optional[pulumi.Input[Sequence[pulumi.Input['NodePoolDataDiskArgs']]]] = None,
|
|
1283
1323
|
deployment_set_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
1284
1324
|
desired_size: Optional[pulumi.Input[builtins.str]] = None,
|
|
1325
|
+
eflo_node_group: Optional[pulumi.Input['NodePoolEfloNodeGroupArgs']] = None,
|
|
1285
1326
|
force_delete: Optional[pulumi.Input[builtins.bool]] = None,
|
|
1286
1327
|
format_disk: Optional[pulumi.Input[builtins.bool]] = None,
|
|
1287
1328
|
image_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
@@ -1344,6 +1385,7 @@ class _NodePoolState:
|
|
|
1344
1385
|
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
1345
1386
|
taints: Optional[pulumi.Input[Sequence[pulumi.Input['NodePoolTaintArgs']]]] = None,
|
|
1346
1387
|
tee_config: Optional[pulumi.Input['NodePoolTeeConfigArgs']] = None,
|
|
1388
|
+
type: Optional[pulumi.Input[builtins.str]] = None,
|
|
1347
1389
|
unschedulable: Optional[pulumi.Input[builtins.bool]] = None,
|
|
1348
1390
|
update_nodes: Optional[pulumi.Input[builtins.bool]] = None,
|
|
1349
1391
|
user_data: Optional[pulumi.Input[builtins.str]] = None,
|
|
@@ -1359,6 +1401,7 @@ class _NodePoolState:
|
|
|
1359
1401
|
:param pulumi.Input[Sequence[pulumi.Input['NodePoolDataDiskArgs']]] data_disks: Configure the data disk of the node in the node pool. See `data_disks` below.
|
|
1360
1402
|
:param pulumi.Input[builtins.str] deployment_set_id: The deployment set of node pool. Specify the deploymentSet to ensure that the nodes in the node pool can be distributed on different physical machines.
|
|
1361
1403
|
:param pulumi.Input[builtins.str] desired_size: Number of expected nodes in the node pool.
|
|
1404
|
+
:param pulumi.Input['NodePoolEfloNodeGroupArgs'] eflo_node_group: Lingjun node pool configuration. See `eflo_node_group` below.
|
|
1362
1405
|
:param pulumi.Input[builtins.bool] force_delete: Whether to force deletion.
|
|
1363
1406
|
:param pulumi.Input[builtins.bool] format_disk: After you select this check box, if data disks have been attached to the specified ECS instances and the file system of the last data disk is uninitialized, the system automatically formats the last data disk to ext4 and mounts the data disk to /var/lib/docker and /var/lib/kubelet. The original data on the disk will be cleared. Make sure that you back up data in advance. If no data disk is mounted on the ECS instance, no new data disk will be purchased. Default is `false`.
|
|
1364
1407
|
:param pulumi.Input[builtins.str] image_id: The custom image ID. The system-provided image is used by default.
|
|
@@ -1371,7 +1414,8 @@ class _NodePoolState:
|
|
|
1371
1414
|
- `Windows` : Windows image.
|
|
1372
1415
|
- `WindowsCore` : WindowsCore image.
|
|
1373
1416
|
- `ContainerOS` : container-optimized image.
|
|
1374
|
-
- `Ubuntu`:
|
|
1417
|
+
- `Ubuntu`: Ubuntu image.
|
|
1418
|
+
- `AliyunLinux3ContainerOptimized`: Alinux3 container-optimized image.
|
|
1375
1419
|
:param pulumi.Input[builtins.bool] install_cloud_monitor: Whether to install cloud monitoring on the ECS node. After installation, you can view the monitoring information of the created ECS instance in the cloud monitoring console and recommend enable it. Default value: `false`. Valid values:
|
|
1376
1420
|
:param pulumi.Input[builtins.str] instance_charge_type: Node payment type. Valid values: `PostPaid`, `PrePaid`, default is `PostPaid`. If value is `PrePaid`, the arguments `period`, `period_unit`, `auto_renew` and `auto_renew_period` are required.
|
|
1377
1421
|
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] instance_types: In the node instance specification list, you can select multiple instance specifications as alternatives. When each node is created, it will try to purchase from the first specification until it is created successfully. The final purchased instance specifications may vary with inventory changes.
|
|
@@ -1450,6 +1494,9 @@ class _NodePoolState:
|
|
|
1450
1494
|
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] tags: Add tags only for ECS instances. The maximum length of the tag key is 128 characters. The tag key and value cannot start with aliyun or acs:, or contain https:// or http://.
|
|
1451
1495
|
:param pulumi.Input[Sequence[pulumi.Input['NodePoolTaintArgs']]] taints: A List of Kubernetes taints to assign to the nodes. Detailed below. More information in [Taints and Toleration](https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/). See `taints` below.
|
|
1452
1496
|
:param pulumi.Input['NodePoolTeeConfigArgs'] tee_config: The configuration about confidential computing for the cluster. See `tee_config` below.
|
|
1497
|
+
:param pulumi.Input[builtins.str] type: Node pool type, value range:
|
|
1498
|
+
-'ess': common node pool (including hosting function and auto scaling function).
|
|
1499
|
+
-'lingjun': Lingjun node pool.
|
|
1453
1500
|
:param pulumi.Input[builtins.bool] unschedulable: Whether the node after expansion can be scheduled.
|
|
1454
1501
|
:param pulumi.Input[builtins.bool] update_nodes: Synchronously update node labels and taints.
|
|
1455
1502
|
:param pulumi.Input[builtins.str] user_data: Node custom data, base64-encoded.
|
|
@@ -1476,6 +1523,8 @@ class _NodePoolState:
|
|
|
1476
1523
|
pulumi.set(__self__, "deployment_set_id", deployment_set_id)
|
|
1477
1524
|
if desired_size is not None:
|
|
1478
1525
|
pulumi.set(__self__, "desired_size", desired_size)
|
|
1526
|
+
if eflo_node_group is not None:
|
|
1527
|
+
pulumi.set(__self__, "eflo_node_group", eflo_node_group)
|
|
1479
1528
|
if force_delete is not None:
|
|
1480
1529
|
pulumi.set(__self__, "force_delete", force_delete)
|
|
1481
1530
|
if format_disk is not None:
|
|
@@ -1612,6 +1661,8 @@ class _NodePoolState:
|
|
|
1612
1661
|
pulumi.set(__self__, "taints", taints)
|
|
1613
1662
|
if tee_config is not None:
|
|
1614
1663
|
pulumi.set(__self__, "tee_config", tee_config)
|
|
1664
|
+
if type is not None:
|
|
1665
|
+
pulumi.set(__self__, "type", type)
|
|
1615
1666
|
if unschedulable is not None:
|
|
1616
1667
|
pulumi.set(__self__, "unschedulable", unschedulable)
|
|
1617
1668
|
if update_nodes is not None:
|
|
@@ -1730,6 +1781,18 @@ class _NodePoolState:
|
|
|
1730
1781
|
def desired_size(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1731
1782
|
pulumi.set(self, "desired_size", value)
|
|
1732
1783
|
|
|
1784
|
+
@property
|
|
1785
|
+
@pulumi.getter(name="efloNodeGroup")
|
|
1786
|
+
def eflo_node_group(self) -> Optional[pulumi.Input['NodePoolEfloNodeGroupArgs']]:
|
|
1787
|
+
"""
|
|
1788
|
+
Lingjun node pool configuration. See `eflo_node_group` below.
|
|
1789
|
+
"""
|
|
1790
|
+
return pulumi.get(self, "eflo_node_group")
|
|
1791
|
+
|
|
1792
|
+
@eflo_node_group.setter
|
|
1793
|
+
def eflo_node_group(self, value: Optional[pulumi.Input['NodePoolEfloNodeGroupArgs']]):
|
|
1794
|
+
pulumi.set(self, "eflo_node_group", value)
|
|
1795
|
+
|
|
1733
1796
|
@property
|
|
1734
1797
|
@pulumi.getter(name="forceDelete")
|
|
1735
1798
|
def force_delete(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
@@ -1779,7 +1842,8 @@ class _NodePoolState:
|
|
|
1779
1842
|
- `Windows` : Windows image.
|
|
1780
1843
|
- `WindowsCore` : WindowsCore image.
|
|
1781
1844
|
- `ContainerOS` : container-optimized image.
|
|
1782
|
-
- `Ubuntu`:
|
|
1845
|
+
- `Ubuntu`: Ubuntu image.
|
|
1846
|
+
- `AliyunLinux3ContainerOptimized`: Alinux3 container-optimized image.
|
|
1783
1847
|
"""
|
|
1784
1848
|
return pulumi.get(self, "image_type")
|
|
1785
1849
|
|
|
@@ -2507,6 +2571,20 @@ class _NodePoolState:
|
|
|
2507
2571
|
def tee_config(self, value: Optional[pulumi.Input['NodePoolTeeConfigArgs']]):
|
|
2508
2572
|
pulumi.set(self, "tee_config", value)
|
|
2509
2573
|
|
|
2574
|
+
@property
|
|
2575
|
+
@pulumi.getter
|
|
2576
|
+
def type(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
2577
|
+
"""
|
|
2578
|
+
Node pool type, value range:
|
|
2579
|
+
-'ess': common node pool (including hosting function and auto scaling function).
|
|
2580
|
+
-'lingjun': Lingjun node pool.
|
|
2581
|
+
"""
|
|
2582
|
+
return pulumi.get(self, "type")
|
|
2583
|
+
|
|
2584
|
+
@type.setter
|
|
2585
|
+
def type(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
2586
|
+
pulumi.set(self, "type", value)
|
|
2587
|
+
|
|
2510
2588
|
@property
|
|
2511
2589
|
@pulumi.getter
|
|
2512
2590
|
def unschedulable(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
@@ -2571,6 +2649,7 @@ class NodePool(pulumi.CustomResource):
|
|
|
2571
2649
|
data_disks: Optional[pulumi.Input[Sequence[pulumi.Input[Union['NodePoolDataDiskArgs', 'NodePoolDataDiskArgsDict']]]]] = None,
|
|
2572
2650
|
deployment_set_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
2573
2651
|
desired_size: Optional[pulumi.Input[builtins.str]] = None,
|
|
2652
|
+
eflo_node_group: Optional[pulumi.Input[Union['NodePoolEfloNodeGroupArgs', 'NodePoolEfloNodeGroupArgsDict']]] = None,
|
|
2574
2653
|
force_delete: Optional[pulumi.Input[builtins.bool]] = None,
|
|
2575
2654
|
format_disk: Optional[pulumi.Input[builtins.bool]] = None,
|
|
2576
2655
|
image_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
@@ -2631,6 +2710,7 @@ class NodePool(pulumi.CustomResource):
|
|
|
2631
2710
|
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
2632
2711
|
taints: Optional[pulumi.Input[Sequence[pulumi.Input[Union['NodePoolTaintArgs', 'NodePoolTaintArgsDict']]]]] = None,
|
|
2633
2712
|
tee_config: Optional[pulumi.Input[Union['NodePoolTeeConfigArgs', 'NodePoolTeeConfigArgsDict']]] = None,
|
|
2713
|
+
type: Optional[pulumi.Input[builtins.str]] = None,
|
|
2634
2714
|
unschedulable: Optional[pulumi.Input[builtins.bool]] = None,
|
|
2635
2715
|
update_nodes: Optional[pulumi.Input[builtins.bool]] = None,
|
|
2636
2716
|
user_data: Optional[pulumi.Input[builtins.str]] = None,
|
|
@@ -2660,6 +2740,7 @@ class NodePool(pulumi.CustomResource):
|
|
|
2660
2740
|
:param pulumi.Input[Sequence[pulumi.Input[Union['NodePoolDataDiskArgs', 'NodePoolDataDiskArgsDict']]]] data_disks: Configure the data disk of the node in the node pool. See `data_disks` below.
|
|
2661
2741
|
:param pulumi.Input[builtins.str] deployment_set_id: The deployment set of node pool. Specify the deploymentSet to ensure that the nodes in the node pool can be distributed on different physical machines.
|
|
2662
2742
|
:param pulumi.Input[builtins.str] desired_size: Number of expected nodes in the node pool.
|
|
2743
|
+
:param pulumi.Input[Union['NodePoolEfloNodeGroupArgs', 'NodePoolEfloNodeGroupArgsDict']] eflo_node_group: Lingjun node pool configuration. See `eflo_node_group` below.
|
|
2663
2744
|
:param pulumi.Input[builtins.bool] force_delete: Whether to force deletion.
|
|
2664
2745
|
:param pulumi.Input[builtins.bool] format_disk: After you select this check box, if data disks have been attached to the specified ECS instances and the file system of the last data disk is uninitialized, the system automatically formats the last data disk to ext4 and mounts the data disk to /var/lib/docker and /var/lib/kubelet. The original data on the disk will be cleared. Make sure that you back up data in advance. If no data disk is mounted on the ECS instance, no new data disk will be purchased. Default is `false`.
|
|
2665
2746
|
:param pulumi.Input[builtins.str] image_id: The custom image ID. The system-provided image is used by default.
|
|
@@ -2672,7 +2753,8 @@ class NodePool(pulumi.CustomResource):
|
|
|
2672
2753
|
- `Windows` : Windows image.
|
|
2673
2754
|
- `WindowsCore` : WindowsCore image.
|
|
2674
2755
|
- `ContainerOS` : container-optimized image.
|
|
2675
|
-
- `Ubuntu`:
|
|
2756
|
+
- `Ubuntu`: Ubuntu image.
|
|
2757
|
+
- `AliyunLinux3ContainerOptimized`: Alinux3 container-optimized image.
|
|
2676
2758
|
:param pulumi.Input[builtins.bool] install_cloud_monitor: Whether to install cloud monitoring on the ECS node. After installation, you can view the monitoring information of the created ECS instance in the cloud monitoring console and recommend enable it. Default value: `false`. Valid values:
|
|
2677
2759
|
:param pulumi.Input[builtins.str] instance_charge_type: Node payment type. Valid values: `PostPaid`, `PrePaid`, default is `PostPaid`. If value is `PrePaid`, the arguments `period`, `period_unit`, `auto_renew` and `auto_renew_period` are required.
|
|
2678
2760
|
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] instance_types: In the node instance specification list, you can select multiple instance specifications as alternatives. When each node is created, it will try to purchase from the first specification until it is created successfully. The final purchased instance specifications may vary with inventory changes.
|
|
@@ -2749,6 +2831,9 @@ class NodePool(pulumi.CustomResource):
|
|
|
2749
2831
|
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] tags: Add tags only for ECS instances. The maximum length of the tag key is 128 characters. The tag key and value cannot start with aliyun or acs:, or contain https:// or http://.
|
|
2750
2832
|
:param pulumi.Input[Sequence[pulumi.Input[Union['NodePoolTaintArgs', 'NodePoolTaintArgsDict']]]] taints: A List of Kubernetes taints to assign to the nodes. Detailed below. More information in [Taints and Toleration](https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/). See `taints` below.
|
|
2751
2833
|
:param pulumi.Input[Union['NodePoolTeeConfigArgs', 'NodePoolTeeConfigArgsDict']] tee_config: The configuration about confidential computing for the cluster. See `tee_config` below.
|
|
2834
|
+
:param pulumi.Input[builtins.str] type: Node pool type, value range:
|
|
2835
|
+
-'ess': common node pool (including hosting function and auto scaling function).
|
|
2836
|
+
-'lingjun': Lingjun node pool.
|
|
2752
2837
|
:param pulumi.Input[builtins.bool] unschedulable: Whether the node after expansion can be scheduled.
|
|
2753
2838
|
:param pulumi.Input[builtins.bool] update_nodes: Synchronously update node labels and taints.
|
|
2754
2839
|
:param pulumi.Input[builtins.str] user_data: Node custom data, base64-encoded.
|
|
@@ -2797,6 +2882,7 @@ class NodePool(pulumi.CustomResource):
|
|
|
2797
2882
|
data_disks: Optional[pulumi.Input[Sequence[pulumi.Input[Union['NodePoolDataDiskArgs', 'NodePoolDataDiskArgsDict']]]]] = None,
|
|
2798
2883
|
deployment_set_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
2799
2884
|
desired_size: Optional[pulumi.Input[builtins.str]] = None,
|
|
2885
|
+
eflo_node_group: Optional[pulumi.Input[Union['NodePoolEfloNodeGroupArgs', 'NodePoolEfloNodeGroupArgsDict']]] = None,
|
|
2800
2886
|
force_delete: Optional[pulumi.Input[builtins.bool]] = None,
|
|
2801
2887
|
format_disk: Optional[pulumi.Input[builtins.bool]] = None,
|
|
2802
2888
|
image_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
@@ -2857,6 +2943,7 @@ class NodePool(pulumi.CustomResource):
|
|
|
2857
2943
|
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
2858
2944
|
taints: Optional[pulumi.Input[Sequence[pulumi.Input[Union['NodePoolTaintArgs', 'NodePoolTaintArgsDict']]]]] = None,
|
|
2859
2945
|
tee_config: Optional[pulumi.Input[Union['NodePoolTeeConfigArgs', 'NodePoolTeeConfigArgsDict']]] = None,
|
|
2946
|
+
type: Optional[pulumi.Input[builtins.str]] = None,
|
|
2860
2947
|
unschedulable: Optional[pulumi.Input[builtins.bool]] = None,
|
|
2861
2948
|
update_nodes: Optional[pulumi.Input[builtins.bool]] = None,
|
|
2862
2949
|
user_data: Optional[pulumi.Input[builtins.str]] = None,
|
|
@@ -2881,14 +2968,13 @@ class NodePool(pulumi.CustomResource):
|
|
|
2881
2968
|
__props__.__dict__["data_disks"] = data_disks
|
|
2882
2969
|
__props__.__dict__["deployment_set_id"] = deployment_set_id
|
|
2883
2970
|
__props__.__dict__["desired_size"] = desired_size
|
|
2971
|
+
__props__.__dict__["eflo_node_group"] = eflo_node_group
|
|
2884
2972
|
__props__.__dict__["force_delete"] = force_delete
|
|
2885
2973
|
__props__.__dict__["format_disk"] = format_disk
|
|
2886
2974
|
__props__.__dict__["image_id"] = image_id
|
|
2887
2975
|
__props__.__dict__["image_type"] = image_type
|
|
2888
2976
|
__props__.__dict__["install_cloud_monitor"] = install_cloud_monitor
|
|
2889
2977
|
__props__.__dict__["instance_charge_type"] = instance_charge_type
|
|
2890
|
-
if instance_types is None and not opts.urn:
|
|
2891
|
-
raise TypeError("Missing required property 'instance_types'")
|
|
2892
2978
|
__props__.__dict__["instance_types"] = instance_types
|
|
2893
2979
|
__props__.__dict__["instances"] = instances
|
|
2894
2980
|
__props__.__dict__["internet_charge_type"] = internet_charge_type
|
|
@@ -2943,11 +3029,10 @@ class NodePool(pulumi.CustomResource):
|
|
|
2943
3029
|
__props__.__dict__["tags"] = tags
|
|
2944
3030
|
__props__.__dict__["taints"] = taints
|
|
2945
3031
|
__props__.__dict__["tee_config"] = tee_config
|
|
3032
|
+
__props__.__dict__["type"] = type
|
|
2946
3033
|
__props__.__dict__["unschedulable"] = unschedulable
|
|
2947
3034
|
__props__.__dict__["update_nodes"] = update_nodes
|
|
2948
3035
|
__props__.__dict__["user_data"] = user_data
|
|
2949
|
-
if vswitch_ids is None and not opts.urn:
|
|
2950
|
-
raise TypeError("Missing required property 'vswitch_ids'")
|
|
2951
3036
|
__props__.__dict__["vswitch_ids"] = vswitch_ids
|
|
2952
3037
|
__props__.__dict__["node_pool_id"] = None
|
|
2953
3038
|
__props__.__dict__["scaling_group_id"] = None
|
|
@@ -2972,6 +3057,7 @@ class NodePool(pulumi.CustomResource):
|
|
|
2972
3057
|
data_disks: Optional[pulumi.Input[Sequence[pulumi.Input[Union['NodePoolDataDiskArgs', 'NodePoolDataDiskArgsDict']]]]] = None,
|
|
2973
3058
|
deployment_set_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
2974
3059
|
desired_size: Optional[pulumi.Input[builtins.str]] = None,
|
|
3060
|
+
eflo_node_group: Optional[pulumi.Input[Union['NodePoolEfloNodeGroupArgs', 'NodePoolEfloNodeGroupArgsDict']]] = None,
|
|
2975
3061
|
force_delete: Optional[pulumi.Input[builtins.bool]] = None,
|
|
2976
3062
|
format_disk: Optional[pulumi.Input[builtins.bool]] = None,
|
|
2977
3063
|
image_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
@@ -3034,6 +3120,7 @@ class NodePool(pulumi.CustomResource):
|
|
|
3034
3120
|
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
3035
3121
|
taints: Optional[pulumi.Input[Sequence[pulumi.Input[Union['NodePoolTaintArgs', 'NodePoolTaintArgsDict']]]]] = None,
|
|
3036
3122
|
tee_config: Optional[pulumi.Input[Union['NodePoolTeeConfigArgs', 'NodePoolTeeConfigArgsDict']]] = None,
|
|
3123
|
+
type: Optional[pulumi.Input[builtins.str]] = None,
|
|
3037
3124
|
unschedulable: Optional[pulumi.Input[builtins.bool]] = None,
|
|
3038
3125
|
update_nodes: Optional[pulumi.Input[builtins.bool]] = None,
|
|
3039
3126
|
user_data: Optional[pulumi.Input[builtins.str]] = None,
|
|
@@ -3054,6 +3141,7 @@ class NodePool(pulumi.CustomResource):
|
|
|
3054
3141
|
:param pulumi.Input[Sequence[pulumi.Input[Union['NodePoolDataDiskArgs', 'NodePoolDataDiskArgsDict']]]] data_disks: Configure the data disk of the node in the node pool. See `data_disks` below.
|
|
3055
3142
|
:param pulumi.Input[builtins.str] deployment_set_id: The deployment set of node pool. Specify the deploymentSet to ensure that the nodes in the node pool can be distributed on different physical machines.
|
|
3056
3143
|
:param pulumi.Input[builtins.str] desired_size: Number of expected nodes in the node pool.
|
|
3144
|
+
:param pulumi.Input[Union['NodePoolEfloNodeGroupArgs', 'NodePoolEfloNodeGroupArgsDict']] eflo_node_group: Lingjun node pool configuration. See `eflo_node_group` below.
|
|
3057
3145
|
:param pulumi.Input[builtins.bool] force_delete: Whether to force deletion.
|
|
3058
3146
|
:param pulumi.Input[builtins.bool] format_disk: After you select this check box, if data disks have been attached to the specified ECS instances and the file system of the last data disk is uninitialized, the system automatically formats the last data disk to ext4 and mounts the data disk to /var/lib/docker and /var/lib/kubelet. The original data on the disk will be cleared. Make sure that you back up data in advance. If no data disk is mounted on the ECS instance, no new data disk will be purchased. Default is `false`.
|
|
3059
3147
|
:param pulumi.Input[builtins.str] image_id: The custom image ID. The system-provided image is used by default.
|
|
@@ -3066,7 +3154,8 @@ class NodePool(pulumi.CustomResource):
|
|
|
3066
3154
|
- `Windows` : Windows image.
|
|
3067
3155
|
- `WindowsCore` : WindowsCore image.
|
|
3068
3156
|
- `ContainerOS` : container-optimized image.
|
|
3069
|
-
- `Ubuntu`:
|
|
3157
|
+
- `Ubuntu`: Ubuntu image.
|
|
3158
|
+
- `AliyunLinux3ContainerOptimized`: Alinux3 container-optimized image.
|
|
3070
3159
|
:param pulumi.Input[builtins.bool] install_cloud_monitor: Whether to install cloud monitoring on the ECS node. After installation, you can view the monitoring information of the created ECS instance in the cloud monitoring console and recommend enable it. Default value: `false`. Valid values:
|
|
3071
3160
|
:param pulumi.Input[builtins.str] instance_charge_type: Node payment type. Valid values: `PostPaid`, `PrePaid`, default is `PostPaid`. If value is `PrePaid`, the arguments `period`, `period_unit`, `auto_renew` and `auto_renew_period` are required.
|
|
3072
3161
|
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] instance_types: In the node instance specification list, you can select multiple instance specifications as alternatives. When each node is created, it will try to purchase from the first specification until it is created successfully. The final purchased instance specifications may vary with inventory changes.
|
|
@@ -3145,6 +3234,9 @@ class NodePool(pulumi.CustomResource):
|
|
|
3145
3234
|
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] tags: Add tags only for ECS instances. The maximum length of the tag key is 128 characters. The tag key and value cannot start with aliyun or acs:, or contain https:// or http://.
|
|
3146
3235
|
:param pulumi.Input[Sequence[pulumi.Input[Union['NodePoolTaintArgs', 'NodePoolTaintArgsDict']]]] taints: A List of Kubernetes taints to assign to the nodes. Detailed below. More information in [Taints and Toleration](https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/). See `taints` below.
|
|
3147
3236
|
:param pulumi.Input[Union['NodePoolTeeConfigArgs', 'NodePoolTeeConfigArgsDict']] tee_config: The configuration about confidential computing for the cluster. See `tee_config` below.
|
|
3237
|
+
:param pulumi.Input[builtins.str] type: Node pool type, value range:
|
|
3238
|
+
-'ess': common node pool (including hosting function and auto scaling function).
|
|
3239
|
+
-'lingjun': Lingjun node pool.
|
|
3148
3240
|
:param pulumi.Input[builtins.bool] unschedulable: Whether the node after expansion can be scheduled.
|
|
3149
3241
|
:param pulumi.Input[builtins.bool] update_nodes: Synchronously update node labels and taints.
|
|
3150
3242
|
:param pulumi.Input[builtins.str] user_data: Node custom data, base64-encoded.
|
|
@@ -3163,6 +3255,7 @@ class NodePool(pulumi.CustomResource):
|
|
|
3163
3255
|
__props__.__dict__["data_disks"] = data_disks
|
|
3164
3256
|
__props__.__dict__["deployment_set_id"] = deployment_set_id
|
|
3165
3257
|
__props__.__dict__["desired_size"] = desired_size
|
|
3258
|
+
__props__.__dict__["eflo_node_group"] = eflo_node_group
|
|
3166
3259
|
__props__.__dict__["force_delete"] = force_delete
|
|
3167
3260
|
__props__.__dict__["format_disk"] = format_disk
|
|
3168
3261
|
__props__.__dict__["image_id"] = image_id
|
|
@@ -3225,6 +3318,7 @@ class NodePool(pulumi.CustomResource):
|
|
|
3225
3318
|
__props__.__dict__["tags"] = tags
|
|
3226
3319
|
__props__.__dict__["taints"] = taints
|
|
3227
3320
|
__props__.__dict__["tee_config"] = tee_config
|
|
3321
|
+
__props__.__dict__["type"] = type
|
|
3228
3322
|
__props__.__dict__["unschedulable"] = unschedulable
|
|
3229
3323
|
__props__.__dict__["update_nodes"] = update_nodes
|
|
3230
3324
|
__props__.__dict__["user_data"] = user_data
|
|
@@ -3304,6 +3398,14 @@ class NodePool(pulumi.CustomResource):
|
|
|
3304
3398
|
"""
|
|
3305
3399
|
return pulumi.get(self, "desired_size")
|
|
3306
3400
|
|
|
3401
|
+
@property
|
|
3402
|
+
@pulumi.getter(name="efloNodeGroup")
|
|
3403
|
+
def eflo_node_group(self) -> pulumi.Output[Optional['outputs.NodePoolEfloNodeGroup']]:
|
|
3404
|
+
"""
|
|
3405
|
+
Lingjun node pool configuration. See `eflo_node_group` below.
|
|
3406
|
+
"""
|
|
3407
|
+
return pulumi.get(self, "eflo_node_group")
|
|
3408
|
+
|
|
3307
3409
|
@property
|
|
3308
3410
|
@pulumi.getter(name="forceDelete")
|
|
3309
3411
|
def force_delete(self) -> pulumi.Output[Optional[builtins.bool]]:
|
|
@@ -3341,7 +3443,8 @@ class NodePool(pulumi.CustomResource):
|
|
|
3341
3443
|
- `Windows` : Windows image.
|
|
3342
3444
|
- `WindowsCore` : WindowsCore image.
|
|
3343
3445
|
- `ContainerOS` : container-optimized image.
|
|
3344
|
-
- `Ubuntu`:
|
|
3446
|
+
- `Ubuntu`: Ubuntu image.
|
|
3447
|
+
- `AliyunLinux3ContainerOptimized`: Alinux3 container-optimized image.
|
|
3345
3448
|
"""
|
|
3346
3449
|
return pulumi.get(self, "image_type")
|
|
3347
3450
|
|
|
@@ -3355,7 +3458,7 @@ class NodePool(pulumi.CustomResource):
|
|
|
3355
3458
|
|
|
3356
3459
|
@property
|
|
3357
3460
|
@pulumi.getter(name="instanceChargeType")
|
|
3358
|
-
def instance_charge_type(self) -> pulumi.Output[
|
|
3461
|
+
def instance_charge_type(self) -> pulumi.Output[builtins.str]:
|
|
3359
3462
|
"""
|
|
3360
3463
|
Node payment type. Valid values: `PostPaid`, `PrePaid`, default is `PostPaid`. If value is `PrePaid`, the arguments `period`, `period_unit`, `auto_renew` and `auto_renew_period` are required.
|
|
3361
3464
|
"""
|
|
@@ -3363,7 +3466,7 @@ class NodePool(pulumi.CustomResource):
|
|
|
3363
3466
|
|
|
3364
3467
|
@property
|
|
3365
3468
|
@pulumi.getter(name="instanceTypes")
|
|
3366
|
-
def instance_types(self) -> pulumi.Output[Sequence[builtins.str]]:
|
|
3469
|
+
def instance_types(self) -> pulumi.Output[Optional[Sequence[builtins.str]]]:
|
|
3367
3470
|
"""
|
|
3368
3471
|
In the node instance specification list, you can select multiple instance specifications as alternatives. When each node is created, it will try to purchase from the first specification until it is created successfully. The final purchased instance specifications may vary with inventory changes.
|
|
3369
3472
|
"""
|
|
@@ -3833,6 +3936,16 @@ class NodePool(pulumi.CustomResource):
|
|
|
3833
3936
|
"""
|
|
3834
3937
|
return pulumi.get(self, "tee_config")
|
|
3835
3938
|
|
|
3939
|
+
@property
|
|
3940
|
+
@pulumi.getter
|
|
3941
|
+
def type(self) -> pulumi.Output[builtins.str]:
|
|
3942
|
+
"""
|
|
3943
|
+
Node pool type, value range:
|
|
3944
|
+
-'ess': common node pool (including hosting function and auto scaling function).
|
|
3945
|
+
-'lingjun': Lingjun node pool.
|
|
3946
|
+
"""
|
|
3947
|
+
return pulumi.get(self, "type")
|
|
3948
|
+
|
|
3836
3949
|
@property
|
|
3837
3950
|
@pulumi.getter
|
|
3838
3951
|
def unschedulable(self) -> pulumi.Output[Optional[builtins.bool]]:
|
|
@@ -3859,7 +3972,7 @@ class NodePool(pulumi.CustomResource):
|
|
|
3859
3972
|
|
|
3860
3973
|
@property
|
|
3861
3974
|
@pulumi.getter(name="vswitchIds")
|
|
3862
|
-
def vswitch_ids(self) -> pulumi.Output[Sequence[builtins.str]]:
|
|
3975
|
+
def vswitch_ids(self) -> pulumi.Output[Optional[Sequence[builtins.str]]]:
|
|
3863
3976
|
"""
|
|
3864
3977
|
The vswitches used by node pool workers.
|
|
3865
3978
|
"""
|
pulumi_alicloud/cs/outputs.py
CHANGED
|
@@ -44,6 +44,7 @@ __all__ = [
|
|
|
44
44
|
'ManagedKubernetesOperationPolicyClusterAutoUpgrade',
|
|
45
45
|
'ManagedKubernetesRrsaMetadata',
|
|
46
46
|
'NodePoolDataDisk',
|
|
47
|
+
'NodePoolEfloNodeGroup',
|
|
47
48
|
'NodePoolKubeletConfiguration',
|
|
48
49
|
'NodePoolKubeletConfigurationReservedMemory',
|
|
49
50
|
'NodePoolKubeletConfigurationTracing',
|
|
@@ -2126,6 +2127,56 @@ class NodePoolDataDisk(dict):
|
|
|
2126
2127
|
return pulumi.get(self, "snapshot_id")
|
|
2127
2128
|
|
|
2128
2129
|
|
|
2130
|
+
@pulumi.output_type
|
|
2131
|
+
class NodePoolEfloNodeGroup(dict):
|
|
2132
|
+
@staticmethod
|
|
2133
|
+
def __key_warning(key: str):
|
|
2134
|
+
suggest = None
|
|
2135
|
+
if key == "clusterId":
|
|
2136
|
+
suggest = "cluster_id"
|
|
2137
|
+
elif key == "groupId":
|
|
2138
|
+
suggest = "group_id"
|
|
2139
|
+
|
|
2140
|
+
if suggest:
|
|
2141
|
+
pulumi.log.warn(f"Key '{key}' not found in NodePoolEfloNodeGroup. Access the value via the '{suggest}' property getter instead.")
|
|
2142
|
+
|
|
2143
|
+
def __getitem__(self, key: str) -> Any:
|
|
2144
|
+
NodePoolEfloNodeGroup.__key_warning(key)
|
|
2145
|
+
return super().__getitem__(key)
|
|
2146
|
+
|
|
2147
|
+
def get(self, key: str, default = None) -> Any:
|
|
2148
|
+
NodePoolEfloNodeGroup.__key_warning(key)
|
|
2149
|
+
return super().get(key, default)
|
|
2150
|
+
|
|
2151
|
+
def __init__(__self__, *,
|
|
2152
|
+
cluster_id: Optional[builtins.str] = None,
|
|
2153
|
+
group_id: Optional[builtins.str] = None):
|
|
2154
|
+
"""
|
|
2155
|
+
:param builtins.str cluster_id: The ID of the associated Lingjun cluster is required when creating a Lingjun node pool.
|
|
2156
|
+
:param builtins.str group_id: When creating a Lingjun node pool, you need the Lingjun group ID of the associated Lingjun cluster.
|
|
2157
|
+
"""
|
|
2158
|
+
if cluster_id is not None:
|
|
2159
|
+
pulumi.set(__self__, "cluster_id", cluster_id)
|
|
2160
|
+
if group_id is not None:
|
|
2161
|
+
pulumi.set(__self__, "group_id", group_id)
|
|
2162
|
+
|
|
2163
|
+
@property
|
|
2164
|
+
@pulumi.getter(name="clusterId")
|
|
2165
|
+
def cluster_id(self) -> Optional[builtins.str]:
|
|
2166
|
+
"""
|
|
2167
|
+
The ID of the associated Lingjun cluster is required when creating a Lingjun node pool.
|
|
2168
|
+
"""
|
|
2169
|
+
return pulumi.get(self, "cluster_id")
|
|
2170
|
+
|
|
2171
|
+
@property
|
|
2172
|
+
@pulumi.getter(name="groupId")
|
|
2173
|
+
def group_id(self) -> Optional[builtins.str]:
|
|
2174
|
+
"""
|
|
2175
|
+
When creating a Lingjun node pool, you need the Lingjun group ID of the associated Lingjun cluster.
|
|
2176
|
+
"""
|
|
2177
|
+
return pulumi.get(self, "group_id")
|
|
2178
|
+
|
|
2179
|
+
|
|
2129
2180
|
@pulumi.output_type
|
|
2130
2181
|
class NodePoolKubeletConfiguration(dict):
|
|
2131
2182
|
@staticmethod
|