pulumi-alicloud 3.58.0a1719292463__py3-none-any.whl → 3.58.0a1719465542__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/_inputs.py +9 -9
- pulumi_alicloud/cddc/dedicated_host_account.py +4 -0
- pulumi_alicloud/cddc/dedicated_host_group.py +4 -0
- pulumi_alicloud/config/outputs.py +6 -6
- pulumi_alicloud/cs/kubernetes_addon.py +2 -2
- pulumi_alicloud/cs/node_pool.py +7 -7
- pulumi_alicloud/ddos/bgp_ip.py +53 -2
- pulumi_alicloud/eci/_inputs.py +12 -0
- pulumi_alicloud/eci/outputs.py +8 -0
- pulumi_alicloud/ecs/ecs_disk.py +7 -7
- pulumi_alicloud/ecs/eip.py +1 -1
- pulumi_alicloud/ecs/eip_address.py +495 -299
- pulumi_alicloud/ecs/eip_association.py +205 -58
- pulumi_alicloud/ecs/eip_segment_address.py +311 -133
- pulumi_alicloud/ecs/instance.py +20 -6
- pulumi_alicloud/ess/_inputs.py +88 -0
- pulumi_alicloud/ess/alarm.py +132 -38
- pulumi_alicloud/ess/outputs.py +87 -0
- pulumi_alicloud/ess/scaling_group.py +148 -7
- pulumi_alicloud/log/oss_shipper.py +4 -0
- pulumi_alicloud/mongodb/sharding_instance.py +54 -7
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/rds/instance.py +21 -0
- pulumi_alicloud/vpc/common_bandwith_package.py +197 -120
- pulumi_alicloud/vpc/common_bandwith_package_attachment.py +58 -30
- {pulumi_alicloud-3.58.0a1719292463.dist-info → pulumi_alicloud-3.58.0a1719465542.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.58.0a1719292463.dist-info → pulumi_alicloud-3.58.0a1719465542.dist-info}/RECORD +29 -29
- {pulumi_alicloud-3.58.0a1719292463.dist-info → pulumi_alicloud-3.58.0a1719465542.dist-info}/WHEEL +1 -1
- {pulumi_alicloud-3.58.0a1719292463.dist-info → pulumi_alicloud-3.58.0a1719465542.dist-info}/top_level.txt +0 -0
|
@@ -36,6 +36,7 @@ class ShardingInstanceArgs:
|
|
|
36
36
|
security_group_id: Optional[pulumi.Input[str]] = None,
|
|
37
37
|
security_ip_lists: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
38
38
|
storage_engine: Optional[pulumi.Input[str]] = None,
|
|
39
|
+
storage_type: Optional[pulumi.Input[str]] = None,
|
|
39
40
|
tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
|
40
41
|
tde_status: Optional[pulumi.Input[str]] = None,
|
|
41
42
|
vpc_id: Optional[pulumi.Input[str]] = None,
|
|
@@ -43,7 +44,7 @@ class ShardingInstanceArgs:
|
|
|
43
44
|
zone_id: Optional[pulumi.Input[str]] = None):
|
|
44
45
|
"""
|
|
45
46
|
The set of arguments for constructing a ShardingInstance resource.
|
|
46
|
-
:param pulumi.Input[str] engine_version: Database version. Value options can refer to the latest docs [CreateDBInstance](https://www.alibabacloud.com/help/en/doc-detail/61884.htm) `EngineVersion`.
|
|
47
|
+
:param pulumi.Input[str] engine_version: Database version. Value options can refer to the latest docs [CreateDBInstance](https://www.alibabacloud.com/help/en/doc-detail/61884.htm) `EngineVersion`. **NOTE:** From version 1.225.1, `engine_version` can be modified.
|
|
47
48
|
:param pulumi.Input[Sequence[pulumi.Input['ShardingInstanceMongoListArgs']]] mongo_lists: The Mongo nodes of the instance. The mongo-node count can be purchased is in range of [2, 32]. See `mongo_list` below.
|
|
48
49
|
:param pulumi.Input[Sequence[pulumi.Input['ShardingInstanceShardListArgs']]] shard_lists: The Shard nodes of the instance. The shard-node count can be purchased is in range of [2, 32]. See `shard_list` below.
|
|
49
50
|
:param pulumi.Input[str] account_password: Password of the root account. It is a string of 6 to 32 characters and is composed of letters, numbers, and underlines.
|
|
@@ -66,6 +67,7 @@ class ShardingInstanceArgs:
|
|
|
66
67
|
:param pulumi.Input[str] security_group_id: The Security Group ID of ECS.
|
|
67
68
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] security_ip_lists: List of IP addresses allowed to access all databases of an instance. The list contains up to 1,000 IP addresses, separated by commas. Supported formats include 0.0.0.0/0, 10.23.12.24 (IP), and 10.23.12.24/24 (Classless Inter-Domain Routing (CIDR) mode. /24 represents the length of the prefix in an IP address. The range of the prefix length is [1,32]). System default to `["127.0.0.1"]`.
|
|
68
69
|
:param pulumi.Input[str] storage_engine: The storage engine of the instance. Default value: `WiredTiger`. Valid values: `WiredTiger`, `RocksDB`.
|
|
70
|
+
:param pulumi.Input[str] storage_type: The storage type of the instance. Valid values: `cloud_essd1`, `cloud_essd2`, `cloud_essd3`, `local_ssd`.
|
|
69
71
|
:param pulumi.Input[Mapping[str, Any]] tags: A mapping of tags to assign to the resource.
|
|
70
72
|
:param pulumi.Input[str] tde_status: The TDE(Transparent Data Encryption) status. It can be updated from version 1.160.0.
|
|
71
73
|
:param pulumi.Input[str] vpc_id: The ID of the VPC. > **NOTE:** `vpc_id` is valid only when `network_type` is set to `VPC`.
|
|
@@ -110,6 +112,8 @@ class ShardingInstanceArgs:
|
|
|
110
112
|
pulumi.set(__self__, "security_ip_lists", security_ip_lists)
|
|
111
113
|
if storage_engine is not None:
|
|
112
114
|
pulumi.set(__self__, "storage_engine", storage_engine)
|
|
115
|
+
if storage_type is not None:
|
|
116
|
+
pulumi.set(__self__, "storage_type", storage_type)
|
|
113
117
|
if tags is not None:
|
|
114
118
|
pulumi.set(__self__, "tags", tags)
|
|
115
119
|
if tde_status is not None:
|
|
@@ -125,7 +129,7 @@ class ShardingInstanceArgs:
|
|
|
125
129
|
@pulumi.getter(name="engineVersion")
|
|
126
130
|
def engine_version(self) -> pulumi.Input[str]:
|
|
127
131
|
"""
|
|
128
|
-
Database version. Value options can refer to the latest docs [CreateDBInstance](https://www.alibabacloud.com/help/en/doc-detail/61884.htm) `EngineVersion`.
|
|
132
|
+
Database version. Value options can refer to the latest docs [CreateDBInstance](https://www.alibabacloud.com/help/en/doc-detail/61884.htm) `EngineVersion`. **NOTE:** From version 1.225.1, `engine_version` can be modified.
|
|
129
133
|
"""
|
|
130
134
|
return pulumi.get(self, "engine_version")
|
|
131
135
|
|
|
@@ -364,6 +368,18 @@ class ShardingInstanceArgs:
|
|
|
364
368
|
def storage_engine(self, value: Optional[pulumi.Input[str]]):
|
|
365
369
|
pulumi.set(self, "storage_engine", value)
|
|
366
370
|
|
|
371
|
+
@property
|
|
372
|
+
@pulumi.getter(name="storageType")
|
|
373
|
+
def storage_type(self) -> Optional[pulumi.Input[str]]:
|
|
374
|
+
"""
|
|
375
|
+
The storage type of the instance. Valid values: `cloud_essd1`, `cloud_essd2`, `cloud_essd3`, `local_ssd`.
|
|
376
|
+
"""
|
|
377
|
+
return pulumi.get(self, "storage_type")
|
|
378
|
+
|
|
379
|
+
@storage_type.setter
|
|
380
|
+
def storage_type(self, value: Optional[pulumi.Input[str]]):
|
|
381
|
+
pulumi.set(self, "storage_type", value)
|
|
382
|
+
|
|
367
383
|
@property
|
|
368
384
|
@pulumi.getter
|
|
369
385
|
def tags(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
|
|
@@ -450,6 +466,7 @@ class _ShardingInstanceState:
|
|
|
450
466
|
security_ip_lists: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
451
467
|
shard_lists: Optional[pulumi.Input[Sequence[pulumi.Input['ShardingInstanceShardListArgs']]]] = None,
|
|
452
468
|
storage_engine: Optional[pulumi.Input[str]] = None,
|
|
469
|
+
storage_type: Optional[pulumi.Input[str]] = None,
|
|
453
470
|
tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
|
454
471
|
tde_status: Optional[pulumi.Input[str]] = None,
|
|
455
472
|
vpc_id: Optional[pulumi.Input[str]] = None,
|
|
@@ -462,7 +479,7 @@ class _ShardingInstanceState:
|
|
|
462
479
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] backup_periods: MongoDB Instance backup period. It is required when `backup_time` was existed. Valid values: [Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday]. Default to [Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday]
|
|
463
480
|
:param pulumi.Input[str] backup_time: Sharding Instance backup time. It is required when `backup_period` was existed. In the format of HH:mmZ- HH:mmZ. Time setting interval is one hour. If not set, the system will return a default, like "23:00Z-24:00Z".
|
|
464
481
|
:param pulumi.Input[Sequence[pulumi.Input['ShardingInstanceConfigServerListArgs']]] config_server_lists: The ConfigServer nodes of the instance. See `config_server_list` below.
|
|
465
|
-
:param pulumi.Input[str] engine_version: Database version. Value options can refer to the latest docs [CreateDBInstance](https://www.alibabacloud.com/help/en/doc-detail/61884.htm) `EngineVersion`.
|
|
482
|
+
:param pulumi.Input[str] engine_version: Database version. Value options can refer to the latest docs [CreateDBInstance](https://www.alibabacloud.com/help/en/doc-detail/61884.htm) `EngineVersion`. **NOTE:** From version 1.225.1, `engine_version` can be modified.
|
|
466
483
|
:param pulumi.Input[str] instance_charge_type: The billing method of the instance. Default value: `PostPaid`. Valid values: `PrePaid`, `PostPaid`. **NOTE:** It can be modified from `PostPaid` to `PrePaid` after version v1.141.0.
|
|
467
484
|
:param pulumi.Input[str] kms_encrypted_password: An KMS encrypts password used to a instance. If the `account_password` is filled in, this field will be ignored.
|
|
468
485
|
:param pulumi.Input[Mapping[str, Any]] kms_encryption_context: An KMS encryption context used to decrypt `kms_encrypted_password` before creating or updating instance with `kms_encrypted_password`. See [Encryption Context](https://www.alibabacloud.com/help/doc-detail/42975.htm). It is valid when `kms_encrypted_password` is set.
|
|
@@ -481,6 +498,7 @@ class _ShardingInstanceState:
|
|
|
481
498
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] security_ip_lists: List of IP addresses allowed to access all databases of an instance. The list contains up to 1,000 IP addresses, separated by commas. Supported formats include 0.0.0.0/0, 10.23.12.24 (IP), and 10.23.12.24/24 (Classless Inter-Domain Routing (CIDR) mode. /24 represents the length of the prefix in an IP address. The range of the prefix length is [1,32]). System default to `["127.0.0.1"]`.
|
|
482
499
|
:param pulumi.Input[Sequence[pulumi.Input['ShardingInstanceShardListArgs']]] shard_lists: The Shard nodes of the instance. The shard-node count can be purchased is in range of [2, 32]. See `shard_list` below.
|
|
483
500
|
:param pulumi.Input[str] storage_engine: The storage engine of the instance. Default value: `WiredTiger`. Valid values: `WiredTiger`, `RocksDB`.
|
|
501
|
+
:param pulumi.Input[str] storage_type: The storage type of the instance. Valid values: `cloud_essd1`, `cloud_essd2`, `cloud_essd3`, `local_ssd`.
|
|
484
502
|
:param pulumi.Input[Mapping[str, Any]] tags: A mapping of tags to assign to the resource.
|
|
485
503
|
:param pulumi.Input[str] tde_status: The TDE(Transparent Data Encryption) status. It can be updated from version 1.160.0.
|
|
486
504
|
:param pulumi.Input[str] vpc_id: The ID of the VPC. > **NOTE:** `vpc_id` is valid only when `network_type` is set to `VPC`.
|
|
@@ -530,6 +548,8 @@ class _ShardingInstanceState:
|
|
|
530
548
|
pulumi.set(__self__, "shard_lists", shard_lists)
|
|
531
549
|
if storage_engine is not None:
|
|
532
550
|
pulumi.set(__self__, "storage_engine", storage_engine)
|
|
551
|
+
if storage_type is not None:
|
|
552
|
+
pulumi.set(__self__, "storage_type", storage_type)
|
|
533
553
|
if tags is not None:
|
|
534
554
|
pulumi.set(__self__, "tags", tags)
|
|
535
555
|
if tde_status is not None:
|
|
@@ -605,7 +625,7 @@ class _ShardingInstanceState:
|
|
|
605
625
|
@pulumi.getter(name="engineVersion")
|
|
606
626
|
def engine_version(self) -> Optional[pulumi.Input[str]]:
|
|
607
627
|
"""
|
|
608
|
-
Database version. Value options can refer to the latest docs [CreateDBInstance](https://www.alibabacloud.com/help/en/doc-detail/61884.htm) `EngineVersion`.
|
|
628
|
+
Database version. Value options can refer to the latest docs [CreateDBInstance](https://www.alibabacloud.com/help/en/doc-detail/61884.htm) `EngineVersion`. **NOTE:** From version 1.225.1, `engine_version` can be modified.
|
|
609
629
|
"""
|
|
610
630
|
return pulumi.get(self, "engine_version")
|
|
611
631
|
|
|
@@ -796,6 +816,18 @@ class _ShardingInstanceState:
|
|
|
796
816
|
def storage_engine(self, value: Optional[pulumi.Input[str]]):
|
|
797
817
|
pulumi.set(self, "storage_engine", value)
|
|
798
818
|
|
|
819
|
+
@property
|
|
820
|
+
@pulumi.getter(name="storageType")
|
|
821
|
+
def storage_type(self) -> Optional[pulumi.Input[str]]:
|
|
822
|
+
"""
|
|
823
|
+
The storage type of the instance. Valid values: `cloud_essd1`, `cloud_essd2`, `cloud_essd3`, `local_ssd`.
|
|
824
|
+
"""
|
|
825
|
+
return pulumi.get(self, "storage_type")
|
|
826
|
+
|
|
827
|
+
@storage_type.setter
|
|
828
|
+
def storage_type(self, value: Optional[pulumi.Input[str]]):
|
|
829
|
+
pulumi.set(self, "storage_type", value)
|
|
830
|
+
|
|
799
831
|
@property
|
|
800
832
|
@pulumi.getter
|
|
801
833
|
def tags(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
|
|
@@ -883,6 +915,7 @@ class ShardingInstance(pulumi.CustomResource):
|
|
|
883
915
|
security_ip_lists: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
884
916
|
shard_lists: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ShardingInstanceShardListArgs']]]]] = None,
|
|
885
917
|
storage_engine: Optional[pulumi.Input[str]] = None,
|
|
918
|
+
storage_type: Optional[pulumi.Input[str]] = None,
|
|
886
919
|
tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
|
887
920
|
tde_status: Optional[pulumi.Input[str]] = None,
|
|
888
921
|
vpc_id: Optional[pulumi.Input[str]] = None,
|
|
@@ -970,7 +1003,7 @@ class ShardingInstance(pulumi.CustomResource):
|
|
|
970
1003
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] backup_periods: MongoDB Instance backup period. It is required when `backup_time` was existed. Valid values: [Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday]. Default to [Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday]
|
|
971
1004
|
:param pulumi.Input[str] backup_time: Sharding Instance backup time. It is required when `backup_period` was existed. In the format of HH:mmZ- HH:mmZ. Time setting interval is one hour. If not set, the system will return a default, like "23:00Z-24:00Z".
|
|
972
1005
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ShardingInstanceConfigServerListArgs']]]] config_server_lists: The ConfigServer nodes of the instance. See `config_server_list` below.
|
|
973
|
-
:param pulumi.Input[str] engine_version: Database version. Value options can refer to the latest docs [CreateDBInstance](https://www.alibabacloud.com/help/en/doc-detail/61884.htm) `EngineVersion`.
|
|
1006
|
+
:param pulumi.Input[str] engine_version: Database version. Value options can refer to the latest docs [CreateDBInstance](https://www.alibabacloud.com/help/en/doc-detail/61884.htm) `EngineVersion`. **NOTE:** From version 1.225.1, `engine_version` can be modified.
|
|
974
1007
|
:param pulumi.Input[str] instance_charge_type: The billing method of the instance. Default value: `PostPaid`. Valid values: `PrePaid`, `PostPaid`. **NOTE:** It can be modified from `PostPaid` to `PrePaid` after version v1.141.0.
|
|
975
1008
|
:param pulumi.Input[str] kms_encrypted_password: An KMS encrypts password used to a instance. If the `account_password` is filled in, this field will be ignored.
|
|
976
1009
|
:param pulumi.Input[Mapping[str, Any]] kms_encryption_context: An KMS encryption context used to decrypt `kms_encrypted_password` before creating or updating instance with `kms_encrypted_password`. See [Encryption Context](https://www.alibabacloud.com/help/doc-detail/42975.htm). It is valid when `kms_encrypted_password` is set.
|
|
@@ -988,6 +1021,7 @@ class ShardingInstance(pulumi.CustomResource):
|
|
|
988
1021
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] security_ip_lists: List of IP addresses allowed to access all databases of an instance. The list contains up to 1,000 IP addresses, separated by commas. Supported formats include 0.0.0.0/0, 10.23.12.24 (IP), and 10.23.12.24/24 (Classless Inter-Domain Routing (CIDR) mode. /24 represents the length of the prefix in an IP address. The range of the prefix length is [1,32]). System default to `["127.0.0.1"]`.
|
|
989
1022
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ShardingInstanceShardListArgs']]]] shard_lists: The Shard nodes of the instance. The shard-node count can be purchased is in range of [2, 32]. See `shard_list` below.
|
|
990
1023
|
:param pulumi.Input[str] storage_engine: The storage engine of the instance. Default value: `WiredTiger`. Valid values: `WiredTiger`, `RocksDB`.
|
|
1024
|
+
:param pulumi.Input[str] storage_type: The storage type of the instance. Valid values: `cloud_essd1`, `cloud_essd2`, `cloud_essd3`, `local_ssd`.
|
|
991
1025
|
:param pulumi.Input[Mapping[str, Any]] tags: A mapping of tags to assign to the resource.
|
|
992
1026
|
:param pulumi.Input[str] tde_status: The TDE(Transparent Data Encryption) status. It can be updated from version 1.160.0.
|
|
993
1027
|
:param pulumi.Input[str] vpc_id: The ID of the VPC. > **NOTE:** `vpc_id` is valid only when `network_type` is set to `VPC`.
|
|
@@ -1110,6 +1144,7 @@ class ShardingInstance(pulumi.CustomResource):
|
|
|
1110
1144
|
security_ip_lists: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1111
1145
|
shard_lists: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ShardingInstanceShardListArgs']]]]] = None,
|
|
1112
1146
|
storage_engine: Optional[pulumi.Input[str]] = None,
|
|
1147
|
+
storage_type: Optional[pulumi.Input[str]] = None,
|
|
1113
1148
|
tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
|
1114
1149
|
tde_status: Optional[pulumi.Input[str]] = None,
|
|
1115
1150
|
vpc_id: Optional[pulumi.Input[str]] = None,
|
|
@@ -1150,6 +1185,7 @@ class ShardingInstance(pulumi.CustomResource):
|
|
|
1150
1185
|
raise TypeError("Missing required property 'shard_lists'")
|
|
1151
1186
|
__props__.__dict__["shard_lists"] = shard_lists
|
|
1152
1187
|
__props__.__dict__["storage_engine"] = storage_engine
|
|
1188
|
+
__props__.__dict__["storage_type"] = storage_type
|
|
1153
1189
|
__props__.__dict__["tags"] = tags
|
|
1154
1190
|
__props__.__dict__["tde_status"] = tde_status
|
|
1155
1191
|
__props__.__dict__["vpc_id"] = vpc_id
|
|
@@ -1189,6 +1225,7 @@ class ShardingInstance(pulumi.CustomResource):
|
|
|
1189
1225
|
security_ip_lists: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1190
1226
|
shard_lists: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ShardingInstanceShardListArgs']]]]] = None,
|
|
1191
1227
|
storage_engine: Optional[pulumi.Input[str]] = None,
|
|
1228
|
+
storage_type: Optional[pulumi.Input[str]] = None,
|
|
1192
1229
|
tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
|
1193
1230
|
tde_status: Optional[pulumi.Input[str]] = None,
|
|
1194
1231
|
vpc_id: Optional[pulumi.Input[str]] = None,
|
|
@@ -1206,7 +1243,7 @@ class ShardingInstance(pulumi.CustomResource):
|
|
|
1206
1243
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] backup_periods: MongoDB Instance backup period. It is required when `backup_time` was existed. Valid values: [Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday]. Default to [Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday]
|
|
1207
1244
|
:param pulumi.Input[str] backup_time: Sharding Instance backup time. It is required when `backup_period` was existed. In the format of HH:mmZ- HH:mmZ. Time setting interval is one hour. If not set, the system will return a default, like "23:00Z-24:00Z".
|
|
1208
1245
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ShardingInstanceConfigServerListArgs']]]] config_server_lists: The ConfigServer nodes of the instance. See `config_server_list` below.
|
|
1209
|
-
:param pulumi.Input[str] engine_version: Database version. Value options can refer to the latest docs [CreateDBInstance](https://www.alibabacloud.com/help/en/doc-detail/61884.htm) `EngineVersion`.
|
|
1246
|
+
:param pulumi.Input[str] engine_version: Database version. Value options can refer to the latest docs [CreateDBInstance](https://www.alibabacloud.com/help/en/doc-detail/61884.htm) `EngineVersion`. **NOTE:** From version 1.225.1, `engine_version` can be modified.
|
|
1210
1247
|
:param pulumi.Input[str] instance_charge_type: The billing method of the instance. Default value: `PostPaid`. Valid values: `PrePaid`, `PostPaid`. **NOTE:** It can be modified from `PostPaid` to `PrePaid` after version v1.141.0.
|
|
1211
1248
|
:param pulumi.Input[str] kms_encrypted_password: An KMS encrypts password used to a instance. If the `account_password` is filled in, this field will be ignored.
|
|
1212
1249
|
:param pulumi.Input[Mapping[str, Any]] kms_encryption_context: An KMS encryption context used to decrypt `kms_encrypted_password` before creating or updating instance with `kms_encrypted_password`. See [Encryption Context](https://www.alibabacloud.com/help/doc-detail/42975.htm). It is valid when `kms_encrypted_password` is set.
|
|
@@ -1225,6 +1262,7 @@ class ShardingInstance(pulumi.CustomResource):
|
|
|
1225
1262
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] security_ip_lists: List of IP addresses allowed to access all databases of an instance. The list contains up to 1,000 IP addresses, separated by commas. Supported formats include 0.0.0.0/0, 10.23.12.24 (IP), and 10.23.12.24/24 (Classless Inter-Domain Routing (CIDR) mode. /24 represents the length of the prefix in an IP address. The range of the prefix length is [1,32]). System default to `["127.0.0.1"]`.
|
|
1226
1263
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ShardingInstanceShardListArgs']]]] shard_lists: The Shard nodes of the instance. The shard-node count can be purchased is in range of [2, 32]. See `shard_list` below.
|
|
1227
1264
|
:param pulumi.Input[str] storage_engine: The storage engine of the instance. Default value: `WiredTiger`. Valid values: `WiredTiger`, `RocksDB`.
|
|
1265
|
+
:param pulumi.Input[str] storage_type: The storage type of the instance. Valid values: `cloud_essd1`, `cloud_essd2`, `cloud_essd3`, `local_ssd`.
|
|
1228
1266
|
:param pulumi.Input[Mapping[str, Any]] tags: A mapping of tags to assign to the resource.
|
|
1229
1267
|
:param pulumi.Input[str] tde_status: The TDE(Transparent Data Encryption) status. It can be updated from version 1.160.0.
|
|
1230
1268
|
:param pulumi.Input[str] vpc_id: The ID of the VPC. > **NOTE:** `vpc_id` is valid only when `network_type` is set to `VPC`.
|
|
@@ -1257,6 +1295,7 @@ class ShardingInstance(pulumi.CustomResource):
|
|
|
1257
1295
|
__props__.__dict__["security_ip_lists"] = security_ip_lists
|
|
1258
1296
|
__props__.__dict__["shard_lists"] = shard_lists
|
|
1259
1297
|
__props__.__dict__["storage_engine"] = storage_engine
|
|
1298
|
+
__props__.__dict__["storage_type"] = storage_type
|
|
1260
1299
|
__props__.__dict__["tags"] = tags
|
|
1261
1300
|
__props__.__dict__["tde_status"] = tde_status
|
|
1262
1301
|
__props__.__dict__["vpc_id"] = vpc_id
|
|
@@ -1308,7 +1347,7 @@ class ShardingInstance(pulumi.CustomResource):
|
|
|
1308
1347
|
@pulumi.getter(name="engineVersion")
|
|
1309
1348
|
def engine_version(self) -> pulumi.Output[str]:
|
|
1310
1349
|
"""
|
|
1311
|
-
Database version. Value options can refer to the latest docs [CreateDBInstance](https://www.alibabacloud.com/help/en/doc-detail/61884.htm) `EngineVersion`.
|
|
1350
|
+
Database version. Value options can refer to the latest docs [CreateDBInstance](https://www.alibabacloud.com/help/en/doc-detail/61884.htm) `EngineVersion`. **NOTE:** From version 1.225.1, `engine_version` can be modified.
|
|
1312
1351
|
"""
|
|
1313
1352
|
return pulumi.get(self, "engine_version")
|
|
1314
1353
|
|
|
@@ -1435,6 +1474,14 @@ class ShardingInstance(pulumi.CustomResource):
|
|
|
1435
1474
|
"""
|
|
1436
1475
|
return pulumi.get(self, "storage_engine")
|
|
1437
1476
|
|
|
1477
|
+
@property
|
|
1478
|
+
@pulumi.getter(name="storageType")
|
|
1479
|
+
def storage_type(self) -> pulumi.Output[str]:
|
|
1480
|
+
"""
|
|
1481
|
+
The storage type of the instance. Valid values: `cloud_essd1`, `cloud_essd2`, `cloud_essd3`, `local_ssd`.
|
|
1482
|
+
"""
|
|
1483
|
+
return pulumi.get(self, "storage_type")
|
|
1484
|
+
|
|
1438
1485
|
@property
|
|
1439
1486
|
@pulumi.getter
|
|
1440
1487
|
def tags(self) -> pulumi.Output[Optional[Mapping[str, Any]]]:
|
pulumi_alicloud/rds/instance.py
CHANGED
|
@@ -239,6 +239,9 @@ class InstanceArgs:
|
|
|
239
239
|
- verify-full (supported only when the instance runs PostgreSQL 12 or later)
|
|
240
240
|
:param pulumi.Input[str] resource_group_id: The ID of resource group which the DB instance belongs.
|
|
241
241
|
:param pulumi.Input[str] role_arn: The Alibaba Cloud Resource Name (ARN) of the RAM role.
|
|
242
|
+
|
|
243
|
+
> **NOTE:** This parameter is not required when you create an instance that runs MySQL, PostgreSQL, or SQL Server. You need to only specify the RoleARN parameter to create an instance that has cloud disk encryption enabled by using the obtained key ID.
|
|
244
|
+
You can configure RAM authorization to require a RAM user to enable cloud disk encryption when the RAM user is used to create an instance. If cloud disk encryption is disabled during the instance creation, the creation operation fails. To complete the configuration, you can attach the following policy to the RAM user: {"Version":"1","Statement":[{"Effect":"Deny","Action":"rds:CreateDBInstance","Resource":"*","Condition":{"StringEquals":{"rds:DiskEncryptionRequired":"false"}}}]}
|
|
242
245
|
:param pulumi.Input[str] security_group_id: It has been deprecated from 1.69.0 and use `security_group_ids` instead.
|
|
243
246
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] security_group_ids: , Available since 1.69.0) The list IDs to join ECS Security Group. At most supports three security groups.
|
|
244
247
|
:param pulumi.Input[str] security_ip_mode: Valid values are `normal`, `safety`, Default to `normal`. support `safety` switch to high security access mode.
|
|
@@ -1121,6 +1124,9 @@ class InstanceArgs:
|
|
|
1121
1124
|
def role_arn(self) -> Optional[pulumi.Input[str]]:
|
|
1122
1125
|
"""
|
|
1123
1126
|
The Alibaba Cloud Resource Name (ARN) of the RAM role.
|
|
1127
|
+
|
|
1128
|
+
> **NOTE:** This parameter is not required when you create an instance that runs MySQL, PostgreSQL, or SQL Server. You need to only specify the RoleARN parameter to create an instance that has cloud disk encryption enabled by using the obtained key ID.
|
|
1129
|
+
You can configure RAM authorization to require a RAM user to enable cloud disk encryption when the RAM user is used to create an instance. If cloud disk encryption is disabled during the instance creation, the creation operation fails. To complete the configuration, you can attach the following policy to the RAM user: {"Version":"1","Statement":[{"Effect":"Deny","Action":"rds:CreateDBInstance","Resource":"*","Condition":{"StringEquals":{"rds:DiskEncryptionRequired":"false"}}}]}
|
|
1124
1130
|
"""
|
|
1125
1131
|
return pulumi.get(self, "role_arn")
|
|
1126
1132
|
|
|
@@ -1735,6 +1741,9 @@ class _InstanceState:
|
|
|
1735
1741
|
- verify-full (supported only when the instance runs PostgreSQL 12 or later)
|
|
1736
1742
|
:param pulumi.Input[str] resource_group_id: The ID of resource group which the DB instance belongs.
|
|
1737
1743
|
:param pulumi.Input[str] role_arn: The Alibaba Cloud Resource Name (ARN) of the RAM role.
|
|
1744
|
+
|
|
1745
|
+
> **NOTE:** This parameter is not required when you create an instance that runs MySQL, PostgreSQL, or SQL Server. You need to only specify the RoleARN parameter to create an instance that has cloud disk encryption enabled by using the obtained key ID.
|
|
1746
|
+
You can configure RAM authorization to require a RAM user to enable cloud disk encryption when the RAM user is used to create an instance. If cloud disk encryption is disabled during the instance creation, the creation operation fails. To complete the configuration, you can attach the following policy to the RAM user: {"Version":"1","Statement":[{"Effect":"Deny","Action":"rds:CreateDBInstance","Resource":"*","Condition":{"StringEquals":{"rds:DiskEncryptionRequired":"false"}}}]}
|
|
1738
1747
|
:param pulumi.Input[str] security_group_id: It has been deprecated from 1.69.0 and use `security_group_ids` instead.
|
|
1739
1748
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] security_group_ids: , Available since 1.69.0) The list IDs to join ECS Security Group. At most supports three security groups.
|
|
1740
1749
|
:param pulumi.Input[str] security_ip_mode: Valid values are `normal`, `safety`, Default to `normal`. support `safety` switch to high security access mode.
|
|
@@ -2669,6 +2678,9 @@ class _InstanceState:
|
|
|
2669
2678
|
def role_arn(self) -> Optional[pulumi.Input[str]]:
|
|
2670
2679
|
"""
|
|
2671
2680
|
The Alibaba Cloud Resource Name (ARN) of the RAM role.
|
|
2681
|
+
|
|
2682
|
+
> **NOTE:** This parameter is not required when you create an instance that runs MySQL, PostgreSQL, or SQL Server. You need to only specify the RoleARN parameter to create an instance that has cloud disk encryption enabled by using the obtained key ID.
|
|
2683
|
+
You can configure RAM authorization to require a RAM user to enable cloud disk encryption when the RAM user is used to create an instance. If cloud disk encryption is disabled during the instance creation, the creation operation fails. To complete the configuration, you can attach the following policy to the RAM user: {"Version":"1","Statement":[{"Effect":"Deny","Action":"rds:CreateDBInstance","Resource":"*","Condition":{"StringEquals":{"rds:DiskEncryptionRequired":"false"}}}]}
|
|
2672
2684
|
"""
|
|
2673
2685
|
return pulumi.get(self, "role_arn")
|
|
2674
2686
|
|
|
@@ -3311,6 +3323,9 @@ class Instance(pulumi.CustomResource):
|
|
|
3311
3323
|
- verify-full (supported only when the instance runs PostgreSQL 12 or later)
|
|
3312
3324
|
:param pulumi.Input[str] resource_group_id: The ID of resource group which the DB instance belongs.
|
|
3313
3325
|
:param pulumi.Input[str] role_arn: The Alibaba Cloud Resource Name (ARN) of the RAM role.
|
|
3326
|
+
|
|
3327
|
+
> **NOTE:** This parameter is not required when you create an instance that runs MySQL, PostgreSQL, or SQL Server. You need to only specify the RoleARN parameter to create an instance that has cloud disk encryption enabled by using the obtained key ID.
|
|
3328
|
+
You can configure RAM authorization to require a RAM user to enable cloud disk encryption when the RAM user is used to create an instance. If cloud disk encryption is disabled during the instance creation, the creation operation fails. To complete the configuration, you can attach the following policy to the RAM user: {"Version":"1","Statement":[{"Effect":"Deny","Action":"rds:CreateDBInstance","Resource":"*","Condition":{"StringEquals":{"rds:DiskEncryptionRequired":"false"}}}]}
|
|
3314
3329
|
:param pulumi.Input[str] security_group_id: It has been deprecated from 1.69.0 and use `security_group_ids` instead.
|
|
3315
3330
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] security_group_ids: , Available since 1.69.0) The list IDs to join ECS Security Group. At most supports three security groups.
|
|
3316
3331
|
:param pulumi.Input[str] security_ip_mode: Valid values are `normal`, `safety`, Default to `normal`. support `safety` switch to high security access mode.
|
|
@@ -3831,6 +3846,9 @@ class Instance(pulumi.CustomResource):
|
|
|
3831
3846
|
- verify-full (supported only when the instance runs PostgreSQL 12 or later)
|
|
3832
3847
|
:param pulumi.Input[str] resource_group_id: The ID of resource group which the DB instance belongs.
|
|
3833
3848
|
:param pulumi.Input[str] role_arn: The Alibaba Cloud Resource Name (ARN) of the RAM role.
|
|
3849
|
+
|
|
3850
|
+
> **NOTE:** This parameter is not required when you create an instance that runs MySQL, PostgreSQL, or SQL Server. You need to only specify the RoleARN parameter to create an instance that has cloud disk encryption enabled by using the obtained key ID.
|
|
3851
|
+
You can configure RAM authorization to require a RAM user to enable cloud disk encryption when the RAM user is used to create an instance. If cloud disk encryption is disabled during the instance creation, the creation operation fails. To complete the configuration, you can attach the following policy to the RAM user: {"Version":"1","Statement":[{"Effect":"Deny","Action":"rds:CreateDBInstance","Resource":"*","Condition":{"StringEquals":{"rds:DiskEncryptionRequired":"false"}}}]}
|
|
3834
3852
|
:param pulumi.Input[str] security_group_id: It has been deprecated from 1.69.0 and use `security_group_ids` instead.
|
|
3835
3853
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] security_group_ids: , Available since 1.69.0) The list IDs to join ECS Security Group. At most supports three security groups.
|
|
3836
3854
|
:param pulumi.Input[str] security_ip_mode: Valid values are `normal`, `safety`, Default to `normal`. support `safety` switch to high security access mode.
|
|
@@ -4489,6 +4507,9 @@ class Instance(pulumi.CustomResource):
|
|
|
4489
4507
|
def role_arn(self) -> pulumi.Output[str]:
|
|
4490
4508
|
"""
|
|
4491
4509
|
The Alibaba Cloud Resource Name (ARN) of the RAM role.
|
|
4510
|
+
|
|
4511
|
+
> **NOTE:** This parameter is not required when you create an instance that runs MySQL, PostgreSQL, or SQL Server. You need to only specify the RoleARN parameter to create an instance that has cloud disk encryption enabled by using the obtained key ID.
|
|
4512
|
+
You can configure RAM authorization to require a RAM user to enable cloud disk encryption when the RAM user is used to create an instance. If cloud disk encryption is disabled during the instance creation, the creation operation fails. To complete the configuration, you can attach the following policy to the RAM user: {"Version":"1","Statement":[{"Effect":"Deny","Action":"rds:CreateDBInstance","Resource":"*","Condition":{"StringEquals":{"rds:DiskEncryptionRequired":"false"}}}]}
|
|
4492
4513
|
"""
|
|
4493
4514
|
return pulumi.get(self, "role_arn")
|
|
4494
4515
|
|