pulumi-alicloud 3.72.0a1735837979__py3-none-any.whl → 3.72.0a1735848496__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-alicloud might be problematic. Click here for more details.
- pulumi_alicloud/__init__.py +75 -0
- pulumi_alicloud/_inputs.py +471 -0
- pulumi_alicloud/adb/cluster.py +68 -0
- pulumi_alicloud/adb/db_cluster.py +94 -0
- pulumi_alicloud/adb/get_db_cluster_lake_versions.py +39 -4
- pulumi_alicloud/adb/outputs.py +106 -2
- pulumi_alicloud/apig/__init__.py +12 -0
- pulumi_alicloud/apig/_inputs.py +263 -0
- pulumi_alicloud/apig/environment.py +317 -0
- pulumi_alicloud/apig/gateway.py +645 -0
- pulumi_alicloud/apig/http_api.py +465 -0
- pulumi_alicloud/apig/outputs.py +213 -0
- pulumi_alicloud/cfg/get_aggregate_compliance_packs.py +2 -2
- pulumi_alicloud/cfg/get_aggregate_config_rules.py +4 -4
- pulumi_alicloud/cfg/get_aggregate_deliveries.py +16 -2
- pulumi_alicloud/cfg/get_aggregators.py +2 -2
- pulumi_alicloud/cfg/get_compliance_packs.py +2 -2
- pulumi_alicloud/cfg/get_configuration_recorders.py +2 -6
- pulumi_alicloud/cfg/get_deliveries.py +11 -2
- pulumi_alicloud/cfg/get_delivery_channels.py +0 -4
- pulumi_alicloud/cfg/get_rules.py +3 -7
- pulumi_alicloud/cfg/outputs.py +28 -20
- pulumi_alicloud/cloudfirewall/get_instance_members.py +2 -2
- pulumi_alicloud/cloudfirewall/get_instances.py +23 -6
- pulumi_alicloud/cloudfirewall/get_vpc_firewall_cens.py +2 -2
- pulumi_alicloud/cloudfirewall/get_vpc_firewall_control_policies.py +32 -2
- pulumi_alicloud/cloudfirewall/get_vpc_firewalls.py +2 -2
- pulumi_alicloud/cloudfirewall/instance.py +1 -1
- pulumi_alicloud/cloudfirewall/outputs.py +16 -4
- pulumi_alicloud/config/__init__.pyi +2 -0
- pulumi_alicloud/config/outputs.py +284 -0
- pulumi_alicloud/config/vars.py +4 -0
- pulumi_alicloud/cr/_inputs.py +128 -0
- pulumi_alicloud/cr/outputs.py +93 -0
- pulumi_alicloud/cr/registry_enterprise_instance.py +86 -63
- pulumi_alicloud/cs/registry_enterprise_sync_rule.py +331 -38
- pulumi_alicloud/dcdn/get_domains.py +2 -2
- pulumi_alicloud/dcdn/get_ipa_domains.py +14 -2
- pulumi_alicloud/dcdn/get_waf_domains.py +5 -2
- pulumi_alicloud/dcdn/get_waf_policies.py +8 -2
- pulumi_alicloud/dcdn/outputs.py +6 -6
- pulumi_alicloud/ddos/get_ddos_coo_domain_resources.py +8 -2
- pulumi_alicloud/ddos/get_ddos_coo_ports.py +16 -4
- pulumi_alicloud/ddos/outputs.py +4 -4
- pulumi_alicloud/ecs/_inputs.py +9 -0
- pulumi_alicloud/ecs/get_ecs_disks.py +103 -14
- pulumi_alicloud/ecs/outputs.py +90 -36
- pulumi_alicloud/esa/__init__.py +3 -0
- pulumi_alicloud/esa/_inputs.py +456 -0
- pulumi_alicloud/esa/outputs.py +321 -0
- pulumi_alicloud/esa/record.py +798 -0
- pulumi_alicloud/ess/get_scaling_configurations.py +116 -10
- pulumi_alicloud/ess/notification.py +50 -3
- pulumi_alicloud/ess/outputs.py +104 -8
- pulumi_alicloud/ess/scheduled_task.py +7 -7
- pulumi_alicloud/fc/v3_trigger.py +1 -1
- pulumi_alicloud/ga/get_accelerator_spare_ip_attachments.py +11 -2
- pulumi_alicloud/ga/get_acls.py +14 -2
- pulumi_alicloud/ga/get_additional_certificates.py +11 -2
- pulumi_alicloud/ga/get_bandwidth_packages.py +14 -2
- pulumi_alicloud/ga/get_basic_accelerate_ip_endpoint_relations.py +2 -2
- pulumi_alicloud/ga/get_basic_accelerate_ips.py +2 -2
- pulumi_alicloud/ga/get_basic_accelerators.py +2 -2
- pulumi_alicloud/ga/get_basic_endpoints.py +2 -2
- pulumi_alicloud/ga/get_custom_routing_endpoint_group_destinations.py +2 -2
- pulumi_alicloud/ga/get_custom_routing_endpoint_groups.py +2 -2
- pulumi_alicloud/ga/get_custom_routing_endpoint_traffic_policies.py +2 -2
- pulumi_alicloud/ga/get_custom_routing_endpoints.py +2 -2
- pulumi_alicloud/ga/get_custom_routing_port_mappings.py +2 -2
- pulumi_alicloud/ga/get_domains.py +2 -2
- pulumi_alicloud/ga/get_forwarding_rules.py +8 -2
- pulumi_alicloud/ga/get_ip_sets.py +8 -2
- pulumi_alicloud/ga/get_listeners.py +11 -2
- pulumi_alicloud/ga/outputs.py +64 -32
- pulumi_alicloud/get_msc_sub_contact_verification_message.py +2 -2
- pulumi_alicloud/get_msc_sub_contacts.py +8 -2
- pulumi_alicloud/get_msc_sub_subscriptions.py +5 -2
- pulumi_alicloud/get_msc_sub_webhooks.py +8 -2
- pulumi_alicloud/kms/key.py +108 -28
- pulumi_alicloud/kvstore/get_instances.py +14 -3
- pulumi_alicloud/kvstore/outputs.py +48 -4
- pulumi_alicloud/marketplace/order.py +2 -2
- pulumi_alicloud/mongodb/__init__.py +1 -0
- pulumi_alicloud/mongodb/private_srv_network_address.py +283 -0
- pulumi_alicloud/oss/__init__.py +2 -0
- pulumi_alicloud/oss/_inputs.py +68 -0
- pulumi_alicloud/oss/access_point.py +463 -0
- pulumi_alicloud/oss/bucket_worm.py +327 -0
- pulumi_alicloud/oss/outputs.py +74 -0
- pulumi_alicloud/privatelink/get_service.py +2 -2
- pulumi_alicloud/privatelink/get_vpc_endpoint_connections.py +14 -2
- pulumi_alicloud/privatelink/get_vpc_endpoint_service_resources.py +8 -2
- pulumi_alicloud/privatelink/get_vpc_endpoint_service_users.py +11 -2
- pulumi_alicloud/privatelink/get_vpc_endpoint_zones.py +11 -2
- pulumi_alicloud/privatelink/get_vpc_endpoints.py +23 -2
- pulumi_alicloud/privatelink/outputs.py +6 -6
- pulumi_alicloud/provider.py +20 -0
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/ram/get_policies.py +66 -8
- pulumi_alicloud/rds/instance.py +211 -14
- pulumi_alicloud/resourcemanager/control_policy_attachment.py +28 -28
- pulumi_alicloud/resourcemanager/shared_resource.py +7 -0
- pulumi_alicloud/schedulerx/__init__.py +3 -0
- pulumi_alicloud/schedulerx/_inputs.py +542 -0
- pulumi_alicloud/schedulerx/app_group.py +952 -0
- pulumi_alicloud/schedulerx/job.py +1454 -0
- pulumi_alicloud/schedulerx/namespace.py +64 -51
- pulumi_alicloud/schedulerx/outputs.py +425 -0
- pulumi_alicloud/sddp/get_configs.py +5 -2
- pulumi_alicloud/sddp/get_data_limits.py +11 -2
- pulumi_alicloud/sddp/get_instances.py +5 -2
- pulumi_alicloud/sddp/get_rules.py +29 -2
- pulumi_alicloud/sddp/outputs.py +14 -14
- pulumi_alicloud/vpc/get_peer_connections.py +17 -2
- pulumi_alicloud/vpc/network.py +293 -40
- pulumi_alicloud/vpc/outputs.py +2 -2
- pulumi_alicloud/vpc/peer_connection.py +239 -132
- pulumi_alicloud/vpc/peer_connection_accepter.py +85 -6
- pulumi_alicloud/waf/domain.py +2 -2
- pulumi_alicloud/waf/get_certificates.py +14 -2
- pulumi_alicloud/waf/get_domains.py +6 -4
- pulumi_alicloud/waf/get_instances.py +2 -2
- pulumi_alicloud/waf/instance.py +0 -64
- pulumi_alicloud/waf/outputs.py +2 -4
- pulumi_alicloud/wafv3/get_instances.py +10 -4
- {pulumi_alicloud-3.72.0a1735837979.dist-info → pulumi_alicloud-3.72.0a1735848496.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.72.0a1735837979.dist-info → pulumi_alicloud-3.72.0a1735848496.dist-info}/RECORD +129 -114
- {pulumi_alicloud-3.72.0a1735837979.dist-info → pulumi_alicloud-3.72.0a1735848496.dist-info}/WHEEL +0 -0
- {pulumi_alicloud-3.72.0a1735837979.dist-info → pulumi_alicloud-3.72.0a1735848496.dist-info}/top_level.txt +0 -0
pulumi_alicloud/rds/instance.py
CHANGED
|
@@ -61,9 +61,11 @@ 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,
|
|
64
65
|
pg_hba_confs: Optional[pulumi.Input[Sequence[pulumi.Input['InstancePgHbaConfArgs']]]] = None,
|
|
65
66
|
port: Optional[pulumi.Input[str]] = None,
|
|
66
67
|
private_ip_address: Optional[pulumi.Input[str]] = None,
|
|
68
|
+
recovery_model: Optional[pulumi.Input[str]] = None,
|
|
67
69
|
released_keep_policy: Optional[pulumi.Input[str]] = None,
|
|
68
70
|
replication_acl: Optional[pulumi.Input[str]] = None,
|
|
69
71
|
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
@@ -87,6 +89,7 @@ class InstanceArgs:
|
|
|
87
89
|
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
88
90
|
target_minor_version: Optional[pulumi.Input[str]] = None,
|
|
89
91
|
tcp_connection_type: Optional[pulumi.Input[str]] = None,
|
|
92
|
+
tde_encryption_key: Optional[pulumi.Input[str]] = None,
|
|
90
93
|
tde_status: Optional[pulumi.Input[str]] = None,
|
|
91
94
|
upgrade_db_instance_kernel_version: Optional[pulumi.Input[bool]] = None,
|
|
92
95
|
upgrade_time: Optional[pulumi.Input[str]] = None,
|
|
@@ -202,6 +205,11 @@ class InstanceArgs:
|
|
|
202
205
|
- Immediate: The change immediately takes effect.
|
|
203
206
|
- MaintainTime: The change takes effect during the specified maintenance window. For more information, see ModifyDBInstanceMaintainTime.
|
|
204
207
|
: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.
|
|
205
213
|
:param pulumi.Input[str] force: Specifies whether to enable forcible switching. Valid values:
|
|
206
214
|
- Yes
|
|
207
215
|
- No
|
|
@@ -212,8 +220,6 @@ class InstanceArgs:
|
|
|
212
220
|
:param pulumi.Input[str] ha_config: The primary/secondary switchover mode of the instance. Default value: Auto. Valid values:
|
|
213
221
|
- Auto: The system automatically switches over services from the primary to secondary instances in the event of a fault.
|
|
214
222
|
- 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.
|
|
217
223
|
: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).
|
|
218
224
|
:param pulumi.Input[str] instance_name: The name of DB instance. It a string of 2 to 256 characters.
|
|
219
225
|
:param pulumi.Input[str] maintain_time: Maintainable time period format of the instance: HH:MMZ-HH:MMZ (UTC time)
|
|
@@ -229,9 +235,15 @@ class InstanceArgs:
|
|
|
229
235
|
: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.
|
|
230
236
|
: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.
|
|
231
237
|
> **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.
|
|
232
241
|
: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.
|
|
233
242
|
: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.
|
|
234
243
|
: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.
|
|
235
247
|
: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:
|
|
236
248
|
- None: No archived backup files are retained.
|
|
237
249
|
- Lastest: Only the last archived backup file is retained.
|
|
@@ -298,7 +310,9 @@ class InstanceArgs:
|
|
|
298
310
|
:param pulumi.Input[str] tcp_connection_type: The availability check method of the instance. Valid values:
|
|
299
311
|
- **SHORT**: Alibaba Cloud uses short-lived connections to check the availability of the instance.
|
|
300
312
|
- **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.
|
|
301
314
|
: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.
|
|
302
316
|
:param pulumi.Input[bool] upgrade_db_instance_kernel_version: Whether to upgrade a minor version of the kernel. Valid values:
|
|
303
317
|
- true: upgrade
|
|
304
318
|
- false: not to upgrade
|
|
@@ -399,12 +413,16 @@ class InstanceArgs:
|
|
|
399
413
|
pulumi.set(__self__, "parameters", parameters)
|
|
400
414
|
if period is not None:
|
|
401
415
|
pulumi.set(__self__, "period", period)
|
|
416
|
+
if pg_bouncer_enabled is not None:
|
|
417
|
+
pulumi.set(__self__, "pg_bouncer_enabled", pg_bouncer_enabled)
|
|
402
418
|
if pg_hba_confs is not None:
|
|
403
419
|
pulumi.set(__self__, "pg_hba_confs", pg_hba_confs)
|
|
404
420
|
if port is not None:
|
|
405
421
|
pulumi.set(__self__, "port", port)
|
|
406
422
|
if private_ip_address is not None:
|
|
407
423
|
pulumi.set(__self__, "private_ip_address", private_ip_address)
|
|
424
|
+
if recovery_model is not None:
|
|
425
|
+
pulumi.set(__self__, "recovery_model", recovery_model)
|
|
408
426
|
if released_keep_policy is not None:
|
|
409
427
|
pulumi.set(__self__, "released_keep_policy", released_keep_policy)
|
|
410
428
|
if replication_acl is not None:
|
|
@@ -454,6 +472,8 @@ class InstanceArgs:
|
|
|
454
472
|
pulumi.set(__self__, "target_minor_version", target_minor_version)
|
|
455
473
|
if tcp_connection_type is not None:
|
|
456
474
|
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)
|
|
457
477
|
if tde_status is not None:
|
|
458
478
|
pulumi.set(__self__, "tde_status", tde_status)
|
|
459
479
|
if upgrade_db_instance_kernel_version is not None:
|
|
@@ -870,6 +890,11 @@ class InstanceArgs:
|
|
|
870
890
|
def encryption_key(self) -> Optional[pulumi.Input[str]]:
|
|
871
891
|
"""
|
|
872
892
|
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.
|
|
873
898
|
"""
|
|
874
899
|
return pulumi.get(self, "encryption_key")
|
|
875
900
|
|
|
@@ -924,8 +949,6 @@ class InstanceArgs:
|
|
|
924
949
|
The primary/secondary switchover mode of the instance. Default value: Auto. Valid values:
|
|
925
950
|
- Auto: The system automatically switches over services from the primary to secondary instances in the event of a fault.
|
|
926
951
|
- 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.
|
|
929
952
|
"""
|
|
930
953
|
return pulumi.get(self, "ha_config")
|
|
931
954
|
|
|
@@ -1047,6 +1070,20 @@ class InstanceArgs:
|
|
|
1047
1070
|
def period(self, value: Optional[pulumi.Input[int]]):
|
|
1048
1071
|
pulumi.set(self, "period", value)
|
|
1049
1072
|
|
|
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
|
+
|
|
1050
1087
|
@property
|
|
1051
1088
|
@pulumi.getter(name="pgHbaConfs")
|
|
1052
1089
|
def pg_hba_confs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['InstancePgHbaConfArgs']]]]:
|
|
@@ -1083,6 +1120,20 @@ class InstanceArgs:
|
|
|
1083
1120
|
def private_ip_address(self, value: Optional[pulumi.Input[str]]):
|
|
1084
1121
|
pulumi.set(self, "private_ip_address", value)
|
|
1085
1122
|
|
|
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
|
+
|
|
1086
1137
|
@property
|
|
1087
1138
|
@pulumi.getter(name="releasedKeepPolicy")
|
|
1088
1139
|
def released_keep_policy(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -1403,11 +1454,24 @@ class InstanceArgs:
|
|
|
1403
1454
|
def tcp_connection_type(self, value: Optional[pulumi.Input[str]]):
|
|
1404
1455
|
pulumi.set(self, "tcp_connection_type", value)
|
|
1405
1456
|
|
|
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
|
+
|
|
1406
1469
|
@property
|
|
1407
1470
|
@pulumi.getter(name="tdeStatus")
|
|
1408
1471
|
def tde_status(self) -> Optional[pulumi.Input[str]]:
|
|
1409
1472
|
"""
|
|
1410
1473
|
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.
|
|
1411
1475
|
"""
|
|
1412
1476
|
return pulumi.get(self, "tde_status")
|
|
1413
1477
|
|
|
@@ -1574,9 +1638,11 @@ class _InstanceState:
|
|
|
1574
1638
|
node_id: Optional[pulumi.Input[str]] = None,
|
|
1575
1639
|
parameters: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceParameterArgs']]]] = None,
|
|
1576
1640
|
period: Optional[pulumi.Input[int]] = None,
|
|
1641
|
+
pg_bouncer_enabled: Optional[pulumi.Input[bool]] = None,
|
|
1577
1642
|
pg_hba_confs: Optional[pulumi.Input[Sequence[pulumi.Input['InstancePgHbaConfArgs']]]] = None,
|
|
1578
1643
|
port: Optional[pulumi.Input[str]] = None,
|
|
1579
1644
|
private_ip_address: Optional[pulumi.Input[str]] = None,
|
|
1645
|
+
recovery_model: Optional[pulumi.Input[str]] = None,
|
|
1580
1646
|
released_keep_policy: Optional[pulumi.Input[str]] = None,
|
|
1581
1647
|
replication_acl: Optional[pulumi.Input[str]] = None,
|
|
1582
1648
|
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
@@ -1602,6 +1668,7 @@ class _InstanceState:
|
|
|
1602
1668
|
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
1603
1669
|
target_minor_version: Optional[pulumi.Input[str]] = None,
|
|
1604
1670
|
tcp_connection_type: Optional[pulumi.Input[str]] = None,
|
|
1671
|
+
tde_encryption_key: Optional[pulumi.Input[str]] = None,
|
|
1605
1672
|
tde_status: Optional[pulumi.Input[str]] = None,
|
|
1606
1673
|
upgrade_db_instance_kernel_version: Optional[pulumi.Input[bool]] = None,
|
|
1607
1674
|
upgrade_time: Optional[pulumi.Input[str]] = None,
|
|
@@ -1692,6 +1759,11 @@ class _InstanceState:
|
|
|
1692
1759
|
- Immediate: The change immediately takes effect.
|
|
1693
1760
|
- MaintainTime: The change takes effect during the specified maintenance window. For more information, see ModifyDBInstanceMaintainTime.
|
|
1694
1761
|
: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.
|
|
1695
1767
|
:param pulumi.Input[str] engine: Database type. Value options: MySQL, SQLServer, PostgreSQL, MariaDB.
|
|
1696
1768
|
|
|
1697
1769
|
> **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.
|
|
@@ -1715,8 +1787,6 @@ class _InstanceState:
|
|
|
1715
1787
|
:param pulumi.Input[str] ha_config: The primary/secondary switchover mode of the instance. Default value: Auto. Valid values:
|
|
1716
1788
|
- Auto: The system automatically switches over services from the primary to secondary instances in the event of a fault.
|
|
1717
1789
|
- 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.
|
|
1720
1790
|
: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).
|
|
1721
1791
|
:param pulumi.Input[str] instance_name: The name of DB instance. It a string of 2 to 256 characters.
|
|
1722
1792
|
:param pulumi.Input[int] instance_storage: User-defined DB instance storage space. Value range:
|
|
@@ -1747,9 +1817,15 @@ class _InstanceState:
|
|
|
1747
1817
|
: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.
|
|
1748
1818
|
: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.
|
|
1749
1819
|
> **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.
|
|
1750
1823
|
: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.
|
|
1751
1824
|
: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.
|
|
1752
1825
|
: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.
|
|
1753
1829
|
: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:
|
|
1754
1830
|
- None: No archived backup files are retained.
|
|
1755
1831
|
- Lastest: Only the last archived backup file is retained.
|
|
@@ -1818,7 +1894,9 @@ class _InstanceState:
|
|
|
1818
1894
|
:param pulumi.Input[str] tcp_connection_type: The availability check method of the instance. Valid values:
|
|
1819
1895
|
- **SHORT**: Alibaba Cloud uses short-lived connections to check the availability of the instance.
|
|
1820
1896
|
- **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.
|
|
1821
1898
|
: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.
|
|
1822
1900
|
:param pulumi.Input[bool] upgrade_db_instance_kernel_version: Whether to upgrade a minor version of the kernel. Valid values:
|
|
1823
1901
|
- true: upgrade
|
|
1824
1902
|
- false: not to upgrade
|
|
@@ -1929,12 +2007,16 @@ class _InstanceState:
|
|
|
1929
2007
|
pulumi.set(__self__, "parameters", parameters)
|
|
1930
2008
|
if period is not None:
|
|
1931
2009
|
pulumi.set(__self__, "period", period)
|
|
2010
|
+
if pg_bouncer_enabled is not None:
|
|
2011
|
+
pulumi.set(__self__, "pg_bouncer_enabled", pg_bouncer_enabled)
|
|
1932
2012
|
if pg_hba_confs is not None:
|
|
1933
2013
|
pulumi.set(__self__, "pg_hba_confs", pg_hba_confs)
|
|
1934
2014
|
if port is not None:
|
|
1935
2015
|
pulumi.set(__self__, "port", port)
|
|
1936
2016
|
if private_ip_address is not None:
|
|
1937
2017
|
pulumi.set(__self__, "private_ip_address", private_ip_address)
|
|
2018
|
+
if recovery_model is not None:
|
|
2019
|
+
pulumi.set(__self__, "recovery_model", recovery_model)
|
|
1938
2020
|
if released_keep_policy is not None:
|
|
1939
2021
|
pulumi.set(__self__, "released_keep_policy", released_keep_policy)
|
|
1940
2022
|
if replication_acl is not None:
|
|
@@ -1988,6 +2070,8 @@ class _InstanceState:
|
|
|
1988
2070
|
pulumi.set(__self__, "target_minor_version", target_minor_version)
|
|
1989
2071
|
if tcp_connection_type is not None:
|
|
1990
2072
|
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)
|
|
1991
2075
|
if tde_status is not None:
|
|
1992
2076
|
pulumi.set(__self__, "tde_status", tde_status)
|
|
1993
2077
|
if upgrade_db_instance_kernel_version is not None:
|
|
@@ -2368,6 +2452,11 @@ class _InstanceState:
|
|
|
2368
2452
|
def encryption_key(self) -> Optional[pulumi.Input[str]]:
|
|
2369
2453
|
"""
|
|
2370
2454
|
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.
|
|
2371
2460
|
"""
|
|
2372
2461
|
return pulumi.get(self, "encryption_key")
|
|
2373
2462
|
|
|
@@ -2457,8 +2546,6 @@ class _InstanceState:
|
|
|
2457
2546
|
The primary/secondary switchover mode of the instance. Default value: Auto. Valid values:
|
|
2458
2547
|
- Auto: The system automatically switches over services from the primary to secondary instances in the event of a fault.
|
|
2459
2548
|
- 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.
|
|
2462
2549
|
"""
|
|
2463
2550
|
return pulumi.get(self, "ha_config")
|
|
2464
2551
|
|
|
@@ -2617,6 +2704,20 @@ class _InstanceState:
|
|
|
2617
2704
|
def period(self, value: Optional[pulumi.Input[int]]):
|
|
2618
2705
|
pulumi.set(self, "period", value)
|
|
2619
2706
|
|
|
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
|
+
|
|
2620
2721
|
@property
|
|
2621
2722
|
@pulumi.getter(name="pgHbaConfs")
|
|
2622
2723
|
def pg_hba_confs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['InstancePgHbaConfArgs']]]]:
|
|
@@ -2653,6 +2754,20 @@ class _InstanceState:
|
|
|
2653
2754
|
def private_ip_address(self, value: Optional[pulumi.Input[str]]):
|
|
2654
2755
|
pulumi.set(self, "private_ip_address", value)
|
|
2655
2756
|
|
|
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
|
+
|
|
2656
2771
|
@property
|
|
2657
2772
|
@pulumi.getter(name="releasedKeepPolicy")
|
|
2658
2773
|
def released_keep_policy(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -2997,11 +3112,24 @@ class _InstanceState:
|
|
|
2997
3112
|
def tcp_connection_type(self, value: Optional[pulumi.Input[str]]):
|
|
2998
3113
|
pulumi.set(self, "tcp_connection_type", value)
|
|
2999
3114
|
|
|
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
|
+
|
|
3000
3127
|
@property
|
|
3001
3128
|
@pulumi.getter(name="tdeStatus")
|
|
3002
3129
|
def tde_status(self) -> Optional[pulumi.Input[str]]:
|
|
3003
3130
|
"""
|
|
3004
3131
|
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.
|
|
3005
3133
|
"""
|
|
3006
3134
|
return pulumi.get(self, "tde_status")
|
|
3007
3135
|
|
|
@@ -3167,9 +3295,11 @@ class Instance(pulumi.CustomResource):
|
|
|
3167
3295
|
node_id: Optional[pulumi.Input[str]] = None,
|
|
3168
3296
|
parameters: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InstanceParameterArgs', 'InstanceParameterArgsDict']]]]] = None,
|
|
3169
3297
|
period: Optional[pulumi.Input[int]] = None,
|
|
3298
|
+
pg_bouncer_enabled: Optional[pulumi.Input[bool]] = None,
|
|
3170
3299
|
pg_hba_confs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InstancePgHbaConfArgs', 'InstancePgHbaConfArgsDict']]]]] = None,
|
|
3171
3300
|
port: Optional[pulumi.Input[str]] = None,
|
|
3172
3301
|
private_ip_address: Optional[pulumi.Input[str]] = None,
|
|
3302
|
+
recovery_model: Optional[pulumi.Input[str]] = None,
|
|
3173
3303
|
released_keep_policy: Optional[pulumi.Input[str]] = None,
|
|
3174
3304
|
replication_acl: Optional[pulumi.Input[str]] = None,
|
|
3175
3305
|
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
@@ -3193,6 +3323,7 @@ class Instance(pulumi.CustomResource):
|
|
|
3193
3323
|
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
3194
3324
|
target_minor_version: Optional[pulumi.Input[str]] = None,
|
|
3195
3325
|
tcp_connection_type: Optional[pulumi.Input[str]] = None,
|
|
3326
|
+
tde_encryption_key: Optional[pulumi.Input[str]] = None,
|
|
3196
3327
|
tde_status: Optional[pulumi.Input[str]] = None,
|
|
3197
3328
|
upgrade_db_instance_kernel_version: Optional[pulumi.Input[bool]] = None,
|
|
3198
3329
|
upgrade_time: Optional[pulumi.Input[str]] = None,
|
|
@@ -3290,6 +3421,11 @@ class Instance(pulumi.CustomResource):
|
|
|
3290
3421
|
- Immediate: The change immediately takes effect.
|
|
3291
3422
|
- MaintainTime: The change takes effect during the specified maintenance window. For more information, see ModifyDBInstanceMaintainTime.
|
|
3292
3423
|
: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.
|
|
3293
3429
|
:param pulumi.Input[str] engine: Database type. Value options: MySQL, SQLServer, PostgreSQL, MariaDB.
|
|
3294
3430
|
|
|
3295
3431
|
> **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.
|
|
@@ -3313,8 +3449,6 @@ class Instance(pulumi.CustomResource):
|
|
|
3313
3449
|
:param pulumi.Input[str] ha_config: The primary/secondary switchover mode of the instance. Default value: Auto. Valid values:
|
|
3314
3450
|
- Auto: The system automatically switches over services from the primary to secondary instances in the event of a fault.
|
|
3315
3451
|
- 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.
|
|
3318
3452
|
: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).
|
|
3319
3453
|
:param pulumi.Input[str] instance_name: The name of DB instance. It a string of 2 to 256 characters.
|
|
3320
3454
|
:param pulumi.Input[int] instance_storage: User-defined DB instance storage space. Value range:
|
|
@@ -3345,9 +3479,15 @@ class Instance(pulumi.CustomResource):
|
|
|
3345
3479
|
: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.
|
|
3346
3480
|
: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.
|
|
3347
3481
|
> **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.
|
|
3348
3485
|
: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.
|
|
3349
3486
|
: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.
|
|
3350
3487
|
: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.
|
|
3351
3491
|
: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:
|
|
3352
3492
|
- None: No archived backup files are retained.
|
|
3353
3493
|
- Lastest: Only the last archived backup file is retained.
|
|
@@ -3414,7 +3554,9 @@ class Instance(pulumi.CustomResource):
|
|
|
3414
3554
|
:param pulumi.Input[str] tcp_connection_type: The availability check method of the instance. Valid values:
|
|
3415
3555
|
- **SHORT**: Alibaba Cloud uses short-lived connections to check the availability of the instance.
|
|
3416
3556
|
- **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.
|
|
3417
3558
|
: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.
|
|
3418
3560
|
:param pulumi.Input[bool] upgrade_db_instance_kernel_version: Whether to upgrade a minor version of the kernel. Valid values:
|
|
3419
3561
|
- true: upgrade
|
|
3420
3562
|
- false: not to upgrade
|
|
@@ -3509,9 +3651,11 @@ class Instance(pulumi.CustomResource):
|
|
|
3509
3651
|
node_id: Optional[pulumi.Input[str]] = None,
|
|
3510
3652
|
parameters: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InstanceParameterArgs', 'InstanceParameterArgsDict']]]]] = None,
|
|
3511
3653
|
period: Optional[pulumi.Input[int]] = None,
|
|
3654
|
+
pg_bouncer_enabled: Optional[pulumi.Input[bool]] = None,
|
|
3512
3655
|
pg_hba_confs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InstancePgHbaConfArgs', 'InstancePgHbaConfArgsDict']]]]] = None,
|
|
3513
3656
|
port: Optional[pulumi.Input[str]] = None,
|
|
3514
3657
|
private_ip_address: Optional[pulumi.Input[str]] = None,
|
|
3658
|
+
recovery_model: Optional[pulumi.Input[str]] = None,
|
|
3515
3659
|
released_keep_policy: Optional[pulumi.Input[str]] = None,
|
|
3516
3660
|
replication_acl: Optional[pulumi.Input[str]] = None,
|
|
3517
3661
|
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
@@ -3535,6 +3679,7 @@ class Instance(pulumi.CustomResource):
|
|
|
3535
3679
|
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
3536
3680
|
target_minor_version: Optional[pulumi.Input[str]] = None,
|
|
3537
3681
|
tcp_connection_type: Optional[pulumi.Input[str]] = None,
|
|
3682
|
+
tde_encryption_key: Optional[pulumi.Input[str]] = None,
|
|
3538
3683
|
tde_status: Optional[pulumi.Input[str]] = None,
|
|
3539
3684
|
upgrade_db_instance_kernel_version: Optional[pulumi.Input[bool]] = None,
|
|
3540
3685
|
upgrade_time: Optional[pulumi.Input[str]] = None,
|
|
@@ -3601,9 +3746,11 @@ class Instance(pulumi.CustomResource):
|
|
|
3601
3746
|
__props__.__dict__["node_id"] = node_id
|
|
3602
3747
|
__props__.__dict__["parameters"] = parameters
|
|
3603
3748
|
__props__.__dict__["period"] = period
|
|
3749
|
+
__props__.__dict__["pg_bouncer_enabled"] = pg_bouncer_enabled
|
|
3604
3750
|
__props__.__dict__["pg_hba_confs"] = pg_hba_confs
|
|
3605
3751
|
__props__.__dict__["port"] = port
|
|
3606
3752
|
__props__.__dict__["private_ip_address"] = private_ip_address
|
|
3753
|
+
__props__.__dict__["recovery_model"] = recovery_model
|
|
3607
3754
|
__props__.__dict__["released_keep_policy"] = released_keep_policy
|
|
3608
3755
|
__props__.__dict__["replication_acl"] = replication_acl
|
|
3609
3756
|
__props__.__dict__["resource_group_id"] = resource_group_id
|
|
@@ -3627,6 +3774,7 @@ class Instance(pulumi.CustomResource):
|
|
|
3627
3774
|
__props__.__dict__["tags"] = tags
|
|
3628
3775
|
__props__.__dict__["target_minor_version"] = target_minor_version
|
|
3629
3776
|
__props__.__dict__["tcp_connection_type"] = tcp_connection_type
|
|
3777
|
+
__props__.__dict__["tde_encryption_key"] = tde_encryption_key
|
|
3630
3778
|
__props__.__dict__["tde_status"] = tde_status
|
|
3631
3779
|
__props__.__dict__["upgrade_db_instance_kernel_version"] = upgrade_db_instance_kernel_version
|
|
3632
3780
|
__props__.__dict__["upgrade_time"] = upgrade_time
|
|
@@ -3696,9 +3844,11 @@ class Instance(pulumi.CustomResource):
|
|
|
3696
3844
|
node_id: Optional[pulumi.Input[str]] = None,
|
|
3697
3845
|
parameters: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InstanceParameterArgs', 'InstanceParameterArgsDict']]]]] = None,
|
|
3698
3846
|
period: Optional[pulumi.Input[int]] = None,
|
|
3847
|
+
pg_bouncer_enabled: Optional[pulumi.Input[bool]] = None,
|
|
3699
3848
|
pg_hba_confs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InstancePgHbaConfArgs', 'InstancePgHbaConfArgsDict']]]]] = None,
|
|
3700
3849
|
port: Optional[pulumi.Input[str]] = None,
|
|
3701
3850
|
private_ip_address: Optional[pulumi.Input[str]] = None,
|
|
3851
|
+
recovery_model: Optional[pulumi.Input[str]] = None,
|
|
3702
3852
|
released_keep_policy: Optional[pulumi.Input[str]] = None,
|
|
3703
3853
|
replication_acl: Optional[pulumi.Input[str]] = None,
|
|
3704
3854
|
resource_group_id: Optional[pulumi.Input[str]] = None,
|
|
@@ -3724,6 +3874,7 @@ class Instance(pulumi.CustomResource):
|
|
|
3724
3874
|
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
3725
3875
|
target_minor_version: Optional[pulumi.Input[str]] = None,
|
|
3726
3876
|
tcp_connection_type: Optional[pulumi.Input[str]] = None,
|
|
3877
|
+
tde_encryption_key: Optional[pulumi.Input[str]] = None,
|
|
3727
3878
|
tde_status: Optional[pulumi.Input[str]] = None,
|
|
3728
3879
|
upgrade_db_instance_kernel_version: Optional[pulumi.Input[bool]] = None,
|
|
3729
3880
|
upgrade_time: Optional[pulumi.Input[str]] = None,
|
|
@@ -3819,6 +3970,11 @@ class Instance(pulumi.CustomResource):
|
|
|
3819
3970
|
- Immediate: The change immediately takes effect.
|
|
3820
3971
|
- MaintainTime: The change takes effect during the specified maintenance window. For more information, see ModifyDBInstanceMaintainTime.
|
|
3821
3972
|
: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.
|
|
3822
3978
|
:param pulumi.Input[str] engine: Database type. Value options: MySQL, SQLServer, PostgreSQL, MariaDB.
|
|
3823
3979
|
|
|
3824
3980
|
> **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.
|
|
@@ -3842,8 +3998,6 @@ class Instance(pulumi.CustomResource):
|
|
|
3842
3998
|
:param pulumi.Input[str] ha_config: The primary/secondary switchover mode of the instance. Default value: Auto. Valid values:
|
|
3843
3999
|
- Auto: The system automatically switches over services from the primary to secondary instances in the event of a fault.
|
|
3844
4000
|
- 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.
|
|
3847
4001
|
: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).
|
|
3848
4002
|
:param pulumi.Input[str] instance_name: The name of DB instance. It a string of 2 to 256 characters.
|
|
3849
4003
|
:param pulumi.Input[int] instance_storage: User-defined DB instance storage space. Value range:
|
|
@@ -3874,9 +4028,15 @@ class Instance(pulumi.CustomResource):
|
|
|
3874
4028
|
: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.
|
|
3875
4029
|
: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.
|
|
3876
4030
|
> **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.
|
|
3877
4034
|
: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.
|
|
3878
4035
|
: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.
|
|
3879
4036
|
: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.
|
|
3880
4040
|
: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:
|
|
3881
4041
|
- None: No archived backup files are retained.
|
|
3882
4042
|
- Lastest: Only the last archived backup file is retained.
|
|
@@ -3945,7 +4105,9 @@ class Instance(pulumi.CustomResource):
|
|
|
3945
4105
|
:param pulumi.Input[str] tcp_connection_type: The availability check method of the instance. Valid values:
|
|
3946
4106
|
- **SHORT**: Alibaba Cloud uses short-lived connections to check the availability of the instance.
|
|
3947
4107
|
- **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.
|
|
3948
4109
|
: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.
|
|
3949
4111
|
:param pulumi.Input[bool] upgrade_db_instance_kernel_version: Whether to upgrade a minor version of the kernel. Valid values:
|
|
3950
4112
|
- true: upgrade
|
|
3951
4113
|
- false: not to upgrade
|
|
@@ -4017,9 +4179,11 @@ class Instance(pulumi.CustomResource):
|
|
|
4017
4179
|
__props__.__dict__["node_id"] = node_id
|
|
4018
4180
|
__props__.__dict__["parameters"] = parameters
|
|
4019
4181
|
__props__.__dict__["period"] = period
|
|
4182
|
+
__props__.__dict__["pg_bouncer_enabled"] = pg_bouncer_enabled
|
|
4020
4183
|
__props__.__dict__["pg_hba_confs"] = pg_hba_confs
|
|
4021
4184
|
__props__.__dict__["port"] = port
|
|
4022
4185
|
__props__.__dict__["private_ip_address"] = private_ip_address
|
|
4186
|
+
__props__.__dict__["recovery_model"] = recovery_model
|
|
4023
4187
|
__props__.__dict__["released_keep_policy"] = released_keep_policy
|
|
4024
4188
|
__props__.__dict__["replication_acl"] = replication_acl
|
|
4025
4189
|
__props__.__dict__["resource_group_id"] = resource_group_id
|
|
@@ -4045,6 +4209,7 @@ class Instance(pulumi.CustomResource):
|
|
|
4045
4209
|
__props__.__dict__["tags"] = tags
|
|
4046
4210
|
__props__.__dict__["target_minor_version"] = target_minor_version
|
|
4047
4211
|
__props__.__dict__["tcp_connection_type"] = tcp_connection_type
|
|
4212
|
+
__props__.__dict__["tde_encryption_key"] = tde_encryption_key
|
|
4048
4213
|
__props__.__dict__["tde_status"] = tde_status
|
|
4049
4214
|
__props__.__dict__["upgrade_db_instance_kernel_version"] = upgrade_db_instance_kernel_version
|
|
4050
4215
|
__props__.__dict__["upgrade_time"] = upgrade_time
|
|
@@ -4314,6 +4479,11 @@ class Instance(pulumi.CustomResource):
|
|
|
4314
4479
|
def encryption_key(self) -> pulumi.Output[Optional[str]]:
|
|
4315
4480
|
"""
|
|
4316
4481
|
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.
|
|
4317
4487
|
"""
|
|
4318
4488
|
return pulumi.get(self, "encryption_key")
|
|
4319
4489
|
|
|
@@ -4379,8 +4549,6 @@ class Instance(pulumi.CustomResource):
|
|
|
4379
4549
|
The primary/secondary switchover mode of the instance. Default value: Auto. Valid values:
|
|
4380
4550
|
- Auto: The system automatically switches over services from the primary to secondary instances in the event of a fault.
|
|
4381
4551
|
- 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.
|
|
4384
4552
|
"""
|
|
4385
4553
|
return pulumi.get(self, "ha_config")
|
|
4386
4554
|
|
|
@@ -4491,6 +4659,16 @@ class Instance(pulumi.CustomResource):
|
|
|
4491
4659
|
"""
|
|
4492
4660
|
return pulumi.get(self, "period")
|
|
4493
4661
|
|
|
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
|
+
|
|
4494
4672
|
@property
|
|
4495
4673
|
@pulumi.getter(name="pgHbaConfs")
|
|
4496
4674
|
def pg_hba_confs(self) -> pulumi.Output[Sequence['outputs.InstancePgHbaConf']]:
|
|
@@ -4515,6 +4693,16 @@ class Instance(pulumi.CustomResource):
|
|
|
4515
4693
|
"""
|
|
4516
4694
|
return pulumi.get(self, "private_ip_address")
|
|
4517
4695
|
|
|
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
|
+
|
|
4518
4706
|
@property
|
|
4519
4707
|
@pulumi.getter(name="releasedKeepPolicy")
|
|
4520
4708
|
def released_keep_policy(self) -> pulumi.Output[Optional[str]]:
|
|
@@ -4759,11 +4947,20 @@ class Instance(pulumi.CustomResource):
|
|
|
4759
4947
|
"""
|
|
4760
4948
|
return pulumi.get(self, "tcp_connection_type")
|
|
4761
4949
|
|
|
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
|
+
|
|
4762
4958
|
@property
|
|
4763
4959
|
@pulumi.getter(name="tdeStatus")
|
|
4764
4960
|
def tde_status(self) -> pulumi.Output[str]:
|
|
4765
4961
|
"""
|
|
4766
4962
|
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.
|
|
4767
4964
|
"""
|
|
4768
4965
|
return pulumi.get(self, "tde_status")
|
|
4769
4966
|
|