pulumi-alicloud 3.63.0__py3-none-any.whl → 3.63.0a1726032285__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 +0 -24
- pulumi_alicloud/alb/acl.py +19 -18
- pulumi_alicloud/alb/health_check_template.py +88 -96
- pulumi_alicloud/amqp/binding.py +36 -30
- pulumi_alicloud/cen/_inputs.py +14 -180
- pulumi_alicloud/cen/outputs.py +12 -173
- pulumi_alicloud/cen/traffic_marking_policy.py +53 -116
- pulumi_alicloud/cen/transit_router_vpc_attachment.py +119 -338
- pulumi_alicloud/cms/_inputs.py +6 -6
- pulumi_alicloud/cms/outputs.py +6 -6
- pulumi_alicloud/cr/chart_namespace.py +6 -14
- pulumi_alicloud/cr/endpoint_acl_policy.py +2 -10
- pulumi_alicloud/cr/namespace.py +2 -10
- pulumi_alicloud/cs/registry_enterprise_sync_rule.py +10 -10
- pulumi_alicloud/ddos/_inputs.py +9 -8
- pulumi_alicloud/ddos/bgp_ip.py +1 -1
- pulumi_alicloud/ddos/domain_resource.py +90 -446
- pulumi_alicloud/ddos/outputs.py +8 -7
- pulumi_alicloud/eci/container_group.py +0 -47
- pulumi_alicloud/ecs/_inputs.py +0 -28
- pulumi_alicloud/ecs/ecs_snapshot.py +77 -199
- pulumi_alicloud/ecs/outputs.py +0 -20
- pulumi_alicloud/ecs/snapshot.py +8 -26
- pulumi_alicloud/emrv2/_inputs.py +12 -12
- pulumi_alicloud/emrv2/outputs.py +12 -12
- pulumi_alicloud/ens/_inputs.py +2 -50
- pulumi_alicloud/ens/instance.py +184 -428
- pulumi_alicloud/ens/outputs.py +2 -57
- pulumi_alicloud/ess/__init__.py +0 -1
- pulumi_alicloud/ess/alarm.py +0 -47
- pulumi_alicloud/expressconnect/physical_connection.py +185 -321
- pulumi_alicloud/fc/trigger.py +24 -22
- pulumi_alicloud/ga/_inputs.py +5 -23
- pulumi_alicloud/ga/endpoint_group.py +14 -68
- pulumi_alicloud/ga/outputs.py +5 -21
- pulumi_alicloud/governance/account.py +0 -61
- pulumi_alicloud/gpdb/__init__.py +0 -4
- pulumi_alicloud/gpdb/_inputs.py +3 -361
- pulumi_alicloud/gpdb/instance.py +0 -47
- pulumi_alicloud/gpdb/outputs.py +4 -597
- pulumi_alicloud/mongodb/instance.py +0 -94
- pulumi_alicloud/nlb/_inputs.py +64 -120
- pulumi_alicloud/nlb/get_listeners.py +2 -32
- pulumi_alicloud/nlb/get_server_group_server_attachments.py +2 -8
- pulumi_alicloud/nlb/listener.py +245 -315
- pulumi_alicloud/nlb/listener_additional_certificate_attachment.py +25 -25
- pulumi_alicloud/nlb/load_balancer.py +212 -297
- pulumi_alicloud/nlb/load_balancer_security_group_attachment.py +39 -29
- pulumi_alicloud/nlb/loadbalancer_common_bandwidth_package_attachment.py +18 -22
- pulumi_alicloud/nlb/outputs.py +66 -122
- pulumi_alicloud/nlb/security_policy.py +25 -53
- pulumi_alicloud/nlb/server_group.py +133 -196
- pulumi_alicloud/ocean/base_instance.py +163 -498
- pulumi_alicloud/oos/get_secret_parameters.py +9 -111
- pulumi_alicloud/oos/outputs.py +11 -22
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/ram/get_account_alias.py +2 -35
- pulumi_alicloud/rds/instance.py +21 -21
- pulumi_alicloud/rocketmq/_inputs.py +22 -79
- pulumi_alicloud/rocketmq/outputs.py +21 -85
- pulumi_alicloud/rocketmq/rocket_mq_instance.py +113 -307
- pulumi_alicloud/servicemesh/extension_provider.py +2 -2
- pulumi_alicloud/vpc/common_bandwith_package_attachment.py +2 -2
- pulumi_alicloud/vpc/peer_connection.py +59 -127
- pulumi_alicloud/vpc/peer_connection_accepter.py +42 -263
- pulumi_alicloud/vpc/route_entry.py +210 -232
- {pulumi_alicloud-3.63.0.dist-info → pulumi_alicloud-3.63.0a1726032285.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.63.0.dist-info → pulumi_alicloud-3.63.0a1726032285.dist-info}/RECORD +70 -75
- {pulumi_alicloud-3.63.0.dist-info → pulumi_alicloud-3.63.0a1726032285.dist-info}/WHEEL +1 -1
- pulumi_alicloud/ess/server_group_attachment.py +0 -552
- pulumi_alicloud/gpdb/db_instance_ip_array.py +0 -533
- pulumi_alicloud/gpdb/get_data_backups.py +0 -288
- pulumi_alicloud/gpdb/get_log_backups.py +0 -225
- pulumi_alicloud/gpdb/streaming_job.py +0 -1568
- {pulumi_alicloud-3.63.0.dist-info → pulumi_alicloud-3.63.0a1726032285.dist-info}/top_level.txt +0 -0
|
@@ -22,7 +22,7 @@ class GetSecretParametersResult:
|
|
|
22
22
|
"""
|
|
23
23
|
A collection of values returned by getSecretParameters.
|
|
24
24
|
"""
|
|
25
|
-
def __init__(__self__, enable_details=None, id=None, ids=None, name_regex=None, names=None, output_file=None, parameters=None, resource_group_id=None, secret_parameter_name=None, sort_field=None, sort_order=None, tags=None
|
|
25
|
+
def __init__(__self__, enable_details=None, id=None, ids=None, name_regex=None, names=None, output_file=None, parameters=None, resource_group_id=None, secret_parameter_name=None, sort_field=None, sort_order=None, tags=None):
|
|
26
26
|
if enable_details and not isinstance(enable_details, bool):
|
|
27
27
|
raise TypeError("Expected argument 'enable_details' to be a bool")
|
|
28
28
|
pulumi.set(__self__, "enable_details", enable_details)
|
|
@@ -59,9 +59,6 @@ class GetSecretParametersResult:
|
|
|
59
59
|
if tags and not isinstance(tags, dict):
|
|
60
60
|
raise TypeError("Expected argument 'tags' to be a dict")
|
|
61
61
|
pulumi.set(__self__, "tags", tags)
|
|
62
|
-
if with_decryption and not isinstance(with_decryption, bool):
|
|
63
|
-
raise TypeError("Expected argument 'with_decryption' to be a bool")
|
|
64
|
-
pulumi.set(__self__, "with_decryption", with_decryption)
|
|
65
62
|
|
|
66
63
|
@property
|
|
67
64
|
@pulumi.getter(name="enableDetails")
|
|
@@ -89,9 +86,6 @@ class GetSecretParametersResult:
|
|
|
89
86
|
@property
|
|
90
87
|
@pulumi.getter
|
|
91
88
|
def names(self) -> Sequence[str]:
|
|
92
|
-
"""
|
|
93
|
-
A list of Secret Parameter names.
|
|
94
|
-
"""
|
|
95
89
|
return pulumi.get(self, "names")
|
|
96
90
|
|
|
97
91
|
@property
|
|
@@ -102,25 +96,16 @@ class GetSecretParametersResult:
|
|
|
102
96
|
@property
|
|
103
97
|
@pulumi.getter
|
|
104
98
|
def parameters(self) -> Sequence['outputs.GetSecretParametersParameterResult']:
|
|
105
|
-
"""
|
|
106
|
-
A list of Oos Secret Parameters. Each element contains the following attributes:
|
|
107
|
-
"""
|
|
108
99
|
return pulumi.get(self, "parameters")
|
|
109
100
|
|
|
110
101
|
@property
|
|
111
102
|
@pulumi.getter(name="resourceGroupId")
|
|
112
103
|
def resource_group_id(self) -> Optional[str]:
|
|
113
|
-
"""
|
|
114
|
-
The ID of the Resource Group.
|
|
115
|
-
"""
|
|
116
104
|
return pulumi.get(self, "resource_group_id")
|
|
117
105
|
|
|
118
106
|
@property
|
|
119
107
|
@pulumi.getter(name="secretParameterName")
|
|
120
108
|
def secret_parameter_name(self) -> Optional[str]:
|
|
121
|
-
"""
|
|
122
|
-
The name of the encryption parameter.
|
|
123
|
-
"""
|
|
124
109
|
return pulumi.get(self, "secret_parameter_name")
|
|
125
110
|
|
|
126
111
|
@property
|
|
@@ -136,16 +121,8 @@ class GetSecretParametersResult:
|
|
|
136
121
|
@property
|
|
137
122
|
@pulumi.getter
|
|
138
123
|
def tags(self) -> Optional[Mapping[str, str]]:
|
|
139
|
-
"""
|
|
140
|
-
The tags of the parameter.
|
|
141
|
-
"""
|
|
142
124
|
return pulumi.get(self, "tags")
|
|
143
125
|
|
|
144
|
-
@property
|
|
145
|
-
@pulumi.getter(name="withDecryption")
|
|
146
|
-
def with_decryption(self) -> Optional[bool]:
|
|
147
|
-
return pulumi.get(self, "with_decryption")
|
|
148
|
-
|
|
149
126
|
|
|
150
127
|
class AwaitableGetSecretParametersResult(GetSecretParametersResult):
|
|
151
128
|
# pylint: disable=using-constant-test
|
|
@@ -164,8 +141,7 @@ class AwaitableGetSecretParametersResult(GetSecretParametersResult):
|
|
|
164
141
|
secret_parameter_name=self.secret_parameter_name,
|
|
165
142
|
sort_field=self.sort_field,
|
|
166
143
|
sort_order=self.sort_order,
|
|
167
|
-
tags=self.tags
|
|
168
|
-
with_decryption=self.with_decryption)
|
|
144
|
+
tags=self.tags)
|
|
169
145
|
|
|
170
146
|
|
|
171
147
|
def get_secret_parameters(enable_details: Optional[bool] = None,
|
|
@@ -177,58 +153,20 @@ def get_secret_parameters(enable_details: Optional[bool] = None,
|
|
|
177
153
|
sort_field: Optional[str] = None,
|
|
178
154
|
sort_order: Optional[str] = None,
|
|
179
155
|
tags: Optional[Mapping[str, str]] = None,
|
|
180
|
-
with_decryption: Optional[bool] = None,
|
|
181
156
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSecretParametersResult:
|
|
182
157
|
"""
|
|
183
158
|
This data source provides the Oos Secret Parameters of the current Alibaba Cloud user.
|
|
184
159
|
|
|
185
|
-
> **NOTE:** Available
|
|
186
|
-
|
|
187
|
-
## Example Usage
|
|
188
|
-
|
|
189
|
-
Basic Usage
|
|
190
|
-
|
|
191
|
-
```python
|
|
192
|
-
import pulumi
|
|
193
|
-
import pulumi_alicloud as alicloud
|
|
160
|
+
> **NOTE:** Available in v1.147.0+.
|
|
194
161
|
|
|
195
|
-
config = pulumi.Config()
|
|
196
|
-
name = config.get("name")
|
|
197
|
-
if name is None:
|
|
198
|
-
name = "terraform-example"
|
|
199
|
-
default = alicloud.oos.SecretParameter("default",
|
|
200
|
-
secret_parameter_name=name,
|
|
201
|
-
value="tf-testacc-oos_secret_parameter",
|
|
202
|
-
type="Secret",
|
|
203
|
-
description=name,
|
|
204
|
-
constraints=\"\"\" {
|
|
205
|
-
"AllowedValues": [
|
|
206
|
-
"tf-testacc-oos_secret_parameter"
|
|
207
|
-
],
|
|
208
|
-
"AllowedPattern": "tf-testacc-oos_secret_parameter",
|
|
209
|
-
"MinLength": 1,
|
|
210
|
-
"MaxLength": 100
|
|
211
|
-
}
|
|
212
|
-
\"\"\",
|
|
213
|
-
tags={
|
|
214
|
-
"Created": "TF",
|
|
215
|
-
"For": "SecretParameter",
|
|
216
|
-
})
|
|
217
|
-
ids = alicloud.oos.get_secret_parameters_output(ids=[default.id])
|
|
218
|
-
pulumi.export("oosSecretParameterId0", ids.parameters[0].id)
|
|
219
|
-
```
|
|
220
162
|
|
|
221
|
-
|
|
222
|
-
:param bool enable_details: Whether to query the detailed list of resource attributes. Default value: `false`.
|
|
163
|
+
:param bool enable_details: Default to `false`. Set it to `true` can output more details about resource attributes.
|
|
223
164
|
:param Sequence[str] ids: A list of Secret Parameter IDs.
|
|
224
165
|
:param str name_regex: A regex string to filter results by Secret Parameter name.
|
|
225
166
|
:param str output_file: File name where to save data source results (after running `pulumi preview`).
|
|
226
167
|
:param str resource_group_id: The ID of the Resource Group.
|
|
227
|
-
:param str secret_parameter_name: The name of the
|
|
228
|
-
:param str sort_field: The field used to sort the query results. Valid values: `Name`, `CreatedDate`.
|
|
229
|
-
:param str sort_order: The order in which the entries are sorted. Default value: `Descending`. Valid values: `Ascending`, `Descending`.
|
|
168
|
+
:param str secret_parameter_name: The name of the secret parameter.
|
|
230
169
|
:param Mapping[str, str] tags: A mapping of tags to assign to the resource.
|
|
231
|
-
:param bool with_decryption: Specifies whether to decrypt the parameter value. Default value: `false`. **Note:** `with_decryption` takes effect only if `enable_details` is set to `true`.
|
|
232
170
|
"""
|
|
233
171
|
__args__ = dict()
|
|
234
172
|
__args__['enableDetails'] = enable_details
|
|
@@ -240,7 +178,6 @@ def get_secret_parameters(enable_details: Optional[bool] = None,
|
|
|
240
178
|
__args__['sortField'] = sort_field
|
|
241
179
|
__args__['sortOrder'] = sort_order
|
|
242
180
|
__args__['tags'] = tags
|
|
243
|
-
__args__['withDecryption'] = with_decryption
|
|
244
181
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
245
182
|
__ret__ = pulumi.runtime.invoke('alicloud:oos/getSecretParameters:getSecretParameters', __args__, opts=opts, typ=GetSecretParametersResult).value
|
|
246
183
|
|
|
@@ -256,8 +193,7 @@ def get_secret_parameters(enable_details: Optional[bool] = None,
|
|
|
256
193
|
secret_parameter_name=pulumi.get(__ret__, 'secret_parameter_name'),
|
|
257
194
|
sort_field=pulumi.get(__ret__, 'sort_field'),
|
|
258
195
|
sort_order=pulumi.get(__ret__, 'sort_order'),
|
|
259
|
-
tags=pulumi.get(__ret__, 'tags')
|
|
260
|
-
with_decryption=pulumi.get(__ret__, 'with_decryption'))
|
|
196
|
+
tags=pulumi.get(__ret__, 'tags'))
|
|
261
197
|
|
|
262
198
|
|
|
263
199
|
@_utilities.lift_output_func(get_secret_parameters)
|
|
@@ -270,57 +206,19 @@ def get_secret_parameters_output(enable_details: Optional[pulumi.Input[Optional[
|
|
|
270
206
|
sort_field: Optional[pulumi.Input[Optional[str]]] = None,
|
|
271
207
|
sort_order: Optional[pulumi.Input[Optional[str]]] = None,
|
|
272
208
|
tags: Optional[pulumi.Input[Optional[Mapping[str, str]]]] = None,
|
|
273
|
-
with_decryption: Optional[pulumi.Input[Optional[bool]]] = None,
|
|
274
209
|
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSecretParametersResult]:
|
|
275
210
|
"""
|
|
276
211
|
This data source provides the Oos Secret Parameters of the current Alibaba Cloud user.
|
|
277
212
|
|
|
278
|
-
> **NOTE:** Available
|
|
279
|
-
|
|
280
|
-
## Example Usage
|
|
281
|
-
|
|
282
|
-
Basic Usage
|
|
283
|
-
|
|
284
|
-
```python
|
|
285
|
-
import pulumi
|
|
286
|
-
import pulumi_alicloud as alicloud
|
|
287
|
-
|
|
288
|
-
config = pulumi.Config()
|
|
289
|
-
name = config.get("name")
|
|
290
|
-
if name is None:
|
|
291
|
-
name = "terraform-example"
|
|
292
|
-
default = alicloud.oos.SecretParameter("default",
|
|
293
|
-
secret_parameter_name=name,
|
|
294
|
-
value="tf-testacc-oos_secret_parameter",
|
|
295
|
-
type="Secret",
|
|
296
|
-
description=name,
|
|
297
|
-
constraints=\"\"\" {
|
|
298
|
-
"AllowedValues": [
|
|
299
|
-
"tf-testacc-oos_secret_parameter"
|
|
300
|
-
],
|
|
301
|
-
"AllowedPattern": "tf-testacc-oos_secret_parameter",
|
|
302
|
-
"MinLength": 1,
|
|
303
|
-
"MaxLength": 100
|
|
304
|
-
}
|
|
305
|
-
\"\"\",
|
|
306
|
-
tags={
|
|
307
|
-
"Created": "TF",
|
|
308
|
-
"For": "SecretParameter",
|
|
309
|
-
})
|
|
310
|
-
ids = alicloud.oos.get_secret_parameters_output(ids=[default.id])
|
|
311
|
-
pulumi.export("oosSecretParameterId0", ids.parameters[0].id)
|
|
312
|
-
```
|
|
213
|
+
> **NOTE:** Available in v1.147.0+.
|
|
313
214
|
|
|
314
215
|
|
|
315
|
-
:param bool enable_details:
|
|
216
|
+
:param bool enable_details: Default to `false`. Set it to `true` can output more details about resource attributes.
|
|
316
217
|
:param Sequence[str] ids: A list of Secret Parameter IDs.
|
|
317
218
|
:param str name_regex: A regex string to filter results by Secret Parameter name.
|
|
318
219
|
:param str output_file: File name where to save data source results (after running `pulumi preview`).
|
|
319
220
|
:param str resource_group_id: The ID of the Resource Group.
|
|
320
|
-
:param str secret_parameter_name: The name of the
|
|
321
|
-
:param str sort_field: The field used to sort the query results. Valid values: `Name`, `CreatedDate`.
|
|
322
|
-
:param str sort_order: The order in which the entries are sorted. Default value: `Descending`. Valid values: `Ascending`, `Descending`.
|
|
221
|
+
:param str secret_parameter_name: The name of the secret parameter.
|
|
323
222
|
:param Mapping[str, str] tags: A mapping of tags to assign to the resource.
|
|
324
|
-
:param bool with_decryption: Specifies whether to decrypt the parameter value. Default value: `false`. **Note:** `with_decryption` takes effect only if `enable_details` is set to `true`.
|
|
325
223
|
"""
|
|
326
224
|
...
|
pulumi_alicloud/oos/outputs.py
CHANGED
|
@@ -787,25 +787,23 @@ class GetSecretParametersParameterResult(dict):
|
|
|
787
787
|
tags: Mapping[str, str],
|
|
788
788
|
type: str,
|
|
789
789
|
updated_by: str,
|
|
790
|
-
updated_date: str
|
|
791
|
-
value: str):
|
|
790
|
+
updated_date: str):
|
|
792
791
|
"""
|
|
793
|
-
:param str constraints: The constraints of the encryption parameter.
|
|
792
|
+
:param str constraints: The constraints of the encryption parameter.
|
|
794
793
|
:param str create_time: The time when the encryption parameter was created.
|
|
795
794
|
:param str created_by: The user who created the encryption parameter.
|
|
796
795
|
:param str description: The description of the encryption parameter.
|
|
797
796
|
:param str id: The ID of the Secret Parameter.
|
|
798
|
-
:param str key_id:
|
|
797
|
+
:param str key_id: KeyId of KMS used for encryption.
|
|
799
798
|
:param int parameter_version: The version number of the encryption parameter.
|
|
800
799
|
:param str resource_group_id: The ID of the Resource Group.
|
|
801
800
|
:param str secret_parameter_id: The ID of the encryption parameter.
|
|
802
|
-
:param str secret_parameter_name: The name of the
|
|
801
|
+
:param str secret_parameter_name: The name of the encryption parameter.
|
|
803
802
|
:param str share_type: The share type of the encryption parameter.
|
|
804
|
-
:param Mapping[str, str] tags:
|
|
805
|
-
:param str type: The type of the parameter.
|
|
803
|
+
:param Mapping[str, str] tags: The tag of the resource.
|
|
804
|
+
:param str type: The data type of the encryption parameter.
|
|
806
805
|
:param str updated_by: The user who updated the encryption parameter.
|
|
807
806
|
:param str updated_date: The time when the encryption parameter was updated.
|
|
808
|
-
:param str value: (Available since v1.231.0) The value of the encryption parameter. **Note:** `value` takes effect only if `with_decryption` is set to `true`.
|
|
809
807
|
"""
|
|
810
808
|
pulumi.set(__self__, "constraints", constraints)
|
|
811
809
|
pulumi.set(__self__, "create_time", create_time)
|
|
@@ -822,13 +820,12 @@ class GetSecretParametersParameterResult(dict):
|
|
|
822
820
|
pulumi.set(__self__, "type", type)
|
|
823
821
|
pulumi.set(__self__, "updated_by", updated_by)
|
|
824
822
|
pulumi.set(__self__, "updated_date", updated_date)
|
|
825
|
-
pulumi.set(__self__, "value", value)
|
|
826
823
|
|
|
827
824
|
@property
|
|
828
825
|
@pulumi.getter
|
|
829
826
|
def constraints(self) -> str:
|
|
830
827
|
"""
|
|
831
|
-
The constraints of the encryption parameter.
|
|
828
|
+
The constraints of the encryption parameter.
|
|
832
829
|
"""
|
|
833
830
|
return pulumi.get(self, "constraints")
|
|
834
831
|
|
|
@@ -868,7 +865,7 @@ class GetSecretParametersParameterResult(dict):
|
|
|
868
865
|
@pulumi.getter(name="keyId")
|
|
869
866
|
def key_id(self) -> str:
|
|
870
867
|
"""
|
|
871
|
-
|
|
868
|
+
KeyId of KMS used for encryption.
|
|
872
869
|
"""
|
|
873
870
|
return pulumi.get(self, "key_id")
|
|
874
871
|
|
|
@@ -900,7 +897,7 @@ class GetSecretParametersParameterResult(dict):
|
|
|
900
897
|
@pulumi.getter(name="secretParameterName")
|
|
901
898
|
def secret_parameter_name(self) -> str:
|
|
902
899
|
"""
|
|
903
|
-
The name of the
|
|
900
|
+
The name of the encryption parameter.
|
|
904
901
|
"""
|
|
905
902
|
return pulumi.get(self, "secret_parameter_name")
|
|
906
903
|
|
|
@@ -916,7 +913,7 @@ class GetSecretParametersParameterResult(dict):
|
|
|
916
913
|
@pulumi.getter
|
|
917
914
|
def tags(self) -> Mapping[str, str]:
|
|
918
915
|
"""
|
|
919
|
-
|
|
916
|
+
The tag of the resource.
|
|
920
917
|
"""
|
|
921
918
|
return pulumi.get(self, "tags")
|
|
922
919
|
|
|
@@ -924,7 +921,7 @@ class GetSecretParametersParameterResult(dict):
|
|
|
924
921
|
@pulumi.getter
|
|
925
922
|
def type(self) -> str:
|
|
926
923
|
"""
|
|
927
|
-
The type of the parameter.
|
|
924
|
+
The data type of the encryption parameter.
|
|
928
925
|
"""
|
|
929
926
|
return pulumi.get(self, "type")
|
|
930
927
|
|
|
@@ -944,14 +941,6 @@ class GetSecretParametersParameterResult(dict):
|
|
|
944
941
|
"""
|
|
945
942
|
return pulumi.get(self, "updated_date")
|
|
946
943
|
|
|
947
|
-
@property
|
|
948
|
-
@pulumi.getter
|
|
949
|
-
def value(self) -> str:
|
|
950
|
-
"""
|
|
951
|
-
(Available since v1.231.0) The value of the encryption parameter. **Note:** `value` takes effect only if `with_decryption` is set to `true`.
|
|
952
|
-
"""
|
|
953
|
-
return pulumi.get(self, "value")
|
|
954
|
-
|
|
955
944
|
|
|
956
945
|
@pulumi.output_type
|
|
957
946
|
class GetStateConfigurationsConfigurationResult(dict):
|
|
@@ -35,9 +35,6 @@ class GetAccountAliasResult:
|
|
|
35
35
|
@property
|
|
36
36
|
@pulumi.getter(name="accountAlias")
|
|
37
37
|
def account_alias(self) -> str:
|
|
38
|
-
"""
|
|
39
|
-
Alias of the account.
|
|
40
|
-
"""
|
|
41
38
|
return pulumi.get(self, "account_alias")
|
|
42
39
|
|
|
43
40
|
@property
|
|
@@ -68,22 +65,7 @@ class AwaitableGetAccountAliasResult(GetAccountAliasResult):
|
|
|
68
65
|
def get_account_alias(output_file: Optional[str] = None,
|
|
69
66
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAccountAliasResult:
|
|
70
67
|
"""
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
> **NOTE:** Available since v1.0.0+.
|
|
74
|
-
|
|
75
|
-
## Example Usage
|
|
76
|
-
|
|
77
|
-
```python
|
|
78
|
-
import pulumi
|
|
79
|
-
import pulumi_alicloud as alicloud
|
|
80
|
-
|
|
81
|
-
alias_ds = alicloud.ram.get_account_alias(output_file="alias.txt")
|
|
82
|
-
pulumi.export("accountAlias", alias_ds.account_alias)
|
|
83
|
-
```
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
:param str output_file: File name where to save data source results (after running `pulumi preview`).
|
|
68
|
+
Use this data source to access information about an existing resource.
|
|
87
69
|
"""
|
|
88
70
|
__args__ = dict()
|
|
89
71
|
__args__['outputFile'] = output_file
|
|
@@ -100,21 +82,6 @@ def get_account_alias(output_file: Optional[str] = None,
|
|
|
100
82
|
def get_account_alias_output(output_file: Optional[pulumi.Input[Optional[str]]] = None,
|
|
101
83
|
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAccountAliasResult]:
|
|
102
84
|
"""
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
> **NOTE:** Available since v1.0.0+.
|
|
106
|
-
|
|
107
|
-
## Example Usage
|
|
108
|
-
|
|
109
|
-
```python
|
|
110
|
-
import pulumi
|
|
111
|
-
import pulumi_alicloud as alicloud
|
|
112
|
-
|
|
113
|
-
alias_ds = alicloud.ram.get_account_alias(output_file="alias.txt")
|
|
114
|
-
pulumi.export("accountAlias", alias_ds.account_alias)
|
|
115
|
-
```
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
:param str output_file: File name where to save data source results (after running `pulumi preview`).
|
|
85
|
+
Use this data source to access information about an existing resource.
|
|
119
86
|
"""
|
|
120
87
|
...
|
pulumi_alicloud/rds/instance.py
CHANGED
|
@@ -138,7 +138,7 @@ class InstanceArgs:
|
|
|
138
138
|
:param pulumi.Input[str] babelfish_port: The TDS port of the instance for which Babelfish is enabled.
|
|
139
139
|
|
|
140
140
|
> **NOTE:** This parameter applies only to ApsaraDB RDS for PostgreSQL instances. For more information about Babelfish for ApsaraDB RDS for PostgreSQL, see [Introduction to Babelfish](https://www.alibabacloud.com/help/en/apsaradb-for-rds/latest/babelfish-for-pg).
|
|
141
|
-
:param pulumi.Input[str] ca_type: The type of the server certificate. This parameter is supported only when the instance runs PostgreSQL
|
|
141
|
+
:param pulumi.Input[str] ca_type: The type of the server certificate. This parameter is supported only when the instance runs PostgreSQL with standard or enhanced SSDs. If you set the SSLEnabled parameter to 1, the default value of this parameter is aliyun. Value range:
|
|
142
142
|
- aliyun: a cloud certificate
|
|
143
143
|
- custom: a custom certificate
|
|
144
144
|
:param pulumi.Input[str] category: The RDS edition of the instance. If you want to create a serverless instance, you must use this value. Valid values:
|
|
@@ -247,8 +247,8 @@ class InstanceArgs:
|
|
|
247
247
|
:param pulumi.Input[str] security_ip_mode: Valid values are `normal`, `safety`, Default to `normal`. support `safety` switch to high security access mode.
|
|
248
248
|
:param pulumi.Input[str] security_ip_type: The type of IP address in the IP address whitelist.
|
|
249
249
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] security_ips: 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]).
|
|
250
|
-
:param pulumi.Input[str] server_cert: The content of the server certificate. This parameter is supported only when the instance runs PostgreSQL
|
|
251
|
-
:param pulumi.Input[str] server_key: The private key of the server certificate. This parameter is supported only when the instance runs PostgreSQL
|
|
250
|
+
:param pulumi.Input[str] server_cert: The content of the server certificate. This parameter is supported only when the instance runs PostgreSQL with standard or enhanced SSDs. If you set the CAType parameter to custom, you must also specify this parameter.
|
|
251
|
+
:param pulumi.Input[str] server_key: The private key of the server certificate. This parameter is supported only when the instance runs PostgreSQL with standard or enhanced SSDs. If you set the CAType parameter to custom, you must also specify this parameter.
|
|
252
252
|
:param pulumi.Input[Sequence[pulumi.Input['InstanceServerlessConfigArgs']]] serverless_configs: The settings of the serverless instance. This parameter is required when you create a serverless instance. This parameter takes effect only when you create an ApsaraDB RDS for Serverless instance. See `serverless_config` below.
|
|
253
253
|
:param pulumi.Input[int] sql_collector_config_value: The sql collector keep time of the instance. Valid values are `30`, `180`, `365`, `1095`, `1825`, Default to `30`.
|
|
254
254
|
:param pulumi.Input[str] sql_collector_status: The sql collector status of the instance. Valid values are `Enabled`, `Disabled`, Default to `Disabled`.
|
|
@@ -627,7 +627,7 @@ class InstanceArgs:
|
|
|
627
627
|
@pulumi.getter(name="caType")
|
|
628
628
|
def ca_type(self) -> Optional[pulumi.Input[str]]:
|
|
629
629
|
"""
|
|
630
|
-
The type of the server certificate. This parameter is supported only when the instance runs PostgreSQL
|
|
630
|
+
The type of the server certificate. This parameter is supported only when the instance runs PostgreSQL with standard or enhanced SSDs. If you set the SSLEnabled parameter to 1, the default value of this parameter is aliyun. Value range:
|
|
631
631
|
- aliyun: a cloud certificate
|
|
632
632
|
- custom: a custom certificate
|
|
633
633
|
"""
|
|
@@ -1199,7 +1199,7 @@ class InstanceArgs:
|
|
|
1199
1199
|
@pulumi.getter(name="serverCert")
|
|
1200
1200
|
def server_cert(self) -> Optional[pulumi.Input[str]]:
|
|
1201
1201
|
"""
|
|
1202
|
-
The content of the server certificate. This parameter is supported only when the instance runs PostgreSQL
|
|
1202
|
+
The content of the server certificate. This parameter is supported only when the instance runs PostgreSQL with standard or enhanced SSDs. If you set the CAType parameter to custom, you must also specify this parameter.
|
|
1203
1203
|
"""
|
|
1204
1204
|
return pulumi.get(self, "server_cert")
|
|
1205
1205
|
|
|
@@ -1211,7 +1211,7 @@ class InstanceArgs:
|
|
|
1211
1211
|
@pulumi.getter(name="serverKey")
|
|
1212
1212
|
def server_key(self) -> Optional[pulumi.Input[str]]:
|
|
1213
1213
|
"""
|
|
1214
|
-
The private key of the server certificate. This parameter is supported only when the instance runs PostgreSQL
|
|
1214
|
+
The private key of the server certificate. This parameter is supported only when the instance runs PostgreSQL with standard or enhanced SSDs. If you set the CAType parameter to custom, you must also specify this parameter.
|
|
1215
1215
|
"""
|
|
1216
1216
|
return pulumi.get(self, "server_key")
|
|
1217
1217
|
|
|
@@ -1609,7 +1609,7 @@ class _InstanceState:
|
|
|
1609
1609
|
:param pulumi.Input[str] babelfish_port: The TDS port of the instance for which Babelfish is enabled.
|
|
1610
1610
|
|
|
1611
1611
|
> **NOTE:** This parameter applies only to ApsaraDB RDS for PostgreSQL instances. For more information about Babelfish for ApsaraDB RDS for PostgreSQL, see [Introduction to Babelfish](https://www.alibabacloud.com/help/en/apsaradb-for-rds/latest/babelfish-for-pg).
|
|
1612
|
-
:param pulumi.Input[str] ca_type: The type of the server certificate. This parameter is supported only when the instance runs PostgreSQL
|
|
1612
|
+
:param pulumi.Input[str] ca_type: The type of the server certificate. This parameter is supported only when the instance runs PostgreSQL with standard or enhanced SSDs. If you set the SSLEnabled parameter to 1, the default value of this parameter is aliyun. Value range:
|
|
1613
1613
|
- aliyun: a cloud certificate
|
|
1614
1614
|
- custom: a custom certificate
|
|
1615
1615
|
:param pulumi.Input[str] category: The RDS edition of the instance. If you want to create a serverless instance, you must use this value. Valid values:
|
|
@@ -1749,8 +1749,8 @@ class _InstanceState:
|
|
|
1749
1749
|
:param pulumi.Input[str] security_ip_mode: Valid values are `normal`, `safety`, Default to `normal`. support `safety` switch to high security access mode.
|
|
1750
1750
|
:param pulumi.Input[str] security_ip_type: The type of IP address in the IP address whitelist.
|
|
1751
1751
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] security_ips: 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]).
|
|
1752
|
-
:param pulumi.Input[str] server_cert: The content of the server certificate. This parameter is supported only when the instance runs PostgreSQL
|
|
1753
|
-
:param pulumi.Input[str] server_key: The private key of the server certificate. This parameter is supported only when the instance runs PostgreSQL
|
|
1752
|
+
:param pulumi.Input[str] server_cert: The content of the server certificate. This parameter is supported only when the instance runs PostgreSQL with standard or enhanced SSDs. If you set the CAType parameter to custom, you must also specify this parameter.
|
|
1753
|
+
:param pulumi.Input[str] server_key: The private key of the server certificate. This parameter is supported only when the instance runs PostgreSQL with standard or enhanced SSDs. If you set the CAType parameter to custom, you must also specify this parameter.
|
|
1754
1754
|
:param pulumi.Input[Sequence[pulumi.Input['InstanceServerlessConfigArgs']]] serverless_configs: The settings of the serverless instance. This parameter is required when you create a serverless instance. This parameter takes effect only when you create an ApsaraDB RDS for Serverless instance. See `serverless_config` below.
|
|
1755
1755
|
:param pulumi.Input[int] sql_collector_config_value: The sql collector keep time of the instance. Valid values are `30`, `180`, `365`, `1095`, `1825`, Default to `30`.
|
|
1756
1756
|
:param pulumi.Input[str] sql_collector_status: The sql collector status of the instance. Valid values are `Enabled`, `Disabled`, Default to `Disabled`.
|
|
@@ -2073,7 +2073,7 @@ class _InstanceState:
|
|
|
2073
2073
|
@pulumi.getter(name="caType")
|
|
2074
2074
|
def ca_type(self) -> Optional[pulumi.Input[str]]:
|
|
2075
2075
|
"""
|
|
2076
|
-
The type of the server certificate. This parameter is supported only when the instance runs PostgreSQL
|
|
2076
|
+
The type of the server certificate. This parameter is supported only when the instance runs PostgreSQL with standard or enhanced SSDs. If you set the SSLEnabled parameter to 1, the default value of this parameter is aliyun. Value range:
|
|
2077
2077
|
- aliyun: a cloud certificate
|
|
2078
2078
|
- custom: a custom certificate
|
|
2079
2079
|
"""
|
|
@@ -2753,7 +2753,7 @@ class _InstanceState:
|
|
|
2753
2753
|
@pulumi.getter(name="serverCert")
|
|
2754
2754
|
def server_cert(self) -> Optional[pulumi.Input[str]]:
|
|
2755
2755
|
"""
|
|
2756
|
-
The content of the server certificate. This parameter is supported only when the instance runs PostgreSQL
|
|
2756
|
+
The content of the server certificate. This parameter is supported only when the instance runs PostgreSQL with standard or enhanced SSDs. If you set the CAType parameter to custom, you must also specify this parameter.
|
|
2757
2757
|
"""
|
|
2758
2758
|
return pulumi.get(self, "server_cert")
|
|
2759
2759
|
|
|
@@ -2765,7 +2765,7 @@ class _InstanceState:
|
|
|
2765
2765
|
@pulumi.getter(name="serverKey")
|
|
2766
2766
|
def server_key(self) -> Optional[pulumi.Input[str]]:
|
|
2767
2767
|
"""
|
|
2768
|
-
The private key of the server certificate. This parameter is supported only when the instance runs PostgreSQL
|
|
2768
|
+
The private key of the server certificate. This parameter is supported only when the instance runs PostgreSQL with standard or enhanced SSDs. If you set the CAType parameter to custom, you must also specify this parameter.
|
|
2769
2769
|
"""
|
|
2770
2770
|
return pulumi.get(self, "server_key")
|
|
2771
2771
|
|
|
@@ -3194,7 +3194,7 @@ class Instance(pulumi.CustomResource):
|
|
|
3194
3194
|
:param pulumi.Input[str] babelfish_port: The TDS port of the instance for which Babelfish is enabled.
|
|
3195
3195
|
|
|
3196
3196
|
> **NOTE:** This parameter applies only to ApsaraDB RDS for PostgreSQL instances. For more information about Babelfish for ApsaraDB RDS for PostgreSQL, see [Introduction to Babelfish](https://www.alibabacloud.com/help/en/apsaradb-for-rds/latest/babelfish-for-pg).
|
|
3197
|
-
:param pulumi.Input[str] ca_type: The type of the server certificate. This parameter is supported only when the instance runs PostgreSQL
|
|
3197
|
+
:param pulumi.Input[str] ca_type: The type of the server certificate. This parameter is supported only when the instance runs PostgreSQL with standard or enhanced SSDs. If you set the SSLEnabled parameter to 1, the default value of this parameter is aliyun. Value range:
|
|
3198
3198
|
- aliyun: a cloud certificate
|
|
3199
3199
|
- custom: a custom certificate
|
|
3200
3200
|
:param pulumi.Input[str] category: The RDS edition of the instance. If you want to create a serverless instance, you must use this value. Valid values:
|
|
@@ -3331,8 +3331,8 @@ class Instance(pulumi.CustomResource):
|
|
|
3331
3331
|
:param pulumi.Input[str] security_ip_mode: Valid values are `normal`, `safety`, Default to `normal`. support `safety` switch to high security access mode.
|
|
3332
3332
|
:param pulumi.Input[str] security_ip_type: The type of IP address in the IP address whitelist.
|
|
3333
3333
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] security_ips: 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]).
|
|
3334
|
-
:param pulumi.Input[str] server_cert: The content of the server certificate. This parameter is supported only when the instance runs PostgreSQL
|
|
3335
|
-
:param pulumi.Input[str] server_key: The private key of the server certificate. This parameter is supported only when the instance runs PostgreSQL
|
|
3334
|
+
:param pulumi.Input[str] server_cert: The content of the server certificate. This parameter is supported only when the instance runs PostgreSQL with standard or enhanced SSDs. If you set the CAType parameter to custom, you must also specify this parameter.
|
|
3335
|
+
:param pulumi.Input[str] server_key: The private key of the server certificate. This parameter is supported only when the instance runs PostgreSQL with standard or enhanced SSDs. If you set the CAType parameter to custom, you must also specify this parameter.
|
|
3336
3336
|
:param pulumi.Input[Sequence[pulumi.Input[Union['InstanceServerlessConfigArgs', 'InstanceServerlessConfigArgsDict']]]] serverless_configs: The settings of the serverless instance. This parameter is required when you create a serverless instance. This parameter takes effect only when you create an ApsaraDB RDS for Serverless instance. See `serverless_config` below.
|
|
3337
3337
|
:param pulumi.Input[int] sql_collector_config_value: The sql collector keep time of the instance. Valid values are `30`, `180`, `365`, `1095`, `1825`, Default to `30`.
|
|
3338
3338
|
:param pulumi.Input[str] sql_collector_status: The sql collector status of the instance. Valid values are `Enabled`, `Disabled`, Default to `Disabled`.
|
|
@@ -3716,7 +3716,7 @@ class Instance(pulumi.CustomResource):
|
|
|
3716
3716
|
:param pulumi.Input[str] babelfish_port: The TDS port of the instance for which Babelfish is enabled.
|
|
3717
3717
|
|
|
3718
3718
|
> **NOTE:** This parameter applies only to ApsaraDB RDS for PostgreSQL instances. For more information about Babelfish for ApsaraDB RDS for PostgreSQL, see [Introduction to Babelfish](https://www.alibabacloud.com/help/en/apsaradb-for-rds/latest/babelfish-for-pg).
|
|
3719
|
-
:param pulumi.Input[str] ca_type: The type of the server certificate. This parameter is supported only when the instance runs PostgreSQL
|
|
3719
|
+
:param pulumi.Input[str] ca_type: The type of the server certificate. This parameter is supported only when the instance runs PostgreSQL with standard or enhanced SSDs. If you set the SSLEnabled parameter to 1, the default value of this parameter is aliyun. Value range:
|
|
3720
3720
|
- aliyun: a cloud certificate
|
|
3721
3721
|
- custom: a custom certificate
|
|
3722
3722
|
:param pulumi.Input[str] category: The RDS edition of the instance. If you want to create a serverless instance, you must use this value. Valid values:
|
|
@@ -3856,8 +3856,8 @@ class Instance(pulumi.CustomResource):
|
|
|
3856
3856
|
:param pulumi.Input[str] security_ip_mode: Valid values are `normal`, `safety`, Default to `normal`. support `safety` switch to high security access mode.
|
|
3857
3857
|
:param pulumi.Input[str] security_ip_type: The type of IP address in the IP address whitelist.
|
|
3858
3858
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] security_ips: 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]).
|
|
3859
|
-
:param pulumi.Input[str] server_cert: The content of the server certificate. This parameter is supported only when the instance runs PostgreSQL
|
|
3860
|
-
:param pulumi.Input[str] server_key: The private key of the server certificate. This parameter is supported only when the instance runs PostgreSQL
|
|
3859
|
+
:param pulumi.Input[str] server_cert: The content of the server certificate. This parameter is supported only when the instance runs PostgreSQL with standard or enhanced SSDs. If you set the CAType parameter to custom, you must also specify this parameter.
|
|
3860
|
+
:param pulumi.Input[str] server_key: The private key of the server certificate. This parameter is supported only when the instance runs PostgreSQL with standard or enhanced SSDs. If you set the CAType parameter to custom, you must also specify this parameter.
|
|
3861
3861
|
:param pulumi.Input[Sequence[pulumi.Input[Union['InstanceServerlessConfigArgs', 'InstanceServerlessConfigArgsDict']]]] serverless_configs: The settings of the serverless instance. This parameter is required when you create a serverless instance. This parameter takes effect only when you create an ApsaraDB RDS for Serverless instance. See `serverless_config` below.
|
|
3862
3862
|
:param pulumi.Input[int] sql_collector_config_value: The sql collector keep time of the instance. Valid values are `30`, `180`, `365`, `1095`, `1825`, Default to `30`.
|
|
3863
3863
|
:param pulumi.Input[str] sql_collector_status: The sql collector status of the instance. Valid values are `Enabled`, `Disabled`, Default to `Disabled`.
|
|
@@ -4076,7 +4076,7 @@ class Instance(pulumi.CustomResource):
|
|
|
4076
4076
|
@pulumi.getter(name="caType")
|
|
4077
4077
|
def ca_type(self) -> pulumi.Output[str]:
|
|
4078
4078
|
"""
|
|
4079
|
-
The type of the server certificate. This parameter is supported only when the instance runs PostgreSQL
|
|
4079
|
+
The type of the server certificate. This parameter is supported only when the instance runs PostgreSQL with standard or enhanced SSDs. If you set the SSLEnabled parameter to 1, the default value of this parameter is aliyun. Value range:
|
|
4080
4080
|
- aliyun: a cloud certificate
|
|
4081
4081
|
- custom: a custom certificate
|
|
4082
4082
|
"""
|
|
@@ -4560,7 +4560,7 @@ class Instance(pulumi.CustomResource):
|
|
|
4560
4560
|
@pulumi.getter(name="serverCert")
|
|
4561
4561
|
def server_cert(self) -> pulumi.Output[str]:
|
|
4562
4562
|
"""
|
|
4563
|
-
The content of the server certificate. This parameter is supported only when the instance runs PostgreSQL
|
|
4563
|
+
The content of the server certificate. This parameter is supported only when the instance runs PostgreSQL with standard or enhanced SSDs. If you set the CAType parameter to custom, you must also specify this parameter.
|
|
4564
4564
|
"""
|
|
4565
4565
|
return pulumi.get(self, "server_cert")
|
|
4566
4566
|
|
|
@@ -4568,7 +4568,7 @@ class Instance(pulumi.CustomResource):
|
|
|
4568
4568
|
@pulumi.getter(name="serverKey")
|
|
4569
4569
|
def server_key(self) -> pulumi.Output[str]:
|
|
4570
4570
|
"""
|
|
4571
|
-
The private key of the server certificate. This parameter is supported only when the instance runs PostgreSQL
|
|
4571
|
+
The private key of the server certificate. This parameter is supported only when the instance runs PostgreSQL with standard or enhanced SSDs. If you set the CAType parameter to custom, you must also specify this parameter.
|
|
4572
4572
|
"""
|
|
4573
4573
|
return pulumi.get(self, "server_key")
|
|
4574
4574
|
|