pulumi-alicloud 3.69.0a1733375908__py3-none-any.whl → 3.69.0a1733740345__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 +56 -0
- pulumi_alicloud/adb/db_cluster.py +7 -0
- pulumi_alicloud/arms/__init__.py +2 -0
- pulumi_alicloud/arms/_inputs.py +42 -4
- pulumi_alicloud/arms/alert_robot.py +421 -0
- pulumi_alicloud/arms/dispatch_rule.py +4 -0
- pulumi_alicloud/arms/get_alert_robots.py +230 -0
- pulumi_alicloud/arms/get_dispatch_rules.py +99 -6
- pulumi_alicloud/arms/outputs.py +154 -13
- pulumi_alicloud/cfg/rule.py +4 -4
- pulumi_alicloud/cs/autoscaling_config.py +51 -0
- pulumi_alicloud/dataworks/__init__.py +4 -0
- pulumi_alicloud/dataworks/_inputs.py +95 -0
- pulumi_alicloud/dataworks/data_source.py +686 -0
- pulumi_alicloud/dataworks/data_source_shared_rule.py +378 -0
- pulumi_alicloud/dataworks/outputs.py +44 -0
- pulumi_alicloud/dataworks/project.py +294 -140
- pulumi_alicloud/dataworks/project_member.py +380 -0
- pulumi_alicloud/ecs/__init__.py +1 -0
- pulumi_alicloud/ecs/_inputs.py +34 -0
- pulumi_alicloud/ecs/disk.py +156 -14
- pulumi_alicloud/ecs/ecs_disk.py +308 -97
- pulumi_alicloud/ecs/ecs_key_pair.py +77 -49
- pulumi_alicloud/ecs/image_pipeline_execution.py +245 -0
- pulumi_alicloud/ecs/instance.py +145 -0
- pulumi_alicloud/ecs/key_pair.py +27 -7
- pulumi_alicloud/ecs/outputs.py +37 -0
- pulumi_alicloud/oss/__init__.py +1 -0
- pulumi_alicloud/oss/_inputs.py +1750 -0
- pulumi_alicloud/oss/bucket_website.py +416 -0
- pulumi_alicloud/oss/outputs.py +1338 -0
- pulumi_alicloud/polardb/cluster.py +7 -7
- pulumi_alicloud/polardb/get_clusters.py +1 -1
- pulumi_alicloud/polardb/outputs.py +2 -2
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/redis/tair_instance.py +63 -30
- pulumi_alicloud/sae/application.py +1 -1
- pulumi_alicloud/slb/attachment.py +2 -6
- pulumi_alicloud/sls/__init__.py +1 -0
- pulumi_alicloud/sls/_inputs.py +484 -0
- pulumi_alicloud/sls/oss_export_sink.py +428 -0
- pulumi_alicloud/sls/outputs.py +346 -0
- pulumi_alicloud/vpc/network.py +7 -7
- {pulumi_alicloud-3.69.0a1733375908.dist-info → pulumi_alicloud-3.69.0a1733740345.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.69.0a1733375908.dist-info → pulumi_alicloud-3.69.0a1733740345.dist-info}/RECORD +47 -38
- {pulumi_alicloud-3.69.0a1733375908.dist-info → pulumi_alicloud-3.69.0a1733740345.dist-info}/WHEEL +0 -0
- {pulumi_alicloud-3.69.0a1733375908.dist-info → pulumi_alicloud-3.69.0a1733740345.dist-info}/top_level.txt +0 -0
|
@@ -29,16 +29,16 @@ class EcsKeyPairArgs:
|
|
|
29
29
|
"""
|
|
30
30
|
The set of arguments for constructing a EcsKeyPair resource.
|
|
31
31
|
:param pulumi.Input[str] key_file: The key file.
|
|
32
|
-
:param pulumi.Input[str]
|
|
33
|
-
:param pulumi.Input[str]
|
|
34
|
-
:param pulumi.Input[str]
|
|
35
|
-
:param pulumi.Input[str]
|
|
32
|
+
:param pulumi.Input[str] key_pair_name: The name of the key pair. The name must be 2 to 128 characters in length. The name must start with a letter and cannot start with http:// or https://. The name can contain letters, digits, colons (:), underscores (_), and hyphens (-).
|
|
33
|
+
:param pulumi.Input[str] public_key: The public key of the key pair.
|
|
34
|
+
:param pulumi.Input[str] resource_group_id: The ID of the resource group to which to add the key pair.
|
|
35
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A mapping of tags to assign to the resource.
|
|
36
36
|
"""
|
|
37
37
|
if key_file is not None:
|
|
38
38
|
pulumi.set(__self__, "key_file", key_file)
|
|
39
39
|
if key_name is not None:
|
|
40
|
-
warnings.warn("""Field
|
|
41
|
-
pulumi.log.warn("""key_name is deprecated: Field
|
|
40
|
+
warnings.warn("""Field `key_name` has been deprecated from provider version 1.121.0. New field `key_pair_name` instead.""", DeprecationWarning)
|
|
41
|
+
pulumi.log.warn("""key_name is deprecated: Field `key_name` has been deprecated from provider version 1.121.0. New field `key_pair_name` instead.""")
|
|
42
42
|
if key_name is not None:
|
|
43
43
|
pulumi.set(__self__, "key_name", key_name)
|
|
44
44
|
if key_name_prefix is not None:
|
|
@@ -66,11 +66,8 @@ class EcsKeyPairArgs:
|
|
|
66
66
|
|
|
67
67
|
@property
|
|
68
68
|
@pulumi.getter(name="keyName")
|
|
69
|
-
@_utilities.deprecated("""Field
|
|
69
|
+
@_utilities.deprecated("""Field `key_name` has been deprecated from provider version 1.121.0. New field `key_pair_name` instead.""")
|
|
70
70
|
def key_name(self) -> Optional[pulumi.Input[str]]:
|
|
71
|
-
"""
|
|
72
|
-
Field `key_name` has been deprecated from provider version 1.121.0. New field `key_pair_name` instead.
|
|
73
|
-
"""
|
|
74
71
|
return pulumi.get(self, "key_name")
|
|
75
72
|
|
|
76
73
|
@key_name.setter
|
|
@@ -90,7 +87,7 @@ class EcsKeyPairArgs:
|
|
|
90
87
|
@pulumi.getter(name="keyPairName")
|
|
91
88
|
def key_pair_name(self) -> Optional[pulumi.Input[str]]:
|
|
92
89
|
"""
|
|
93
|
-
The
|
|
90
|
+
The name of the key pair. The name must be 2 to 128 characters in length. The name must start with a letter and cannot start with http:// or https://. The name can contain letters, digits, colons (:), underscores (_), and hyphens (-).
|
|
94
91
|
"""
|
|
95
92
|
return pulumi.get(self, "key_pair_name")
|
|
96
93
|
|
|
@@ -102,7 +99,7 @@ class EcsKeyPairArgs:
|
|
|
102
99
|
@pulumi.getter(name="publicKey")
|
|
103
100
|
def public_key(self) -> Optional[pulumi.Input[str]]:
|
|
104
101
|
"""
|
|
105
|
-
|
|
102
|
+
The public key of the key pair.
|
|
106
103
|
"""
|
|
107
104
|
return pulumi.get(self, "public_key")
|
|
108
105
|
|
|
@@ -114,7 +111,7 @@ class EcsKeyPairArgs:
|
|
|
114
111
|
@pulumi.getter(name="resourceGroupId")
|
|
115
112
|
def resource_group_id(self) -> Optional[pulumi.Input[str]]:
|
|
116
113
|
"""
|
|
117
|
-
The
|
|
114
|
+
The ID of the resource group to which to add the key pair.
|
|
118
115
|
"""
|
|
119
116
|
return pulumi.get(self, "resource_group_id")
|
|
120
117
|
|
|
@@ -125,6 +122,9 @@ class EcsKeyPairArgs:
|
|
|
125
122
|
@property
|
|
126
123
|
@pulumi.getter
|
|
127
124
|
def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
125
|
+
"""
|
|
126
|
+
A mapping of tags to assign to the resource.
|
|
127
|
+
"""
|
|
128
128
|
return pulumi.get(self, "tags")
|
|
129
129
|
|
|
130
130
|
@tags.setter
|
|
@@ -135,6 +135,7 @@ class EcsKeyPairArgs:
|
|
|
135
135
|
@pulumi.input_type
|
|
136
136
|
class _EcsKeyPairState:
|
|
137
137
|
def __init__(__self__, *,
|
|
138
|
+
create_time: Optional[pulumi.Input[str]] = None,
|
|
138
139
|
finger_print: Optional[pulumi.Input[str]] = None,
|
|
139
140
|
key_file: Optional[pulumi.Input[str]] = None,
|
|
140
141
|
key_name: Optional[pulumi.Input[str]] = None,
|
|
@@ -145,20 +146,23 @@ class _EcsKeyPairState:
|
|
|
145
146
|
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None):
|
|
146
147
|
"""
|
|
147
148
|
Input properties used for looking up and filtering EcsKeyPair resources.
|
|
148
|
-
:param pulumi.Input[str]
|
|
149
|
+
:param pulumi.Input[str] create_time: (Available since v1.237.0) The time when the key pair was created.
|
|
150
|
+
:param pulumi.Input[str] finger_print: The fingerprint of the key pair.
|
|
149
151
|
:param pulumi.Input[str] key_file: The key file.
|
|
150
|
-
:param pulumi.Input[str]
|
|
151
|
-
:param pulumi.Input[str]
|
|
152
|
-
:param pulumi.Input[str]
|
|
153
|
-
:param pulumi.Input[str]
|
|
152
|
+
:param pulumi.Input[str] key_pair_name: The name of the key pair. The name must be 2 to 128 characters in length. The name must start with a letter and cannot start with http:// or https://. The name can contain letters, digits, colons (:), underscores (_), and hyphens (-).
|
|
153
|
+
:param pulumi.Input[str] public_key: The public key of the key pair.
|
|
154
|
+
:param pulumi.Input[str] resource_group_id: The ID of the resource group to which to add the key pair.
|
|
155
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A mapping of tags to assign to the resource.
|
|
154
156
|
"""
|
|
157
|
+
if create_time is not None:
|
|
158
|
+
pulumi.set(__self__, "create_time", create_time)
|
|
155
159
|
if finger_print is not None:
|
|
156
160
|
pulumi.set(__self__, "finger_print", finger_print)
|
|
157
161
|
if key_file is not None:
|
|
158
162
|
pulumi.set(__self__, "key_file", key_file)
|
|
159
163
|
if key_name is not None:
|
|
160
|
-
warnings.warn("""Field
|
|
161
|
-
pulumi.log.warn("""key_name is deprecated: Field
|
|
164
|
+
warnings.warn("""Field `key_name` has been deprecated from provider version 1.121.0. New field `key_pair_name` instead.""", DeprecationWarning)
|
|
165
|
+
pulumi.log.warn("""key_name is deprecated: Field `key_name` has been deprecated from provider version 1.121.0. New field `key_pair_name` instead.""")
|
|
162
166
|
if key_name is not None:
|
|
163
167
|
pulumi.set(__self__, "key_name", key_name)
|
|
164
168
|
if key_name_prefix is not None:
|
|
@@ -172,11 +176,23 @@ class _EcsKeyPairState:
|
|
|
172
176
|
if tags is not None:
|
|
173
177
|
pulumi.set(__self__, "tags", tags)
|
|
174
178
|
|
|
179
|
+
@property
|
|
180
|
+
@pulumi.getter(name="createTime")
|
|
181
|
+
def create_time(self) -> Optional[pulumi.Input[str]]:
|
|
182
|
+
"""
|
|
183
|
+
(Available since v1.237.0) The time when the key pair was created.
|
|
184
|
+
"""
|
|
185
|
+
return pulumi.get(self, "create_time")
|
|
186
|
+
|
|
187
|
+
@create_time.setter
|
|
188
|
+
def create_time(self, value: Optional[pulumi.Input[str]]):
|
|
189
|
+
pulumi.set(self, "create_time", value)
|
|
190
|
+
|
|
175
191
|
@property
|
|
176
192
|
@pulumi.getter(name="fingerPrint")
|
|
177
193
|
def finger_print(self) -> Optional[pulumi.Input[str]]:
|
|
178
194
|
"""
|
|
179
|
-
The
|
|
195
|
+
The fingerprint of the key pair.
|
|
180
196
|
"""
|
|
181
197
|
return pulumi.get(self, "finger_print")
|
|
182
198
|
|
|
@@ -198,11 +214,8 @@ class _EcsKeyPairState:
|
|
|
198
214
|
|
|
199
215
|
@property
|
|
200
216
|
@pulumi.getter(name="keyName")
|
|
201
|
-
@_utilities.deprecated("""Field
|
|
217
|
+
@_utilities.deprecated("""Field `key_name` has been deprecated from provider version 1.121.0. New field `key_pair_name` instead.""")
|
|
202
218
|
def key_name(self) -> Optional[pulumi.Input[str]]:
|
|
203
|
-
"""
|
|
204
|
-
Field `key_name` has been deprecated from provider version 1.121.0. New field `key_pair_name` instead.
|
|
205
|
-
"""
|
|
206
219
|
return pulumi.get(self, "key_name")
|
|
207
220
|
|
|
208
221
|
@key_name.setter
|
|
@@ -222,7 +235,7 @@ class _EcsKeyPairState:
|
|
|
222
235
|
@pulumi.getter(name="keyPairName")
|
|
223
236
|
def key_pair_name(self) -> Optional[pulumi.Input[str]]:
|
|
224
237
|
"""
|
|
225
|
-
The
|
|
238
|
+
The name of the key pair. The name must be 2 to 128 characters in length. The name must start with a letter and cannot start with http:// or https://. The name can contain letters, digits, colons (:), underscores (_), and hyphens (-).
|
|
226
239
|
"""
|
|
227
240
|
return pulumi.get(self, "key_pair_name")
|
|
228
241
|
|
|
@@ -234,7 +247,7 @@ class _EcsKeyPairState:
|
|
|
234
247
|
@pulumi.getter(name="publicKey")
|
|
235
248
|
def public_key(self) -> Optional[pulumi.Input[str]]:
|
|
236
249
|
"""
|
|
237
|
-
|
|
250
|
+
The public key of the key pair.
|
|
238
251
|
"""
|
|
239
252
|
return pulumi.get(self, "public_key")
|
|
240
253
|
|
|
@@ -246,7 +259,7 @@ class _EcsKeyPairState:
|
|
|
246
259
|
@pulumi.getter(name="resourceGroupId")
|
|
247
260
|
def resource_group_id(self) -> Optional[pulumi.Input[str]]:
|
|
248
261
|
"""
|
|
249
|
-
The
|
|
262
|
+
The ID of the resource group to which to add the key pair.
|
|
250
263
|
"""
|
|
251
264
|
return pulumi.get(self, "resource_group_id")
|
|
252
265
|
|
|
@@ -257,6 +270,9 @@ class _EcsKeyPairState:
|
|
|
257
270
|
@property
|
|
258
271
|
@pulumi.getter
|
|
259
272
|
def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
273
|
+
"""
|
|
274
|
+
A mapping of tags to assign to the resource.
|
|
275
|
+
"""
|
|
260
276
|
return pulumi.get(self, "tags")
|
|
261
277
|
|
|
262
278
|
@tags.setter
|
|
@@ -282,7 +298,7 @@ class EcsKeyPair(pulumi.CustomResource):
|
|
|
282
298
|
|
|
283
299
|
For information about ECS Key Pair and how to use it, see [What is Key Pair](https://www.alibabacloud.com/help/en/doc-detail/51771.htm).
|
|
284
300
|
|
|
285
|
-
> **NOTE:** Available
|
|
301
|
+
> **NOTE:** Available since v1.121.0.
|
|
286
302
|
|
|
287
303
|
## Example Usage
|
|
288
304
|
|
|
@@ -306,16 +322,16 @@ class EcsKeyPair(pulumi.CustomResource):
|
|
|
306
322
|
ECS Key Pair can be imported using the id, e.g.
|
|
307
323
|
|
|
308
324
|
```sh
|
|
309
|
-
$ pulumi import alicloud:ecs/ecsKeyPair:EcsKeyPair example <
|
|
325
|
+
$ pulumi import alicloud:ecs/ecsKeyPair:EcsKeyPair example <id>
|
|
310
326
|
```
|
|
311
327
|
|
|
312
328
|
:param str resource_name: The name of the resource.
|
|
313
329
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
314
330
|
:param pulumi.Input[str] key_file: The key file.
|
|
315
|
-
:param pulumi.Input[str]
|
|
316
|
-
:param pulumi.Input[str]
|
|
317
|
-
:param pulumi.Input[str]
|
|
318
|
-
:param pulumi.Input[str]
|
|
331
|
+
:param pulumi.Input[str] key_pair_name: The name of the key pair. The name must be 2 to 128 characters in length. The name must start with a letter and cannot start with http:// or https://. The name can contain letters, digits, colons (:), underscores (_), and hyphens (-).
|
|
332
|
+
:param pulumi.Input[str] public_key: The public key of the key pair.
|
|
333
|
+
:param pulumi.Input[str] resource_group_id: The ID of the resource group to which to add the key pair.
|
|
334
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A mapping of tags to assign to the resource.
|
|
319
335
|
"""
|
|
320
336
|
...
|
|
321
337
|
@overload
|
|
@@ -328,7 +344,7 @@ class EcsKeyPair(pulumi.CustomResource):
|
|
|
328
344
|
|
|
329
345
|
For information about ECS Key Pair and how to use it, see [What is Key Pair](https://www.alibabacloud.com/help/en/doc-detail/51771.htm).
|
|
330
346
|
|
|
331
|
-
> **NOTE:** Available
|
|
347
|
+
> **NOTE:** Available since v1.121.0.
|
|
332
348
|
|
|
333
349
|
## Example Usage
|
|
334
350
|
|
|
@@ -352,7 +368,7 @@ class EcsKeyPair(pulumi.CustomResource):
|
|
|
352
368
|
ECS Key Pair can be imported using the id, e.g.
|
|
353
369
|
|
|
354
370
|
```sh
|
|
355
|
-
$ pulumi import alicloud:ecs/ecsKeyPair:EcsKeyPair example <
|
|
371
|
+
$ pulumi import alicloud:ecs/ecsKeyPair:EcsKeyPair example <id>
|
|
356
372
|
```
|
|
357
373
|
|
|
358
374
|
:param str resource_name: The name of the resource.
|
|
@@ -393,6 +409,7 @@ class EcsKeyPair(pulumi.CustomResource):
|
|
|
393
409
|
__props__.__dict__["public_key"] = public_key
|
|
394
410
|
__props__.__dict__["resource_group_id"] = resource_group_id
|
|
395
411
|
__props__.__dict__["tags"] = tags
|
|
412
|
+
__props__.__dict__["create_time"] = None
|
|
396
413
|
__props__.__dict__["finger_print"] = None
|
|
397
414
|
super(EcsKeyPair, __self__).__init__(
|
|
398
415
|
'alicloud:ecs/ecsKeyPair:EcsKeyPair',
|
|
@@ -404,6 +421,7 @@ class EcsKeyPair(pulumi.CustomResource):
|
|
|
404
421
|
def get(resource_name: str,
|
|
405
422
|
id: pulumi.Input[str],
|
|
406
423
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
424
|
+
create_time: Optional[pulumi.Input[str]] = None,
|
|
407
425
|
finger_print: Optional[pulumi.Input[str]] = None,
|
|
408
426
|
key_file: Optional[pulumi.Input[str]] = None,
|
|
409
427
|
key_name: Optional[pulumi.Input[str]] = None,
|
|
@@ -419,17 +437,19 @@ class EcsKeyPair(pulumi.CustomResource):
|
|
|
419
437
|
:param str resource_name: The unique name of the resulting resource.
|
|
420
438
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
421
439
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
422
|
-
:param pulumi.Input[str]
|
|
440
|
+
:param pulumi.Input[str] create_time: (Available since v1.237.0) The time when the key pair was created.
|
|
441
|
+
:param pulumi.Input[str] finger_print: The fingerprint of the key pair.
|
|
423
442
|
:param pulumi.Input[str] key_file: The key file.
|
|
424
|
-
:param pulumi.Input[str]
|
|
425
|
-
:param pulumi.Input[str]
|
|
426
|
-
:param pulumi.Input[str]
|
|
427
|
-
:param pulumi.Input[str]
|
|
443
|
+
:param pulumi.Input[str] key_pair_name: The name of the key pair. The name must be 2 to 128 characters in length. The name must start with a letter and cannot start with http:// or https://. The name can contain letters, digits, colons (:), underscores (_), and hyphens (-).
|
|
444
|
+
:param pulumi.Input[str] public_key: The public key of the key pair.
|
|
445
|
+
:param pulumi.Input[str] resource_group_id: The ID of the resource group to which to add the key pair.
|
|
446
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A mapping of tags to assign to the resource.
|
|
428
447
|
"""
|
|
429
448
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
430
449
|
|
|
431
450
|
__props__ = _EcsKeyPairState.__new__(_EcsKeyPairState)
|
|
432
451
|
|
|
452
|
+
__props__.__dict__["create_time"] = create_time
|
|
433
453
|
__props__.__dict__["finger_print"] = finger_print
|
|
434
454
|
__props__.__dict__["key_file"] = key_file
|
|
435
455
|
__props__.__dict__["key_name"] = key_name
|
|
@@ -440,11 +460,19 @@ class EcsKeyPair(pulumi.CustomResource):
|
|
|
440
460
|
__props__.__dict__["tags"] = tags
|
|
441
461
|
return EcsKeyPair(resource_name, opts=opts, __props__=__props__)
|
|
442
462
|
|
|
463
|
+
@property
|
|
464
|
+
@pulumi.getter(name="createTime")
|
|
465
|
+
def create_time(self) -> pulumi.Output[str]:
|
|
466
|
+
"""
|
|
467
|
+
(Available since v1.237.0) The time when the key pair was created.
|
|
468
|
+
"""
|
|
469
|
+
return pulumi.get(self, "create_time")
|
|
470
|
+
|
|
443
471
|
@property
|
|
444
472
|
@pulumi.getter(name="fingerPrint")
|
|
445
473
|
def finger_print(self) -> pulumi.Output[str]:
|
|
446
474
|
"""
|
|
447
|
-
The
|
|
475
|
+
The fingerprint of the key pair.
|
|
448
476
|
"""
|
|
449
477
|
return pulumi.get(self, "finger_print")
|
|
450
478
|
|
|
@@ -458,11 +486,8 @@ class EcsKeyPair(pulumi.CustomResource):
|
|
|
458
486
|
|
|
459
487
|
@property
|
|
460
488
|
@pulumi.getter(name="keyName")
|
|
461
|
-
@_utilities.deprecated("""Field
|
|
489
|
+
@_utilities.deprecated("""Field `key_name` has been deprecated from provider version 1.121.0. New field `key_pair_name` instead.""")
|
|
462
490
|
def key_name(self) -> pulumi.Output[str]:
|
|
463
|
-
"""
|
|
464
|
-
Field `key_name` has been deprecated from provider version 1.121.0. New field `key_pair_name` instead.
|
|
465
|
-
"""
|
|
466
491
|
return pulumi.get(self, "key_name")
|
|
467
492
|
|
|
468
493
|
@property
|
|
@@ -474,7 +499,7 @@ class EcsKeyPair(pulumi.CustomResource):
|
|
|
474
499
|
@pulumi.getter(name="keyPairName")
|
|
475
500
|
def key_pair_name(self) -> pulumi.Output[str]:
|
|
476
501
|
"""
|
|
477
|
-
The
|
|
502
|
+
The name of the key pair. The name must be 2 to 128 characters in length. The name must start with a letter and cannot start with http:// or https://. The name can contain letters, digits, colons (:), underscores (_), and hyphens (-).
|
|
478
503
|
"""
|
|
479
504
|
return pulumi.get(self, "key_pair_name")
|
|
480
505
|
|
|
@@ -482,7 +507,7 @@ class EcsKeyPair(pulumi.CustomResource):
|
|
|
482
507
|
@pulumi.getter(name="publicKey")
|
|
483
508
|
def public_key(self) -> pulumi.Output[Optional[str]]:
|
|
484
509
|
"""
|
|
485
|
-
|
|
510
|
+
The public key of the key pair.
|
|
486
511
|
"""
|
|
487
512
|
return pulumi.get(self, "public_key")
|
|
488
513
|
|
|
@@ -490,12 +515,15 @@ class EcsKeyPair(pulumi.CustomResource):
|
|
|
490
515
|
@pulumi.getter(name="resourceGroupId")
|
|
491
516
|
def resource_group_id(self) -> pulumi.Output[str]:
|
|
492
517
|
"""
|
|
493
|
-
The
|
|
518
|
+
The ID of the resource group to which to add the key pair.
|
|
494
519
|
"""
|
|
495
520
|
return pulumi.get(self, "resource_group_id")
|
|
496
521
|
|
|
497
522
|
@property
|
|
498
523
|
@pulumi.getter
|
|
499
524
|
def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
|
|
525
|
+
"""
|
|
526
|
+
A mapping of tags to assign to the resource.
|
|
527
|
+
"""
|
|
500
528
|
return pulumi.get(self, "tags")
|
|
501
529
|
|
|
@@ -0,0 +1,245 @@
|
|
|
1
|
+
# coding=utf-8
|
|
2
|
+
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
|
|
5
|
+
import copy
|
|
6
|
+
import warnings
|
|
7
|
+
import sys
|
|
8
|
+
import pulumi
|
|
9
|
+
import pulumi.runtime
|
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
15
|
+
from .. import _utilities
|
|
16
|
+
|
|
17
|
+
__all__ = ['ImagePipelineExecutionArgs', 'ImagePipelineExecution']
|
|
18
|
+
|
|
19
|
+
@pulumi.input_type
|
|
20
|
+
class ImagePipelineExecutionArgs:
|
|
21
|
+
def __init__(__self__, *,
|
|
22
|
+
image_pipeline_id: pulumi.Input[str],
|
|
23
|
+
status: Optional[pulumi.Input[str]] = None):
|
|
24
|
+
"""
|
|
25
|
+
The set of arguments for constructing a ImagePipelineExecution resource.
|
|
26
|
+
:param pulumi.Input[str] image_pipeline_id: The ID of the image template.
|
|
27
|
+
:param pulumi.Input[str] status: The status of the image build task. Valid values:
|
|
28
|
+
- CANCELLED: canceled. The build process has been canceled.
|
|
29
|
+
"""
|
|
30
|
+
pulumi.set(__self__, "image_pipeline_id", image_pipeline_id)
|
|
31
|
+
if status is not None:
|
|
32
|
+
pulumi.set(__self__, "status", status)
|
|
33
|
+
|
|
34
|
+
@property
|
|
35
|
+
@pulumi.getter(name="imagePipelineId")
|
|
36
|
+
def image_pipeline_id(self) -> pulumi.Input[str]:
|
|
37
|
+
"""
|
|
38
|
+
The ID of the image template.
|
|
39
|
+
"""
|
|
40
|
+
return pulumi.get(self, "image_pipeline_id")
|
|
41
|
+
|
|
42
|
+
@image_pipeline_id.setter
|
|
43
|
+
def image_pipeline_id(self, value: pulumi.Input[str]):
|
|
44
|
+
pulumi.set(self, "image_pipeline_id", value)
|
|
45
|
+
|
|
46
|
+
@property
|
|
47
|
+
@pulumi.getter
|
|
48
|
+
def status(self) -> Optional[pulumi.Input[str]]:
|
|
49
|
+
"""
|
|
50
|
+
The status of the image build task. Valid values:
|
|
51
|
+
- CANCELLED: canceled. The build process has been canceled.
|
|
52
|
+
"""
|
|
53
|
+
return pulumi.get(self, "status")
|
|
54
|
+
|
|
55
|
+
@status.setter
|
|
56
|
+
def status(self, value: Optional[pulumi.Input[str]]):
|
|
57
|
+
pulumi.set(self, "status", value)
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
@pulumi.input_type
|
|
61
|
+
class _ImagePipelineExecutionState:
|
|
62
|
+
def __init__(__self__, *,
|
|
63
|
+
create_time: Optional[pulumi.Input[str]] = None,
|
|
64
|
+
image_pipeline_id: Optional[pulumi.Input[str]] = None,
|
|
65
|
+
status: Optional[pulumi.Input[str]] = None):
|
|
66
|
+
"""
|
|
67
|
+
Input properties used for looking up and filtering ImagePipelineExecution resources.
|
|
68
|
+
:param pulumi.Input[str] create_time: The time when the image build task was created.
|
|
69
|
+
:param pulumi.Input[str] image_pipeline_id: The ID of the image template.
|
|
70
|
+
:param pulumi.Input[str] status: The status of the image build task. Valid values:
|
|
71
|
+
- CANCELLED: canceled. The build process has been canceled.
|
|
72
|
+
"""
|
|
73
|
+
if create_time is not None:
|
|
74
|
+
pulumi.set(__self__, "create_time", create_time)
|
|
75
|
+
if image_pipeline_id is not None:
|
|
76
|
+
pulumi.set(__self__, "image_pipeline_id", image_pipeline_id)
|
|
77
|
+
if status is not None:
|
|
78
|
+
pulumi.set(__self__, "status", status)
|
|
79
|
+
|
|
80
|
+
@property
|
|
81
|
+
@pulumi.getter(name="createTime")
|
|
82
|
+
def create_time(self) -> Optional[pulumi.Input[str]]:
|
|
83
|
+
"""
|
|
84
|
+
The time when the image build task was created.
|
|
85
|
+
"""
|
|
86
|
+
return pulumi.get(self, "create_time")
|
|
87
|
+
|
|
88
|
+
@create_time.setter
|
|
89
|
+
def create_time(self, value: Optional[pulumi.Input[str]]):
|
|
90
|
+
pulumi.set(self, "create_time", value)
|
|
91
|
+
|
|
92
|
+
@property
|
|
93
|
+
@pulumi.getter(name="imagePipelineId")
|
|
94
|
+
def image_pipeline_id(self) -> Optional[pulumi.Input[str]]:
|
|
95
|
+
"""
|
|
96
|
+
The ID of the image template.
|
|
97
|
+
"""
|
|
98
|
+
return pulumi.get(self, "image_pipeline_id")
|
|
99
|
+
|
|
100
|
+
@image_pipeline_id.setter
|
|
101
|
+
def image_pipeline_id(self, value: Optional[pulumi.Input[str]]):
|
|
102
|
+
pulumi.set(self, "image_pipeline_id", value)
|
|
103
|
+
|
|
104
|
+
@property
|
|
105
|
+
@pulumi.getter
|
|
106
|
+
def status(self) -> Optional[pulumi.Input[str]]:
|
|
107
|
+
"""
|
|
108
|
+
The status of the image build task. Valid values:
|
|
109
|
+
- CANCELLED: canceled. The build process has been canceled.
|
|
110
|
+
"""
|
|
111
|
+
return pulumi.get(self, "status")
|
|
112
|
+
|
|
113
|
+
@status.setter
|
|
114
|
+
def status(self, value: Optional[pulumi.Input[str]]):
|
|
115
|
+
pulumi.set(self, "status", value)
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
class ImagePipelineExecution(pulumi.CustomResource):
|
|
119
|
+
@overload
|
|
120
|
+
def __init__(__self__,
|
|
121
|
+
resource_name: str,
|
|
122
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
123
|
+
image_pipeline_id: Optional[pulumi.Input[str]] = None,
|
|
124
|
+
status: Optional[pulumi.Input[str]] = None,
|
|
125
|
+
__props__=None):
|
|
126
|
+
"""
|
|
127
|
+
## Import
|
|
128
|
+
|
|
129
|
+
ECS Image Pipeline Execution can be imported using the id, e.g.
|
|
130
|
+
|
|
131
|
+
```sh
|
|
132
|
+
$ pulumi import alicloud:ecs/imagePipelineExecution:ImagePipelineExecution example <id>
|
|
133
|
+
```
|
|
134
|
+
|
|
135
|
+
:param str resource_name: The name of the resource.
|
|
136
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
137
|
+
:param pulumi.Input[str] image_pipeline_id: The ID of the image template.
|
|
138
|
+
:param pulumi.Input[str] status: The status of the image build task. Valid values:
|
|
139
|
+
- CANCELLED: canceled. The build process has been canceled.
|
|
140
|
+
"""
|
|
141
|
+
...
|
|
142
|
+
@overload
|
|
143
|
+
def __init__(__self__,
|
|
144
|
+
resource_name: str,
|
|
145
|
+
args: ImagePipelineExecutionArgs,
|
|
146
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
|
147
|
+
"""
|
|
148
|
+
## Import
|
|
149
|
+
|
|
150
|
+
ECS Image Pipeline Execution can be imported using the id, e.g.
|
|
151
|
+
|
|
152
|
+
```sh
|
|
153
|
+
$ pulumi import alicloud:ecs/imagePipelineExecution:ImagePipelineExecution example <id>
|
|
154
|
+
```
|
|
155
|
+
|
|
156
|
+
:param str resource_name: The name of the resource.
|
|
157
|
+
:param ImagePipelineExecutionArgs args: The arguments to use to populate this resource's properties.
|
|
158
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
159
|
+
"""
|
|
160
|
+
...
|
|
161
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
|
162
|
+
resource_args, opts = _utilities.get_resource_args_opts(ImagePipelineExecutionArgs, pulumi.ResourceOptions, *args, **kwargs)
|
|
163
|
+
if resource_args is not None:
|
|
164
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
|
165
|
+
else:
|
|
166
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
|
167
|
+
|
|
168
|
+
def _internal_init(__self__,
|
|
169
|
+
resource_name: str,
|
|
170
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
171
|
+
image_pipeline_id: Optional[pulumi.Input[str]] = None,
|
|
172
|
+
status: Optional[pulumi.Input[str]] = None,
|
|
173
|
+
__props__=None):
|
|
174
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
175
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
|
176
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
|
177
|
+
if opts.id is None:
|
|
178
|
+
if __props__ is not None:
|
|
179
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
|
180
|
+
__props__ = ImagePipelineExecutionArgs.__new__(ImagePipelineExecutionArgs)
|
|
181
|
+
|
|
182
|
+
if image_pipeline_id is None and not opts.urn:
|
|
183
|
+
raise TypeError("Missing required property 'image_pipeline_id'")
|
|
184
|
+
__props__.__dict__["image_pipeline_id"] = image_pipeline_id
|
|
185
|
+
__props__.__dict__["status"] = status
|
|
186
|
+
__props__.__dict__["create_time"] = None
|
|
187
|
+
super(ImagePipelineExecution, __self__).__init__(
|
|
188
|
+
'alicloud:ecs/imagePipelineExecution:ImagePipelineExecution',
|
|
189
|
+
resource_name,
|
|
190
|
+
__props__,
|
|
191
|
+
opts)
|
|
192
|
+
|
|
193
|
+
@staticmethod
|
|
194
|
+
def get(resource_name: str,
|
|
195
|
+
id: pulumi.Input[str],
|
|
196
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
197
|
+
create_time: Optional[pulumi.Input[str]] = None,
|
|
198
|
+
image_pipeline_id: Optional[pulumi.Input[str]] = None,
|
|
199
|
+
status: Optional[pulumi.Input[str]] = None) -> 'ImagePipelineExecution':
|
|
200
|
+
"""
|
|
201
|
+
Get an existing ImagePipelineExecution resource's state with the given name, id, and optional extra
|
|
202
|
+
properties used to qualify the lookup.
|
|
203
|
+
|
|
204
|
+
:param str resource_name: The unique name of the resulting resource.
|
|
205
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
206
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
207
|
+
:param pulumi.Input[str] create_time: The time when the image build task was created.
|
|
208
|
+
:param pulumi.Input[str] image_pipeline_id: The ID of the image template.
|
|
209
|
+
:param pulumi.Input[str] status: The status of the image build task. Valid values:
|
|
210
|
+
- CANCELLED: canceled. The build process has been canceled.
|
|
211
|
+
"""
|
|
212
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
213
|
+
|
|
214
|
+
__props__ = _ImagePipelineExecutionState.__new__(_ImagePipelineExecutionState)
|
|
215
|
+
|
|
216
|
+
__props__.__dict__["create_time"] = create_time
|
|
217
|
+
__props__.__dict__["image_pipeline_id"] = image_pipeline_id
|
|
218
|
+
__props__.__dict__["status"] = status
|
|
219
|
+
return ImagePipelineExecution(resource_name, opts=opts, __props__=__props__)
|
|
220
|
+
|
|
221
|
+
@property
|
|
222
|
+
@pulumi.getter(name="createTime")
|
|
223
|
+
def create_time(self) -> pulumi.Output[str]:
|
|
224
|
+
"""
|
|
225
|
+
The time when the image build task was created.
|
|
226
|
+
"""
|
|
227
|
+
return pulumi.get(self, "create_time")
|
|
228
|
+
|
|
229
|
+
@property
|
|
230
|
+
@pulumi.getter(name="imagePipelineId")
|
|
231
|
+
def image_pipeline_id(self) -> pulumi.Output[str]:
|
|
232
|
+
"""
|
|
233
|
+
The ID of the image template.
|
|
234
|
+
"""
|
|
235
|
+
return pulumi.get(self, "image_pipeline_id")
|
|
236
|
+
|
|
237
|
+
@property
|
|
238
|
+
@pulumi.getter
|
|
239
|
+
def status(self) -> pulumi.Output[str]:
|
|
240
|
+
"""
|
|
241
|
+
The status of the image build task. Valid values:
|
|
242
|
+
- CANCELLED: canceled. The build process has been canceled.
|
|
243
|
+
"""
|
|
244
|
+
return pulumi.get(self, "status")
|
|
245
|
+
|