pulumi-alicloud 3.69.0__py3-none-any.whl → 3.69.0a1733203178__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.

Files changed (47) hide show
  1. pulumi_alicloud/__init__.py +0 -56
  2. pulumi_alicloud/adb/db_cluster.py +0 -7
  3. pulumi_alicloud/arms/__init__.py +0 -2
  4. pulumi_alicloud/arms/_inputs.py +4 -42
  5. pulumi_alicloud/arms/dispatch_rule.py +0 -4
  6. pulumi_alicloud/arms/get_dispatch_rules.py +6 -99
  7. pulumi_alicloud/arms/outputs.py +13 -154
  8. pulumi_alicloud/cfg/rule.py +4 -4
  9. pulumi_alicloud/cs/autoscaling_config.py +0 -51
  10. pulumi_alicloud/dataworks/__init__.py +0 -4
  11. pulumi_alicloud/dataworks/outputs.py +0 -44
  12. pulumi_alicloud/dataworks/project.py +140 -294
  13. pulumi_alicloud/ecs/__init__.py +0 -1
  14. pulumi_alicloud/ecs/_inputs.py +0 -34
  15. pulumi_alicloud/ecs/disk.py +14 -156
  16. pulumi_alicloud/ecs/ecs_disk.py +97 -308
  17. pulumi_alicloud/ecs/ecs_key_pair.py +49 -77
  18. pulumi_alicloud/ecs/instance.py +0 -145
  19. pulumi_alicloud/ecs/key_pair.py +7 -27
  20. pulumi_alicloud/ecs/outputs.py +0 -37
  21. pulumi_alicloud/oss/__init__.py +0 -1
  22. pulumi_alicloud/oss/_inputs.py +0 -1750
  23. pulumi_alicloud/oss/outputs.py +0 -1338
  24. pulumi_alicloud/polardb/cluster.py +7 -7
  25. pulumi_alicloud/polardb/get_clusters.py +1 -1
  26. pulumi_alicloud/polardb/outputs.py +2 -2
  27. pulumi_alicloud/pulumi-plugin.json +1 -1
  28. pulumi_alicloud/redis/tair_instance.py +30 -63
  29. pulumi_alicloud/sae/application.py +1 -1
  30. pulumi_alicloud/slb/attachment.py +6 -2
  31. pulumi_alicloud/sls/__init__.py +0 -1
  32. pulumi_alicloud/sls/_inputs.py +0 -484
  33. pulumi_alicloud/sls/outputs.py +0 -346
  34. pulumi_alicloud/vpc/network.py +7 -7
  35. {pulumi_alicloud-3.69.0.dist-info → pulumi_alicloud-3.69.0a1733203178.dist-info}/METADATA +1 -1
  36. {pulumi_alicloud-3.69.0.dist-info → pulumi_alicloud-3.69.0a1733203178.dist-info}/RECORD +38 -47
  37. pulumi_alicloud/arms/alert_robot.py +0 -421
  38. pulumi_alicloud/arms/get_alert_robots.py +0 -230
  39. pulumi_alicloud/dataworks/_inputs.py +0 -95
  40. pulumi_alicloud/dataworks/data_source.py +0 -686
  41. pulumi_alicloud/dataworks/data_source_shared_rule.py +0 -378
  42. pulumi_alicloud/dataworks/project_member.py +0 -380
  43. pulumi_alicloud/ecs/image_pipeline_execution.py +0 -245
  44. pulumi_alicloud/oss/bucket_website.py +0 -416
  45. pulumi_alicloud/sls/oss_export_sink.py +0 -428
  46. {pulumi_alicloud-3.69.0.dist-info → pulumi_alicloud-3.69.0a1733203178.dist-info}/WHEEL +0 -0
  47. {pulumi_alicloud-3.69.0.dist-info → pulumi_alicloud-3.69.0a1733203178.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] 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.
32
+ :param pulumi.Input[str] key_name: Field `key_name` has been deprecated from provider version 1.121.0. New field `key_pair_name` instead.
33
+ :param pulumi.Input[str] key_pair_name: The key pair's name. It is the only in one Alicloud account, the key pair's name. must be 2 to 128 characters in length, and can contain letters, digits, periods (.), underscores (_), and hyphens (-). The name must start with a letter.
34
+ :param pulumi.Input[str] public_key: You can import an existing public key and using Alicloud key pair to manage it. If this parameter is specified, `resource_group_id` is the key pair belongs.
35
+ :param pulumi.Input[str] resource_group_id: The Id of resource group which the key pair belongs.
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 `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.""")
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,8 +66,11 @@ class EcsKeyPairArgs:
66
66
 
67
67
  @property
68
68
  @pulumi.getter(name="keyName")
69
- @_utilities.deprecated("""Field `key_name` has been deprecated from provider version 1.121.0. New field `key_pair_name` instead.""")
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
+ """
71
74
  return pulumi.get(self, "key_name")
72
75
 
73
76
  @key_name.setter
@@ -87,7 +90,7 @@ class EcsKeyPairArgs:
87
90
  @pulumi.getter(name="keyPairName")
88
91
  def key_pair_name(self) -> Optional[pulumi.Input[str]]:
89
92
  """
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 (-).
93
+ The key pair's name. It is the only in one Alicloud account, the key pair's name. must be 2 to 128 characters in length, and can contain letters, digits, periods (.), underscores (_), and hyphens (-). The name must start with a letter.
91
94
  """
92
95
  return pulumi.get(self, "key_pair_name")
93
96
 
@@ -99,7 +102,7 @@ class EcsKeyPairArgs:
99
102
  @pulumi.getter(name="publicKey")
100
103
  def public_key(self) -> Optional[pulumi.Input[str]]:
101
104
  """
102
- The public key of the key pair.
105
+ You can import an existing public key and using Alicloud key pair to manage it. If this parameter is specified, `resource_group_id` is the key pair belongs.
103
106
  """
104
107
  return pulumi.get(self, "public_key")
105
108
 
@@ -111,7 +114,7 @@ class EcsKeyPairArgs:
111
114
  @pulumi.getter(name="resourceGroupId")
112
115
  def resource_group_id(self) -> Optional[pulumi.Input[str]]:
113
116
  """
114
- The ID of the resource group to which to add the key pair.
117
+ The Id of resource group which the key pair belongs.
115
118
  """
116
119
  return pulumi.get(self, "resource_group_id")
117
120
 
@@ -122,9 +125,6 @@ class EcsKeyPairArgs:
122
125
  @property
123
126
  @pulumi.getter
124
127
  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,7 +135,6 @@ class EcsKeyPairArgs:
135
135
  @pulumi.input_type
136
136
  class _EcsKeyPairState:
137
137
  def __init__(__self__, *,
138
- create_time: Optional[pulumi.Input[str]] = None,
139
138
  finger_print: Optional[pulumi.Input[str]] = None,
140
139
  key_file: Optional[pulumi.Input[str]] = None,
141
140
  key_name: Optional[pulumi.Input[str]] = None,
@@ -146,23 +145,20 @@ class _EcsKeyPairState:
146
145
  tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None):
147
146
  """
148
147
  Input properties used for looking up and filtering EcsKeyPair resources.
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.
148
+ :param pulumi.Input[str] finger_print: The finger print of the key pair.
151
149
  :param pulumi.Input[str] key_file: The key file.
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.
150
+ :param pulumi.Input[str] key_name: Field `key_name` has been deprecated from provider version 1.121.0. New field `key_pair_name` instead.
151
+ :param pulumi.Input[str] key_pair_name: The key pair's name. It is the only in one Alicloud account, the key pair's name. must be 2 to 128 characters in length, and can contain letters, digits, periods (.), underscores (_), and hyphens (-). The name must start with a letter.
152
+ :param pulumi.Input[str] public_key: You can import an existing public key and using Alicloud key pair to manage it. If this parameter is specified, `resource_group_id` is the key pair belongs.
153
+ :param pulumi.Input[str] resource_group_id: The Id of resource group which the key pair belongs.
156
154
  """
157
- if create_time is not None:
158
- pulumi.set(__self__, "create_time", create_time)
159
155
  if finger_print is not None:
160
156
  pulumi.set(__self__, "finger_print", finger_print)
161
157
  if key_file is not None:
162
158
  pulumi.set(__self__, "key_file", key_file)
163
159
  if key_name is not None:
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.""")
160
+ warnings.warn("""Field 'key_name' has been deprecated from provider version 1.121.0. New field 'key_pair_name' instead.""", DeprecationWarning)
161
+ 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.""")
166
162
  if key_name is not None:
167
163
  pulumi.set(__self__, "key_name", key_name)
168
164
  if key_name_prefix is not None:
@@ -176,23 +172,11 @@ class _EcsKeyPairState:
176
172
  if tags is not None:
177
173
  pulumi.set(__self__, "tags", tags)
178
174
 
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
-
191
175
  @property
192
176
  @pulumi.getter(name="fingerPrint")
193
177
  def finger_print(self) -> Optional[pulumi.Input[str]]:
194
178
  """
195
- The fingerprint of the key pair.
179
+ The finger print of the key pair.
196
180
  """
197
181
  return pulumi.get(self, "finger_print")
198
182
 
@@ -214,8 +198,11 @@ class _EcsKeyPairState:
214
198
 
215
199
  @property
216
200
  @pulumi.getter(name="keyName")
217
- @_utilities.deprecated("""Field `key_name` has been deprecated from provider version 1.121.0. New field `key_pair_name` instead.""")
201
+ @_utilities.deprecated("""Field 'key_name' has been deprecated from provider version 1.121.0. New field 'key_pair_name' instead.""")
218
202
  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
+ """
219
206
  return pulumi.get(self, "key_name")
220
207
 
221
208
  @key_name.setter
@@ -235,7 +222,7 @@ class _EcsKeyPairState:
235
222
  @pulumi.getter(name="keyPairName")
236
223
  def key_pair_name(self) -> Optional[pulumi.Input[str]]:
237
224
  """
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 (-).
225
+ The key pair's name. It is the only in one Alicloud account, the key pair's name. must be 2 to 128 characters in length, and can contain letters, digits, periods (.), underscores (_), and hyphens (-). The name must start with a letter.
239
226
  """
240
227
  return pulumi.get(self, "key_pair_name")
241
228
 
@@ -247,7 +234,7 @@ class _EcsKeyPairState:
247
234
  @pulumi.getter(name="publicKey")
248
235
  def public_key(self) -> Optional[pulumi.Input[str]]:
249
236
  """
250
- The public key of the key pair.
237
+ You can import an existing public key and using Alicloud key pair to manage it. If this parameter is specified, `resource_group_id` is the key pair belongs.
251
238
  """
252
239
  return pulumi.get(self, "public_key")
253
240
 
@@ -259,7 +246,7 @@ class _EcsKeyPairState:
259
246
  @pulumi.getter(name="resourceGroupId")
260
247
  def resource_group_id(self) -> Optional[pulumi.Input[str]]:
261
248
  """
262
- The ID of the resource group to which to add the key pair.
249
+ The Id of resource group which the key pair belongs.
263
250
  """
264
251
  return pulumi.get(self, "resource_group_id")
265
252
 
@@ -270,9 +257,6 @@ class _EcsKeyPairState:
270
257
  @property
271
258
  @pulumi.getter
272
259
  def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
273
- """
274
- A mapping of tags to assign to the resource.
275
- """
276
260
  return pulumi.get(self, "tags")
277
261
 
278
262
  @tags.setter
@@ -298,7 +282,7 @@ class EcsKeyPair(pulumi.CustomResource):
298
282
 
299
283
  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).
300
284
 
301
- > **NOTE:** Available since v1.121.0.
285
+ > **NOTE:** Available in v1.121.0+.
302
286
 
303
287
  ## Example Usage
304
288
 
@@ -322,16 +306,16 @@ class EcsKeyPair(pulumi.CustomResource):
322
306
  ECS Key Pair can be imported using the id, e.g.
323
307
 
324
308
  ```sh
325
- $ pulumi import alicloud:ecs/ecsKeyPair:EcsKeyPair example <id>
309
+ $ pulumi import alicloud:ecs/ecsKeyPair:EcsKeyPair example <key_name>
326
310
  ```
327
311
 
328
312
  :param str resource_name: The name of the resource.
329
313
  :param pulumi.ResourceOptions opts: Options for the resource.
330
314
  :param pulumi.Input[str] key_file: The key file.
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.
315
+ :param pulumi.Input[str] key_name: Field `key_name` has been deprecated from provider version 1.121.0. New field `key_pair_name` instead.
316
+ :param pulumi.Input[str] key_pair_name: The key pair's name. It is the only in one Alicloud account, the key pair's name. must be 2 to 128 characters in length, and can contain letters, digits, periods (.), underscores (_), and hyphens (-). The name must start with a letter.
317
+ :param pulumi.Input[str] public_key: You can import an existing public key and using Alicloud key pair to manage it. If this parameter is specified, `resource_group_id` is the key pair belongs.
318
+ :param pulumi.Input[str] resource_group_id: The Id of resource group which the key pair belongs.
335
319
  """
336
320
  ...
337
321
  @overload
@@ -344,7 +328,7 @@ class EcsKeyPair(pulumi.CustomResource):
344
328
 
345
329
  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).
346
330
 
347
- > **NOTE:** Available since v1.121.0.
331
+ > **NOTE:** Available in v1.121.0+.
348
332
 
349
333
  ## Example Usage
350
334
 
@@ -368,7 +352,7 @@ class EcsKeyPair(pulumi.CustomResource):
368
352
  ECS Key Pair can be imported using the id, e.g.
369
353
 
370
354
  ```sh
371
- $ pulumi import alicloud:ecs/ecsKeyPair:EcsKeyPair example <id>
355
+ $ pulumi import alicloud:ecs/ecsKeyPair:EcsKeyPair example <key_name>
372
356
  ```
373
357
 
374
358
  :param str resource_name: The name of the resource.
@@ -409,7 +393,6 @@ class EcsKeyPair(pulumi.CustomResource):
409
393
  __props__.__dict__["public_key"] = public_key
410
394
  __props__.__dict__["resource_group_id"] = resource_group_id
411
395
  __props__.__dict__["tags"] = tags
412
- __props__.__dict__["create_time"] = None
413
396
  __props__.__dict__["finger_print"] = None
414
397
  super(EcsKeyPair, __self__).__init__(
415
398
  'alicloud:ecs/ecsKeyPair:EcsKeyPair',
@@ -421,7 +404,6 @@ class EcsKeyPair(pulumi.CustomResource):
421
404
  def get(resource_name: str,
422
405
  id: pulumi.Input[str],
423
406
  opts: Optional[pulumi.ResourceOptions] = None,
424
- create_time: Optional[pulumi.Input[str]] = None,
425
407
  finger_print: Optional[pulumi.Input[str]] = None,
426
408
  key_file: Optional[pulumi.Input[str]] = None,
427
409
  key_name: Optional[pulumi.Input[str]] = None,
@@ -437,19 +419,17 @@ class EcsKeyPair(pulumi.CustomResource):
437
419
  :param str resource_name: The unique name of the resulting resource.
438
420
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
439
421
  :param pulumi.ResourceOptions opts: Options for the resource.
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.
422
+ :param pulumi.Input[str] finger_print: The finger print of the key pair.
442
423
  :param pulumi.Input[str] key_file: The key file.
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.
424
+ :param pulumi.Input[str] key_name: Field `key_name` has been deprecated from provider version 1.121.0. New field `key_pair_name` instead.
425
+ :param pulumi.Input[str] key_pair_name: The key pair's name. It is the only in one Alicloud account, the key pair's name. must be 2 to 128 characters in length, and can contain letters, digits, periods (.), underscores (_), and hyphens (-). The name must start with a letter.
426
+ :param pulumi.Input[str] public_key: You can import an existing public key and using Alicloud key pair to manage it. If this parameter is specified, `resource_group_id` is the key pair belongs.
427
+ :param pulumi.Input[str] resource_group_id: The Id of resource group which the key pair belongs.
447
428
  """
448
429
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
449
430
 
450
431
  __props__ = _EcsKeyPairState.__new__(_EcsKeyPairState)
451
432
 
452
- __props__.__dict__["create_time"] = create_time
453
433
  __props__.__dict__["finger_print"] = finger_print
454
434
  __props__.__dict__["key_file"] = key_file
455
435
  __props__.__dict__["key_name"] = key_name
@@ -460,19 +440,11 @@ class EcsKeyPair(pulumi.CustomResource):
460
440
  __props__.__dict__["tags"] = tags
461
441
  return EcsKeyPair(resource_name, opts=opts, __props__=__props__)
462
442
 
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
-
471
443
  @property
472
444
  @pulumi.getter(name="fingerPrint")
473
445
  def finger_print(self) -> pulumi.Output[str]:
474
446
  """
475
- The fingerprint of the key pair.
447
+ The finger print of the key pair.
476
448
  """
477
449
  return pulumi.get(self, "finger_print")
478
450
 
@@ -486,8 +458,11 @@ class EcsKeyPair(pulumi.CustomResource):
486
458
 
487
459
  @property
488
460
  @pulumi.getter(name="keyName")
489
- @_utilities.deprecated("""Field `key_name` has been deprecated from provider version 1.121.0. New field `key_pair_name` instead.""")
461
+ @_utilities.deprecated("""Field 'key_name' has been deprecated from provider version 1.121.0. New field 'key_pair_name' instead.""")
490
462
  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
+ """
491
466
  return pulumi.get(self, "key_name")
492
467
 
493
468
  @property
@@ -499,7 +474,7 @@ class EcsKeyPair(pulumi.CustomResource):
499
474
  @pulumi.getter(name="keyPairName")
500
475
  def key_pair_name(self) -> pulumi.Output[str]:
501
476
  """
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 (-).
477
+ The key pair's name. It is the only in one Alicloud account, the key pair's name. must be 2 to 128 characters in length, and can contain letters, digits, periods (.), underscores (_), and hyphens (-). The name must start with a letter.
503
478
  """
504
479
  return pulumi.get(self, "key_pair_name")
505
480
 
@@ -507,7 +482,7 @@ class EcsKeyPair(pulumi.CustomResource):
507
482
  @pulumi.getter(name="publicKey")
508
483
  def public_key(self) -> pulumi.Output[Optional[str]]:
509
484
  """
510
- The public key of the key pair.
485
+ You can import an existing public key and using Alicloud key pair to manage it. If this parameter is specified, `resource_group_id` is the key pair belongs.
511
486
  """
512
487
  return pulumi.get(self, "public_key")
513
488
 
@@ -515,15 +490,12 @@ class EcsKeyPair(pulumi.CustomResource):
515
490
  @pulumi.getter(name="resourceGroupId")
516
491
  def resource_group_id(self) -> pulumi.Output[str]:
517
492
  """
518
- The ID of the resource group to which to add the key pair.
493
+ The Id of resource group which the key pair belongs.
519
494
  """
520
495
  return pulumi.get(self, "resource_group_id")
521
496
 
522
497
  @property
523
498
  @pulumi.getter
524
499
  def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
525
- """
526
- A mapping of tags to assign to the resource.
527
- """
528
500
  return pulumi.get(self, "tags")
529
501
 
@@ -40,7 +40,6 @@ class InstanceArgs:
40
40
  http_put_response_hop_limit: Optional[pulumi.Input[int]] = None,
41
41
  http_tokens: Optional[pulumi.Input[str]] = None,
42
42
  image_id: Optional[pulumi.Input[str]] = None,
43
- image_options: Optional[pulumi.Input['InstanceImageOptionsArgs']] = None,
44
43
  include_data_disks: Optional[pulumi.Input[bool]] = None,
45
44
  instance_charge_type: Optional[pulumi.Input[str]] = None,
46
45
  instance_name: Optional[pulumi.Input[str]] = None,
@@ -130,21 +129,6 @@ class InstanceArgs:
130
129
  - optional: does not forcefully use the security-enhanced mode (IMDSv2).
131
130
  - required: forcefully uses the security-enhanced mode (IMDSv2). After you set this parameter to required, you cannot access instance metadata in normal mode.
132
131
  :param pulumi.Input[str] image_id: The Image to use for the instance. ECS instance's image can be replaced via changing `image_id`. When it is changed, the instance will reboot to make the change take effect. If you do not use `launch_template_id` or `launch_template_name` to specify a launch template, you must specify `image_id`.
133
- :param pulumi.Input['InstanceImageOptionsArgs'] image_options: The options of images. See `image_options` below.
134
-
135
- > **NOTE:** System disk category `cloud` has been outdated and it only can be used none I/O Optimized ECS instances. Recommend `cloud_efficiency` and `cloud_ssd` disk.
136
-
137
- > **NOTE:** From version 1.5.0, instance's charge type can be changed to "PrePaid" by specifying `period` and `period_unit`, but it is irreversible.
138
-
139
- > **NOTE:** From version 1.5.0, instance's private IP address can be specified when creating VPC network instance.
140
-
141
- > **NOTE:** From version 1.5.0, instance's vswitch and private IP can be changed in the same availability zone. When they are changed, the instance will reboot to make the change take effect.
142
-
143
- > **NOTE:** From version 1.7.0, setting "internet_max_bandwidth_out" larger than 0 can allocate a public IP for an instance.
144
- Setting "internet_max_bandwidth_out" to 0 can release allocated public IP for VPC instance(For Classic instnace, its public IP cannot be release once it allocated, even thougth its bandwidth out is 0).
145
- However, at present, 'PrePaid' instance cannot narrow its max bandwidth out when its 'internet_charge_type' is "PayByBandwidth".
146
-
147
- > **NOTE:** From version 1.7.0, instance's type can be changed. When it is changed, the instance will reboot to make the change take effect.
148
132
  :param pulumi.Input[bool] include_data_disks: Whether to change instance disks charge type when changing instance charge type.
149
133
  :param pulumi.Input[str] instance_charge_type: Valid values are `PrePaid`, `PostPaid`, The default is `PostPaid`.
150
134
  **NOTE:** Since 1.9.6, it can be changed each other between `PostPaid` and `PrePaid`.
@@ -273,8 +257,6 @@ class InstanceArgs:
273
257
  pulumi.set(__self__, "http_tokens", http_tokens)
274
258
  if image_id is not None:
275
259
  pulumi.set(__self__, "image_id", image_id)
276
- if image_options is not None:
277
- pulumi.set(__self__, "image_options", image_options)
278
260
  if include_data_disks is not None:
279
261
  pulumi.set(__self__, "include_data_disks", include_data_disks)
280
262
  if instance_charge_type is not None:
@@ -632,32 +614,6 @@ class InstanceArgs:
632
614
  def image_id(self, value: Optional[pulumi.Input[str]]):
633
615
  pulumi.set(self, "image_id", value)
634
616
 
635
- @property
636
- @pulumi.getter(name="imageOptions")
637
- def image_options(self) -> Optional[pulumi.Input['InstanceImageOptionsArgs']]:
638
- """
639
- The options of images. See `image_options` below.
640
-
641
- > **NOTE:** System disk category `cloud` has been outdated and it only can be used none I/O Optimized ECS instances. Recommend `cloud_efficiency` and `cloud_ssd` disk.
642
-
643
- > **NOTE:** From version 1.5.0, instance's charge type can be changed to "PrePaid" by specifying `period` and `period_unit`, but it is irreversible.
644
-
645
- > **NOTE:** From version 1.5.0, instance's private IP address can be specified when creating VPC network instance.
646
-
647
- > **NOTE:** From version 1.5.0, instance's vswitch and private IP can be changed in the same availability zone. When they are changed, the instance will reboot to make the change take effect.
648
-
649
- > **NOTE:** From version 1.7.0, setting "internet_max_bandwidth_out" larger than 0 can allocate a public IP for an instance.
650
- Setting "internet_max_bandwidth_out" to 0 can release allocated public IP for VPC instance(For Classic instnace, its public IP cannot be release once it allocated, even thougth its bandwidth out is 0).
651
- However, at present, 'PrePaid' instance cannot narrow its max bandwidth out when its 'internet_charge_type' is "PayByBandwidth".
652
-
653
- > **NOTE:** From version 1.7.0, instance's type can be changed. When it is changed, the instance will reboot to make the change take effect.
654
- """
655
- return pulumi.get(self, "image_options")
656
-
657
- @image_options.setter
658
- def image_options(self, value: Optional[pulumi.Input['InstanceImageOptionsArgs']]):
659
- pulumi.set(self, "image_options", value)
660
-
661
617
  @property
662
618
  @pulumi.getter(name="includeDataDisks")
663
619
  def include_data_disks(self) -> Optional[pulumi.Input[bool]]:
@@ -1386,7 +1342,6 @@ class _InstanceState:
1386
1342
  http_put_response_hop_limit: Optional[pulumi.Input[int]] = None,
1387
1343
  http_tokens: Optional[pulumi.Input[str]] = None,
1388
1344
  image_id: Optional[pulumi.Input[str]] = None,
1389
- image_options: Optional[pulumi.Input['InstanceImageOptionsArgs']] = None,
1390
1345
  include_data_disks: Optional[pulumi.Input[bool]] = None,
1391
1346
  instance_charge_type: Optional[pulumi.Input[str]] = None,
1392
1347
  instance_name: Optional[pulumi.Input[str]] = None,
@@ -1488,21 +1443,6 @@ class _InstanceState:
1488
1443
  - optional: does not forcefully use the security-enhanced mode (IMDSv2).
1489
1444
  - required: forcefully uses the security-enhanced mode (IMDSv2). After you set this parameter to required, you cannot access instance metadata in normal mode.
1490
1445
  :param pulumi.Input[str] image_id: The Image to use for the instance. ECS instance's image can be replaced via changing `image_id`. When it is changed, the instance will reboot to make the change take effect. If you do not use `launch_template_id` or `launch_template_name` to specify a launch template, you must specify `image_id`.
1491
- :param pulumi.Input['InstanceImageOptionsArgs'] image_options: The options of images. See `image_options` below.
1492
-
1493
- > **NOTE:** System disk category `cloud` has been outdated and it only can be used none I/O Optimized ECS instances. Recommend `cloud_efficiency` and `cloud_ssd` disk.
1494
-
1495
- > **NOTE:** From version 1.5.0, instance's charge type can be changed to "PrePaid" by specifying `period` and `period_unit`, but it is irreversible.
1496
-
1497
- > **NOTE:** From version 1.5.0, instance's private IP address can be specified when creating VPC network instance.
1498
-
1499
- > **NOTE:** From version 1.5.0, instance's vswitch and private IP can be changed in the same availability zone. When they are changed, the instance will reboot to make the change take effect.
1500
-
1501
- > **NOTE:** From version 1.7.0, setting "internet_max_bandwidth_out" larger than 0 can allocate a public IP for an instance.
1502
- Setting "internet_max_bandwidth_out" to 0 can release allocated public IP for VPC instance(For Classic instnace, its public IP cannot be release once it allocated, even thougth its bandwidth out is 0).
1503
- However, at present, 'PrePaid' instance cannot narrow its max bandwidth out when its 'internet_charge_type' is "PayByBandwidth".
1504
-
1505
- > **NOTE:** From version 1.7.0, instance's type can be changed. When it is changed, the instance will reboot to make the change take effect.
1506
1446
  :param pulumi.Input[bool] include_data_disks: Whether to change instance disks charge type when changing instance charge type.
1507
1447
  :param pulumi.Input[str] instance_charge_type: Valid values are `PrePaid`, `PostPaid`, The default is `PostPaid`.
1508
1448
  **NOTE:** Since 1.9.6, it can be changed each other between `PostPaid` and `PrePaid`.
@@ -1647,8 +1587,6 @@ class _InstanceState:
1647
1587
  pulumi.set(__self__, "http_tokens", http_tokens)
1648
1588
  if image_id is not None:
1649
1589
  pulumi.set(__self__, "image_id", image_id)
1650
- if image_options is not None:
1651
- pulumi.set(__self__, "image_options", image_options)
1652
1590
  if include_data_disks is not None:
1653
1591
  pulumi.set(__self__, "include_data_disks", include_data_disks)
1654
1592
  if instance_charge_type is not None:
@@ -2070,32 +2008,6 @@ class _InstanceState:
2070
2008
  def image_id(self, value: Optional[pulumi.Input[str]]):
2071
2009
  pulumi.set(self, "image_id", value)
2072
2010
 
2073
- @property
2074
- @pulumi.getter(name="imageOptions")
2075
- def image_options(self) -> Optional[pulumi.Input['InstanceImageOptionsArgs']]:
2076
- """
2077
- The options of images. See `image_options` below.
2078
-
2079
- > **NOTE:** System disk category `cloud` has been outdated and it only can be used none I/O Optimized ECS instances. Recommend `cloud_efficiency` and `cloud_ssd` disk.
2080
-
2081
- > **NOTE:** From version 1.5.0, instance's charge type can be changed to "PrePaid" by specifying `period` and `period_unit`, but it is irreversible.
2082
-
2083
- > **NOTE:** From version 1.5.0, instance's private IP address can be specified when creating VPC network instance.
2084
-
2085
- > **NOTE:** From version 1.5.0, instance's vswitch and private IP can be changed in the same availability zone. When they are changed, the instance will reboot to make the change take effect.
2086
-
2087
- > **NOTE:** From version 1.7.0, setting "internet_max_bandwidth_out" larger than 0 can allocate a public IP for an instance.
2088
- Setting "internet_max_bandwidth_out" to 0 can release allocated public IP for VPC instance(For Classic instnace, its public IP cannot be release once it allocated, even thougth its bandwidth out is 0).
2089
- However, at present, 'PrePaid' instance cannot narrow its max bandwidth out when its 'internet_charge_type' is "PayByBandwidth".
2090
-
2091
- > **NOTE:** From version 1.7.0, instance's type can be changed. When it is changed, the instance will reboot to make the change take effect.
2092
- """
2093
- return pulumi.get(self, "image_options")
2094
-
2095
- @image_options.setter
2096
- def image_options(self, value: Optional[pulumi.Input['InstanceImageOptionsArgs']]):
2097
- pulumi.set(self, "image_options", value)
2098
-
2099
2011
  @property
2100
2012
  @pulumi.getter(name="includeDataDisks")
2101
2013
  def include_data_disks(self) -> Optional[pulumi.Input[bool]]:
@@ -2918,7 +2830,6 @@ class Instance(pulumi.CustomResource):
2918
2830
  http_put_response_hop_limit: Optional[pulumi.Input[int]] = None,
2919
2831
  http_tokens: Optional[pulumi.Input[str]] = None,
2920
2832
  image_id: Optional[pulumi.Input[str]] = None,
2921
- image_options: Optional[pulumi.Input[Union['InstanceImageOptionsArgs', 'InstanceImageOptionsArgsDict']]] = None,
2922
2833
  include_data_disks: Optional[pulumi.Input[bool]] = None,
2923
2834
  instance_charge_type: Optional[pulumi.Input[str]] = None,
2924
2835
  instance_name: Optional[pulumi.Input[str]] = None,
@@ -3087,21 +2998,6 @@ class Instance(pulumi.CustomResource):
3087
2998
  - optional: does not forcefully use the security-enhanced mode (IMDSv2).
3088
2999
  - required: forcefully uses the security-enhanced mode (IMDSv2). After you set this parameter to required, you cannot access instance metadata in normal mode.
3089
3000
  :param pulumi.Input[str] image_id: The Image to use for the instance. ECS instance's image can be replaced via changing `image_id`. When it is changed, the instance will reboot to make the change take effect. If you do not use `launch_template_id` or `launch_template_name` to specify a launch template, you must specify `image_id`.
3090
- :param pulumi.Input[Union['InstanceImageOptionsArgs', 'InstanceImageOptionsArgsDict']] image_options: The options of images. See `image_options` below.
3091
-
3092
- > **NOTE:** System disk category `cloud` has been outdated and it only can be used none I/O Optimized ECS instances. Recommend `cloud_efficiency` and `cloud_ssd` disk.
3093
-
3094
- > **NOTE:** From version 1.5.0, instance's charge type can be changed to "PrePaid" by specifying `period` and `period_unit`, but it is irreversible.
3095
-
3096
- > **NOTE:** From version 1.5.0, instance's private IP address can be specified when creating VPC network instance.
3097
-
3098
- > **NOTE:** From version 1.5.0, instance's vswitch and private IP can be changed in the same availability zone. When they are changed, the instance will reboot to make the change take effect.
3099
-
3100
- > **NOTE:** From version 1.7.0, setting "internet_max_bandwidth_out" larger than 0 can allocate a public IP for an instance.
3101
- Setting "internet_max_bandwidth_out" to 0 can release allocated public IP for VPC instance(For Classic instnace, its public IP cannot be release once it allocated, even thougth its bandwidth out is 0).
3102
- However, at present, 'PrePaid' instance cannot narrow its max bandwidth out when its 'internet_charge_type' is "PayByBandwidth".
3103
-
3104
- > **NOTE:** From version 1.7.0, instance's type can be changed. When it is changed, the instance will reboot to make the change take effect.
3105
3001
  :param pulumi.Input[bool] include_data_disks: Whether to change instance disks charge type when changing instance charge type.
3106
3002
  :param pulumi.Input[str] instance_charge_type: Valid values are `PrePaid`, `PostPaid`, The default is `PostPaid`.
3107
3003
  **NOTE:** Since 1.9.6, it can be changed each other between `PostPaid` and `PrePaid`.
@@ -3307,7 +3203,6 @@ class Instance(pulumi.CustomResource):
3307
3203
  http_put_response_hop_limit: Optional[pulumi.Input[int]] = None,
3308
3204
  http_tokens: Optional[pulumi.Input[str]] = None,
3309
3205
  image_id: Optional[pulumi.Input[str]] = None,
3310
- image_options: Optional[pulumi.Input[Union['InstanceImageOptionsArgs', 'InstanceImageOptionsArgsDict']]] = None,
3311
3206
  include_data_disks: Optional[pulumi.Input[bool]] = None,
3312
3207
  instance_charge_type: Optional[pulumi.Input[str]] = None,
3313
3208
  instance_name: Optional[pulumi.Input[str]] = None,
@@ -3392,7 +3287,6 @@ class Instance(pulumi.CustomResource):
3392
3287
  __props__.__dict__["http_put_response_hop_limit"] = http_put_response_hop_limit
3393
3288
  __props__.__dict__["http_tokens"] = http_tokens
3394
3289
  __props__.__dict__["image_id"] = image_id
3395
- __props__.__dict__["image_options"] = image_options
3396
3290
  __props__.__dict__["include_data_disks"] = include_data_disks
3397
3291
  __props__.__dict__["instance_charge_type"] = instance_charge_type
3398
3292
  __props__.__dict__["instance_name"] = instance_name
@@ -3496,7 +3390,6 @@ class Instance(pulumi.CustomResource):
3496
3390
  http_put_response_hop_limit: Optional[pulumi.Input[int]] = None,
3497
3391
  http_tokens: Optional[pulumi.Input[str]] = None,
3498
3392
  image_id: Optional[pulumi.Input[str]] = None,
3499
- image_options: Optional[pulumi.Input[Union['InstanceImageOptionsArgs', 'InstanceImageOptionsArgsDict']]] = None,
3500
3393
  include_data_disks: Optional[pulumi.Input[bool]] = None,
3501
3394
  instance_charge_type: Optional[pulumi.Input[str]] = None,
3502
3395
  instance_name: Optional[pulumi.Input[str]] = None,
@@ -3603,21 +3496,6 @@ class Instance(pulumi.CustomResource):
3603
3496
  - optional: does not forcefully use the security-enhanced mode (IMDSv2).
3604
3497
  - required: forcefully uses the security-enhanced mode (IMDSv2). After you set this parameter to required, you cannot access instance metadata in normal mode.
3605
3498
  :param pulumi.Input[str] image_id: The Image to use for the instance. ECS instance's image can be replaced via changing `image_id`. When it is changed, the instance will reboot to make the change take effect. If you do not use `launch_template_id` or `launch_template_name` to specify a launch template, you must specify `image_id`.
3606
- :param pulumi.Input[Union['InstanceImageOptionsArgs', 'InstanceImageOptionsArgsDict']] image_options: The options of images. See `image_options` below.
3607
-
3608
- > **NOTE:** System disk category `cloud` has been outdated and it only can be used none I/O Optimized ECS instances. Recommend `cloud_efficiency` and `cloud_ssd` disk.
3609
-
3610
- > **NOTE:** From version 1.5.0, instance's charge type can be changed to "PrePaid" by specifying `period` and `period_unit`, but it is irreversible.
3611
-
3612
- > **NOTE:** From version 1.5.0, instance's private IP address can be specified when creating VPC network instance.
3613
-
3614
- > **NOTE:** From version 1.5.0, instance's vswitch and private IP can be changed in the same availability zone. When they are changed, the instance will reboot to make the change take effect.
3615
-
3616
- > **NOTE:** From version 1.7.0, setting "internet_max_bandwidth_out" larger than 0 can allocate a public IP for an instance.
3617
- Setting "internet_max_bandwidth_out" to 0 can release allocated public IP for VPC instance(For Classic instnace, its public IP cannot be release once it allocated, even thougth its bandwidth out is 0).
3618
- However, at present, 'PrePaid' instance cannot narrow its max bandwidth out when its 'internet_charge_type' is "PayByBandwidth".
3619
-
3620
- > **NOTE:** From version 1.7.0, instance's type can be changed. When it is changed, the instance will reboot to make the change take effect.
3621
3499
  :param pulumi.Input[bool] include_data_disks: Whether to change instance disks charge type when changing instance charge type.
3622
3500
  :param pulumi.Input[str] instance_charge_type: Valid values are `PrePaid`, `PostPaid`, The default is `PostPaid`.
3623
3501
  **NOTE:** Since 1.9.6, it can be changed each other between `PostPaid` and `PrePaid`.
@@ -3740,7 +3618,6 @@ class Instance(pulumi.CustomResource):
3740
3618
  __props__.__dict__["http_put_response_hop_limit"] = http_put_response_hop_limit
3741
3619
  __props__.__dict__["http_tokens"] = http_tokens
3742
3620
  __props__.__dict__["image_id"] = image_id
3743
- __props__.__dict__["image_options"] = image_options
3744
3621
  __props__.__dict__["include_data_disks"] = include_data_disks
3745
3622
  __props__.__dict__["instance_charge_type"] = instance_charge_type
3746
3623
  __props__.__dict__["instance_name"] = instance_name
@@ -4004,28 +3881,6 @@ class Instance(pulumi.CustomResource):
4004
3881
  """
4005
3882
  return pulumi.get(self, "image_id")
4006
3883
 
4007
- @property
4008
- @pulumi.getter(name="imageOptions")
4009
- def image_options(self) -> pulumi.Output['outputs.InstanceImageOptions']:
4010
- """
4011
- The options of images. See `image_options` below.
4012
-
4013
- > **NOTE:** System disk category `cloud` has been outdated and it only can be used none I/O Optimized ECS instances. Recommend `cloud_efficiency` and `cloud_ssd` disk.
4014
-
4015
- > **NOTE:** From version 1.5.0, instance's charge type can be changed to "PrePaid" by specifying `period` and `period_unit`, but it is irreversible.
4016
-
4017
- > **NOTE:** From version 1.5.0, instance's private IP address can be specified when creating VPC network instance.
4018
-
4019
- > **NOTE:** From version 1.5.0, instance's vswitch and private IP can be changed in the same availability zone. When they are changed, the instance will reboot to make the change take effect.
4020
-
4021
- > **NOTE:** From version 1.7.0, setting "internet_max_bandwidth_out" larger than 0 can allocate a public IP for an instance.
4022
- Setting "internet_max_bandwidth_out" to 0 can release allocated public IP for VPC instance(For Classic instnace, its public IP cannot be release once it allocated, even thougth its bandwidth out is 0).
4023
- However, at present, 'PrePaid' instance cannot narrow its max bandwidth out when its 'internet_charge_type' is "PayByBandwidth".
4024
-
4025
- > **NOTE:** From version 1.7.0, instance's type can be changed. When it is changed, the instance will reboot to make the change take effect.
4026
- """
4027
- return pulumi.get(self, "image_options")
4028
-
4029
3884
  @property
4030
3885
  @pulumi.getter(name="includeDataDisks")
4031
3886
  def include_data_disks(self) -> pulumi.Output[Optional[bool]]: