pulumi-alicloud 3.81.0a1750224117__py3-none-any.whl → 3.82.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.
- pulumi_alicloud/__init__.py +40 -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/cdn/get_service.py +4 -4
- pulumi_alicloud/cen/get_transit_router_route_table_propagations.py +116 -21
- pulumi_alicloud/cen/get_transit_router_route_tables.py +35 -29
- pulumi_alicloud/cen/get_transit_router_vpn_attachments.py +178 -59
- pulumi_alicloud/cen/outputs.py +56 -41
- pulumi_alicloud/cloudfirewall/__init__.py +1 -0
- pulumi_alicloud/cloudfirewall/policy_advanced_config.py +165 -0
- pulumi_alicloud/cs/_inputs.py +54 -0
- pulumi_alicloud/cs/node_pool.py +158 -45
- pulumi_alicloud/cs/outputs.py +51 -0
- pulumi_alicloud/dfs/vsc_mount_point.py +4 -4
- pulumi_alicloud/ecs/_inputs.py +66 -0
- pulumi_alicloud/ecs/ecs_network_interface.py +47 -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 +176 -80
- pulumi_alicloud/eflo/node_group.py +103 -7
- 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/eventbridge/service_linked_role.py +25 -31
- pulumi_alicloud/ga/forwarding_rule.py +2 -2
- 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/ots_backup_plan.py +2 -2
- pulumi_alicloud/hbr/outputs.py +96 -0
- pulumi_alicloud/hbr/replication_vault.py +167 -41
- pulumi_alicloud/hbr/vault.py +21 -7
- 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 +50 -3
- pulumi_alicloud/message/__init__.py +1 -0
- pulumi_alicloud/message/service_service.py +132 -0
- pulumi_alicloud/message/service_subscription.py +37 -23
- pulumi_alicloud/mns/get_service.py +8 -4
- pulumi_alicloud/mongodb/instance.py +63 -16
- pulumi_alicloud/mongodb/sharding_instance.py +249 -0
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/ram/role.py +306 -105
- pulumi_alicloud/rds/_inputs.py +0 -9
- pulumi_alicloud/rds/custom.py +360 -31
- pulumi_alicloud/rds/outputs.py +0 -6
- pulumi_alicloud/threatdetection/__init__.py +1 -0
- pulumi_alicloud/threatdetection/cycle_task.py +731 -0
- pulumi_alicloud/vpc/network_interface.py +34 -0
- {pulumi_alicloud-3.81.0a1750224117.dist-info → pulumi_alicloud-3.82.0.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.81.0a1750224117.dist-info → pulumi_alicloud-3.82.0.dist-info}/RECORD +61 -53
- {pulumi_alicloud-3.81.0a1750224117.dist-info → pulumi_alicloud-3.82.0.dist-info}/WHEEL +0 -0
- {pulumi_alicloud-3.81.0a1750224117.dist-info → pulumi_alicloud-3.82.0.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
# coding=utf-8
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
|
|
5
|
+
import builtins
|
|
6
|
+
import copy
|
|
7
|
+
import warnings
|
|
8
|
+
import sys
|
|
9
|
+
import pulumi
|
|
10
|
+
import pulumi.runtime
|
|
11
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
12
|
+
if sys.version_info >= (3, 11):
|
|
13
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
14
|
+
else:
|
|
15
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
16
|
+
from .. import _utilities
|
|
17
|
+
|
|
18
|
+
__all__ = ['ServiceServiceArgs', 'ServiceService']
|
|
19
|
+
|
|
20
|
+
@pulumi.input_type
|
|
21
|
+
class ServiceServiceArgs:
|
|
22
|
+
def __init__(__self__):
|
|
23
|
+
"""
|
|
24
|
+
The set of arguments for constructing a ServiceService resource.
|
|
25
|
+
"""
|
|
26
|
+
pass
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
@pulumi.input_type
|
|
30
|
+
class _ServiceServiceState:
|
|
31
|
+
def __init__(__self__, *,
|
|
32
|
+
status: Optional[pulumi.Input[builtins.str]] = None):
|
|
33
|
+
"""
|
|
34
|
+
Input properties used for looking up and filtering ServiceService resources.
|
|
35
|
+
:param pulumi.Input[builtins.str] status: The status of the Service.
|
|
36
|
+
"""
|
|
37
|
+
if status is not None:
|
|
38
|
+
pulumi.set(__self__, "status", status)
|
|
39
|
+
|
|
40
|
+
@property
|
|
41
|
+
@pulumi.getter
|
|
42
|
+
def status(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
43
|
+
"""
|
|
44
|
+
The status of the Service.
|
|
45
|
+
"""
|
|
46
|
+
return pulumi.get(self, "status")
|
|
47
|
+
|
|
48
|
+
@status.setter
|
|
49
|
+
def status(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
50
|
+
pulumi.set(self, "status", value)
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
@pulumi.type_token("alicloud:message/serviceService:ServiceService")
|
|
54
|
+
class ServiceService(pulumi.CustomResource):
|
|
55
|
+
@overload
|
|
56
|
+
def __init__(__self__,
|
|
57
|
+
resource_name: str,
|
|
58
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
59
|
+
__props__=None):
|
|
60
|
+
"""
|
|
61
|
+
Create a ServiceService resource with the given unique name, props, and options.
|
|
62
|
+
:param str resource_name: The name of the resource.
|
|
63
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
64
|
+
"""
|
|
65
|
+
...
|
|
66
|
+
@overload
|
|
67
|
+
def __init__(__self__,
|
|
68
|
+
resource_name: str,
|
|
69
|
+
args: Optional[ServiceServiceArgs] = None,
|
|
70
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
|
71
|
+
"""
|
|
72
|
+
Create a ServiceService resource with the given unique name, props, and options.
|
|
73
|
+
:param str resource_name: The name of the resource.
|
|
74
|
+
:param ServiceServiceArgs args: The arguments to use to populate this resource's properties.
|
|
75
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
76
|
+
"""
|
|
77
|
+
...
|
|
78
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
|
79
|
+
resource_args, opts = _utilities.get_resource_args_opts(ServiceServiceArgs, pulumi.ResourceOptions, *args, **kwargs)
|
|
80
|
+
if resource_args is not None:
|
|
81
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
|
82
|
+
else:
|
|
83
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
|
84
|
+
|
|
85
|
+
def _internal_init(__self__,
|
|
86
|
+
resource_name: str,
|
|
87
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
88
|
+
__props__=None):
|
|
89
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
90
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
|
91
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
|
92
|
+
if opts.id is None:
|
|
93
|
+
if __props__ is not None:
|
|
94
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
|
95
|
+
__props__ = ServiceServiceArgs.__new__(ServiceServiceArgs)
|
|
96
|
+
|
|
97
|
+
__props__.__dict__["status"] = None
|
|
98
|
+
super(ServiceService, __self__).__init__(
|
|
99
|
+
'alicloud:message/serviceService:ServiceService',
|
|
100
|
+
resource_name,
|
|
101
|
+
__props__,
|
|
102
|
+
opts)
|
|
103
|
+
|
|
104
|
+
@staticmethod
|
|
105
|
+
def get(resource_name: str,
|
|
106
|
+
id: pulumi.Input[str],
|
|
107
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
108
|
+
status: Optional[pulumi.Input[builtins.str]] = None) -> 'ServiceService':
|
|
109
|
+
"""
|
|
110
|
+
Get an existing ServiceService resource's state with the given name, id, and optional extra
|
|
111
|
+
properties used to qualify the lookup.
|
|
112
|
+
|
|
113
|
+
:param str resource_name: The unique name of the resulting resource.
|
|
114
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
115
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
116
|
+
:param pulumi.Input[builtins.str] status: The status of the Service.
|
|
117
|
+
"""
|
|
118
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
119
|
+
|
|
120
|
+
__props__ = _ServiceServiceState.__new__(_ServiceServiceState)
|
|
121
|
+
|
|
122
|
+
__props__.__dict__["status"] = status
|
|
123
|
+
return ServiceService(resource_name, opts=opts, __props__=__props__)
|
|
124
|
+
|
|
125
|
+
@property
|
|
126
|
+
@pulumi.getter
|
|
127
|
+
def status(self) -> pulumi.Output[builtins.str]:
|
|
128
|
+
"""
|
|
129
|
+
The status of the Service.
|
|
130
|
+
"""
|
|
131
|
+
return pulumi.get(self, "status")
|
|
132
|
+
|
|
@@ -33,9 +33,11 @@ class ServiceSubscriptionArgs:
|
|
|
33
33
|
"""
|
|
34
34
|
The set of arguments for constructing a ServiceSubscription resource.
|
|
35
35
|
:param pulumi.Input[builtins.str] endpoint: The endpoint has three format. Available values format:
|
|
36
|
-
- `HTTP Format`: http://
|
|
37
|
-
- `Queue Format`:
|
|
38
|
-
- `
|
|
36
|
+
- `HTTP Format`: An HTTP URL that starts with http:// or https://.
|
|
37
|
+
- `Queue Format`: A queue name.
|
|
38
|
+
- `MPush Format`: An AppKey.
|
|
39
|
+
- `Sms Format`: A mobile number
|
|
40
|
+
- `Email Format`: An email address.
|
|
39
41
|
:param pulumi.Input[builtins.str] push_type: The Push type of Subscription. The Valid values: `http`, `queue`, `mpush`, `alisms` and `email`.
|
|
40
42
|
:param pulumi.Input[builtins.str] subscription_name: Two topics subscription on a single account in the same topic cannot have the same name. A topic subscription name must start with an English letter or a digit, and can contain English letters, digits, and hyphens, with the length not exceeding 255 characters.
|
|
41
43
|
:param pulumi.Input[builtins.str] topic_name: The topic which The subscription belongs to was named with the name. A topic name must start with an English letter or a digit, and can contain English letters, digits, and hyphens, with the length not exceeding 255 characters.
|
|
@@ -64,9 +66,11 @@ class ServiceSubscriptionArgs:
|
|
|
64
66
|
def endpoint(self) -> pulumi.Input[builtins.str]:
|
|
65
67
|
"""
|
|
66
68
|
The endpoint has three format. Available values format:
|
|
67
|
-
- `HTTP Format`: http://
|
|
68
|
-
- `Queue Format`:
|
|
69
|
-
- `
|
|
69
|
+
- `HTTP Format`: An HTTP URL that starts with http:// or https://.
|
|
70
|
+
- `Queue Format`: A queue name.
|
|
71
|
+
- `MPush Format`: An AppKey.
|
|
72
|
+
- `Sms Format`: A mobile number
|
|
73
|
+
- `Email Format`: An email address.
|
|
70
74
|
"""
|
|
71
75
|
return pulumi.get(self, "endpoint")
|
|
72
76
|
|
|
@@ -178,9 +182,11 @@ class _ServiceSubscriptionState:
|
|
|
178
182
|
:param pulumi.Input[builtins.int] create_time: (Available since v1.244.0) The time when the subscription was created.
|
|
179
183
|
:param pulumi.Input['ServiceSubscriptionDlqPolicyArgs'] dlq_policy: The dead-letter queue policy. See `dlq_policy` below.
|
|
180
184
|
:param pulumi.Input[builtins.str] endpoint: The endpoint has three format. Available values format:
|
|
181
|
-
- `HTTP Format`: http://
|
|
182
|
-
- `Queue Format`:
|
|
183
|
-
- `
|
|
185
|
+
- `HTTP Format`: An HTTP URL that starts with http:// or https://.
|
|
186
|
+
- `Queue Format`: A queue name.
|
|
187
|
+
- `MPush Format`: An AppKey.
|
|
188
|
+
- `Sms Format`: A mobile number
|
|
189
|
+
- `Email Format`: An email address.
|
|
184
190
|
:param pulumi.Input[builtins.str] filter_tag: The tag that is used to filter messages. Only the messages that have the same tag can be pushed. A tag is a string that can be up to 16 characters in length. By default, no tag is specified to filter messages.
|
|
185
191
|
:param pulumi.Input[builtins.str] notify_content_format: The NotifyContentFormat attribute of Subscription. This attribute specifies the content format of the messages pushed to users. Valid values: `XML`, `JSON` and `SIMPLIFIED`. Default value: `XML`.
|
|
186
192
|
:param pulumi.Input[builtins.str] notify_strategy: The NotifyStrategy attribute of Subscription. This attribute specifies the retry strategy when message sending fails. Default value: `BACKOFF_RETRY`. Valid values:
|
|
@@ -238,9 +244,11 @@ class _ServiceSubscriptionState:
|
|
|
238
244
|
def endpoint(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
239
245
|
"""
|
|
240
246
|
The endpoint has three format. Available values format:
|
|
241
|
-
- `HTTP Format`: http://
|
|
242
|
-
- `Queue Format`:
|
|
243
|
-
- `
|
|
247
|
+
- `HTTP Format`: An HTTP URL that starts with http:// or https://.
|
|
248
|
+
- `Queue Format`: A queue name.
|
|
249
|
+
- `MPush Format`: An AppKey.
|
|
250
|
+
- `Sms Format`: A mobile number
|
|
251
|
+
- `Email Format`: An email address.
|
|
244
252
|
"""
|
|
245
253
|
return pulumi.get(self, "endpoint")
|
|
246
254
|
|
|
@@ -341,7 +349,7 @@ class ServiceSubscription(pulumi.CustomResource):
|
|
|
341
349
|
"""
|
|
342
350
|
Provides a Message Service Subscription resource.
|
|
343
351
|
|
|
344
|
-
For information about Message Service Subscription and how to use it, see [What is Subscription](https://www.alibabacloud.com/help/en/
|
|
352
|
+
For information about Message Service Subscription and how to use it, see [What is Subscription](https://www.alibabacloud.com/help/en/mns/developer-reference/api-mns-open-2022-01-19-subscribe).
|
|
345
353
|
|
|
346
354
|
> **NOTE:** Available since v1.188.0.
|
|
347
355
|
|
|
@@ -383,9 +391,11 @@ class ServiceSubscription(pulumi.CustomResource):
|
|
|
383
391
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
384
392
|
:param pulumi.Input[Union['ServiceSubscriptionDlqPolicyArgs', 'ServiceSubscriptionDlqPolicyArgsDict']] dlq_policy: The dead-letter queue policy. See `dlq_policy` below.
|
|
385
393
|
:param pulumi.Input[builtins.str] endpoint: The endpoint has three format. Available values format:
|
|
386
|
-
- `HTTP Format`: http://
|
|
387
|
-
- `Queue Format`:
|
|
388
|
-
- `
|
|
394
|
+
- `HTTP Format`: An HTTP URL that starts with http:// or https://.
|
|
395
|
+
- `Queue Format`: A queue name.
|
|
396
|
+
- `MPush Format`: An AppKey.
|
|
397
|
+
- `Sms Format`: A mobile number
|
|
398
|
+
- `Email Format`: An email address.
|
|
389
399
|
:param pulumi.Input[builtins.str] filter_tag: The tag that is used to filter messages. Only the messages that have the same tag can be pushed. A tag is a string that can be up to 16 characters in length. By default, no tag is specified to filter messages.
|
|
390
400
|
:param pulumi.Input[builtins.str] notify_content_format: The NotifyContentFormat attribute of Subscription. This attribute specifies the content format of the messages pushed to users. Valid values: `XML`, `JSON` and `SIMPLIFIED`. Default value: `XML`.
|
|
391
401
|
:param pulumi.Input[builtins.str] notify_strategy: The NotifyStrategy attribute of Subscription. This attribute specifies the retry strategy when message sending fails. Default value: `BACKOFF_RETRY`. Valid values:
|
|
@@ -404,7 +414,7 @@ class ServiceSubscription(pulumi.CustomResource):
|
|
|
404
414
|
"""
|
|
405
415
|
Provides a Message Service Subscription resource.
|
|
406
416
|
|
|
407
|
-
For information about Message Service Subscription and how to use it, see [What is Subscription](https://www.alibabacloud.com/help/en/
|
|
417
|
+
For information about Message Service Subscription and how to use it, see [What is Subscription](https://www.alibabacloud.com/help/en/mns/developer-reference/api-mns-open-2022-01-19-subscribe).
|
|
408
418
|
|
|
409
419
|
> **NOTE:** Available since v1.188.0.
|
|
410
420
|
|
|
@@ -520,9 +530,11 @@ class ServiceSubscription(pulumi.CustomResource):
|
|
|
520
530
|
:param pulumi.Input[builtins.int] create_time: (Available since v1.244.0) The time when the subscription was created.
|
|
521
531
|
:param pulumi.Input[Union['ServiceSubscriptionDlqPolicyArgs', 'ServiceSubscriptionDlqPolicyArgsDict']] dlq_policy: The dead-letter queue policy. See `dlq_policy` below.
|
|
522
532
|
:param pulumi.Input[builtins.str] endpoint: The endpoint has three format. Available values format:
|
|
523
|
-
- `HTTP Format`: http://
|
|
524
|
-
- `Queue Format`:
|
|
525
|
-
- `
|
|
533
|
+
- `HTTP Format`: An HTTP URL that starts with http:// or https://.
|
|
534
|
+
- `Queue Format`: A queue name.
|
|
535
|
+
- `MPush Format`: An AppKey.
|
|
536
|
+
- `Sms Format`: A mobile number
|
|
537
|
+
- `Email Format`: An email address.
|
|
526
538
|
:param pulumi.Input[builtins.str] filter_tag: The tag that is used to filter messages. Only the messages that have the same tag can be pushed. A tag is a string that can be up to 16 characters in length. By default, no tag is specified to filter messages.
|
|
527
539
|
:param pulumi.Input[builtins.str] notify_content_format: The NotifyContentFormat attribute of Subscription. This attribute specifies the content format of the messages pushed to users. Valid values: `XML`, `JSON` and `SIMPLIFIED`. Default value: `XML`.
|
|
528
540
|
:param pulumi.Input[builtins.str] notify_strategy: The NotifyStrategy attribute of Subscription. This attribute specifies the retry strategy when message sending fails. Default value: `BACKOFF_RETRY`. Valid values:
|
|
@@ -568,9 +580,11 @@ class ServiceSubscription(pulumi.CustomResource):
|
|
|
568
580
|
def endpoint(self) -> pulumi.Output[builtins.str]:
|
|
569
581
|
"""
|
|
570
582
|
The endpoint has three format. Available values format:
|
|
571
|
-
- `HTTP Format`: http://
|
|
572
|
-
- `Queue Format`:
|
|
573
|
-
- `
|
|
583
|
+
- `HTTP Format`: An HTTP URL that starts with http:// or https://.
|
|
584
|
+
- `Queue Format`: A queue name.
|
|
585
|
+
- `MPush Format`: An AppKey.
|
|
586
|
+
- `Sms Format`: A mobile number
|
|
587
|
+
- `Email Format`: An email address.
|
|
574
588
|
"""
|
|
575
589
|
return pulumi.get(self, "endpoint")
|
|
576
590
|
|
|
@@ -78,7 +78,9 @@ def get_service(enable: Optional[builtins.str] = None,
|
|
|
78
78
|
|
|
79
79
|
For information about MNS and how to use it, see [What is MNS](https://www.alibabacloud.com/help/en/product/27412.htm).
|
|
80
80
|
|
|
81
|
-
> **NOTE:**
|
|
81
|
+
> **NOTE:** Deprecated since v1.252.0.
|
|
82
|
+
|
|
83
|
+
> **DEPRECATED:** This datasource has been deprecated from version `1.252.0`. Please use new resource alicloud_message_service_service.
|
|
82
84
|
|
|
83
85
|
> **NOTE:** The MNS service is not support in the international site.
|
|
84
86
|
|
|
@@ -92,7 +94,7 @@ def get_service(enable: Optional[builtins.str] = None,
|
|
|
92
94
|
```
|
|
93
95
|
|
|
94
96
|
|
|
95
|
-
:param builtins.str enable: Setting the value to `On` to enable the service. If has been enabled, return the result. Valid values:
|
|
97
|
+
:param builtins.str enable: Setting the value to `On` to enable the service. If has been enabled, return the result. Default value: `Off`. Valid values: `On` and `Off`.
|
|
96
98
|
|
|
97
99
|
> **NOTE:** Setting `enable = "On"` to open the MNS service that means you have read and agreed the [MNS Terms of Service](https://help.aliyun.com/document_detail/27418.html). The service can not closed once it is opened.
|
|
98
100
|
"""
|
|
@@ -112,7 +114,9 @@ def get_service_output(enable: Optional[pulumi.Input[Optional[builtins.str]]] =
|
|
|
112
114
|
|
|
113
115
|
For information about MNS and how to use it, see [What is MNS](https://www.alibabacloud.com/help/en/product/27412.htm).
|
|
114
116
|
|
|
115
|
-
> **NOTE:**
|
|
117
|
+
> **NOTE:** Deprecated since v1.252.0.
|
|
118
|
+
|
|
119
|
+
> **DEPRECATED:** This datasource has been deprecated from version `1.252.0`. Please use new resource alicloud_message_service_service.
|
|
116
120
|
|
|
117
121
|
> **NOTE:** The MNS service is not support in the international site.
|
|
118
122
|
|
|
@@ -126,7 +130,7 @@ def get_service_output(enable: Optional[pulumi.Input[Optional[builtins.str]]] =
|
|
|
126
130
|
```
|
|
127
131
|
|
|
128
132
|
|
|
129
|
-
:param builtins.str enable: Setting the value to `On` to enable the service. If has been enabled, return the result. Valid values:
|
|
133
|
+
:param builtins.str enable: Setting the value to `On` to enable the service. If has been enabled, return the result. Default value: `Off`. Valid values: `On` and `Off`.
|
|
130
134
|
|
|
131
135
|
> **NOTE:** Setting `enable = "On"` to open the MNS service that means you have read and agreed the [MNS Terms of Service](https://help.aliyun.com/document_detail/27418.html). The service can not closed once it is opened.
|
|
132
136
|
"""
|
|
@@ -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
|
|