pulumi-alicloud 3.66.0a1731672315__py3-none-any.whl → 3.67.0__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 (44) hide show
  1. pulumi_alicloud/__init__.py +16 -0
  2. pulumi_alicloud/cen/flow_log.py +373 -58
  3. pulumi_alicloud/cen/transit_router_ecr_attachment.py +4 -4
  4. pulumi_alicloud/cr/registry_enterprise_instance.py +474 -90
  5. pulumi_alicloud/ecs/ecs_image_component.py +221 -48
  6. pulumi_alicloud/ess/_inputs.py +94 -0
  7. pulumi_alicloud/ess/eci_scaling_configuration.py +42 -14
  8. pulumi_alicloud/ess/outputs.py +79 -0
  9. pulumi_alicloud/ess/scaling_configuration.py +47 -0
  10. pulumi_alicloud/expressconnect/router_vbr_child_instance.py +86 -25
  11. pulumi_alicloud/kms/key.py +1 -1
  12. pulumi_alicloud/kvstore/account.py +24 -24
  13. pulumi_alicloud/kvstore/audit_log_config.py +4 -4
  14. pulumi_alicloud/kvstore/backup_policy.py +2 -2
  15. pulumi_alicloud/kvstore/connection.py +8 -8
  16. pulumi_alicloud/kvstore/get_accounts.py +4 -4
  17. pulumi_alicloud/kvstore/get_connections.py +5 -5
  18. pulumi_alicloud/kvstore/get_instance_classes.py +12 -12
  19. pulumi_alicloud/kvstore/get_instance_engines.py +7 -7
  20. pulumi_alicloud/kvstore/get_permission.py +10 -10
  21. pulumi_alicloud/kvstore/get_zones.py +4 -4
  22. pulumi_alicloud/kvstore/outputs.py +2 -2
  23. pulumi_alicloud/mongodb/instance.py +47 -0
  24. pulumi_alicloud/mongodb/sharding_instance.py +47 -0
  25. pulumi_alicloud/polardb/cluster.py +7 -7
  26. pulumi_alicloud/privatelink/vpc_endpoint_service.py +42 -91
  27. pulumi_alicloud/privatelink/vpc_endpoint_service_connection.py +27 -23
  28. pulumi_alicloud/privatelink/vpc_endpoint_service_resource.py +34 -37
  29. pulumi_alicloud/privatelink/vpc_endpoint_zone.py +28 -0
  30. pulumi_alicloud/pulumi-plugin.json +1 -1
  31. pulumi_alicloud/rds/__init__.py +2 -0
  32. pulumi_alicloud/rds/_inputs.py +146 -0
  33. pulumi_alicloud/rds/custom.py +1630 -0
  34. pulumi_alicloud/rds/custom_deployment_set.py +525 -0
  35. pulumi_alicloud/rds/outputs.py +105 -0
  36. pulumi_alicloud/redis/tair_instance.py +76 -1
  37. pulumi_alicloud/vpc/_inputs.py +54 -0
  38. pulumi_alicloud/vpc/nat_gateway.py +175 -14
  39. pulumi_alicloud/vpc/outputs.py +51 -0
  40. pulumi_alicloud/vpn/gateway_vco_route.py +68 -21
  41. {pulumi_alicloud-3.66.0a1731672315.dist-info → pulumi_alicloud-3.67.0.dist-info}/METADATA +5 -5
  42. {pulumi_alicloud-3.66.0a1731672315.dist-info → pulumi_alicloud-3.67.0.dist-info}/RECORD +44 -42
  43. {pulumi_alicloud-3.66.0a1731672315.dist-info → pulumi_alicloud-3.67.0.dist-info}/WHEEL +1 -1
  44. {pulumi_alicloud-3.66.0a1731672315.dist-info → pulumi_alicloud-3.67.0.dist-info}/top_level.txt +0 -0
@@ -61,7 +61,7 @@ class GetConnectionsResult:
61
61
  @pulumi.getter
62
62
  def ids(self) -> str:
63
63
  """
64
- A list of KVStore DBInstance ids.
64
+ A list of Tair (Redis OSS-Compatible) And Memcache (KVStore) Instance ids.
65
65
  """
66
66
  return pulumi.get(self, "ids")
67
67
 
@@ -87,7 +87,7 @@ def get_connections(ids: Optional[str] = None,
87
87
  output_file: Optional[str] = None,
88
88
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetConnectionsResult:
89
89
  """
90
- This data source can query the public IP of the specified KVStore DBInstance.
90
+ This data source can query the public IP of the specified Tair (Redis OSS-Compatible) And Memcache (KVStore).
91
91
 
92
92
  > **NOTE:** Available in v1.101.0+.
93
93
 
@@ -103,7 +103,7 @@ def get_connections(ids: Optional[str] = None,
103
103
  ```
104
104
 
105
105
 
106
- :param str ids: A list of KVStore DBInstance ids, only support one item.
106
+ :param str ids: A list of Tair (Redis OSS-Compatible) And Memcache (KVStore) Instance ids, only support one item.
107
107
  :param str output_file: File name where to save data source results (after running `pulumi preview`).
108
108
  """
109
109
  __args__ = dict()
@@ -121,7 +121,7 @@ def get_connections_output(ids: Optional[pulumi.Input[str]] = None,
121
121
  output_file: Optional[pulumi.Input[Optional[str]]] = None,
122
122
  opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetConnectionsResult]:
123
123
  """
124
- This data source can query the public IP of the specified KVStore DBInstance.
124
+ This data source can query the public IP of the specified Tair (Redis OSS-Compatible) And Memcache (KVStore).
125
125
 
126
126
  > **NOTE:** Available in v1.101.0+.
127
127
 
@@ -137,7 +137,7 @@ def get_connections_output(ids: Optional[pulumi.Input[str]] = None,
137
137
  ```
138
138
 
139
139
 
140
- :param str ids: A list of KVStore DBInstance ids, only support one item.
140
+ :param str ids: A list of Tair (Redis OSS-Compatible) And Memcache (KVStore) Instance ids, only support one item.
141
141
  :param str output_file: File name where to save data source results (after running `pulumi preview`).
142
142
  """
143
143
  __args__ = dict()
@@ -229,7 +229,7 @@ def get_instance_classes(architecture: Optional[str] = None,
229
229
  zone_id: Optional[str] = None,
230
230
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetInstanceClassesResult:
231
231
  """
232
- This data source provides the KVStore instance classes resource available info of Alibaba Cloud.
232
+ This data source provides the Tair (Redis OSS-Compatible) And Memcache (KVStore) Instance classes resource available info of Alibaba Cloud.
233
233
 
234
234
  > **NOTE:** Available since v1.49.0+
235
235
 
@@ -249,22 +249,22 @@ def get_instance_classes(architecture: Optional[str] = None,
249
249
  ```
250
250
 
251
251
 
252
- :param str architecture: The KVStore instance system architecture required by the user. Valid values: `standard`, `cluster` and `rwsplit`.
253
- :param str edition_type: The KVStore instance edition type required by the user. Valid values: `Community` and `Enterprise`.
252
+ :param str architecture: The Tair (Redis OSS-Compatible) And Memcache (KVStore) Instance system architecture required by the user. Valid values: `standard`, `cluster` and `rwsplit`.
253
+ :param str edition_type: The Tair (Redis OSS-Compatible) And Memcache (KVStore) Instance edition type required by the user. Valid values: `Community` and `Enterprise`.
254
254
  :param str engine: Database type. Options are `Redis`, `Memcache`. Default to `Redis`.
255
255
  :param str engine_version: Database version required by the user. Value options of Redis can refer to the latest docs [detail info](https://www.alibabacloud.com/help/doc-detail/60873.htm) `EngineVersion`. Value of Memcache should be empty.
256
256
  :param str instance_charge_type: Filter the results by charge type. Valid values: `PrePaid` and `PostPaid`. Default to `PrePaid`.
257
- :param str node_type: The KVStore instance node type required by the user. Valid values: `double`, `single`, `readone`, `readthree` and `readfive`.
257
+ :param str node_type: The Tair (Redis OSS-Compatible) And Memcache (KVStore) Instance node type required by the user. Valid values: `double`, `single`, `readone`, `readthree` and `readfive`.
258
258
  :param str output_file: File name where to save data source results (after running `pulumi up`).
259
259
  :param str package_type: It has been deprecated from 1.68.0.
260
260
  :param str performance_type: It has been deprecated from 1.68.0.
261
- :param str series_type: The KVStore instance series type required by the user. Valid values: `enhanced_performance_type` and `hybrid_storage`.
261
+ :param str series_type: The Tair (Redis OSS-Compatible) And Memcache (KVStore) Instance series type required by the user. Valid values: `enhanced_performance_type` and `hybrid_storage`.
262
262
  :param int shard_number: The number of shard.Valid values: `1`, `2`, `4`, `8`, `16`, `32`, `64`, `128`, `256`.
263
263
  * product_type - (Optional, Available since 1.130.0) The type of the service. Valid values:
264
264
  * Local: an ApsaraDB for Redis instance with a local disk.
265
265
  * OnECS: an ApsaraDB for Redis instance with a standard disk. This type is available only on the Alibaba Cloud China site.
266
266
  :param str storage_type: It has been deprecated from 1.68.0.
267
- :param str zone_id: The Zone to launch the KVStore instance.
267
+ :param str zone_id: The Zone to launch the Tair (Redis OSS-Compatible) And Memcache (KVStore) Instance.
268
268
  """
269
269
  __args__ = dict()
270
270
  __args__['architecture'] = architecture
@@ -321,7 +321,7 @@ def get_instance_classes_output(architecture: Optional[pulumi.Input[Optional[str
321
321
  zone_id: Optional[pulumi.Input[str]] = None,
322
322
  opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetInstanceClassesResult]:
323
323
  """
324
- This data source provides the KVStore instance classes resource available info of Alibaba Cloud.
324
+ This data source provides the Tair (Redis OSS-Compatible) And Memcache (KVStore) Instance classes resource available info of Alibaba Cloud.
325
325
 
326
326
  > **NOTE:** Available since v1.49.0+
327
327
 
@@ -341,22 +341,22 @@ def get_instance_classes_output(architecture: Optional[pulumi.Input[Optional[str
341
341
  ```
342
342
 
343
343
 
344
- :param str architecture: The KVStore instance system architecture required by the user. Valid values: `standard`, `cluster` and `rwsplit`.
345
- :param str edition_type: The KVStore instance edition type required by the user. Valid values: `Community` and `Enterprise`.
344
+ :param str architecture: The Tair (Redis OSS-Compatible) And Memcache (KVStore) Instance system architecture required by the user. Valid values: `standard`, `cluster` and `rwsplit`.
345
+ :param str edition_type: The Tair (Redis OSS-Compatible) And Memcache (KVStore) Instance edition type required by the user. Valid values: `Community` and `Enterprise`.
346
346
  :param str engine: Database type. Options are `Redis`, `Memcache`. Default to `Redis`.
347
347
  :param str engine_version: Database version required by the user. Value options of Redis can refer to the latest docs [detail info](https://www.alibabacloud.com/help/doc-detail/60873.htm) `EngineVersion`. Value of Memcache should be empty.
348
348
  :param str instance_charge_type: Filter the results by charge type. Valid values: `PrePaid` and `PostPaid`. Default to `PrePaid`.
349
- :param str node_type: The KVStore instance node type required by the user. Valid values: `double`, `single`, `readone`, `readthree` and `readfive`.
349
+ :param str node_type: The Tair (Redis OSS-Compatible) And Memcache (KVStore) Instance node type required by the user. Valid values: `double`, `single`, `readone`, `readthree` and `readfive`.
350
350
  :param str output_file: File name where to save data source results (after running `pulumi up`).
351
351
  :param str package_type: It has been deprecated from 1.68.0.
352
352
  :param str performance_type: It has been deprecated from 1.68.0.
353
- :param str series_type: The KVStore instance series type required by the user. Valid values: `enhanced_performance_type` and `hybrid_storage`.
353
+ :param str series_type: The Tair (Redis OSS-Compatible) And Memcache (KVStore) Instance series type required by the user. Valid values: `enhanced_performance_type` and `hybrid_storage`.
354
354
  :param int shard_number: The number of shard.Valid values: `1`, `2`, `4`, `8`, `16`, `32`, `64`, `128`, `256`.
355
355
  * product_type - (Optional, Available since 1.130.0) The type of the service. Valid values:
356
356
  * Local: an ApsaraDB for Redis instance with a local disk.
357
357
  * OnECS: an ApsaraDB for Redis instance with a standard disk. This type is available only on the Alibaba Cloud China site.
358
358
  :param str storage_type: It has been deprecated from 1.68.0.
359
- :param str zone_id: The Zone to launch the KVStore instance.
359
+ :param str zone_id: The Zone to launch the Tair (Redis OSS-Compatible) And Memcache (KVStore) Instance.
360
360
  """
361
361
  __args__ = dict()
362
362
  __args__['architecture'] = architecture
@@ -62,7 +62,7 @@ class GetInstanceEnginesResult:
62
62
  @pulumi.getter(name="engineVersion")
63
63
  def engine_version(self) -> Optional[str]:
64
64
  """
65
- KVStore Instance version.
65
+ Tair (Redis OSS-Compatible) And Memcache (KVStore) Instance version.
66
66
  """
67
67
  return pulumi.get(self, "engine_version")
68
68
 
@@ -83,7 +83,7 @@ class GetInstanceEnginesResult:
83
83
  @pulumi.getter(name="instanceEngines")
84
84
  def instance_engines(self) -> Sequence['outputs.GetInstanceEnginesInstanceEngineResult']:
85
85
  """
86
- A list of KVStore available instance engines. Each element contains the following attributes:
86
+ A list of Tair (Redis OSS-Compatible) And Memcache (KVStore) available instance engines. Each element contains the following attributes:
87
87
  """
88
88
  return pulumi.get(self, "instance_engines")
89
89
 
@@ -96,7 +96,7 @@ class GetInstanceEnginesResult:
96
96
  @pulumi.getter(name="zoneId")
97
97
  def zone_id(self) -> str:
98
98
  """
99
- The Zone to launch the KVStore instance.
99
+ The Zone to launch the Tair (Redis OSS-Compatible) And Memcache (KVStore) Instance.
100
100
  """
101
101
  return pulumi.get(self, "zone_id")
102
102
 
@@ -123,7 +123,7 @@ def get_instance_engines(engine: Optional[str] = None,
123
123
  zone_id: Optional[str] = None,
124
124
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetInstanceEnginesResult:
125
125
  """
126
- This data source provides the KVStore instance engines resource available info of Alibaba Cloud.
126
+ This data source provides the Tair (Redis OSS-Compatible) And Memcache (KVStore) Instance engines resource available info of Alibaba Cloud.
127
127
 
128
128
  > **NOTE:** Available since v1.51.0
129
129
 
@@ -147,7 +147,7 @@ def get_instance_engines(engine: Optional[str] = None,
147
147
  :param str engine_version: Database version required by the user. Value options of Redis can refer to the latest docs [detail info](https://www.alibabacloud.com/help/doc-detail/60873.htm) `EngineVersion`. Value of Memcache should be empty.
148
148
  :param str instance_charge_type: Filter the results by charge type. Valid values: `PrePaid` and `PostPaid`. Default to `PrePaid`.
149
149
  :param str output_file: File name where to save data source results (after running `pulumi up`).
150
- :param str zone_id: The Zone to launch the KVStore instance.
150
+ :param str zone_id: The Zone to launch the Tair (Redis OSS-Compatible) And Memcache (KVStore) Instance.
151
151
  """
152
152
  __args__ = dict()
153
153
  __args__['engine'] = engine
@@ -173,7 +173,7 @@ def get_instance_engines_output(engine: Optional[pulumi.Input[Optional[str]]] =
173
173
  zone_id: Optional[pulumi.Input[str]] = None,
174
174
  opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetInstanceEnginesResult]:
175
175
  """
176
- This data source provides the KVStore instance engines resource available info of Alibaba Cloud.
176
+ This data source provides the Tair (Redis OSS-Compatible) And Memcache (KVStore) Instance engines resource available info of Alibaba Cloud.
177
177
 
178
178
  > **NOTE:** Available since v1.51.0
179
179
 
@@ -197,7 +197,7 @@ def get_instance_engines_output(engine: Optional[pulumi.Input[Optional[str]]] =
197
197
  :param str engine_version: Database version required by the user. Value options of Redis can refer to the latest docs [detail info](https://www.alibabacloud.com/help/doc-detail/60873.htm) `EngineVersion`. Value of Memcache should be empty.
198
198
  :param str instance_charge_type: Filter the results by charge type. Valid values: `PrePaid` and `PostPaid`. Default to `PrePaid`.
199
199
  :param str output_file: File name where to save data source results (after running `pulumi up`).
200
- :param str zone_id: The Zone to launch the KVStore instance.
200
+ :param str zone_id: The Zone to launch the Tair (Redis OSS-Compatible) And Memcache (KVStore) Instance.
201
201
  """
202
202
  __args__ = dict()
203
203
  __args__['engine'] = engine
@@ -73,11 +73,11 @@ class AwaitableGetPermissionResult(GetPermissionResult):
73
73
  def get_permission(enable: Optional[str] = None,
74
74
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetPermissionResult:
75
75
  """
76
- Assigns a RAM role to ApsaraDB for Redis.
76
+ Assigns a RAM role to Tair (Redis OSS-Compatible) And Memcache (KVStore).
77
77
 
78
- The log management feature of ApsaraDB for Redis requires the resources of [Log Service](https://www.alibabacloud.com/help/doc-detail/48869.htm).
79
- To use the log management feature of ApsaraDB for Redis, you can call this operation to associate the RAM role named AliyunServiceRoleForKvstore with the ApsaraDB for Redis instance.
80
- For more information, see [Associated RAM roles of ApsaraDB for Redis](https://www.alibabacloud.com/help/doc-detail/184337.htm)
78
+ The log management feature of Tair (Redis OSS-Compatible) And Memcache (KVStore) requires the resources of [Log Service](https://www.alibabacloud.com/help/doc-detail/48869.htm).
79
+ To use the log management feature of Tair (Redis OSS-Compatible) And Memcache (KVStore), you can call this operation to associate the RAM role named AliyunServiceRoleForKvstore with the Tair (Redis OSS-Compatible) And Memcache (KVStore) instance.
80
+ For more information, see [Associated RAM roles of Tair (Redis OSS-Compatible) And Memcache (KVStore)](https://www.alibabacloud.com/help/doc-detail/184337.htm)
81
81
 
82
82
  > **NOTE:** Available since v1.128.0
83
83
 
@@ -91,7 +91,7 @@ def get_permission(enable: Optional[str] = None,
91
91
  ```
92
92
 
93
93
 
94
- :param str enable: Setting the value to `On` to assigns a RAM role to ApsaraDB for Redis. If has been enabled, return the result. Valid values: "On" or "Off". Default to "Off".
94
+ :param str enable: Setting the value to `On` to assigns a RAM role to Tair (Redis OSS-Compatible) And Memcache (KVStore). If has been enabled, return the result. Valid values: "On" or "Off". Default to "Off".
95
95
  """
96
96
  __args__ = dict()
97
97
  __args__['enable'] = enable
@@ -105,11 +105,11 @@ def get_permission(enable: Optional[str] = None,
105
105
  def get_permission_output(enable: Optional[pulumi.Input[Optional[str]]] = None,
106
106
  opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetPermissionResult]:
107
107
  """
108
- Assigns a RAM role to ApsaraDB for Redis.
108
+ Assigns a RAM role to Tair (Redis OSS-Compatible) And Memcache (KVStore).
109
109
 
110
- The log management feature of ApsaraDB for Redis requires the resources of [Log Service](https://www.alibabacloud.com/help/doc-detail/48869.htm).
111
- To use the log management feature of ApsaraDB for Redis, you can call this operation to associate the RAM role named AliyunServiceRoleForKvstore with the ApsaraDB for Redis instance.
112
- For more information, see [Associated RAM roles of ApsaraDB for Redis](https://www.alibabacloud.com/help/doc-detail/184337.htm)
110
+ The log management feature of Tair (Redis OSS-Compatible) And Memcache (KVStore) requires the resources of [Log Service](https://www.alibabacloud.com/help/doc-detail/48869.htm).
111
+ To use the log management feature of Tair (Redis OSS-Compatible) And Memcache (KVStore), you can call this operation to associate the RAM role named AliyunServiceRoleForKvstore with the Tair (Redis OSS-Compatible) And Memcache (KVStore) instance.
112
+ For more information, see [Associated RAM roles of Tair (Redis OSS-Compatible) And Memcache (KVStore)](https://www.alibabacloud.com/help/doc-detail/184337.htm)
113
113
 
114
114
  > **NOTE:** Available since v1.128.0
115
115
 
@@ -123,7 +123,7 @@ def get_permission_output(enable: Optional[pulumi.Input[Optional[str]]] = None,
123
123
  ```
124
124
 
125
125
 
126
- :param str enable: Setting the value to `On` to assigns a RAM role to ApsaraDB for Redis. If has been enabled, return the result. Valid values: "On" or "Off". Default to "Off".
126
+ :param str enable: Setting the value to `On` to assigns a RAM role to Tair (Redis OSS-Compatible) And Memcache (KVStore). If has been enabled, return the result. Valid values: "On" or "Off". Default to "Off".
127
127
  """
128
128
  __args__ = dict()
129
129
  __args__['enable'] = enable
@@ -126,7 +126,7 @@ def get_zones(engine: Optional[str] = None,
126
126
  product_type: Optional[str] = None,
127
127
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetZonesResult:
128
128
  """
129
- This data source provides availability zones for KVStore that can be accessed by an Alibaba Cloud account within the region configured in the provider.
129
+ This data source provides availability zones for Tair (Redis OSS-Compatible) And Memcache (KVStore) that can be accessed by an Alibaba Cloud account within the region configured in the provider.
130
130
 
131
131
  > **NOTE:** Available since v1.73.0.
132
132
 
@@ -144,7 +144,7 @@ def get_zones(engine: Optional[str] = None,
144
144
  :param str engine: Database type. Options are `Redis`, `Memcache`. Default to `Redis`.
145
145
  * product_type - (Optional, Available since v1.130.0+) The type of the service. Valid values: `Local`, `Tair_rdb`, `Tair_scm`, `Tair_essd`, `OnECS`.
146
146
  :param str instance_charge_type: Filter the results by a specific instance charge type. Valid values: `PrePaid` and `PostPaid`. Default to `PostPaid`.
147
- :param bool multi: Indicate whether the zones can be used in a multi AZ configuration. Default to `false`. Multi AZ is usually used to launch KVStore instances.
147
+ :param bool multi: Indicate whether the zones can be used in a multi AZ configuration. Default to `false`. Multi AZ is usually used to launch Tair (Redis OSS-Compatible) And Memcache (KVStore) instances.
148
148
  :param str output_file: File name where to save data source results (after running `pulumi preview`).
149
149
  """
150
150
  __args__ = dict()
@@ -172,7 +172,7 @@ def get_zones_output(engine: Optional[pulumi.Input[Optional[str]]] = None,
172
172
  product_type: Optional[pulumi.Input[Optional[str]]] = None,
173
173
  opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetZonesResult]:
174
174
  """
175
- This data source provides availability zones for KVStore that can be accessed by an Alibaba Cloud account within the region configured in the provider.
175
+ This data source provides availability zones for Tair (Redis OSS-Compatible) And Memcache (KVStore) that can be accessed by an Alibaba Cloud account within the region configured in the provider.
176
176
 
177
177
  > **NOTE:** Available since v1.73.0.
178
178
 
@@ -190,7 +190,7 @@ def get_zones_output(engine: Optional[pulumi.Input[Optional[str]]] = None,
190
190
  :param str engine: Database type. Options are `Redis`, `Memcache`. Default to `Redis`.
191
191
  * product_type - (Optional, Available since v1.130.0+) The type of the service. Valid values: `Local`, `Tair_rdb`, `Tair_scm`, `Tair_essd`, `OnECS`.
192
192
  :param str instance_charge_type: Filter the results by a specific instance charge type. Valid values: `PrePaid` and `PostPaid`. Default to `PostPaid`.
193
- :param bool multi: Indicate whether the zones can be used in a multi AZ configuration. Default to `false`. Multi AZ is usually used to launch KVStore instances.
193
+ :param bool multi: Indicate whether the zones can be used in a multi AZ configuration. Default to `false`. Multi AZ is usually used to launch Tair (Redis OSS-Compatible) And Memcache (KVStore) instances.
194
194
  :param str output_file: File name where to save data source results (after running `pulumi preview`).
195
195
  """
196
196
  __args__ = dict()
@@ -295,7 +295,7 @@ class GetInstanceEnginesInstanceEngineResult(dict):
295
295
  """
296
296
  :param str engine: Database type. Options are `Redis`, `Memcache`. Default to `Redis`.
297
297
  :param str engine_version: Database version required by the user. Value options of Redis can refer to the latest docs [detail info](https://www.alibabacloud.com/help/doc-detail/60873.htm) `EngineVersion`. Value of Memcache should be empty.
298
- :param str zone_id: The Zone to launch the KVStore instance.
298
+ :param str zone_id: The Zone to launch the Tair (Redis OSS-Compatible) And Memcache (KVStore) Instance.
299
299
  """
300
300
  pulumi.set(__self__, "engine", engine)
301
301
  pulumi.set(__self__, "engine_version", engine_version)
@@ -321,7 +321,7 @@ class GetInstanceEnginesInstanceEngineResult(dict):
321
321
  @pulumi.getter(name="zoneId")
322
322
  def zone_id(self) -> str:
323
323
  """
324
- The Zone to launch the KVStore instance.
324
+ The Zone to launch the Tair (Redis OSS-Compatible) And Memcache (KVStore) Instance.
325
325
  """
326
326
  return pulumi.get(self, "zone_id")
327
327
 
@@ -29,6 +29,7 @@ class InstanceArgs:
29
29
  backup_interval: Optional[pulumi.Input[str]] = None,
30
30
  backup_periods: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
31
31
  backup_retention_period: Optional[pulumi.Input[int]] = None,
32
+ backup_retention_policy_on_cluster_deletion: Optional[pulumi.Input[int]] = None,
32
33
  backup_time: Optional[pulumi.Input[str]] = None,
33
34
  cloud_disk_encryption_key: Optional[pulumi.Input[str]] = None,
34
35
  effective_time: Optional[pulumi.Input[str]] = None,
@@ -78,6 +79,7 @@ class InstanceArgs:
78
79
  :param pulumi.Input[str] backup_interval: The frequency at which high-frequency backups are created. Valid values: `-1`, `15`, `30`, `60`, `120`, `180`, `240`, `360`, `480`, `720`.
79
80
  :param pulumi.Input[Sequence[pulumi.Input[str]]] backup_periods: MongoDB Instance backup period. It is required when `backup_time` was existed. Valid values: [Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday]. Default to [Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday].
80
81
  :param pulumi.Input[int] backup_retention_period: The retention period of full backups.
82
+ :param pulumi.Input[int] backup_retention_policy_on_cluster_deletion: The backup retention policy configured for the instance. Valid values:
81
83
  :param pulumi.Input[str] backup_time: MongoDB instance backup time. It is required when `backup_period` was existed. In the format of HH:mmZ- HH:mmZ. Time setting interval is one hour. If not set, the system will return a default, like "23:00Z-24:00Z".
82
84
  :param pulumi.Input[str] cloud_disk_encryption_key: The ID of the encryption key.
83
85
  :param pulumi.Input[str] effective_time: The time when the changed configurations take effect. Valid values: `Immediately`, `MaintainTime`.
@@ -138,6 +140,8 @@ class InstanceArgs:
138
140
  pulumi.set(__self__, "backup_periods", backup_periods)
139
141
  if backup_retention_period is not None:
140
142
  pulumi.set(__self__, "backup_retention_period", backup_retention_period)
143
+ if backup_retention_policy_on_cluster_deletion is not None:
144
+ pulumi.set(__self__, "backup_retention_policy_on_cluster_deletion", backup_retention_policy_on_cluster_deletion)
141
145
  if backup_time is not None:
142
146
  pulumi.set(__self__, "backup_time", backup_time)
143
147
  if cloud_disk_encryption_key is not None:
@@ -310,6 +314,18 @@ class InstanceArgs:
310
314
  def backup_retention_period(self, value: Optional[pulumi.Input[int]]):
311
315
  pulumi.set(self, "backup_retention_period", value)
312
316
 
317
+ @property
318
+ @pulumi.getter(name="backupRetentionPolicyOnClusterDeletion")
319
+ def backup_retention_policy_on_cluster_deletion(self) -> Optional[pulumi.Input[int]]:
320
+ """
321
+ The backup retention policy configured for the instance. Valid values:
322
+ """
323
+ return pulumi.get(self, "backup_retention_policy_on_cluster_deletion")
324
+
325
+ @backup_retention_policy_on_cluster_deletion.setter
326
+ def backup_retention_policy_on_cluster_deletion(self, value: Optional[pulumi.Input[int]]):
327
+ pulumi.set(self, "backup_retention_policy_on_cluster_deletion", value)
328
+
313
329
  @property
314
330
  @pulumi.getter(name="backupTime")
315
331
  def backup_time(self) -> Optional[pulumi.Input[str]]:
@@ -761,6 +777,7 @@ class _InstanceState:
761
777
  backup_interval: Optional[pulumi.Input[str]] = None,
762
778
  backup_periods: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
763
779
  backup_retention_period: Optional[pulumi.Input[int]] = None,
780
+ backup_retention_policy_on_cluster_deletion: Optional[pulumi.Input[int]] = None,
764
781
  backup_time: Optional[pulumi.Input[str]] = None,
765
782
  cloud_disk_encryption_key: Optional[pulumi.Input[str]] = None,
766
783
  db_instance_class: Optional[pulumi.Input[str]] = None,
@@ -812,6 +829,7 @@ class _InstanceState:
812
829
  :param pulumi.Input[str] backup_interval: The frequency at which high-frequency backups are created. Valid values: `-1`, `15`, `30`, `60`, `120`, `180`, `240`, `360`, `480`, `720`.
813
830
  :param pulumi.Input[Sequence[pulumi.Input[str]]] backup_periods: MongoDB Instance backup period. It is required when `backup_time` was existed. Valid values: [Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday]. Default to [Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday].
814
831
  :param pulumi.Input[int] backup_retention_period: The retention period of full backups.
832
+ :param pulumi.Input[int] backup_retention_policy_on_cluster_deletion: The backup retention policy configured for the instance. Valid values:
815
833
  :param pulumi.Input[str] backup_time: MongoDB instance backup time. It is required when `backup_period` was existed. In the format of HH:mmZ- HH:mmZ. Time setting interval is one hour. If not set, the system will return a default, like "23:00Z-24:00Z".
816
834
  :param pulumi.Input[str] cloud_disk_encryption_key: The ID of the encryption key.
817
835
  :param pulumi.Input[str] db_instance_class: Instance specification. see [Instance specifications](https://www.alibabacloud.com/help/doc-detail/57141.htm).
@@ -878,6 +896,8 @@ class _InstanceState:
878
896
  pulumi.set(__self__, "backup_periods", backup_periods)
879
897
  if backup_retention_period is not None:
880
898
  pulumi.set(__self__, "backup_retention_period", backup_retention_period)
899
+ if backup_retention_policy_on_cluster_deletion is not None:
900
+ pulumi.set(__self__, "backup_retention_policy_on_cluster_deletion", backup_retention_policy_on_cluster_deletion)
881
901
  if backup_time is not None:
882
902
  pulumi.set(__self__, "backup_time", backup_time)
883
903
  if cloud_disk_encryption_key is not None:
@@ -1026,6 +1046,18 @@ class _InstanceState:
1026
1046
  def backup_retention_period(self, value: Optional[pulumi.Input[int]]):
1027
1047
  pulumi.set(self, "backup_retention_period", value)
1028
1048
 
1049
+ @property
1050
+ @pulumi.getter(name="backupRetentionPolicyOnClusterDeletion")
1051
+ def backup_retention_policy_on_cluster_deletion(self) -> Optional[pulumi.Input[int]]:
1052
+ """
1053
+ The backup retention policy configured for the instance. Valid values:
1054
+ """
1055
+ return pulumi.get(self, "backup_retention_policy_on_cluster_deletion")
1056
+
1057
+ @backup_retention_policy_on_cluster_deletion.setter
1058
+ def backup_retention_policy_on_cluster_deletion(self, value: Optional[pulumi.Input[int]]):
1059
+ pulumi.set(self, "backup_retention_policy_on_cluster_deletion", value)
1060
+
1029
1061
  @property
1030
1062
  @pulumi.getter(name="backupTime")
1031
1063
  def backup_time(self) -> Optional[pulumi.Input[str]]:
@@ -1565,6 +1597,7 @@ class Instance(pulumi.CustomResource):
1565
1597
  backup_interval: Optional[pulumi.Input[str]] = None,
1566
1598
  backup_periods: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
1567
1599
  backup_retention_period: Optional[pulumi.Input[int]] = None,
1600
+ backup_retention_policy_on_cluster_deletion: Optional[pulumi.Input[int]] = None,
1568
1601
  backup_time: Optional[pulumi.Input[str]] = None,
1569
1602
  cloud_disk_encryption_key: Optional[pulumi.Input[str]] = None,
1570
1603
  db_instance_class: Optional[pulumi.Input[str]] = None,
@@ -1677,6 +1710,7 @@ class Instance(pulumi.CustomResource):
1677
1710
  :param pulumi.Input[str] backup_interval: The frequency at which high-frequency backups are created. Valid values: `-1`, `15`, `30`, `60`, `120`, `180`, `240`, `360`, `480`, `720`.
1678
1711
  :param pulumi.Input[Sequence[pulumi.Input[str]]] backup_periods: MongoDB Instance backup period. It is required when `backup_time` was existed. Valid values: [Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday]. Default to [Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday].
1679
1712
  :param pulumi.Input[int] backup_retention_period: The retention period of full backups.
1713
+ :param pulumi.Input[int] backup_retention_policy_on_cluster_deletion: The backup retention policy configured for the instance. Valid values:
1680
1714
  :param pulumi.Input[str] backup_time: MongoDB instance backup time. It is required when `backup_period` was existed. In the format of HH:mmZ- HH:mmZ. Time setting interval is one hour. If not set, the system will return a default, like "23:00Z-24:00Z".
1681
1715
  :param pulumi.Input[str] cloud_disk_encryption_key: The ID of the encryption key.
1682
1716
  :param pulumi.Input[str] db_instance_class: Instance specification. see [Instance specifications](https://www.alibabacloud.com/help/doc-detail/57141.htm).
@@ -1819,6 +1853,7 @@ class Instance(pulumi.CustomResource):
1819
1853
  backup_interval: Optional[pulumi.Input[str]] = None,
1820
1854
  backup_periods: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
1821
1855
  backup_retention_period: Optional[pulumi.Input[int]] = None,
1856
+ backup_retention_policy_on_cluster_deletion: Optional[pulumi.Input[int]] = None,
1822
1857
  backup_time: Optional[pulumi.Input[str]] = None,
1823
1858
  cloud_disk_encryption_key: Optional[pulumi.Input[str]] = None,
1824
1859
  db_instance_class: Optional[pulumi.Input[str]] = None,
@@ -1872,6 +1907,7 @@ class Instance(pulumi.CustomResource):
1872
1907
  __props__.__dict__["backup_interval"] = backup_interval
1873
1908
  __props__.__dict__["backup_periods"] = backup_periods
1874
1909
  __props__.__dict__["backup_retention_period"] = backup_retention_period
1910
+ __props__.__dict__["backup_retention_policy_on_cluster_deletion"] = backup_retention_policy_on_cluster_deletion
1875
1911
  __props__.__dict__["backup_time"] = backup_time
1876
1912
  __props__.__dict__["cloud_disk_encryption_key"] = cloud_disk_encryption_key
1877
1913
  if db_instance_class is None and not opts.urn:
@@ -1938,6 +1974,7 @@ class Instance(pulumi.CustomResource):
1938
1974
  backup_interval: Optional[pulumi.Input[str]] = None,
1939
1975
  backup_periods: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
1940
1976
  backup_retention_period: Optional[pulumi.Input[int]] = None,
1977
+ backup_retention_policy_on_cluster_deletion: Optional[pulumi.Input[int]] = None,
1941
1978
  backup_time: Optional[pulumi.Input[str]] = None,
1942
1979
  cloud_disk_encryption_key: Optional[pulumi.Input[str]] = None,
1943
1980
  db_instance_class: Optional[pulumi.Input[str]] = None,
@@ -1994,6 +2031,7 @@ class Instance(pulumi.CustomResource):
1994
2031
  :param pulumi.Input[str] backup_interval: The frequency at which high-frequency backups are created. Valid values: `-1`, `15`, `30`, `60`, `120`, `180`, `240`, `360`, `480`, `720`.
1995
2032
  :param pulumi.Input[Sequence[pulumi.Input[str]]] backup_periods: MongoDB Instance backup period. It is required when `backup_time` was existed. Valid values: [Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday]. Default to [Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday].
1996
2033
  :param pulumi.Input[int] backup_retention_period: The retention period of full backups.
2034
+ :param pulumi.Input[int] backup_retention_policy_on_cluster_deletion: The backup retention policy configured for the instance. Valid values:
1997
2035
  :param pulumi.Input[str] backup_time: MongoDB instance backup time. It is required when `backup_period` was existed. In the format of HH:mmZ- HH:mmZ. Time setting interval is one hour. If not set, the system will return a default, like "23:00Z-24:00Z".
1998
2036
  :param pulumi.Input[str] cloud_disk_encryption_key: The ID of the encryption key.
1999
2037
  :param pulumi.Input[str] db_instance_class: Instance specification. see [Instance specifications](https://www.alibabacloud.com/help/doc-detail/57141.htm).
@@ -2059,6 +2097,7 @@ class Instance(pulumi.CustomResource):
2059
2097
  __props__.__dict__["backup_interval"] = backup_interval
2060
2098
  __props__.__dict__["backup_periods"] = backup_periods
2061
2099
  __props__.__dict__["backup_retention_period"] = backup_retention_period
2100
+ __props__.__dict__["backup_retention_policy_on_cluster_deletion"] = backup_retention_policy_on_cluster_deletion
2062
2101
  __props__.__dict__["backup_time"] = backup_time
2063
2102
  __props__.__dict__["cloud_disk_encryption_key"] = cloud_disk_encryption_key
2064
2103
  __props__.__dict__["db_instance_class"] = db_instance_class
@@ -2145,6 +2184,14 @@ class Instance(pulumi.CustomResource):
2145
2184
  """
2146
2185
  return pulumi.get(self, "backup_retention_period")
2147
2186
 
2187
+ @property
2188
+ @pulumi.getter(name="backupRetentionPolicyOnClusterDeletion")
2189
+ def backup_retention_policy_on_cluster_deletion(self) -> pulumi.Output[Optional[int]]:
2190
+ """
2191
+ The backup retention policy configured for the instance. Valid values:
2192
+ """
2193
+ return pulumi.get(self, "backup_retention_policy_on_cluster_deletion")
2194
+
2148
2195
  @property
2149
2196
  @pulumi.getter(name="backupTime")
2150
2197
  def backup_time(self) -> pulumi.Output[str]:
@@ -27,6 +27,7 @@ class ShardingInstanceArgs:
27
27
  account_password: Optional[pulumi.Input[str]] = None,
28
28
  auto_renew: Optional[pulumi.Input[bool]] = None,
29
29
  backup_periods: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
30
+ backup_retention_policy_on_cluster_deletion: Optional[pulumi.Input[int]] = None,
30
31
  backup_time: Optional[pulumi.Input[str]] = None,
31
32
  config_server_lists: Optional[pulumi.Input[Sequence[pulumi.Input['ShardingInstanceConfigServerListArgs']]]] = None,
32
33
  instance_charge_type: Optional[pulumi.Input[str]] = None,
@@ -56,6 +57,7 @@ class ShardingInstanceArgs:
56
57
  :param pulumi.Input[str] account_password: Password of the root account. It is a string of 6 to 32 characters and is composed of letters, numbers, and underlines.
57
58
  :param pulumi.Input[bool] auto_renew: Auto renew for prepaid. Default value: `false`. Valid values: `true`, `false`.
58
59
  :param pulumi.Input[Sequence[pulumi.Input[str]]] backup_periods: MongoDB Instance backup period. It is required when `backup_time` was existed. Valid values: [Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday]. Default to [Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday]
60
+ :param pulumi.Input[int] backup_retention_policy_on_cluster_deletion: The backup retention policy configured for the instance. Valid values:
59
61
  :param pulumi.Input[str] backup_time: Sharding Instance backup time. It is required when `backup_period` was existed. In the format of HH:mmZ- HH:mmZ. Time setting interval is one hour. If not set, the system will return a default, like "23:00Z-24:00Z".
60
62
  :param pulumi.Input[Sequence[pulumi.Input['ShardingInstanceConfigServerListArgs']]] config_server_lists: The ConfigServer nodes of the instance. See `config_server_list` below.
61
63
  :param pulumi.Input[str] instance_charge_type: The billing method of the instance. Default value: `PostPaid`. Valid values: `PrePaid`, `PostPaid`. **NOTE:** It can be modified from `PostPaid` to `PrePaid` after version v1.141.0.
@@ -91,6 +93,8 @@ class ShardingInstanceArgs:
91
93
  pulumi.set(__self__, "auto_renew", auto_renew)
92
94
  if backup_periods is not None:
93
95
  pulumi.set(__self__, "backup_periods", backup_periods)
96
+ if backup_retention_policy_on_cluster_deletion is not None:
97
+ pulumi.set(__self__, "backup_retention_policy_on_cluster_deletion", backup_retention_policy_on_cluster_deletion)
94
98
  if backup_time is not None:
95
99
  pulumi.set(__self__, "backup_time", backup_time)
96
100
  if config_server_lists is not None:
@@ -206,6 +210,18 @@ class ShardingInstanceArgs:
206
210
  def backup_periods(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
207
211
  pulumi.set(self, "backup_periods", value)
208
212
 
213
+ @property
214
+ @pulumi.getter(name="backupRetentionPolicyOnClusterDeletion")
215
+ def backup_retention_policy_on_cluster_deletion(self) -> Optional[pulumi.Input[int]]:
216
+ """
217
+ The backup retention policy configured for the instance. Valid values:
218
+ """
219
+ return pulumi.get(self, "backup_retention_policy_on_cluster_deletion")
220
+
221
+ @backup_retention_policy_on_cluster_deletion.setter
222
+ def backup_retention_policy_on_cluster_deletion(self, value: Optional[pulumi.Input[int]]):
223
+ pulumi.set(self, "backup_retention_policy_on_cluster_deletion", value)
224
+
209
225
  @property
210
226
  @pulumi.getter(name="backupTime")
211
227
  def backup_time(self) -> Optional[pulumi.Input[str]]:
@@ -469,6 +485,7 @@ class _ShardingInstanceState:
469
485
  account_password: Optional[pulumi.Input[str]] = None,
470
486
  auto_renew: Optional[pulumi.Input[bool]] = None,
471
487
  backup_periods: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
488
+ backup_retention_policy_on_cluster_deletion: Optional[pulumi.Input[int]] = None,
472
489
  backup_time: Optional[pulumi.Input[str]] = None,
473
490
  config_server_lists: Optional[pulumi.Input[Sequence[pulumi.Input['ShardingInstanceConfigServerListArgs']]]] = None,
474
491
  engine_version: Optional[pulumi.Input[str]] = None,
@@ -499,6 +516,7 @@ class _ShardingInstanceState:
499
516
  :param pulumi.Input[str] account_password: Password of the root account. It is a string of 6 to 32 characters and is composed of letters, numbers, and underlines.
500
517
  :param pulumi.Input[bool] auto_renew: Auto renew for prepaid. Default value: `false`. Valid values: `true`, `false`.
501
518
  :param pulumi.Input[Sequence[pulumi.Input[str]]] backup_periods: MongoDB Instance backup period. It is required when `backup_time` was existed. Valid values: [Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday]. Default to [Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday]
519
+ :param pulumi.Input[int] backup_retention_policy_on_cluster_deletion: The backup retention policy configured for the instance. Valid values:
502
520
  :param pulumi.Input[str] backup_time: Sharding Instance backup time. It is required when `backup_period` was existed. In the format of HH:mmZ- HH:mmZ. Time setting interval is one hour. If not set, the system will return a default, like "23:00Z-24:00Z".
503
521
  :param pulumi.Input[Sequence[pulumi.Input['ShardingInstanceConfigServerListArgs']]] config_server_lists: The ConfigServer nodes of the instance. See `config_server_list` below.
504
522
  :param pulumi.Input[str] engine_version: Database version. Value options can refer to the latest docs [CreateDBInstance](https://www.alibabacloud.com/help/en/doc-detail/61884.htm) `EngineVersion`. **NOTE:** From version 1.225.1, `engine_version` can be modified.
@@ -535,6 +553,8 @@ class _ShardingInstanceState:
535
553
  pulumi.set(__self__, "auto_renew", auto_renew)
536
554
  if backup_periods is not None:
537
555
  pulumi.set(__self__, "backup_periods", backup_periods)
556
+ if backup_retention_policy_on_cluster_deletion is not None:
557
+ pulumi.set(__self__, "backup_retention_policy_on_cluster_deletion", backup_retention_policy_on_cluster_deletion)
538
558
  if backup_time is not None:
539
559
  pulumi.set(__self__, "backup_time", backup_time)
540
560
  if config_server_lists is not None:
@@ -622,6 +642,18 @@ class _ShardingInstanceState:
622
642
  def backup_periods(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
623
643
  pulumi.set(self, "backup_periods", value)
624
644
 
645
+ @property
646
+ @pulumi.getter(name="backupRetentionPolicyOnClusterDeletion")
647
+ def backup_retention_policy_on_cluster_deletion(self) -> Optional[pulumi.Input[int]]:
648
+ """
649
+ The backup retention policy configured for the instance. Valid values:
650
+ """
651
+ return pulumi.get(self, "backup_retention_policy_on_cluster_deletion")
652
+
653
+ @backup_retention_policy_on_cluster_deletion.setter
654
+ def backup_retention_policy_on_cluster_deletion(self, value: Optional[pulumi.Input[int]]):
655
+ pulumi.set(self, "backup_retention_policy_on_cluster_deletion", value)
656
+
625
657
  @property
626
658
  @pulumi.getter(name="backupTime")
627
659
  def backup_time(self) -> Optional[pulumi.Input[str]]:
@@ -935,6 +967,7 @@ class ShardingInstance(pulumi.CustomResource):
935
967
  account_password: Optional[pulumi.Input[str]] = None,
936
968
  auto_renew: Optional[pulumi.Input[bool]] = None,
937
969
  backup_periods: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
970
+ backup_retention_policy_on_cluster_deletion: Optional[pulumi.Input[int]] = None,
938
971
  backup_time: Optional[pulumi.Input[str]] = None,
939
972
  config_server_lists: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ShardingInstanceConfigServerListArgs', 'ShardingInstanceConfigServerListArgsDict']]]]] = None,
940
973
  engine_version: Optional[pulumi.Input[str]] = None,
@@ -1039,6 +1072,7 @@ class ShardingInstance(pulumi.CustomResource):
1039
1072
  :param pulumi.Input[str] account_password: Password of the root account. It is a string of 6 to 32 characters and is composed of letters, numbers, and underlines.
1040
1073
  :param pulumi.Input[bool] auto_renew: Auto renew for prepaid. Default value: `false`. Valid values: `true`, `false`.
1041
1074
  :param pulumi.Input[Sequence[pulumi.Input[str]]] backup_periods: MongoDB Instance backup period. It is required when `backup_time` was existed. Valid values: [Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday]. Default to [Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday]
1075
+ :param pulumi.Input[int] backup_retention_policy_on_cluster_deletion: The backup retention policy configured for the instance. Valid values:
1042
1076
  :param pulumi.Input[str] backup_time: Sharding Instance backup time. It is required when `backup_period` was existed. In the format of HH:mmZ- HH:mmZ. Time setting interval is one hour. If not set, the system will return a default, like "23:00Z-24:00Z".
1043
1077
  :param pulumi.Input[Sequence[pulumi.Input[Union['ShardingInstanceConfigServerListArgs', 'ShardingInstanceConfigServerListArgsDict']]]] config_server_lists: The ConfigServer nodes of the instance. See `config_server_list` below.
1044
1078
  :param pulumi.Input[str] engine_version: Database version. Value options can refer to the latest docs [CreateDBInstance](https://www.alibabacloud.com/help/en/doc-detail/61884.htm) `EngineVersion`. **NOTE:** From version 1.225.1, `engine_version` can be modified.
@@ -1166,6 +1200,7 @@ class ShardingInstance(pulumi.CustomResource):
1166
1200
  account_password: Optional[pulumi.Input[str]] = None,
1167
1201
  auto_renew: Optional[pulumi.Input[bool]] = None,
1168
1202
  backup_periods: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
1203
+ backup_retention_policy_on_cluster_deletion: Optional[pulumi.Input[int]] = None,
1169
1204
  backup_time: Optional[pulumi.Input[str]] = None,
1170
1205
  config_server_lists: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ShardingInstanceConfigServerListArgs', 'ShardingInstanceConfigServerListArgsDict']]]]] = None,
1171
1206
  engine_version: Optional[pulumi.Input[str]] = None,
@@ -1202,6 +1237,7 @@ class ShardingInstance(pulumi.CustomResource):
1202
1237
  __props__.__dict__["account_password"] = None if account_password is None else pulumi.Output.secret(account_password)
1203
1238
  __props__.__dict__["auto_renew"] = auto_renew
1204
1239
  __props__.__dict__["backup_periods"] = backup_periods
1240
+ __props__.__dict__["backup_retention_policy_on_cluster_deletion"] = backup_retention_policy_on_cluster_deletion
1205
1241
  __props__.__dict__["backup_time"] = backup_time
1206
1242
  __props__.__dict__["config_server_lists"] = config_server_lists
1207
1243
  if engine_version is None and not opts.urn:
@@ -1248,6 +1284,7 @@ class ShardingInstance(pulumi.CustomResource):
1248
1284
  account_password: Optional[pulumi.Input[str]] = None,
1249
1285
  auto_renew: Optional[pulumi.Input[bool]] = None,
1250
1286
  backup_periods: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
1287
+ backup_retention_policy_on_cluster_deletion: Optional[pulumi.Input[int]] = None,
1251
1288
  backup_time: Optional[pulumi.Input[str]] = None,
1252
1289
  config_server_lists: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ShardingInstanceConfigServerListArgs', 'ShardingInstanceConfigServerListArgsDict']]]]] = None,
1253
1290
  engine_version: Optional[pulumi.Input[str]] = None,
@@ -1283,6 +1320,7 @@ class ShardingInstance(pulumi.CustomResource):
1283
1320
  :param pulumi.Input[str] account_password: Password of the root account. It is a string of 6 to 32 characters and is composed of letters, numbers, and underlines.
1284
1321
  :param pulumi.Input[bool] auto_renew: Auto renew for prepaid. Default value: `false`. Valid values: `true`, `false`.
1285
1322
  :param pulumi.Input[Sequence[pulumi.Input[str]]] backup_periods: MongoDB Instance backup period. It is required when `backup_time` was existed. Valid values: [Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday]. Default to [Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday]
1323
+ :param pulumi.Input[int] backup_retention_policy_on_cluster_deletion: The backup retention policy configured for the instance. Valid values:
1286
1324
  :param pulumi.Input[str] backup_time: Sharding Instance backup time. It is required when `backup_period` was existed. In the format of HH:mmZ- HH:mmZ. Time setting interval is one hour. If not set, the system will return a default, like "23:00Z-24:00Z".
1287
1325
  :param pulumi.Input[Sequence[pulumi.Input[Union['ShardingInstanceConfigServerListArgs', 'ShardingInstanceConfigServerListArgsDict']]]] config_server_lists: The ConfigServer nodes of the instance. See `config_server_list` below.
1288
1326
  :param pulumi.Input[str] engine_version: Database version. Value options can refer to the latest docs [CreateDBInstance](https://www.alibabacloud.com/help/en/doc-detail/61884.htm) `EngineVersion`. **NOTE:** From version 1.225.1, `engine_version` can be modified.
@@ -1320,6 +1358,7 @@ class ShardingInstance(pulumi.CustomResource):
1320
1358
  __props__.__dict__["account_password"] = account_password
1321
1359
  __props__.__dict__["auto_renew"] = auto_renew
1322
1360
  __props__.__dict__["backup_periods"] = backup_periods
1361
+ __props__.__dict__["backup_retention_policy_on_cluster_deletion"] = backup_retention_policy_on_cluster_deletion
1323
1362
  __props__.__dict__["backup_time"] = backup_time
1324
1363
  __props__.__dict__["config_server_lists"] = config_server_lists
1325
1364
  __props__.__dict__["engine_version"] = engine_version
@@ -1371,6 +1410,14 @@ class ShardingInstance(pulumi.CustomResource):
1371
1410
  """
1372
1411
  return pulumi.get(self, "backup_periods")
1373
1412
 
1413
+ @property
1414
+ @pulumi.getter(name="backupRetentionPolicyOnClusterDeletion")
1415
+ def backup_retention_policy_on_cluster_deletion(self) -> pulumi.Output[Optional[int]]:
1416
+ """
1417
+ The backup retention policy configured for the instance. Valid values:
1418
+ """
1419
+ return pulumi.get(self, "backup_retention_policy_on_cluster_deletion")
1420
+
1374
1421
  @property
1375
1422
  @pulumi.getter(name="backupTime")
1376
1423
  def backup_time(self) -> pulumi.Output[str]: