pulumi-alicloud 3.81.0a1750651450__py3-none-any.whl → 3.82.0a1751947305__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 +32 -0
- pulumi_alicloud/alikafka/__init__.py +2 -0
- pulumi_alicloud/alikafka/_inputs.py +450 -0
- pulumi_alicloud/alikafka/instance.py +331 -95
- pulumi_alicloud/alikafka/outputs.py +346 -0
- pulumi_alicloud/cloudfirewall/__init__.py +1 -0
- pulumi_alicloud/cloudfirewall/policy_advanced_config.py +165 -0
- pulumi_alicloud/ecs/get_ecs_key_pairs.py +57 -13
- pulumi_alicloud/ecs/get_ecs_launch_templates.py +15 -14
- pulumi_alicloud/ecs/get_key_pairs.py +1 -1
- pulumi_alicloud/ecs/instance.py +115 -0
- pulumi_alicloud/ecs/outputs.py +128 -80
- pulumi_alicloud/emrv2/_inputs.py +74 -0
- pulumi_alicloud/emrv2/outputs.py +65 -0
- pulumi_alicloud/esa/__init__.py +2 -0
- pulumi_alicloud/esa/certificate.py +7 -28
- pulumi_alicloud/esa/custom_scene_policy.py +484 -0
- pulumi_alicloud/esa/version.py +406 -0
- pulumi_alicloud/gpdb/instance.py +28 -28
- pulumi_alicloud/hbr/__init__.py +1 -0
- pulumi_alicloud/hbr/get_udm_snapshots.py +282 -0
- pulumi_alicloud/hbr/outputs.py +96 -0
- pulumi_alicloud/kms/secret.py +42 -28
- pulumi_alicloud/maxcompute/_inputs.py +26 -6
- pulumi_alicloud/maxcompute/outputs.py +18 -4
- pulumi_alicloud/maxcompute/project.py +48 -1
- pulumi_alicloud/mongodb/instance.py +63 -16
- pulumi_alicloud/mongodb/sharding_instance.py +249 -0
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/threatdetection/__init__.py +1 -0
- pulumi_alicloud/threatdetection/cycle_task.py +731 -0
- {pulumi_alicloud-3.81.0a1750651450.dist-info → pulumi_alicloud-3.82.0a1751947305.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.81.0a1750651450.dist-info → pulumi_alicloud-3.82.0a1751947305.dist-info}/RECORD +35 -28
- {pulumi_alicloud-3.81.0a1750651450.dist-info → pulumi_alicloud-3.82.0a1751947305.dist-info}/WHEEL +0 -0
- {pulumi_alicloud-3.81.0a1750651450.dist-info → pulumi_alicloud-3.82.0a1751947305.dist-info}/top_level.txt +0 -0
|
@@ -120,11 +120,15 @@ if not MYPY:
|
|
|
120
120
|
class ProjectPropertiesArgsDict(TypedDict):
|
|
121
121
|
allow_full_scan: NotRequired[pulumi.Input[builtins.bool]]
|
|
122
122
|
"""
|
|
123
|
-
Whether to allow full table scan. Default: false
|
|
123
|
+
Whether to allow full table scan. Default: `false`.
|
|
124
124
|
"""
|
|
125
125
|
enable_decimal2: NotRequired[pulumi.Input[builtins.bool]]
|
|
126
126
|
"""
|
|
127
|
-
Whether to turn on Decimal2.0
|
|
127
|
+
Whether to turn on Decimal2.0.
|
|
128
|
+
"""
|
|
129
|
+
enable_dr: NotRequired[pulumi.Input[builtins.bool]]
|
|
130
|
+
"""
|
|
131
|
+
Enable multi-AZ storage disaster tolerance. Valid values: `true`, `false`.
|
|
128
132
|
"""
|
|
129
133
|
encryption: NotRequired[pulumi.Input['ProjectPropertiesEncryptionArgsDict']]
|
|
130
134
|
"""
|
|
@@ -171,6 +175,7 @@ class ProjectPropertiesArgs:
|
|
|
171
175
|
def __init__(__self__, *,
|
|
172
176
|
allow_full_scan: Optional[pulumi.Input[builtins.bool]] = None,
|
|
173
177
|
enable_decimal2: Optional[pulumi.Input[builtins.bool]] = None,
|
|
178
|
+
enable_dr: Optional[pulumi.Input[builtins.bool]] = None,
|
|
174
179
|
encryption: Optional[pulumi.Input['ProjectPropertiesEncryptionArgs']] = None,
|
|
175
180
|
retention_days: Optional[pulumi.Input[builtins.int]] = None,
|
|
176
181
|
sql_metering_max: Optional[pulumi.Input[builtins.str]] = None,
|
|
@@ -178,8 +183,9 @@ class ProjectPropertiesArgs:
|
|
|
178
183
|
timezone: Optional[pulumi.Input[builtins.str]] = None,
|
|
179
184
|
type_system: Optional[pulumi.Input[builtins.str]] = None):
|
|
180
185
|
"""
|
|
181
|
-
:param pulumi.Input[builtins.bool] allow_full_scan: Whether to allow full table scan. Default: false
|
|
182
|
-
:param pulumi.Input[builtins.bool] enable_decimal2: Whether to turn on Decimal2.0
|
|
186
|
+
:param pulumi.Input[builtins.bool] allow_full_scan: Whether to allow full table scan. Default: `false`.
|
|
187
|
+
:param pulumi.Input[builtins.bool] enable_decimal2: Whether to turn on Decimal2.0.
|
|
188
|
+
:param pulumi.Input[builtins.bool] enable_dr: Enable multi-AZ storage disaster tolerance. Valid values: `true`, `false`.
|
|
183
189
|
:param pulumi.Input['ProjectPropertiesEncryptionArgs'] encryption: Storage encryption. For details, see [Storage Encryption](https://www.alibabacloud.com/help/en/maxcompute/security-and-compliance/storage-encryption)
|
|
184
190
|
> **NOTE :**:
|
|
185
191
|
To enable storage encryption, you need to modify the parameters of the basic attributes of the MaxCompute project. This operation permission is authenticated by RAM, and you need to have the Super_Administrator role permission of the corresponding project.
|
|
@@ -204,6 +210,8 @@ class ProjectPropertiesArgs:
|
|
|
204
210
|
pulumi.set(__self__, "allow_full_scan", allow_full_scan)
|
|
205
211
|
if enable_decimal2 is not None:
|
|
206
212
|
pulumi.set(__self__, "enable_decimal2", enable_decimal2)
|
|
213
|
+
if enable_dr is not None:
|
|
214
|
+
pulumi.set(__self__, "enable_dr", enable_dr)
|
|
207
215
|
if encryption is not None:
|
|
208
216
|
pulumi.set(__self__, "encryption", encryption)
|
|
209
217
|
if retention_days is not None:
|
|
@@ -221,7 +229,7 @@ class ProjectPropertiesArgs:
|
|
|
221
229
|
@pulumi.getter(name="allowFullScan")
|
|
222
230
|
def allow_full_scan(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
223
231
|
"""
|
|
224
|
-
Whether to allow full table scan. Default: false
|
|
232
|
+
Whether to allow full table scan. Default: `false`.
|
|
225
233
|
"""
|
|
226
234
|
return pulumi.get(self, "allow_full_scan")
|
|
227
235
|
|
|
@@ -233,7 +241,7 @@ class ProjectPropertiesArgs:
|
|
|
233
241
|
@pulumi.getter(name="enableDecimal2")
|
|
234
242
|
def enable_decimal2(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
235
243
|
"""
|
|
236
|
-
Whether to turn on Decimal2.0
|
|
244
|
+
Whether to turn on Decimal2.0.
|
|
237
245
|
"""
|
|
238
246
|
return pulumi.get(self, "enable_decimal2")
|
|
239
247
|
|
|
@@ -241,6 +249,18 @@ class ProjectPropertiesArgs:
|
|
|
241
249
|
def enable_decimal2(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
242
250
|
pulumi.set(self, "enable_decimal2", value)
|
|
243
251
|
|
|
252
|
+
@property
|
|
253
|
+
@pulumi.getter(name="enableDr")
|
|
254
|
+
def enable_dr(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
255
|
+
"""
|
|
256
|
+
Enable multi-AZ storage disaster tolerance. Valid values: `true`, `false`.
|
|
257
|
+
"""
|
|
258
|
+
return pulumi.get(self, "enable_dr")
|
|
259
|
+
|
|
260
|
+
@enable_dr.setter
|
|
261
|
+
def enable_dr(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
262
|
+
pulumi.set(self, "enable_dr", value)
|
|
263
|
+
|
|
244
264
|
@property
|
|
245
265
|
@pulumi.getter
|
|
246
266
|
def encryption(self) -> Optional[pulumi.Input['ProjectPropertiesEncryptionArgs']]:
|
|
@@ -109,6 +109,8 @@ class ProjectProperties(dict):
|
|
|
109
109
|
suggest = "allow_full_scan"
|
|
110
110
|
elif key == "enableDecimal2":
|
|
111
111
|
suggest = "enable_decimal2"
|
|
112
|
+
elif key == "enableDr":
|
|
113
|
+
suggest = "enable_dr"
|
|
112
114
|
elif key == "retentionDays":
|
|
113
115
|
suggest = "retention_days"
|
|
114
116
|
elif key == "sqlMeteringMax":
|
|
@@ -132,6 +134,7 @@ class ProjectProperties(dict):
|
|
|
132
134
|
def __init__(__self__, *,
|
|
133
135
|
allow_full_scan: Optional[builtins.bool] = None,
|
|
134
136
|
enable_decimal2: Optional[builtins.bool] = None,
|
|
137
|
+
enable_dr: Optional[builtins.bool] = None,
|
|
135
138
|
encryption: Optional['outputs.ProjectPropertiesEncryption'] = None,
|
|
136
139
|
retention_days: Optional[builtins.int] = None,
|
|
137
140
|
sql_metering_max: Optional[builtins.str] = None,
|
|
@@ -139,8 +142,9 @@ class ProjectProperties(dict):
|
|
|
139
142
|
timezone: Optional[builtins.str] = None,
|
|
140
143
|
type_system: Optional[builtins.str] = None):
|
|
141
144
|
"""
|
|
142
|
-
:param builtins.bool allow_full_scan: Whether to allow full table scan. Default: false
|
|
143
|
-
:param builtins.bool enable_decimal2: Whether to turn on Decimal2.0
|
|
145
|
+
:param builtins.bool allow_full_scan: Whether to allow full table scan. Default: `false`.
|
|
146
|
+
:param builtins.bool enable_decimal2: Whether to turn on Decimal2.0.
|
|
147
|
+
:param builtins.bool enable_dr: Enable multi-AZ storage disaster tolerance. Valid values: `true`, `false`.
|
|
144
148
|
:param 'ProjectPropertiesEncryptionArgs' encryption: Storage encryption. For details, see [Storage Encryption](https://www.alibabacloud.com/help/en/maxcompute/security-and-compliance/storage-encryption)
|
|
145
149
|
> **NOTE :**:
|
|
146
150
|
To enable storage encryption, you need to modify the parameters of the basic attributes of the MaxCompute project. This operation permission is authenticated by RAM, and you need to have the Super_Administrator role permission of the corresponding project.
|
|
@@ -165,6 +169,8 @@ class ProjectProperties(dict):
|
|
|
165
169
|
pulumi.set(__self__, "allow_full_scan", allow_full_scan)
|
|
166
170
|
if enable_decimal2 is not None:
|
|
167
171
|
pulumi.set(__self__, "enable_decimal2", enable_decimal2)
|
|
172
|
+
if enable_dr is not None:
|
|
173
|
+
pulumi.set(__self__, "enable_dr", enable_dr)
|
|
168
174
|
if encryption is not None:
|
|
169
175
|
pulumi.set(__self__, "encryption", encryption)
|
|
170
176
|
if retention_days is not None:
|
|
@@ -182,7 +188,7 @@ class ProjectProperties(dict):
|
|
|
182
188
|
@pulumi.getter(name="allowFullScan")
|
|
183
189
|
def allow_full_scan(self) -> Optional[builtins.bool]:
|
|
184
190
|
"""
|
|
185
|
-
Whether to allow full table scan. Default: false
|
|
191
|
+
Whether to allow full table scan. Default: `false`.
|
|
186
192
|
"""
|
|
187
193
|
return pulumi.get(self, "allow_full_scan")
|
|
188
194
|
|
|
@@ -190,10 +196,18 @@ class ProjectProperties(dict):
|
|
|
190
196
|
@pulumi.getter(name="enableDecimal2")
|
|
191
197
|
def enable_decimal2(self) -> Optional[builtins.bool]:
|
|
192
198
|
"""
|
|
193
|
-
Whether to turn on Decimal2.0
|
|
199
|
+
Whether to turn on Decimal2.0.
|
|
194
200
|
"""
|
|
195
201
|
return pulumi.get(self, "enable_decimal2")
|
|
196
202
|
|
|
203
|
+
@property
|
|
204
|
+
@pulumi.getter(name="enableDr")
|
|
205
|
+
def enable_dr(self) -> Optional[builtins.bool]:
|
|
206
|
+
"""
|
|
207
|
+
Enable multi-AZ storage disaster tolerance. Valid values: `true`, `false`.
|
|
208
|
+
"""
|
|
209
|
+
return pulumi.get(self, "enable_dr")
|
|
210
|
+
|
|
197
211
|
@property
|
|
198
212
|
@pulumi.getter
|
|
199
213
|
def encryption(self) -> Optional['outputs.ProjectPropertiesEncryption']:
|
|
@@ -31,7 +31,8 @@ class ProjectArgs:
|
|
|
31
31
|
properties: Optional[pulumi.Input['ProjectPropertiesArgs']] = None,
|
|
32
32
|
security_properties: Optional[pulumi.Input['ProjectSecurityPropertiesArgs']] = None,
|
|
33
33
|
status: Optional[pulumi.Input[builtins.str]] = None,
|
|
34
|
-
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None
|
|
34
|
+
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
35
|
+
three_tier_model: Optional[pulumi.Input[builtins.bool]] = None):
|
|
35
36
|
"""
|
|
36
37
|
The set of arguments for constructing a Project resource.
|
|
37
38
|
:param pulumi.Input[builtins.str] comment: Project description information. The length is 1 to 256 English or Chinese characters. The default value is blank.
|
|
@@ -46,6 +47,7 @@ class ProjectArgs:
|
|
|
46
47
|
:param pulumi.Input['ProjectSecurityPropertiesArgs'] security_properties: Security-related attributes See `security_properties` below.
|
|
47
48
|
:param pulumi.Input[builtins.str] status: The project status. Default value: AVAILABLE. Value: (AVAILABLE/READONLY/FROZEN/DELETING)
|
|
48
49
|
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] tags: The tag of the resource
|
|
50
|
+
:param pulumi.Input[builtins.bool] three_tier_model: Indicates whether data storage by schema is supported. Valid values:
|
|
49
51
|
"""
|
|
50
52
|
if comment is not None:
|
|
51
53
|
pulumi.set(__self__, "comment", comment)
|
|
@@ -67,6 +69,8 @@ class ProjectArgs:
|
|
|
67
69
|
pulumi.set(__self__, "status", status)
|
|
68
70
|
if tags is not None:
|
|
69
71
|
pulumi.set(__self__, "tags", tags)
|
|
72
|
+
if three_tier_model is not None:
|
|
73
|
+
pulumi.set(__self__, "three_tier_model", three_tier_model)
|
|
70
74
|
|
|
71
75
|
@property
|
|
72
76
|
@pulumi.getter
|
|
@@ -188,6 +192,18 @@ class ProjectArgs:
|
|
|
188
192
|
def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
|
|
189
193
|
pulumi.set(self, "tags", value)
|
|
190
194
|
|
|
195
|
+
@property
|
|
196
|
+
@pulumi.getter(name="threeTierModel")
|
|
197
|
+
def three_tier_model(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
198
|
+
"""
|
|
199
|
+
Indicates whether data storage by schema is supported. Valid values:
|
|
200
|
+
"""
|
|
201
|
+
return pulumi.get(self, "three_tier_model")
|
|
202
|
+
|
|
203
|
+
@three_tier_model.setter
|
|
204
|
+
def three_tier_model(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
205
|
+
pulumi.set(self, "three_tier_model", value)
|
|
206
|
+
|
|
191
207
|
|
|
192
208
|
@pulumi.input_type
|
|
193
209
|
class _ProjectState:
|
|
@@ -205,6 +221,7 @@ class _ProjectState:
|
|
|
205
221
|
security_properties: Optional[pulumi.Input['ProjectSecurityPropertiesArgs']] = None,
|
|
206
222
|
status: Optional[pulumi.Input[builtins.str]] = None,
|
|
207
223
|
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
224
|
+
three_tier_model: Optional[pulumi.Input[builtins.bool]] = None,
|
|
208
225
|
type: Optional[pulumi.Input[builtins.str]] = None):
|
|
209
226
|
"""
|
|
210
227
|
Input properties used for looking up and filtering Project resources.
|
|
@@ -223,6 +240,7 @@ class _ProjectState:
|
|
|
223
240
|
:param pulumi.Input['ProjectSecurityPropertiesArgs'] security_properties: Security-related attributes See `security_properties` below.
|
|
224
241
|
:param pulumi.Input[builtins.str] status: The project status. Default value: AVAILABLE. Value: (AVAILABLE/READONLY/FROZEN/DELETING)
|
|
225
242
|
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] tags: The tag of the resource
|
|
243
|
+
:param pulumi.Input[builtins.bool] three_tier_model: Indicates whether data storage by schema is supported. Valid values:
|
|
226
244
|
:param pulumi.Input[builtins.str] type: Project type
|
|
227
245
|
"""
|
|
228
246
|
if comment is not None:
|
|
@@ -251,6 +269,8 @@ class _ProjectState:
|
|
|
251
269
|
pulumi.set(__self__, "status", status)
|
|
252
270
|
if tags is not None:
|
|
253
271
|
pulumi.set(__self__, "tags", tags)
|
|
272
|
+
if three_tier_model is not None:
|
|
273
|
+
pulumi.set(__self__, "three_tier_model", three_tier_model)
|
|
254
274
|
if type is not None:
|
|
255
275
|
pulumi.set(__self__, "type", type)
|
|
256
276
|
|
|
@@ -410,6 +430,18 @@ class _ProjectState:
|
|
|
410
430
|
def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
|
|
411
431
|
pulumi.set(self, "tags", value)
|
|
412
432
|
|
|
433
|
+
@property
|
|
434
|
+
@pulumi.getter(name="threeTierModel")
|
|
435
|
+
def three_tier_model(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
436
|
+
"""
|
|
437
|
+
Indicates whether data storage by schema is supported. Valid values:
|
|
438
|
+
"""
|
|
439
|
+
return pulumi.get(self, "three_tier_model")
|
|
440
|
+
|
|
441
|
+
@three_tier_model.setter
|
|
442
|
+
def three_tier_model(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
443
|
+
pulumi.set(self, "three_tier_model", value)
|
|
444
|
+
|
|
413
445
|
@property
|
|
414
446
|
@pulumi.getter
|
|
415
447
|
def type(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
@@ -439,6 +471,7 @@ class Project(pulumi.CustomResource):
|
|
|
439
471
|
security_properties: Optional[pulumi.Input[Union['ProjectSecurityPropertiesArgs', 'ProjectSecurityPropertiesArgsDict']]] = None,
|
|
440
472
|
status: Optional[pulumi.Input[builtins.str]] = None,
|
|
441
473
|
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
474
|
+
three_tier_model: Optional[pulumi.Input[builtins.bool]] = None,
|
|
442
475
|
__props__=None):
|
|
443
476
|
"""
|
|
444
477
|
Provides a Max Compute Project resource.
|
|
@@ -489,6 +522,7 @@ class Project(pulumi.CustomResource):
|
|
|
489
522
|
:param pulumi.Input[Union['ProjectSecurityPropertiesArgs', 'ProjectSecurityPropertiesArgsDict']] security_properties: Security-related attributes See `security_properties` below.
|
|
490
523
|
:param pulumi.Input[builtins.str] status: The project status. Default value: AVAILABLE. Value: (AVAILABLE/READONLY/FROZEN/DELETING)
|
|
491
524
|
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] tags: The tag of the resource
|
|
525
|
+
:param pulumi.Input[builtins.bool] three_tier_model: Indicates whether data storage by schema is supported. Valid values:
|
|
492
526
|
"""
|
|
493
527
|
...
|
|
494
528
|
@overload
|
|
@@ -556,6 +590,7 @@ class Project(pulumi.CustomResource):
|
|
|
556
590
|
security_properties: Optional[pulumi.Input[Union['ProjectSecurityPropertiesArgs', 'ProjectSecurityPropertiesArgsDict']]] = None,
|
|
557
591
|
status: Optional[pulumi.Input[builtins.str]] = None,
|
|
558
592
|
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
593
|
+
three_tier_model: Optional[pulumi.Input[builtins.bool]] = None,
|
|
559
594
|
__props__=None):
|
|
560
595
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
561
596
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -575,6 +610,7 @@ class Project(pulumi.CustomResource):
|
|
|
575
610
|
__props__.__dict__["security_properties"] = security_properties
|
|
576
611
|
__props__.__dict__["status"] = status
|
|
577
612
|
__props__.__dict__["tags"] = tags
|
|
613
|
+
__props__.__dict__["three_tier_model"] = three_tier_model
|
|
578
614
|
__props__.__dict__["create_time"] = None
|
|
579
615
|
__props__.__dict__["owner"] = None
|
|
580
616
|
__props__.__dict__["region_id"] = None
|
|
@@ -602,6 +638,7 @@ class Project(pulumi.CustomResource):
|
|
|
602
638
|
security_properties: Optional[pulumi.Input[Union['ProjectSecurityPropertiesArgs', 'ProjectSecurityPropertiesArgsDict']]] = None,
|
|
603
639
|
status: Optional[pulumi.Input[builtins.str]] = None,
|
|
604
640
|
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
641
|
+
three_tier_model: Optional[pulumi.Input[builtins.bool]] = None,
|
|
605
642
|
type: Optional[pulumi.Input[builtins.str]] = None) -> 'Project':
|
|
606
643
|
"""
|
|
607
644
|
Get an existing Project resource's state with the given name, id, and optional extra
|
|
@@ -625,6 +662,7 @@ class Project(pulumi.CustomResource):
|
|
|
625
662
|
:param pulumi.Input[Union['ProjectSecurityPropertiesArgs', 'ProjectSecurityPropertiesArgsDict']] security_properties: Security-related attributes See `security_properties` below.
|
|
626
663
|
:param pulumi.Input[builtins.str] status: The project status. Default value: AVAILABLE. Value: (AVAILABLE/READONLY/FROZEN/DELETING)
|
|
627
664
|
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] tags: The tag of the resource
|
|
665
|
+
:param pulumi.Input[builtins.bool] three_tier_model: Indicates whether data storage by schema is supported. Valid values:
|
|
628
666
|
:param pulumi.Input[builtins.str] type: Project type
|
|
629
667
|
"""
|
|
630
668
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
@@ -644,6 +682,7 @@ class Project(pulumi.CustomResource):
|
|
|
644
682
|
__props__.__dict__["security_properties"] = security_properties
|
|
645
683
|
__props__.__dict__["status"] = status
|
|
646
684
|
__props__.__dict__["tags"] = tags
|
|
685
|
+
__props__.__dict__["three_tier_model"] = three_tier_model
|
|
647
686
|
__props__.__dict__["type"] = type
|
|
648
687
|
return Project(resource_name, opts=opts, __props__=__props__)
|
|
649
688
|
|
|
@@ -751,6 +790,14 @@ class Project(pulumi.CustomResource):
|
|
|
751
790
|
"""
|
|
752
791
|
return pulumi.get(self, "tags")
|
|
753
792
|
|
|
793
|
+
@property
|
|
794
|
+
@pulumi.getter(name="threeTierModel")
|
|
795
|
+
def three_tier_model(self) -> pulumi.Output[builtins.bool]:
|
|
796
|
+
"""
|
|
797
|
+
Indicates whether data storage by schema is supported. Valid values:
|
|
798
|
+
"""
|
|
799
|
+
return pulumi.get(self, "three_tier_model")
|
|
800
|
+
|
|
754
801
|
@property
|
|
755
802
|
@pulumi.getter
|
|
756
803
|
def type(self) -> pulumi.Output[builtins.str]:
|
|
@@ -33,6 +33,7 @@ class InstanceArgs:
|
|
|
33
33
|
backup_retention_policy_on_cluster_deletion: Optional[pulumi.Input[builtins.int]] = None,
|
|
34
34
|
backup_time: Optional[pulumi.Input[builtins.str]] = None,
|
|
35
35
|
cloud_disk_encryption_key: Optional[pulumi.Input[builtins.str]] = None,
|
|
36
|
+
db_instance_release_protection: Optional[pulumi.Input[builtins.bool]] = None,
|
|
36
37
|
effective_time: Optional[pulumi.Input[builtins.str]] = None,
|
|
37
38
|
enable_backup_log: Optional[pulumi.Input[builtins.int]] = None,
|
|
38
39
|
encrypted: Optional[pulumi.Input[builtins.bool]] = None,
|
|
@@ -83,12 +84,13 @@ class InstanceArgs:
|
|
|
83
84
|
:param pulumi.Input[builtins.int] backup_retention_policy_on_cluster_deletion: The backup retention policy configured for the instance. Valid values:
|
|
84
85
|
:param pulumi.Input[builtins.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".
|
|
85
86
|
:param pulumi.Input[builtins.str] cloud_disk_encryption_key: The ID of the encryption key.
|
|
87
|
+
:param pulumi.Input[builtins.bool] db_instance_release_protection: Indicates whether release protection is enabled for the instance. Valid values: `true`, `false`.
|
|
86
88
|
:param pulumi.Input[builtins.str] effective_time: The time when the changed configurations take effect. Valid values: `Immediately`, `MaintainTime`.
|
|
87
89
|
:param pulumi.Input[builtins.int] enable_backup_log: Specifies whether to enable the log backup feature. Valid values:
|
|
88
90
|
:param pulumi.Input[builtins.bool] encrypted: Whether to enable cloud disk encryption. Default value: `false`. Valid values: `true`, `false`.
|
|
89
91
|
:param pulumi.Input[builtins.str] encryption_key: The ID of the custom key.
|
|
90
92
|
:param pulumi.Input[builtins.str] encryptor_name: The encryption method. **NOTE:** `encryptor_name` is valid only when `tde_status` is set to `enabled`.
|
|
91
|
-
:param pulumi.Input[builtins.str] hidden_zone_id: Configure the zone where the hidden node is located to deploy multiple zones. **NOTE:** This parameter value cannot be the same as `zone_id` and `secondary_zone_id` parameter values.
|
|
93
|
+
:param pulumi.Input[builtins.str] hidden_zone_id: Configure the zone where the hidden node is located to deploy multiple zones. **NOTE:** This parameter value cannot be the same as `zone_id` and `secondary_zone_id` parameter values. From version 1.253.0, `hidden_zone_id` can be modified.
|
|
92
94
|
:param pulumi.Input[builtins.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 1.63.0.
|
|
93
95
|
:param pulumi.Input[builtins.str] kms_encrypted_password: An KMS encrypts password used to a instance. If the `account_password` is filled in, this field will be ignored.
|
|
94
96
|
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] kms_encryption_context: An KMS encryption context used to decrypt `kms_encrypted_password` before creating or updating instance with `kms_encrypted_password`. See [Encryption Context](https://www.alibabacloud.com/help/doc-detail/42975.htm). It is valid when `kms_encrypted_password` is set.
|
|
@@ -108,7 +110,7 @@ class InstanceArgs:
|
|
|
108
110
|
:param pulumi.Input[builtins.int] replication_factor: Number of replica set nodes. Valid values: `1`, `3`, `5`, `7`.
|
|
109
111
|
:param pulumi.Input[builtins.str] resource_group_id: The ID of the Resource Group.
|
|
110
112
|
:param pulumi.Input[builtins.str] role_arn: The Alibaba Cloud Resource Name (ARN) of the specified Resource Access Management (RAM) role.
|
|
111
|
-
:param pulumi.Input[builtins.str] secondary_zone_id: Configure the available area where the slave node (Secondary node) is located to realize multi-available area deployment. **NOTE:** This parameter value cannot be the same as `zone_id` and `hidden_zone_id` parameter values.
|
|
113
|
+
:param pulumi.Input[builtins.str] secondary_zone_id: Configure the available area where the slave node (Secondary node) is located to realize multi-available area deployment. **NOTE:** This parameter value cannot be the same as `zone_id` and `hidden_zone_id` parameter values. From version 1.253.0, `secondary_zone_id` can be modified.
|
|
112
114
|
:param pulumi.Input[builtins.str] security_group_id: The Security Group ID of ECS.
|
|
113
115
|
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] security_ip_lists: List of IP addresses allowed to access all databases of an instance. The list contains up to 1,000 IP addresses, separated by commas. Supported formats include 0.0.0.0/0, 10.23.12.24 (IP), and 10.23.12.24/24 (Classless Inter-Domain Routing (CIDR) mode. /24 represents the length of the prefix in an IP address. The range of the prefix length is [1,32]).
|
|
114
116
|
:param pulumi.Input[builtins.str] snapshot_backup_type: The snapshot backup type. Default value: `Standard`. Valid values:
|
|
@@ -147,6 +149,8 @@ class InstanceArgs:
|
|
|
147
149
|
pulumi.set(__self__, "backup_time", backup_time)
|
|
148
150
|
if cloud_disk_encryption_key is not None:
|
|
149
151
|
pulumi.set(__self__, "cloud_disk_encryption_key", cloud_disk_encryption_key)
|
|
152
|
+
if db_instance_release_protection is not None:
|
|
153
|
+
pulumi.set(__self__, "db_instance_release_protection", db_instance_release_protection)
|
|
150
154
|
if effective_time is not None:
|
|
151
155
|
pulumi.set(__self__, "effective_time", effective_time)
|
|
152
156
|
if enable_backup_log is not None:
|
|
@@ -351,6 +355,18 @@ class InstanceArgs:
|
|
|
351
355
|
def cloud_disk_encryption_key(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
352
356
|
pulumi.set(self, "cloud_disk_encryption_key", value)
|
|
353
357
|
|
|
358
|
+
@property
|
|
359
|
+
@pulumi.getter(name="dbInstanceReleaseProtection")
|
|
360
|
+
def db_instance_release_protection(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
361
|
+
"""
|
|
362
|
+
Indicates whether release protection is enabled for the instance. Valid values: `true`, `false`.
|
|
363
|
+
"""
|
|
364
|
+
return pulumi.get(self, "db_instance_release_protection")
|
|
365
|
+
|
|
366
|
+
@db_instance_release_protection.setter
|
|
367
|
+
def db_instance_release_protection(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
368
|
+
pulumi.set(self, "db_instance_release_protection", value)
|
|
369
|
+
|
|
354
370
|
@property
|
|
355
371
|
@pulumi.getter(name="effectiveTime")
|
|
356
372
|
def effective_time(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
@@ -415,7 +431,7 @@ class InstanceArgs:
|
|
|
415
431
|
@pulumi.getter(name="hiddenZoneId")
|
|
416
432
|
def hidden_zone_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
417
433
|
"""
|
|
418
|
-
Configure the zone where the hidden node is located to deploy multiple zones. **NOTE:** This parameter value cannot be the same as `zone_id` and `secondary_zone_id` parameter values.
|
|
434
|
+
Configure the zone where the hidden node is located to deploy multiple zones. **NOTE:** This parameter value cannot be the same as `zone_id` and `secondary_zone_id` parameter values. From version 1.253.0, `hidden_zone_id` can be modified.
|
|
419
435
|
"""
|
|
420
436
|
return pulumi.get(self, "hidden_zone_id")
|
|
421
437
|
|
|
@@ -622,7 +638,7 @@ class InstanceArgs:
|
|
|
622
638
|
@pulumi.getter(name="secondaryZoneId")
|
|
623
639
|
def secondary_zone_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
624
640
|
"""
|
|
625
|
-
Configure the available area where the slave node (Secondary node) is located to realize multi-available area deployment. **NOTE:** This parameter value cannot be the same as `zone_id` and `hidden_zone_id` parameter values.
|
|
641
|
+
Configure the available area where the slave node (Secondary node) is located to realize multi-available area deployment. **NOTE:** This parameter value cannot be the same as `zone_id` and `hidden_zone_id` parameter values. From version 1.253.0, `secondary_zone_id` can be modified.
|
|
626
642
|
"""
|
|
627
643
|
return pulumi.get(self, "secondary_zone_id")
|
|
628
644
|
|
|
@@ -782,6 +798,7 @@ class _InstanceState:
|
|
|
782
798
|
backup_time: Optional[pulumi.Input[builtins.str]] = None,
|
|
783
799
|
cloud_disk_encryption_key: Optional[pulumi.Input[builtins.str]] = None,
|
|
784
800
|
db_instance_class: Optional[pulumi.Input[builtins.str]] = None,
|
|
801
|
+
db_instance_release_protection: Optional[pulumi.Input[builtins.bool]] = None,
|
|
785
802
|
db_instance_storage: Optional[pulumi.Input[builtins.int]] = None,
|
|
786
803
|
effective_time: Optional[pulumi.Input[builtins.str]] = None,
|
|
787
804
|
enable_backup_log: Optional[pulumi.Input[builtins.int]] = None,
|
|
@@ -834,6 +851,7 @@ class _InstanceState:
|
|
|
834
851
|
:param pulumi.Input[builtins.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".
|
|
835
852
|
:param pulumi.Input[builtins.str] cloud_disk_encryption_key: The ID of the encryption key.
|
|
836
853
|
:param pulumi.Input[builtins.str] db_instance_class: Instance specification. see [Instance specifications](https://www.alibabacloud.com/help/doc-detail/57141.htm).
|
|
854
|
+
:param pulumi.Input[builtins.bool] db_instance_release_protection: Indicates whether release protection is enabled for the instance. Valid values: `true`, `false`.
|
|
837
855
|
:param pulumi.Input[builtins.int] db_instance_storage: User-defined DB instance storage space.Unit: GB. Value range:
|
|
838
856
|
- Custom storage space.
|
|
839
857
|
- 10-GB increments.
|
|
@@ -843,7 +861,7 @@ class _InstanceState:
|
|
|
843
861
|
:param pulumi.Input[builtins.str] encryption_key: The ID of the custom key.
|
|
844
862
|
:param pulumi.Input[builtins.str] encryptor_name: The encryption method. **NOTE:** `encryptor_name` is valid only when `tde_status` is set to `enabled`.
|
|
845
863
|
:param pulumi.Input[builtins.str] engine_version: Database version. Value options can refer to the latest docs [CreateDBInstance](https://www.alibabacloud.com/help/doc-detail/61763.htm) `EngineVersion`. **NOTE:** From version 1.225.0, `engine_version` can be modified.
|
|
846
|
-
:param pulumi.Input[builtins.str] hidden_zone_id: Configure the zone where the hidden node is located to deploy multiple zones. **NOTE:** This parameter value cannot be the same as `zone_id` and `secondary_zone_id` parameter values.
|
|
864
|
+
:param pulumi.Input[builtins.str] hidden_zone_id: Configure the zone where the hidden node is located to deploy multiple zones. **NOTE:** This parameter value cannot be the same as `zone_id` and `secondary_zone_id` parameter values. From version 1.253.0, `hidden_zone_id` can be modified.
|
|
847
865
|
:param pulumi.Input[builtins.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 1.63.0.
|
|
848
866
|
:param pulumi.Input[builtins.str] kms_encrypted_password: An KMS encrypts password used to a instance. If the `account_password` is filled in, this field will be ignored.
|
|
849
867
|
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] kms_encryption_context: An KMS encryption context used to decrypt `kms_encrypted_password` before creating or updating instance with `kms_encrypted_password`. See [Encryption Context](https://www.alibabacloud.com/help/doc-detail/42975.htm). It is valid when `kms_encrypted_password` is set.
|
|
@@ -866,7 +884,7 @@ class _InstanceState:
|
|
|
866
884
|
:param pulumi.Input[builtins.str] resource_group_id: The ID of the Resource Group.
|
|
867
885
|
:param pulumi.Input[builtins.int] retention_period: Instance data backup retention days. Available since v1.42.0.
|
|
868
886
|
:param pulumi.Input[builtins.str] role_arn: The Alibaba Cloud Resource Name (ARN) of the specified Resource Access Management (RAM) role.
|
|
869
|
-
:param pulumi.Input[builtins.str] secondary_zone_id: Configure the available area where the slave node (Secondary node) is located to realize multi-available area deployment. **NOTE:** This parameter value cannot be the same as `zone_id` and `hidden_zone_id` parameter values.
|
|
887
|
+
:param pulumi.Input[builtins.str] secondary_zone_id: Configure the available area where the slave node (Secondary node) is located to realize multi-available area deployment. **NOTE:** This parameter value cannot be the same as `zone_id` and `hidden_zone_id` parameter values. From version 1.253.0, `secondary_zone_id` can be modified.
|
|
870
888
|
:param pulumi.Input[builtins.str] security_group_id: The Security Group ID of ECS.
|
|
871
889
|
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] security_ip_lists: List of IP addresses allowed to access all databases of an instance. The list contains up to 1,000 IP addresses, separated by commas. Supported formats include 0.0.0.0/0, 10.23.12.24 (IP), and 10.23.12.24/24 (Classless Inter-Domain Routing (CIDR) mode. /24 represents the length of the prefix in an IP address. The range of the prefix length is [1,32]).
|
|
872
890
|
:param pulumi.Input[builtins.str] snapshot_backup_type: The snapshot backup type. Default value: `Standard`. Valid values:
|
|
@@ -905,6 +923,8 @@ class _InstanceState:
|
|
|
905
923
|
pulumi.set(__self__, "cloud_disk_encryption_key", cloud_disk_encryption_key)
|
|
906
924
|
if db_instance_class is not None:
|
|
907
925
|
pulumi.set(__self__, "db_instance_class", db_instance_class)
|
|
926
|
+
if db_instance_release_protection is not None:
|
|
927
|
+
pulumi.set(__self__, "db_instance_release_protection", db_instance_release_protection)
|
|
908
928
|
if db_instance_storage is not None:
|
|
909
929
|
pulumi.set(__self__, "db_instance_storage", db_instance_storage)
|
|
910
930
|
if effective_time is not None:
|
|
@@ -1095,6 +1115,18 @@ class _InstanceState:
|
|
|
1095
1115
|
def db_instance_class(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1096
1116
|
pulumi.set(self, "db_instance_class", value)
|
|
1097
1117
|
|
|
1118
|
+
@property
|
|
1119
|
+
@pulumi.getter(name="dbInstanceReleaseProtection")
|
|
1120
|
+
def db_instance_release_protection(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
1121
|
+
"""
|
|
1122
|
+
Indicates whether release protection is enabled for the instance. Valid values: `true`, `false`.
|
|
1123
|
+
"""
|
|
1124
|
+
return pulumi.get(self, "db_instance_release_protection")
|
|
1125
|
+
|
|
1126
|
+
@db_instance_release_protection.setter
|
|
1127
|
+
def db_instance_release_protection(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
1128
|
+
pulumi.set(self, "db_instance_release_protection", value)
|
|
1129
|
+
|
|
1098
1130
|
@property
|
|
1099
1131
|
@pulumi.getter(name="dbInstanceStorage")
|
|
1100
1132
|
def db_instance_storage(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
@@ -1185,7 +1217,7 @@ class _InstanceState:
|
|
|
1185
1217
|
@pulumi.getter(name="hiddenZoneId")
|
|
1186
1218
|
def hidden_zone_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1187
1219
|
"""
|
|
1188
|
-
Configure the zone where the hidden node is located to deploy multiple zones. **NOTE:** This parameter value cannot be the same as `zone_id` and `secondary_zone_id` parameter values.
|
|
1220
|
+
Configure the zone where the hidden node is located to deploy multiple zones. **NOTE:** This parameter value cannot be the same as `zone_id` and `secondary_zone_id` parameter values. From version 1.253.0, `hidden_zone_id` can be modified.
|
|
1189
1221
|
"""
|
|
1190
1222
|
return pulumi.get(self, "hidden_zone_id")
|
|
1191
1223
|
|
|
@@ -1428,7 +1460,7 @@ class _InstanceState:
|
|
|
1428
1460
|
@pulumi.getter(name="secondaryZoneId")
|
|
1429
1461
|
def secondary_zone_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1430
1462
|
"""
|
|
1431
|
-
Configure the available area where the slave node (Secondary node) is located to realize multi-available area deployment. **NOTE:** This parameter value cannot be the same as `zone_id` and `hidden_zone_id` parameter values.
|
|
1463
|
+
Configure the available area where the slave node (Secondary node) is located to realize multi-available area deployment. **NOTE:** This parameter value cannot be the same as `zone_id` and `hidden_zone_id` parameter values. From version 1.253.0, `secondary_zone_id` can be modified.
|
|
1432
1464
|
"""
|
|
1433
1465
|
return pulumi.get(self, "secondary_zone_id")
|
|
1434
1466
|
|
|
@@ -1603,6 +1635,7 @@ class Instance(pulumi.CustomResource):
|
|
|
1603
1635
|
backup_time: Optional[pulumi.Input[builtins.str]] = None,
|
|
1604
1636
|
cloud_disk_encryption_key: Optional[pulumi.Input[builtins.str]] = None,
|
|
1605
1637
|
db_instance_class: Optional[pulumi.Input[builtins.str]] = None,
|
|
1638
|
+
db_instance_release_protection: Optional[pulumi.Input[builtins.bool]] = None,
|
|
1606
1639
|
db_instance_storage: Optional[pulumi.Input[builtins.int]] = None,
|
|
1607
1640
|
effective_time: Optional[pulumi.Input[builtins.str]] = None,
|
|
1608
1641
|
enable_backup_log: Optional[pulumi.Input[builtins.int]] = None,
|
|
@@ -1701,7 +1734,7 @@ class Instance(pulumi.CustomResource):
|
|
|
1701
1734
|
MongoDB instance can be imported using the id, e.g.
|
|
1702
1735
|
|
|
1703
1736
|
```sh
|
|
1704
|
-
$ pulumi import alicloud:mongodb/instance:Instance example
|
|
1737
|
+
$ pulumi import alicloud:mongodb/instance:Instance example <id>
|
|
1705
1738
|
```
|
|
1706
1739
|
|
|
1707
1740
|
:param str resource_name: The name of the resource.
|
|
@@ -1716,6 +1749,7 @@ class Instance(pulumi.CustomResource):
|
|
|
1716
1749
|
:param pulumi.Input[builtins.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".
|
|
1717
1750
|
:param pulumi.Input[builtins.str] cloud_disk_encryption_key: The ID of the encryption key.
|
|
1718
1751
|
:param pulumi.Input[builtins.str] db_instance_class: Instance specification. see [Instance specifications](https://www.alibabacloud.com/help/doc-detail/57141.htm).
|
|
1752
|
+
:param pulumi.Input[builtins.bool] db_instance_release_protection: Indicates whether release protection is enabled for the instance. Valid values: `true`, `false`.
|
|
1719
1753
|
:param pulumi.Input[builtins.int] db_instance_storage: User-defined DB instance storage space.Unit: GB. Value range:
|
|
1720
1754
|
- Custom storage space.
|
|
1721
1755
|
- 10-GB increments.
|
|
@@ -1725,7 +1759,7 @@ class Instance(pulumi.CustomResource):
|
|
|
1725
1759
|
:param pulumi.Input[builtins.str] encryption_key: The ID of the custom key.
|
|
1726
1760
|
:param pulumi.Input[builtins.str] encryptor_name: The encryption method. **NOTE:** `encryptor_name` is valid only when `tde_status` is set to `enabled`.
|
|
1727
1761
|
:param pulumi.Input[builtins.str] engine_version: Database version. Value options can refer to the latest docs [CreateDBInstance](https://www.alibabacloud.com/help/doc-detail/61763.htm) `EngineVersion`. **NOTE:** From version 1.225.0, `engine_version` can be modified.
|
|
1728
|
-
:param pulumi.Input[builtins.str] hidden_zone_id: Configure the zone where the hidden node is located to deploy multiple zones. **NOTE:** This parameter value cannot be the same as `zone_id` and `secondary_zone_id` parameter values.
|
|
1762
|
+
:param pulumi.Input[builtins.str] hidden_zone_id: Configure the zone where the hidden node is located to deploy multiple zones. **NOTE:** This parameter value cannot be the same as `zone_id` and `secondary_zone_id` parameter values. From version 1.253.0, `hidden_zone_id` can be modified.
|
|
1729
1763
|
:param pulumi.Input[builtins.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 1.63.0.
|
|
1730
1764
|
:param pulumi.Input[builtins.str] kms_encrypted_password: An KMS encrypts password used to a instance. If the `account_password` is filled in, this field will be ignored.
|
|
1731
1765
|
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] kms_encryption_context: An KMS encryption context used to decrypt `kms_encrypted_password` before creating or updating instance with `kms_encrypted_password`. See [Encryption Context](https://www.alibabacloud.com/help/doc-detail/42975.htm). It is valid when `kms_encrypted_password` is set.
|
|
@@ -1745,7 +1779,7 @@ class Instance(pulumi.CustomResource):
|
|
|
1745
1779
|
:param pulumi.Input[builtins.int] replication_factor: Number of replica set nodes. Valid values: `1`, `3`, `5`, `7`.
|
|
1746
1780
|
:param pulumi.Input[builtins.str] resource_group_id: The ID of the Resource Group.
|
|
1747
1781
|
:param pulumi.Input[builtins.str] role_arn: The Alibaba Cloud Resource Name (ARN) of the specified Resource Access Management (RAM) role.
|
|
1748
|
-
:param pulumi.Input[builtins.str] secondary_zone_id: Configure the available area where the slave node (Secondary node) is located to realize multi-available area deployment. **NOTE:** This parameter value cannot be the same as `zone_id` and `hidden_zone_id` parameter values.
|
|
1782
|
+
:param pulumi.Input[builtins.str] secondary_zone_id: Configure the available area where the slave node (Secondary node) is located to realize multi-available area deployment. **NOTE:** This parameter value cannot be the same as `zone_id` and `hidden_zone_id` parameter values. From version 1.253.0, `secondary_zone_id` can be modified.
|
|
1749
1783
|
:param pulumi.Input[builtins.str] security_group_id: The Security Group ID of ECS.
|
|
1750
1784
|
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] security_ip_lists: List of IP addresses allowed to access all databases of an instance. The list contains up to 1,000 IP addresses, separated by commas. Supported formats include 0.0.0.0/0, 10.23.12.24 (IP), and 10.23.12.24/24 (Classless Inter-Domain Routing (CIDR) mode. /24 represents the length of the prefix in an IP address. The range of the prefix length is [1,32]).
|
|
1751
1785
|
:param pulumi.Input[builtins.str] snapshot_backup_type: The snapshot backup type. Default value: `Standard`. Valid values:
|
|
@@ -1832,7 +1866,7 @@ class Instance(pulumi.CustomResource):
|
|
|
1832
1866
|
MongoDB instance can be imported using the id, e.g.
|
|
1833
1867
|
|
|
1834
1868
|
```sh
|
|
1835
|
-
$ pulumi import alicloud:mongodb/instance:Instance example
|
|
1869
|
+
$ pulumi import alicloud:mongodb/instance:Instance example <id>
|
|
1836
1870
|
```
|
|
1837
1871
|
|
|
1838
1872
|
:param str resource_name: The name of the resource.
|
|
@@ -1859,6 +1893,7 @@ class Instance(pulumi.CustomResource):
|
|
|
1859
1893
|
backup_time: Optional[pulumi.Input[builtins.str]] = None,
|
|
1860
1894
|
cloud_disk_encryption_key: Optional[pulumi.Input[builtins.str]] = None,
|
|
1861
1895
|
db_instance_class: Optional[pulumi.Input[builtins.str]] = None,
|
|
1896
|
+
db_instance_release_protection: Optional[pulumi.Input[builtins.bool]] = None,
|
|
1862
1897
|
db_instance_storage: Optional[pulumi.Input[builtins.int]] = None,
|
|
1863
1898
|
effective_time: Optional[pulumi.Input[builtins.str]] = None,
|
|
1864
1899
|
enable_backup_log: Optional[pulumi.Input[builtins.int]] = None,
|
|
@@ -1915,6 +1950,7 @@ class Instance(pulumi.CustomResource):
|
|
|
1915
1950
|
if db_instance_class is None and not opts.urn:
|
|
1916
1951
|
raise TypeError("Missing required property 'db_instance_class'")
|
|
1917
1952
|
__props__.__dict__["db_instance_class"] = db_instance_class
|
|
1953
|
+
__props__.__dict__["db_instance_release_protection"] = db_instance_release_protection
|
|
1918
1954
|
if db_instance_storage is None and not opts.urn:
|
|
1919
1955
|
raise TypeError("Missing required property 'db_instance_storage'")
|
|
1920
1956
|
__props__.__dict__["db_instance_storage"] = db_instance_storage
|
|
@@ -1980,6 +2016,7 @@ class Instance(pulumi.CustomResource):
|
|
|
1980
2016
|
backup_time: Optional[pulumi.Input[builtins.str]] = None,
|
|
1981
2017
|
cloud_disk_encryption_key: Optional[pulumi.Input[builtins.str]] = None,
|
|
1982
2018
|
db_instance_class: Optional[pulumi.Input[builtins.str]] = None,
|
|
2019
|
+
db_instance_release_protection: Optional[pulumi.Input[builtins.bool]] = None,
|
|
1983
2020
|
db_instance_storage: Optional[pulumi.Input[builtins.int]] = None,
|
|
1984
2021
|
effective_time: Optional[pulumi.Input[builtins.str]] = None,
|
|
1985
2022
|
enable_backup_log: Optional[pulumi.Input[builtins.int]] = None,
|
|
@@ -2037,6 +2074,7 @@ class Instance(pulumi.CustomResource):
|
|
|
2037
2074
|
:param pulumi.Input[builtins.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".
|
|
2038
2075
|
:param pulumi.Input[builtins.str] cloud_disk_encryption_key: The ID of the encryption key.
|
|
2039
2076
|
:param pulumi.Input[builtins.str] db_instance_class: Instance specification. see [Instance specifications](https://www.alibabacloud.com/help/doc-detail/57141.htm).
|
|
2077
|
+
:param pulumi.Input[builtins.bool] db_instance_release_protection: Indicates whether release protection is enabled for the instance. Valid values: `true`, `false`.
|
|
2040
2078
|
:param pulumi.Input[builtins.int] db_instance_storage: User-defined DB instance storage space.Unit: GB. Value range:
|
|
2041
2079
|
- Custom storage space.
|
|
2042
2080
|
- 10-GB increments.
|
|
@@ -2046,7 +2084,7 @@ class Instance(pulumi.CustomResource):
|
|
|
2046
2084
|
:param pulumi.Input[builtins.str] encryption_key: The ID of the custom key.
|
|
2047
2085
|
:param pulumi.Input[builtins.str] encryptor_name: The encryption method. **NOTE:** `encryptor_name` is valid only when `tde_status` is set to `enabled`.
|
|
2048
2086
|
:param pulumi.Input[builtins.str] engine_version: Database version. Value options can refer to the latest docs [CreateDBInstance](https://www.alibabacloud.com/help/doc-detail/61763.htm) `EngineVersion`. **NOTE:** From version 1.225.0, `engine_version` can be modified.
|
|
2049
|
-
:param pulumi.Input[builtins.str] hidden_zone_id: Configure the zone where the hidden node is located to deploy multiple zones. **NOTE:** This parameter value cannot be the same as `zone_id` and `secondary_zone_id` parameter values.
|
|
2087
|
+
:param pulumi.Input[builtins.str] hidden_zone_id: Configure the zone where the hidden node is located to deploy multiple zones. **NOTE:** This parameter value cannot be the same as `zone_id` and `secondary_zone_id` parameter values. From version 1.253.0, `hidden_zone_id` can be modified.
|
|
2050
2088
|
:param pulumi.Input[builtins.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 1.63.0.
|
|
2051
2089
|
:param pulumi.Input[builtins.str] kms_encrypted_password: An KMS encrypts password used to a instance. If the `account_password` is filled in, this field will be ignored.
|
|
2052
2090
|
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] kms_encryption_context: An KMS encryption context used to decrypt `kms_encrypted_password` before creating or updating instance with `kms_encrypted_password`. See [Encryption Context](https://www.alibabacloud.com/help/doc-detail/42975.htm). It is valid when `kms_encrypted_password` is set.
|
|
@@ -2069,7 +2107,7 @@ class Instance(pulumi.CustomResource):
|
|
|
2069
2107
|
:param pulumi.Input[builtins.str] resource_group_id: The ID of the Resource Group.
|
|
2070
2108
|
:param pulumi.Input[builtins.int] retention_period: Instance data backup retention days. Available since v1.42.0.
|
|
2071
2109
|
:param pulumi.Input[builtins.str] role_arn: The Alibaba Cloud Resource Name (ARN) of the specified Resource Access Management (RAM) role.
|
|
2072
|
-
:param pulumi.Input[builtins.str] secondary_zone_id: Configure the available area where the slave node (Secondary node) is located to realize multi-available area deployment. **NOTE:** This parameter value cannot be the same as `zone_id` and `hidden_zone_id` parameter values.
|
|
2110
|
+
:param pulumi.Input[builtins.str] secondary_zone_id: Configure the available area where the slave node (Secondary node) is located to realize multi-available area deployment. **NOTE:** This parameter value cannot be the same as `zone_id` and `hidden_zone_id` parameter values. From version 1.253.0, `secondary_zone_id` can be modified.
|
|
2073
2111
|
:param pulumi.Input[builtins.str] security_group_id: The Security Group ID of ECS.
|
|
2074
2112
|
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] security_ip_lists: List of IP addresses allowed to access all databases of an instance. The list contains up to 1,000 IP addresses, separated by commas. Supported formats include 0.0.0.0/0, 10.23.12.24 (IP), and 10.23.12.24/24 (Classless Inter-Domain Routing (CIDR) mode. /24 represents the length of the prefix in an IP address. The range of the prefix length is [1,32]).
|
|
2075
2113
|
:param pulumi.Input[builtins.str] snapshot_backup_type: The snapshot backup type. Default value: `Standard`. Valid values:
|
|
@@ -2103,6 +2141,7 @@ class Instance(pulumi.CustomResource):
|
|
|
2103
2141
|
__props__.__dict__["backup_time"] = backup_time
|
|
2104
2142
|
__props__.__dict__["cloud_disk_encryption_key"] = cloud_disk_encryption_key
|
|
2105
2143
|
__props__.__dict__["db_instance_class"] = db_instance_class
|
|
2144
|
+
__props__.__dict__["db_instance_release_protection"] = db_instance_release_protection
|
|
2106
2145
|
__props__.__dict__["db_instance_storage"] = db_instance_storage
|
|
2107
2146
|
__props__.__dict__["effective_time"] = effective_time
|
|
2108
2147
|
__props__.__dict__["enable_backup_log"] = enable_backup_log
|
|
@@ -2218,6 +2257,14 @@ class Instance(pulumi.CustomResource):
|
|
|
2218
2257
|
"""
|
|
2219
2258
|
return pulumi.get(self, "db_instance_class")
|
|
2220
2259
|
|
|
2260
|
+
@property
|
|
2261
|
+
@pulumi.getter(name="dbInstanceReleaseProtection")
|
|
2262
|
+
def db_instance_release_protection(self) -> pulumi.Output[Optional[builtins.bool]]:
|
|
2263
|
+
"""
|
|
2264
|
+
Indicates whether release protection is enabled for the instance. Valid values: `true`, `false`.
|
|
2265
|
+
"""
|
|
2266
|
+
return pulumi.get(self, "db_instance_release_protection")
|
|
2267
|
+
|
|
2221
2268
|
@property
|
|
2222
2269
|
@pulumi.getter(name="dbInstanceStorage")
|
|
2223
2270
|
def db_instance_storage(self) -> pulumi.Output[builtins.int]:
|
|
@@ -2280,7 +2327,7 @@ class Instance(pulumi.CustomResource):
|
|
|
2280
2327
|
@pulumi.getter(name="hiddenZoneId")
|
|
2281
2328
|
def hidden_zone_id(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
2282
2329
|
"""
|
|
2283
|
-
Configure the zone where the hidden node is located to deploy multiple zones. **NOTE:** This parameter value cannot be the same as `zone_id` and `secondary_zone_id` parameter values.
|
|
2330
|
+
Configure the zone where the hidden node is located to deploy multiple zones. **NOTE:** This parameter value cannot be the same as `zone_id` and `secondary_zone_id` parameter values. From version 1.253.0, `hidden_zone_id` can be modified.
|
|
2284
2331
|
"""
|
|
2285
2332
|
return pulumi.get(self, "hidden_zone_id")
|
|
2286
2333
|
|
|
@@ -2443,7 +2490,7 @@ class Instance(pulumi.CustomResource):
|
|
|
2443
2490
|
@pulumi.getter(name="secondaryZoneId")
|
|
2444
2491
|
def secondary_zone_id(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
2445
2492
|
"""
|
|
2446
|
-
Configure the available area where the slave node (Secondary node) is located to realize multi-available area deployment. **NOTE:** This parameter value cannot be the same as `zone_id` and `hidden_zone_id` parameter values.
|
|
2493
|
+
Configure the available area where the slave node (Secondary node) is located to realize multi-available area deployment. **NOTE:** This parameter value cannot be the same as `zone_id` and `hidden_zone_id` parameter values. From version 1.253.0, `secondary_zone_id` can be modified.
|
|
2447
2494
|
"""
|
|
2448
2495
|
return pulumi.get(self, "secondary_zone_id")
|
|
2449
2496
|
|