pulumi-alicloud 3.61.0a1724217925__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.0a1724217925.dist-info → pulumi_alicloud-3.61.0a1724318858.dist-info}/METADATA +1 -1
  27. {pulumi_alicloud-3.61.0a1724217925.dist-info → pulumi_alicloud-3.61.0a1724318858.dist-info}/RECORD +29 -21
  28. {pulumi_alicloud-3.61.0a1724217925.dist-info → pulumi_alicloud-3.61.0a1724318858.dist-info}/WHEEL +0 -0
  29. {pulumi_alicloud-3.61.0a1724217925.dist-info → pulumi_alicloud-3.61.0a1724318858.dist-info}/top_level.txt +0 -0
@@ -21,6 +21,7 @@ class StoreArgs:
21
21
  enable_web_tracking: Optional[pulumi.Input[bool]] = None,
22
22
  encrypt_conf: Optional[pulumi.Input['StoreEncryptConfArgs']] = None,
23
23
  hot_ttl: Optional[pulumi.Input[int]] = None,
24
+ infrequent_access_ttl: Optional[pulumi.Input[int]] = None,
24
25
  logstore_name: Optional[pulumi.Input[str]] = None,
25
26
  max_split_shard_count: Optional[pulumi.Input[int]] = None,
26
27
  metering_mode: Optional[pulumi.Input[str]] = None,
@@ -38,6 +39,7 @@ class StoreArgs:
38
39
  :param pulumi.Input[bool] enable_web_tracking: Whether open webtracking. webtracking network tracing, support the collection of HTML log, H5, Ios and android platforms.
39
40
  :param pulumi.Input['StoreEncryptConfArgs'] encrypt_conf: Encrypted storage of data, providing data static protection capability, encrypt_conf can be updated since 1.188.0 (only enable change is supported when updating logstore). See `encrypt_conf` below.
40
41
  :param pulumi.Input[int] hot_ttl: The ttl of hot storage. Default to 30, at least 30, hot storage ttl must be less than ttl.
42
+ :param pulumi.Input[int] infrequent_access_ttl: Low frequency storage time
41
43
  :param pulumi.Input[str] logstore_name: The log store, which is unique in the same project. You need to specify one of the attributes: `logstore_name`, `name`.
42
44
  :param pulumi.Input[int] max_split_shard_count: The maximum number of shards for automatic split, which is in the range of 1 to 256. You must specify this parameter when autoSplit is true.
43
45
  :param pulumi.Input[str] metering_mode: Metering mode. The default metering mode of ChargeByFunction, ChargeByDataIngest traffic mode.
@@ -61,6 +63,8 @@ class StoreArgs:
61
63
  pulumi.set(__self__, "encrypt_conf", encrypt_conf)
62
64
  if hot_ttl is not None:
63
65
  pulumi.set(__self__, "hot_ttl", hot_ttl)
66
+ if infrequent_access_ttl is not None:
67
+ pulumi.set(__self__, "infrequent_access_ttl", infrequent_access_ttl)
64
68
  if logstore_name is not None:
65
69
  pulumi.set(__self__, "logstore_name", logstore_name)
66
70
  if max_split_shard_count is not None:
@@ -148,6 +152,18 @@ class StoreArgs:
148
152
  def hot_ttl(self, value: Optional[pulumi.Input[int]]):
149
153
  pulumi.set(self, "hot_ttl", value)
150
154
 
155
+ @property
156
+ @pulumi.getter(name="infrequentAccessTtl")
157
+ def infrequent_access_ttl(self) -> Optional[pulumi.Input[int]]:
158
+ """
159
+ Low frequency storage time
160
+ """
161
+ return pulumi.get(self, "infrequent_access_ttl")
162
+
163
+ @infrequent_access_ttl.setter
164
+ def infrequent_access_ttl(self, value: Optional[pulumi.Input[int]]):
165
+ pulumi.set(self, "infrequent_access_ttl", value)
166
+
151
167
  @property
152
168
  @pulumi.getter(name="logstoreName")
153
169
  def logstore_name(self) -> Optional[pulumi.Input[str]]:
@@ -282,6 +298,7 @@ class _StoreState:
282
298
  enable_web_tracking: Optional[pulumi.Input[bool]] = None,
283
299
  encrypt_conf: Optional[pulumi.Input['StoreEncryptConfArgs']] = None,
284
300
  hot_ttl: Optional[pulumi.Input[int]] = None,
301
+ infrequent_access_ttl: Optional[pulumi.Input[int]] = None,
285
302
  logstore_name: Optional[pulumi.Input[str]] = None,
286
303
  max_split_shard_count: Optional[pulumi.Input[int]] = None,
287
304
  metering_mode: Optional[pulumi.Input[str]] = None,
@@ -301,6 +318,7 @@ class _StoreState:
301
318
  :param pulumi.Input[bool] enable_web_tracking: Whether open webtracking. webtracking network tracing, support the collection of HTML log, H5, Ios and android platforms.
302
319
  :param pulumi.Input['StoreEncryptConfArgs'] encrypt_conf: Encrypted storage of data, providing data static protection capability, encrypt_conf can be updated since 1.188.0 (only enable change is supported when updating logstore). See `encrypt_conf` below.
303
320
  :param pulumi.Input[int] hot_ttl: The ttl of hot storage. Default to 30, at least 30, hot storage ttl must be less than ttl.
321
+ :param pulumi.Input[int] infrequent_access_ttl: Low frequency storage time
304
322
  :param pulumi.Input[str] logstore_name: The log store, which is unique in the same project. You need to specify one of the attributes: `logstore_name`, `name`.
305
323
  :param pulumi.Input[int] max_split_shard_count: The maximum number of shards for automatic split, which is in the range of 1 to 256. You must specify this parameter when autoSplit is true.
306
324
  :param pulumi.Input[str] metering_mode: Metering mode. The default metering mode of ChargeByFunction, ChargeByDataIngest traffic mode.
@@ -327,6 +345,8 @@ class _StoreState:
327
345
  pulumi.set(__self__, "encrypt_conf", encrypt_conf)
328
346
  if hot_ttl is not None:
329
347
  pulumi.set(__self__, "hot_ttl", hot_ttl)
348
+ if infrequent_access_ttl is not None:
349
+ pulumi.set(__self__, "infrequent_access_ttl", infrequent_access_ttl)
330
350
  if logstore_name is not None:
331
351
  pulumi.set(__self__, "logstore_name", logstore_name)
332
352
  if max_split_shard_count is not None:
@@ -428,6 +448,18 @@ class _StoreState:
428
448
  def hot_ttl(self, value: Optional[pulumi.Input[int]]):
429
449
  pulumi.set(self, "hot_ttl", value)
430
450
 
451
+ @property
452
+ @pulumi.getter(name="infrequentAccessTtl")
453
+ def infrequent_access_ttl(self) -> Optional[pulumi.Input[int]]:
454
+ """
455
+ Low frequency storage time
456
+ """
457
+ return pulumi.get(self, "infrequent_access_ttl")
458
+
459
+ @infrequent_access_ttl.setter
460
+ def infrequent_access_ttl(self, value: Optional[pulumi.Input[int]]):
461
+ pulumi.set(self, "infrequent_access_ttl", value)
462
+
431
463
  @property
432
464
  @pulumi.getter(name="logstoreName")
433
465
  def logstore_name(self) -> Optional[pulumi.Input[str]]:
@@ -575,6 +607,7 @@ class Store(pulumi.CustomResource):
575
607
  enable_web_tracking: Optional[pulumi.Input[bool]] = None,
576
608
  encrypt_conf: Optional[pulumi.Input[Union['StoreEncryptConfArgs', 'StoreEncryptConfArgsDict']]] = None,
577
609
  hot_ttl: Optional[pulumi.Input[int]] = None,
610
+ infrequent_access_ttl: Optional[pulumi.Input[int]] = None,
578
611
  logstore_name: Optional[pulumi.Input[str]] = None,
579
612
  max_split_shard_count: Optional[pulumi.Input[int]] = None,
580
613
  metering_mode: Optional[pulumi.Input[str]] = None,
@@ -630,19 +663,36 @@ class Store(pulumi.CustomResource):
630
663
  if region is None:
631
664
  region = "cn-hangzhou"
632
665
  example = alicloud.get_account()
633
- default = random.index.Integer("default",
666
+ default_integer = random.index.Integer("default",
634
667
  max=99999,
635
668
  min=10000)
669
+ default = alicloud.vpc.get_networks(name_regex="^default-NODELETING$")
670
+ default_get_switches = alicloud.vpc.get_switches(vpc_id=default.ids[0])
671
+ default_instance = alicloud.kms.Instance("default",
672
+ product_version="3",
673
+ vpc_id=default.ids[0],
674
+ zone_ids=[
675
+ default_get_switches.vswitches[0].zone_id,
676
+ default_get_switches.vswitches[1].zone_id,
677
+ ],
678
+ vswitch_ids=[default_get_switches.ids[0]],
679
+ vpc_num=1,
680
+ key_num=1000,
681
+ secret_num=0,
682
+ spec=1000,
683
+ force_delete_without_backup="true",
684
+ payment_type="PayAsYouGo")
636
685
  example_key = alicloud.kms.Key("example",
637
686
  description="terraform-example",
638
687
  pending_window_in_days=7,
639
- status="Enabled")
688
+ status="Enabled",
689
+ dkms_instance_id=default_instance.id)
640
690
  example_project = alicloud.log.Project("example",
641
- name=f"terraform-example-{default['result']}",
691
+ project_name=f"terraform-example-{default_integer['result']}",
642
692
  description="terraform-example")
643
693
  example_store = alicloud.log.Store("example",
644
- project=example_project.name,
645
- name="example-store",
694
+ project_name=example_project.project_name,
695
+ logstore_name="example-store",
646
696
  shard_count=1,
647
697
  auto_split=True,
648
698
  max_split_shard_count=60,
@@ -677,6 +727,7 @@ class Store(pulumi.CustomResource):
677
727
  :param pulumi.Input[bool] enable_web_tracking: Whether open webtracking. webtracking network tracing, support the collection of HTML log, H5, Ios and android platforms.
678
728
  :param pulumi.Input[Union['StoreEncryptConfArgs', 'StoreEncryptConfArgsDict']] encrypt_conf: Encrypted storage of data, providing data static protection capability, encrypt_conf can be updated since 1.188.0 (only enable change is supported when updating logstore). See `encrypt_conf` below.
679
729
  :param pulumi.Input[int] hot_ttl: The ttl of hot storage. Default to 30, at least 30, hot storage ttl must be less than ttl.
730
+ :param pulumi.Input[int] infrequent_access_ttl: Low frequency storage time
680
731
  :param pulumi.Input[str] logstore_name: The log store, which is unique in the same project. You need to specify one of the attributes: `logstore_name`, `name`.
681
732
  :param pulumi.Input[int] max_split_shard_count: The maximum number of shards for automatic split, which is in the range of 1 to 256. You must specify this parameter when autoSplit is true.
682
733
  :param pulumi.Input[str] metering_mode: Metering mode. The default metering mode of ChargeByFunction, ChargeByDataIngest traffic mode.
@@ -740,19 +791,36 @@ class Store(pulumi.CustomResource):
740
791
  if region is None:
741
792
  region = "cn-hangzhou"
742
793
  example = alicloud.get_account()
743
- default = random.index.Integer("default",
794
+ default_integer = random.index.Integer("default",
744
795
  max=99999,
745
796
  min=10000)
797
+ default = alicloud.vpc.get_networks(name_regex="^default-NODELETING$")
798
+ default_get_switches = alicloud.vpc.get_switches(vpc_id=default.ids[0])
799
+ default_instance = alicloud.kms.Instance("default",
800
+ product_version="3",
801
+ vpc_id=default.ids[0],
802
+ zone_ids=[
803
+ default_get_switches.vswitches[0].zone_id,
804
+ default_get_switches.vswitches[1].zone_id,
805
+ ],
806
+ vswitch_ids=[default_get_switches.ids[0]],
807
+ vpc_num=1,
808
+ key_num=1000,
809
+ secret_num=0,
810
+ spec=1000,
811
+ force_delete_without_backup="true",
812
+ payment_type="PayAsYouGo")
746
813
  example_key = alicloud.kms.Key("example",
747
814
  description="terraform-example",
748
815
  pending_window_in_days=7,
749
- status="Enabled")
816
+ status="Enabled",
817
+ dkms_instance_id=default_instance.id)
750
818
  example_project = alicloud.log.Project("example",
751
- name=f"terraform-example-{default['result']}",
819
+ project_name=f"terraform-example-{default_integer['result']}",
752
820
  description="terraform-example")
753
821
  example_store = alicloud.log.Store("example",
754
- project=example_project.name,
755
- name="example-store",
822
+ project_name=example_project.project_name,
823
+ logstore_name="example-store",
756
824
  shard_count=1,
757
825
  auto_split=True,
758
826
  max_split_shard_count=60,
@@ -800,6 +868,7 @@ class Store(pulumi.CustomResource):
800
868
  enable_web_tracking: Optional[pulumi.Input[bool]] = None,
801
869
  encrypt_conf: Optional[pulumi.Input[Union['StoreEncryptConfArgs', 'StoreEncryptConfArgsDict']]] = None,
802
870
  hot_ttl: Optional[pulumi.Input[int]] = None,
871
+ infrequent_access_ttl: Optional[pulumi.Input[int]] = None,
803
872
  logstore_name: Optional[pulumi.Input[str]] = None,
804
873
  max_split_shard_count: Optional[pulumi.Input[int]] = None,
805
874
  metering_mode: Optional[pulumi.Input[str]] = None,
@@ -824,6 +893,7 @@ class Store(pulumi.CustomResource):
824
893
  __props__.__dict__["enable_web_tracking"] = enable_web_tracking
825
894
  __props__.__dict__["encrypt_conf"] = encrypt_conf
826
895
  __props__.__dict__["hot_ttl"] = hot_ttl
896
+ __props__.__dict__["infrequent_access_ttl"] = infrequent_access_ttl
827
897
  __props__.__dict__["logstore_name"] = logstore_name
828
898
  __props__.__dict__["max_split_shard_count"] = max_split_shard_count
829
899
  __props__.__dict__["metering_mode"] = metering_mode
@@ -852,6 +922,7 @@ class Store(pulumi.CustomResource):
852
922
  enable_web_tracking: Optional[pulumi.Input[bool]] = None,
853
923
  encrypt_conf: Optional[pulumi.Input[Union['StoreEncryptConfArgs', 'StoreEncryptConfArgsDict']]] = None,
854
924
  hot_ttl: Optional[pulumi.Input[int]] = None,
925
+ infrequent_access_ttl: Optional[pulumi.Input[int]] = None,
855
926
  logstore_name: Optional[pulumi.Input[str]] = None,
856
927
  max_split_shard_count: Optional[pulumi.Input[int]] = None,
857
928
  metering_mode: Optional[pulumi.Input[str]] = None,
@@ -876,6 +947,7 @@ class Store(pulumi.CustomResource):
876
947
  :param pulumi.Input[bool] enable_web_tracking: Whether open webtracking. webtracking network tracing, support the collection of HTML log, H5, Ios and android platforms.
877
948
  :param pulumi.Input[Union['StoreEncryptConfArgs', 'StoreEncryptConfArgsDict']] encrypt_conf: Encrypted storage of data, providing data static protection capability, encrypt_conf can be updated since 1.188.0 (only enable change is supported when updating logstore). See `encrypt_conf` below.
878
949
  :param pulumi.Input[int] hot_ttl: The ttl of hot storage. Default to 30, at least 30, hot storage ttl must be less than ttl.
950
+ :param pulumi.Input[int] infrequent_access_ttl: Low frequency storage time
879
951
  :param pulumi.Input[str] logstore_name: The log store, which is unique in the same project. You need to specify one of the attributes: `logstore_name`, `name`.
880
952
  :param pulumi.Input[int] max_split_shard_count: The maximum number of shards for automatic split, which is in the range of 1 to 256. You must specify this parameter when autoSplit is true.
881
953
  :param pulumi.Input[str] metering_mode: Metering mode. The default metering mode of ChargeByFunction, ChargeByDataIngest traffic mode.
@@ -900,6 +972,7 @@ class Store(pulumi.CustomResource):
900
972
  __props__.__dict__["enable_web_tracking"] = enable_web_tracking
901
973
  __props__.__dict__["encrypt_conf"] = encrypt_conf
902
974
  __props__.__dict__["hot_ttl"] = hot_ttl
975
+ __props__.__dict__["infrequent_access_ttl"] = infrequent_access_ttl
903
976
  __props__.__dict__["logstore_name"] = logstore_name
904
977
  __props__.__dict__["max_split_shard_count"] = max_split_shard_count
905
978
  __props__.__dict__["metering_mode"] = metering_mode
@@ -961,6 +1034,14 @@ class Store(pulumi.CustomResource):
961
1034
  """
962
1035
  return pulumi.get(self, "hot_ttl")
963
1036
 
1037
+ @property
1038
+ @pulumi.getter(name="infrequentAccessTtl")
1039
+ def infrequent_access_ttl(self) -> pulumi.Output[Optional[int]]:
1040
+ """
1041
+ Low frequency storage time
1042
+ """
1043
+ return pulumi.get(self, "infrequent_access_ttl")
1044
+
964
1045
  @property
965
1046
  @pulumi.getter(name="logstoreName")
966
1047
  def logstore_name(self) -> pulumi.Output[str]:
@@ -523,16 +523,16 @@ class ShardingNetworkPrivateAddressNetworkAddressArgs:
523
523
  vpc_id: Optional[pulumi.Input[str]] = None,
524
524
  vswitch_id: Optional[pulumi.Input[str]] = None):
525
525
  """
526
- :param pulumi.Input[str] expired_time: The remaining duration of the classic network address. Unit: `seconds`.
526
+ :param pulumi.Input[str] expired_time: The remaining duration of the classic network endpoint.
527
527
  :param pulumi.Input[str] ip_address: The IP address of the instance.
528
- :param pulumi.Input[str] network_address: The endpoint of the instance.
529
- :param pulumi.Input[str] network_type: The network type.
530
- :param pulumi.Input[str] node_id: The ID of the Shard node or the ConfigServer node.
528
+ :param pulumi.Input[str] network_address: The connection string of the instance.
529
+ :param pulumi.Input[str] network_type: The network type of the instance.
530
+ :param pulumi.Input[str] node_id: The ID of the Shard node or ConfigServer node.
531
531
  :param pulumi.Input[str] node_type: The type of the node.
532
- :param pulumi.Input[str] port: The port number.
532
+ :param pulumi.Input[str] port: The port that is used to connect to the instance.
533
533
  :param pulumi.Input[str] role: The role of the node.
534
534
  :param pulumi.Input[str] vpc_id: The ID of the VPC.
535
- :param pulumi.Input[str] vswitch_id: The vSwitch ID of the VPC.
535
+ :param pulumi.Input[str] vswitch_id: The ID of the vSwitch in the VPC.
536
536
  """
537
537
  if expired_time is not None:
538
538
  pulumi.set(__self__, "expired_time", expired_time)
@@ -559,7 +559,7 @@ class ShardingNetworkPrivateAddressNetworkAddressArgs:
559
559
  @pulumi.getter(name="expiredTime")
560
560
  def expired_time(self) -> Optional[pulumi.Input[str]]:
561
561
  """
562
- The remaining duration of the classic network address. Unit: `seconds`.
562
+ The remaining duration of the classic network endpoint.
563
563
  """
564
564
  return pulumi.get(self, "expired_time")
565
565
 
@@ -583,7 +583,7 @@ class ShardingNetworkPrivateAddressNetworkAddressArgs:
583
583
  @pulumi.getter(name="networkAddress")
584
584
  def network_address(self) -> Optional[pulumi.Input[str]]:
585
585
  """
586
- The endpoint of the instance.
586
+ The connection string of the instance.
587
587
  """
588
588
  return pulumi.get(self, "network_address")
589
589
 
@@ -595,7 +595,7 @@ class ShardingNetworkPrivateAddressNetworkAddressArgs:
595
595
  @pulumi.getter(name="networkType")
596
596
  def network_type(self) -> Optional[pulumi.Input[str]]:
597
597
  """
598
- The network type.
598
+ The network type of the instance.
599
599
  """
600
600
  return pulumi.get(self, "network_type")
601
601
 
@@ -607,7 +607,7 @@ class ShardingNetworkPrivateAddressNetworkAddressArgs:
607
607
  @pulumi.getter(name="nodeId")
608
608
  def node_id(self) -> Optional[pulumi.Input[str]]:
609
609
  """
610
- The ID of the Shard node or the ConfigServer node.
610
+ The ID of the Shard node or ConfigServer node.
611
611
  """
612
612
  return pulumi.get(self, "node_id")
613
613
 
@@ -631,7 +631,7 @@ class ShardingNetworkPrivateAddressNetworkAddressArgs:
631
631
  @pulumi.getter
632
632
  def port(self) -> Optional[pulumi.Input[str]]:
633
633
  """
634
- The port number.
634
+ The port that is used to connect to the instance.
635
635
  """
636
636
  return pulumi.get(self, "port")
637
637
 
@@ -667,7 +667,7 @@ class ShardingNetworkPrivateAddressNetworkAddressArgs:
667
667
  @pulumi.getter(name="vswitchId")
668
668
  def vswitch_id(self) -> Optional[pulumi.Input[str]]:
669
669
  """
670
- The vSwitch ID of the VPC.
670
+ The ID of the vSwitch in the VPC.
671
671
  """
672
672
  return pulumi.get(self, "vswitch_id")
673
673
 
@@ -41,6 +41,7 @@ class InstanceArgs:
41
41
  order_type: Optional[pulumi.Input[str]] = None,
42
42
  parameters: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceParameterArgs']]]] = None,
43
43
  period: Optional[pulumi.Input[int]] = None,
44
+ provisioned_iops: Optional[pulumi.Input[int]] = None,
44
45
  readonly_replicas: Optional[pulumi.Input[int]] = None,
45
46
  replication_factor: Optional[pulumi.Input[int]] = None,
46
47
  resource_group_id: Optional[pulumi.Input[str]] = None,
@@ -90,6 +91,7 @@ class InstanceArgs:
90
91
  **NOTE:** `order_type` is only applicable to instances when `instance_charge_type` is `PrePaid`.
91
92
  :param pulumi.Input[Sequence[pulumi.Input['InstanceParameterArgs']]] parameters: Set of parameters needs to be set after mongodb instance was launched. See `parameters` below.
92
93
  :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.
94
+ :param pulumi.Input[int] provisioned_iops: The provisioned IOPS. Valid values: `0` to `50000`.
93
95
  :param pulumi.Input[int] readonly_replicas: The number of read-only nodes in the replica set instance. Default value: 0. Valid values: 0 to 5.
94
96
  :param pulumi.Input[int] replication_factor: Number of replica set nodes. Valid values: `1`, `3`, `5`, `7`.
95
97
  :param pulumi.Input[str] resource_group_id: The ID of the Resource Group.
@@ -105,7 +107,7 @@ class InstanceArgs:
105
107
  - `Close`: turn off SSL encryption.
106
108
  - `Update`: update SSL certificate.
107
109
  :param pulumi.Input[str] storage_engine: The storage engine of the instance. Default value: `WiredTiger`. Valid values: `WiredTiger`, `RocksDB`.
108
- :param pulumi.Input[str] storage_type: The storage type of the instance. Valid values: `cloud_essd1`, `cloud_essd2`, `cloud_essd3`, `local_ssd`.
110
+ :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`.
109
111
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A mapping of tags to assign to the resource.
110
112
  :param pulumi.Input[str] tde_status: The TDE(Transparent Data Encryption) status. Valid values: `enabled`.
111
113
  :param pulumi.Input[str] vpc_id: The ID of the VPC. > **NOTE:** `vpc_id` is valid only when `network_type` is set to `VPC`.
@@ -161,6 +163,8 @@ class InstanceArgs:
161
163
  pulumi.set(__self__, "parameters", parameters)
162
164
  if period is not None:
163
165
  pulumi.set(__self__, "period", period)
166
+ if provisioned_iops is not None:
167
+ pulumi.set(__self__, "provisioned_iops", provisioned_iops)
164
168
  if readonly_replicas is not None:
165
169
  pulumi.set(__self__, "readonly_replicas", readonly_replicas)
166
170
  if replication_factor is not None:
@@ -500,6 +504,18 @@ class InstanceArgs:
500
504
  def period(self, value: Optional[pulumi.Input[int]]):
501
505
  pulumi.set(self, "period", value)
502
506
 
507
+ @property
508
+ @pulumi.getter(name="provisionedIops")
509
+ def provisioned_iops(self) -> Optional[pulumi.Input[int]]:
510
+ """
511
+ The provisioned IOPS. Valid values: `0` to `50000`.
512
+ """
513
+ return pulumi.get(self, "provisioned_iops")
514
+
515
+ @provisioned_iops.setter
516
+ def provisioned_iops(self, value: Optional[pulumi.Input[int]]):
517
+ pulumi.set(self, "provisioned_iops", value)
518
+
503
519
  @property
504
520
  @pulumi.getter(name="readonlyReplicas")
505
521
  def readonly_replicas(self) -> Optional[pulumi.Input[int]]:
@@ -629,7 +645,7 @@ class InstanceArgs:
629
645
  @pulumi.getter(name="storageType")
630
646
  def storage_type(self) -> Optional[pulumi.Input[str]]:
631
647
  """
632
- The storage type of the instance. Valid values: `cloud_essd1`, `cloud_essd2`, `cloud_essd3`, `local_ssd`.
648
+ 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`.
633
649
  """
634
650
  return pulumi.get(self, "storage_type")
635
651
 
@@ -728,6 +744,7 @@ class _InstanceState:
728
744
  order_type: Optional[pulumi.Input[str]] = None,
729
745
  parameters: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceParameterArgs']]]] = None,
730
746
  period: Optional[pulumi.Input[int]] = None,
747
+ provisioned_iops: Optional[pulumi.Input[int]] = None,
731
748
  readonly_replicas: Optional[pulumi.Input[int]] = None,
732
749
  replica_set_name: Optional[pulumi.Input[str]] = None,
733
750
  replica_sets: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceReplicaSetArgs']]]] = None,
@@ -781,6 +798,7 @@ class _InstanceState:
781
798
  **NOTE:** `order_type` is only applicable to instances when `instance_charge_type` is `PrePaid`.
782
799
  :param pulumi.Input[Sequence[pulumi.Input['InstanceParameterArgs']]] parameters: Set of parameters needs to be set after mongodb instance was launched. See `parameters` below.
783
800
  :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.
801
+ :param pulumi.Input[int] provisioned_iops: The provisioned IOPS. Valid values: `0` to `50000`.
784
802
  :param pulumi.Input[int] readonly_replicas: The number of read-only nodes in the replica set instance. Default value: 0. Valid values: 0 to 5.
785
803
  :param pulumi.Input[str] replica_set_name: The name of the mongo replica set.
786
804
  :param pulumi.Input[Sequence[pulumi.Input['InstanceReplicaSetArgs']]] replica_sets: Replica set instance information.
@@ -800,7 +818,7 @@ class _InstanceState:
800
818
  - `Update`: update SSL certificate.
801
819
  :param pulumi.Input[str] ssl_status: Status of the SSL feature.
802
820
  :param pulumi.Input[str] storage_engine: The storage engine of the instance. Default value: `WiredTiger`. Valid values: `WiredTiger`, `RocksDB`.
803
- :param pulumi.Input[str] storage_type: The storage type of the instance. Valid values: `cloud_essd1`, `cloud_essd2`, `cloud_essd3`, `local_ssd`.
821
+ :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`.
804
822
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A mapping of tags to assign to the resource.
805
823
  :param pulumi.Input[str] tde_status: The TDE(Transparent Data Encryption) status. Valid values: `enabled`.
806
824
  :param pulumi.Input[str] vpc_id: The ID of the VPC. > **NOTE:** `vpc_id` is valid only when `network_type` is set to `VPC`.
@@ -859,6 +877,8 @@ class _InstanceState:
859
877
  pulumi.set(__self__, "parameters", parameters)
860
878
  if period is not None:
861
879
  pulumi.set(__self__, "period", period)
880
+ if provisioned_iops is not None:
881
+ pulumi.set(__self__, "provisioned_iops", provisioned_iops)
862
882
  if readonly_replicas is not None:
863
883
  pulumi.set(__self__, "readonly_replicas", readonly_replicas)
864
884
  if replica_set_name is not None:
@@ -1206,6 +1226,18 @@ class _InstanceState:
1206
1226
  def period(self, value: Optional[pulumi.Input[int]]):
1207
1227
  pulumi.set(self, "period", value)
1208
1228
 
1229
+ @property
1230
+ @pulumi.getter(name="provisionedIops")
1231
+ def provisioned_iops(self) -> Optional[pulumi.Input[int]]:
1232
+ """
1233
+ The provisioned IOPS. Valid values: `0` to `50000`.
1234
+ """
1235
+ return pulumi.get(self, "provisioned_iops")
1236
+
1237
+ @provisioned_iops.setter
1238
+ def provisioned_iops(self, value: Optional[pulumi.Input[int]]):
1239
+ pulumi.set(self, "provisioned_iops", value)
1240
+
1209
1241
  @property
1210
1242
  @pulumi.getter(name="readonlyReplicas")
1211
1243
  def readonly_replicas(self) -> Optional[pulumi.Input[int]]:
@@ -1383,7 +1415,7 @@ class _InstanceState:
1383
1415
  @pulumi.getter(name="storageType")
1384
1416
  def storage_type(self) -> Optional[pulumi.Input[str]]:
1385
1417
  """
1386
- The storage type of the instance. Valid values: `cloud_essd1`, `cloud_essd2`, `cloud_essd3`, `local_ssd`.
1418
+ 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`.
1387
1419
  """
1388
1420
  return pulumi.get(self, "storage_type")
1389
1421
 
@@ -1484,6 +1516,7 @@ class Instance(pulumi.CustomResource):
1484
1516
  order_type: Optional[pulumi.Input[str]] = None,
1485
1517
  parameters: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InstanceParameterArgs', 'InstanceParameterArgsDict']]]]] = None,
1486
1518
  period: Optional[pulumi.Input[int]] = None,
1519
+ provisioned_iops: Optional[pulumi.Input[int]] = None,
1487
1520
  readonly_replicas: Optional[pulumi.Input[int]] = None,
1488
1521
  replication_factor: Optional[pulumi.Input[int]] = None,
1489
1522
  resource_group_id: Optional[pulumi.Input[str]] = None,
@@ -1598,6 +1631,7 @@ class Instance(pulumi.CustomResource):
1598
1631
  **NOTE:** `order_type` is only applicable to instances when `instance_charge_type` is `PrePaid`.
1599
1632
  :param pulumi.Input[Sequence[pulumi.Input[Union['InstanceParameterArgs', 'InstanceParameterArgsDict']]]] parameters: Set of parameters needs to be set after mongodb instance was launched. See `parameters` below.
1600
1633
  :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.
1634
+ :param pulumi.Input[int] provisioned_iops: The provisioned IOPS. Valid values: `0` to `50000`.
1601
1635
  :param pulumi.Input[int] readonly_replicas: The number of read-only nodes in the replica set instance. Default value: 0. Valid values: 0 to 5.
1602
1636
  :param pulumi.Input[int] replication_factor: Number of replica set nodes. Valid values: `1`, `3`, `5`, `7`.
1603
1637
  :param pulumi.Input[str] resource_group_id: The ID of the Resource Group.
@@ -1613,7 +1647,7 @@ class Instance(pulumi.CustomResource):
1613
1647
  - `Close`: turn off SSL encryption.
1614
1648
  - `Update`: update SSL certificate.
1615
1649
  :param pulumi.Input[str] storage_engine: The storage engine of the instance. Default value: `WiredTiger`. Valid values: `WiredTiger`, `RocksDB`.
1616
- :param pulumi.Input[str] storage_type: The storage type of the instance. Valid values: `cloud_essd1`, `cloud_essd2`, `cloud_essd3`, `local_ssd`.
1650
+ :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`.
1617
1651
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A mapping of tags to assign to the resource.
1618
1652
  :param pulumi.Input[str] tde_status: The TDE(Transparent Data Encryption) status. Valid values: `enabled`.
1619
1653
  :param pulumi.Input[str] vpc_id: The ID of the VPC. > **NOTE:** `vpc_id` is valid only when `network_type` is set to `VPC`.
@@ -1732,6 +1766,7 @@ class Instance(pulumi.CustomResource):
1732
1766
  order_type: Optional[pulumi.Input[str]] = None,
1733
1767
  parameters: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InstanceParameterArgs', 'InstanceParameterArgsDict']]]]] = None,
1734
1768
  period: Optional[pulumi.Input[int]] = None,
1769
+ provisioned_iops: Optional[pulumi.Input[int]] = None,
1735
1770
  readonly_replicas: Optional[pulumi.Input[int]] = None,
1736
1771
  replication_factor: Optional[pulumi.Input[int]] = None,
1737
1772
  resource_group_id: Optional[pulumi.Input[str]] = None,
@@ -1788,6 +1823,7 @@ class Instance(pulumi.CustomResource):
1788
1823
  __props__.__dict__["order_type"] = order_type
1789
1824
  __props__.__dict__["parameters"] = parameters
1790
1825
  __props__.__dict__["period"] = period
1826
+ __props__.__dict__["provisioned_iops"] = provisioned_iops
1791
1827
  __props__.__dict__["readonly_replicas"] = readonly_replicas
1792
1828
  __props__.__dict__["replication_factor"] = replication_factor
1793
1829
  __props__.__dict__["resource_group_id"] = resource_group_id
@@ -1845,6 +1881,7 @@ class Instance(pulumi.CustomResource):
1845
1881
  order_type: Optional[pulumi.Input[str]] = None,
1846
1882
  parameters: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InstanceParameterArgs', 'InstanceParameterArgsDict']]]]] = None,
1847
1883
  period: Optional[pulumi.Input[int]] = None,
1884
+ provisioned_iops: Optional[pulumi.Input[int]] = None,
1848
1885
  readonly_replicas: Optional[pulumi.Input[int]] = None,
1849
1886
  replica_set_name: Optional[pulumi.Input[str]] = None,
1850
1887
  replica_sets: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InstanceReplicaSetArgs', 'InstanceReplicaSetArgsDict']]]]] = None,
@@ -1903,6 +1940,7 @@ class Instance(pulumi.CustomResource):
1903
1940
  **NOTE:** `order_type` is only applicable to instances when `instance_charge_type` is `PrePaid`.
1904
1941
  :param pulumi.Input[Sequence[pulumi.Input[Union['InstanceParameterArgs', 'InstanceParameterArgsDict']]]] parameters: Set of parameters needs to be set after mongodb instance was launched. See `parameters` below.
1905
1942
  :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.
1943
+ :param pulumi.Input[int] provisioned_iops: The provisioned IOPS. Valid values: `0` to `50000`.
1906
1944
  :param pulumi.Input[int] readonly_replicas: The number of read-only nodes in the replica set instance. Default value: 0. Valid values: 0 to 5.
1907
1945
  :param pulumi.Input[str] replica_set_name: The name of the mongo replica set.
1908
1946
  :param pulumi.Input[Sequence[pulumi.Input[Union['InstanceReplicaSetArgs', 'InstanceReplicaSetArgsDict']]]] replica_sets: Replica set instance information.
@@ -1922,7 +1960,7 @@ class Instance(pulumi.CustomResource):
1922
1960
  - `Update`: update SSL certificate.
1923
1961
  :param pulumi.Input[str] ssl_status: Status of the SSL feature.
1924
1962
  :param pulumi.Input[str] storage_engine: The storage engine of the instance. Default value: `WiredTiger`. Valid values: `WiredTiger`, `RocksDB`.
1925
- :param pulumi.Input[str] storage_type: The storage type of the instance. Valid values: `cloud_essd1`, `cloud_essd2`, `cloud_essd3`, `local_ssd`.
1963
+ :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`.
1926
1964
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A mapping of tags to assign to the resource.
1927
1965
  :param pulumi.Input[str] tde_status: The TDE(Transparent Data Encryption) status. Valid values: `enabled`.
1928
1966
  :param pulumi.Input[str] vpc_id: The ID of the VPC. > **NOTE:** `vpc_id` is valid only when `network_type` is set to `VPC`.
@@ -1960,6 +1998,7 @@ class Instance(pulumi.CustomResource):
1960
1998
  __props__.__dict__["order_type"] = order_type
1961
1999
  __props__.__dict__["parameters"] = parameters
1962
2000
  __props__.__dict__["period"] = period
2001
+ __props__.__dict__["provisioned_iops"] = provisioned_iops
1963
2002
  __props__.__dict__["readonly_replicas"] = readonly_replicas
1964
2003
  __props__.__dict__["replica_set_name"] = replica_set_name
1965
2004
  __props__.__dict__["replica_sets"] = replica_sets
@@ -2188,6 +2227,14 @@ class Instance(pulumi.CustomResource):
2188
2227
  """
2189
2228
  return pulumi.get(self, "period")
2190
2229
 
2230
+ @property
2231
+ @pulumi.getter(name="provisionedIops")
2232
+ def provisioned_iops(self) -> pulumi.Output[Optional[int]]:
2233
+ """
2234
+ The provisioned IOPS. Valid values: `0` to `50000`.
2235
+ """
2236
+ return pulumi.get(self, "provisioned_iops")
2237
+
2191
2238
  @property
2192
2239
  @pulumi.getter(name="readonlyReplicas")
2193
2240
  def readonly_replicas(self) -> pulumi.Output[int]:
@@ -2309,7 +2356,7 @@ class Instance(pulumi.CustomResource):
2309
2356
  @pulumi.getter(name="storageType")
2310
2357
  def storage_type(self) -> pulumi.Output[str]:
2311
2358
  """
2312
- The storage type of the instance. Valid values: `cloud_essd1`, `cloud_essd2`, `cloud_essd3`, `local_ssd`.
2359
+ 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`.
2313
2360
  """
2314
2361
  return pulumi.get(self, "storage_type")
2315
2362
 
@@ -576,16 +576,16 @@ class ShardingNetworkPrivateAddressNetworkAddress(dict):
576
576
  vpc_id: Optional[str] = None,
577
577
  vswitch_id: Optional[str] = None):
578
578
  """
579
- :param str expired_time: The remaining duration of the classic network address. Unit: `seconds`.
579
+ :param str expired_time: The remaining duration of the classic network endpoint.
580
580
  :param str ip_address: The IP address of the instance.
581
- :param str network_address: The endpoint of the instance.
582
- :param str network_type: The network type.
583
- :param str node_id: The ID of the Shard node or the ConfigServer node.
581
+ :param str network_address: The connection string of the instance.
582
+ :param str network_type: The network type of the instance.
583
+ :param str node_id: The ID of the Shard node or ConfigServer node.
584
584
  :param str node_type: The type of the node.
585
- :param str port: The port number.
585
+ :param str port: The port that is used to connect to the instance.
586
586
  :param str role: The role of the node.
587
587
  :param str vpc_id: The ID of the VPC.
588
- :param str vswitch_id: The vSwitch ID of the VPC.
588
+ :param str vswitch_id: The ID of the vSwitch in the VPC.
589
589
  """
590
590
  if expired_time is not None:
591
591
  pulumi.set(__self__, "expired_time", expired_time)
@@ -612,7 +612,7 @@ class ShardingNetworkPrivateAddressNetworkAddress(dict):
612
612
  @pulumi.getter(name="expiredTime")
613
613
  def expired_time(self) -> Optional[str]:
614
614
  """
615
- The remaining duration of the classic network address. Unit: `seconds`.
615
+ The remaining duration of the classic network endpoint.
616
616
  """
617
617
  return pulumi.get(self, "expired_time")
618
618
 
@@ -628,7 +628,7 @@ class ShardingNetworkPrivateAddressNetworkAddress(dict):
628
628
  @pulumi.getter(name="networkAddress")
629
629
  def network_address(self) -> Optional[str]:
630
630
  """
631
- The endpoint of the instance.
631
+ The connection string of the instance.
632
632
  """
633
633
  return pulumi.get(self, "network_address")
634
634
 
@@ -636,7 +636,7 @@ class ShardingNetworkPrivateAddressNetworkAddress(dict):
636
636
  @pulumi.getter(name="networkType")
637
637
  def network_type(self) -> Optional[str]:
638
638
  """
639
- The network type.
639
+ The network type of the instance.
640
640
  """
641
641
  return pulumi.get(self, "network_type")
642
642
 
@@ -644,7 +644,7 @@ class ShardingNetworkPrivateAddressNetworkAddress(dict):
644
644
  @pulumi.getter(name="nodeId")
645
645
  def node_id(self) -> Optional[str]:
646
646
  """
647
- The ID of the Shard node or the ConfigServer node.
647
+ The ID of the Shard node or ConfigServer node.
648
648
  """
649
649
  return pulumi.get(self, "node_id")
650
650
 
@@ -660,7 +660,7 @@ class ShardingNetworkPrivateAddressNetworkAddress(dict):
660
660
  @pulumi.getter
661
661
  def port(self) -> Optional[str]:
662
662
  """
663
- The port number.
663
+ The port that is used to connect to the instance.
664
664
  """
665
665
  return pulumi.get(self, "port")
666
666
 
@@ -684,7 +684,7 @@ class ShardingNetworkPrivateAddressNetworkAddress(dict):
684
684
  @pulumi.getter(name="vswitchId")
685
685
  def vswitch_id(self) -> Optional[str]:
686
686
  """
687
- The vSwitch ID of the VPC.
687
+ The ID of the vSwitch in the VPC.
688
688
  """
689
689
  return pulumi.get(self, "vswitch_id")
690
690