pulumi-alicloud 3.60.0a1721884766__py3-none-any.whl → 3.60.0a1721952598__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.
Files changed (32) hide show
  1. pulumi_alicloud/_utilities.py +2 -0
  2. pulumi_alicloud/cen/get_transit_router_service.py +2 -2
  3. pulumi_alicloud/cloudfirewall/control_policy_order.py +60 -44
  4. pulumi_alicloud/cs/node_pool.py +7 -7
  5. pulumi_alicloud/dcdn/_inputs.py +23 -27
  6. pulumi_alicloud/dcdn/domain.py +366 -217
  7. pulumi_alicloud/dcdn/outputs.py +18 -22
  8. pulumi_alicloud/directmail/get_domains.py +31 -24
  9. pulumi_alicloud/directmail/outputs.py +131 -32
  10. pulumi_alicloud/eci/_inputs.py +8 -0
  11. pulumi_alicloud/eci/outputs.py +8 -0
  12. pulumi_alicloud/ecs/_inputs.py +40 -8
  13. pulumi_alicloud/ecs/ecs_disk.py +7 -0
  14. pulumi_alicloud/ecs/instance.py +304 -102
  15. pulumi_alicloud/ecs/outputs.py +37 -9
  16. pulumi_alicloud/maxcompute/_inputs.py +44 -42
  17. pulumi_alicloud/maxcompute/outputs.py +44 -42
  18. pulumi_alicloud/maxcompute/project.py +230 -66
  19. pulumi_alicloud/polardb/cluster.py +28 -28
  20. pulumi_alicloud/pulumi-plugin.json +1 -1
  21. pulumi_alicloud/rdc/organization.py +2 -2
  22. pulumi_alicloud/slb/_inputs.py +8 -8
  23. pulumi_alicloud/slb/outputs.py +8 -8
  24. pulumi_alicloud/slb/server_group.py +140 -84
  25. pulumi_alicloud/vpc/_inputs.py +18 -12
  26. pulumi_alicloud/vpc/network.py +332 -134
  27. pulumi_alicloud/vpc/outputs.py +18 -12
  28. pulumi_alicloud/vpc/public_ip_address_pool.py +118 -10
  29. {pulumi_alicloud-3.60.0a1721884766.dist-info → pulumi_alicloud-3.60.0a1721952598.dist-info}/METADATA +1 -1
  30. {pulumi_alicloud-3.60.0a1721884766.dist-info → pulumi_alicloud-3.60.0a1721952598.dist-info}/RECORD +32 -32
  31. {pulumi_alicloud-3.60.0a1721884766.dist-info → pulumi_alicloud-3.60.0a1721952598.dist-info}/WHEEL +0 -0
  32. {pulumi_alicloud-3.60.0a1721884766.dist-info → pulumi_alicloud-3.60.0a1721952598.dist-info}/top_level.txt +0 -0
@@ -13,10 +13,12 @@ import os
13
13
  import sys
14
14
  import typing
15
15
  import warnings
16
+ import base64
16
17
 
17
18
  import pulumi
18
19
  import pulumi.runtime
19
20
  from pulumi.runtime.sync_await import _sync_await
21
+ from pulumi.runtime.proto import resource_pb2
20
22
 
21
23
  from semver import VersionInfo as SemverVersion
22
24
  from parver import Version as PEP440Version
@@ -72,7 +72,7 @@ def get_transit_router_service(enable: Optional[str] = None,
72
72
 
73
73
  For information about CEN and how to use it, see [What is CEN](https://www.alibabacloud.com/help/en/doc-detail/59870.htm).
74
74
 
75
- > **NOTE:** Available in v1.139.0+
75
+ > **NOTE:** Available since v1.139.0+
76
76
 
77
77
  ## Example Usage
78
78
 
@@ -107,7 +107,7 @@ def get_transit_router_service_output(enable: Optional[pulumi.Input[Optional[str
107
107
 
108
108
  For information about CEN and how to use it, see [What is CEN](https://www.alibabacloud.com/help/en/doc-detail/59870.htm).
109
109
 
110
- > **NOTE:** Available in v1.139.0+
110
+ > **NOTE:** Available since v1.139.0+
111
111
 
112
112
  ## Example Usage
113
113
 
@@ -16,17 +16,17 @@ class ControlPolicyOrderArgs:
16
16
  def __init__(__self__, *,
17
17
  acl_uuid: pulumi.Input[str],
18
18
  direction: pulumi.Input[str],
19
- order: Optional[pulumi.Input[int]] = None):
19
+ order: pulumi.Input[int]):
20
20
  """
21
21
  The set of arguments for constructing a ControlPolicyOrder resource.
22
22
  :param pulumi.Input[str] acl_uuid: The unique ID of the access control policy.
23
- :param pulumi.Input[str] direction: Direction. Valid values: `in`, `out`.
24
- :param pulumi.Input[int] order: The priority of the access control policy. The priority value starts from 1. A small priority value indicates a high priority. **NOTE:** The value of -1 indicates the lowest priority.
23
+ :param pulumi.Input[str] direction: The direction of the traffic to which the access control policy applies. Valid values: `in`, `out`.
24
+ :param pulumi.Input[int] order: The priority of the access control policy. The priority value starts from 1. A small priority value indicates a high priority. **NOTE:** The value of `-1` indicates the lowest priority.
25
+ > **NOTE:** From version 1.227.1, `order` must be set.
25
26
  """
26
27
  pulumi.set(__self__, "acl_uuid", acl_uuid)
27
28
  pulumi.set(__self__, "direction", direction)
28
- if order is not None:
29
- pulumi.set(__self__, "order", order)
29
+ pulumi.set(__self__, "order", order)
30
30
 
31
31
  @property
32
32
  @pulumi.getter(name="aclUuid")
@@ -44,7 +44,7 @@ class ControlPolicyOrderArgs:
44
44
  @pulumi.getter
45
45
  def direction(self) -> pulumi.Input[str]:
46
46
  """
47
- Direction. Valid values: `in`, `out`.
47
+ The direction of the traffic to which the access control policy applies. Valid values: `in`, `out`.
48
48
  """
49
49
  return pulumi.get(self, "direction")
50
50
 
@@ -54,14 +54,15 @@ class ControlPolicyOrderArgs:
54
54
 
55
55
  @property
56
56
  @pulumi.getter
57
- def order(self) -> Optional[pulumi.Input[int]]:
57
+ def order(self) -> pulumi.Input[int]:
58
58
  """
59
- The priority of the access control policy. The priority value starts from 1. A small priority value indicates a high priority. **NOTE:** The value of -1 indicates the lowest priority.
59
+ The priority of the access control policy. The priority value starts from 1. A small priority value indicates a high priority. **NOTE:** The value of `-1` indicates the lowest priority.
60
+ > **NOTE:** From version 1.227.1, `order` must be set.
60
61
  """
61
62
  return pulumi.get(self, "order")
62
63
 
63
64
  @order.setter
64
- def order(self, value: Optional[pulumi.Input[int]]):
65
+ def order(self, value: pulumi.Input[int]):
65
66
  pulumi.set(self, "order", value)
66
67
 
67
68
 
@@ -74,8 +75,9 @@ class _ControlPolicyOrderState:
74
75
  """
75
76
  Input properties used for looking up and filtering ControlPolicyOrder resources.
76
77
  :param pulumi.Input[str] acl_uuid: The unique ID of the access control policy.
77
- :param pulumi.Input[str] direction: Direction. Valid values: `in`, `out`.
78
- :param pulumi.Input[int] order: The priority of the access control policy. The priority value starts from 1. A small priority value indicates a high priority. **NOTE:** The value of -1 indicates the lowest priority.
78
+ :param pulumi.Input[str] direction: The direction of the traffic to which the access control policy applies. Valid values: `in`, `out`.
79
+ :param pulumi.Input[int] order: The priority of the access control policy. The priority value starts from 1. A small priority value indicates a high priority. **NOTE:** The value of `-1` indicates the lowest priority.
80
+ > **NOTE:** From version 1.227.1, `order` must be set.
79
81
  """
80
82
  if acl_uuid is not None:
81
83
  pulumi.set(__self__, "acl_uuid", acl_uuid)
@@ -100,7 +102,7 @@ class _ControlPolicyOrderState:
100
102
  @pulumi.getter
101
103
  def direction(self) -> Optional[pulumi.Input[str]]:
102
104
  """
103
- Direction. Valid values: `in`, `out`.
105
+ The direction of the traffic to which the access control policy applies. Valid values: `in`, `out`.
104
106
  """
105
107
  return pulumi.get(self, "direction")
106
108
 
@@ -112,7 +114,8 @@ class _ControlPolicyOrderState:
112
114
  @pulumi.getter
113
115
  def order(self) -> Optional[pulumi.Input[int]]:
114
116
  """
115
- The priority of the access control policy. The priority value starts from 1. A small priority value indicates a high priority. **NOTE:** The value of -1 indicates the lowest priority.
117
+ The priority of the access control policy. The priority value starts from 1. A small priority value indicates a high priority. **NOTE:** The value of `-1` indicates the lowest priority.
118
+ > **NOTE:** From version 1.227.1, `order` must be set.
116
119
  """
117
120
  return pulumi.get(self, "order")
118
121
 
@@ -131,11 +134,11 @@ class ControlPolicyOrder(pulumi.CustomResource):
131
134
  order: Optional[pulumi.Input[int]] = None,
132
135
  __props__=None):
133
136
  """
134
- Provides a Cloud Firewall Control Policy resource.
137
+ Provides a Cloud Firewall Control Policy Order resource.
135
138
 
136
139
  For information about Cloud Firewall Control Policy Order and how to use it, see [What is Control Policy Order](https://www.alibabacloud.com/help/doc-detail/138867.htm).
137
140
 
138
- > **NOTE:** Available in v1.130.0+.
141
+ > **NOTE:** Available since v1.130.0.
139
142
 
140
143
  ## Example Usage
141
144
 
@@ -145,19 +148,23 @@ class ControlPolicyOrder(pulumi.CustomResource):
145
148
  import pulumi
146
149
  import pulumi_alicloud as alicloud
147
150
 
148
- example1 = alicloud.cloudfirewall.ControlPolicy("example1",
151
+ config = pulumi.Config()
152
+ name = config.get("name")
153
+ if name is None:
154
+ name = "terraform-example"
155
+ default = alicloud.cloudfirewall.ControlPolicy("default",
156
+ direction="in",
149
157
  application_name="ANY",
158
+ description=name,
150
159
  acl_action="accept",
151
- description="example",
160
+ source="127.0.0.1/32",
161
+ source_type="net",
162
+ destination="127.0.0.2/32",
152
163
  destination_type="net",
153
- destination="100.1.1.0/24",
154
- direction="out",
155
- proto="ANY",
156
- source="1.2.3.0/24",
157
- source_type="net")
158
- example2 = alicloud.cloudfirewall.ControlPolicyOrder("example2",
159
- acl_uuid=example1.acl_uuid,
160
- direction=example1.direction,
164
+ proto="ANY")
165
+ default_control_policy_order = alicloud.cloudfirewall.ControlPolicyOrder("default",
166
+ acl_uuid=default.acl_uuid,
167
+ direction=default.direction,
161
168
  order=1)
162
169
  ```
163
170
 
@@ -172,8 +179,9 @@ class ControlPolicyOrder(pulumi.CustomResource):
172
179
  :param str resource_name: The name of the resource.
173
180
  :param pulumi.ResourceOptions opts: Options for the resource.
174
181
  :param pulumi.Input[str] acl_uuid: The unique ID of the access control policy.
175
- :param pulumi.Input[str] direction: Direction. Valid values: `in`, `out`.
176
- :param pulumi.Input[int] order: The priority of the access control policy. The priority value starts from 1. A small priority value indicates a high priority. **NOTE:** The value of -1 indicates the lowest priority.
182
+ :param pulumi.Input[str] direction: The direction of the traffic to which the access control policy applies. Valid values: `in`, `out`.
183
+ :param pulumi.Input[int] order: The priority of the access control policy. The priority value starts from 1. A small priority value indicates a high priority. **NOTE:** The value of `-1` indicates the lowest priority.
184
+ > **NOTE:** From version 1.227.1, `order` must be set.
177
185
  """
178
186
  ...
179
187
  @overload
@@ -182,11 +190,11 @@ class ControlPolicyOrder(pulumi.CustomResource):
182
190
  args: ControlPolicyOrderArgs,
183
191
  opts: Optional[pulumi.ResourceOptions] = None):
184
192
  """
185
- Provides a Cloud Firewall Control Policy resource.
193
+ Provides a Cloud Firewall Control Policy Order resource.
186
194
 
187
195
  For information about Cloud Firewall Control Policy Order and how to use it, see [What is Control Policy Order](https://www.alibabacloud.com/help/doc-detail/138867.htm).
188
196
 
189
- > **NOTE:** Available in v1.130.0+.
197
+ > **NOTE:** Available since v1.130.0.
190
198
 
191
199
  ## Example Usage
192
200
 
@@ -196,19 +204,23 @@ class ControlPolicyOrder(pulumi.CustomResource):
196
204
  import pulumi
197
205
  import pulumi_alicloud as alicloud
198
206
 
199
- example1 = alicloud.cloudfirewall.ControlPolicy("example1",
207
+ config = pulumi.Config()
208
+ name = config.get("name")
209
+ if name is None:
210
+ name = "terraform-example"
211
+ default = alicloud.cloudfirewall.ControlPolicy("default",
212
+ direction="in",
200
213
  application_name="ANY",
214
+ description=name,
201
215
  acl_action="accept",
202
- description="example",
216
+ source="127.0.0.1/32",
217
+ source_type="net",
218
+ destination="127.0.0.2/32",
203
219
  destination_type="net",
204
- destination="100.1.1.0/24",
205
- direction="out",
206
- proto="ANY",
207
- source="1.2.3.0/24",
208
- source_type="net")
209
- example2 = alicloud.cloudfirewall.ControlPolicyOrder("example2",
210
- acl_uuid=example1.acl_uuid,
211
- direction=example1.direction,
220
+ proto="ANY")
221
+ default_control_policy_order = alicloud.cloudfirewall.ControlPolicyOrder("default",
222
+ acl_uuid=default.acl_uuid,
223
+ direction=default.direction,
212
224
  order=1)
213
225
  ```
214
226
 
@@ -253,6 +265,8 @@ class ControlPolicyOrder(pulumi.CustomResource):
253
265
  if direction is None and not opts.urn:
254
266
  raise TypeError("Missing required property 'direction'")
255
267
  __props__.__dict__["direction"] = direction
268
+ if order is None and not opts.urn:
269
+ raise TypeError("Missing required property 'order'")
256
270
  __props__.__dict__["order"] = order
257
271
  super(ControlPolicyOrder, __self__).__init__(
258
272
  'alicloud:cloudfirewall/controlPolicyOrder:ControlPolicyOrder',
@@ -275,8 +289,9 @@ class ControlPolicyOrder(pulumi.CustomResource):
275
289
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
276
290
  :param pulumi.ResourceOptions opts: Options for the resource.
277
291
  :param pulumi.Input[str] acl_uuid: The unique ID of the access control policy.
278
- :param pulumi.Input[str] direction: Direction. Valid values: `in`, `out`.
279
- :param pulumi.Input[int] order: The priority of the access control policy. The priority value starts from 1. A small priority value indicates a high priority. **NOTE:** The value of -1 indicates the lowest priority.
292
+ :param pulumi.Input[str] direction: The direction of the traffic to which the access control policy applies. Valid values: `in`, `out`.
293
+ :param pulumi.Input[int] order: The priority of the access control policy. The priority value starts from 1. A small priority value indicates a high priority. **NOTE:** The value of `-1` indicates the lowest priority.
294
+ > **NOTE:** From version 1.227.1, `order` must be set.
280
295
  """
281
296
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
282
297
 
@@ -299,15 +314,16 @@ class ControlPolicyOrder(pulumi.CustomResource):
299
314
  @pulumi.getter
300
315
  def direction(self) -> pulumi.Output[str]:
301
316
  """
302
- Direction. Valid values: `in`, `out`.
317
+ The direction of the traffic to which the access control policy applies. Valid values: `in`, `out`.
303
318
  """
304
319
  return pulumi.get(self, "direction")
305
320
 
306
321
  @property
307
322
  @pulumi.getter
308
- def order(self) -> pulumi.Output[Optional[int]]:
323
+ def order(self) -> pulumi.Output[int]:
309
324
  """
310
- The priority of the access control policy. The priority value starts from 1. A small priority value indicates a high priority. **NOTE:** The value of -1 indicates the lowest priority.
325
+ The priority of the access control policy. The priority value starts from 1. A small priority value indicates a high priority. **NOTE:** The value of `-1` indicates the lowest priority.
326
+ > **NOTE:** From version 1.227.1, `order` must be set.
311
327
  """
312
328
  return pulumi.get(self, "order")
313
329
 
@@ -114,7 +114,7 @@ class NodePoolArgs:
114
114
  - `ContainerOS` : container-optimized image.
115
115
  :param pulumi.Input[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:
116
116
  :param pulumi.Input[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.
117
- :param pulumi.Input[Sequence[pulumi.Input[str]]] instances: The instance list. Add existing nodes under the same cluster VPC to the node pool.
117
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] instances: The list of ECS instance ids. Add existing nodes with same type of security group under the same cluster VPC to the node pool. **Note** that removing instance ids from the list will remove the nodes from cluster and release the ECS instances.
118
118
  :param pulumi.Input[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. .
119
119
  :param pulumi.Input[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\\].
120
120
  :param pulumi.Input[bool] keep_instance_name: Add an existing instance to the node pool, whether to keep the original instance name. It is recommended to set to `true`.
@@ -552,7 +552,7 @@ class NodePoolArgs:
552
552
  @pulumi.getter
553
553
  def instances(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
554
554
  """
555
- The instance list. Add existing nodes under the same cluster VPC to the node pool.
555
+ The list of ECS instance ids. Add existing nodes with same type of security group under the same cluster VPC to the node pool. **Note** that removing instance ids from the list will remove the nodes from cluster and release the ECS instances.
556
556
  """
557
557
  return pulumi.get(self, "instances")
558
558
 
@@ -1314,7 +1314,7 @@ class _NodePoolState:
1314
1314
  :param pulumi.Input[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:
1315
1315
  :param pulumi.Input[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.
1316
1316
  :param pulumi.Input[Sequence[pulumi.Input[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.
1317
- :param pulumi.Input[Sequence[pulumi.Input[str]]] instances: The instance list. Add existing nodes under the same cluster VPC to the node pool.
1317
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] instances: The list of ECS instance ids. Add existing nodes with same type of security group under the same cluster VPC to the node pool. **Note** that removing instance ids from the list will remove the nodes from cluster and release the ECS instances.
1318
1318
  :param pulumi.Input[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. .
1319
1319
  :param pulumi.Input[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\\].
1320
1320
  :param pulumi.Input[bool] keep_instance_name: Add an existing instance to the node pool, whether to keep the original instance name. It is recommended to set to `true`.
@@ -1750,7 +1750,7 @@ class _NodePoolState:
1750
1750
  @pulumi.getter
1751
1751
  def instances(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
1752
1752
  """
1753
- The instance list. Add existing nodes under the same cluster VPC to the node pool.
1753
+ The list of ECS instance ids. Add existing nodes with same type of security group under the same cluster VPC to the node pool. **Note** that removing instance ids from the list will remove the nodes from cluster and release the ECS instances.
1754
1754
  """
1755
1755
  return pulumi.get(self, "instances")
1756
1756
 
@@ -2562,7 +2562,7 @@ class NodePool(pulumi.CustomResource):
2562
2562
  :param pulumi.Input[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:
2563
2563
  :param pulumi.Input[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.
2564
2564
  :param pulumi.Input[Sequence[pulumi.Input[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.
2565
- :param pulumi.Input[Sequence[pulumi.Input[str]]] instances: The instance list. Add existing nodes under the same cluster VPC to the node pool.
2565
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] instances: The list of ECS instance ids. Add existing nodes with same type of security group under the same cluster VPC to the node pool. **Note** that removing instance ids from the list will remove the nodes from cluster and release the ECS instances.
2566
2566
  :param pulumi.Input[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. .
2567
2567
  :param pulumi.Input[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\\].
2568
2568
  :param pulumi.Input[bool] keep_instance_name: Add an existing instance to the node pool, whether to keep the original instance name. It is recommended to set to `true`.
@@ -2938,7 +2938,7 @@ class NodePool(pulumi.CustomResource):
2938
2938
  :param pulumi.Input[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:
2939
2939
  :param pulumi.Input[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.
2940
2940
  :param pulumi.Input[Sequence[pulumi.Input[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.
2941
- :param pulumi.Input[Sequence[pulumi.Input[str]]] instances: The instance list. Add existing nodes under the same cluster VPC to the node pool.
2941
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] instances: The list of ECS instance ids. Add existing nodes with same type of security group under the same cluster VPC to the node pool. **Note** that removing instance ids from the list will remove the nodes from cluster and release the ECS instances.
2942
2942
  :param pulumi.Input[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. .
2943
2943
  :param pulumi.Input[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\\].
2944
2944
  :param pulumi.Input[bool] keep_instance_name: Add an existing instance to the node pool, whether to keep the original instance name. It is recommended to set to `true`.
@@ -3227,7 +3227,7 @@ class NodePool(pulumi.CustomResource):
3227
3227
  @pulumi.getter
3228
3228
  def instances(self) -> pulumi.Output[Optional[Sequence[str]]]:
3229
3229
  """
3230
- The instance list. Add existing nodes under the same cluster VPC to the node pool.
3230
+ The list of ECS instance ids. Add existing nodes with same type of security group under the same cluster VPC to the node pool. **Note** that removing instance ids from the list will remove the nodes from cluster and release the ECS instances.
3231
3231
  """
3232
3232
  return pulumi.get(self, "instances")
3233
3233
 
@@ -96,57 +96,41 @@ class DomainConfigFunctionArgArgs:
96
96
  @pulumi.input_type
97
97
  class DomainSourceArgs:
98
98
  def __init__(__self__, *,
99
- content: pulumi.Input[str],
100
- type: pulumi.Input[str],
99
+ content: Optional[pulumi.Input[str]] = None,
101
100
  port: Optional[pulumi.Input[int]] = None,
102
101
  priority: Optional[pulumi.Input[str]] = None,
102
+ type: Optional[pulumi.Input[str]] = None,
103
103
  weight: Optional[pulumi.Input[str]] = None):
104
104
  """
105
- :param pulumi.Input[str] content: The origin address.
106
- :param pulumi.Input[str] type: The type of the origin. Valid values:
107
- `ipaddr`: The origin is configured using an IP address.
108
- `domain`: The origin is configured using a domain name.
109
- `oss`: The origin is configured using the Internet domain name of an Alibaba Cloud Object Storage Service (OSS) bucket.
105
+ :param pulumi.Input[str] content: The address of the source station.
110
106
  :param pulumi.Input[int] port: The port number. Valid values: `443` and `80`. Default to `80`.
111
107
  :param pulumi.Input[str] priority: The priority of the origin if multiple origins are specified. Default to `20`.
108
+ :param pulumi.Input[str] type: The type of the origin. Valid values:
112
109
  :param pulumi.Input[str] weight: The weight of the origin if multiple origins are specified. Default to `10`.
113
110
  """
114
- pulumi.set(__self__, "content", content)
115
- pulumi.set(__self__, "type", type)
111
+ if content is not None:
112
+ pulumi.set(__self__, "content", content)
116
113
  if port is not None:
117
114
  pulumi.set(__self__, "port", port)
118
115
  if priority is not None:
119
116
  pulumi.set(__self__, "priority", priority)
117
+ if type is not None:
118
+ pulumi.set(__self__, "type", type)
120
119
  if weight is not None:
121
120
  pulumi.set(__self__, "weight", weight)
122
121
 
123
122
  @property
124
123
  @pulumi.getter
125
- def content(self) -> pulumi.Input[str]:
124
+ def content(self) -> Optional[pulumi.Input[str]]:
126
125
  """
127
- The origin address.
126
+ The address of the source station.
128
127
  """
129
128
  return pulumi.get(self, "content")
130
129
 
131
130
  @content.setter
132
- def content(self, value: pulumi.Input[str]):
131
+ def content(self, value: Optional[pulumi.Input[str]]):
133
132
  pulumi.set(self, "content", value)
134
133
 
135
- @property
136
- @pulumi.getter
137
- def type(self) -> pulumi.Input[str]:
138
- """
139
- The type of the origin. Valid values:
140
- `ipaddr`: The origin is configured using an IP address.
141
- `domain`: The origin is configured using a domain name.
142
- `oss`: The origin is configured using the Internet domain name of an Alibaba Cloud Object Storage Service (OSS) bucket.
143
- """
144
- return pulumi.get(self, "type")
145
-
146
- @type.setter
147
- def type(self, value: pulumi.Input[str]):
148
- pulumi.set(self, "type", value)
149
-
150
134
  @property
151
135
  @pulumi.getter
152
136
  def port(self) -> Optional[pulumi.Input[int]]:
@@ -171,6 +155,18 @@ class DomainSourceArgs:
171
155
  def priority(self, value: Optional[pulumi.Input[str]]):
172
156
  pulumi.set(self, "priority", value)
173
157
 
158
+ @property
159
+ @pulumi.getter
160
+ def type(self) -> Optional[pulumi.Input[str]]:
161
+ """
162
+ The type of the origin. Valid values:
163
+ """
164
+ return pulumi.get(self, "type")
165
+
166
+ @type.setter
167
+ def type(self, value: Optional[pulumi.Input[str]]):
168
+ pulumi.set(self, "type", value)
169
+
174
170
  @property
175
171
  @pulumi.getter
176
172
  def weight(self) -> Optional[pulumi.Input[str]]: