pulumi-alicloud 3.61.0__py3-none-any.whl → 3.61.0a1724217925__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-alicloud might be problematic. Click here for more details.
- pulumi_alicloud/__init__.py +0 -27
- pulumi_alicloud/_inputs.py +0 -16
- pulumi_alicloud/alikafka/instance.py +14 -21
- pulumi_alicloud/amqp/binding.py +0 -7
- pulumi_alicloud/config/outputs.py +0 -12
- pulumi_alicloud/cs/_inputs.py +2 -50
- pulumi_alicloud/cs/node_pool.py +42 -42
- pulumi_alicloud/cs/outputs.py +3 -45
- pulumi_alicloud/dataworks/__init__.py +0 -1
- pulumi_alicloud/elasticsearch/instance.py +14 -296
- pulumi_alicloud/log/store.py +10 -91
- pulumi_alicloud/mongodb/_inputs.py +12 -12
- pulumi_alicloud/mongodb/instance.py +7 -54
- pulumi_alicloud/mongodb/outputs.py +12 -12
- pulumi_alicloud/mongodb/sharding_instance.py +7 -54
- pulumi_alicloud/mongodb/sharding_network_private_address.py +39 -145
- pulumi_alicloud/pulumi-plugin.json +1 -1
- {pulumi_alicloud-3.61.0.dist-info → pulumi_alicloud-3.61.0a1724217925.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.61.0.dist-info → pulumi_alicloud-3.61.0a1724217925.dist-info}/RECORD +21 -29
- pulumi_alicloud/dataworks/project.py +0 -450
- pulumi_alicloud/selectdb/__init__.py +0 -13
- pulumi_alicloud/selectdb/_inputs.py +0 -446
- pulumi_alicloud/selectdb/db_cluster.py +0 -830
- pulumi_alicloud/selectdb/db_instance.py +0 -1368
- pulumi_alicloud/selectdb/get_db_clusters.py +0 -184
- pulumi_alicloud/selectdb/get_db_instances.py +0 -191
- pulumi_alicloud/selectdb/outputs.py +0 -1122
- {pulumi_alicloud-3.61.0.dist-info → pulumi_alicloud-3.61.0a1724217925.dist-info}/WHEEL +0 -0
- {pulumi_alicloud-3.61.0.dist-info → pulumi_alicloud-3.61.0a1724217925.dist-info}/top_level.txt +0 -0
|
@@ -32,7 +32,6 @@ 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,
|
|
36
35
|
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
37
36
|
security_group_id: Optional[pulumi.Input[str]] = None,
|
|
38
37
|
security_ip_lists: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
@@ -64,12 +63,11 @@ class ShardingInstanceArgs:
|
|
|
64
63
|
**NOTE:** `order_type` is only applicable to instances when `instance_charge_type` is `PrePaid`.
|
|
65
64
|
: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.
|
|
66
65
|
: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`.
|
|
68
66
|
:param pulumi.Input[str] resource_group_id: The ID of the Resource Group.
|
|
69
67
|
:param pulumi.Input[str] security_group_id: The Security Group ID of ECS.
|
|
70
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"]`.
|
|
71
69
|
:param pulumi.Input[str] storage_engine: The storage engine of the instance. Default value: `WiredTiger`. Valid values: `WiredTiger`, `RocksDB`.
|
|
72
|
-
:param pulumi.Input[str] storage_type: The storage type of the instance. Valid values: `cloud_essd1`, `cloud_essd2`, `cloud_essd3`, `
|
|
70
|
+
:param pulumi.Input[str] storage_type: The storage type of the instance. Valid values: `cloud_essd1`, `cloud_essd2`, `cloud_essd3`, `local_ssd`.
|
|
73
71
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A mapping of tags to assign to the resource.
|
|
74
72
|
:param pulumi.Input[str] tde_status: The TDE(Transparent Data Encryption) status. It can be updated from version 1.160.0.
|
|
75
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`.
|
|
@@ -106,8 +104,6 @@ class ShardingInstanceArgs:
|
|
|
106
104
|
pulumi.set(__self__, "period", period)
|
|
107
105
|
if protocol_type is not None:
|
|
108
106
|
pulumi.set(__self__, "protocol_type", protocol_type)
|
|
109
|
-
if provisioned_iops is not None:
|
|
110
|
-
pulumi.set(__self__, "provisioned_iops", provisioned_iops)
|
|
111
107
|
if resource_group_id is not None:
|
|
112
108
|
pulumi.set(__self__, "resource_group_id", resource_group_id)
|
|
113
109
|
if security_group_id is not None:
|
|
@@ -324,18 +320,6 @@ class ShardingInstanceArgs:
|
|
|
324
320
|
def protocol_type(self, value: Optional[pulumi.Input[str]]):
|
|
325
321
|
pulumi.set(self, "protocol_type", value)
|
|
326
322
|
|
|
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
|
-
|
|
339
323
|
@property
|
|
340
324
|
@pulumi.getter(name="resourceGroupId")
|
|
341
325
|
def resource_group_id(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -388,7 +372,7 @@ class ShardingInstanceArgs:
|
|
|
388
372
|
@pulumi.getter(name="storageType")
|
|
389
373
|
def storage_type(self) -> Optional[pulumi.Input[str]]:
|
|
390
374
|
"""
|
|
391
|
-
The storage type of the instance. Valid values: `cloud_essd1`, `cloud_essd2`, `cloud_essd3`, `
|
|
375
|
+
The storage type of the instance. Valid values: `cloud_essd1`, `cloud_essd2`, `cloud_essd3`, `local_ssd`.
|
|
392
376
|
"""
|
|
393
377
|
return pulumi.get(self, "storage_type")
|
|
394
378
|
|
|
@@ -476,7 +460,6 @@ class _ShardingInstanceState:
|
|
|
476
460
|
order_type: Optional[pulumi.Input[str]] = None,
|
|
477
461
|
period: Optional[pulumi.Input[int]] = None,
|
|
478
462
|
protocol_type: Optional[pulumi.Input[str]] = None,
|
|
479
|
-
provisioned_iops: Optional[pulumi.Input[int]] = None,
|
|
480
463
|
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
481
464
|
retention_period: Optional[pulumi.Input[int]] = None,
|
|
482
465
|
security_group_id: Optional[pulumi.Input[str]] = None,
|
|
@@ -509,14 +492,13 @@ class _ShardingInstanceState:
|
|
|
509
492
|
**NOTE:** `order_type` is only applicable to instances when `instance_charge_type` is `PrePaid`.
|
|
510
493
|
: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.
|
|
511
494
|
: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`.
|
|
513
495
|
:param pulumi.Input[str] resource_group_id: The ID of the Resource Group.
|
|
514
496
|
:param pulumi.Input[int] retention_period: (Available since v1.42.0) Instance data backup retention days.
|
|
515
497
|
:param pulumi.Input[str] security_group_id: The Security Group ID of ECS.
|
|
516
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"]`.
|
|
517
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.
|
|
518
500
|
:param pulumi.Input[str] storage_engine: The storage engine of the instance. Default value: `WiredTiger`. Valid values: `WiredTiger`, `RocksDB`.
|
|
519
|
-
:param pulumi.Input[str] storage_type: The storage type of the instance. Valid values: `cloud_essd1`, `cloud_essd2`, `cloud_essd3`, `
|
|
501
|
+
:param pulumi.Input[str] storage_type: The storage type of the instance. Valid values: `cloud_essd1`, `cloud_essd2`, `cloud_essd3`, `local_ssd`.
|
|
520
502
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A mapping of tags to assign to the resource.
|
|
521
503
|
:param pulumi.Input[str] tde_status: The TDE(Transparent Data Encryption) status. It can be updated from version 1.160.0.
|
|
522
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`.
|
|
@@ -554,8 +536,6 @@ class _ShardingInstanceState:
|
|
|
554
536
|
pulumi.set(__self__, "period", period)
|
|
555
537
|
if protocol_type is not None:
|
|
556
538
|
pulumi.set(__self__, "protocol_type", protocol_type)
|
|
557
|
-
if provisioned_iops is not None:
|
|
558
|
-
pulumi.set(__self__, "provisioned_iops", provisioned_iops)
|
|
559
539
|
if resource_group_id is not None:
|
|
560
540
|
pulumi.set(__self__, "resource_group_id", resource_group_id)
|
|
561
541
|
if retention_period is not None:
|
|
@@ -764,18 +744,6 @@ class _ShardingInstanceState:
|
|
|
764
744
|
def protocol_type(self, value: Optional[pulumi.Input[str]]):
|
|
765
745
|
pulumi.set(self, "protocol_type", value)
|
|
766
746
|
|
|
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
|
-
|
|
779
747
|
@property
|
|
780
748
|
@pulumi.getter(name="resourceGroupId")
|
|
781
749
|
def resource_group_id(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -852,7 +820,7 @@ class _ShardingInstanceState:
|
|
|
852
820
|
@pulumi.getter(name="storageType")
|
|
853
821
|
def storage_type(self) -> Optional[pulumi.Input[str]]:
|
|
854
822
|
"""
|
|
855
|
-
The storage type of the instance. Valid values: `cloud_essd1`, `cloud_essd2`, `cloud_essd3`, `
|
|
823
|
+
The storage type of the instance. Valid values: `cloud_essd1`, `cloud_essd2`, `cloud_essd3`, `local_ssd`.
|
|
856
824
|
"""
|
|
857
825
|
return pulumi.get(self, "storage_type")
|
|
858
826
|
|
|
@@ -942,7 +910,6 @@ class ShardingInstance(pulumi.CustomResource):
|
|
|
942
910
|
order_type: Optional[pulumi.Input[str]] = None,
|
|
943
911
|
period: Optional[pulumi.Input[int]] = None,
|
|
944
912
|
protocol_type: Optional[pulumi.Input[str]] = None,
|
|
945
|
-
provisioned_iops: Optional[pulumi.Input[int]] = None,
|
|
946
913
|
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
947
914
|
security_group_id: Optional[pulumi.Input[str]] = None,
|
|
948
915
|
security_ip_lists: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
@@ -1049,13 +1016,12 @@ class ShardingInstance(pulumi.CustomResource):
|
|
|
1049
1016
|
**NOTE:** `order_type` is only applicable to instances when `instance_charge_type` is `PrePaid`.
|
|
1050
1017
|
: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.
|
|
1051
1018
|
: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`.
|
|
1053
1019
|
:param pulumi.Input[str] resource_group_id: The ID of the Resource Group.
|
|
1054
1020
|
:param pulumi.Input[str] security_group_id: The Security Group ID of ECS.
|
|
1055
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"]`.
|
|
1056
1022
|
: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.
|
|
1057
1023
|
:param pulumi.Input[str] storage_engine: The storage engine of the instance. Default value: `WiredTiger`. Valid values: `WiredTiger`, `RocksDB`.
|
|
1058
|
-
:param pulumi.Input[str] storage_type: The storage type of the instance. Valid values: `cloud_essd1`, `cloud_essd2`, `cloud_essd3`, `
|
|
1024
|
+
:param pulumi.Input[str] storage_type: The storage type of the instance. Valid values: `cloud_essd1`, `cloud_essd2`, `cloud_essd3`, `local_ssd`.
|
|
1059
1025
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A mapping of tags to assign to the resource.
|
|
1060
1026
|
:param pulumi.Input[str] tde_status: The TDE(Transparent Data Encryption) status. It can be updated from version 1.160.0.
|
|
1061
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`.
|
|
@@ -1173,7 +1139,6 @@ class ShardingInstance(pulumi.CustomResource):
|
|
|
1173
1139
|
order_type: Optional[pulumi.Input[str]] = None,
|
|
1174
1140
|
period: Optional[pulumi.Input[int]] = None,
|
|
1175
1141
|
protocol_type: Optional[pulumi.Input[str]] = None,
|
|
1176
|
-
provisioned_iops: Optional[pulumi.Input[int]] = None,
|
|
1177
1142
|
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
1178
1143
|
security_group_id: Optional[pulumi.Input[str]] = None,
|
|
1179
1144
|
security_ip_lists: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
@@ -1213,7 +1178,6 @@ class ShardingInstance(pulumi.CustomResource):
|
|
|
1213
1178
|
__props__.__dict__["order_type"] = order_type
|
|
1214
1179
|
__props__.__dict__["period"] = period
|
|
1215
1180
|
__props__.__dict__["protocol_type"] = protocol_type
|
|
1216
|
-
__props__.__dict__["provisioned_iops"] = provisioned_iops
|
|
1217
1181
|
__props__.__dict__["resource_group_id"] = resource_group_id
|
|
1218
1182
|
__props__.__dict__["security_group_id"] = security_group_id
|
|
1219
1183
|
__props__.__dict__["security_ip_lists"] = security_ip_lists
|
|
@@ -1255,7 +1219,6 @@ class ShardingInstance(pulumi.CustomResource):
|
|
|
1255
1219
|
order_type: Optional[pulumi.Input[str]] = None,
|
|
1256
1220
|
period: Optional[pulumi.Input[int]] = None,
|
|
1257
1221
|
protocol_type: Optional[pulumi.Input[str]] = None,
|
|
1258
|
-
provisioned_iops: Optional[pulumi.Input[int]] = None,
|
|
1259
1222
|
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
1260
1223
|
retention_period: Optional[pulumi.Input[int]] = None,
|
|
1261
1224
|
security_group_id: Optional[pulumi.Input[str]] = None,
|
|
@@ -1293,14 +1256,13 @@ class ShardingInstance(pulumi.CustomResource):
|
|
|
1293
1256
|
**NOTE:** `order_type` is only applicable to instances when `instance_charge_type` is `PrePaid`.
|
|
1294
1257
|
: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.
|
|
1295
1258
|
: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`.
|
|
1297
1259
|
:param pulumi.Input[str] resource_group_id: The ID of the Resource Group.
|
|
1298
1260
|
:param pulumi.Input[int] retention_period: (Available since v1.42.0) Instance data backup retention days.
|
|
1299
1261
|
:param pulumi.Input[str] security_group_id: The Security Group ID of ECS.
|
|
1300
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"]`.
|
|
1301
1263
|
: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.
|
|
1302
1264
|
:param pulumi.Input[str] storage_engine: The storage engine of the instance. Default value: `WiredTiger`. Valid values: `WiredTiger`, `RocksDB`.
|
|
1303
|
-
:param pulumi.Input[str] storage_type: The storage type of the instance. Valid values: `cloud_essd1`, `cloud_essd2`, `cloud_essd3`, `
|
|
1265
|
+
:param pulumi.Input[str] storage_type: The storage type of the instance. Valid values: `cloud_essd1`, `cloud_essd2`, `cloud_essd3`, `local_ssd`.
|
|
1304
1266
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A mapping of tags to assign to the resource.
|
|
1305
1267
|
:param pulumi.Input[str] tde_status: The TDE(Transparent Data Encryption) status. It can be updated from version 1.160.0.
|
|
1306
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`.
|
|
@@ -1327,7 +1289,6 @@ class ShardingInstance(pulumi.CustomResource):
|
|
|
1327
1289
|
__props__.__dict__["order_type"] = order_type
|
|
1328
1290
|
__props__.__dict__["period"] = period
|
|
1329
1291
|
__props__.__dict__["protocol_type"] = protocol_type
|
|
1330
|
-
__props__.__dict__["provisioned_iops"] = provisioned_iops
|
|
1331
1292
|
__props__.__dict__["resource_group_id"] = resource_group_id
|
|
1332
1293
|
__props__.__dict__["retention_period"] = retention_period
|
|
1333
1294
|
__props__.__dict__["security_group_id"] = security_group_id
|
|
@@ -1465,14 +1426,6 @@ class ShardingInstance(pulumi.CustomResource):
|
|
|
1465
1426
|
"""
|
|
1466
1427
|
return pulumi.get(self, "protocol_type")
|
|
1467
1428
|
|
|
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
|
-
|
|
1476
1429
|
@property
|
|
1477
1430
|
@pulumi.getter(name="resourceGroupId")
|
|
1478
1431
|
def resource_group_id(self) -> pulumi.Output[str]:
|
|
@@ -1525,7 +1478,7 @@ class ShardingInstance(pulumi.CustomResource):
|
|
|
1525
1478
|
@pulumi.getter(name="storageType")
|
|
1526
1479
|
def storage_type(self) -> pulumi.Output[str]:
|
|
1527
1480
|
"""
|
|
1528
|
-
The storage type of the instance. Valid values: `cloud_essd1`, `cloud_essd2`, `cloud_essd3`, `
|
|
1481
|
+
The storage type of the instance. Valid values: `cloud_essd1`, `cloud_essd2`, `cloud_essd3`, `local_ssd`.
|
|
1529
1482
|
"""
|
|
1530
1483
|
return pulumi.get(self, "storage_type")
|
|
1531
1484
|
|
|
@@ -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
|
|
27
|
-
:param pulumi.Input[str] node_id: The ID of the Shard node or ConfigServer node.
|
|
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.
|
|
28
28
|
:param pulumi.Input[str] zone_id: The zone ID of the instance.
|
|
29
|
-
:param pulumi.Input[str] account_name: The
|
|
29
|
+
:param pulumi.Input[str] account_name: The name 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
|
|
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:
|
|
33
|
+
:param pulumi.Input[str] account_password: Account password.
|
|
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
|
|
49
|
+
The db instance id.
|
|
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 ConfigServer node.
|
|
61
|
+
The ID of the Shard node or the 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
|
|
85
|
+
The name 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
|
|
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
|
-
|
|
100
|
+
Account password.
|
|
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
|
|
122
|
+
:param pulumi.Input[str] account_name: The name 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
|
|
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:
|
|
126
|
+
:param pulumi.Input[str] account_password: Account password.
|
|
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
|
|
130
|
-
:param pulumi.Input[Sequence[pulumi.Input['ShardingNetworkPrivateAddressNetworkAddressArgs']]] network_addresses: The
|
|
131
|
-
:param pulumi.Input[str] node_id: The ID of the Shard node or ConfigServer node.
|
|
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.
|
|
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
|
|
151
|
+
The name 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
|
|
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
|
-
|
|
166
|
+
Account password.
|
|
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
|
|
180
|
+
The db instance id.
|
|
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
|
|
192
|
+
The endpoint 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 ConfigServer node.
|
|
204
|
+
The ID of the Shard node or the ConfigServer node.
|
|
205
205
|
"""
|
|
206
206
|
return pulumi.get(self, "node_id")
|
|
207
207
|
|
|
@@ -240,59 +240,6 @@ 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
|
-
|
|
296
243
|
## Import
|
|
297
244
|
|
|
298
245
|
MongoDB Sharding Network Private Address can be imported using the id, e.g.
|
|
@@ -303,15 +250,15 @@ class ShardingNetworkPrivateAddress(pulumi.CustomResource):
|
|
|
303
250
|
|
|
304
251
|
:param str resource_name: The name of the resource.
|
|
305
252
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
306
|
-
:param pulumi.Input[str] account_name: The
|
|
253
|
+
:param pulumi.Input[str] account_name: The name of the account.
|
|
307
254
|
- 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.
|
|
308
|
-
- You need to set the account name and password only when you apply for an endpoint for a shard or
|
|
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.
|
|
309
256
|
- The permissions of this account are fixed to read-only.
|
|
310
|
-
:param pulumi.Input[str] account_password:
|
|
257
|
+
:param pulumi.Input[str] account_password: Account password.
|
|
311
258
|
- The password must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters. Special characters include `!#$%^&*()_+-=`.
|
|
312
259
|
- The password must be 8 to 32 characters in length.
|
|
313
|
-
:param pulumi.Input[str] db_instance_id: The
|
|
314
|
-
:param pulumi.Input[str] node_id: The ID of the Shard node or ConfigServer node.
|
|
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.
|
|
315
262
|
:param pulumi.Input[str] zone_id: The zone ID of the instance.
|
|
316
263
|
"""
|
|
317
264
|
...
|
|
@@ -327,59 +274,6 @@ class ShardingNetworkPrivateAddress(pulumi.CustomResource):
|
|
|
327
274
|
|
|
328
275
|
> **NOTE:** Available since v1.157.0.
|
|
329
276
|
|
|
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
|
-
|
|
383
277
|
## Import
|
|
384
278
|
|
|
385
279
|
MongoDB Sharding Network Private Address can be imported using the id, e.g.
|
|
@@ -454,16 +348,16 @@ class ShardingNetworkPrivateAddress(pulumi.CustomResource):
|
|
|
454
348
|
:param str resource_name: The unique name of the resulting resource.
|
|
455
349
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
456
350
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
457
|
-
:param pulumi.Input[str] account_name: The
|
|
351
|
+
:param pulumi.Input[str] account_name: The name of the account.
|
|
458
352
|
- 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.
|
|
459
|
-
- You need to set the account name and password only when you apply for an endpoint for a shard or
|
|
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.
|
|
460
354
|
- The permissions of this account are fixed to read-only.
|
|
461
|
-
:param pulumi.Input[str] account_password:
|
|
355
|
+
:param pulumi.Input[str] account_password: Account password.
|
|
462
356
|
- The password must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters. Special characters include `!#$%^&*()_+-=`.
|
|
463
357
|
- The password must be 8 to 32 characters in length.
|
|
464
|
-
:param pulumi.Input[str] db_instance_id: The
|
|
465
|
-
:param pulumi.Input[Sequence[pulumi.Input[Union['ShardingNetworkPrivateAddressNetworkAddressArgs', 'ShardingNetworkPrivateAddressNetworkAddressArgsDict']]]] network_addresses: The
|
|
466
|
-
:param pulumi.Input[str] node_id: The ID of the Shard node or ConfigServer node.
|
|
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.
|
|
467
361
|
:param pulumi.Input[str] zone_id: The zone ID of the instance.
|
|
468
362
|
"""
|
|
469
363
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
@@ -482,9 +376,9 @@ class ShardingNetworkPrivateAddress(pulumi.CustomResource):
|
|
|
482
376
|
@pulumi.getter(name="accountName")
|
|
483
377
|
def account_name(self) -> pulumi.Output[Optional[str]]:
|
|
484
378
|
"""
|
|
485
|
-
The
|
|
379
|
+
The name of the account.
|
|
486
380
|
- 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.
|
|
487
|
-
- You need to set the account name and password only when you apply for an endpoint for a shard or
|
|
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.
|
|
488
382
|
- The permissions of this account are fixed to read-only.
|
|
489
383
|
"""
|
|
490
384
|
return pulumi.get(self, "account_name")
|
|
@@ -493,7 +387,7 @@ class ShardingNetworkPrivateAddress(pulumi.CustomResource):
|
|
|
493
387
|
@pulumi.getter(name="accountPassword")
|
|
494
388
|
def account_password(self) -> pulumi.Output[Optional[str]]:
|
|
495
389
|
"""
|
|
496
|
-
|
|
390
|
+
Account password.
|
|
497
391
|
- The password must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters. Special characters include `!#$%^&*()_+-=`.
|
|
498
392
|
- The password must be 8 to 32 characters in length.
|
|
499
393
|
"""
|
|
@@ -503,7 +397,7 @@ class ShardingNetworkPrivateAddress(pulumi.CustomResource):
|
|
|
503
397
|
@pulumi.getter(name="dbInstanceId")
|
|
504
398
|
def db_instance_id(self) -> pulumi.Output[str]:
|
|
505
399
|
"""
|
|
506
|
-
The
|
|
400
|
+
The db instance id.
|
|
507
401
|
"""
|
|
508
402
|
return pulumi.get(self, "db_instance_id")
|
|
509
403
|
|
|
@@ -511,7 +405,7 @@ class ShardingNetworkPrivateAddress(pulumi.CustomResource):
|
|
|
511
405
|
@pulumi.getter(name="networkAddresses")
|
|
512
406
|
def network_addresses(self) -> pulumi.Output[Sequence['outputs.ShardingNetworkPrivateAddressNetworkAddress']]:
|
|
513
407
|
"""
|
|
514
|
-
The
|
|
408
|
+
The endpoint of the instance.
|
|
515
409
|
"""
|
|
516
410
|
return pulumi.get(self, "network_addresses")
|
|
517
411
|
|
|
@@ -519,7 +413,7 @@ class ShardingNetworkPrivateAddress(pulumi.CustomResource):
|
|
|
519
413
|
@pulumi.getter(name="nodeId")
|
|
520
414
|
def node_id(self) -> pulumi.Output[str]:
|
|
521
415
|
"""
|
|
522
|
-
The ID of the Shard node or ConfigServer node.
|
|
416
|
+
The ID of the Shard node or the ConfigServer node.
|
|
523
417
|
"""
|
|
524
418
|
return pulumi.get(self, "node_id")
|
|
525
419
|
|