pulumi-alicloud 3.61.0a1723820875__py3-none-any.whl → 3.61.0a1724318858__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 (29) hide show
  1. pulumi_alicloud/__init__.py +27 -0
  2. pulumi_alicloud/_inputs.py +16 -0
  3. pulumi_alicloud/alikafka/instance.py +21 -14
  4. pulumi_alicloud/amqp/binding.py +7 -0
  5. pulumi_alicloud/config/outputs.py +12 -0
  6. pulumi_alicloud/cs/_inputs.py +50 -2
  7. pulumi_alicloud/cs/node_pool.py +42 -42
  8. pulumi_alicloud/cs/outputs.py +45 -3
  9. pulumi_alicloud/dataworks/__init__.py +1 -0
  10. pulumi_alicloud/dataworks/project.py +450 -0
  11. pulumi_alicloud/elasticsearch/instance.py +296 -14
  12. pulumi_alicloud/log/store.py +91 -10
  13. pulumi_alicloud/mongodb/_inputs.py +12 -12
  14. pulumi_alicloud/mongodb/instance.py +54 -7
  15. pulumi_alicloud/mongodb/outputs.py +12 -12
  16. pulumi_alicloud/mongodb/sharding_instance.py +54 -7
  17. pulumi_alicloud/mongodb/sharding_network_private_address.py +145 -39
  18. pulumi_alicloud/pulumi-plugin.json +1 -1
  19. pulumi_alicloud/selectdb/__init__.py +13 -0
  20. pulumi_alicloud/selectdb/_inputs.py +446 -0
  21. pulumi_alicloud/selectdb/db_cluster.py +830 -0
  22. pulumi_alicloud/selectdb/db_instance.py +1368 -0
  23. pulumi_alicloud/selectdb/get_db_clusters.py +184 -0
  24. pulumi_alicloud/selectdb/get_db_instances.py +191 -0
  25. pulumi_alicloud/selectdb/outputs.py +1122 -0
  26. {pulumi_alicloud-3.61.0a1723820875.dist-info → pulumi_alicloud-3.61.0a1724318858.dist-info}/METADATA +1 -1
  27. {pulumi_alicloud-3.61.0a1723820875.dist-info → pulumi_alicloud-3.61.0a1724318858.dist-info}/RECORD +29 -21
  28. {pulumi_alicloud-3.61.0a1723820875.dist-info → pulumi_alicloud-3.61.0a1724318858.dist-info}/WHEEL +1 -1
  29. {pulumi_alicloud-3.61.0a1723820875.dist-info → pulumi_alicloud-3.61.0a1724318858.dist-info}/top_level.txt +0 -0
@@ -32,6 +32,7 @@ class ShardingInstanceArgs:
32
32
  order_type: Optional[pulumi.Input[str]] = None,
33
33
  period: Optional[pulumi.Input[int]] = None,
34
34
  protocol_type: Optional[pulumi.Input[str]] = None,
35
+ provisioned_iops: Optional[pulumi.Input[int]] = None,
35
36
  resource_group_id: Optional[pulumi.Input[str]] = None,
36
37
  security_group_id: Optional[pulumi.Input[str]] = None,
37
38
  security_ip_lists: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
@@ -63,11 +64,12 @@ class ShardingInstanceArgs:
63
64
  **NOTE:** `order_type` is only applicable to instances when `instance_charge_type` is `PrePaid`.
64
65
  :param pulumi.Input[int] period: The duration that you will buy DB instance (in month). It is valid when `instance_charge_type` is `PrePaid`. Default value: `1`. Valid values: [1~9], 12, 24, 36.
65
66
  :param pulumi.Input[str] protocol_type: The type of the access protocol. Valid values: `mongodb` or `dynamodb`.
67
+ :param pulumi.Input[int] provisioned_iops: The provisioned IOPS. Valid values: `0` to `50000`.
66
68
  :param pulumi.Input[str] resource_group_id: The ID of the Resource Group.
67
69
  :param pulumi.Input[str] security_group_id: The Security Group ID of ECS.
68
70
  :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"]`.
69
71
  :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`.
72
+ :param pulumi.Input[str] storage_type: The storage type of the instance. Valid values: `cloud_essd1`, `cloud_essd2`, `cloud_essd3`, `cloud_auto`, `local_ssd`. **NOTE:** From version 1.229.0, `storage_type` can be modified. However, `storage_type` can only be modified to `cloud_auto`.
71
73
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A mapping of tags to assign to the resource.
72
74
  :param pulumi.Input[str] tde_status: The TDE(Transparent Data Encryption) status. It can be updated from version 1.160.0.
73
75
  :param pulumi.Input[str] vpc_id: The ID of the VPC. > **NOTE:** `vpc_id` is valid only when `network_type` is set to `VPC`.
@@ -104,6 +106,8 @@ class ShardingInstanceArgs:
104
106
  pulumi.set(__self__, "period", period)
105
107
  if protocol_type is not None:
106
108
  pulumi.set(__self__, "protocol_type", protocol_type)
109
+ if provisioned_iops is not None:
110
+ pulumi.set(__self__, "provisioned_iops", provisioned_iops)
107
111
  if resource_group_id is not None:
108
112
  pulumi.set(__self__, "resource_group_id", resource_group_id)
109
113
  if security_group_id is not None:
@@ -320,6 +324,18 @@ class ShardingInstanceArgs:
320
324
  def protocol_type(self, value: Optional[pulumi.Input[str]]):
321
325
  pulumi.set(self, "protocol_type", value)
322
326
 
327
+ @property
328
+ @pulumi.getter(name="provisionedIops")
329
+ def provisioned_iops(self) -> Optional[pulumi.Input[int]]:
330
+ """
331
+ The provisioned IOPS. Valid values: `0` to `50000`.
332
+ """
333
+ return pulumi.get(self, "provisioned_iops")
334
+
335
+ @provisioned_iops.setter
336
+ def provisioned_iops(self, value: Optional[pulumi.Input[int]]):
337
+ pulumi.set(self, "provisioned_iops", value)
338
+
323
339
  @property
324
340
  @pulumi.getter(name="resourceGroupId")
325
341
  def resource_group_id(self) -> Optional[pulumi.Input[str]]:
@@ -372,7 +388,7 @@ class ShardingInstanceArgs:
372
388
  @pulumi.getter(name="storageType")
373
389
  def storage_type(self) -> Optional[pulumi.Input[str]]:
374
390
  """
375
- The storage type of the instance. Valid values: `cloud_essd1`, `cloud_essd2`, `cloud_essd3`, `local_ssd`.
391
+ The storage type of the instance. Valid values: `cloud_essd1`, `cloud_essd2`, `cloud_essd3`, `cloud_auto`, `local_ssd`. **NOTE:** From version 1.229.0, `storage_type` can be modified. However, `storage_type` can only be modified to `cloud_auto`.
376
392
  """
377
393
  return pulumi.get(self, "storage_type")
378
394
 
@@ -460,6 +476,7 @@ class _ShardingInstanceState:
460
476
  order_type: Optional[pulumi.Input[str]] = None,
461
477
  period: Optional[pulumi.Input[int]] = None,
462
478
  protocol_type: Optional[pulumi.Input[str]] = None,
479
+ provisioned_iops: Optional[pulumi.Input[int]] = None,
463
480
  resource_group_id: Optional[pulumi.Input[str]] = None,
464
481
  retention_period: Optional[pulumi.Input[int]] = None,
465
482
  security_group_id: Optional[pulumi.Input[str]] = None,
@@ -492,13 +509,14 @@ class _ShardingInstanceState:
492
509
  **NOTE:** `order_type` is only applicable to instances when `instance_charge_type` is `PrePaid`.
493
510
  :param pulumi.Input[int] period: The duration that you will buy DB instance (in month). It is valid when `instance_charge_type` is `PrePaid`. Default value: `1`. Valid values: [1~9], 12, 24, 36.
494
511
  :param pulumi.Input[str] protocol_type: The type of the access protocol. Valid values: `mongodb` or `dynamodb`.
512
+ :param pulumi.Input[int] provisioned_iops: The provisioned IOPS. Valid values: `0` to `50000`.
495
513
  :param pulumi.Input[str] resource_group_id: The ID of the Resource Group.
496
514
  :param pulumi.Input[int] retention_period: (Available since v1.42.0) Instance data backup retention days.
497
515
  :param pulumi.Input[str] security_group_id: The Security Group ID of ECS.
498
516
  :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"]`.
499
517
  :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.
500
518
  :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`.
519
+ :param pulumi.Input[str] storage_type: The storage type of the instance. Valid values: `cloud_essd1`, `cloud_essd2`, `cloud_essd3`, `cloud_auto`, `local_ssd`. **NOTE:** From version 1.229.0, `storage_type` can be modified. However, `storage_type` can only be modified to `cloud_auto`.
502
520
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A mapping of tags to assign to the resource.
503
521
  :param pulumi.Input[str] tde_status: The TDE(Transparent Data Encryption) status. It can be updated from version 1.160.0.
504
522
  :param pulumi.Input[str] vpc_id: The ID of the VPC. > **NOTE:** `vpc_id` is valid only when `network_type` is set to `VPC`.
@@ -536,6 +554,8 @@ class _ShardingInstanceState:
536
554
  pulumi.set(__self__, "period", period)
537
555
  if protocol_type is not None:
538
556
  pulumi.set(__self__, "protocol_type", protocol_type)
557
+ if provisioned_iops is not None:
558
+ pulumi.set(__self__, "provisioned_iops", provisioned_iops)
539
559
  if resource_group_id is not None:
540
560
  pulumi.set(__self__, "resource_group_id", resource_group_id)
541
561
  if retention_period is not None:
@@ -744,6 +764,18 @@ class _ShardingInstanceState:
744
764
  def protocol_type(self, value: Optional[pulumi.Input[str]]):
745
765
  pulumi.set(self, "protocol_type", value)
746
766
 
767
+ @property
768
+ @pulumi.getter(name="provisionedIops")
769
+ def provisioned_iops(self) -> Optional[pulumi.Input[int]]:
770
+ """
771
+ The provisioned IOPS. Valid values: `0` to `50000`.
772
+ """
773
+ return pulumi.get(self, "provisioned_iops")
774
+
775
+ @provisioned_iops.setter
776
+ def provisioned_iops(self, value: Optional[pulumi.Input[int]]):
777
+ pulumi.set(self, "provisioned_iops", value)
778
+
747
779
  @property
748
780
  @pulumi.getter(name="resourceGroupId")
749
781
  def resource_group_id(self) -> Optional[pulumi.Input[str]]:
@@ -820,7 +852,7 @@ class _ShardingInstanceState:
820
852
  @pulumi.getter(name="storageType")
821
853
  def storage_type(self) -> Optional[pulumi.Input[str]]:
822
854
  """
823
- The storage type of the instance. Valid values: `cloud_essd1`, `cloud_essd2`, `cloud_essd3`, `local_ssd`.
855
+ The storage type of the instance. Valid values: `cloud_essd1`, `cloud_essd2`, `cloud_essd3`, `cloud_auto`, `local_ssd`. **NOTE:** From version 1.229.0, `storage_type` can be modified. However, `storage_type` can only be modified to `cloud_auto`.
824
856
  """
825
857
  return pulumi.get(self, "storage_type")
826
858
 
@@ -910,6 +942,7 @@ class ShardingInstance(pulumi.CustomResource):
910
942
  order_type: Optional[pulumi.Input[str]] = None,
911
943
  period: Optional[pulumi.Input[int]] = None,
912
944
  protocol_type: Optional[pulumi.Input[str]] = None,
945
+ provisioned_iops: Optional[pulumi.Input[int]] = None,
913
946
  resource_group_id: Optional[pulumi.Input[str]] = None,
914
947
  security_group_id: Optional[pulumi.Input[str]] = None,
915
948
  security_ip_lists: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
@@ -1016,12 +1049,13 @@ class ShardingInstance(pulumi.CustomResource):
1016
1049
  **NOTE:** `order_type` is only applicable to instances when `instance_charge_type` is `PrePaid`.
1017
1050
  :param pulumi.Input[int] period: The duration that you will buy DB instance (in month). It is valid when `instance_charge_type` is `PrePaid`. Default value: `1`. Valid values: [1~9], 12, 24, 36.
1018
1051
  :param pulumi.Input[str] protocol_type: The type of the access protocol. Valid values: `mongodb` or `dynamodb`.
1052
+ :param pulumi.Input[int] provisioned_iops: The provisioned IOPS. Valid values: `0` to `50000`.
1019
1053
  :param pulumi.Input[str] resource_group_id: The ID of the Resource Group.
1020
1054
  :param pulumi.Input[str] security_group_id: The Security Group ID of ECS.
1021
1055
  :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"]`.
1022
1056
  :param pulumi.Input[Sequence[pulumi.Input[Union['ShardingInstanceShardListArgs', 'ShardingInstanceShardListArgsDict']]]] 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.
1023
1057
  :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`.
1058
+ :param pulumi.Input[str] storage_type: The storage type of the instance. Valid values: `cloud_essd1`, `cloud_essd2`, `cloud_essd3`, `cloud_auto`, `local_ssd`. **NOTE:** From version 1.229.0, `storage_type` can be modified. However, `storage_type` can only be modified to `cloud_auto`.
1025
1059
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A mapping of tags to assign to the resource.
1026
1060
  :param pulumi.Input[str] tde_status: The TDE(Transparent Data Encryption) status. It can be updated from version 1.160.0.
1027
1061
  :param pulumi.Input[str] vpc_id: The ID of the VPC. > **NOTE:** `vpc_id` is valid only when `network_type` is set to `VPC`.
@@ -1139,6 +1173,7 @@ class ShardingInstance(pulumi.CustomResource):
1139
1173
  order_type: Optional[pulumi.Input[str]] = None,
1140
1174
  period: Optional[pulumi.Input[int]] = None,
1141
1175
  protocol_type: Optional[pulumi.Input[str]] = None,
1176
+ provisioned_iops: Optional[pulumi.Input[int]] = None,
1142
1177
  resource_group_id: Optional[pulumi.Input[str]] = None,
1143
1178
  security_group_id: Optional[pulumi.Input[str]] = None,
1144
1179
  security_ip_lists: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
@@ -1178,6 +1213,7 @@ class ShardingInstance(pulumi.CustomResource):
1178
1213
  __props__.__dict__["order_type"] = order_type
1179
1214
  __props__.__dict__["period"] = period
1180
1215
  __props__.__dict__["protocol_type"] = protocol_type
1216
+ __props__.__dict__["provisioned_iops"] = provisioned_iops
1181
1217
  __props__.__dict__["resource_group_id"] = resource_group_id
1182
1218
  __props__.__dict__["security_group_id"] = security_group_id
1183
1219
  __props__.__dict__["security_ip_lists"] = security_ip_lists
@@ -1219,6 +1255,7 @@ class ShardingInstance(pulumi.CustomResource):
1219
1255
  order_type: Optional[pulumi.Input[str]] = None,
1220
1256
  period: Optional[pulumi.Input[int]] = None,
1221
1257
  protocol_type: Optional[pulumi.Input[str]] = None,
1258
+ provisioned_iops: Optional[pulumi.Input[int]] = None,
1222
1259
  resource_group_id: Optional[pulumi.Input[str]] = None,
1223
1260
  retention_period: Optional[pulumi.Input[int]] = None,
1224
1261
  security_group_id: Optional[pulumi.Input[str]] = None,
@@ -1256,13 +1293,14 @@ class ShardingInstance(pulumi.CustomResource):
1256
1293
  **NOTE:** `order_type` is only applicable to instances when `instance_charge_type` is `PrePaid`.
1257
1294
  :param pulumi.Input[int] period: The duration that you will buy DB instance (in month). It is valid when `instance_charge_type` is `PrePaid`. Default value: `1`. Valid values: [1~9], 12, 24, 36.
1258
1295
  :param pulumi.Input[str] protocol_type: The type of the access protocol. Valid values: `mongodb` or `dynamodb`.
1296
+ :param pulumi.Input[int] provisioned_iops: The provisioned IOPS. Valid values: `0` to `50000`.
1259
1297
  :param pulumi.Input[str] resource_group_id: The ID of the Resource Group.
1260
1298
  :param pulumi.Input[int] retention_period: (Available since v1.42.0) Instance data backup retention days.
1261
1299
  :param pulumi.Input[str] security_group_id: The Security Group ID of ECS.
1262
1300
  :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"]`.
1263
1301
  :param pulumi.Input[Sequence[pulumi.Input[Union['ShardingInstanceShardListArgs', 'ShardingInstanceShardListArgsDict']]]] 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.
1264
1302
  :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`.
1303
+ :param pulumi.Input[str] storage_type: The storage type of the instance. Valid values: `cloud_essd1`, `cloud_essd2`, `cloud_essd3`, `cloud_auto`, `local_ssd`. **NOTE:** From version 1.229.0, `storage_type` can be modified. However, `storage_type` can only be modified to `cloud_auto`.
1266
1304
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A mapping of tags to assign to the resource.
1267
1305
  :param pulumi.Input[str] tde_status: The TDE(Transparent Data Encryption) status. It can be updated from version 1.160.0.
1268
1306
  :param pulumi.Input[str] vpc_id: The ID of the VPC. > **NOTE:** `vpc_id` is valid only when `network_type` is set to `VPC`.
@@ -1289,6 +1327,7 @@ class ShardingInstance(pulumi.CustomResource):
1289
1327
  __props__.__dict__["order_type"] = order_type
1290
1328
  __props__.__dict__["period"] = period
1291
1329
  __props__.__dict__["protocol_type"] = protocol_type
1330
+ __props__.__dict__["provisioned_iops"] = provisioned_iops
1292
1331
  __props__.__dict__["resource_group_id"] = resource_group_id
1293
1332
  __props__.__dict__["retention_period"] = retention_period
1294
1333
  __props__.__dict__["security_group_id"] = security_group_id
@@ -1426,6 +1465,14 @@ class ShardingInstance(pulumi.CustomResource):
1426
1465
  """
1427
1466
  return pulumi.get(self, "protocol_type")
1428
1467
 
1468
+ @property
1469
+ @pulumi.getter(name="provisionedIops")
1470
+ def provisioned_iops(self) -> pulumi.Output[Optional[int]]:
1471
+ """
1472
+ The provisioned IOPS. Valid values: `0` to `50000`.
1473
+ """
1474
+ return pulumi.get(self, "provisioned_iops")
1475
+
1429
1476
  @property
1430
1477
  @pulumi.getter(name="resourceGroupId")
1431
1478
  def resource_group_id(self) -> pulumi.Output[str]:
@@ -1478,7 +1525,7 @@ class ShardingInstance(pulumi.CustomResource):
1478
1525
  @pulumi.getter(name="storageType")
1479
1526
  def storage_type(self) -> pulumi.Output[str]:
1480
1527
  """
1481
- The storage type of the instance. Valid values: `cloud_essd1`, `cloud_essd2`, `cloud_essd3`, `local_ssd`.
1528
+ The storage type of the instance. Valid values: `cloud_essd1`, `cloud_essd2`, `cloud_essd3`, `cloud_auto`, `local_ssd`. **NOTE:** From version 1.229.0, `storage_type` can be modified. However, `storage_type` can only be modified to `cloud_auto`.
1482
1529
  """
1483
1530
  return pulumi.get(self, "storage_type")
1484
1531
 
@@ -23,14 +23,14 @@ class ShardingNetworkPrivateAddressArgs:
23
23
  account_password: Optional[pulumi.Input[str]] = None):
24
24
  """
25
25
  The set of arguments for constructing a ShardingNetworkPrivateAddress resource.
26
- :param pulumi.Input[str] db_instance_id: The db instance id.
27
- :param pulumi.Input[str] node_id: The ID of the Shard node or the ConfigServer node.
26
+ :param pulumi.Input[str] db_instance_id: The ID of the sharded cluster instance.
27
+ :param pulumi.Input[str] node_id: The ID of the Shard node or ConfigServer node.
28
28
  :param pulumi.Input[str] zone_id: The zone ID of the instance.
29
- :param pulumi.Input[str] account_name: The name of the account.
29
+ :param pulumi.Input[str] account_name: The username of the account.
30
30
  - The name must be 4 to 16 characters in length and can contain lowercase letters, digits, and underscores (_). It must start with a lowercase letter.
31
- - You need to set the account name and password only when you apply for an endpoint for a shard or Configserver node for the first time. In this case, the account name and password are used for all shard and Configserver nodes.
31
+ - You need to set the account name and password only when you apply for an endpoint for a shard or ConfigServer node for the first time. In this case, the account name and password are used for all shard and ConfigServer nodes.
32
32
  - The permissions of this account are fixed to read-only.
33
- :param pulumi.Input[str] account_password: Account password.
33
+ :param pulumi.Input[str] account_password: The password for the account.
34
34
  - The password must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters. Special characters include `!#$%^&*()_+-=`.
35
35
  - The password must be 8 to 32 characters in length.
36
36
  """
@@ -46,7 +46,7 @@ class ShardingNetworkPrivateAddressArgs:
46
46
  @pulumi.getter(name="dbInstanceId")
47
47
  def db_instance_id(self) -> pulumi.Input[str]:
48
48
  """
49
- The db instance id.
49
+ The ID of the sharded cluster instance.
50
50
  """
51
51
  return pulumi.get(self, "db_instance_id")
52
52
 
@@ -58,7 +58,7 @@ class ShardingNetworkPrivateAddressArgs:
58
58
  @pulumi.getter(name="nodeId")
59
59
  def node_id(self) -> pulumi.Input[str]:
60
60
  """
61
- The ID of the Shard node or the ConfigServer node.
61
+ The ID of the Shard node or ConfigServer node.
62
62
  """
63
63
  return pulumi.get(self, "node_id")
64
64
 
@@ -82,9 +82,9 @@ class ShardingNetworkPrivateAddressArgs:
82
82
  @pulumi.getter(name="accountName")
83
83
  def account_name(self) -> Optional[pulumi.Input[str]]:
84
84
  """
85
- The name of the account.
85
+ The username of the account.
86
86
  - The name must be 4 to 16 characters in length and can contain lowercase letters, digits, and underscores (_). It must start with a lowercase letter.
87
- - You need to set the account name and password only when you apply for an endpoint for a shard or Configserver node for the first time. In this case, the account name and password are used for all shard and Configserver nodes.
87
+ - You need to set the account name and password only when you apply for an endpoint for a shard or ConfigServer node for the first time. In this case, the account name and password are used for all shard and ConfigServer nodes.
88
88
  - The permissions of this account are fixed to read-only.
89
89
  """
90
90
  return pulumi.get(self, "account_name")
@@ -97,7 +97,7 @@ class ShardingNetworkPrivateAddressArgs:
97
97
  @pulumi.getter(name="accountPassword")
98
98
  def account_password(self) -> Optional[pulumi.Input[str]]:
99
99
  """
100
- Account password.
100
+ The password for the account.
101
101
  - The password must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters. Special characters include `!#$%^&*()_+-=`.
102
102
  - The password must be 8 to 32 characters in length.
103
103
  """
@@ -119,16 +119,16 @@ class _ShardingNetworkPrivateAddressState:
119
119
  zone_id: Optional[pulumi.Input[str]] = None):
120
120
  """
121
121
  Input properties used for looking up and filtering ShardingNetworkPrivateAddress resources.
122
- :param pulumi.Input[str] account_name: The name of the account.
122
+ :param pulumi.Input[str] account_name: The username of the account.
123
123
  - The name must be 4 to 16 characters in length and can contain lowercase letters, digits, and underscores (_). It must start with a lowercase letter.
124
- - You need to set the account name and password only when you apply for an endpoint for a shard or Configserver node for the first time. In this case, the account name and password are used for all shard and Configserver nodes.
124
+ - You need to set the account name and password only when you apply for an endpoint for a shard or ConfigServer node for the first time. In this case, the account name and password are used for all shard and ConfigServer nodes.
125
125
  - The permissions of this account are fixed to read-only.
126
- :param pulumi.Input[str] account_password: Account password.
126
+ :param pulumi.Input[str] account_password: The password for the account.
127
127
  - The password must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters. Special characters include `!#$%^&*()_+-=`.
128
128
  - The password must be 8 to 32 characters in length.
129
- :param pulumi.Input[str] db_instance_id: The db instance id.
130
- :param pulumi.Input[Sequence[pulumi.Input['ShardingNetworkPrivateAddressNetworkAddressArgs']]] network_addresses: The endpoint of the instance.
131
- :param pulumi.Input[str] node_id: The ID of the Shard node or the ConfigServer node.
129
+ :param pulumi.Input[str] db_instance_id: The ID of the sharded cluster instance.
130
+ :param pulumi.Input[Sequence[pulumi.Input['ShardingNetworkPrivateAddressNetworkAddressArgs']]] network_addresses: The connection string of the instance.
131
+ :param pulumi.Input[str] node_id: The ID of the Shard node or ConfigServer node.
132
132
  :param pulumi.Input[str] zone_id: The zone ID of the instance.
133
133
  """
134
134
  if account_name is not None:
@@ -148,9 +148,9 @@ class _ShardingNetworkPrivateAddressState:
148
148
  @pulumi.getter(name="accountName")
149
149
  def account_name(self) -> Optional[pulumi.Input[str]]:
150
150
  """
151
- The name of the account.
151
+ The username of the account.
152
152
  - The name must be 4 to 16 characters in length and can contain lowercase letters, digits, and underscores (_). It must start with a lowercase letter.
153
- - You need to set the account name and password only when you apply for an endpoint for a shard or Configserver node for the first time. In this case, the account name and password are used for all shard and Configserver nodes.
153
+ - You need to set the account name and password only when you apply for an endpoint for a shard or ConfigServer node for the first time. In this case, the account name and password are used for all shard and ConfigServer nodes.
154
154
  - The permissions of this account are fixed to read-only.
155
155
  """
156
156
  return pulumi.get(self, "account_name")
@@ -163,7 +163,7 @@ class _ShardingNetworkPrivateAddressState:
163
163
  @pulumi.getter(name="accountPassword")
164
164
  def account_password(self) -> Optional[pulumi.Input[str]]:
165
165
  """
166
- Account password.
166
+ The password for the account.
167
167
  - The password must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters. Special characters include `!#$%^&*()_+-=`.
168
168
  - The password must be 8 to 32 characters in length.
169
169
  """
@@ -177,7 +177,7 @@ class _ShardingNetworkPrivateAddressState:
177
177
  @pulumi.getter(name="dbInstanceId")
178
178
  def db_instance_id(self) -> Optional[pulumi.Input[str]]:
179
179
  """
180
- The db instance id.
180
+ The ID of the sharded cluster instance.
181
181
  """
182
182
  return pulumi.get(self, "db_instance_id")
183
183
 
@@ -189,7 +189,7 @@ class _ShardingNetworkPrivateAddressState:
189
189
  @pulumi.getter(name="networkAddresses")
190
190
  def network_addresses(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ShardingNetworkPrivateAddressNetworkAddressArgs']]]]:
191
191
  """
192
- The endpoint of the instance.
192
+ The connection string of the instance.
193
193
  """
194
194
  return pulumi.get(self, "network_addresses")
195
195
 
@@ -201,7 +201,7 @@ class _ShardingNetworkPrivateAddressState:
201
201
  @pulumi.getter(name="nodeId")
202
202
  def node_id(self) -> Optional[pulumi.Input[str]]:
203
203
  """
204
- The ID of the Shard node or the ConfigServer node.
204
+ The ID of the Shard node or ConfigServer node.
205
205
  """
206
206
  return pulumi.get(self, "node_id")
207
207
 
@@ -240,6 +240,59 @@ class ShardingNetworkPrivateAddress(pulumi.CustomResource):
240
240
 
241
241
  > **NOTE:** Available since v1.157.0.
242
242
 
243
+ ## Example Usage
244
+
245
+ Basic Usage
246
+
247
+ ```python
248
+ import pulumi
249
+ import pulumi_alicloud as alicloud
250
+
251
+ config = pulumi.Config()
252
+ name = config.get("name")
253
+ if name is None:
254
+ name = "terraform-example"
255
+ default = alicloud.mongodb.get_zones()
256
+ default_network = alicloud.vpc.Network("default",
257
+ vpc_name=name,
258
+ cidr_block="172.17.3.0/24")
259
+ default_switch = alicloud.vpc.Switch("default",
260
+ vswitch_name=name,
261
+ cidr_block="172.17.3.0/24",
262
+ vpc_id=default_network.id,
263
+ zone_id=default.zones[0].id)
264
+ default_sharding_instance = alicloud.mongodb.ShardingInstance("default",
265
+ zone_id=default.zones[0].id,
266
+ vswitch_id=default_switch.id,
267
+ engine_version="4.2",
268
+ name=name,
269
+ shard_lists=[
270
+ {
271
+ "node_class": "dds.shard.mid",
272
+ "node_storage": 10,
273
+ },
274
+ {
275
+ "node_class": "dds.shard.standard",
276
+ "node_storage": 20,
277
+ "readonly_replicas": 1,
278
+ },
279
+ ],
280
+ mongo_lists=[
281
+ {
282
+ "node_class": "dds.mongos.mid",
283
+ },
284
+ {
285
+ "node_class": "dds.mongos.mid",
286
+ },
287
+ ])
288
+ default_sharding_network_private_address = alicloud.mongodb.ShardingNetworkPrivateAddress("default",
289
+ db_instance_id=default_sharding_instance.id,
290
+ node_id=default_sharding_instance.shard_lists[0].node_id,
291
+ zone_id=default_sharding_instance.zone_id,
292
+ account_name="example",
293
+ account_password="Example_123")
294
+ ```
295
+
243
296
  ## Import
244
297
 
245
298
  MongoDB Sharding Network Private Address can be imported using the id, e.g.
@@ -250,15 +303,15 @@ class ShardingNetworkPrivateAddress(pulumi.CustomResource):
250
303
 
251
304
  :param str resource_name: The name of the resource.
252
305
  :param pulumi.ResourceOptions opts: Options for the resource.
253
- :param pulumi.Input[str] account_name: The name of the account.
306
+ :param pulumi.Input[str] account_name: The username of the account.
254
307
  - The name must be 4 to 16 characters in length and can contain lowercase letters, digits, and underscores (_). It must start with a lowercase letter.
255
- - You need to set the account name and password only when you apply for an endpoint for a shard or Configserver node for the first time. In this case, the account name and password are used for all shard and Configserver nodes.
308
+ - You need to set the account name and password only when you apply for an endpoint for a shard or ConfigServer node for the first time. In this case, the account name and password are used for all shard and ConfigServer nodes.
256
309
  - The permissions of this account are fixed to read-only.
257
- :param pulumi.Input[str] account_password: Account password.
310
+ :param pulumi.Input[str] account_password: The password for the account.
258
311
  - The password must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters. Special characters include `!#$%^&*()_+-=`.
259
312
  - The password must be 8 to 32 characters in length.
260
- :param pulumi.Input[str] db_instance_id: The db instance id.
261
- :param pulumi.Input[str] node_id: The ID of the Shard node or the ConfigServer node.
313
+ :param pulumi.Input[str] db_instance_id: The ID of the sharded cluster instance.
314
+ :param pulumi.Input[str] node_id: The ID of the Shard node or ConfigServer node.
262
315
  :param pulumi.Input[str] zone_id: The zone ID of the instance.
263
316
  """
264
317
  ...
@@ -274,6 +327,59 @@ class ShardingNetworkPrivateAddress(pulumi.CustomResource):
274
327
 
275
328
  > **NOTE:** Available since v1.157.0.
276
329
 
330
+ ## Example Usage
331
+
332
+ Basic Usage
333
+
334
+ ```python
335
+ import pulumi
336
+ import pulumi_alicloud as alicloud
337
+
338
+ config = pulumi.Config()
339
+ name = config.get("name")
340
+ if name is None:
341
+ name = "terraform-example"
342
+ default = alicloud.mongodb.get_zones()
343
+ default_network = alicloud.vpc.Network("default",
344
+ vpc_name=name,
345
+ cidr_block="172.17.3.0/24")
346
+ default_switch = alicloud.vpc.Switch("default",
347
+ vswitch_name=name,
348
+ cidr_block="172.17.3.0/24",
349
+ vpc_id=default_network.id,
350
+ zone_id=default.zones[0].id)
351
+ default_sharding_instance = alicloud.mongodb.ShardingInstance("default",
352
+ zone_id=default.zones[0].id,
353
+ vswitch_id=default_switch.id,
354
+ engine_version="4.2",
355
+ name=name,
356
+ shard_lists=[
357
+ {
358
+ "node_class": "dds.shard.mid",
359
+ "node_storage": 10,
360
+ },
361
+ {
362
+ "node_class": "dds.shard.standard",
363
+ "node_storage": 20,
364
+ "readonly_replicas": 1,
365
+ },
366
+ ],
367
+ mongo_lists=[
368
+ {
369
+ "node_class": "dds.mongos.mid",
370
+ },
371
+ {
372
+ "node_class": "dds.mongos.mid",
373
+ },
374
+ ])
375
+ default_sharding_network_private_address = alicloud.mongodb.ShardingNetworkPrivateAddress("default",
376
+ db_instance_id=default_sharding_instance.id,
377
+ node_id=default_sharding_instance.shard_lists[0].node_id,
378
+ zone_id=default_sharding_instance.zone_id,
379
+ account_name="example",
380
+ account_password="Example_123")
381
+ ```
382
+
277
383
  ## Import
278
384
 
279
385
  MongoDB Sharding Network Private Address can be imported using the id, e.g.
@@ -348,16 +454,16 @@ class ShardingNetworkPrivateAddress(pulumi.CustomResource):
348
454
  :param str resource_name: The unique name of the resulting resource.
349
455
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
350
456
  :param pulumi.ResourceOptions opts: Options for the resource.
351
- :param pulumi.Input[str] account_name: The name of the account.
457
+ :param pulumi.Input[str] account_name: The username of the account.
352
458
  - The name must be 4 to 16 characters in length and can contain lowercase letters, digits, and underscores (_). It must start with a lowercase letter.
353
- - You need to set the account name and password only when you apply for an endpoint for a shard or Configserver node for the first time. In this case, the account name and password are used for all shard and Configserver nodes.
459
+ - You need to set the account name and password only when you apply for an endpoint for a shard or ConfigServer node for the first time. In this case, the account name and password are used for all shard and ConfigServer nodes.
354
460
  - The permissions of this account are fixed to read-only.
355
- :param pulumi.Input[str] account_password: Account password.
461
+ :param pulumi.Input[str] account_password: The password for the account.
356
462
  - The password must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters. Special characters include `!#$%^&*()_+-=`.
357
463
  - The password must be 8 to 32 characters in length.
358
- :param pulumi.Input[str] db_instance_id: The db instance id.
359
- :param pulumi.Input[Sequence[pulumi.Input[Union['ShardingNetworkPrivateAddressNetworkAddressArgs', 'ShardingNetworkPrivateAddressNetworkAddressArgsDict']]]] network_addresses: The endpoint of the instance.
360
- :param pulumi.Input[str] node_id: The ID of the Shard node or the ConfigServer node.
464
+ :param pulumi.Input[str] db_instance_id: The ID of the sharded cluster instance.
465
+ :param pulumi.Input[Sequence[pulumi.Input[Union['ShardingNetworkPrivateAddressNetworkAddressArgs', 'ShardingNetworkPrivateAddressNetworkAddressArgsDict']]]] network_addresses: The connection string of the instance.
466
+ :param pulumi.Input[str] node_id: The ID of the Shard node or ConfigServer node.
361
467
  :param pulumi.Input[str] zone_id: The zone ID of the instance.
362
468
  """
363
469
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
@@ -376,9 +482,9 @@ class ShardingNetworkPrivateAddress(pulumi.CustomResource):
376
482
  @pulumi.getter(name="accountName")
377
483
  def account_name(self) -> pulumi.Output[Optional[str]]:
378
484
  """
379
- The name of the account.
485
+ The username of the account.
380
486
  - The name must be 4 to 16 characters in length and can contain lowercase letters, digits, and underscores (_). It must start with a lowercase letter.
381
- - You need to set the account name and password only when you apply for an endpoint for a shard or Configserver node for the first time. In this case, the account name and password are used for all shard and Configserver nodes.
487
+ - You need to set the account name and password only when you apply for an endpoint for a shard or ConfigServer node for the first time. In this case, the account name and password are used for all shard and ConfigServer nodes.
382
488
  - The permissions of this account are fixed to read-only.
383
489
  """
384
490
  return pulumi.get(self, "account_name")
@@ -387,7 +493,7 @@ class ShardingNetworkPrivateAddress(pulumi.CustomResource):
387
493
  @pulumi.getter(name="accountPassword")
388
494
  def account_password(self) -> pulumi.Output[Optional[str]]:
389
495
  """
390
- Account password.
496
+ The password for the account.
391
497
  - The password must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters. Special characters include `!#$%^&*()_+-=`.
392
498
  - The password must be 8 to 32 characters in length.
393
499
  """
@@ -397,7 +503,7 @@ class ShardingNetworkPrivateAddress(pulumi.CustomResource):
397
503
  @pulumi.getter(name="dbInstanceId")
398
504
  def db_instance_id(self) -> pulumi.Output[str]:
399
505
  """
400
- The db instance id.
506
+ The ID of the sharded cluster instance.
401
507
  """
402
508
  return pulumi.get(self, "db_instance_id")
403
509
 
@@ -405,7 +511,7 @@ class ShardingNetworkPrivateAddress(pulumi.CustomResource):
405
511
  @pulumi.getter(name="networkAddresses")
406
512
  def network_addresses(self) -> pulumi.Output[Sequence['outputs.ShardingNetworkPrivateAddressNetworkAddress']]:
407
513
  """
408
- The endpoint of the instance.
514
+ The connection string of the instance.
409
515
  """
410
516
  return pulumi.get(self, "network_addresses")
411
517
 
@@ -413,7 +519,7 @@ class ShardingNetworkPrivateAddress(pulumi.CustomResource):
413
519
  @pulumi.getter(name="nodeId")
414
520
  def node_id(self) -> pulumi.Output[str]:
415
521
  """
416
- The ID of the Shard node or the ConfigServer node.
522
+ The ID of the Shard node or ConfigServer node.
417
523
  """
418
524
  return pulumi.get(self, "node_id")
419
525
 
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "resource": true,
3
3
  "name": "alicloud",
4
- "version": "3.61.0-alpha.1723820875"
4
+ "version": "3.61.0-alpha.1724318858"
5
5
  }
@@ -0,0 +1,13 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ from .. import _utilities
6
+ import typing
7
+ # Export this package's modules as members:
8
+ from .db_cluster import *
9
+ from .db_instance import *
10
+ from .get_db_clusters import *
11
+ from .get_db_instances import *
12
+ from ._inputs import *
13
+ from . import outputs