pulumi-alicloud 3.67.0a1731734345__py3-none-any.whl → 3.67.0a1732274867__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 +16 -0
- pulumi_alicloud/cen/flow_log.py +373 -58
- pulumi_alicloud/cen/transit_router_ecr_attachment.py +4 -4
- pulumi_alicloud/cr/registry_enterprise_instance.py +474 -90
- pulumi_alicloud/ecs/ecs_image_component.py +221 -48
- pulumi_alicloud/ess/_inputs.py +94 -0
- pulumi_alicloud/ess/eci_scaling_configuration.py +42 -14
- pulumi_alicloud/ess/outputs.py +79 -0
- pulumi_alicloud/ess/scaling_configuration.py +47 -0
- pulumi_alicloud/expressconnect/router_vbr_child_instance.py +86 -25
- pulumi_alicloud/kms/key.py +1 -1
- pulumi_alicloud/kvstore/account.py +24 -24
- pulumi_alicloud/kvstore/audit_log_config.py +4 -4
- pulumi_alicloud/kvstore/backup_policy.py +2 -2
- pulumi_alicloud/kvstore/connection.py +8 -8
- pulumi_alicloud/kvstore/get_accounts.py +4 -4
- pulumi_alicloud/kvstore/get_connections.py +5 -5
- pulumi_alicloud/kvstore/get_instance_classes.py +12 -12
- pulumi_alicloud/kvstore/get_instance_engines.py +7 -7
- pulumi_alicloud/kvstore/get_permission.py +10 -10
- pulumi_alicloud/kvstore/get_zones.py +4 -4
- pulumi_alicloud/kvstore/outputs.py +2 -2
- pulumi_alicloud/mongodb/instance.py +47 -0
- pulumi_alicloud/mongodb/sharding_instance.py +47 -0
- pulumi_alicloud/polardb/cluster.py +7 -7
- pulumi_alicloud/privatelink/vpc_endpoint_service.py +42 -91
- pulumi_alicloud/privatelink/vpc_endpoint_service_connection.py +27 -23
- pulumi_alicloud/privatelink/vpc_endpoint_service_resource.py +34 -37
- pulumi_alicloud/privatelink/vpc_endpoint_zone.py +28 -0
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/rds/__init__.py +2 -0
- pulumi_alicloud/rds/_inputs.py +146 -0
- pulumi_alicloud/rds/custom.py +1630 -0
- pulumi_alicloud/rds/custom_deployment_set.py +525 -0
- pulumi_alicloud/rds/outputs.py +105 -0
- pulumi_alicloud/redis/tair_instance.py +76 -1
- pulumi_alicloud/vpc/_inputs.py +54 -0
- pulumi_alicloud/vpc/nat_gateway.py +175 -14
- pulumi_alicloud/vpc/outputs.py +51 -0
- pulumi_alicloud/vpn/gateway_vco_route.py +68 -21
- {pulumi_alicloud-3.67.0a1731734345.dist-info → pulumi_alicloud-3.67.0a1732274867.dist-info}/METADATA +5 -5
- {pulumi_alicloud-3.67.0a1731734345.dist-info → pulumi_alicloud-3.67.0a1732274867.dist-info}/RECORD +44 -42
- {pulumi_alicloud-3.67.0a1731734345.dist-info → pulumi_alicloud-3.67.0a1732274867.dist-info}/WHEEL +1 -1
- {pulumi_alicloud-3.67.0a1731734345.dist-info → pulumi_alicloud-3.67.0a1732274867.dist-info}/top_level.txt +0 -0
|
@@ -21,6 +21,7 @@ class EcsImageComponentArgs:
|
|
|
21
21
|
def __init__(__self__, *,
|
|
22
22
|
content: pulumi.Input[str],
|
|
23
23
|
component_type: Optional[pulumi.Input[str]] = None,
|
|
24
|
+
component_version: Optional[pulumi.Input[str]] = None,
|
|
24
25
|
description: Optional[pulumi.Input[str]] = None,
|
|
25
26
|
image_component_name: Optional[pulumi.Input[str]] = None,
|
|
26
27
|
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
@@ -28,17 +29,38 @@ class EcsImageComponentArgs:
|
|
|
28
29
|
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None):
|
|
29
30
|
"""
|
|
30
31
|
The set of arguments for constructing a EcsImageComponent resource.
|
|
31
|
-
:param pulumi.Input[str] content: Component content.
|
|
32
|
-
:param pulumi.Input[str] component_type: The component type.
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
32
|
+
:param pulumi.Input[str] content: Component content. Consists of multiple commands. The maximum number of commands cannot exceed 127. Details of supported commands and command formats,
|
|
33
|
+
:param pulumi.Input[str] component_type: The component type. Supports mirrored build components and test components.
|
|
34
|
+
|
|
35
|
+
Value range:
|
|
36
|
+
- Build
|
|
37
|
+
- Test
|
|
38
|
+
|
|
39
|
+
Default value: Build.
|
|
40
|
+
|
|
41
|
+
> **NOTE:** Build components can only be used in build templates and test components can only be used in test templates.
|
|
42
|
+
:param pulumi.Input[str] component_version: The component version number, which is used in conjunction with the component name, is in the format of major.minor.patch and is a non-negative integer.
|
|
43
|
+
|
|
44
|
+
Default value:(x +1).0.0, where x is the maximum major version of the current component.
|
|
45
|
+
:param pulumi.Input[str] description: Description information. It must be 2 to 256 characters in length and cannot start with http:// or https.
|
|
46
|
+
:param pulumi.Input[str] image_component_name: The component name. It must be 2 to 128 characters in length and start with an uppercase letter or a Chinese character. It cannot start with http:// or https. Can contain Chinese, English, numbers, half-length colons (:), underscores (_), half-length periods (.), or dashes (-).
|
|
47
|
+
|
|
48
|
+
> **NOTE:** When 'Name' is not set, the 'ImageComponentId' return value is used by default.
|
|
49
|
+
:param pulumi.Input[str] resource_group_id: The ID of the enterprise resource group to which the created image component belongs.
|
|
50
|
+
:param pulumi.Input[str] system_type: The operating system supported by the component.
|
|
51
|
+
|
|
52
|
+
Value range:
|
|
53
|
+
- Linux
|
|
54
|
+
- Windows
|
|
55
|
+
|
|
56
|
+
Default value: Linux.
|
|
37
57
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: List of label key-value pairs.
|
|
38
58
|
"""
|
|
39
59
|
pulumi.set(__self__, "content", content)
|
|
40
60
|
if component_type is not None:
|
|
41
61
|
pulumi.set(__self__, "component_type", component_type)
|
|
62
|
+
if component_version is not None:
|
|
63
|
+
pulumi.set(__self__, "component_version", component_version)
|
|
42
64
|
if description is not None:
|
|
43
65
|
pulumi.set(__self__, "description", description)
|
|
44
66
|
if image_component_name is not None:
|
|
@@ -54,7 +76,7 @@ class EcsImageComponentArgs:
|
|
|
54
76
|
@pulumi.getter
|
|
55
77
|
def content(self) -> pulumi.Input[str]:
|
|
56
78
|
"""
|
|
57
|
-
Component content.
|
|
79
|
+
Component content. Consists of multiple commands. The maximum number of commands cannot exceed 127. Details of supported commands and command formats,
|
|
58
80
|
"""
|
|
59
81
|
return pulumi.get(self, "content")
|
|
60
82
|
|
|
@@ -66,7 +88,15 @@ class EcsImageComponentArgs:
|
|
|
66
88
|
@pulumi.getter(name="componentType")
|
|
67
89
|
def component_type(self) -> Optional[pulumi.Input[str]]:
|
|
68
90
|
"""
|
|
69
|
-
The component type.
|
|
91
|
+
The component type. Supports mirrored build components and test components.
|
|
92
|
+
|
|
93
|
+
Value range:
|
|
94
|
+
- Build
|
|
95
|
+
- Test
|
|
96
|
+
|
|
97
|
+
Default value: Build.
|
|
98
|
+
|
|
99
|
+
> **NOTE:** Build components can only be used in build templates and test components can only be used in test templates.
|
|
70
100
|
"""
|
|
71
101
|
return pulumi.get(self, "component_type")
|
|
72
102
|
|
|
@@ -74,11 +104,25 @@ class EcsImageComponentArgs:
|
|
|
74
104
|
def component_type(self, value: Optional[pulumi.Input[str]]):
|
|
75
105
|
pulumi.set(self, "component_type", value)
|
|
76
106
|
|
|
107
|
+
@property
|
|
108
|
+
@pulumi.getter(name="componentVersion")
|
|
109
|
+
def component_version(self) -> Optional[pulumi.Input[str]]:
|
|
110
|
+
"""
|
|
111
|
+
The component version number, which is used in conjunction with the component name, is in the format of major.minor.patch and is a non-negative integer.
|
|
112
|
+
|
|
113
|
+
Default value:(x +1).0.0, where x is the maximum major version of the current component.
|
|
114
|
+
"""
|
|
115
|
+
return pulumi.get(self, "component_version")
|
|
116
|
+
|
|
117
|
+
@component_version.setter
|
|
118
|
+
def component_version(self, value: Optional[pulumi.Input[str]]):
|
|
119
|
+
pulumi.set(self, "component_version", value)
|
|
120
|
+
|
|
77
121
|
@property
|
|
78
122
|
@pulumi.getter
|
|
79
123
|
def description(self) -> Optional[pulumi.Input[str]]:
|
|
80
124
|
"""
|
|
81
|
-
|
|
125
|
+
Description information. It must be 2 to 256 characters in length and cannot start with http:// or https.
|
|
82
126
|
"""
|
|
83
127
|
return pulumi.get(self, "description")
|
|
84
128
|
|
|
@@ -90,7 +134,9 @@ class EcsImageComponentArgs:
|
|
|
90
134
|
@pulumi.getter(name="imageComponentName")
|
|
91
135
|
def image_component_name(self) -> Optional[pulumi.Input[str]]:
|
|
92
136
|
"""
|
|
93
|
-
The component name.
|
|
137
|
+
The component name. It must be 2 to 128 characters in length and start with an uppercase letter or a Chinese character. It cannot start with http:// or https. Can contain Chinese, English, numbers, half-length colons (:), underscores (_), half-length periods (.), or dashes (-).
|
|
138
|
+
|
|
139
|
+
> **NOTE:** When 'Name' is not set, the 'ImageComponentId' return value is used by default.
|
|
94
140
|
"""
|
|
95
141
|
return pulumi.get(self, "image_component_name")
|
|
96
142
|
|
|
@@ -102,7 +148,7 @@ class EcsImageComponentArgs:
|
|
|
102
148
|
@pulumi.getter(name="resourceGroupId")
|
|
103
149
|
def resource_group_id(self) -> Optional[pulumi.Input[str]]:
|
|
104
150
|
"""
|
|
105
|
-
The ID of the resource group.
|
|
151
|
+
The ID of the enterprise resource group to which the created image component belongs.
|
|
106
152
|
"""
|
|
107
153
|
return pulumi.get(self, "resource_group_id")
|
|
108
154
|
|
|
@@ -114,7 +160,13 @@ class EcsImageComponentArgs:
|
|
|
114
160
|
@pulumi.getter(name="systemType")
|
|
115
161
|
def system_type(self) -> Optional[pulumi.Input[str]]:
|
|
116
162
|
"""
|
|
117
|
-
The operating system supported by the component.
|
|
163
|
+
The operating system supported by the component.
|
|
164
|
+
|
|
165
|
+
Value range:
|
|
166
|
+
- Linux
|
|
167
|
+
- Windows
|
|
168
|
+
|
|
169
|
+
Default value: Linux.
|
|
118
170
|
"""
|
|
119
171
|
return pulumi.get(self, "system_type")
|
|
120
172
|
|
|
@@ -139,6 +191,7 @@ class EcsImageComponentArgs:
|
|
|
139
191
|
class _EcsImageComponentState:
|
|
140
192
|
def __init__(__self__, *,
|
|
141
193
|
component_type: Optional[pulumi.Input[str]] = None,
|
|
194
|
+
component_version: Optional[pulumi.Input[str]] = None,
|
|
142
195
|
content: Optional[pulumi.Input[str]] = None,
|
|
143
196
|
create_time: Optional[pulumi.Input[str]] = None,
|
|
144
197
|
description: Optional[pulumi.Input[str]] = None,
|
|
@@ -148,17 +201,38 @@ class _EcsImageComponentState:
|
|
|
148
201
|
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None):
|
|
149
202
|
"""
|
|
150
203
|
Input properties used for looking up and filtering EcsImageComponent resources.
|
|
151
|
-
:param pulumi.Input[str] component_type: The component type.
|
|
152
|
-
|
|
204
|
+
:param pulumi.Input[str] component_type: The component type. Supports mirrored build components and test components.
|
|
205
|
+
|
|
206
|
+
Value range:
|
|
207
|
+
- Build
|
|
208
|
+
- Test
|
|
209
|
+
|
|
210
|
+
Default value: Build.
|
|
211
|
+
|
|
212
|
+
> **NOTE:** Build components can only be used in build templates and test components can only be used in test templates.
|
|
213
|
+
:param pulumi.Input[str] component_version: The component version number, which is used in conjunction with the component name, is in the format of major.minor.patch and is a non-negative integer.
|
|
214
|
+
|
|
215
|
+
Default value:(x +1).0.0, where x is the maximum major version of the current component.
|
|
216
|
+
:param pulumi.Input[str] content: Component content. Consists of multiple commands. The maximum number of commands cannot exceed 127. Details of supported commands and command formats,
|
|
153
217
|
:param pulumi.Input[str] create_time: Component creation time.
|
|
154
|
-
:param pulumi.Input[str] description:
|
|
155
|
-
:param pulumi.Input[str] image_component_name: The component name.
|
|
156
|
-
|
|
157
|
-
|
|
218
|
+
:param pulumi.Input[str] description: Description information. It must be 2 to 256 characters in length and cannot start with http:// or https.
|
|
219
|
+
:param pulumi.Input[str] image_component_name: The component name. It must be 2 to 128 characters in length and start with an uppercase letter or a Chinese character. It cannot start with http:// or https. Can contain Chinese, English, numbers, half-length colons (:), underscores (_), half-length periods (.), or dashes (-).
|
|
220
|
+
|
|
221
|
+
> **NOTE:** When 'Name' is not set, the 'ImageComponentId' return value is used by default.
|
|
222
|
+
:param pulumi.Input[str] resource_group_id: The ID of the enterprise resource group to which the created image component belongs.
|
|
223
|
+
:param pulumi.Input[str] system_type: The operating system supported by the component.
|
|
224
|
+
|
|
225
|
+
Value range:
|
|
226
|
+
- Linux
|
|
227
|
+
- Windows
|
|
228
|
+
|
|
229
|
+
Default value: Linux.
|
|
158
230
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: List of label key-value pairs.
|
|
159
231
|
"""
|
|
160
232
|
if component_type is not None:
|
|
161
233
|
pulumi.set(__self__, "component_type", component_type)
|
|
234
|
+
if component_version is not None:
|
|
235
|
+
pulumi.set(__self__, "component_version", component_version)
|
|
162
236
|
if content is not None:
|
|
163
237
|
pulumi.set(__self__, "content", content)
|
|
164
238
|
if create_time is not None:
|
|
@@ -178,7 +252,15 @@ class _EcsImageComponentState:
|
|
|
178
252
|
@pulumi.getter(name="componentType")
|
|
179
253
|
def component_type(self) -> Optional[pulumi.Input[str]]:
|
|
180
254
|
"""
|
|
181
|
-
The component type.
|
|
255
|
+
The component type. Supports mirrored build components and test components.
|
|
256
|
+
|
|
257
|
+
Value range:
|
|
258
|
+
- Build
|
|
259
|
+
- Test
|
|
260
|
+
|
|
261
|
+
Default value: Build.
|
|
262
|
+
|
|
263
|
+
> **NOTE:** Build components can only be used in build templates and test components can only be used in test templates.
|
|
182
264
|
"""
|
|
183
265
|
return pulumi.get(self, "component_type")
|
|
184
266
|
|
|
@@ -186,11 +268,25 @@ class _EcsImageComponentState:
|
|
|
186
268
|
def component_type(self, value: Optional[pulumi.Input[str]]):
|
|
187
269
|
pulumi.set(self, "component_type", value)
|
|
188
270
|
|
|
271
|
+
@property
|
|
272
|
+
@pulumi.getter(name="componentVersion")
|
|
273
|
+
def component_version(self) -> Optional[pulumi.Input[str]]:
|
|
274
|
+
"""
|
|
275
|
+
The component version number, which is used in conjunction with the component name, is in the format of major.minor.patch and is a non-negative integer.
|
|
276
|
+
|
|
277
|
+
Default value:(x +1).0.0, where x is the maximum major version of the current component.
|
|
278
|
+
"""
|
|
279
|
+
return pulumi.get(self, "component_version")
|
|
280
|
+
|
|
281
|
+
@component_version.setter
|
|
282
|
+
def component_version(self, value: Optional[pulumi.Input[str]]):
|
|
283
|
+
pulumi.set(self, "component_version", value)
|
|
284
|
+
|
|
189
285
|
@property
|
|
190
286
|
@pulumi.getter
|
|
191
287
|
def content(self) -> Optional[pulumi.Input[str]]:
|
|
192
288
|
"""
|
|
193
|
-
Component content.
|
|
289
|
+
Component content. Consists of multiple commands. The maximum number of commands cannot exceed 127. Details of supported commands and command formats,
|
|
194
290
|
"""
|
|
195
291
|
return pulumi.get(self, "content")
|
|
196
292
|
|
|
@@ -214,7 +310,7 @@ class _EcsImageComponentState:
|
|
|
214
310
|
@pulumi.getter
|
|
215
311
|
def description(self) -> Optional[pulumi.Input[str]]:
|
|
216
312
|
"""
|
|
217
|
-
|
|
313
|
+
Description information. It must be 2 to 256 characters in length and cannot start with http:// or https.
|
|
218
314
|
"""
|
|
219
315
|
return pulumi.get(self, "description")
|
|
220
316
|
|
|
@@ -226,7 +322,9 @@ class _EcsImageComponentState:
|
|
|
226
322
|
@pulumi.getter(name="imageComponentName")
|
|
227
323
|
def image_component_name(self) -> Optional[pulumi.Input[str]]:
|
|
228
324
|
"""
|
|
229
|
-
The component name.
|
|
325
|
+
The component name. It must be 2 to 128 characters in length and start with an uppercase letter or a Chinese character. It cannot start with http:// or https. Can contain Chinese, English, numbers, half-length colons (:), underscores (_), half-length periods (.), or dashes (-).
|
|
326
|
+
|
|
327
|
+
> **NOTE:** When 'Name' is not set, the 'ImageComponentId' return value is used by default.
|
|
230
328
|
"""
|
|
231
329
|
return pulumi.get(self, "image_component_name")
|
|
232
330
|
|
|
@@ -238,7 +336,7 @@ class _EcsImageComponentState:
|
|
|
238
336
|
@pulumi.getter(name="resourceGroupId")
|
|
239
337
|
def resource_group_id(self) -> Optional[pulumi.Input[str]]:
|
|
240
338
|
"""
|
|
241
|
-
The ID of the resource group.
|
|
339
|
+
The ID of the enterprise resource group to which the created image component belongs.
|
|
242
340
|
"""
|
|
243
341
|
return pulumi.get(self, "resource_group_id")
|
|
244
342
|
|
|
@@ -250,7 +348,13 @@ class _EcsImageComponentState:
|
|
|
250
348
|
@pulumi.getter(name="systemType")
|
|
251
349
|
def system_type(self) -> Optional[pulumi.Input[str]]:
|
|
252
350
|
"""
|
|
253
|
-
The operating system supported by the component.
|
|
351
|
+
The operating system supported by the component.
|
|
352
|
+
|
|
353
|
+
Value range:
|
|
354
|
+
- Linux
|
|
355
|
+
- Windows
|
|
356
|
+
|
|
357
|
+
Default value: Linux.
|
|
254
358
|
"""
|
|
255
359
|
return pulumi.get(self, "system_type")
|
|
256
360
|
|
|
@@ -277,6 +381,7 @@ class EcsImageComponent(pulumi.CustomResource):
|
|
|
277
381
|
resource_name: str,
|
|
278
382
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
279
383
|
component_type: Optional[pulumi.Input[str]] = None,
|
|
384
|
+
component_version: Optional[pulumi.Input[str]] = None,
|
|
280
385
|
content: Optional[pulumi.Input[str]] = None,
|
|
281
386
|
description: Optional[pulumi.Input[str]] = None,
|
|
282
387
|
image_component_name: Optional[pulumi.Input[str]] = None,
|
|
@@ -285,9 +390,9 @@ class EcsImageComponent(pulumi.CustomResource):
|
|
|
285
390
|
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
286
391
|
__props__=None):
|
|
287
392
|
"""
|
|
288
|
-
Provides a
|
|
393
|
+
Provides a ECS Image Component resource.
|
|
289
394
|
|
|
290
|
-
For information about
|
|
395
|
+
For information about ECS Image Component and how to use it, see [What is Image Component](https://www.alibabacloud.com/help/en/doc-detail/200424.htm).
|
|
291
396
|
|
|
292
397
|
> **NOTE:** Available since v1.159.0.
|
|
293
398
|
|
|
@@ -314,7 +419,7 @@ class EcsImageComponent(pulumi.CustomResource):
|
|
|
314
419
|
|
|
315
420
|
## Import
|
|
316
421
|
|
|
317
|
-
|
|
422
|
+
ECS Image Component can be imported using the id, e.g.
|
|
318
423
|
|
|
319
424
|
```sh
|
|
320
425
|
$ pulumi import alicloud:ecs/ecsImageComponent:EcsImageComponent example <id>
|
|
@@ -322,12 +427,31 @@ class EcsImageComponent(pulumi.CustomResource):
|
|
|
322
427
|
|
|
323
428
|
:param str resource_name: The name of the resource.
|
|
324
429
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
325
|
-
:param pulumi.Input[str] component_type: The component type.
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
430
|
+
:param pulumi.Input[str] component_type: The component type. Supports mirrored build components and test components.
|
|
431
|
+
|
|
432
|
+
Value range:
|
|
433
|
+
- Build
|
|
434
|
+
- Test
|
|
435
|
+
|
|
436
|
+
Default value: Build.
|
|
437
|
+
|
|
438
|
+
> **NOTE:** Build components can only be used in build templates and test components can only be used in test templates.
|
|
439
|
+
:param pulumi.Input[str] component_version: The component version number, which is used in conjunction with the component name, is in the format of major.minor.patch and is a non-negative integer.
|
|
440
|
+
|
|
441
|
+
Default value:(x +1).0.0, where x is the maximum major version of the current component.
|
|
442
|
+
:param pulumi.Input[str] content: Component content. Consists of multiple commands. The maximum number of commands cannot exceed 127. Details of supported commands and command formats,
|
|
443
|
+
:param pulumi.Input[str] description: Description information. It must be 2 to 256 characters in length and cannot start with http:// or https.
|
|
444
|
+
:param pulumi.Input[str] image_component_name: The component name. It must be 2 to 128 characters in length and start with an uppercase letter or a Chinese character. It cannot start with http:// or https. Can contain Chinese, English, numbers, half-length colons (:), underscores (_), half-length periods (.), or dashes (-).
|
|
445
|
+
|
|
446
|
+
> **NOTE:** When 'Name' is not set, the 'ImageComponentId' return value is used by default.
|
|
447
|
+
:param pulumi.Input[str] resource_group_id: The ID of the enterprise resource group to which the created image component belongs.
|
|
448
|
+
:param pulumi.Input[str] system_type: The operating system supported by the component.
|
|
449
|
+
|
|
450
|
+
Value range:
|
|
451
|
+
- Linux
|
|
452
|
+
- Windows
|
|
453
|
+
|
|
454
|
+
Default value: Linux.
|
|
331
455
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: List of label key-value pairs.
|
|
332
456
|
"""
|
|
333
457
|
...
|
|
@@ -337,9 +461,9 @@ class EcsImageComponent(pulumi.CustomResource):
|
|
|
337
461
|
args: EcsImageComponentArgs,
|
|
338
462
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
339
463
|
"""
|
|
340
|
-
Provides a
|
|
464
|
+
Provides a ECS Image Component resource.
|
|
341
465
|
|
|
342
|
-
For information about
|
|
466
|
+
For information about ECS Image Component and how to use it, see [What is Image Component](https://www.alibabacloud.com/help/en/doc-detail/200424.htm).
|
|
343
467
|
|
|
344
468
|
> **NOTE:** Available since v1.159.0.
|
|
345
469
|
|
|
@@ -366,7 +490,7 @@ class EcsImageComponent(pulumi.CustomResource):
|
|
|
366
490
|
|
|
367
491
|
## Import
|
|
368
492
|
|
|
369
|
-
|
|
493
|
+
ECS Image Component can be imported using the id, e.g.
|
|
370
494
|
|
|
371
495
|
```sh
|
|
372
496
|
$ pulumi import alicloud:ecs/ecsImageComponent:EcsImageComponent example <id>
|
|
@@ -388,6 +512,7 @@ class EcsImageComponent(pulumi.CustomResource):
|
|
|
388
512
|
resource_name: str,
|
|
389
513
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
390
514
|
component_type: Optional[pulumi.Input[str]] = None,
|
|
515
|
+
component_version: Optional[pulumi.Input[str]] = None,
|
|
391
516
|
content: Optional[pulumi.Input[str]] = None,
|
|
392
517
|
description: Optional[pulumi.Input[str]] = None,
|
|
393
518
|
image_component_name: Optional[pulumi.Input[str]] = None,
|
|
@@ -404,6 +529,7 @@ class EcsImageComponent(pulumi.CustomResource):
|
|
|
404
529
|
__props__ = EcsImageComponentArgs.__new__(EcsImageComponentArgs)
|
|
405
530
|
|
|
406
531
|
__props__.__dict__["component_type"] = component_type
|
|
532
|
+
__props__.__dict__["component_version"] = component_version
|
|
407
533
|
if content is None and not opts.urn:
|
|
408
534
|
raise TypeError("Missing required property 'content'")
|
|
409
535
|
__props__.__dict__["content"] = content
|
|
@@ -424,6 +550,7 @@ class EcsImageComponent(pulumi.CustomResource):
|
|
|
424
550
|
id: pulumi.Input[str],
|
|
425
551
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
426
552
|
component_type: Optional[pulumi.Input[str]] = None,
|
|
553
|
+
component_version: Optional[pulumi.Input[str]] = None,
|
|
427
554
|
content: Optional[pulumi.Input[str]] = None,
|
|
428
555
|
create_time: Optional[pulumi.Input[str]] = None,
|
|
429
556
|
description: Optional[pulumi.Input[str]] = None,
|
|
@@ -438,13 +565,32 @@ class EcsImageComponent(pulumi.CustomResource):
|
|
|
438
565
|
:param str resource_name: The unique name of the resulting resource.
|
|
439
566
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
440
567
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
441
|
-
:param pulumi.Input[str] component_type: The component type.
|
|
442
|
-
|
|
568
|
+
:param pulumi.Input[str] component_type: The component type. Supports mirrored build components and test components.
|
|
569
|
+
|
|
570
|
+
Value range:
|
|
571
|
+
- Build
|
|
572
|
+
- Test
|
|
573
|
+
|
|
574
|
+
Default value: Build.
|
|
575
|
+
|
|
576
|
+
> **NOTE:** Build components can only be used in build templates and test components can only be used in test templates.
|
|
577
|
+
:param pulumi.Input[str] component_version: The component version number, which is used in conjunction with the component name, is in the format of major.minor.patch and is a non-negative integer.
|
|
578
|
+
|
|
579
|
+
Default value:(x +1).0.0, where x is the maximum major version of the current component.
|
|
580
|
+
:param pulumi.Input[str] content: Component content. Consists of multiple commands. The maximum number of commands cannot exceed 127. Details of supported commands and command formats,
|
|
443
581
|
:param pulumi.Input[str] create_time: Component creation time.
|
|
444
|
-
:param pulumi.Input[str] description:
|
|
445
|
-
:param pulumi.Input[str] image_component_name: The component name.
|
|
446
|
-
|
|
447
|
-
|
|
582
|
+
:param pulumi.Input[str] description: Description information. It must be 2 to 256 characters in length and cannot start with http:// or https.
|
|
583
|
+
:param pulumi.Input[str] image_component_name: The component name. It must be 2 to 128 characters in length and start with an uppercase letter or a Chinese character. It cannot start with http:// or https. Can contain Chinese, English, numbers, half-length colons (:), underscores (_), half-length periods (.), or dashes (-).
|
|
584
|
+
|
|
585
|
+
> **NOTE:** When 'Name' is not set, the 'ImageComponentId' return value is used by default.
|
|
586
|
+
:param pulumi.Input[str] resource_group_id: The ID of the enterprise resource group to which the created image component belongs.
|
|
587
|
+
:param pulumi.Input[str] system_type: The operating system supported by the component.
|
|
588
|
+
|
|
589
|
+
Value range:
|
|
590
|
+
- Linux
|
|
591
|
+
- Windows
|
|
592
|
+
|
|
593
|
+
Default value: Linux.
|
|
448
594
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: List of label key-value pairs.
|
|
449
595
|
"""
|
|
450
596
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
@@ -452,6 +598,7 @@ class EcsImageComponent(pulumi.CustomResource):
|
|
|
452
598
|
__props__ = _EcsImageComponentState.__new__(_EcsImageComponentState)
|
|
453
599
|
|
|
454
600
|
__props__.__dict__["component_type"] = component_type
|
|
601
|
+
__props__.__dict__["component_version"] = component_version
|
|
455
602
|
__props__.__dict__["content"] = content
|
|
456
603
|
__props__.__dict__["create_time"] = create_time
|
|
457
604
|
__props__.__dict__["description"] = description
|
|
@@ -465,15 +612,33 @@ class EcsImageComponent(pulumi.CustomResource):
|
|
|
465
612
|
@pulumi.getter(name="componentType")
|
|
466
613
|
def component_type(self) -> pulumi.Output[str]:
|
|
467
614
|
"""
|
|
468
|
-
The component type.
|
|
615
|
+
The component type. Supports mirrored build components and test components.
|
|
616
|
+
|
|
617
|
+
Value range:
|
|
618
|
+
- Build
|
|
619
|
+
- Test
|
|
620
|
+
|
|
621
|
+
Default value: Build.
|
|
622
|
+
|
|
623
|
+
> **NOTE:** Build components can only be used in build templates and test components can only be used in test templates.
|
|
469
624
|
"""
|
|
470
625
|
return pulumi.get(self, "component_type")
|
|
471
626
|
|
|
627
|
+
@property
|
|
628
|
+
@pulumi.getter(name="componentVersion")
|
|
629
|
+
def component_version(self) -> pulumi.Output[str]:
|
|
630
|
+
"""
|
|
631
|
+
The component version number, which is used in conjunction with the component name, is in the format of major.minor.patch and is a non-negative integer.
|
|
632
|
+
|
|
633
|
+
Default value:(x +1).0.0, where x is the maximum major version of the current component.
|
|
634
|
+
"""
|
|
635
|
+
return pulumi.get(self, "component_version")
|
|
636
|
+
|
|
472
637
|
@property
|
|
473
638
|
@pulumi.getter
|
|
474
639
|
def content(self) -> pulumi.Output[str]:
|
|
475
640
|
"""
|
|
476
|
-
Component content.
|
|
641
|
+
Component content. Consists of multiple commands. The maximum number of commands cannot exceed 127. Details of supported commands and command formats,
|
|
477
642
|
"""
|
|
478
643
|
return pulumi.get(self, "content")
|
|
479
644
|
|
|
@@ -489,7 +654,7 @@ class EcsImageComponent(pulumi.CustomResource):
|
|
|
489
654
|
@pulumi.getter
|
|
490
655
|
def description(self) -> pulumi.Output[Optional[str]]:
|
|
491
656
|
"""
|
|
492
|
-
|
|
657
|
+
Description information. It must be 2 to 256 characters in length and cannot start with http:// or https.
|
|
493
658
|
"""
|
|
494
659
|
return pulumi.get(self, "description")
|
|
495
660
|
|
|
@@ -497,7 +662,9 @@ class EcsImageComponent(pulumi.CustomResource):
|
|
|
497
662
|
@pulumi.getter(name="imageComponentName")
|
|
498
663
|
def image_component_name(self) -> pulumi.Output[str]:
|
|
499
664
|
"""
|
|
500
|
-
The component name.
|
|
665
|
+
The component name. It must be 2 to 128 characters in length and start with an uppercase letter or a Chinese character. It cannot start with http:// or https. Can contain Chinese, English, numbers, half-length colons (:), underscores (_), half-length periods (.), or dashes (-).
|
|
666
|
+
|
|
667
|
+
> **NOTE:** When 'Name' is not set, the 'ImageComponentId' return value is used by default.
|
|
501
668
|
"""
|
|
502
669
|
return pulumi.get(self, "image_component_name")
|
|
503
670
|
|
|
@@ -505,7 +672,7 @@ class EcsImageComponent(pulumi.CustomResource):
|
|
|
505
672
|
@pulumi.getter(name="resourceGroupId")
|
|
506
673
|
def resource_group_id(self) -> pulumi.Output[str]:
|
|
507
674
|
"""
|
|
508
|
-
The ID of the resource group.
|
|
675
|
+
The ID of the enterprise resource group to which the created image component belongs.
|
|
509
676
|
"""
|
|
510
677
|
return pulumi.get(self, "resource_group_id")
|
|
511
678
|
|
|
@@ -513,7 +680,13 @@ class EcsImageComponent(pulumi.CustomResource):
|
|
|
513
680
|
@pulumi.getter(name="systemType")
|
|
514
681
|
def system_type(self) -> pulumi.Output[str]:
|
|
515
682
|
"""
|
|
516
|
-
The operating system supported by the component.
|
|
683
|
+
The operating system supported by the component.
|
|
684
|
+
|
|
685
|
+
Value range:
|
|
686
|
+
- Linux
|
|
687
|
+
- Windows
|
|
688
|
+
|
|
689
|
+
Default value: Linux.
|
|
517
690
|
"""
|
|
518
691
|
return pulumi.get(self, "system_type")
|
|
519
692
|
|
pulumi_alicloud/ess/_inputs.py
CHANGED
|
@@ -53,6 +53,8 @@ __all__ = [
|
|
|
53
53
|
'ScalingConfigurationInstancePatternInfoArgsDict',
|
|
54
54
|
'ScalingConfigurationInstanceTypeOverrideArgs',
|
|
55
55
|
'ScalingConfigurationInstanceTypeOverrideArgsDict',
|
|
56
|
+
'ScalingConfigurationNetworkInterfaceArgs',
|
|
57
|
+
'ScalingConfigurationNetworkInterfaceArgsDict',
|
|
56
58
|
'ScalingConfigurationSpotPriceLimitArgs',
|
|
57
59
|
'ScalingConfigurationSpotPriceLimitArgsDict',
|
|
58
60
|
'ScalingGroupAlbServerGroupArgs',
|
|
@@ -2848,6 +2850,98 @@ class ScalingConfigurationInstanceTypeOverrideArgs:
|
|
|
2848
2850
|
pulumi.set(self, "weighted_capacity", value)
|
|
2849
2851
|
|
|
2850
2852
|
|
|
2853
|
+
if not MYPY:
|
|
2854
|
+
class ScalingConfigurationNetworkInterfaceArgsDict(TypedDict):
|
|
2855
|
+
instance_type: NotRequired[pulumi.Input[str]]
|
|
2856
|
+
"""
|
|
2857
|
+
The ENI type. If you specify NetworkInterfaces.N, specify at least one primary ENI. You cannot specify SecurityGroupId or SecurityGroupIds.N. Valid values: Primary, Secondary.
|
|
2858
|
+
"""
|
|
2859
|
+
ipv6_address_count: NotRequired[pulumi.Input[int]]
|
|
2860
|
+
"""
|
|
2861
|
+
The number of randomly generated IPv6 addresses that you want to assign to primary ENI N.
|
|
2862
|
+
"""
|
|
2863
|
+
network_interface_traffic_mode: NotRequired[pulumi.Input[str]]
|
|
2864
|
+
"""
|
|
2865
|
+
The communication mode of the ENI. Valid values: Standard, HighPerformance.
|
|
2866
|
+
"""
|
|
2867
|
+
security_group_ids: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
2868
|
+
"""
|
|
2869
|
+
The ID of security group N to which ENI N belongs.
|
|
2870
|
+
"""
|
|
2871
|
+
elif False:
|
|
2872
|
+
ScalingConfigurationNetworkInterfaceArgsDict: TypeAlias = Mapping[str, Any]
|
|
2873
|
+
|
|
2874
|
+
@pulumi.input_type
|
|
2875
|
+
class ScalingConfigurationNetworkInterfaceArgs:
|
|
2876
|
+
def __init__(__self__, *,
|
|
2877
|
+
instance_type: Optional[pulumi.Input[str]] = None,
|
|
2878
|
+
ipv6_address_count: Optional[pulumi.Input[int]] = None,
|
|
2879
|
+
network_interface_traffic_mode: Optional[pulumi.Input[str]] = None,
|
|
2880
|
+
security_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
|
|
2881
|
+
"""
|
|
2882
|
+
:param pulumi.Input[str] instance_type: The ENI type. If you specify NetworkInterfaces.N, specify at least one primary ENI. You cannot specify SecurityGroupId or SecurityGroupIds.N. Valid values: Primary, Secondary.
|
|
2883
|
+
:param pulumi.Input[int] ipv6_address_count: The number of randomly generated IPv6 addresses that you want to assign to primary ENI N.
|
|
2884
|
+
:param pulumi.Input[str] network_interface_traffic_mode: The communication mode of the ENI. Valid values: Standard, HighPerformance.
|
|
2885
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] security_group_ids: The ID of security group N to which ENI N belongs.
|
|
2886
|
+
"""
|
|
2887
|
+
if instance_type is not None:
|
|
2888
|
+
pulumi.set(__self__, "instance_type", instance_type)
|
|
2889
|
+
if ipv6_address_count is not None:
|
|
2890
|
+
pulumi.set(__self__, "ipv6_address_count", ipv6_address_count)
|
|
2891
|
+
if network_interface_traffic_mode is not None:
|
|
2892
|
+
pulumi.set(__self__, "network_interface_traffic_mode", network_interface_traffic_mode)
|
|
2893
|
+
if security_group_ids is not None:
|
|
2894
|
+
pulumi.set(__self__, "security_group_ids", security_group_ids)
|
|
2895
|
+
|
|
2896
|
+
@property
|
|
2897
|
+
@pulumi.getter(name="instanceType")
|
|
2898
|
+
def instance_type(self) -> Optional[pulumi.Input[str]]:
|
|
2899
|
+
"""
|
|
2900
|
+
The ENI type. If you specify NetworkInterfaces.N, specify at least one primary ENI. You cannot specify SecurityGroupId or SecurityGroupIds.N. Valid values: Primary, Secondary.
|
|
2901
|
+
"""
|
|
2902
|
+
return pulumi.get(self, "instance_type")
|
|
2903
|
+
|
|
2904
|
+
@instance_type.setter
|
|
2905
|
+
def instance_type(self, value: Optional[pulumi.Input[str]]):
|
|
2906
|
+
pulumi.set(self, "instance_type", value)
|
|
2907
|
+
|
|
2908
|
+
@property
|
|
2909
|
+
@pulumi.getter(name="ipv6AddressCount")
|
|
2910
|
+
def ipv6_address_count(self) -> Optional[pulumi.Input[int]]:
|
|
2911
|
+
"""
|
|
2912
|
+
The number of randomly generated IPv6 addresses that you want to assign to primary ENI N.
|
|
2913
|
+
"""
|
|
2914
|
+
return pulumi.get(self, "ipv6_address_count")
|
|
2915
|
+
|
|
2916
|
+
@ipv6_address_count.setter
|
|
2917
|
+
def ipv6_address_count(self, value: Optional[pulumi.Input[int]]):
|
|
2918
|
+
pulumi.set(self, "ipv6_address_count", value)
|
|
2919
|
+
|
|
2920
|
+
@property
|
|
2921
|
+
@pulumi.getter(name="networkInterfaceTrafficMode")
|
|
2922
|
+
def network_interface_traffic_mode(self) -> Optional[pulumi.Input[str]]:
|
|
2923
|
+
"""
|
|
2924
|
+
The communication mode of the ENI. Valid values: Standard, HighPerformance.
|
|
2925
|
+
"""
|
|
2926
|
+
return pulumi.get(self, "network_interface_traffic_mode")
|
|
2927
|
+
|
|
2928
|
+
@network_interface_traffic_mode.setter
|
|
2929
|
+
def network_interface_traffic_mode(self, value: Optional[pulumi.Input[str]]):
|
|
2930
|
+
pulumi.set(self, "network_interface_traffic_mode", value)
|
|
2931
|
+
|
|
2932
|
+
@property
|
|
2933
|
+
@pulumi.getter(name="securityGroupIds")
|
|
2934
|
+
def security_group_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
2935
|
+
"""
|
|
2936
|
+
The ID of security group N to which ENI N belongs.
|
|
2937
|
+
"""
|
|
2938
|
+
return pulumi.get(self, "security_group_ids")
|
|
2939
|
+
|
|
2940
|
+
@security_group_ids.setter
|
|
2941
|
+
def security_group_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
2942
|
+
pulumi.set(self, "security_group_ids", value)
|
|
2943
|
+
|
|
2944
|
+
|
|
2851
2945
|
if not MYPY:
|
|
2852
2946
|
class ScalingConfigurationSpotPriceLimitArgsDict(TypedDict):
|
|
2853
2947
|
instance_type: NotRequired[pulumi.Input[str]]
|