pulumi-alicloud 3.76.0a1743484854__py3-none-any.whl → 3.76.0a1744139894__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 (237) hide show
  1. pulumi_alicloud/__init__.py +271 -4
  2. pulumi_alicloud/_inputs.py +20 -0
  3. pulumi_alicloud/actiontrail/global_events_storage_region.py +2 -2
  4. pulumi_alicloud/adb/db_cluster_lake_version.py +458 -49
  5. pulumi_alicloud/alb/load_balancer_access_log_config_attachment.py +2 -2
  6. pulumi_alicloud/alb/server_group.py +2 -2
  7. pulumi_alicloud/alikafka/sasl_acl.py +7 -7
  8. pulumi_alicloud/apigateway/_inputs.py +134 -0
  9. pulumi_alicloud/apigateway/group.py +117 -5
  10. pulumi_alicloud/apigateway/instance.py +148 -7
  11. pulumi_alicloud/apigateway/outputs.py +107 -0
  12. pulumi_alicloud/arms/alert_contact.py +2 -2
  13. pulumi_alicloud/arms/alert_contact_group.py +2 -2
  14. pulumi_alicloud/arms/get_prometheus.py +2 -6
  15. pulumi_alicloud/arms/grafana_workspace.py +511 -69
  16. pulumi_alicloud/arms/outputs.py +18 -18
  17. pulumi_alicloud/arms/prometheus_alert_rule.py +2 -2
  18. pulumi_alicloud/arms/prometheus_monitoring.py +2 -2
  19. pulumi_alicloud/cdn/domain_new.py +2 -2
  20. pulumi_alicloud/cen/_inputs.py +6 -3
  21. pulumi_alicloud/cen/get_transit_router_vpn_attachments.py +131 -19
  22. pulumi_alicloud/cen/instance.py +101 -59
  23. pulumi_alicloud/cen/inter_region_traffic_qos_policy.py +126 -81
  24. pulumi_alicloud/cen/inter_region_traffic_qos_queue.py +93 -47
  25. pulumi_alicloud/cen/outputs.py +69 -26
  26. pulumi_alicloud/cen/transit_route_table_aggregation.py +171 -55
  27. pulumi_alicloud/cen/transit_router.py +127 -53
  28. pulumi_alicloud/cen/transit_router_cidr.py +53 -35
  29. pulumi_alicloud/cen/transit_router_ecr_attachment.py +2 -2
  30. pulumi_alicloud/cen/transit_router_peer_attachment.py +360 -143
  31. pulumi_alicloud/cen/transit_router_route_table_association.py +33 -43
  32. pulumi_alicloud/cen/transit_router_vpn_attachment.py +438 -109
  33. pulumi_alicloud/clickhouse/db_cluster.py +179 -6
  34. pulumi_alicloud/clickhouseenterprisedbcluster/__init__.py +14 -0
  35. pulumi_alicloud/clickhouseenterprisedbcluster/_inputs.py +167 -0
  36. pulumi_alicloud/clickhouseenterprisedbcluster/account.py +554 -0
  37. pulumi_alicloud/clickhouseenterprisedbcluster/backup_policy.py +407 -0
  38. pulumi_alicloud/clickhouseenterprisedbcluster/click_house_enterprise_db_cluster.py +641 -0
  39. pulumi_alicloud/clickhouseenterprisedbcluster/outputs.py +147 -0
  40. pulumi_alicloud/clickhouseenterprisedbcluster/public_endpoint.py +364 -0
  41. pulumi_alicloud/clickhouseenterprisedbcluster/security_ip.py +357 -0
  42. pulumi_alicloud/cloudsso/scim_server_credential.py +178 -11
  43. pulumi_alicloud/config/outputs.py +12 -0
  44. pulumi_alicloud/cs/__init__.py +1 -0
  45. pulumi_alicloud/cs/get_kubernetes_node_pools.py +147 -0
  46. pulumi_alicloud/cs/managed_kubernetes.py +127 -24
  47. pulumi_alicloud/cs/node_pool.py +42 -42
  48. pulumi_alicloud/cs/outputs.py +1782 -4
  49. pulumi_alicloud/databasefilesystem/service_linked_role.py +2 -2
  50. pulumi_alicloud/dataworks/data_source.py +2 -2
  51. pulumi_alicloud/dataworks/data_source_shared_rule.py +2 -2
  52. pulumi_alicloud/dataworks/di_alarm_rule.py +2 -2
  53. pulumi_alicloud/dataworks/di_job.py +2 -2
  54. pulumi_alicloud/dataworks/dw_resource_group.py +2 -2
  55. pulumi_alicloud/dataworks/network.py +2 -2
  56. pulumi_alicloud/dataworks/project.py +2 -2
  57. pulumi_alicloud/dataworks/project_member.py +2 -2
  58. pulumi_alicloud/dbs/backup_plan.py +2 -2
  59. pulumi_alicloud/ddos/bgp_policy.py +2 -2
  60. pulumi_alicloud/eais/__init__.py +2 -0
  61. pulumi_alicloud/eais/_inputs.py +75 -0
  62. pulumi_alicloud/eais/client_instance_attachment.py +408 -0
  63. pulumi_alicloud/eais/instance.py +365 -118
  64. pulumi_alicloud/eais/outputs.py +32 -0
  65. pulumi_alicloud/ebs/disk_replica_group.py +512 -30
  66. pulumi_alicloud/ebs/disk_replica_pair.py +443 -113
  67. pulumi_alicloud/ebs/enterprise_snapshot_policy.py +2 -2
  68. pulumi_alicloud/ebs/enterprise_snapshot_policy_attachment.py +2 -2
  69. pulumi_alicloud/ecp/instance.py +2 -2
  70. pulumi_alicloud/ecp/key_pair.py +4 -4
  71. pulumi_alicloud/ecs/_inputs.py +33 -0
  72. pulumi_alicloud/ecs/disk.py +1 -1
  73. pulumi_alicloud/ecs/ecs_disk.py +1 -1
  74. pulumi_alicloud/ecs/ecs_launch_template.py +23 -23
  75. pulumi_alicloud/ecs/instance.py +1 -1
  76. pulumi_alicloud/ecs/outputs.py +26 -2
  77. pulumi_alicloud/eflo/__init__.py +5 -0
  78. pulumi_alicloud/eflo/_inputs.py +1717 -0
  79. pulumi_alicloud/eflo/cluster.py +935 -0
  80. pulumi_alicloud/eflo/invocation.py +1114 -0
  81. pulumi_alicloud/eflo/node.py +1013 -0
  82. pulumi_alicloud/eflo/node_group.py +1101 -0
  83. pulumi_alicloud/eflo/outputs.py +1366 -0
  84. pulumi_alicloud/ens/eip_instance_attachment.py +2 -2
  85. pulumi_alicloud/ens/image.py +81 -34
  86. pulumi_alicloud/esa/__init__.py +4 -0
  87. pulumi_alicloud/esa/_inputs.py +640 -18
  88. pulumi_alicloud/esa/cache_reserve_instance.py +522 -0
  89. pulumi_alicloud/esa/cache_rule.py +193 -179
  90. pulumi_alicloud/esa/certificate.py +99 -92
  91. pulumi_alicloud/esa/compression_rule.py +42 -28
  92. pulumi_alicloud/esa/edge_container_app.py +972 -0
  93. pulumi_alicloud/esa/edge_container_app_record.py +376 -0
  94. pulumi_alicloud/esa/http_request_header_modification_rule.py +56 -42
  95. pulumi_alicloud/esa/http_response_header_modification_rule.py +35 -56
  96. pulumi_alicloud/esa/https_application_configuration.py +42 -28
  97. pulumi_alicloud/esa/https_basic_configuration.py +56 -42
  98. pulumi_alicloud/esa/image_transform.py +42 -28
  99. pulumi_alicloud/esa/kv_namespace.py +11 -11
  100. pulumi_alicloud/esa/list.py +28 -28
  101. pulumi_alicloud/esa/network_optimization.py +56 -126
  102. pulumi_alicloud/esa/origin_pool.py +19 -19
  103. pulumi_alicloud/esa/origin_rule.py +67 -39
  104. pulumi_alicloud/esa/outputs.py +536 -12
  105. pulumi_alicloud/esa/page.py +28 -49
  106. pulumi_alicloud/esa/rate_plan_instance.py +86 -159
  107. pulumi_alicloud/esa/redirect_rule.py +42 -28
  108. pulumi_alicloud/esa/rewrite_url_rule.py +49 -63
  109. pulumi_alicloud/esa/site.py +67 -123
  110. pulumi_alicloud/esa/site_delivery_task.py +841 -0
  111. pulumi_alicloud/esa/waiting_room.py +269 -319
  112. pulumi_alicloud/esa/waiting_room_event.py +291 -305
  113. pulumi_alicloud/esa/waiting_room_rule.py +46 -53
  114. pulumi_alicloud/ess/_inputs.py +155 -0
  115. pulumi_alicloud/ess/outputs.py +128 -0
  116. pulumi_alicloud/ess/scaling_group.py +237 -2
  117. pulumi_alicloud/ess/scaling_rule.py +143 -2
  118. pulumi_alicloud/expressconnect/router_grant_association.py +2 -2
  119. pulumi_alicloud/expressconnect/virtual_border_router.py +4 -4
  120. pulumi_alicloud/gpdb/hadoop_data_source.py +2 -2
  121. pulumi_alicloud/gpdb/jdbc_data_source.py +2 -2
  122. pulumi_alicloud/gpdb/remote_adb_data_source.py +6 -6
  123. pulumi_alicloud/gpdb/streaming_data_source.py +2 -2
  124. pulumi_alicloud/gpdb/streaming_job.py +2 -2
  125. pulumi_alicloud/ims/oidc_provider.py +24 -13
  126. pulumi_alicloud/kvstore/account.py +9 -9
  127. pulumi_alicloud/kvstore/connection.py +2 -2
  128. pulumi_alicloud/kvstore/get_instance_classes.py +2 -2
  129. pulumi_alicloud/kvstore/get_instance_engines.py +2 -2
  130. pulumi_alicloud/kvstore/instance.py +7 -7
  131. pulumi_alicloud/kvstore/outputs.py +2 -2
  132. pulumi_alicloud/live/caster.py +2 -2
  133. pulumi_alicloud/maxcompute/__init__.py +1 -0
  134. pulumi_alicloud/maxcompute/_inputs.py +232 -3
  135. pulumi_alicloud/maxcompute/outputs.py +183 -2
  136. pulumi_alicloud/maxcompute/project.py +2 -2
  137. pulumi_alicloud/maxcompute/quota.py +438 -0
  138. pulumi_alicloud/nas/mount_target.py +149 -54
  139. pulumi_alicloud/nlb/__init__.py +1 -0
  140. pulumi_alicloud/nlb/_inputs.py +43 -6
  141. pulumi_alicloud/nlb/load_balancer.py +212 -24
  142. pulumi_alicloud/nlb/load_balancer_zone_shifted_attachment.py +397 -0
  143. pulumi_alicloud/nlb/outputs.py +30 -4
  144. pulumi_alicloud/nlb/server_group_server_attachment.py +118 -65
  145. pulumi_alicloud/oss/__init__.py +1 -0
  146. pulumi_alicloud/oss/_inputs.py +20 -0
  147. pulumi_alicloud/oss/access_point.py +2 -2
  148. pulumi_alicloud/oss/bucket_cname.py +2 -2
  149. pulumi_alicloud/oss/bucket_cors.py +2 -2
  150. pulumi_alicloud/oss/bucket_style.py +402 -0
  151. pulumi_alicloud/oss/bucket_website.py +2 -2
  152. pulumi_alicloud/oss/outputs.py +14 -0
  153. pulumi_alicloud/pai/service.py +59 -67
  154. pulumi_alicloud/polardb/cluster.py +75 -28
  155. pulumi_alicloud/privatelink/vpc_endpoint_zone.py +1 -1
  156. pulumi_alicloud/pulumi-plugin.json +1 -1
  157. pulumi_alicloud/ram/__init__.py +3 -0
  158. pulumi_alicloud/ram/_inputs.py +9 -9
  159. pulumi_alicloud/ram/access_key.py +77 -31
  160. pulumi_alicloud/ram/account_alias.py +18 -45
  161. pulumi_alicloud/ram/get_system_policys.py +189 -0
  162. pulumi_alicloud/ram/group.py +156 -35
  163. pulumi_alicloud/ram/group_policy_attachment.py +51 -29
  164. pulumi_alicloud/ram/login_profile.py +92 -38
  165. pulumi_alicloud/ram/outputs.py +91 -6
  166. pulumi_alicloud/ram/password_policy.py +779 -0
  167. pulumi_alicloud/ram/policy.py +199 -88
  168. pulumi_alicloud/ram/role_policy_attachment.py +51 -29
  169. pulumi_alicloud/ram/saml_provider.py +44 -37
  170. pulumi_alicloud/ram/user_group_attachment.py +273 -0
  171. pulumi_alicloud/ram/user_policy_attachment.py +49 -27
  172. pulumi_alicloud/rds/__init__.py +1 -0
  173. pulumi_alicloud/rds/custom_disk.py +1053 -0
  174. pulumi_alicloud/rds/instance.py +110 -14
  175. pulumi_alicloud/redis/tair_instance.py +14 -14
  176. pulumi_alicloud/resourcemanager/__init__.py +1 -0
  177. pulumi_alicloud/resourcemanager/_inputs.py +53 -0
  178. pulumi_alicloud/resourcemanager/auto_grouping_rule.py +796 -0
  179. pulumi_alicloud/resourcemanager/outputs.py +50 -0
  180. pulumi_alicloud/resourcemanager/shared_resource.py +7 -0
  181. pulumi_alicloud/rocketmq/__init__.py +1 -1
  182. pulumi_alicloud/rocketmq/_inputs.py +146 -4
  183. pulumi_alicloud/rocketmq/account.py +452 -0
  184. pulumi_alicloud/rocketmq/acl.py +473 -47
  185. pulumi_alicloud/rocketmq/client_user.py +8 -2
  186. pulumi_alicloud/rocketmq/consumer_group.py +121 -24
  187. pulumi_alicloud/rocketmq/dnat_entry.py +8 -2
  188. pulumi_alicloud/rocketmq/outputs.py +113 -4
  189. pulumi_alicloud/rocketmq/qos.py +8 -2
  190. pulumi_alicloud/rocketmq/qos_car.py +10 -4
  191. pulumi_alicloud/rocketmq/qos_policy.py +6 -0
  192. pulumi_alicloud/rocketmq/rocket_mq_instance.py +136 -7
  193. pulumi_alicloud/rocketmq/rocket_mq_topic.py +121 -24
  194. pulumi_alicloud/rocketmq/snat_entry.py +8 -2
  195. pulumi_alicloud/sag/__init__.py +8 -0
  196. pulumi_alicloud/sag/acl.py +200 -0
  197. pulumi_alicloud/{rocketmq → sag}/acl_rule.py +7 -7
  198. pulumi_alicloud/sag/client_user.py +560 -0
  199. pulumi_alicloud/sag/dnat_entry.py +512 -0
  200. pulumi_alicloud/sag/get_acls.py +2 -2
  201. pulumi_alicloud/sag/qos.py +202 -0
  202. pulumi_alicloud/sag/qos_car.py +654 -0
  203. pulumi_alicloud/sag/qos_policy.py +659 -0
  204. pulumi_alicloud/sag/snat_entry.py +313 -0
  205. pulumi_alicloud/securitycenter/group.py +2 -2
  206. pulumi_alicloud/selectdb/db_instance.py +60 -11
  207. pulumi_alicloud/slb/server_group_server_attachment.py +101 -111
  208. pulumi_alicloud/sls/oss_export_sink.py +2 -2
  209. pulumi_alicloud/threatdetection/__init__.py +3 -0
  210. pulumi_alicloud/threatdetection/anti_brute_force_rule.py +41 -65
  211. pulumi_alicloud/threatdetection/asset_bind.py +209 -0
  212. pulumi_alicloud/threatdetection/asset_selection_config.py +258 -0
  213. pulumi_alicloud/threatdetection/instance.py +271 -54
  214. pulumi_alicloud/threatdetection/log_meta.py +351 -0
  215. pulumi_alicloud/vpc/__init__.py +1 -0
  216. pulumi_alicloud/vpc/_inputs.py +281 -0
  217. pulumi_alicloud/vpc/gateway_endpoint.py +85 -27
  218. pulumi_alicloud/vpc/get_ipam_ipam_pool_allocations.py +2 -2
  219. pulumi_alicloud/vpc/get_ipam_ipam_pool_cidrs.py +2 -2
  220. pulumi_alicloud/vpc/get_ipam_ipam_pools.py +2 -2
  221. pulumi_alicloud/vpc/get_ipam_ipam_scopes.py +2 -2
  222. pulumi_alicloud/vpc/get_ipam_ipams.py +2 -2
  223. pulumi_alicloud/vpc/ipv6_address.py +85 -5
  224. pulumi_alicloud/vpc/outputs.py +232 -0
  225. pulumi_alicloud/vpc/peer_connection.py +84 -42
  226. pulumi_alicloud/vpc/peer_connection_accepter.py +7 -21
  227. pulumi_alicloud/vpc/route_table.py +100 -45
  228. pulumi_alicloud/vpc/vpc_route_entry.py +724 -0
  229. pulumi_alicloud/vpn/_inputs.py +716 -71
  230. pulumi_alicloud/vpn/gateway_vpn_attachment.py +622 -128
  231. pulumi_alicloud/vpn/get_gateway_vpn_attachments.py +20 -63
  232. pulumi_alicloud/vpn/ipsec_server.py +2 -2
  233. pulumi_alicloud/vpn/outputs.py +1963 -998
  234. {pulumi_alicloud-3.76.0a1743484854.dist-info → pulumi_alicloud-3.76.0a1744139894.dist-info}/METADATA +1 -1
  235. {pulumi_alicloud-3.76.0a1743484854.dist-info → pulumi_alicloud-3.76.0a1744139894.dist-info}/RECORD +237 -197
  236. {pulumi_alicloud-3.76.0a1743484854.dist-info → pulumi_alicloud-3.76.0a1744139894.dist-info}/WHEEL +0 -0
  237. {pulumi_alicloud-3.76.0a1743484854.dist-info → pulumi_alicloud-3.76.0a1744139894.dist-info}/top_level.txt +0 -0
@@ -60,6 +60,7 @@ class InstanceArgs:
60
60
  modify_mode: Optional[pulumi.Input[str]] = None,
61
61
  monitoring_period: Optional[pulumi.Input[int]] = None,
62
62
  node_id: Optional[pulumi.Input[str]] = None,
63
+ optimized_writes: Optional[pulumi.Input[str]] = None,
63
64
  parameters: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceParameterArgs']]]] = None,
64
65
  period: Optional[pulumi.Input[int]] = None,
65
66
  pg_bouncer_enabled: Optional[pulumi.Input[bool]] = None,
@@ -212,7 +213,7 @@ class InstanceArgs:
212
213
  :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.
213
214
  When the instance is PostgreSQL, this parameter can be used to enable, modify, and disable cloud disk encryption.Value range:
214
215
  - ServiceKey: Enable disk encryption using the service-managed key (Default Service CMK) automatically generated by Alibaba Cloud RDS.
215
- - <EncryptionKey>: Use a custom key to enable cloud disk encryption or change the current key. For example: 494c98ce-f2b5-48ab-96ab-36c986b6****.
216
+ - <Key ID>: Use a custom key to enable cloud disk encryption or change the current key. For example: 494c98ce-f2b5-48ab-96ab-36c986b6****.
216
217
  - disabled: Turn off cloud disk encryption.
217
218
  > **NOTE:** This parameter is available when the instance runs MySQL.
218
219
  :param pulumi.Input[str] force: Specifies whether to enable forcible switching. Valid values:
@@ -237,6 +238,9 @@ class InstanceArgs:
237
238
  - Delete: Delete IP addresses and CIDR blocks that are specified in the SecurityIps parameter from the IP address whitelist. You must retain at least one IP address or CIDR block.
238
239
  :param pulumi.Input[int] monitoring_period: The monitoring frequency in seconds. Valid values are 5, 10, 60, 300. Defaults to 300.
239
240
  :param pulumi.Input[str] node_id: The globally unique identifier (GUID) of the secondary instance. You can call the DescribeDBInstanceHAConfig operation to query the GUID of the secondary instance.
241
+ :param pulumi.Input[str] optimized_writes: Write optimization function switch. supported engine type: `MySQL`. Valid values:
242
+ - optimized: Enable
243
+ - none: Disable
240
244
  :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.
241
245
  :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.
242
246
  > **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.
@@ -318,10 +322,15 @@ class InstanceArgs:
318
322
  - **LONG**: Alibaba Cloud uses persistent connections to check the availability of the instance.
319
323
  :param pulumi.Input[str] tde_encryption_key: The ID of the custom key.
320
324
  :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).
321
- > **NOTE:** When creating an instance and enabling disk encryption, you can only use the Key ID; you cannot use the ServiceKey.
325
+
326
+ > **NOTE:** When creating an instance and enabling disk encryption, the value of encryption_key can only be a Key ID; it cannot be a ServiceKey. After the instance is created, you can manage the disk encryption using: ServiceKey, Key ID, or disabled.
322
327
  :param pulumi.Input[bool] upgrade_db_instance_kernel_version: Whether to upgrade a minor version of the kernel. Valid values:
323
328
  - true: upgrade
324
329
  - false: not to upgrade
330
+
331
+ > **NOTE:** Database Engine and Version: Supports only MySQL 5.7 or 8.0 instances.
332
+ > **NOTE:** Storage Type: Supports only ESSD cloud disks and general-purpose cloud disks.
333
+ > **NOTE:** Activation Stage: Supports only during instance creation or when enabling write optimization features for existing (high-availability/cluster series) instances.
325
334
  :param pulumi.Input[str] upgrade_time: The method to update the minor engine version. Default value: Immediate. It is valid only when `target_minor_version` is changed. Valid values:
326
335
  - Immediate: The minor engine version is immediately updated.
327
336
  - MaintainTime: The minor engine version is updated during the maintenance window. For more information about how to change the maintenance window, see ModifyDBInstanceMaintainTime.
@@ -417,6 +426,8 @@ class InstanceArgs:
417
426
  pulumi.set(__self__, "monitoring_period", monitoring_period)
418
427
  if node_id is not None:
419
428
  pulumi.set(__self__, "node_id", node_id)
429
+ if optimized_writes is not None:
430
+ pulumi.set(__self__, "optimized_writes", optimized_writes)
420
431
  if parameters is not None:
421
432
  pulumi.set(__self__, "parameters", parameters)
422
433
  if period is not None:
@@ -915,7 +926,7 @@ class InstanceArgs:
915
926
  The key id of the KMS. Used for encrypting a disk if not null. Only for PostgreSQL, MySQL and SQLServer.
916
927
  When the instance is PostgreSQL, this parameter can be used to enable, modify, and disable cloud disk encryption.Value range:
917
928
  - ServiceKey: Enable disk encryption using the service-managed key (Default Service CMK) automatically generated by Alibaba Cloud RDS.
918
- - <EncryptionKey>: Use a custom key to enable cloud disk encryption or change the current key. For example: 494c98ce-f2b5-48ab-96ab-36c986b6****.
929
+ - <Key ID>: Use a custom key to enable cloud disk encryption or change the current key. For example: 494c98ce-f2b5-48ab-96ab-36c986b6****.
919
930
  - disabled: Turn off cloud disk encryption.
920
931
  > **NOTE:** This parameter is available when the instance runs MySQL.
921
932
  """
@@ -1068,6 +1079,20 @@ class InstanceArgs:
1068
1079
  def node_id(self, value: Optional[pulumi.Input[str]]):
1069
1080
  pulumi.set(self, "node_id", value)
1070
1081
 
1082
+ @property
1083
+ @pulumi.getter(name="optimizedWrites")
1084
+ def optimized_writes(self) -> Optional[pulumi.Input[str]]:
1085
+ """
1086
+ Write optimization function switch. supported engine type: `MySQL`. Valid values:
1087
+ - optimized: Enable
1088
+ - none: Disable
1089
+ """
1090
+ return pulumi.get(self, "optimized_writes")
1091
+
1092
+ @optimized_writes.setter
1093
+ def optimized_writes(self, value: Optional[pulumi.Input[str]]):
1094
+ pulumi.set(self, "optimized_writes", value)
1095
+
1071
1096
  @property
1072
1097
  @pulumi.getter
1073
1098
  def parameters(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['InstanceParameterArgs']]]]:
@@ -1495,7 +1520,8 @@ class InstanceArgs:
1495
1520
  def tde_status(self) -> Optional[pulumi.Input[str]]:
1496
1521
  """
1497
1522
  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).
1498
- > **NOTE:** When creating an instance and enabling disk encryption, you can only use the Key ID; you cannot use the ServiceKey.
1523
+
1524
+ > **NOTE:** When creating an instance and enabling disk encryption, the value of encryption_key can only be a Key ID; it cannot be a ServiceKey. After the instance is created, you can manage the disk encryption using: ServiceKey, Key ID, or disabled.
1499
1525
  """
1500
1526
  return pulumi.get(self, "tde_status")
1501
1527
 
@@ -1511,6 +1537,10 @@ class InstanceArgs:
1511
1537
  Whether to upgrade a minor version of the kernel. Valid values:
1512
1538
  - true: upgrade
1513
1539
  - false: not to upgrade
1540
+
1541
+ > **NOTE:** Database Engine and Version: Supports only MySQL 5.7 or 8.0 instances.
1542
+ > **NOTE:** Storage Type: Supports only ESSD cloud disks and general-purpose cloud disks.
1543
+ > **NOTE:** Activation Stage: Supports only during instance creation or when enabling write optimization features for existing (high-availability/cluster series) instances.
1514
1544
  """
1515
1545
  return pulumi.get(self, "upgrade_db_instance_kernel_version")
1516
1546
 
@@ -1661,6 +1691,7 @@ class _InstanceState:
1661
1691
  modify_mode: Optional[pulumi.Input[str]] = None,
1662
1692
  monitoring_period: Optional[pulumi.Input[int]] = None,
1663
1693
  node_id: Optional[pulumi.Input[str]] = None,
1694
+ optimized_writes: Optional[pulumi.Input[str]] = None,
1664
1695
  parameters: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceParameterArgs']]]] = None,
1665
1696
  period: Optional[pulumi.Input[int]] = None,
1666
1697
  pg_bouncer_enabled: Optional[pulumi.Input[bool]] = None,
@@ -1790,7 +1821,7 @@ class _InstanceState:
1790
1821
  :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.
1791
1822
  When the instance is PostgreSQL, this parameter can be used to enable, modify, and disable cloud disk encryption.Value range:
1792
1823
  - ServiceKey: Enable disk encryption using the service-managed key (Default Service CMK) automatically generated by Alibaba Cloud RDS.
1793
- - <EncryptionKey>: Use a custom key to enable cloud disk encryption or change the current key. For example: 494c98ce-f2b5-48ab-96ab-36c986b6****.
1824
+ - <Key ID>: Use a custom key to enable cloud disk encryption or change the current key. For example: 494c98ce-f2b5-48ab-96ab-36c986b6****.
1794
1825
  - disabled: Turn off cloud disk encryption.
1795
1826
  > **NOTE:** This parameter is available when the instance runs MySQL.
1796
1827
  :param pulumi.Input[str] engine: Database type. Value options: MySQL, SQLServer, PostgreSQL, MariaDB.
@@ -1843,6 +1874,9 @@ class _InstanceState:
1843
1874
  - Delete: Delete IP addresses and CIDR blocks that are specified in the SecurityIps parameter from the IP address whitelist. You must retain at least one IP address or CIDR block.
1844
1875
  :param pulumi.Input[int] monitoring_period: The monitoring frequency in seconds. Valid values are 5, 10, 60, 300. Defaults to 300.
1845
1876
  :param pulumi.Input[str] node_id: The globally unique identifier (GUID) of the secondary instance. You can call the DescribeDBInstanceHAConfig operation to query the GUID of the secondary instance.
1877
+ :param pulumi.Input[str] optimized_writes: Write optimization function switch. supported engine type: `MySQL`. Valid values:
1878
+ - optimized: Enable
1879
+ - none: Disable
1846
1880
  :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.
1847
1881
  :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.
1848
1882
  > **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.
@@ -1926,10 +1960,15 @@ class _InstanceState:
1926
1960
  - **LONG**: Alibaba Cloud uses persistent connections to check the availability of the instance.
1927
1961
  :param pulumi.Input[str] tde_encryption_key: The ID of the custom key.
1928
1962
  :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).
1929
- > **NOTE:** When creating an instance and enabling disk encryption, you can only use the Key ID; you cannot use the ServiceKey.
1963
+
1964
+ > **NOTE:** When creating an instance and enabling disk encryption, the value of encryption_key can only be a Key ID; it cannot be a ServiceKey. After the instance is created, you can manage the disk encryption using: ServiceKey, Key ID, or disabled.
1930
1965
  :param pulumi.Input[bool] upgrade_db_instance_kernel_version: Whether to upgrade a minor version of the kernel. Valid values:
1931
1966
  - true: upgrade
1932
1967
  - false: not to upgrade
1968
+
1969
+ > **NOTE:** Database Engine and Version: Supports only MySQL 5.7 or 8.0 instances.
1970
+ > **NOTE:** Storage Type: Supports only ESSD cloud disks and general-purpose cloud disks.
1971
+ > **NOTE:** Activation Stage: Supports only during instance creation or when enabling write optimization features for existing (high-availability/cluster series) instances.
1933
1972
  :param pulumi.Input[str] upgrade_time: The method to update the minor engine version. Default value: Immediate. It is valid only when `target_minor_version` is changed. Valid values:
1934
1973
  - Immediate: The minor engine version is immediately updated.
1935
1974
  - MaintainTime: The minor engine version is updated during the maintenance window. For more information about how to change the maintenance window, see ModifyDBInstanceMaintainTime.
@@ -2035,6 +2074,8 @@ class _InstanceState:
2035
2074
  pulumi.set(__self__, "monitoring_period", monitoring_period)
2036
2075
  if node_id is not None:
2037
2076
  pulumi.set(__self__, "node_id", node_id)
2077
+ if optimized_writes is not None:
2078
+ pulumi.set(__self__, "optimized_writes", optimized_writes)
2038
2079
  if parameters is not None:
2039
2080
  pulumi.set(__self__, "parameters", parameters)
2040
2081
  if period is not None:
@@ -2501,7 +2542,7 @@ class _InstanceState:
2501
2542
  The key id of the KMS. Used for encrypting a disk if not null. Only for PostgreSQL, MySQL and SQLServer.
2502
2543
  When the instance is PostgreSQL, this parameter can be used to enable, modify, and disable cloud disk encryption.Value range:
2503
2544
  - ServiceKey: Enable disk encryption using the service-managed key (Default Service CMK) automatically generated by Alibaba Cloud RDS.
2504
- - <EncryptionKey>: Use a custom key to enable cloud disk encryption or change the current key. For example: 494c98ce-f2b5-48ab-96ab-36c986b6****.
2545
+ - <Key ID>: Use a custom key to enable cloud disk encryption or change the current key. For example: 494c98ce-f2b5-48ab-96ab-36c986b6****.
2505
2546
  - disabled: Turn off cloud disk encryption.
2506
2547
  > **NOTE:** This parameter is available when the instance runs MySQL.
2507
2548
  """
@@ -2726,6 +2767,20 @@ class _InstanceState:
2726
2767
  def node_id(self, value: Optional[pulumi.Input[str]]):
2727
2768
  pulumi.set(self, "node_id", value)
2728
2769
 
2770
+ @property
2771
+ @pulumi.getter(name="optimizedWrites")
2772
+ def optimized_writes(self) -> Optional[pulumi.Input[str]]:
2773
+ """
2774
+ Write optimization function switch. supported engine type: `MySQL`. Valid values:
2775
+ - optimized: Enable
2776
+ - none: Disable
2777
+ """
2778
+ return pulumi.get(self, "optimized_writes")
2779
+
2780
+ @optimized_writes.setter
2781
+ def optimized_writes(self, value: Optional[pulumi.Input[str]]):
2782
+ pulumi.set(self, "optimized_writes", value)
2783
+
2729
2784
  @property
2730
2785
  @pulumi.getter
2731
2786
  def parameters(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['InstanceParameterArgs']]]]:
@@ -3177,7 +3232,8 @@ class _InstanceState:
3177
3232
  def tde_status(self) -> Optional[pulumi.Input[str]]:
3178
3233
  """
3179
3234
  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).
3180
- > **NOTE:** When creating an instance and enabling disk encryption, you can only use the Key ID; you cannot use the ServiceKey.
3235
+
3236
+ > **NOTE:** When creating an instance and enabling disk encryption, the value of encryption_key can only be a Key ID; it cannot be a ServiceKey. After the instance is created, you can manage the disk encryption using: ServiceKey, Key ID, or disabled.
3181
3237
  """
3182
3238
  return pulumi.get(self, "tde_status")
3183
3239
 
@@ -3193,6 +3249,10 @@ class _InstanceState:
3193
3249
  Whether to upgrade a minor version of the kernel. Valid values:
3194
3250
  - true: upgrade
3195
3251
  - false: not to upgrade
3252
+
3253
+ > **NOTE:** Database Engine and Version: Supports only MySQL 5.7 or 8.0 instances.
3254
+ > **NOTE:** Storage Type: Supports only ESSD cloud disks and general-purpose cloud disks.
3255
+ > **NOTE:** Activation Stage: Supports only during instance creation or when enabling write optimization features for existing (high-availability/cluster series) instances.
3196
3256
  """
3197
3257
  return pulumi.get(self, "upgrade_db_instance_kernel_version")
3198
3258
 
@@ -3342,6 +3402,7 @@ class Instance(pulumi.CustomResource):
3342
3402
  modify_mode: Optional[pulumi.Input[str]] = None,
3343
3403
  monitoring_period: Optional[pulumi.Input[int]] = None,
3344
3404
  node_id: Optional[pulumi.Input[str]] = None,
3405
+ optimized_writes: Optional[pulumi.Input[str]] = None,
3345
3406
  parameters: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InstanceParameterArgs', 'InstanceParameterArgsDict']]]]] = None,
3346
3407
  period: Optional[pulumi.Input[int]] = None,
3347
3408
  pg_bouncer_enabled: Optional[pulumi.Input[bool]] = None,
@@ -3476,7 +3537,7 @@ class Instance(pulumi.CustomResource):
3476
3537
  :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.
3477
3538
  When the instance is PostgreSQL, this parameter can be used to enable, modify, and disable cloud disk encryption.Value range:
3478
3539
  - ServiceKey: Enable disk encryption using the service-managed key (Default Service CMK) automatically generated by Alibaba Cloud RDS.
3479
- - <EncryptionKey>: Use a custom key to enable cloud disk encryption or change the current key. For example: 494c98ce-f2b5-48ab-96ab-36c986b6****.
3540
+ - <Key ID>: Use a custom key to enable cloud disk encryption or change the current key. For example: 494c98ce-f2b5-48ab-96ab-36c986b6****.
3480
3541
  - disabled: Turn off cloud disk encryption.
3481
3542
  > **NOTE:** This parameter is available when the instance runs MySQL.
3482
3543
  :param pulumi.Input[str] engine: Database type. Value options: MySQL, SQLServer, PostgreSQL, MariaDB.
@@ -3529,6 +3590,9 @@ class Instance(pulumi.CustomResource):
3529
3590
  - Delete: Delete IP addresses and CIDR blocks that are specified in the SecurityIps parameter from the IP address whitelist. You must retain at least one IP address or CIDR block.
3530
3591
  :param pulumi.Input[int] monitoring_period: The monitoring frequency in seconds. Valid values are 5, 10, 60, 300. Defaults to 300.
3531
3592
  :param pulumi.Input[str] node_id: The globally unique identifier (GUID) of the secondary instance. You can call the DescribeDBInstanceHAConfig operation to query the GUID of the secondary instance.
3593
+ :param pulumi.Input[str] optimized_writes: Write optimization function switch. supported engine type: `MySQL`. Valid values:
3594
+ - optimized: Enable
3595
+ - none: Disable
3532
3596
  :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.
3533
3597
  :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.
3534
3598
  > **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.
@@ -3610,10 +3674,15 @@ class Instance(pulumi.CustomResource):
3610
3674
  - **LONG**: Alibaba Cloud uses persistent connections to check the availability of the instance.
3611
3675
  :param pulumi.Input[str] tde_encryption_key: The ID of the custom key.
3612
3676
  :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).
3613
- > **NOTE:** When creating an instance and enabling disk encryption, you can only use the Key ID; you cannot use the ServiceKey.
3677
+
3678
+ > **NOTE:** When creating an instance and enabling disk encryption, the value of encryption_key can only be a Key ID; it cannot be a ServiceKey. After the instance is created, you can manage the disk encryption using: ServiceKey, Key ID, or disabled.
3614
3679
  :param pulumi.Input[bool] upgrade_db_instance_kernel_version: Whether to upgrade a minor version of the kernel. Valid values:
3615
3680
  - true: upgrade
3616
3681
  - false: not to upgrade
3682
+
3683
+ > **NOTE:** Database Engine and Version: Supports only MySQL 5.7 or 8.0 instances.
3684
+ > **NOTE:** Storage Type: Supports only ESSD cloud disks and general-purpose cloud disks.
3685
+ > **NOTE:** Activation Stage: Supports only during instance creation or when enabling write optimization features for existing (high-availability/cluster series) instances.
3617
3686
  :param pulumi.Input[str] upgrade_time: The method to update the minor engine version. Default value: Immediate. It is valid only when `target_minor_version` is changed. Valid values:
3618
3687
  - Immediate: The minor engine version is immediately updated.
3619
3688
  - MaintainTime: The minor engine version is updated during the maintenance window. For more information about how to change the maintenance window, see ModifyDBInstanceMaintainTime.
@@ -3704,6 +3773,7 @@ class Instance(pulumi.CustomResource):
3704
3773
  modify_mode: Optional[pulumi.Input[str]] = None,
3705
3774
  monitoring_period: Optional[pulumi.Input[int]] = None,
3706
3775
  node_id: Optional[pulumi.Input[str]] = None,
3776
+ optimized_writes: Optional[pulumi.Input[str]] = None,
3707
3777
  parameters: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InstanceParameterArgs', 'InstanceParameterArgsDict']]]]] = None,
3708
3778
  period: Optional[pulumi.Input[int]] = None,
3709
3779
  pg_bouncer_enabled: Optional[pulumi.Input[bool]] = None,
@@ -3800,6 +3870,7 @@ class Instance(pulumi.CustomResource):
3800
3870
  __props__.__dict__["modify_mode"] = modify_mode
3801
3871
  __props__.__dict__["monitoring_period"] = monitoring_period
3802
3872
  __props__.__dict__["node_id"] = node_id
3873
+ __props__.__dict__["optimized_writes"] = optimized_writes
3803
3874
  __props__.__dict__["parameters"] = parameters
3804
3875
  __props__.__dict__["period"] = period
3805
3876
  __props__.__dict__["pg_bouncer_enabled"] = pg_bouncer_enabled
@@ -3899,6 +3970,7 @@ class Instance(pulumi.CustomResource):
3899
3970
  modify_mode: Optional[pulumi.Input[str]] = None,
3900
3971
  monitoring_period: Optional[pulumi.Input[int]] = None,
3901
3972
  node_id: Optional[pulumi.Input[str]] = None,
3973
+ optimized_writes: Optional[pulumi.Input[str]] = None,
3902
3974
  parameters: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InstanceParameterArgs', 'InstanceParameterArgsDict']]]]] = None,
3903
3975
  period: Optional[pulumi.Input[int]] = None,
3904
3976
  pg_bouncer_enabled: Optional[pulumi.Input[bool]] = None,
@@ -4033,7 +4105,7 @@ class Instance(pulumi.CustomResource):
4033
4105
  :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.
4034
4106
  When the instance is PostgreSQL, this parameter can be used to enable, modify, and disable cloud disk encryption.Value range:
4035
4107
  - ServiceKey: Enable disk encryption using the service-managed key (Default Service CMK) automatically generated by Alibaba Cloud RDS.
4036
- - <EncryptionKey>: Use a custom key to enable cloud disk encryption or change the current key. For example: 494c98ce-f2b5-48ab-96ab-36c986b6****.
4108
+ - <Key ID>: Use a custom key to enable cloud disk encryption or change the current key. For example: 494c98ce-f2b5-48ab-96ab-36c986b6****.
4037
4109
  - disabled: Turn off cloud disk encryption.
4038
4110
  > **NOTE:** This parameter is available when the instance runs MySQL.
4039
4111
  :param pulumi.Input[str] engine: Database type. Value options: MySQL, SQLServer, PostgreSQL, MariaDB.
@@ -4086,6 +4158,9 @@ class Instance(pulumi.CustomResource):
4086
4158
  - Delete: Delete IP addresses and CIDR blocks that are specified in the SecurityIps parameter from the IP address whitelist. You must retain at least one IP address or CIDR block.
4087
4159
  :param pulumi.Input[int] monitoring_period: The monitoring frequency in seconds. Valid values are 5, 10, 60, 300. Defaults to 300.
4088
4160
  :param pulumi.Input[str] node_id: The globally unique identifier (GUID) of the secondary instance. You can call the DescribeDBInstanceHAConfig operation to query the GUID of the secondary instance.
4161
+ :param pulumi.Input[str] optimized_writes: Write optimization function switch. supported engine type: `MySQL`. Valid values:
4162
+ - optimized: Enable
4163
+ - none: Disable
4089
4164
  :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.
4090
4165
  :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.
4091
4166
  > **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.
@@ -4169,10 +4244,15 @@ class Instance(pulumi.CustomResource):
4169
4244
  - **LONG**: Alibaba Cloud uses persistent connections to check the availability of the instance.
4170
4245
  :param pulumi.Input[str] tde_encryption_key: The ID of the custom key.
4171
4246
  :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).
4172
- > **NOTE:** When creating an instance and enabling disk encryption, you can only use the Key ID; you cannot use the ServiceKey.
4247
+
4248
+ > **NOTE:** When creating an instance and enabling disk encryption, the value of encryption_key can only be a Key ID; it cannot be a ServiceKey. After the instance is created, you can manage the disk encryption using: ServiceKey, Key ID, or disabled.
4173
4249
  :param pulumi.Input[bool] upgrade_db_instance_kernel_version: Whether to upgrade a minor version of the kernel. Valid values:
4174
4250
  - true: upgrade
4175
4251
  - false: not to upgrade
4252
+
4253
+ > **NOTE:** Database Engine and Version: Supports only MySQL 5.7 or 8.0 instances.
4254
+ > **NOTE:** Storage Type: Supports only ESSD cloud disks and general-purpose cloud disks.
4255
+ > **NOTE:** Activation Stage: Supports only during instance creation or when enabling write optimization features for existing (high-availability/cluster series) instances.
4176
4256
  :param pulumi.Input[str] upgrade_time: The method to update the minor engine version. Default value: Immediate. It is valid only when `target_minor_version` is changed. Valid values:
4177
4257
  - Immediate: The minor engine version is immediately updated.
4178
4258
  - MaintainTime: The minor engine version is updated during the maintenance window. For more information about how to change the maintenance window, see ModifyDBInstanceMaintainTime.
@@ -4240,6 +4320,7 @@ class Instance(pulumi.CustomResource):
4240
4320
  __props__.__dict__["modify_mode"] = modify_mode
4241
4321
  __props__.__dict__["monitoring_period"] = monitoring_period
4242
4322
  __props__.__dict__["node_id"] = node_id
4323
+ __props__.__dict__["optimized_writes"] = optimized_writes
4243
4324
  __props__.__dict__["parameters"] = parameters
4244
4325
  __props__.__dict__["period"] = period
4245
4326
  __props__.__dict__["pg_bouncer_enabled"] = pg_bouncer_enabled
@@ -4555,7 +4636,7 @@ class Instance(pulumi.CustomResource):
4555
4636
  The key id of the KMS. Used for encrypting a disk if not null. Only for PostgreSQL, MySQL and SQLServer.
4556
4637
  When the instance is PostgreSQL, this parameter can be used to enable, modify, and disable cloud disk encryption.Value range:
4557
4638
  - ServiceKey: Enable disk encryption using the service-managed key (Default Service CMK) automatically generated by Alibaba Cloud RDS.
4558
- - <EncryptionKey>: Use a custom key to enable cloud disk encryption or change the current key. For example: 494c98ce-f2b5-48ab-96ab-36c986b6****.
4639
+ - <Key ID>: Use a custom key to enable cloud disk encryption or change the current key. For example: 494c98ce-f2b5-48ab-96ab-36c986b6****.
4559
4640
  - disabled: Turn off cloud disk encryption.
4560
4641
  > **NOTE:** This parameter is available when the instance runs MySQL.
4561
4642
  """
@@ -4716,6 +4797,16 @@ class Instance(pulumi.CustomResource):
4716
4797
  """
4717
4798
  return pulumi.get(self, "node_id")
4718
4799
 
4800
+ @property
4801
+ @pulumi.getter(name="optimizedWrites")
4802
+ def optimized_writes(self) -> pulumi.Output[str]:
4803
+ """
4804
+ Write optimization function switch. supported engine type: `MySQL`. Valid values:
4805
+ - optimized: Enable
4806
+ - none: Disable
4807
+ """
4808
+ return pulumi.get(self, "optimized_writes")
4809
+
4719
4810
  @property
4720
4811
  @pulumi.getter
4721
4812
  def parameters(self) -> pulumi.Output[Sequence['outputs.InstanceParameter']]:
@@ -5035,7 +5126,8 @@ class Instance(pulumi.CustomResource):
5035
5126
  def tde_status(self) -> pulumi.Output[str]:
5036
5127
  """
5037
5128
  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).
5038
- > **NOTE:** When creating an instance and enabling disk encryption, you can only use the Key ID; you cannot use the ServiceKey.
5129
+
5130
+ > **NOTE:** When creating an instance and enabling disk encryption, the value of encryption_key can only be a Key ID; it cannot be a ServiceKey. After the instance is created, you can manage the disk encryption using: ServiceKey, Key ID, or disabled.
5039
5131
  """
5040
5132
  return pulumi.get(self, "tde_status")
5041
5133
 
@@ -5047,6 +5139,10 @@ class Instance(pulumi.CustomResource):
5047
5139
  Whether to upgrade a minor version of the kernel. Valid values:
5048
5140
  - true: upgrade
5049
5141
  - false: not to upgrade
5142
+
5143
+ > **NOTE:** Database Engine and Version: Supports only MySQL 5.7 or 8.0 instances.
5144
+ > **NOTE:** Storage Type: Supports only ESSD cloud disks and general-purpose cloud disks.
5145
+ > **NOTE:** Activation Stage: Supports only during instance creation or when enabling write optimization features for existing (high-availability/cluster series) instances.
5050
5146
  """
5051
5147
  return pulumi.get(self, "upgrade_db_instance_kernel_version")
5052
5148
 
@@ -102,8 +102,8 @@ class TairInstanceArgs:
102
102
  :param pulumi.Input[str] param_no_loose_sentinel_password_free_commands: After sentinel mode and the# no_loose_sentinel-password-free-access parameter are enabled, you can use this parameter to add additional secret-free command lists (empty by default). After setting, you can execute the corresponding command on any connection without secret, please operate carefully. Commands are written in lowercase letters, and multiple commands are separated by commas (,). See https://help.aliyun.com/zh/redis/user-guide/parameter-support for details
103
103
  :param pulumi.Input[str] param_repl_mode: The value is semisync or async. The default value is async.
104
104
 
105
- The default data synchronization mode is asynchronous replication. To modify the data synchronization mode, refer to https://www.alibabacloud.com/help/en/redis/user-guide/modify-the-synchronization-mode-of-a-persistent-memory-optimized-instance
106
- :param pulumi.Input[str] param_semisync_repl_timeout: The degradation threshold time of the semi-synchronous replication mode. This parameter value is required only when semi-synchronous replication is enabled. The unit is milliseconds, and the range is 10ms to 60000ms. The default value is 500ms. Please refer to: https://www.alibabacloud.com/help/en/redis/user-guide/modify-the-synchronization-mode-of-a-persistent-memory-optimized-instance
105
+ The default data synchronization mode is asynchronous replication. To modify the data synchronization mode, refer to https://www.alibabacloud.com/help/en/redis/user-guide/modify-the-synchronization-mode-of-a-persistent-memory-optimized-instance.
106
+ :param pulumi.Input[str] param_semisync_repl_timeout: The degradation threshold time of the semi-synchronous replication mode. This parameter value is required only when semi-synchronous replication is enabled. The unit is milliseconds, and the range is 10ms to 60000ms. The default value is 500ms. Please refer to: https://www.alibabacloud.com/help/en/redis/user-guide/modify-the-synchronization-mode-of-a-persistent-memory-optimized-instance.
107
107
  :param pulumi.Input[str] param_sentinel_compat_enable: sentinel compatibility mode, applicable to instances in the cluster architecture proxy connection mode or read/write splitting architecture. For more information about the parameters, see https://www.alibabacloud.com/help/en/redis/user-guide/use-the-sentinel-compatible-mode-to-connect-to-an-apsaradb-for-redis-instance. The value is 0 or 1. The default value is 0.
108
108
  :param pulumi.Input[str] password: The password that is used to connect to the instance. The password must be 8 to 32 characters in length and contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters. Special characters include ! @ # $ % ^ & * ( ) _ + - =
109
109
  :param pulumi.Input[str] payment_type: Payment type: Subscription (prepaid), PayAsYouGo (postpaid). Default Subscription.
@@ -482,7 +482,7 @@ class TairInstanceArgs:
482
482
  """
483
483
  The value is semisync or async. The default value is async.
484
484
 
485
- The default data synchronization mode is asynchronous replication. To modify the data synchronization mode, refer to https://www.alibabacloud.com/help/en/redis/user-guide/modify-the-synchronization-mode-of-a-persistent-memory-optimized-instance
485
+ The default data synchronization mode is asynchronous replication. To modify the data synchronization mode, refer to https://www.alibabacloud.com/help/en/redis/user-guide/modify-the-synchronization-mode-of-a-persistent-memory-optimized-instance.
486
486
  """
487
487
  return pulumi.get(self, "param_repl_mode")
488
488
 
@@ -494,7 +494,7 @@ class TairInstanceArgs:
494
494
  @pulumi.getter(name="paramSemisyncReplTimeout")
495
495
  def param_semisync_repl_timeout(self) -> Optional[pulumi.Input[str]]:
496
496
  """
497
- The degradation threshold time of the semi-synchronous replication mode. This parameter value is required only when semi-synchronous replication is enabled. The unit is milliseconds, and the range is 10ms to 60000ms. The default value is 500ms. Please refer to: https://www.alibabacloud.com/help/en/redis/user-guide/modify-the-synchronization-mode-of-a-persistent-memory-optimized-instance
497
+ The degradation threshold time of the semi-synchronous replication mode. This parameter value is required only when semi-synchronous replication is enabled. The unit is milliseconds, and the range is 10ms to 60000ms. The default value is 500ms. Please refer to: https://www.alibabacloud.com/help/en/redis/user-guide/modify-the-synchronization-mode-of-a-persistent-memory-optimized-instance.
498
498
  """
499
499
  return pulumi.get(self, "param_semisync_repl_timeout")
500
500
 
@@ -863,8 +863,8 @@ class _TairInstanceState:
863
863
  :param pulumi.Input[str] param_no_loose_sentinel_password_free_commands: After sentinel mode and the# no_loose_sentinel-password-free-access parameter are enabled, you can use this parameter to add additional secret-free command lists (empty by default). After setting, you can execute the corresponding command on any connection without secret, please operate carefully. Commands are written in lowercase letters, and multiple commands are separated by commas (,). See https://help.aliyun.com/zh/redis/user-guide/parameter-support for details
864
864
  :param pulumi.Input[str] param_repl_mode: The value is semisync or async. The default value is async.
865
865
 
866
- The default data synchronization mode is asynchronous replication. To modify the data synchronization mode, refer to https://www.alibabacloud.com/help/en/redis/user-guide/modify-the-synchronization-mode-of-a-persistent-memory-optimized-instance
867
- :param pulumi.Input[str] param_semisync_repl_timeout: The degradation threshold time of the semi-synchronous replication mode. This parameter value is required only when semi-synchronous replication is enabled. The unit is milliseconds, and the range is 10ms to 60000ms. The default value is 500ms. Please refer to: https://www.alibabacloud.com/help/en/redis/user-guide/modify-the-synchronization-mode-of-a-persistent-memory-optimized-instance
866
+ The default data synchronization mode is asynchronous replication. To modify the data synchronization mode, refer to https://www.alibabacloud.com/help/en/redis/user-guide/modify-the-synchronization-mode-of-a-persistent-memory-optimized-instance.
867
+ :param pulumi.Input[str] param_semisync_repl_timeout: The degradation threshold time of the semi-synchronous replication mode. This parameter value is required only when semi-synchronous replication is enabled. The unit is milliseconds, and the range is 10ms to 60000ms. The default value is 500ms. Please refer to: https://www.alibabacloud.com/help/en/redis/user-guide/modify-the-synchronization-mode-of-a-persistent-memory-optimized-instance.
868
868
  :param pulumi.Input[str] param_sentinel_compat_enable: sentinel compatibility mode, applicable to instances in the cluster architecture proxy connection mode or read/write splitting architecture. For more information about the parameters, see https://www.alibabacloud.com/help/en/redis/user-guide/use-the-sentinel-compatible-mode-to-connect-to-an-apsaradb-for-redis-instance. The value is 0 or 1. The default value is 0.
869
869
  :param pulumi.Input[str] password: The password that is used to connect to the instance. The password must be 8 to 32 characters in length and contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters. Special characters include ! @ # $ % ^ & * ( ) _ + - =
870
870
  :param pulumi.Input[str] payment_type: Payment type: Subscription (prepaid), PayAsYouGo (postpaid). Default Subscription.
@@ -1294,7 +1294,7 @@ class _TairInstanceState:
1294
1294
  """
1295
1295
  The value is semisync or async. The default value is async.
1296
1296
 
1297
- The default data synchronization mode is asynchronous replication. To modify the data synchronization mode, refer to https://www.alibabacloud.com/help/en/redis/user-guide/modify-the-synchronization-mode-of-a-persistent-memory-optimized-instance
1297
+ The default data synchronization mode is asynchronous replication. To modify the data synchronization mode, refer to https://www.alibabacloud.com/help/en/redis/user-guide/modify-the-synchronization-mode-of-a-persistent-memory-optimized-instance.
1298
1298
  """
1299
1299
  return pulumi.get(self, "param_repl_mode")
1300
1300
 
@@ -1306,7 +1306,7 @@ class _TairInstanceState:
1306
1306
  @pulumi.getter(name="paramSemisyncReplTimeout")
1307
1307
  def param_semisync_repl_timeout(self) -> Optional[pulumi.Input[str]]:
1308
1308
  """
1309
- The degradation threshold time of the semi-synchronous replication mode. This parameter value is required only when semi-synchronous replication is enabled. The unit is milliseconds, and the range is 10ms to 60000ms. The default value is 500ms. Please refer to: https://www.alibabacloud.com/help/en/redis/user-guide/modify-the-synchronization-mode-of-a-persistent-memory-optimized-instance
1309
+ The degradation threshold time of the semi-synchronous replication mode. This parameter value is required only when semi-synchronous replication is enabled. The unit is milliseconds, and the range is 10ms to 60000ms. The default value is 500ms. Please refer to: https://www.alibabacloud.com/help/en/redis/user-guide/modify-the-synchronization-mode-of-a-persistent-memory-optimized-instance.
1310
1310
  """
1311
1311
  return pulumi.get(self, "param_semisync_repl_timeout")
1312
1312
 
@@ -1746,8 +1746,8 @@ class TairInstance(pulumi.CustomResource):
1746
1746
  :param pulumi.Input[str] param_no_loose_sentinel_password_free_commands: After sentinel mode and the# no_loose_sentinel-password-free-access parameter are enabled, you can use this parameter to add additional secret-free command lists (empty by default). After setting, you can execute the corresponding command on any connection without secret, please operate carefully. Commands are written in lowercase letters, and multiple commands are separated by commas (,). See https://help.aliyun.com/zh/redis/user-guide/parameter-support for details
1747
1747
  :param pulumi.Input[str] param_repl_mode: The value is semisync or async. The default value is async.
1748
1748
 
1749
- The default data synchronization mode is asynchronous replication. To modify the data synchronization mode, refer to https://www.alibabacloud.com/help/en/redis/user-guide/modify-the-synchronization-mode-of-a-persistent-memory-optimized-instance
1750
- :param pulumi.Input[str] param_semisync_repl_timeout: The degradation threshold time of the semi-synchronous replication mode. This parameter value is required only when semi-synchronous replication is enabled. The unit is milliseconds, and the range is 10ms to 60000ms. The default value is 500ms. Please refer to: https://www.alibabacloud.com/help/en/redis/user-guide/modify-the-synchronization-mode-of-a-persistent-memory-optimized-instance
1749
+ The default data synchronization mode is asynchronous replication. To modify the data synchronization mode, refer to https://www.alibabacloud.com/help/en/redis/user-guide/modify-the-synchronization-mode-of-a-persistent-memory-optimized-instance.
1750
+ :param pulumi.Input[str] param_semisync_repl_timeout: The degradation threshold time of the semi-synchronous replication mode. This parameter value is required only when semi-synchronous replication is enabled. The unit is milliseconds, and the range is 10ms to 60000ms. The default value is 500ms. Please refer to: https://www.alibabacloud.com/help/en/redis/user-guide/modify-the-synchronization-mode-of-a-persistent-memory-optimized-instance.
1751
1751
  :param pulumi.Input[str] param_sentinel_compat_enable: sentinel compatibility mode, applicable to instances in the cluster architecture proxy connection mode or read/write splitting architecture. For more information about the parameters, see https://www.alibabacloud.com/help/en/redis/user-guide/use-the-sentinel-compatible-mode-to-connect-to-an-apsaradb-for-redis-instance. The value is 0 or 1. The default value is 0.
1752
1752
  :param pulumi.Input[str] password: The password that is used to connect to the instance. The password must be 8 to 32 characters in length and contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters. Special characters include ! @ # $ % ^ & * ( ) _ + - =
1753
1753
  :param pulumi.Input[str] payment_type: Payment type: Subscription (prepaid), PayAsYouGo (postpaid). Default Subscription.
@@ -2038,8 +2038,8 @@ class TairInstance(pulumi.CustomResource):
2038
2038
  :param pulumi.Input[str] param_no_loose_sentinel_password_free_commands: After sentinel mode and the# no_loose_sentinel-password-free-access parameter are enabled, you can use this parameter to add additional secret-free command lists (empty by default). After setting, you can execute the corresponding command on any connection without secret, please operate carefully. Commands are written in lowercase letters, and multiple commands are separated by commas (,). See https://help.aliyun.com/zh/redis/user-guide/parameter-support for details
2039
2039
  :param pulumi.Input[str] param_repl_mode: The value is semisync or async. The default value is async.
2040
2040
 
2041
- The default data synchronization mode is asynchronous replication. To modify the data synchronization mode, refer to https://www.alibabacloud.com/help/en/redis/user-guide/modify-the-synchronization-mode-of-a-persistent-memory-optimized-instance
2042
- :param pulumi.Input[str] param_semisync_repl_timeout: The degradation threshold time of the semi-synchronous replication mode. This parameter value is required only when semi-synchronous replication is enabled. The unit is milliseconds, and the range is 10ms to 60000ms. The default value is 500ms. Please refer to: https://www.alibabacloud.com/help/en/redis/user-guide/modify-the-synchronization-mode-of-a-persistent-memory-optimized-instance
2041
+ The default data synchronization mode is asynchronous replication. To modify the data synchronization mode, refer to https://www.alibabacloud.com/help/en/redis/user-guide/modify-the-synchronization-mode-of-a-persistent-memory-optimized-instance.
2042
+ :param pulumi.Input[str] param_semisync_repl_timeout: The degradation threshold time of the semi-synchronous replication mode. This parameter value is required only when semi-synchronous replication is enabled. The unit is milliseconds, and the range is 10ms to 60000ms. The default value is 500ms. Please refer to: https://www.alibabacloud.com/help/en/redis/user-guide/modify-the-synchronization-mode-of-a-persistent-memory-optimized-instance.
2043
2043
  :param pulumi.Input[str] param_sentinel_compat_enable: sentinel compatibility mode, applicable to instances in the cluster architecture proxy connection mode or read/write splitting architecture. For more information about the parameters, see https://www.alibabacloud.com/help/en/redis/user-guide/use-the-sentinel-compatible-mode-to-connect-to-an-apsaradb-for-redis-instance. The value is 0 or 1. The default value is 0.
2044
2044
  :param pulumi.Input[str] password: The password that is used to connect to the instance. The password must be 8 to 32 characters in length and contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters. Special characters include ! @ # $ % ^ & * ( ) _ + - =
2045
2045
  :param pulumi.Input[str] payment_type: Payment type: Subscription (prepaid), PayAsYouGo (postpaid). Default Subscription.
@@ -2335,7 +2335,7 @@ class TairInstance(pulumi.CustomResource):
2335
2335
  """
2336
2336
  The value is semisync or async. The default value is async.
2337
2337
 
2338
- The default data synchronization mode is asynchronous replication. To modify the data synchronization mode, refer to https://www.alibabacloud.com/help/en/redis/user-guide/modify-the-synchronization-mode-of-a-persistent-memory-optimized-instance
2338
+ The default data synchronization mode is asynchronous replication. To modify the data synchronization mode, refer to https://www.alibabacloud.com/help/en/redis/user-guide/modify-the-synchronization-mode-of-a-persistent-memory-optimized-instance.
2339
2339
  """
2340
2340
  return pulumi.get(self, "param_repl_mode")
2341
2341
 
@@ -2343,7 +2343,7 @@ class TairInstance(pulumi.CustomResource):
2343
2343
  @pulumi.getter(name="paramSemisyncReplTimeout")
2344
2344
  def param_semisync_repl_timeout(self) -> pulumi.Output[str]:
2345
2345
  """
2346
- The degradation threshold time of the semi-synchronous replication mode. This parameter value is required only when semi-synchronous replication is enabled. The unit is milliseconds, and the range is 10ms to 60000ms. The default value is 500ms. Please refer to: https://www.alibabacloud.com/help/en/redis/user-guide/modify-the-synchronization-mode-of-a-persistent-memory-optimized-instance
2346
+ The degradation threshold time of the semi-synchronous replication mode. This parameter value is required only when semi-synchronous replication is enabled. The unit is milliseconds, and the range is 10ms to 60000ms. The default value is 500ms. Please refer to: https://www.alibabacloud.com/help/en/redis/user-guide/modify-the-synchronization-mode-of-a-persistent-memory-optimized-instance.
2347
2347
  """
2348
2348
  return pulumi.get(self, "param_semisync_repl_timeout")
2349
2349
 
@@ -6,6 +6,7 @@ from .. import _utilities
6
6
  import typing
7
7
  # Export this package's modules as members:
8
8
  from .account import *
9
+ from .auto_grouping_rule import *
9
10
  from .control_policy import *
10
11
  from .control_policy_attachment import *
11
12
  from .delegated_administrator import *
@@ -15,12 +15,65 @@ else:
15
15
  from .. import _utilities
16
16
 
17
17
  __all__ = [
18
+ 'AutoGroupingRuleRuleContentArgs',
19
+ 'AutoGroupingRuleRuleContentArgsDict',
18
20
  'ResourceGroupRegionStatusArgs',
19
21
  'ResourceGroupRegionStatusArgsDict',
20
22
  ]
21
23
 
22
24
  MYPY = False
23
25
 
26
+ if not MYPY:
27
+ class AutoGroupingRuleRuleContentArgsDict(TypedDict):
28
+ target_resource_group_condition: pulumi.Input[str]
29
+ """
30
+ The condition for the destination resource group.
31
+ """
32
+ auto_grouping_scope_condition: NotRequired[pulumi.Input[str]]
33
+ """
34
+ The condition for the range of resources to be automatically transferred.
35
+ """
36
+ elif False:
37
+ AutoGroupingRuleRuleContentArgsDict: TypeAlias = Mapping[str, Any]
38
+
39
+ @pulumi.input_type
40
+ class AutoGroupingRuleRuleContentArgs:
41
+ def __init__(__self__, *,
42
+ target_resource_group_condition: pulumi.Input[str],
43
+ auto_grouping_scope_condition: Optional[pulumi.Input[str]] = None):
44
+ """
45
+ :param pulumi.Input[str] target_resource_group_condition: The condition for the destination resource group.
46
+ :param pulumi.Input[str] auto_grouping_scope_condition: The condition for the range of resources to be automatically transferred.
47
+ """
48
+ pulumi.set(__self__, "target_resource_group_condition", target_resource_group_condition)
49
+ if auto_grouping_scope_condition is not None:
50
+ pulumi.set(__self__, "auto_grouping_scope_condition", auto_grouping_scope_condition)
51
+
52
+ @property
53
+ @pulumi.getter(name="targetResourceGroupCondition")
54
+ def target_resource_group_condition(self) -> pulumi.Input[str]:
55
+ """
56
+ The condition for the destination resource group.
57
+ """
58
+ return pulumi.get(self, "target_resource_group_condition")
59
+
60
+ @target_resource_group_condition.setter
61
+ def target_resource_group_condition(self, value: pulumi.Input[str]):
62
+ pulumi.set(self, "target_resource_group_condition", value)
63
+
64
+ @property
65
+ @pulumi.getter(name="autoGroupingScopeCondition")
66
+ def auto_grouping_scope_condition(self) -> Optional[pulumi.Input[str]]:
67
+ """
68
+ The condition for the range of resources to be automatically transferred.
69
+ """
70
+ return pulumi.get(self, "auto_grouping_scope_condition")
71
+
72
+ @auto_grouping_scope_condition.setter
73
+ def auto_grouping_scope_condition(self, value: Optional[pulumi.Input[str]]):
74
+ pulumi.set(self, "auto_grouping_scope_condition", value)
75
+
76
+
24
77
  if not MYPY:
25
78
  class ResourceGroupRegionStatusArgsDict(TypedDict):
26
79
  region_id: NotRequired[pulumi.Input[str]]