pulumi-alicloud 3.72.0__py3-none-any.whl → 3.72.0a1735837979__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 (129) hide show
  1. pulumi_alicloud/__init__.py +0 -75
  2. pulumi_alicloud/_inputs.py +0 -471
  3. pulumi_alicloud/adb/cluster.py +0 -68
  4. pulumi_alicloud/adb/db_cluster.py +0 -94
  5. pulumi_alicloud/adb/get_db_cluster_lake_versions.py +4 -39
  6. pulumi_alicloud/adb/outputs.py +2 -106
  7. pulumi_alicloud/cfg/get_aggregate_compliance_packs.py +2 -2
  8. pulumi_alicloud/cfg/get_aggregate_config_rules.py +4 -4
  9. pulumi_alicloud/cfg/get_aggregate_deliveries.py +2 -16
  10. pulumi_alicloud/cfg/get_aggregators.py +2 -2
  11. pulumi_alicloud/cfg/get_compliance_packs.py +2 -2
  12. pulumi_alicloud/cfg/get_configuration_recorders.py +6 -2
  13. pulumi_alicloud/cfg/get_deliveries.py +2 -11
  14. pulumi_alicloud/cfg/get_delivery_channels.py +4 -0
  15. pulumi_alicloud/cfg/get_rules.py +7 -3
  16. pulumi_alicloud/cfg/outputs.py +20 -28
  17. pulumi_alicloud/cloudfirewall/get_instance_members.py +2 -2
  18. pulumi_alicloud/cloudfirewall/get_instances.py +6 -23
  19. pulumi_alicloud/cloudfirewall/get_vpc_firewall_cens.py +2 -2
  20. pulumi_alicloud/cloudfirewall/get_vpc_firewall_control_policies.py +2 -32
  21. pulumi_alicloud/cloudfirewall/get_vpc_firewalls.py +2 -2
  22. pulumi_alicloud/cloudfirewall/instance.py +1 -1
  23. pulumi_alicloud/cloudfirewall/outputs.py +4 -16
  24. pulumi_alicloud/config/__init__.pyi +0 -2
  25. pulumi_alicloud/config/outputs.py +0 -284
  26. pulumi_alicloud/config/vars.py +0 -4
  27. pulumi_alicloud/cr/_inputs.py +0 -128
  28. pulumi_alicloud/cr/outputs.py +0 -93
  29. pulumi_alicloud/cr/registry_enterprise_instance.py +63 -86
  30. pulumi_alicloud/cs/registry_enterprise_sync_rule.py +38 -331
  31. pulumi_alicloud/dcdn/get_domains.py +2 -2
  32. pulumi_alicloud/dcdn/get_ipa_domains.py +2 -14
  33. pulumi_alicloud/dcdn/get_waf_domains.py +2 -5
  34. pulumi_alicloud/dcdn/get_waf_policies.py +2 -8
  35. pulumi_alicloud/dcdn/outputs.py +6 -6
  36. pulumi_alicloud/ddos/get_ddos_coo_domain_resources.py +2 -8
  37. pulumi_alicloud/ddos/get_ddos_coo_ports.py +4 -16
  38. pulumi_alicloud/ddos/outputs.py +4 -4
  39. pulumi_alicloud/ecs/_inputs.py +0 -9
  40. pulumi_alicloud/ecs/get_ecs_disks.py +14 -103
  41. pulumi_alicloud/ecs/outputs.py +36 -90
  42. pulumi_alicloud/esa/__init__.py +0 -3
  43. pulumi_alicloud/ess/get_scaling_configurations.py +10 -116
  44. pulumi_alicloud/ess/notification.py +3 -50
  45. pulumi_alicloud/ess/outputs.py +8 -104
  46. pulumi_alicloud/ess/scheduled_task.py +7 -7
  47. pulumi_alicloud/fc/v3_trigger.py +1 -1
  48. pulumi_alicloud/ga/get_accelerator_spare_ip_attachments.py +2 -11
  49. pulumi_alicloud/ga/get_acls.py +2 -14
  50. pulumi_alicloud/ga/get_additional_certificates.py +2 -11
  51. pulumi_alicloud/ga/get_bandwidth_packages.py +2 -14
  52. pulumi_alicloud/ga/get_basic_accelerate_ip_endpoint_relations.py +2 -2
  53. pulumi_alicloud/ga/get_basic_accelerate_ips.py +2 -2
  54. pulumi_alicloud/ga/get_basic_accelerators.py +2 -2
  55. pulumi_alicloud/ga/get_basic_endpoints.py +2 -2
  56. pulumi_alicloud/ga/get_custom_routing_endpoint_group_destinations.py +2 -2
  57. pulumi_alicloud/ga/get_custom_routing_endpoint_groups.py +2 -2
  58. pulumi_alicloud/ga/get_custom_routing_endpoint_traffic_policies.py +2 -2
  59. pulumi_alicloud/ga/get_custom_routing_endpoints.py +2 -2
  60. pulumi_alicloud/ga/get_custom_routing_port_mappings.py +2 -2
  61. pulumi_alicloud/ga/get_domains.py +2 -2
  62. pulumi_alicloud/ga/get_forwarding_rules.py +2 -8
  63. pulumi_alicloud/ga/get_ip_sets.py +2 -8
  64. pulumi_alicloud/ga/get_listeners.py +2 -11
  65. pulumi_alicloud/ga/outputs.py +32 -64
  66. pulumi_alicloud/get_msc_sub_contact_verification_message.py +2 -2
  67. pulumi_alicloud/get_msc_sub_contacts.py +2 -8
  68. pulumi_alicloud/get_msc_sub_subscriptions.py +2 -5
  69. pulumi_alicloud/get_msc_sub_webhooks.py +2 -8
  70. pulumi_alicloud/kms/key.py +28 -108
  71. pulumi_alicloud/kvstore/get_instances.py +3 -14
  72. pulumi_alicloud/kvstore/outputs.py +4 -48
  73. pulumi_alicloud/marketplace/order.py +2 -2
  74. pulumi_alicloud/mongodb/__init__.py +0 -1
  75. pulumi_alicloud/oss/__init__.py +0 -2
  76. pulumi_alicloud/oss/_inputs.py +0 -68
  77. pulumi_alicloud/oss/outputs.py +0 -74
  78. pulumi_alicloud/privatelink/get_service.py +2 -2
  79. pulumi_alicloud/privatelink/get_vpc_endpoint_connections.py +2 -14
  80. pulumi_alicloud/privatelink/get_vpc_endpoint_service_resources.py +2 -8
  81. pulumi_alicloud/privatelink/get_vpc_endpoint_service_users.py +2 -11
  82. pulumi_alicloud/privatelink/get_vpc_endpoint_zones.py +2 -11
  83. pulumi_alicloud/privatelink/get_vpc_endpoints.py +2 -23
  84. pulumi_alicloud/privatelink/outputs.py +6 -6
  85. pulumi_alicloud/provider.py +0 -20
  86. pulumi_alicloud/pulumi-plugin.json +1 -1
  87. pulumi_alicloud/ram/get_policies.py +8 -66
  88. pulumi_alicloud/rds/instance.py +14 -211
  89. pulumi_alicloud/resourcemanager/control_policy_attachment.py +28 -28
  90. pulumi_alicloud/resourcemanager/shared_resource.py +0 -7
  91. pulumi_alicloud/schedulerx/__init__.py +0 -3
  92. pulumi_alicloud/schedulerx/namespace.py +51 -64
  93. pulumi_alicloud/schedulerx/outputs.py +0 -425
  94. pulumi_alicloud/sddp/get_configs.py +2 -5
  95. pulumi_alicloud/sddp/get_data_limits.py +2 -11
  96. pulumi_alicloud/sddp/get_instances.py +2 -5
  97. pulumi_alicloud/sddp/get_rules.py +2 -29
  98. pulumi_alicloud/sddp/outputs.py +14 -14
  99. pulumi_alicloud/vpc/get_peer_connections.py +2 -17
  100. pulumi_alicloud/vpc/network.py +40 -293
  101. pulumi_alicloud/vpc/outputs.py +2 -2
  102. pulumi_alicloud/vpc/peer_connection.py +132 -239
  103. pulumi_alicloud/vpc/peer_connection_accepter.py +6 -85
  104. pulumi_alicloud/waf/domain.py +2 -2
  105. pulumi_alicloud/waf/get_certificates.py +2 -14
  106. pulumi_alicloud/waf/get_domains.py +4 -6
  107. pulumi_alicloud/waf/get_instances.py +2 -2
  108. pulumi_alicloud/waf/instance.py +64 -0
  109. pulumi_alicloud/waf/outputs.py +4 -2
  110. pulumi_alicloud/wafv3/get_instances.py +4 -10
  111. {pulumi_alicloud-3.72.0.dist-info → pulumi_alicloud-3.72.0a1735837979.dist-info}/METADATA +1 -1
  112. {pulumi_alicloud-3.72.0.dist-info → pulumi_alicloud-3.72.0a1735837979.dist-info}/RECORD +114 -129
  113. {pulumi_alicloud-3.72.0.dist-info → pulumi_alicloud-3.72.0a1735837979.dist-info}/WHEEL +1 -1
  114. pulumi_alicloud/apig/__init__.py +0 -12
  115. pulumi_alicloud/apig/_inputs.py +0 -263
  116. pulumi_alicloud/apig/environment.py +0 -317
  117. pulumi_alicloud/apig/gateway.py +0 -645
  118. pulumi_alicloud/apig/http_api.py +0 -465
  119. pulumi_alicloud/apig/outputs.py +0 -213
  120. pulumi_alicloud/esa/_inputs.py +0 -456
  121. pulumi_alicloud/esa/outputs.py +0 -321
  122. pulumi_alicloud/esa/record.py +0 -798
  123. pulumi_alicloud/mongodb/private_srv_network_address.py +0 -283
  124. pulumi_alicloud/oss/access_point.py +0 -463
  125. pulumi_alicloud/oss/bucket_worm.py +0 -327
  126. pulumi_alicloud/schedulerx/_inputs.py +0 -542
  127. pulumi_alicloud/schedulerx/app_group.py +0 -952
  128. pulumi_alicloud/schedulerx/job.py +0 -1454
  129. {pulumi_alicloud-3.72.0.dist-info → pulumi_alicloud-3.72.0a1735837979.dist-info}/top_level.txt +0 -0
@@ -61,11 +61,9 @@ class InstanceArgs:
61
61
  node_id: Optional[pulumi.Input[str]] = None,
62
62
  parameters: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceParameterArgs']]]] = None,
63
63
  period: Optional[pulumi.Input[int]] = None,
64
- pg_bouncer_enabled: Optional[pulumi.Input[bool]] = None,
65
64
  pg_hba_confs: Optional[pulumi.Input[Sequence[pulumi.Input['InstancePgHbaConfArgs']]]] = None,
66
65
  port: Optional[pulumi.Input[str]] = None,
67
66
  private_ip_address: Optional[pulumi.Input[str]] = None,
68
- recovery_model: Optional[pulumi.Input[str]] = None,
69
67
  released_keep_policy: Optional[pulumi.Input[str]] = None,
70
68
  replication_acl: Optional[pulumi.Input[str]] = None,
71
69
  resource_group_id: Optional[pulumi.Input[str]] = None,
@@ -89,7 +87,6 @@ class InstanceArgs:
89
87
  tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
90
88
  target_minor_version: Optional[pulumi.Input[str]] = None,
91
89
  tcp_connection_type: Optional[pulumi.Input[str]] = None,
92
- tde_encryption_key: Optional[pulumi.Input[str]] = None,
93
90
  tde_status: Optional[pulumi.Input[str]] = None,
94
91
  upgrade_db_instance_kernel_version: Optional[pulumi.Input[bool]] = None,
95
92
  upgrade_time: Optional[pulumi.Input[str]] = None,
@@ -205,11 +202,6 @@ class InstanceArgs:
205
202
  - Immediate: The change immediately takes effect.
206
203
  - MaintainTime: The change takes effect during the specified maintenance window. For more information, see ModifyDBInstanceMaintainTime.
207
204
  :param pulumi.Input[str] encryption_key: The key id of the KMS. Used for encrypting a disk if not null. Only for PostgreSQL, MySQL and SQLServer.
208
- When the instance is PostgreSQL, this parameter can be used to enable, modify, and disable cloud disk encryption.Value range:
209
- - ServiceKey: Enable disk encryption using the service-managed key (Default Service CMK) automatically generated by Alibaba Cloud RDS.
210
- - <EncryptionKey>: Use a custom key to enable cloud disk encryption or change the current key. For example: 494c98ce-f2b5-48ab-96ab-36c986b6****.
211
- - disabled: Turn off cloud disk encryption.
212
- > **NOTE:** This parameter is available when the instance runs MySQL.
213
205
  :param pulumi.Input[str] force: Specifies whether to enable forcible switching. Valid values:
214
206
  - Yes
215
207
  - No
@@ -220,6 +212,8 @@ class InstanceArgs:
220
212
  :param pulumi.Input[str] ha_config: The primary/secondary switchover mode of the instance. Default value: Auto. Valid values:
221
213
  - Auto: The system automatically switches over services from the primary to secondary instances in the event of a fault.
222
214
  - Manual: You must manually switch over services from the primary to secondary instances in the event of a fault.
215
+
216
+ > **NOTE:** If you set this parameter to Manual, you must specify the ManualHATime parameter.
223
217
  :param pulumi.Input[str] instance_charge_type: Valid values are `Prepaid`, `Postpaid`, `Serverless`, Default to `Postpaid`. Currently, the resource only supports PostPaid to PrePaid. For more information, see [Overview](https://www.alibabacloud.com/help/en/apsaradb-for-rds/latest/what-is-serverless?spm=a2c63.p38356.0.0.772a28cfTAGqIv).
224
218
  :param pulumi.Input[str] instance_name: The name of DB instance. It a string of 2 to 256 characters.
225
219
  :param pulumi.Input[str] maintain_time: Maintainable time period format of the instance: HH:MMZ-HH:MMZ (UTC time)
@@ -235,15 +229,9 @@ class InstanceArgs:
235
229
  :param pulumi.Input[Sequence[pulumi.Input['InstanceParameterArgs']]] parameters: Set of parameters needs to be set after DB instance was launched. Available parameters can refer to the latest docs [View database parameter templates](https://www.alibabacloud.com/help/doc-detail/26284.htm) . See `parameters` below.
236
230
  :param pulumi.Input[int] period: The duration that you will buy DB instance (in month). It is valid when instance_charge_type is `PrePaid`. Valid values: [1~9], 12, 24, 36.
237
231
  > **NOTE:** The attribute `period` is only used to create Subscription instance or modify the PayAsYouGo instance to Subscription. Once effect, it will not be modified that means running `pulumi up` will not effect the resource.
238
- :param pulumi.Input[bool] pg_bouncer_enabled: Modify the PgBouncer feature of the RDS PostgreSQL instance. Valid values:
239
- - true: enable.
240
- - false: disable.
241
232
  :param pulumi.Input[Sequence[pulumi.Input['InstancePgHbaConfArgs']]] pg_hba_confs: The configuration of [AD domain](https://www.alibabacloud.com/help/en/doc-detail/349288.htm) . See `pg_hba_conf` below.
242
233
  :param pulumi.Input[str] port: The private port of the database service. If you want to update public port, please use resource rds.Connection port.
243
234
  :param pulumi.Input[str] private_ip_address: The private IP address of the instance. The private IP address must be within the Classless Inter-Domain Routing (CIDR) block of the vSwitch that is specified by the VSwitchId parameter.
244
- :param pulumi.Input[str] recovery_model: Enable the Simple Recovery Model for an RDS SQL Server Instance.The Simple Recovery Model feature is only supported by the Basic Series of RDS SQL Server instances. Once this feature is enabled, it cannot be disabled.Valid values:
245
- - simple: Enable Simple Recovery.
246
- > **NOTE:** If you set this parameter to Manual, you must specify the ManualHATime parameter.
247
235
  :param pulumi.Input[str] released_keep_policy: The policy based on which ApsaraDB RDS retains archived backup files after the instance is released. Valid values:
248
236
  - None: No archived backup files are retained.
249
237
  - Lastest: Only the last archived backup file is retained.
@@ -310,9 +298,7 @@ class InstanceArgs:
310
298
  :param pulumi.Input[str] tcp_connection_type: The availability check method of the instance. Valid values:
311
299
  - **SHORT**: Alibaba Cloud uses short-lived connections to check the availability of the instance.
312
300
  - **LONG**: Alibaba Cloud uses persistent connections to check the availability of the instance.
313
- :param pulumi.Input[str] tde_encryption_key: The ID of the custom key.
314
301
  :param pulumi.Input[str] tde_status: The TDE(Transparent Data Encryption) status. After TDE is turned on, it cannot be turned off. See more [engine and engineVersion limitation](https://www.alibabacloud.com/help/zh/doc-detail/26256.htm).
315
- > **NOTE:** When creating an instance and enabling disk encryption, you can only use the Key ID; you cannot use the ServiceKey.
316
302
  :param pulumi.Input[bool] upgrade_db_instance_kernel_version: Whether to upgrade a minor version of the kernel. Valid values:
317
303
  - true: upgrade
318
304
  - false: not to upgrade
@@ -413,16 +399,12 @@ class InstanceArgs:
413
399
  pulumi.set(__self__, "parameters", parameters)
414
400
  if period is not None:
415
401
  pulumi.set(__self__, "period", period)
416
- if pg_bouncer_enabled is not None:
417
- pulumi.set(__self__, "pg_bouncer_enabled", pg_bouncer_enabled)
418
402
  if pg_hba_confs is not None:
419
403
  pulumi.set(__self__, "pg_hba_confs", pg_hba_confs)
420
404
  if port is not None:
421
405
  pulumi.set(__self__, "port", port)
422
406
  if private_ip_address is not None:
423
407
  pulumi.set(__self__, "private_ip_address", private_ip_address)
424
- if recovery_model is not None:
425
- pulumi.set(__self__, "recovery_model", recovery_model)
426
408
  if released_keep_policy is not None:
427
409
  pulumi.set(__self__, "released_keep_policy", released_keep_policy)
428
410
  if replication_acl is not None:
@@ -472,8 +454,6 @@ class InstanceArgs:
472
454
  pulumi.set(__self__, "target_minor_version", target_minor_version)
473
455
  if tcp_connection_type is not None:
474
456
  pulumi.set(__self__, "tcp_connection_type", tcp_connection_type)
475
- if tde_encryption_key is not None:
476
- pulumi.set(__self__, "tde_encryption_key", tde_encryption_key)
477
457
  if tde_status is not None:
478
458
  pulumi.set(__self__, "tde_status", tde_status)
479
459
  if upgrade_db_instance_kernel_version is not None:
@@ -890,11 +870,6 @@ class InstanceArgs:
890
870
  def encryption_key(self) -> Optional[pulumi.Input[str]]:
891
871
  """
892
872
  The key id of the KMS. Used for encrypting a disk if not null. Only for PostgreSQL, MySQL and SQLServer.
893
- When the instance is PostgreSQL, this parameter can be used to enable, modify, and disable cloud disk encryption.Value range:
894
- - ServiceKey: Enable disk encryption using the service-managed key (Default Service CMK) automatically generated by Alibaba Cloud RDS.
895
- - <EncryptionKey>: Use a custom key to enable cloud disk encryption or change the current key. For example: 494c98ce-f2b5-48ab-96ab-36c986b6****.
896
- - disabled: Turn off cloud disk encryption.
897
- > **NOTE:** This parameter is available when the instance runs MySQL.
898
873
  """
899
874
  return pulumi.get(self, "encryption_key")
900
875
 
@@ -949,6 +924,8 @@ class InstanceArgs:
949
924
  The primary/secondary switchover mode of the instance. Default value: Auto. Valid values:
950
925
  - Auto: The system automatically switches over services from the primary to secondary instances in the event of a fault.
951
926
  - Manual: You must manually switch over services from the primary to secondary instances in the event of a fault.
927
+
928
+ > **NOTE:** If you set this parameter to Manual, you must specify the ManualHATime parameter.
952
929
  """
953
930
  return pulumi.get(self, "ha_config")
954
931
 
@@ -1070,20 +1047,6 @@ class InstanceArgs:
1070
1047
  def period(self, value: Optional[pulumi.Input[int]]):
1071
1048
  pulumi.set(self, "period", value)
1072
1049
 
1073
- @property
1074
- @pulumi.getter(name="pgBouncerEnabled")
1075
- def pg_bouncer_enabled(self) -> Optional[pulumi.Input[bool]]:
1076
- """
1077
- Modify the PgBouncer feature of the RDS PostgreSQL instance. Valid values:
1078
- - true: enable.
1079
- - false: disable.
1080
- """
1081
- return pulumi.get(self, "pg_bouncer_enabled")
1082
-
1083
- @pg_bouncer_enabled.setter
1084
- def pg_bouncer_enabled(self, value: Optional[pulumi.Input[bool]]):
1085
- pulumi.set(self, "pg_bouncer_enabled", value)
1086
-
1087
1050
  @property
1088
1051
  @pulumi.getter(name="pgHbaConfs")
1089
1052
  def pg_hba_confs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['InstancePgHbaConfArgs']]]]:
@@ -1120,20 +1083,6 @@ class InstanceArgs:
1120
1083
  def private_ip_address(self, value: Optional[pulumi.Input[str]]):
1121
1084
  pulumi.set(self, "private_ip_address", value)
1122
1085
 
1123
- @property
1124
- @pulumi.getter(name="recoveryModel")
1125
- def recovery_model(self) -> Optional[pulumi.Input[str]]:
1126
- """
1127
- Enable the Simple Recovery Model for an RDS SQL Server Instance.The Simple Recovery Model feature is only supported by the Basic Series of RDS SQL Server instances. Once this feature is enabled, it cannot be disabled.Valid values:
1128
- - simple: Enable Simple Recovery.
1129
- > **NOTE:** If you set this parameter to Manual, you must specify the ManualHATime parameter.
1130
- """
1131
- return pulumi.get(self, "recovery_model")
1132
-
1133
- @recovery_model.setter
1134
- def recovery_model(self, value: Optional[pulumi.Input[str]]):
1135
- pulumi.set(self, "recovery_model", value)
1136
-
1137
1086
  @property
1138
1087
  @pulumi.getter(name="releasedKeepPolicy")
1139
1088
  def released_keep_policy(self) -> Optional[pulumi.Input[str]]:
@@ -1454,24 +1403,11 @@ class InstanceArgs:
1454
1403
  def tcp_connection_type(self, value: Optional[pulumi.Input[str]]):
1455
1404
  pulumi.set(self, "tcp_connection_type", value)
1456
1405
 
1457
- @property
1458
- @pulumi.getter(name="tdeEncryptionKey")
1459
- def tde_encryption_key(self) -> Optional[pulumi.Input[str]]:
1460
- """
1461
- The ID of the custom key.
1462
- """
1463
- return pulumi.get(self, "tde_encryption_key")
1464
-
1465
- @tde_encryption_key.setter
1466
- def tde_encryption_key(self, value: Optional[pulumi.Input[str]]):
1467
- pulumi.set(self, "tde_encryption_key", value)
1468
-
1469
1406
  @property
1470
1407
  @pulumi.getter(name="tdeStatus")
1471
1408
  def tde_status(self) -> Optional[pulumi.Input[str]]:
1472
1409
  """
1473
1410
  The TDE(Transparent Data Encryption) status. After TDE is turned on, it cannot be turned off. See more [engine and engineVersion limitation](https://www.alibabacloud.com/help/zh/doc-detail/26256.htm).
1474
- > **NOTE:** When creating an instance and enabling disk encryption, you can only use the Key ID; you cannot use the ServiceKey.
1475
1411
  """
1476
1412
  return pulumi.get(self, "tde_status")
1477
1413
 
@@ -1638,11 +1574,9 @@ class _InstanceState:
1638
1574
  node_id: Optional[pulumi.Input[str]] = None,
1639
1575
  parameters: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceParameterArgs']]]] = None,
1640
1576
  period: Optional[pulumi.Input[int]] = None,
1641
- pg_bouncer_enabled: Optional[pulumi.Input[bool]] = None,
1642
1577
  pg_hba_confs: Optional[pulumi.Input[Sequence[pulumi.Input['InstancePgHbaConfArgs']]]] = None,
1643
1578
  port: Optional[pulumi.Input[str]] = None,
1644
1579
  private_ip_address: Optional[pulumi.Input[str]] = None,
1645
- recovery_model: Optional[pulumi.Input[str]] = None,
1646
1580
  released_keep_policy: Optional[pulumi.Input[str]] = None,
1647
1581
  replication_acl: Optional[pulumi.Input[str]] = None,
1648
1582
  resource_group_id: Optional[pulumi.Input[str]] = None,
@@ -1668,7 +1602,6 @@ class _InstanceState:
1668
1602
  tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
1669
1603
  target_minor_version: Optional[pulumi.Input[str]] = None,
1670
1604
  tcp_connection_type: Optional[pulumi.Input[str]] = None,
1671
- tde_encryption_key: Optional[pulumi.Input[str]] = None,
1672
1605
  tde_status: Optional[pulumi.Input[str]] = None,
1673
1606
  upgrade_db_instance_kernel_version: Optional[pulumi.Input[bool]] = None,
1674
1607
  upgrade_time: Optional[pulumi.Input[str]] = None,
@@ -1759,11 +1692,6 @@ class _InstanceState:
1759
1692
  - Immediate: The change immediately takes effect.
1760
1693
  - MaintainTime: The change takes effect during the specified maintenance window. For more information, see ModifyDBInstanceMaintainTime.
1761
1694
  :param pulumi.Input[str] encryption_key: The key id of the KMS. Used for encrypting a disk if not null. Only for PostgreSQL, MySQL and SQLServer.
1762
- When the instance is PostgreSQL, this parameter can be used to enable, modify, and disable cloud disk encryption.Value range:
1763
- - ServiceKey: Enable disk encryption using the service-managed key (Default Service CMK) automatically generated by Alibaba Cloud RDS.
1764
- - <EncryptionKey>: Use a custom key to enable cloud disk encryption or change the current key. For example: 494c98ce-f2b5-48ab-96ab-36c986b6****.
1765
- - disabled: Turn off cloud disk encryption.
1766
- > **NOTE:** This parameter is available when the instance runs MySQL.
1767
1695
  :param pulumi.Input[str] engine: Database type. Value options: MySQL, SQLServer, PostgreSQL, MariaDB.
1768
1696
 
1769
1697
  > **NOTE:** When the 'engine_version' changes, it can be used as the target database version for the large version upgrade of RDS for MySQL instance.
@@ -1787,6 +1715,8 @@ class _InstanceState:
1787
1715
  :param pulumi.Input[str] ha_config: The primary/secondary switchover mode of the instance. Default value: Auto. Valid values:
1788
1716
  - Auto: The system automatically switches over services from the primary to secondary instances in the event of a fault.
1789
1717
  - Manual: You must manually switch over services from the primary to secondary instances in the event of a fault.
1718
+
1719
+ > **NOTE:** If you set this parameter to Manual, you must specify the ManualHATime parameter.
1790
1720
  :param pulumi.Input[str] instance_charge_type: Valid values are `Prepaid`, `Postpaid`, `Serverless`, Default to `Postpaid`. Currently, the resource only supports PostPaid to PrePaid. For more information, see [Overview](https://www.alibabacloud.com/help/en/apsaradb-for-rds/latest/what-is-serverless?spm=a2c63.p38356.0.0.772a28cfTAGqIv).
1791
1721
  :param pulumi.Input[str] instance_name: The name of DB instance. It a string of 2 to 256 characters.
1792
1722
  :param pulumi.Input[int] instance_storage: User-defined DB instance storage space. Value range:
@@ -1817,15 +1747,9 @@ class _InstanceState:
1817
1747
  :param pulumi.Input[Sequence[pulumi.Input['InstanceParameterArgs']]] parameters: Set of parameters needs to be set after DB instance was launched. Available parameters can refer to the latest docs [View database parameter templates](https://www.alibabacloud.com/help/doc-detail/26284.htm) . See `parameters` below.
1818
1748
  :param pulumi.Input[int] period: The duration that you will buy DB instance (in month). It is valid when instance_charge_type is `PrePaid`. Valid values: [1~9], 12, 24, 36.
1819
1749
  > **NOTE:** The attribute `period` is only used to create Subscription instance or modify the PayAsYouGo instance to Subscription. Once effect, it will not be modified that means running `pulumi up` will not effect the resource.
1820
- :param pulumi.Input[bool] pg_bouncer_enabled: Modify the PgBouncer feature of the RDS PostgreSQL instance. Valid values:
1821
- - true: enable.
1822
- - false: disable.
1823
1750
  :param pulumi.Input[Sequence[pulumi.Input['InstancePgHbaConfArgs']]] pg_hba_confs: The configuration of [AD domain](https://www.alibabacloud.com/help/en/doc-detail/349288.htm) . See `pg_hba_conf` below.
1824
1751
  :param pulumi.Input[str] port: The private port of the database service. If you want to update public port, please use resource rds.Connection port.
1825
1752
  :param pulumi.Input[str] private_ip_address: The private IP address of the instance. The private IP address must be within the Classless Inter-Domain Routing (CIDR) block of the vSwitch that is specified by the VSwitchId parameter.
1826
- :param pulumi.Input[str] recovery_model: Enable the Simple Recovery Model for an RDS SQL Server Instance.The Simple Recovery Model feature is only supported by the Basic Series of RDS SQL Server instances. Once this feature is enabled, it cannot be disabled.Valid values:
1827
- - simple: Enable Simple Recovery.
1828
- > **NOTE:** If you set this parameter to Manual, you must specify the ManualHATime parameter.
1829
1753
  :param pulumi.Input[str] released_keep_policy: The policy based on which ApsaraDB RDS retains archived backup files after the instance is released. Valid values:
1830
1754
  - None: No archived backup files are retained.
1831
1755
  - Lastest: Only the last archived backup file is retained.
@@ -1894,9 +1818,7 @@ class _InstanceState:
1894
1818
  :param pulumi.Input[str] tcp_connection_type: The availability check method of the instance. Valid values:
1895
1819
  - **SHORT**: Alibaba Cloud uses short-lived connections to check the availability of the instance.
1896
1820
  - **LONG**: Alibaba Cloud uses persistent connections to check the availability of the instance.
1897
- :param pulumi.Input[str] tde_encryption_key: The ID of the custom key.
1898
1821
  :param pulumi.Input[str] tde_status: The TDE(Transparent Data Encryption) status. After TDE is turned on, it cannot be turned off. See more [engine and engineVersion limitation](https://www.alibabacloud.com/help/zh/doc-detail/26256.htm).
1899
- > **NOTE:** When creating an instance and enabling disk encryption, you can only use the Key ID; you cannot use the ServiceKey.
1900
1822
  :param pulumi.Input[bool] upgrade_db_instance_kernel_version: Whether to upgrade a minor version of the kernel. Valid values:
1901
1823
  - true: upgrade
1902
1824
  - false: not to upgrade
@@ -2007,16 +1929,12 @@ class _InstanceState:
2007
1929
  pulumi.set(__self__, "parameters", parameters)
2008
1930
  if period is not None:
2009
1931
  pulumi.set(__self__, "period", period)
2010
- if pg_bouncer_enabled is not None:
2011
- pulumi.set(__self__, "pg_bouncer_enabled", pg_bouncer_enabled)
2012
1932
  if pg_hba_confs is not None:
2013
1933
  pulumi.set(__self__, "pg_hba_confs", pg_hba_confs)
2014
1934
  if port is not None:
2015
1935
  pulumi.set(__self__, "port", port)
2016
1936
  if private_ip_address is not None:
2017
1937
  pulumi.set(__self__, "private_ip_address", private_ip_address)
2018
- if recovery_model is not None:
2019
- pulumi.set(__self__, "recovery_model", recovery_model)
2020
1938
  if released_keep_policy is not None:
2021
1939
  pulumi.set(__self__, "released_keep_policy", released_keep_policy)
2022
1940
  if replication_acl is not None:
@@ -2070,8 +1988,6 @@ class _InstanceState:
2070
1988
  pulumi.set(__self__, "target_minor_version", target_minor_version)
2071
1989
  if tcp_connection_type is not None:
2072
1990
  pulumi.set(__self__, "tcp_connection_type", tcp_connection_type)
2073
- if tde_encryption_key is not None:
2074
- pulumi.set(__self__, "tde_encryption_key", tde_encryption_key)
2075
1991
  if tde_status is not None:
2076
1992
  pulumi.set(__self__, "tde_status", tde_status)
2077
1993
  if upgrade_db_instance_kernel_version is not None:
@@ -2452,11 +2368,6 @@ class _InstanceState:
2452
2368
  def encryption_key(self) -> Optional[pulumi.Input[str]]:
2453
2369
  """
2454
2370
  The key id of the KMS. Used for encrypting a disk if not null. Only for PostgreSQL, MySQL and SQLServer.
2455
- When the instance is PostgreSQL, this parameter can be used to enable, modify, and disable cloud disk encryption.Value range:
2456
- - ServiceKey: Enable disk encryption using the service-managed key (Default Service CMK) automatically generated by Alibaba Cloud RDS.
2457
- - <EncryptionKey>: Use a custom key to enable cloud disk encryption or change the current key. For example: 494c98ce-f2b5-48ab-96ab-36c986b6****.
2458
- - disabled: Turn off cloud disk encryption.
2459
- > **NOTE:** This parameter is available when the instance runs MySQL.
2460
2371
  """
2461
2372
  return pulumi.get(self, "encryption_key")
2462
2373
 
@@ -2546,6 +2457,8 @@ class _InstanceState:
2546
2457
  The primary/secondary switchover mode of the instance. Default value: Auto. Valid values:
2547
2458
  - Auto: The system automatically switches over services from the primary to secondary instances in the event of a fault.
2548
2459
  - Manual: You must manually switch over services from the primary to secondary instances in the event of a fault.
2460
+
2461
+ > **NOTE:** If you set this parameter to Manual, you must specify the ManualHATime parameter.
2549
2462
  """
2550
2463
  return pulumi.get(self, "ha_config")
2551
2464
 
@@ -2704,20 +2617,6 @@ class _InstanceState:
2704
2617
  def period(self, value: Optional[pulumi.Input[int]]):
2705
2618
  pulumi.set(self, "period", value)
2706
2619
 
2707
- @property
2708
- @pulumi.getter(name="pgBouncerEnabled")
2709
- def pg_bouncer_enabled(self) -> Optional[pulumi.Input[bool]]:
2710
- """
2711
- Modify the PgBouncer feature of the RDS PostgreSQL instance. Valid values:
2712
- - true: enable.
2713
- - false: disable.
2714
- """
2715
- return pulumi.get(self, "pg_bouncer_enabled")
2716
-
2717
- @pg_bouncer_enabled.setter
2718
- def pg_bouncer_enabled(self, value: Optional[pulumi.Input[bool]]):
2719
- pulumi.set(self, "pg_bouncer_enabled", value)
2720
-
2721
2620
  @property
2722
2621
  @pulumi.getter(name="pgHbaConfs")
2723
2622
  def pg_hba_confs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['InstancePgHbaConfArgs']]]]:
@@ -2754,20 +2653,6 @@ class _InstanceState:
2754
2653
  def private_ip_address(self, value: Optional[pulumi.Input[str]]):
2755
2654
  pulumi.set(self, "private_ip_address", value)
2756
2655
 
2757
- @property
2758
- @pulumi.getter(name="recoveryModel")
2759
- def recovery_model(self) -> Optional[pulumi.Input[str]]:
2760
- """
2761
- Enable the Simple Recovery Model for an RDS SQL Server Instance.The Simple Recovery Model feature is only supported by the Basic Series of RDS SQL Server instances. Once this feature is enabled, it cannot be disabled.Valid values:
2762
- - simple: Enable Simple Recovery.
2763
- > **NOTE:** If you set this parameter to Manual, you must specify the ManualHATime parameter.
2764
- """
2765
- return pulumi.get(self, "recovery_model")
2766
-
2767
- @recovery_model.setter
2768
- def recovery_model(self, value: Optional[pulumi.Input[str]]):
2769
- pulumi.set(self, "recovery_model", value)
2770
-
2771
2656
  @property
2772
2657
  @pulumi.getter(name="releasedKeepPolicy")
2773
2658
  def released_keep_policy(self) -> Optional[pulumi.Input[str]]:
@@ -3112,24 +2997,11 @@ class _InstanceState:
3112
2997
  def tcp_connection_type(self, value: Optional[pulumi.Input[str]]):
3113
2998
  pulumi.set(self, "tcp_connection_type", value)
3114
2999
 
3115
- @property
3116
- @pulumi.getter(name="tdeEncryptionKey")
3117
- def tde_encryption_key(self) -> Optional[pulumi.Input[str]]:
3118
- """
3119
- The ID of the custom key.
3120
- """
3121
- return pulumi.get(self, "tde_encryption_key")
3122
-
3123
- @tde_encryption_key.setter
3124
- def tde_encryption_key(self, value: Optional[pulumi.Input[str]]):
3125
- pulumi.set(self, "tde_encryption_key", value)
3126
-
3127
3000
  @property
3128
3001
  @pulumi.getter(name="tdeStatus")
3129
3002
  def tde_status(self) -> Optional[pulumi.Input[str]]:
3130
3003
  """
3131
3004
  The TDE(Transparent Data Encryption) status. After TDE is turned on, it cannot be turned off. See more [engine and engineVersion limitation](https://www.alibabacloud.com/help/zh/doc-detail/26256.htm).
3132
- > **NOTE:** When creating an instance and enabling disk encryption, you can only use the Key ID; you cannot use the ServiceKey.
3133
3005
  """
3134
3006
  return pulumi.get(self, "tde_status")
3135
3007
 
@@ -3295,11 +3167,9 @@ class Instance(pulumi.CustomResource):
3295
3167
  node_id: Optional[pulumi.Input[str]] = None,
3296
3168
  parameters: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InstanceParameterArgs', 'InstanceParameterArgsDict']]]]] = None,
3297
3169
  period: Optional[pulumi.Input[int]] = None,
3298
- pg_bouncer_enabled: Optional[pulumi.Input[bool]] = None,
3299
3170
  pg_hba_confs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InstancePgHbaConfArgs', 'InstancePgHbaConfArgsDict']]]]] = None,
3300
3171
  port: Optional[pulumi.Input[str]] = None,
3301
3172
  private_ip_address: Optional[pulumi.Input[str]] = None,
3302
- recovery_model: Optional[pulumi.Input[str]] = None,
3303
3173
  released_keep_policy: Optional[pulumi.Input[str]] = None,
3304
3174
  replication_acl: Optional[pulumi.Input[str]] = None,
3305
3175
  resource_group_id: Optional[pulumi.Input[str]] = None,
@@ -3323,7 +3193,6 @@ class Instance(pulumi.CustomResource):
3323
3193
  tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
3324
3194
  target_minor_version: Optional[pulumi.Input[str]] = None,
3325
3195
  tcp_connection_type: Optional[pulumi.Input[str]] = None,
3326
- tde_encryption_key: Optional[pulumi.Input[str]] = None,
3327
3196
  tde_status: Optional[pulumi.Input[str]] = None,
3328
3197
  upgrade_db_instance_kernel_version: Optional[pulumi.Input[bool]] = None,
3329
3198
  upgrade_time: Optional[pulumi.Input[str]] = None,
@@ -3421,11 +3290,6 @@ class Instance(pulumi.CustomResource):
3421
3290
  - Immediate: The change immediately takes effect.
3422
3291
  - MaintainTime: The change takes effect during the specified maintenance window. For more information, see ModifyDBInstanceMaintainTime.
3423
3292
  :param pulumi.Input[str] encryption_key: The key id of the KMS. Used for encrypting a disk if not null. Only for PostgreSQL, MySQL and SQLServer.
3424
- When the instance is PostgreSQL, this parameter can be used to enable, modify, and disable cloud disk encryption.Value range:
3425
- - ServiceKey: Enable disk encryption using the service-managed key (Default Service CMK) automatically generated by Alibaba Cloud RDS.
3426
- - <EncryptionKey>: Use a custom key to enable cloud disk encryption or change the current key. For example: 494c98ce-f2b5-48ab-96ab-36c986b6****.
3427
- - disabled: Turn off cloud disk encryption.
3428
- > **NOTE:** This parameter is available when the instance runs MySQL.
3429
3293
  :param pulumi.Input[str] engine: Database type. Value options: MySQL, SQLServer, PostgreSQL, MariaDB.
3430
3294
 
3431
3295
  > **NOTE:** When the 'engine_version' changes, it can be used as the target database version for the large version upgrade of RDS for MySQL instance.
@@ -3449,6 +3313,8 @@ class Instance(pulumi.CustomResource):
3449
3313
  :param pulumi.Input[str] ha_config: The primary/secondary switchover mode of the instance. Default value: Auto. Valid values:
3450
3314
  - Auto: The system automatically switches over services from the primary to secondary instances in the event of a fault.
3451
3315
  - Manual: You must manually switch over services from the primary to secondary instances in the event of a fault.
3316
+
3317
+ > **NOTE:** If you set this parameter to Manual, you must specify the ManualHATime parameter.
3452
3318
  :param pulumi.Input[str] instance_charge_type: Valid values are `Prepaid`, `Postpaid`, `Serverless`, Default to `Postpaid`. Currently, the resource only supports PostPaid to PrePaid. For more information, see [Overview](https://www.alibabacloud.com/help/en/apsaradb-for-rds/latest/what-is-serverless?spm=a2c63.p38356.0.0.772a28cfTAGqIv).
3453
3319
  :param pulumi.Input[str] instance_name: The name of DB instance. It a string of 2 to 256 characters.
3454
3320
  :param pulumi.Input[int] instance_storage: User-defined DB instance storage space. Value range:
@@ -3479,15 +3345,9 @@ class Instance(pulumi.CustomResource):
3479
3345
  :param pulumi.Input[Sequence[pulumi.Input[Union['InstanceParameterArgs', 'InstanceParameterArgsDict']]]] parameters: Set of parameters needs to be set after DB instance was launched. Available parameters can refer to the latest docs [View database parameter templates](https://www.alibabacloud.com/help/doc-detail/26284.htm) . See `parameters` below.
3480
3346
  :param pulumi.Input[int] period: The duration that you will buy DB instance (in month). It is valid when instance_charge_type is `PrePaid`. Valid values: [1~9], 12, 24, 36.
3481
3347
  > **NOTE:** The attribute `period` is only used to create Subscription instance or modify the PayAsYouGo instance to Subscription. Once effect, it will not be modified that means running `pulumi up` will not effect the resource.
3482
- :param pulumi.Input[bool] pg_bouncer_enabled: Modify the PgBouncer feature of the RDS PostgreSQL instance. Valid values:
3483
- - true: enable.
3484
- - false: disable.
3485
3348
  :param pulumi.Input[Sequence[pulumi.Input[Union['InstancePgHbaConfArgs', 'InstancePgHbaConfArgsDict']]]] pg_hba_confs: The configuration of [AD domain](https://www.alibabacloud.com/help/en/doc-detail/349288.htm) . See `pg_hba_conf` below.
3486
3349
  :param pulumi.Input[str] port: The private port of the database service. If you want to update public port, please use resource rds.Connection port.
3487
3350
  :param pulumi.Input[str] private_ip_address: The private IP address of the instance. The private IP address must be within the Classless Inter-Domain Routing (CIDR) block of the vSwitch that is specified by the VSwitchId parameter.
3488
- :param pulumi.Input[str] recovery_model: Enable the Simple Recovery Model for an RDS SQL Server Instance.The Simple Recovery Model feature is only supported by the Basic Series of RDS SQL Server instances. Once this feature is enabled, it cannot be disabled.Valid values:
3489
- - simple: Enable Simple Recovery.
3490
- > **NOTE:** If you set this parameter to Manual, you must specify the ManualHATime parameter.
3491
3351
  :param pulumi.Input[str] released_keep_policy: The policy based on which ApsaraDB RDS retains archived backup files after the instance is released. Valid values:
3492
3352
  - None: No archived backup files are retained.
3493
3353
  - Lastest: Only the last archived backup file is retained.
@@ -3554,9 +3414,7 @@ class Instance(pulumi.CustomResource):
3554
3414
  :param pulumi.Input[str] tcp_connection_type: The availability check method of the instance. Valid values:
3555
3415
  - **SHORT**: Alibaba Cloud uses short-lived connections to check the availability of the instance.
3556
3416
  - **LONG**: Alibaba Cloud uses persistent connections to check the availability of the instance.
3557
- :param pulumi.Input[str] tde_encryption_key: The ID of the custom key.
3558
3417
  :param pulumi.Input[str] tde_status: The TDE(Transparent Data Encryption) status. After TDE is turned on, it cannot be turned off. See more [engine and engineVersion limitation](https://www.alibabacloud.com/help/zh/doc-detail/26256.htm).
3559
- > **NOTE:** When creating an instance and enabling disk encryption, you can only use the Key ID; you cannot use the ServiceKey.
3560
3418
  :param pulumi.Input[bool] upgrade_db_instance_kernel_version: Whether to upgrade a minor version of the kernel. Valid values:
3561
3419
  - true: upgrade
3562
3420
  - false: not to upgrade
@@ -3651,11 +3509,9 @@ class Instance(pulumi.CustomResource):
3651
3509
  node_id: Optional[pulumi.Input[str]] = None,
3652
3510
  parameters: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InstanceParameterArgs', 'InstanceParameterArgsDict']]]]] = None,
3653
3511
  period: Optional[pulumi.Input[int]] = None,
3654
- pg_bouncer_enabled: Optional[pulumi.Input[bool]] = None,
3655
3512
  pg_hba_confs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InstancePgHbaConfArgs', 'InstancePgHbaConfArgsDict']]]]] = None,
3656
3513
  port: Optional[pulumi.Input[str]] = None,
3657
3514
  private_ip_address: Optional[pulumi.Input[str]] = None,
3658
- recovery_model: Optional[pulumi.Input[str]] = None,
3659
3515
  released_keep_policy: Optional[pulumi.Input[str]] = None,
3660
3516
  replication_acl: Optional[pulumi.Input[str]] = None,
3661
3517
  resource_group_id: Optional[pulumi.Input[str]] = None,
@@ -3679,7 +3535,6 @@ class Instance(pulumi.CustomResource):
3679
3535
  tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
3680
3536
  target_minor_version: Optional[pulumi.Input[str]] = None,
3681
3537
  tcp_connection_type: Optional[pulumi.Input[str]] = None,
3682
- tde_encryption_key: Optional[pulumi.Input[str]] = None,
3683
3538
  tde_status: Optional[pulumi.Input[str]] = None,
3684
3539
  upgrade_db_instance_kernel_version: Optional[pulumi.Input[bool]] = None,
3685
3540
  upgrade_time: Optional[pulumi.Input[str]] = None,
@@ -3746,11 +3601,9 @@ class Instance(pulumi.CustomResource):
3746
3601
  __props__.__dict__["node_id"] = node_id
3747
3602
  __props__.__dict__["parameters"] = parameters
3748
3603
  __props__.__dict__["period"] = period
3749
- __props__.__dict__["pg_bouncer_enabled"] = pg_bouncer_enabled
3750
3604
  __props__.__dict__["pg_hba_confs"] = pg_hba_confs
3751
3605
  __props__.__dict__["port"] = port
3752
3606
  __props__.__dict__["private_ip_address"] = private_ip_address
3753
- __props__.__dict__["recovery_model"] = recovery_model
3754
3607
  __props__.__dict__["released_keep_policy"] = released_keep_policy
3755
3608
  __props__.__dict__["replication_acl"] = replication_acl
3756
3609
  __props__.__dict__["resource_group_id"] = resource_group_id
@@ -3774,7 +3627,6 @@ class Instance(pulumi.CustomResource):
3774
3627
  __props__.__dict__["tags"] = tags
3775
3628
  __props__.__dict__["target_minor_version"] = target_minor_version
3776
3629
  __props__.__dict__["tcp_connection_type"] = tcp_connection_type
3777
- __props__.__dict__["tde_encryption_key"] = tde_encryption_key
3778
3630
  __props__.__dict__["tde_status"] = tde_status
3779
3631
  __props__.__dict__["upgrade_db_instance_kernel_version"] = upgrade_db_instance_kernel_version
3780
3632
  __props__.__dict__["upgrade_time"] = upgrade_time
@@ -3844,11 +3696,9 @@ class Instance(pulumi.CustomResource):
3844
3696
  node_id: Optional[pulumi.Input[str]] = None,
3845
3697
  parameters: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InstanceParameterArgs', 'InstanceParameterArgsDict']]]]] = None,
3846
3698
  period: Optional[pulumi.Input[int]] = None,
3847
- pg_bouncer_enabled: Optional[pulumi.Input[bool]] = None,
3848
3699
  pg_hba_confs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InstancePgHbaConfArgs', 'InstancePgHbaConfArgsDict']]]]] = None,
3849
3700
  port: Optional[pulumi.Input[str]] = None,
3850
3701
  private_ip_address: Optional[pulumi.Input[str]] = None,
3851
- recovery_model: Optional[pulumi.Input[str]] = None,
3852
3702
  released_keep_policy: Optional[pulumi.Input[str]] = None,
3853
3703
  replication_acl: Optional[pulumi.Input[str]] = None,
3854
3704
  resource_group_id: Optional[pulumi.Input[str]] = None,
@@ -3874,7 +3724,6 @@ class Instance(pulumi.CustomResource):
3874
3724
  tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
3875
3725
  target_minor_version: Optional[pulumi.Input[str]] = None,
3876
3726
  tcp_connection_type: Optional[pulumi.Input[str]] = None,
3877
- tde_encryption_key: Optional[pulumi.Input[str]] = None,
3878
3727
  tde_status: Optional[pulumi.Input[str]] = None,
3879
3728
  upgrade_db_instance_kernel_version: Optional[pulumi.Input[bool]] = None,
3880
3729
  upgrade_time: Optional[pulumi.Input[str]] = None,
@@ -3970,11 +3819,6 @@ class Instance(pulumi.CustomResource):
3970
3819
  - Immediate: The change immediately takes effect.
3971
3820
  - MaintainTime: The change takes effect during the specified maintenance window. For more information, see ModifyDBInstanceMaintainTime.
3972
3821
  :param pulumi.Input[str] encryption_key: The key id of the KMS. Used for encrypting a disk if not null. Only for PostgreSQL, MySQL and SQLServer.
3973
- When the instance is PostgreSQL, this parameter can be used to enable, modify, and disable cloud disk encryption.Value range:
3974
- - ServiceKey: Enable disk encryption using the service-managed key (Default Service CMK) automatically generated by Alibaba Cloud RDS.
3975
- - <EncryptionKey>: Use a custom key to enable cloud disk encryption or change the current key. For example: 494c98ce-f2b5-48ab-96ab-36c986b6****.
3976
- - disabled: Turn off cloud disk encryption.
3977
- > **NOTE:** This parameter is available when the instance runs MySQL.
3978
3822
  :param pulumi.Input[str] engine: Database type. Value options: MySQL, SQLServer, PostgreSQL, MariaDB.
3979
3823
 
3980
3824
  > **NOTE:** When the 'engine_version' changes, it can be used as the target database version for the large version upgrade of RDS for MySQL instance.
@@ -3998,6 +3842,8 @@ class Instance(pulumi.CustomResource):
3998
3842
  :param pulumi.Input[str] ha_config: The primary/secondary switchover mode of the instance. Default value: Auto. Valid values:
3999
3843
  - Auto: The system automatically switches over services from the primary to secondary instances in the event of a fault.
4000
3844
  - Manual: You must manually switch over services from the primary to secondary instances in the event of a fault.
3845
+
3846
+ > **NOTE:** If you set this parameter to Manual, you must specify the ManualHATime parameter.
4001
3847
  :param pulumi.Input[str] instance_charge_type: Valid values are `Prepaid`, `Postpaid`, `Serverless`, Default to `Postpaid`. Currently, the resource only supports PostPaid to PrePaid. For more information, see [Overview](https://www.alibabacloud.com/help/en/apsaradb-for-rds/latest/what-is-serverless?spm=a2c63.p38356.0.0.772a28cfTAGqIv).
4002
3848
  :param pulumi.Input[str] instance_name: The name of DB instance. It a string of 2 to 256 characters.
4003
3849
  :param pulumi.Input[int] instance_storage: User-defined DB instance storage space. Value range:
@@ -4028,15 +3874,9 @@ class Instance(pulumi.CustomResource):
4028
3874
  :param pulumi.Input[Sequence[pulumi.Input[Union['InstanceParameterArgs', 'InstanceParameterArgsDict']]]] parameters: Set of parameters needs to be set after DB instance was launched. Available parameters can refer to the latest docs [View database parameter templates](https://www.alibabacloud.com/help/doc-detail/26284.htm) . See `parameters` below.
4029
3875
  :param pulumi.Input[int] period: The duration that you will buy DB instance (in month). It is valid when instance_charge_type is `PrePaid`. Valid values: [1~9], 12, 24, 36.
4030
3876
  > **NOTE:** The attribute `period` is only used to create Subscription instance or modify the PayAsYouGo instance to Subscription. Once effect, it will not be modified that means running `pulumi up` will not effect the resource.
4031
- :param pulumi.Input[bool] pg_bouncer_enabled: Modify the PgBouncer feature of the RDS PostgreSQL instance. Valid values:
4032
- - true: enable.
4033
- - false: disable.
4034
3877
  :param pulumi.Input[Sequence[pulumi.Input[Union['InstancePgHbaConfArgs', 'InstancePgHbaConfArgsDict']]]] pg_hba_confs: The configuration of [AD domain](https://www.alibabacloud.com/help/en/doc-detail/349288.htm) . See `pg_hba_conf` below.
4035
3878
  :param pulumi.Input[str] port: The private port of the database service. If you want to update public port, please use resource rds.Connection port.
4036
3879
  :param pulumi.Input[str] private_ip_address: The private IP address of the instance. The private IP address must be within the Classless Inter-Domain Routing (CIDR) block of the vSwitch that is specified by the VSwitchId parameter.
4037
- :param pulumi.Input[str] recovery_model: Enable the Simple Recovery Model for an RDS SQL Server Instance.The Simple Recovery Model feature is only supported by the Basic Series of RDS SQL Server instances. Once this feature is enabled, it cannot be disabled.Valid values:
4038
- - simple: Enable Simple Recovery.
4039
- > **NOTE:** If you set this parameter to Manual, you must specify the ManualHATime parameter.
4040
3880
  :param pulumi.Input[str] released_keep_policy: The policy based on which ApsaraDB RDS retains archived backup files after the instance is released. Valid values:
4041
3881
  - None: No archived backup files are retained.
4042
3882
  - Lastest: Only the last archived backup file is retained.
@@ -4105,9 +3945,7 @@ class Instance(pulumi.CustomResource):
4105
3945
  :param pulumi.Input[str] tcp_connection_type: The availability check method of the instance. Valid values:
4106
3946
  - **SHORT**: Alibaba Cloud uses short-lived connections to check the availability of the instance.
4107
3947
  - **LONG**: Alibaba Cloud uses persistent connections to check the availability of the instance.
4108
- :param pulumi.Input[str] tde_encryption_key: The ID of the custom key.
4109
3948
  :param pulumi.Input[str] tde_status: The TDE(Transparent Data Encryption) status. After TDE is turned on, it cannot be turned off. See more [engine and engineVersion limitation](https://www.alibabacloud.com/help/zh/doc-detail/26256.htm).
4110
- > **NOTE:** When creating an instance and enabling disk encryption, you can only use the Key ID; you cannot use the ServiceKey.
4111
3949
  :param pulumi.Input[bool] upgrade_db_instance_kernel_version: Whether to upgrade a minor version of the kernel. Valid values:
4112
3950
  - true: upgrade
4113
3951
  - false: not to upgrade
@@ -4179,11 +4017,9 @@ class Instance(pulumi.CustomResource):
4179
4017
  __props__.__dict__["node_id"] = node_id
4180
4018
  __props__.__dict__["parameters"] = parameters
4181
4019
  __props__.__dict__["period"] = period
4182
- __props__.__dict__["pg_bouncer_enabled"] = pg_bouncer_enabled
4183
4020
  __props__.__dict__["pg_hba_confs"] = pg_hba_confs
4184
4021
  __props__.__dict__["port"] = port
4185
4022
  __props__.__dict__["private_ip_address"] = private_ip_address
4186
- __props__.__dict__["recovery_model"] = recovery_model
4187
4023
  __props__.__dict__["released_keep_policy"] = released_keep_policy
4188
4024
  __props__.__dict__["replication_acl"] = replication_acl
4189
4025
  __props__.__dict__["resource_group_id"] = resource_group_id
@@ -4209,7 +4045,6 @@ class Instance(pulumi.CustomResource):
4209
4045
  __props__.__dict__["tags"] = tags
4210
4046
  __props__.__dict__["target_minor_version"] = target_minor_version
4211
4047
  __props__.__dict__["tcp_connection_type"] = tcp_connection_type
4212
- __props__.__dict__["tde_encryption_key"] = tde_encryption_key
4213
4048
  __props__.__dict__["tde_status"] = tde_status
4214
4049
  __props__.__dict__["upgrade_db_instance_kernel_version"] = upgrade_db_instance_kernel_version
4215
4050
  __props__.__dict__["upgrade_time"] = upgrade_time
@@ -4479,11 +4314,6 @@ class Instance(pulumi.CustomResource):
4479
4314
  def encryption_key(self) -> pulumi.Output[Optional[str]]:
4480
4315
  """
4481
4316
  The key id of the KMS. Used for encrypting a disk if not null. Only for PostgreSQL, MySQL and SQLServer.
4482
- When the instance is PostgreSQL, this parameter can be used to enable, modify, and disable cloud disk encryption.Value range:
4483
- - ServiceKey: Enable disk encryption using the service-managed key (Default Service CMK) automatically generated by Alibaba Cloud RDS.
4484
- - <EncryptionKey>: Use a custom key to enable cloud disk encryption or change the current key. For example: 494c98ce-f2b5-48ab-96ab-36c986b6****.
4485
- - disabled: Turn off cloud disk encryption.
4486
- > **NOTE:** This parameter is available when the instance runs MySQL.
4487
4317
  """
4488
4318
  return pulumi.get(self, "encryption_key")
4489
4319
 
@@ -4549,6 +4379,8 @@ class Instance(pulumi.CustomResource):
4549
4379
  The primary/secondary switchover mode of the instance. Default value: Auto. Valid values:
4550
4380
  - Auto: The system automatically switches over services from the primary to secondary instances in the event of a fault.
4551
4381
  - Manual: You must manually switch over services from the primary to secondary instances in the event of a fault.
4382
+
4383
+ > **NOTE:** If you set this parameter to Manual, you must specify the ManualHATime parameter.
4552
4384
  """
4553
4385
  return pulumi.get(self, "ha_config")
4554
4386
 
@@ -4659,16 +4491,6 @@ class Instance(pulumi.CustomResource):
4659
4491
  """
4660
4492
  return pulumi.get(self, "period")
4661
4493
 
4662
- @property
4663
- @pulumi.getter(name="pgBouncerEnabled")
4664
- def pg_bouncer_enabled(self) -> pulumi.Output[Optional[bool]]:
4665
- """
4666
- Modify the PgBouncer feature of the RDS PostgreSQL instance. Valid values:
4667
- - true: enable.
4668
- - false: disable.
4669
- """
4670
- return pulumi.get(self, "pg_bouncer_enabled")
4671
-
4672
4494
  @property
4673
4495
  @pulumi.getter(name="pgHbaConfs")
4674
4496
  def pg_hba_confs(self) -> pulumi.Output[Sequence['outputs.InstancePgHbaConf']]:
@@ -4693,16 +4515,6 @@ class Instance(pulumi.CustomResource):
4693
4515
  """
4694
4516
  return pulumi.get(self, "private_ip_address")
4695
4517
 
4696
- @property
4697
- @pulumi.getter(name="recoveryModel")
4698
- def recovery_model(self) -> pulumi.Output[str]:
4699
- """
4700
- Enable the Simple Recovery Model for an RDS SQL Server Instance.The Simple Recovery Model feature is only supported by the Basic Series of RDS SQL Server instances. Once this feature is enabled, it cannot be disabled.Valid values:
4701
- - simple: Enable Simple Recovery.
4702
- > **NOTE:** If you set this parameter to Manual, you must specify the ManualHATime parameter.
4703
- """
4704
- return pulumi.get(self, "recovery_model")
4705
-
4706
4518
  @property
4707
4519
  @pulumi.getter(name="releasedKeepPolicy")
4708
4520
  def released_keep_policy(self) -> pulumi.Output[Optional[str]]:
@@ -4947,20 +4759,11 @@ class Instance(pulumi.CustomResource):
4947
4759
  """
4948
4760
  return pulumi.get(self, "tcp_connection_type")
4949
4761
 
4950
- @property
4951
- @pulumi.getter(name="tdeEncryptionKey")
4952
- def tde_encryption_key(self) -> pulumi.Output[Optional[str]]:
4953
- """
4954
- The ID of the custom key.
4955
- """
4956
- return pulumi.get(self, "tde_encryption_key")
4957
-
4958
4762
  @property
4959
4763
  @pulumi.getter(name="tdeStatus")
4960
4764
  def tde_status(self) -> pulumi.Output[str]:
4961
4765
  """
4962
4766
  The TDE(Transparent Data Encryption) status. After TDE is turned on, it cannot be turned off. See more [engine and engineVersion limitation](https://www.alibabacloud.com/help/zh/doc-detail/26256.htm).
4963
- > **NOTE:** When creating an instance and enabling disk encryption, you can only use the Key ID; you cannot use the ServiceKey.
4964
4767
  """
4965
4768
  return pulumi.get(self, "tde_status")
4966
4769