pulumi-alicloud 3.63.1__py3-none-any.whl → 3.64.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of pulumi-alicloud might be problematic. Click here for more details.

Files changed (76) hide show
  1. pulumi_alicloud/__init__.py +16 -0
  2. pulumi_alicloud/amqp/instance.py +8 -8
  3. pulumi_alicloud/bss/get_open_api_pricing_modules.py +4 -4
  4. pulumi_alicloud/bss/get_open_api_products.py +4 -4
  5. pulumi_alicloud/cas/get_certificates.py +17 -1
  6. pulumi_alicloud/cas/get_service_certificates.py +153 -17
  7. pulumi_alicloud/cas/outputs.py +40 -36
  8. pulumi_alicloud/cen/instance.py +108 -53
  9. pulumi_alicloud/cloudfirewall/control_policy.py +524 -23
  10. pulumi_alicloud/cloudfirewall/instance.py +64 -36
  11. pulumi_alicloud/cs/_inputs.py +390 -26
  12. pulumi_alicloud/cs/get_serverless_kubernetes_clusters.py +2 -0
  13. pulumi_alicloud/cs/kubernetes.py +48 -35
  14. pulumi_alicloud/cs/managed_kubernetes.py +91 -35
  15. pulumi_alicloud/cs/node_pool.py +68 -14
  16. pulumi_alicloud/cs/outputs.py +293 -16
  17. pulumi_alicloud/cs/serverless_kubernetes.py +157 -63
  18. pulumi_alicloud/databasefilesystem/_inputs.py +0 -6
  19. pulumi_alicloud/databasefilesystem/instance.py +31 -0
  20. pulumi_alicloud/databasefilesystem/outputs.py +0 -4
  21. pulumi_alicloud/dns/get_alidns_records.py +26 -4
  22. pulumi_alicloud/dns/outputs.py +2 -2
  23. pulumi_alicloud/eais/instance.py +55 -57
  24. pulumi_alicloud/ecp/instance.py +177 -219
  25. pulumi_alicloud/ecs/disk.py +2 -2
  26. pulumi_alicloud/ecs/ecs_disk.py +142 -58
  27. pulumi_alicloud/ecs/ecs_key_pair.py +1 -1
  28. pulumi_alicloud/ecs/ecs_launch_template.py +169 -0
  29. pulumi_alicloud/ecs/get_ecs_launch_templates.py +172 -6
  30. pulumi_alicloud/ecs/instance.py +131 -98
  31. pulumi_alicloud/ecs/key_pair.py +1 -1
  32. pulumi_alicloud/ecs/launch_template.py +102 -0
  33. pulumi_alicloud/ecs/outputs.py +57 -24
  34. pulumi_alicloud/ens/disk.py +2 -2
  35. pulumi_alicloud/ens/disk_instance_attachment.py +2 -2
  36. pulumi_alicloud/ess/_inputs.py +342 -2
  37. pulumi_alicloud/ess/eci_scaling_configuration.py +202 -0
  38. pulumi_alicloud/ess/outputs.py +226 -2
  39. pulumi_alicloud/ess/scaling_configuration.py +376 -0
  40. pulumi_alicloud/ga/_inputs.py +57 -22
  41. pulumi_alicloud/ga/outputs.py +39 -15
  42. pulumi_alicloud/gpdb/__init__.py +1 -0
  43. pulumi_alicloud/gpdb/database.py +545 -0
  44. pulumi_alicloud/gpdb/instance.py +1 -1
  45. pulumi_alicloud/kvstore/instance.py +24 -5
  46. pulumi_alicloud/mse/cluster.py +149 -51
  47. pulumi_alicloud/mse/engine_namespace.py +176 -74
  48. pulumi_alicloud/mse/get_clusters.py +70 -10
  49. pulumi_alicloud/mse/get_engine_namespaces.py +93 -15
  50. pulumi_alicloud/mse/outputs.py +36 -8
  51. pulumi_alicloud/nas/data_flow.py +6 -6
  52. pulumi_alicloud/nas/fileset.py +6 -6
  53. pulumi_alicloud/nas/lifecycle_policy.py +6 -6
  54. pulumi_alicloud/nas/recycle_bin.py +6 -6
  55. pulumi_alicloud/nas/snapshot.py +6 -6
  56. pulumi_alicloud/polardb/cluster.py +162 -0
  57. pulumi_alicloud/privatelink/get_vpc_endpoint_services.py +51 -7
  58. pulumi_alicloud/privatelink/outputs.py +17 -6
  59. pulumi_alicloud/privatelink/vpc_endpoint_service_user.py +54 -17
  60. pulumi_alicloud/privatelink/vpc_endpoint_zone.py +7 -21
  61. pulumi_alicloud/pulumi-plugin.json +1 -1
  62. pulumi_alicloud/rds/instance.py +50 -3
  63. pulumi_alicloud/resourcemanager/get_folders.py +35 -28
  64. pulumi_alicloud/resourcemanager/outputs.py +8 -8
  65. pulumi_alicloud/servicemesh/_inputs.py +656 -174
  66. pulumi_alicloud/servicemesh/outputs.py +507 -117
  67. pulumi_alicloud/servicemesh/service_mesh.py +120 -78
  68. pulumi_alicloud/sls/__init__.py +1 -0
  69. pulumi_alicloud/sls/_inputs.py +307 -0
  70. pulumi_alicloud/sls/collection_policy.py +561 -0
  71. pulumi_alicloud/sls/outputs.py +263 -0
  72. pulumi_alicloud/threatdetection/instance.py +331 -43
  73. {pulumi_alicloud-3.63.1.dist-info → pulumi_alicloud-3.64.0.dist-info}/METADATA +1 -1
  74. {pulumi_alicloud-3.63.1.dist-info → pulumi_alicloud-3.64.0.dist-info}/RECORD +76 -74
  75. {pulumi_alicloud-3.63.1.dist-info → pulumi_alicloud-3.64.0.dist-info}/WHEEL +0 -0
  76. {pulumi_alicloud-3.63.1.dist-info → pulumi_alicloud-3.64.0.dist-info}/top_level.txt +0 -0
@@ -26,8 +26,6 @@ if not MYPY:
26
26
  ecs_id: NotRequired[pulumi.Input[str]]
27
27
  """
28
28
  The ID of the ECS instance.
29
-
30
- The following arguments will be discarded. Please use new fields as soon as possible:
31
29
  """
32
30
  elif False:
33
31
  InstanceEcsListArgsDict: TypeAlias = Mapping[str, Any]
@@ -38,8 +36,6 @@ class InstanceEcsListArgs:
38
36
  ecs_id: Optional[pulumi.Input[str]] = None):
39
37
  """
40
38
  :param pulumi.Input[str] ecs_id: The ID of the ECS instance.
41
-
42
- The following arguments will be discarded. Please use new fields as soon as possible:
43
39
  """
44
40
  if ecs_id is not None:
45
41
  pulumi.set(__self__, "ecs_id", ecs_id)
@@ -49,8 +45,6 @@ class InstanceEcsListArgs:
49
45
  def ecs_id(self) -> Optional[pulumi.Input[str]]:
50
46
  """
51
47
  The ID of the ECS instance.
52
-
53
- The following arguments will be discarded. Please use new fields as soon as possible:
54
48
  """
55
49
  return pulumi.get(self, "ecs_id")
56
50
 
@@ -49,6 +49,7 @@ class InstanceArgs:
49
49
  :param pulumi.Input[bool] enable_raid: Whether to create DBFS in RAID mode. If created in RAID mode, the capacity is at least 66GB.Valid values: true or false. Default value: false.
50
50
  :param pulumi.Input[bool] encryption: Whether to encrypt DBFS.Valid values: true or false. Default value: false.
51
51
  :param pulumi.Input[str] fs_name: Database file system name.
52
+ :param pulumi.Input[str] instance_name: . Field 'instance_name' has been deprecated from provider version 1.212.0. New field 'fs_name' instead.
52
53
  :param pulumi.Input[str] instance_type: Instance type. Value range:
53
54
  - dbfs.small
54
55
  - dbfs.medium
@@ -62,6 +63,8 @@ class InstanceArgs:
62
63
  :param pulumi.Input[int] raid_stripe_unit_number: Number of strips. Required when the EnableRaid parameter is true.Value range: Currently, only 8 stripes are supported.
63
64
  :param pulumi.Input[str] snapshot_id: The ID of the snapshot used to create the DBFS instance.
64
65
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A mapping of tags to assign to the resource.
66
+
67
+ The following arguments will be discarded. Please use new fields as soon as possible:
65
68
  :param pulumi.Input[str] used_scene: The usage scenario of DBFS. Value range:
66
69
  - MySQL 5.7
67
70
  - PostgreSQL
@@ -218,6 +221,9 @@ class InstanceArgs:
218
221
  @pulumi.getter(name="instanceName")
219
222
  @_utilities.deprecated("""Field 'instance_name' has been deprecated since provider version 1.212.0. New field 'fs_name' instead.""")
220
223
  def instance_name(self) -> Optional[pulumi.Input[str]]:
224
+ """
225
+ . Field 'instance_name' has been deprecated from provider version 1.212.0. New field 'fs_name' instead.
226
+ """
221
227
  return pulumi.get(self, "instance_name")
222
228
 
223
229
  @instance_name.setter
@@ -296,6 +302,8 @@ class InstanceArgs:
296
302
  def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
297
303
  """
298
304
  A mapping of tags to assign to the resource.
305
+
306
+ The following arguments will be discarded. Please use new fields as soon as possible:
299
307
  """
300
308
  return pulumi.get(self, "tags")
301
309
 
@@ -351,6 +359,7 @@ class _InstanceState:
351
359
  :param pulumi.Input[bool] enable_raid: Whether to create DBFS in RAID mode. If created in RAID mode, the capacity is at least 66GB.Valid values: true or false. Default value: false.
352
360
  :param pulumi.Input[bool] encryption: Whether to encrypt DBFS.Valid values: true or false. Default value: false.
353
361
  :param pulumi.Input[str] fs_name: Database file system name.
362
+ :param pulumi.Input[str] instance_name: . Field 'instance_name' has been deprecated from provider version 1.212.0. New field 'fs_name' instead.
354
363
  :param pulumi.Input[str] instance_type: Instance type. Value range:
355
364
  - dbfs.small
356
365
  - dbfs.medium
@@ -366,6 +375,8 @@ class _InstanceState:
366
375
  :param pulumi.Input[str] snapshot_id: The ID of the snapshot used to create the DBFS instance.
367
376
  :param pulumi.Input[str] status: The status of the resource.
368
377
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A mapping of tags to assign to the resource.
378
+
379
+ The following arguments will be discarded. Please use new fields as soon as possible:
369
380
  :param pulumi.Input[str] used_scene: The usage scenario of DBFS. Value range:
370
381
  - MySQL 5.7
371
382
  - PostgreSQL
@@ -518,6 +529,9 @@ class _InstanceState:
518
529
  @pulumi.getter(name="instanceName")
519
530
  @_utilities.deprecated("""Field 'instance_name' has been deprecated since provider version 1.212.0. New field 'fs_name' instead.""")
520
531
  def instance_name(self) -> Optional[pulumi.Input[str]]:
532
+ """
533
+ . Field 'instance_name' has been deprecated from provider version 1.212.0. New field 'fs_name' instead.
534
+ """
521
535
  return pulumi.get(self, "instance_name")
522
536
 
523
537
  @instance_name.setter
@@ -620,6 +634,8 @@ class _InstanceState:
620
634
  def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
621
635
  """
622
636
  A mapping of tags to assign to the resource.
637
+
638
+ The following arguments will be discarded. Please use new fields as soon as possible:
623
639
  """
624
640
  return pulumi.get(self, "tags")
625
641
 
@@ -683,6 +699,8 @@ class Instance(pulumi.CustomResource):
683
699
 
684
700
  For information about DBFS Dbfs Instance and how to use it, see [What is Dbfs Instance](https://next.api.alibabacloud.com/document/DBFS/2020-04-18/CreateDbfs).
685
701
 
702
+ > **NOTE:** Need to contact us open whitelist before you can use the resource.
703
+
686
704
  > **NOTE:** Available since v1.136.0.
687
705
 
688
706
  ## Example Usage
@@ -722,6 +740,7 @@ class Instance(pulumi.CustomResource):
722
740
  :param pulumi.Input[bool] enable_raid: Whether to create DBFS in RAID mode. If created in RAID mode, the capacity is at least 66GB.Valid values: true or false. Default value: false.
723
741
  :param pulumi.Input[bool] encryption: Whether to encrypt DBFS.Valid values: true or false. Default value: false.
724
742
  :param pulumi.Input[str] fs_name: Database file system name.
743
+ :param pulumi.Input[str] instance_name: . Field 'instance_name' has been deprecated from provider version 1.212.0. New field 'fs_name' instead.
725
744
  :param pulumi.Input[str] instance_type: Instance type. Value range:
726
745
  - dbfs.small
727
746
  - dbfs.medium
@@ -736,6 +755,8 @@ class Instance(pulumi.CustomResource):
736
755
  :param pulumi.Input[int] size: Size of database file system, unit GiB.
737
756
  :param pulumi.Input[str] snapshot_id: The ID of the snapshot used to create the DBFS instance.
738
757
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A mapping of tags to assign to the resource.
758
+
759
+ The following arguments will be discarded. Please use new fields as soon as possible:
739
760
  :param pulumi.Input[str] used_scene: The usage scenario of DBFS. Value range:
740
761
  - MySQL 5.7
741
762
  - PostgreSQL
@@ -753,6 +774,8 @@ class Instance(pulumi.CustomResource):
753
774
 
754
775
  For information about DBFS Dbfs Instance and how to use it, see [What is Dbfs Instance](https://next.api.alibabacloud.com/document/DBFS/2020-04-18/CreateDbfs).
755
776
 
777
+ > **NOTE:** Need to contact us open whitelist before you can use the resource.
778
+
756
779
  > **NOTE:** Available since v1.136.0.
757
780
 
758
781
  ## Example Usage
@@ -893,6 +916,7 @@ class Instance(pulumi.CustomResource):
893
916
  :param pulumi.Input[bool] enable_raid: Whether to create DBFS in RAID mode. If created in RAID mode, the capacity is at least 66GB.Valid values: true or false. Default value: false.
894
917
  :param pulumi.Input[bool] encryption: Whether to encrypt DBFS.Valid values: true or false. Default value: false.
895
918
  :param pulumi.Input[str] fs_name: Database file system name.
919
+ :param pulumi.Input[str] instance_name: . Field 'instance_name' has been deprecated from provider version 1.212.0. New field 'fs_name' instead.
896
920
  :param pulumi.Input[str] instance_type: Instance type. Value range:
897
921
  - dbfs.small
898
922
  - dbfs.medium
@@ -908,6 +932,8 @@ class Instance(pulumi.CustomResource):
908
932
  :param pulumi.Input[str] snapshot_id: The ID of the snapshot used to create the DBFS instance.
909
933
  :param pulumi.Input[str] status: The status of the resource.
910
934
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A mapping of tags to assign to the resource.
935
+
936
+ The following arguments will be discarded. Please use new fields as soon as possible:
911
937
  :param pulumi.Input[str] used_scene: The usage scenario of DBFS. Value range:
912
938
  - MySQL 5.7
913
939
  - PostgreSQL
@@ -1008,6 +1034,9 @@ class Instance(pulumi.CustomResource):
1008
1034
  @pulumi.getter(name="instanceName")
1009
1035
  @_utilities.deprecated("""Field 'instance_name' has been deprecated since provider version 1.212.0. New field 'fs_name' instead.""")
1010
1036
  def instance_name(self) -> pulumi.Output[str]:
1037
+ """
1038
+ . Field 'instance_name' has been deprecated from provider version 1.212.0. New field 'fs_name' instead.
1039
+ """
1011
1040
  return pulumi.get(self, "instance_name")
1012
1041
 
1013
1042
  @property
@@ -1078,6 +1107,8 @@ class Instance(pulumi.CustomResource):
1078
1107
  def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
1079
1108
  """
1080
1109
  A mapping of tags to assign to the resource.
1110
+
1111
+ The following arguments will be discarded. Please use new fields as soon as possible:
1081
1112
  """
1082
1113
  return pulumi.get(self, "tags")
1083
1114
 
@@ -46,8 +46,6 @@ class InstanceEcsList(dict):
46
46
  ecs_id: Optional[str] = None):
47
47
  """
48
48
  :param str ecs_id: The ID of the ECS instance.
49
-
50
- The following arguments will be discarded. Please use new fields as soon as possible:
51
49
  """
52
50
  if ecs_id is not None:
53
51
  pulumi.set(__self__, "ecs_id", ecs_id)
@@ -57,8 +55,6 @@ class InstanceEcsList(dict):
57
55
  def ecs_id(self) -> Optional[str]:
58
56
  """
59
57
  The ID of the ECS instance.
60
-
61
- The following arguments will be discarded. Please use new fields as soon as possible:
62
58
  """
63
59
  return pulumi.get(self, "ecs_id")
64
60
 
@@ -251,10 +251,21 @@ def get_alidns_records(direction: Optional[str] = None,
251
251
  """
252
252
  This data source provides a list of Alidns Domain Records in an Alibaba Cloud account according to the specified filters.
253
253
 
254
- > **NOTE:** Available in 1.86.0+.
254
+ > **NOTE:** Available since v1.86.0.
255
255
 
256
256
  ## Example Usage
257
257
 
258
+ ```python
259
+ import pulumi
260
+ import pulumi_alicloud as alicloud
261
+
262
+ records_ds = alicloud.dns.get_alidns_records(domain_name="xiaozhu.top",
263
+ ids=["1978593525779****"],
264
+ type="A",
265
+ output_file="records.txt")
266
+ pulumi.export("firstRecordId", records_ds.records[0].record_id)
267
+ ```
268
+
258
269
 
259
270
  :param str direction: Sorting direction. Valid values: `DESC`,`ASC`. Default to `AESC`.
260
271
  :param str domain_name: The domain name associated to the records.
@@ -262,7 +273,7 @@ def get_alidns_records(direction: Optional[str] = None,
262
273
  :param Sequence[str] ids: A list of record IDs.
263
274
  :param str key_word: Keywords.
264
275
  :param str lang: User language.
265
- :param str line: ISP line. For checking all resolution lines enumeration please visit [Alibaba Cloud DNS doc](https://www.alibabacloud.com/help/en/alibaba-cloud-dns/latest/dns-lines)
276
+ :param str line: ISP line. For checking all resolution lines enumeration please visit [Alibaba Cloud DNS doc](https://www.alibabacloud.com/help/en/dns/resolve-line-enumeration)
266
277
  :param str order_by: Sort by. Sort from newest to oldest according to the time added by resolution.
267
278
  :param str output_file: File name where to save data source results (after running `pulumi preview`).
268
279
  :param str rr_key_word: The keywords recorded by the host are searched according to the `%RRKeyWord%` mode, and are not case sensitive.
@@ -336,10 +347,21 @@ def get_alidns_records_output(direction: Optional[pulumi.Input[Optional[str]]] =
336
347
  """
337
348
  This data source provides a list of Alidns Domain Records in an Alibaba Cloud account according to the specified filters.
338
349
 
339
- > **NOTE:** Available in 1.86.0+.
350
+ > **NOTE:** Available since v1.86.0.
340
351
 
341
352
  ## Example Usage
342
353
 
354
+ ```python
355
+ import pulumi
356
+ import pulumi_alicloud as alicloud
357
+
358
+ records_ds = alicloud.dns.get_alidns_records(domain_name="xiaozhu.top",
359
+ ids=["1978593525779****"],
360
+ type="A",
361
+ output_file="records.txt")
362
+ pulumi.export("firstRecordId", records_ds.records[0].record_id)
363
+ ```
364
+
343
365
 
344
366
  :param str direction: Sorting direction. Valid values: `DESC`,`ASC`. Default to `AESC`.
345
367
  :param str domain_name: The domain name associated to the records.
@@ -347,7 +369,7 @@ def get_alidns_records_output(direction: Optional[pulumi.Input[Optional[str]]] =
347
369
  :param Sequence[str] ids: A list of record IDs.
348
370
  :param str key_word: Keywords.
349
371
  :param str lang: User language.
350
- :param str line: ISP line. For checking all resolution lines enumeration please visit [Alibaba Cloud DNS doc](https://www.alibabacloud.com/help/en/alibaba-cloud-dns/latest/dns-lines)
372
+ :param str line: ISP line. For checking all resolution lines enumeration please visit [Alibaba Cloud DNS doc](https://www.alibabacloud.com/help/en/dns/resolve-line-enumeration)
351
373
  :param str order_by: Sort by. Sort from newest to oldest according to the time added by resolution.
352
374
  :param str output_file: File name where to save data source results (after running `pulumi preview`).
353
375
  :param str rr_key_word: The keywords recorded by the host are searched according to the `%RRKeyWord%` mode, and are not case sensitive.
@@ -1559,7 +1559,7 @@ class GetAlidnsRecordsRecordResult(dict):
1559
1559
  """
1560
1560
  :param str domain_name: The domain name associated to the records.
1561
1561
  :param str id: ID of the resource.
1562
- :param str line: ISP line. For checking all resolution lines enumeration please visit [Alibaba Cloud DNS doc](https://www.alibabacloud.com/help/en/alibaba-cloud-dns/latest/dns-lines)
1562
+ :param str line: ISP line. For checking all resolution lines enumeration please visit [Alibaba Cloud DNS doc](https://www.alibabacloud.com/help/en/dns/resolve-line-enumeration)
1563
1563
  :param bool locked: Indicates whether the record is locked.
1564
1564
  :param int priority: Priority of the `MX` record.
1565
1565
  :param str record_id: ID of the record.
@@ -1603,7 +1603,7 @@ class GetAlidnsRecordsRecordResult(dict):
1603
1603
  @pulumi.getter
1604
1604
  def line(self) -> str:
1605
1605
  """
1606
- ISP line. For checking all resolution lines enumeration please visit [Alibaba Cloud DNS doc](https://www.alibabacloud.com/help/en/alibaba-cloud-dns/latest/dns-lines)
1606
+ ISP line. For checking all resolution lines enumeration please visit [Alibaba Cloud DNS doc](https://www.alibabacloud.com/help/en/dns/resolve-line-enumeration)
1607
1607
  """
1608
1608
  return pulumi.get(self, "line")
1609
1609
 
@@ -26,11 +26,11 @@ class InstanceArgs:
26
26
  instance_name: Optional[pulumi.Input[str]] = None):
27
27
  """
28
28
  The set of arguments for constructing a Instance resource.
29
- :param pulumi.Input[str] instance_type: The type of the resource. Valid values: `eais.ei-a6.4xlarge`, `eais.ei-a6.2xlarge`, `eais.ei-a6.xlarge`, `eais.ei-a6.large`, `eais.ei-a6.medium`.
29
+ :param pulumi.Input[str] instance_type: The type of the Instance. Valid values: `eais.ei-a6.4xlarge`, `eais.ei-a6.2xlarge`, `eais.ei-a6.xlarge`, `eais.ei-a6.large`, `eais.ei-a6.medium`.
30
30
  :param pulumi.Input[str] security_group_id: The ID of the security group.
31
- :param pulumi.Input[str] vswitch_id: The ID of the vswitch.
32
- :param pulumi.Input[bool] force: Whether to force deletion when the instance status does not meet the deletion conditions. Valid values: `true` and `false`.
33
- :param pulumi.Input[str] instance_name: The name of the instance.
31
+ :param pulumi.Input[str] vswitch_id: The ID of the vSwitch.
32
+ :param pulumi.Input[bool] force: Specifies whether to force delete the Instance. Default value: `false`. Valid values:
33
+ :param pulumi.Input[str] instance_name: The name of the Instance.
34
34
  """
35
35
  pulumi.set(__self__, "instance_type", instance_type)
36
36
  pulumi.set(__self__, "security_group_id", security_group_id)
@@ -44,7 +44,7 @@ class InstanceArgs:
44
44
  @pulumi.getter(name="instanceType")
45
45
  def instance_type(self) -> pulumi.Input[str]:
46
46
  """
47
- The type of the resource. Valid values: `eais.ei-a6.4xlarge`, `eais.ei-a6.2xlarge`, `eais.ei-a6.xlarge`, `eais.ei-a6.large`, `eais.ei-a6.medium`.
47
+ The type of the Instance. Valid values: `eais.ei-a6.4xlarge`, `eais.ei-a6.2xlarge`, `eais.ei-a6.xlarge`, `eais.ei-a6.large`, `eais.ei-a6.medium`.
48
48
  """
49
49
  return pulumi.get(self, "instance_type")
50
50
 
@@ -68,7 +68,7 @@ class InstanceArgs:
68
68
  @pulumi.getter(name="vswitchId")
69
69
  def vswitch_id(self) -> pulumi.Input[str]:
70
70
  """
71
- The ID of the vswitch.
71
+ The ID of the vSwitch.
72
72
  """
73
73
  return pulumi.get(self, "vswitch_id")
74
74
 
@@ -80,7 +80,7 @@ class InstanceArgs:
80
80
  @pulumi.getter
81
81
  def force(self) -> Optional[pulumi.Input[bool]]:
82
82
  """
83
- Whether to force deletion when the instance status does not meet the deletion conditions. Valid values: `true` and `false`.
83
+ Specifies whether to force delete the Instance. Default value: `false`. Valid values:
84
84
  """
85
85
  return pulumi.get(self, "force")
86
86
 
@@ -92,7 +92,7 @@ class InstanceArgs:
92
92
  @pulumi.getter(name="instanceName")
93
93
  def instance_name(self) -> Optional[pulumi.Input[str]]:
94
94
  """
95
- The name of the instance.
95
+ The name of the Instance.
96
96
  """
97
97
  return pulumi.get(self, "instance_name")
98
98
 
@@ -112,12 +112,12 @@ class _InstanceState:
112
112
  vswitch_id: Optional[pulumi.Input[str]] = None):
113
113
  """
114
114
  Input properties used for looking up and filtering Instance resources.
115
- :param pulumi.Input[bool] force: Whether to force deletion when the instance status does not meet the deletion conditions. Valid values: `true` and `false`.
116
- :param pulumi.Input[str] instance_name: The name of the instance.
117
- :param pulumi.Input[str] instance_type: The type of the resource. Valid values: `eais.ei-a6.4xlarge`, `eais.ei-a6.2xlarge`, `eais.ei-a6.xlarge`, `eais.ei-a6.large`, `eais.ei-a6.medium`.
115
+ :param pulumi.Input[bool] force: Specifies whether to force delete the Instance. Default value: `false`. Valid values:
116
+ :param pulumi.Input[str] instance_name: The name of the Instance.
117
+ :param pulumi.Input[str] instance_type: The type of the Instance. Valid values: `eais.ei-a6.4xlarge`, `eais.ei-a6.2xlarge`, `eais.ei-a6.xlarge`, `eais.ei-a6.large`, `eais.ei-a6.medium`.
118
118
  :param pulumi.Input[str] security_group_id: The ID of the security group.
119
- :param pulumi.Input[str] status: The status of the resource. Valid values: `Attaching`, `Available`, `Detaching`, `InUse`, `Starting`, `Unavailable`.
120
- :param pulumi.Input[str] vswitch_id: The ID of the vswitch.
119
+ :param pulumi.Input[str] status: The status of the Instance.
120
+ :param pulumi.Input[str] vswitch_id: The ID of the vSwitch.
121
121
  """
122
122
  if force is not None:
123
123
  pulumi.set(__self__, "force", force)
@@ -136,7 +136,7 @@ class _InstanceState:
136
136
  @pulumi.getter
137
137
  def force(self) -> Optional[pulumi.Input[bool]]:
138
138
  """
139
- Whether to force deletion when the instance status does not meet the deletion conditions. Valid values: `true` and `false`.
139
+ Specifies whether to force delete the Instance. Default value: `false`. Valid values:
140
140
  """
141
141
  return pulumi.get(self, "force")
142
142
 
@@ -148,7 +148,7 @@ class _InstanceState:
148
148
  @pulumi.getter(name="instanceName")
149
149
  def instance_name(self) -> Optional[pulumi.Input[str]]:
150
150
  """
151
- The name of the instance.
151
+ The name of the Instance.
152
152
  """
153
153
  return pulumi.get(self, "instance_name")
154
154
 
@@ -160,7 +160,7 @@ class _InstanceState:
160
160
  @pulumi.getter(name="instanceType")
161
161
  def instance_type(self) -> Optional[pulumi.Input[str]]:
162
162
  """
163
- The type of the resource. Valid values: `eais.ei-a6.4xlarge`, `eais.ei-a6.2xlarge`, `eais.ei-a6.xlarge`, `eais.ei-a6.large`, `eais.ei-a6.medium`.
163
+ The type of the Instance. Valid values: `eais.ei-a6.4xlarge`, `eais.ei-a6.2xlarge`, `eais.ei-a6.xlarge`, `eais.ei-a6.large`, `eais.ei-a6.medium`.
164
164
  """
165
165
  return pulumi.get(self, "instance_type")
166
166
 
@@ -184,7 +184,7 @@ class _InstanceState:
184
184
  @pulumi.getter
185
185
  def status(self) -> Optional[pulumi.Input[str]]:
186
186
  """
187
- The status of the resource. Valid values: `Attaching`, `Available`, `Detaching`, `InUse`, `Starting`, `Unavailable`.
187
+ The status of the Instance.
188
188
  """
189
189
  return pulumi.get(self, "status")
190
190
 
@@ -196,7 +196,7 @@ class _InstanceState:
196
196
  @pulumi.getter(name="vswitchId")
197
197
  def vswitch_id(self) -> Optional[pulumi.Input[str]]:
198
198
  """
199
- The ID of the vswitch.
199
+ The ID of the vSwitch.
200
200
  """
201
201
  return pulumi.get(self, "vswitch_id")
202
202
 
@@ -217,9 +217,9 @@ class Instance(pulumi.CustomResource):
217
217
  vswitch_id: Optional[pulumi.Input[str]] = None,
218
218
  __props__=None):
219
219
  """
220
- Provides a EAIS Instance resource.
220
+ Provides a Elastic Accelerated Computing Instances (EAIS) Instance resource.
221
221
 
222
- For information about EAIS Instance and how to use it, see [What is Instance](https://www.alibabacloud.com/help/en/resource-orchestration-service/latest/aliyun-eais-instance).
222
+ For information about Elastic Accelerated Computing Instances (EAIS) Instance and how to use it, see [What is Instance](https://www.alibabacloud.com/help/en/resource-orchestration-service/latest/aliyun-eais-instance).
223
223
 
224
224
  > **NOTE:** Available since v1.137.0.
225
225
 
@@ -234,30 +234,29 @@ class Instance(pulumi.CustomResource):
234
234
  config = pulumi.Config()
235
235
  name = config.get("name")
236
236
  if name is None:
237
- name = "tf-example"
237
+ name = "terraform-example"
238
238
  zone_id = "cn-hangzhou-h"
239
- default = alicloud.get_zones(available_resource_creation="VSwitch")
240
- default_network = alicloud.vpc.Network("default",
239
+ default = alicloud.vpc.Network("default",
241
240
  vpc_name=name,
242
- cidr_block="10.0.0.0/8")
241
+ cidr_block="192.168.0.0/16")
243
242
  default_switch = alicloud.vpc.Switch("default",
244
243
  vswitch_name=name,
245
- cidr_block="10.1.0.0/16",
246
- vpc_id=default_network.id,
244
+ vpc_id=default.id,
245
+ cidr_block="192.168.192.0/24",
247
246
  zone_id=zone_id)
248
247
  default_security_group = alicloud.ecs.SecurityGroup("default",
249
248
  name=name,
250
- vpc_id=default_network.id)
249
+ vpc_id=default.id)
251
250
  default_instance = alicloud.eais.Instance("default",
252
251
  instance_type="eais.ei-a6.2xlarge",
253
- instance_name=name,
252
+ vswitch_id=default_switch.id,
254
253
  security_group_id=default_security_group.id,
255
- vswitch_id=default_switch.id)
254
+ instance_name=name)
256
255
  ```
257
256
 
258
257
  ## Import
259
258
 
260
- EAIS Instance can be imported using the id, e.g.
259
+ Elastic Accelerated Computing Instances (EAIS) Instance can be imported using the id, e.g.
261
260
 
262
261
  ```sh
263
262
  $ pulumi import alicloud:eais/instance:Instance example <id>
@@ -265,11 +264,11 @@ class Instance(pulumi.CustomResource):
265
264
 
266
265
  :param str resource_name: The name of the resource.
267
266
  :param pulumi.ResourceOptions opts: Options for the resource.
268
- :param pulumi.Input[bool] force: Whether to force deletion when the instance status does not meet the deletion conditions. Valid values: `true` and `false`.
269
- :param pulumi.Input[str] instance_name: The name of the instance.
270
- :param pulumi.Input[str] instance_type: The type of the resource. Valid values: `eais.ei-a6.4xlarge`, `eais.ei-a6.2xlarge`, `eais.ei-a6.xlarge`, `eais.ei-a6.large`, `eais.ei-a6.medium`.
267
+ :param pulumi.Input[bool] force: Specifies whether to force delete the Instance. Default value: `false`. Valid values:
268
+ :param pulumi.Input[str] instance_name: The name of the Instance.
269
+ :param pulumi.Input[str] instance_type: The type of the Instance. Valid values: `eais.ei-a6.4xlarge`, `eais.ei-a6.2xlarge`, `eais.ei-a6.xlarge`, `eais.ei-a6.large`, `eais.ei-a6.medium`.
271
270
  :param pulumi.Input[str] security_group_id: The ID of the security group.
272
- :param pulumi.Input[str] vswitch_id: The ID of the vswitch.
271
+ :param pulumi.Input[str] vswitch_id: The ID of the vSwitch.
273
272
  """
274
273
  ...
275
274
  @overload
@@ -278,9 +277,9 @@ class Instance(pulumi.CustomResource):
278
277
  args: InstanceArgs,
279
278
  opts: Optional[pulumi.ResourceOptions] = None):
280
279
  """
281
- Provides a EAIS Instance resource.
280
+ Provides a Elastic Accelerated Computing Instances (EAIS) Instance resource.
282
281
 
283
- For information about EAIS Instance and how to use it, see [What is Instance](https://www.alibabacloud.com/help/en/resource-orchestration-service/latest/aliyun-eais-instance).
282
+ For information about Elastic Accelerated Computing Instances (EAIS) Instance and how to use it, see [What is Instance](https://www.alibabacloud.com/help/en/resource-orchestration-service/latest/aliyun-eais-instance).
284
283
 
285
284
  > **NOTE:** Available since v1.137.0.
286
285
 
@@ -295,30 +294,29 @@ class Instance(pulumi.CustomResource):
295
294
  config = pulumi.Config()
296
295
  name = config.get("name")
297
296
  if name is None:
298
- name = "tf-example"
297
+ name = "terraform-example"
299
298
  zone_id = "cn-hangzhou-h"
300
- default = alicloud.get_zones(available_resource_creation="VSwitch")
301
- default_network = alicloud.vpc.Network("default",
299
+ default = alicloud.vpc.Network("default",
302
300
  vpc_name=name,
303
- cidr_block="10.0.0.0/8")
301
+ cidr_block="192.168.0.0/16")
304
302
  default_switch = alicloud.vpc.Switch("default",
305
303
  vswitch_name=name,
306
- cidr_block="10.1.0.0/16",
307
- vpc_id=default_network.id,
304
+ vpc_id=default.id,
305
+ cidr_block="192.168.192.0/24",
308
306
  zone_id=zone_id)
309
307
  default_security_group = alicloud.ecs.SecurityGroup("default",
310
308
  name=name,
311
- vpc_id=default_network.id)
309
+ vpc_id=default.id)
312
310
  default_instance = alicloud.eais.Instance("default",
313
311
  instance_type="eais.ei-a6.2xlarge",
314
- instance_name=name,
312
+ vswitch_id=default_switch.id,
315
313
  security_group_id=default_security_group.id,
316
- vswitch_id=default_switch.id)
314
+ instance_name=name)
317
315
  ```
318
316
 
319
317
  ## Import
320
318
 
321
- EAIS Instance can be imported using the id, e.g.
319
+ Elastic Accelerated Computing Instances (EAIS) Instance can be imported using the id, e.g.
322
320
 
323
321
  ```sh
324
322
  $ pulumi import alicloud:eais/instance:Instance example <id>
@@ -388,12 +386,12 @@ class Instance(pulumi.CustomResource):
388
386
  :param str resource_name: The unique name of the resulting resource.
389
387
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
390
388
  :param pulumi.ResourceOptions opts: Options for the resource.
391
- :param pulumi.Input[bool] force: Whether to force deletion when the instance status does not meet the deletion conditions. Valid values: `true` and `false`.
392
- :param pulumi.Input[str] instance_name: The name of the instance.
393
- :param pulumi.Input[str] instance_type: The type of the resource. Valid values: `eais.ei-a6.4xlarge`, `eais.ei-a6.2xlarge`, `eais.ei-a6.xlarge`, `eais.ei-a6.large`, `eais.ei-a6.medium`.
389
+ :param pulumi.Input[bool] force: Specifies whether to force delete the Instance. Default value: `false`. Valid values:
390
+ :param pulumi.Input[str] instance_name: The name of the Instance.
391
+ :param pulumi.Input[str] instance_type: The type of the Instance. Valid values: `eais.ei-a6.4xlarge`, `eais.ei-a6.2xlarge`, `eais.ei-a6.xlarge`, `eais.ei-a6.large`, `eais.ei-a6.medium`.
394
392
  :param pulumi.Input[str] security_group_id: The ID of the security group.
395
- :param pulumi.Input[str] status: The status of the resource. Valid values: `Attaching`, `Available`, `Detaching`, `InUse`, `Starting`, `Unavailable`.
396
- :param pulumi.Input[str] vswitch_id: The ID of the vswitch.
393
+ :param pulumi.Input[str] status: The status of the Instance.
394
+ :param pulumi.Input[str] vswitch_id: The ID of the vSwitch.
397
395
  """
398
396
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
399
397
 
@@ -411,15 +409,15 @@ class Instance(pulumi.CustomResource):
411
409
  @pulumi.getter
412
410
  def force(self) -> pulumi.Output[Optional[bool]]:
413
411
  """
414
- Whether to force deletion when the instance status does not meet the deletion conditions. Valid values: `true` and `false`.
412
+ Specifies whether to force delete the Instance. Default value: `false`. Valid values:
415
413
  """
416
414
  return pulumi.get(self, "force")
417
415
 
418
416
  @property
419
417
  @pulumi.getter(name="instanceName")
420
- def instance_name(self) -> pulumi.Output[Optional[str]]:
418
+ def instance_name(self) -> pulumi.Output[str]:
421
419
  """
422
- The name of the instance.
420
+ The name of the Instance.
423
421
  """
424
422
  return pulumi.get(self, "instance_name")
425
423
 
@@ -427,7 +425,7 @@ class Instance(pulumi.CustomResource):
427
425
  @pulumi.getter(name="instanceType")
428
426
  def instance_type(self) -> pulumi.Output[str]:
429
427
  """
430
- The type of the resource. Valid values: `eais.ei-a6.4xlarge`, `eais.ei-a6.2xlarge`, `eais.ei-a6.xlarge`, `eais.ei-a6.large`, `eais.ei-a6.medium`.
428
+ The type of the Instance. Valid values: `eais.ei-a6.4xlarge`, `eais.ei-a6.2xlarge`, `eais.ei-a6.xlarge`, `eais.ei-a6.large`, `eais.ei-a6.medium`.
431
429
  """
432
430
  return pulumi.get(self, "instance_type")
433
431
 
@@ -443,7 +441,7 @@ class Instance(pulumi.CustomResource):
443
441
  @pulumi.getter
444
442
  def status(self) -> pulumi.Output[str]:
445
443
  """
446
- The status of the resource. Valid values: `Attaching`, `Available`, `Detaching`, `InUse`, `Starting`, `Unavailable`.
444
+ The status of the Instance.
447
445
  """
448
446
  return pulumi.get(self, "status")
449
447
 
@@ -451,7 +449,7 @@ class Instance(pulumi.CustomResource):
451
449
  @pulumi.getter(name="vswitchId")
452
450
  def vswitch_id(self) -> pulumi.Output[str]:
453
451
  """
454
- The ID of the vswitch.
452
+ The ID of the vSwitch.
455
453
  """
456
454
  return pulumi.get(self, "vswitch_id")
457
455