pulumi-alicloud 3.64.0a1729894283__py3-none-any.whl → 3.64.0a1730118787__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 +16 -0
- pulumi_alicloud/amqp/instance.py +8 -8
- pulumi_alicloud/bss/get_open_api_pricing_modules.py +4 -4
- pulumi_alicloud/bss/get_open_api_products.py +4 -4
- pulumi_alicloud/cas/get_certificates.py +17 -1
- pulumi_alicloud/cas/get_service_certificates.py +153 -17
- pulumi_alicloud/cas/outputs.py +40 -36
- pulumi_alicloud/cen/instance.py +108 -53
- pulumi_alicloud/cloudfirewall/control_policy.py +524 -23
- pulumi_alicloud/cloudfirewall/instance.py +64 -36
- pulumi_alicloud/cs/_inputs.py +390 -26
- pulumi_alicloud/cs/get_serverless_kubernetes_clusters.py +2 -0
- pulumi_alicloud/cs/kubernetes.py +48 -35
- pulumi_alicloud/cs/managed_kubernetes.py +91 -35
- pulumi_alicloud/cs/node_pool.py +68 -14
- pulumi_alicloud/cs/outputs.py +293 -16
- pulumi_alicloud/cs/serverless_kubernetes.py +157 -63
- pulumi_alicloud/databasefilesystem/_inputs.py +0 -6
- pulumi_alicloud/databasefilesystem/instance.py +31 -0
- pulumi_alicloud/databasefilesystem/outputs.py +0 -4
- pulumi_alicloud/dns/get_alidns_records.py +26 -4
- pulumi_alicloud/dns/outputs.py +2 -2
- pulumi_alicloud/eais/instance.py +55 -57
- pulumi_alicloud/ecp/instance.py +177 -219
- pulumi_alicloud/ecs/disk.py +2 -2
- pulumi_alicloud/ecs/ecs_disk.py +142 -58
- pulumi_alicloud/ecs/ecs_key_pair.py +1 -1
- pulumi_alicloud/ecs/ecs_launch_template.py +169 -0
- pulumi_alicloud/ecs/get_ecs_launch_templates.py +172 -6
- pulumi_alicloud/ecs/instance.py +131 -98
- pulumi_alicloud/ecs/key_pair.py +1 -1
- pulumi_alicloud/ecs/launch_template.py +102 -0
- pulumi_alicloud/ecs/outputs.py +57 -24
- pulumi_alicloud/ens/disk.py +2 -2
- pulumi_alicloud/ens/disk_instance_attachment.py +2 -2
- pulumi_alicloud/ess/_inputs.py +342 -2
- pulumi_alicloud/ess/eci_scaling_configuration.py +202 -0
- pulumi_alicloud/ess/outputs.py +226 -2
- pulumi_alicloud/ess/scaling_configuration.py +376 -0
- pulumi_alicloud/ga/_inputs.py +57 -22
- pulumi_alicloud/ga/outputs.py +39 -15
- pulumi_alicloud/gpdb/__init__.py +1 -0
- pulumi_alicloud/gpdb/database.py +545 -0
- pulumi_alicloud/gpdb/instance.py +1 -1
- pulumi_alicloud/kvstore/instance.py +24 -5
- pulumi_alicloud/mse/cluster.py +149 -51
- pulumi_alicloud/mse/engine_namespace.py +176 -74
- pulumi_alicloud/mse/get_clusters.py +70 -10
- pulumi_alicloud/mse/get_engine_namespaces.py +93 -15
- pulumi_alicloud/mse/outputs.py +36 -8
- pulumi_alicloud/nas/data_flow.py +6 -6
- pulumi_alicloud/nas/fileset.py +6 -6
- pulumi_alicloud/nas/lifecycle_policy.py +6 -6
- pulumi_alicloud/nas/recycle_bin.py +6 -6
- pulumi_alicloud/nas/snapshot.py +6 -6
- pulumi_alicloud/polardb/cluster.py +162 -0
- pulumi_alicloud/privatelink/get_vpc_endpoint_services.py +51 -7
- pulumi_alicloud/privatelink/outputs.py +17 -6
- pulumi_alicloud/privatelink/vpc_endpoint_service_user.py +54 -17
- pulumi_alicloud/privatelink/vpc_endpoint_zone.py +7 -21
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/rds/instance.py +50 -3
- pulumi_alicloud/resourcemanager/get_folders.py +35 -28
- pulumi_alicloud/resourcemanager/outputs.py +8 -8
- pulumi_alicloud/servicemesh/_inputs.py +656 -174
- pulumi_alicloud/servicemesh/outputs.py +507 -117
- pulumi_alicloud/servicemesh/service_mesh.py +120 -78
- pulumi_alicloud/sls/__init__.py +1 -0
- pulumi_alicloud/sls/_inputs.py +307 -0
- pulumi_alicloud/sls/collection_policy.py +561 -0
- pulumi_alicloud/sls/outputs.py +263 -0
- pulumi_alicloud/threatdetection/instance.py +331 -43
- {pulumi_alicloud-3.64.0a1729894283.dist-info → pulumi_alicloud-3.64.0a1730118787.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.64.0a1729894283.dist-info → pulumi_alicloud-3.64.0a1730118787.dist-info}/RECORD +76 -74
- {pulumi_alicloud-3.64.0a1729894283.dist-info → pulumi_alicloud-3.64.0a1730118787.dist-info}/WHEEL +0 -0
- {pulumi_alicloud-3.64.0a1729894283.dist-info → pulumi_alicloud-3.64.0a1730118787.dist-info}/top_level.txt +0 -0
|
@@ -21,19 +21,21 @@ class VpcEndpointServiceUserArgs:
|
|
|
21
21
|
def __init__(__self__, *,
|
|
22
22
|
service_id: pulumi.Input[str],
|
|
23
23
|
user_id: pulumi.Input[str],
|
|
24
|
-
dry_run: Optional[pulumi.Input[bool]] = None
|
|
24
|
+
dry_run: Optional[pulumi.Input[bool]] = None,
|
|
25
|
+
user_arn: Optional[pulumi.Input[str]] = None):
|
|
25
26
|
"""
|
|
26
27
|
The set of arguments for constructing a VpcEndpointServiceUser resource.
|
|
27
28
|
:param pulumi.Input[str] service_id: The endpoint service ID.
|
|
28
29
|
:param pulumi.Input[str] user_id: The ID of the Alibaba Cloud account in the whitelist of the endpoint service.
|
|
29
30
|
:param pulumi.Input[bool] dry_run: Specifies whether to perform only a dry run, without performing the actual request. Valid values:
|
|
30
|
-
|
|
31
|
-
- **false (default)**: performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.
|
|
31
|
+
:param pulumi.Input[str] user_arn: The whitelist in the format of ARN.
|
|
32
32
|
"""
|
|
33
33
|
pulumi.set(__self__, "service_id", service_id)
|
|
34
34
|
pulumi.set(__self__, "user_id", user_id)
|
|
35
35
|
if dry_run is not None:
|
|
36
36
|
pulumi.set(__self__, "dry_run", dry_run)
|
|
37
|
+
if user_arn is not None:
|
|
38
|
+
pulumi.set(__self__, "user_arn", user_arn)
|
|
37
39
|
|
|
38
40
|
@property
|
|
39
41
|
@pulumi.getter(name="serviceId")
|
|
@@ -64,8 +66,6 @@ class VpcEndpointServiceUserArgs:
|
|
|
64
66
|
def dry_run(self) -> Optional[pulumi.Input[bool]]:
|
|
65
67
|
"""
|
|
66
68
|
Specifies whether to perform only a dry run, without performing the actual request. Valid values:
|
|
67
|
-
- **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error message is returned. If the request passes the dry run, the DryRunOperation error code is returned.
|
|
68
|
-
- **false (default)**: performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.
|
|
69
69
|
"""
|
|
70
70
|
return pulumi.get(self, "dry_run")
|
|
71
71
|
|
|
@@ -73,25 +73,39 @@ class VpcEndpointServiceUserArgs:
|
|
|
73
73
|
def dry_run(self, value: Optional[pulumi.Input[bool]]):
|
|
74
74
|
pulumi.set(self, "dry_run", value)
|
|
75
75
|
|
|
76
|
+
@property
|
|
77
|
+
@pulumi.getter(name="userArn")
|
|
78
|
+
def user_arn(self) -> Optional[pulumi.Input[str]]:
|
|
79
|
+
"""
|
|
80
|
+
The whitelist in the format of ARN.
|
|
81
|
+
"""
|
|
82
|
+
return pulumi.get(self, "user_arn")
|
|
83
|
+
|
|
84
|
+
@user_arn.setter
|
|
85
|
+
def user_arn(self, value: Optional[pulumi.Input[str]]):
|
|
86
|
+
pulumi.set(self, "user_arn", value)
|
|
87
|
+
|
|
76
88
|
|
|
77
89
|
@pulumi.input_type
|
|
78
90
|
class _VpcEndpointServiceUserState:
|
|
79
91
|
def __init__(__self__, *,
|
|
80
92
|
dry_run: Optional[pulumi.Input[bool]] = None,
|
|
81
93
|
service_id: Optional[pulumi.Input[str]] = None,
|
|
94
|
+
user_arn: Optional[pulumi.Input[str]] = None,
|
|
82
95
|
user_id: Optional[pulumi.Input[str]] = None):
|
|
83
96
|
"""
|
|
84
97
|
Input properties used for looking up and filtering VpcEndpointServiceUser resources.
|
|
85
98
|
:param pulumi.Input[bool] dry_run: Specifies whether to perform only a dry run, without performing the actual request. Valid values:
|
|
86
|
-
- **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error message is returned. If the request passes the dry run, the DryRunOperation error code is returned.
|
|
87
|
-
- **false (default)**: performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.
|
|
88
99
|
:param pulumi.Input[str] service_id: The endpoint service ID.
|
|
100
|
+
:param pulumi.Input[str] user_arn: The whitelist in the format of ARN.
|
|
89
101
|
:param pulumi.Input[str] user_id: The ID of the Alibaba Cloud account in the whitelist of the endpoint service.
|
|
90
102
|
"""
|
|
91
103
|
if dry_run is not None:
|
|
92
104
|
pulumi.set(__self__, "dry_run", dry_run)
|
|
93
105
|
if service_id is not None:
|
|
94
106
|
pulumi.set(__self__, "service_id", service_id)
|
|
107
|
+
if user_arn is not None:
|
|
108
|
+
pulumi.set(__self__, "user_arn", user_arn)
|
|
95
109
|
if user_id is not None:
|
|
96
110
|
pulumi.set(__self__, "user_id", user_id)
|
|
97
111
|
|
|
@@ -100,8 +114,6 @@ class _VpcEndpointServiceUserState:
|
|
|
100
114
|
def dry_run(self) -> Optional[pulumi.Input[bool]]:
|
|
101
115
|
"""
|
|
102
116
|
Specifies whether to perform only a dry run, without performing the actual request. Valid values:
|
|
103
|
-
- **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error message is returned. If the request passes the dry run, the DryRunOperation error code is returned.
|
|
104
|
-
- **false (default)**: performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.
|
|
105
117
|
"""
|
|
106
118
|
return pulumi.get(self, "dry_run")
|
|
107
119
|
|
|
@@ -121,6 +133,18 @@ class _VpcEndpointServiceUserState:
|
|
|
121
133
|
def service_id(self, value: Optional[pulumi.Input[str]]):
|
|
122
134
|
pulumi.set(self, "service_id", value)
|
|
123
135
|
|
|
136
|
+
@property
|
|
137
|
+
@pulumi.getter(name="userArn")
|
|
138
|
+
def user_arn(self) -> Optional[pulumi.Input[str]]:
|
|
139
|
+
"""
|
|
140
|
+
The whitelist in the format of ARN.
|
|
141
|
+
"""
|
|
142
|
+
return pulumi.get(self, "user_arn")
|
|
143
|
+
|
|
144
|
+
@user_arn.setter
|
|
145
|
+
def user_arn(self, value: Optional[pulumi.Input[str]]):
|
|
146
|
+
pulumi.set(self, "user_arn", value)
|
|
147
|
+
|
|
124
148
|
@property
|
|
125
149
|
@pulumi.getter(name="userId")
|
|
126
150
|
def user_id(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -141,10 +165,13 @@ class VpcEndpointServiceUser(pulumi.CustomResource):
|
|
|
141
165
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
142
166
|
dry_run: Optional[pulumi.Input[bool]] = None,
|
|
143
167
|
service_id: Optional[pulumi.Input[str]] = None,
|
|
168
|
+
user_arn: Optional[pulumi.Input[str]] = None,
|
|
144
169
|
user_id: Optional[pulumi.Input[str]] = None,
|
|
145
170
|
__props__=None):
|
|
146
171
|
"""
|
|
147
|
-
Provides a Private Link Vpc Endpoint Service User resource.
|
|
172
|
+
Provides a Private Link Vpc Endpoint Service User resource.
|
|
173
|
+
|
|
174
|
+
Endpoint service user whitelist.
|
|
148
175
|
|
|
149
176
|
For information about Private Link Vpc Endpoint Service User and how to use it, see [What is Vpc Endpoint Service User](https://www.alibabacloud.com/help/en/privatelink/latest/api-privatelink-2020-04-15-addusertovpcendpointservice).
|
|
150
177
|
|
|
@@ -188,9 +215,8 @@ class VpcEndpointServiceUser(pulumi.CustomResource):
|
|
|
188
215
|
:param str resource_name: The name of the resource.
|
|
189
216
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
190
217
|
:param pulumi.Input[bool] dry_run: Specifies whether to perform only a dry run, without performing the actual request. Valid values:
|
|
191
|
-
- **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error message is returned. If the request passes the dry run, the DryRunOperation error code is returned.
|
|
192
|
-
- **false (default)**: performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.
|
|
193
218
|
:param pulumi.Input[str] service_id: The endpoint service ID.
|
|
219
|
+
:param pulumi.Input[str] user_arn: The whitelist in the format of ARN.
|
|
194
220
|
:param pulumi.Input[str] user_id: The ID of the Alibaba Cloud account in the whitelist of the endpoint service.
|
|
195
221
|
"""
|
|
196
222
|
...
|
|
@@ -200,7 +226,9 @@ class VpcEndpointServiceUser(pulumi.CustomResource):
|
|
|
200
226
|
args: VpcEndpointServiceUserArgs,
|
|
201
227
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
202
228
|
"""
|
|
203
|
-
Provides a Private Link Vpc Endpoint Service User resource.
|
|
229
|
+
Provides a Private Link Vpc Endpoint Service User resource.
|
|
230
|
+
|
|
231
|
+
Endpoint service user whitelist.
|
|
204
232
|
|
|
205
233
|
For information about Private Link Vpc Endpoint Service User and how to use it, see [What is Vpc Endpoint Service User](https://www.alibabacloud.com/help/en/privatelink/latest/api-privatelink-2020-04-15-addusertovpcendpointservice).
|
|
206
234
|
|
|
@@ -258,6 +286,7 @@ class VpcEndpointServiceUser(pulumi.CustomResource):
|
|
|
258
286
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
259
287
|
dry_run: Optional[pulumi.Input[bool]] = None,
|
|
260
288
|
service_id: Optional[pulumi.Input[str]] = None,
|
|
289
|
+
user_arn: Optional[pulumi.Input[str]] = None,
|
|
261
290
|
user_id: Optional[pulumi.Input[str]] = None,
|
|
262
291
|
__props__=None):
|
|
263
292
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
@@ -272,6 +301,7 @@ class VpcEndpointServiceUser(pulumi.CustomResource):
|
|
|
272
301
|
if service_id is None and not opts.urn:
|
|
273
302
|
raise TypeError("Missing required property 'service_id'")
|
|
274
303
|
__props__.__dict__["service_id"] = service_id
|
|
304
|
+
__props__.__dict__["user_arn"] = user_arn
|
|
275
305
|
if user_id is None and not opts.urn:
|
|
276
306
|
raise TypeError("Missing required property 'user_id'")
|
|
277
307
|
__props__.__dict__["user_id"] = user_id
|
|
@@ -287,6 +317,7 @@ class VpcEndpointServiceUser(pulumi.CustomResource):
|
|
|
287
317
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
288
318
|
dry_run: Optional[pulumi.Input[bool]] = None,
|
|
289
319
|
service_id: Optional[pulumi.Input[str]] = None,
|
|
320
|
+
user_arn: Optional[pulumi.Input[str]] = None,
|
|
290
321
|
user_id: Optional[pulumi.Input[str]] = None) -> 'VpcEndpointServiceUser':
|
|
291
322
|
"""
|
|
292
323
|
Get an existing VpcEndpointServiceUser resource's state with the given name, id, and optional extra
|
|
@@ -296,9 +327,8 @@ class VpcEndpointServiceUser(pulumi.CustomResource):
|
|
|
296
327
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
297
328
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
298
329
|
:param pulumi.Input[bool] dry_run: Specifies whether to perform only a dry run, without performing the actual request. Valid values:
|
|
299
|
-
- **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error message is returned. If the request passes the dry run, the DryRunOperation error code is returned.
|
|
300
|
-
- **false (default)**: performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.
|
|
301
330
|
:param pulumi.Input[str] service_id: The endpoint service ID.
|
|
331
|
+
:param pulumi.Input[str] user_arn: The whitelist in the format of ARN.
|
|
302
332
|
:param pulumi.Input[str] user_id: The ID of the Alibaba Cloud account in the whitelist of the endpoint service.
|
|
303
333
|
"""
|
|
304
334
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
@@ -307,6 +337,7 @@ class VpcEndpointServiceUser(pulumi.CustomResource):
|
|
|
307
337
|
|
|
308
338
|
__props__.__dict__["dry_run"] = dry_run
|
|
309
339
|
__props__.__dict__["service_id"] = service_id
|
|
340
|
+
__props__.__dict__["user_arn"] = user_arn
|
|
310
341
|
__props__.__dict__["user_id"] = user_id
|
|
311
342
|
return VpcEndpointServiceUser(resource_name, opts=opts, __props__=__props__)
|
|
312
343
|
|
|
@@ -315,8 +346,6 @@ class VpcEndpointServiceUser(pulumi.CustomResource):
|
|
|
315
346
|
def dry_run(self) -> pulumi.Output[Optional[bool]]:
|
|
316
347
|
"""
|
|
317
348
|
Specifies whether to perform only a dry run, without performing the actual request. Valid values:
|
|
318
|
-
- **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error message is returned. If the request passes the dry run, the DryRunOperation error code is returned.
|
|
319
|
-
- **false (default)**: performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.
|
|
320
349
|
"""
|
|
321
350
|
return pulumi.get(self, "dry_run")
|
|
322
351
|
|
|
@@ -328,6 +357,14 @@ class VpcEndpointServiceUser(pulumi.CustomResource):
|
|
|
328
357
|
"""
|
|
329
358
|
return pulumi.get(self, "service_id")
|
|
330
359
|
|
|
360
|
+
@property
|
|
361
|
+
@pulumi.getter(name="userArn")
|
|
362
|
+
def user_arn(self) -> pulumi.Output[Optional[str]]:
|
|
363
|
+
"""
|
|
364
|
+
The whitelist in the format of ARN.
|
|
365
|
+
"""
|
|
366
|
+
return pulumi.get(self, "user_arn")
|
|
367
|
+
|
|
331
368
|
@property
|
|
332
369
|
@pulumi.getter(name="userId")
|
|
333
370
|
def user_id(self) -> pulumi.Output[str]:
|
|
@@ -27,10 +27,8 @@ class VpcEndpointZoneArgs:
|
|
|
27
27
|
"""
|
|
28
28
|
The set of arguments for constructing a VpcEndpointZone resource.
|
|
29
29
|
:param pulumi.Input[str] endpoint_id: The endpoint ID.
|
|
30
|
-
:param pulumi.Input[str] vswitch_id: The ID of the vSwitch in the zone.
|
|
30
|
+
:param pulumi.Input[str] vswitch_id: The ID of the vSwitch in the zone.
|
|
31
31
|
:param pulumi.Input[bool] dry_run: Specifies whether to perform only a dry run, without performing the actual request. Valid values:
|
|
32
|
-
- **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error message is returned. If the request passes the dry run, the DryRunOperation error code is returned.
|
|
33
|
-
- **false (default)**: performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.
|
|
34
32
|
:param pulumi.Input[str] eni_ip: The IP address of the endpoint ENI.
|
|
35
33
|
:param pulumi.Input[str] zone_id: The zone ID.
|
|
36
34
|
"""
|
|
@@ -59,7 +57,7 @@ class VpcEndpointZoneArgs:
|
|
|
59
57
|
@pulumi.getter(name="vswitchId")
|
|
60
58
|
def vswitch_id(self) -> pulumi.Input[str]:
|
|
61
59
|
"""
|
|
62
|
-
The ID of the vSwitch in the zone.
|
|
60
|
+
The ID of the vSwitch in the zone.
|
|
63
61
|
"""
|
|
64
62
|
return pulumi.get(self, "vswitch_id")
|
|
65
63
|
|
|
@@ -72,8 +70,6 @@ class VpcEndpointZoneArgs:
|
|
|
72
70
|
def dry_run(self) -> Optional[pulumi.Input[bool]]:
|
|
73
71
|
"""
|
|
74
72
|
Specifies whether to perform only a dry run, without performing the actual request. Valid values:
|
|
75
|
-
- **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error message is returned. If the request passes the dry run, the DryRunOperation error code is returned.
|
|
76
|
-
- **false (default)**: performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.
|
|
77
73
|
"""
|
|
78
74
|
return pulumi.get(self, "dry_run")
|
|
79
75
|
|
|
@@ -118,12 +114,10 @@ class _VpcEndpointZoneState:
|
|
|
118
114
|
"""
|
|
119
115
|
Input properties used for looking up and filtering VpcEndpointZone resources.
|
|
120
116
|
:param pulumi.Input[bool] dry_run: Specifies whether to perform only a dry run, without performing the actual request. Valid values:
|
|
121
|
-
- **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error message is returned. If the request passes the dry run, the DryRunOperation error code is returned.
|
|
122
|
-
- **false (default)**: performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.
|
|
123
117
|
:param pulumi.Input[str] endpoint_id: The endpoint ID.
|
|
124
118
|
:param pulumi.Input[str] eni_ip: The IP address of the endpoint ENI.
|
|
125
119
|
:param pulumi.Input[str] status: The state of the zone.
|
|
126
|
-
:param pulumi.Input[str] vswitch_id: The ID of the vSwitch in the zone.
|
|
120
|
+
:param pulumi.Input[str] vswitch_id: The ID of the vSwitch in the zone.
|
|
127
121
|
:param pulumi.Input[str] zone_id: The zone ID.
|
|
128
122
|
"""
|
|
129
123
|
if dry_run is not None:
|
|
@@ -144,8 +138,6 @@ class _VpcEndpointZoneState:
|
|
|
144
138
|
def dry_run(self) -> Optional[pulumi.Input[bool]]:
|
|
145
139
|
"""
|
|
146
140
|
Specifies whether to perform only a dry run, without performing the actual request. Valid values:
|
|
147
|
-
- **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error message is returned. If the request passes the dry run, the DryRunOperation error code is returned.
|
|
148
|
-
- **false (default)**: performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.
|
|
149
141
|
"""
|
|
150
142
|
return pulumi.get(self, "dry_run")
|
|
151
143
|
|
|
@@ -193,7 +185,7 @@ class _VpcEndpointZoneState:
|
|
|
193
185
|
@pulumi.getter(name="vswitchId")
|
|
194
186
|
def vswitch_id(self) -> Optional[pulumi.Input[str]]:
|
|
195
187
|
"""
|
|
196
|
-
The ID of the vSwitch in the zone.
|
|
188
|
+
The ID of the vSwitch in the zone.
|
|
197
189
|
"""
|
|
198
190
|
return pulumi.get(self, "vswitch_id")
|
|
199
191
|
|
|
@@ -291,11 +283,9 @@ class VpcEndpointZone(pulumi.CustomResource):
|
|
|
291
283
|
:param str resource_name: The name of the resource.
|
|
292
284
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
293
285
|
:param pulumi.Input[bool] dry_run: Specifies whether to perform only a dry run, without performing the actual request. Valid values:
|
|
294
|
-
- **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error message is returned. If the request passes the dry run, the DryRunOperation error code is returned.
|
|
295
|
-
- **false (default)**: performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.
|
|
296
286
|
:param pulumi.Input[str] endpoint_id: The endpoint ID.
|
|
297
287
|
:param pulumi.Input[str] eni_ip: The IP address of the endpoint ENI.
|
|
298
|
-
:param pulumi.Input[str] vswitch_id: The ID of the vSwitch in the zone.
|
|
288
|
+
:param pulumi.Input[str] vswitch_id: The ID of the vSwitch in the zone.
|
|
299
289
|
:param pulumi.Input[str] zone_id: The zone ID.
|
|
300
290
|
"""
|
|
301
291
|
...
|
|
@@ -430,12 +420,10 @@ class VpcEndpointZone(pulumi.CustomResource):
|
|
|
430
420
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
431
421
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
432
422
|
:param pulumi.Input[bool] dry_run: Specifies whether to perform only a dry run, without performing the actual request. Valid values:
|
|
433
|
-
- **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error message is returned. If the request passes the dry run, the DryRunOperation error code is returned.
|
|
434
|
-
- **false (default)**: performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.
|
|
435
423
|
:param pulumi.Input[str] endpoint_id: The endpoint ID.
|
|
436
424
|
:param pulumi.Input[str] eni_ip: The IP address of the endpoint ENI.
|
|
437
425
|
:param pulumi.Input[str] status: The state of the zone.
|
|
438
|
-
:param pulumi.Input[str] vswitch_id: The ID of the vSwitch in the zone.
|
|
426
|
+
:param pulumi.Input[str] vswitch_id: The ID of the vSwitch in the zone.
|
|
439
427
|
:param pulumi.Input[str] zone_id: The zone ID.
|
|
440
428
|
"""
|
|
441
429
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
@@ -455,8 +443,6 @@ class VpcEndpointZone(pulumi.CustomResource):
|
|
|
455
443
|
def dry_run(self) -> pulumi.Output[Optional[bool]]:
|
|
456
444
|
"""
|
|
457
445
|
Specifies whether to perform only a dry run, without performing the actual request. Valid values:
|
|
458
|
-
- **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error message is returned. If the request passes the dry run, the DryRunOperation error code is returned.
|
|
459
|
-
- **false (default)**: performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.
|
|
460
446
|
"""
|
|
461
447
|
return pulumi.get(self, "dry_run")
|
|
462
448
|
|
|
@@ -488,7 +474,7 @@ class VpcEndpointZone(pulumi.CustomResource):
|
|
|
488
474
|
@pulumi.getter(name="vswitchId")
|
|
489
475
|
def vswitch_id(self) -> pulumi.Output[str]:
|
|
490
476
|
"""
|
|
491
|
-
The ID of the vSwitch in the zone.
|
|
477
|
+
The ID of the vSwitch in the zone.
|
|
492
478
|
"""
|
|
493
479
|
return pulumi.get(self, "vswitch_id")
|
|
494
480
|
|
pulumi_alicloud/rds/instance.py
CHANGED
|
@@ -94,7 +94,8 @@ class InstanceArgs:
|
|
|
94
94
|
vswitch_id: Optional[pulumi.Input[str]] = None,
|
|
95
95
|
whitelist_network_type: Optional[pulumi.Input[str]] = None,
|
|
96
96
|
zone_id: Optional[pulumi.Input[str]] = None,
|
|
97
|
-
zone_id_slave_a: Optional[pulumi.Input[str]] = None
|
|
97
|
+
zone_id_slave_a: Optional[pulumi.Input[str]] = None,
|
|
98
|
+
zone_id_slave_b: Optional[pulumi.Input[str]] = None):
|
|
98
99
|
"""
|
|
99
100
|
The set of arguments for constructing a Instance resource.
|
|
100
101
|
:param pulumi.Input[str] engine: Database type. Value options: MySQL, SQLServer, PostgreSQL, MariaDB.
|
|
@@ -320,6 +321,7 @@ class InstanceArgs:
|
|
|
320
321
|
If it is a multi-zone and `vswitch_id` is specified, the vswitch must in the one of them.
|
|
321
322
|
The multiple zone ID can be retrieved by setting `multi` to "true" in the data source `get_zones`.
|
|
322
323
|
:param pulumi.Input[str] zone_id_slave_a: The region ID of the secondary instance if you create a secondary instance. If you set this parameter to the same value as the ZoneId parameter, the instance is deployed in a single zone. Otherwise, the instance is deployed in multiple zones.
|
|
324
|
+
:param pulumi.Input[str] zone_id_slave_b: RDS MySQL Cluster series instances support creating 1 to 2 secondary nodes at the same time when establishing a new instance. If you have this requirement, you can use this parameter to specify the availability zone for the second secondary node.
|
|
323
325
|
"""
|
|
324
326
|
pulumi.set(__self__, "engine", engine)
|
|
325
327
|
pulumi.set(__self__, "engine_version", engine_version)
|
|
@@ -471,6 +473,8 @@ class InstanceArgs:
|
|
|
471
473
|
pulumi.set(__self__, "zone_id", zone_id)
|
|
472
474
|
if zone_id_slave_a is not None:
|
|
473
475
|
pulumi.set(__self__, "zone_id_slave_a", zone_id_slave_a)
|
|
476
|
+
if zone_id_slave_b is not None:
|
|
477
|
+
pulumi.set(__self__, "zone_id_slave_b", zone_id_slave_b)
|
|
474
478
|
|
|
475
479
|
@property
|
|
476
480
|
@pulumi.getter
|
|
@@ -1511,6 +1515,18 @@ class InstanceArgs:
|
|
|
1511
1515
|
def zone_id_slave_a(self, value: Optional[pulumi.Input[str]]):
|
|
1512
1516
|
pulumi.set(self, "zone_id_slave_a", value)
|
|
1513
1517
|
|
|
1518
|
+
@property
|
|
1519
|
+
@pulumi.getter(name="zoneIdSlaveB")
|
|
1520
|
+
def zone_id_slave_b(self) -> Optional[pulumi.Input[str]]:
|
|
1521
|
+
"""
|
|
1522
|
+
RDS MySQL Cluster series instances support creating 1 to 2 secondary nodes at the same time when establishing a new instance. If you have this requirement, you can use this parameter to specify the availability zone for the second secondary node.
|
|
1523
|
+
"""
|
|
1524
|
+
return pulumi.get(self, "zone_id_slave_b")
|
|
1525
|
+
|
|
1526
|
+
@zone_id_slave_b.setter
|
|
1527
|
+
def zone_id_slave_b(self, value: Optional[pulumi.Input[str]]):
|
|
1528
|
+
pulumi.set(self, "zone_id_slave_b", value)
|
|
1529
|
+
|
|
1514
1530
|
|
|
1515
1531
|
@pulumi.input_type
|
|
1516
1532
|
class _InstanceState:
|
|
@@ -1593,7 +1609,8 @@ class _InstanceState:
|
|
|
1593
1609
|
vswitch_id: Optional[pulumi.Input[str]] = None,
|
|
1594
1610
|
whitelist_network_type: Optional[pulumi.Input[str]] = None,
|
|
1595
1611
|
zone_id: Optional[pulumi.Input[str]] = None,
|
|
1596
|
-
zone_id_slave_a: Optional[pulumi.Input[str]] = None
|
|
1612
|
+
zone_id_slave_a: Optional[pulumi.Input[str]] = None,
|
|
1613
|
+
zone_id_slave_b: Optional[pulumi.Input[str]] = None):
|
|
1597
1614
|
"""
|
|
1598
1615
|
Input properties used for looking up and filtering Instance resources.
|
|
1599
1616
|
:param pulumi.Input[str] acl: The method that is used to verify the identities of clients. This parameter is supported only when the instance runs PostgreSQL with standard or enhanced SSDs. In addition, this parameter is available only when the public key of the CA that issues client certificates is enabled. Valid values:
|
|
@@ -1824,6 +1841,7 @@ class _InstanceState:
|
|
|
1824
1841
|
If it is a multi-zone and `vswitch_id` is specified, the vswitch must in the one of them.
|
|
1825
1842
|
The multiple zone ID can be retrieved by setting `multi` to "true" in the data source `get_zones`.
|
|
1826
1843
|
:param pulumi.Input[str] zone_id_slave_a: The region ID of the secondary instance if you create a secondary instance. If you set this parameter to the same value as the ZoneId parameter, the instance is deployed in a single zone. Otherwise, the instance is deployed in multiple zones.
|
|
1844
|
+
:param pulumi.Input[str] zone_id_slave_b: RDS MySQL Cluster series instances support creating 1 to 2 secondary nodes at the same time when establishing a new instance. If you have this requirement, you can use this parameter to specify the availability zone for the second secondary node.
|
|
1827
1845
|
"""
|
|
1828
1846
|
if acl is not None:
|
|
1829
1847
|
pulumi.set(__self__, "acl", acl)
|
|
@@ -1989,6 +2007,8 @@ class _InstanceState:
|
|
|
1989
2007
|
pulumi.set(__self__, "zone_id", zone_id)
|
|
1990
2008
|
if zone_id_slave_a is not None:
|
|
1991
2009
|
pulumi.set(__self__, "zone_id_slave_a", zone_id_slave_a)
|
|
2010
|
+
if zone_id_slave_b is not None:
|
|
2011
|
+
pulumi.set(__self__, "zone_id_slave_b", zone_id_slave_b)
|
|
1992
2012
|
|
|
1993
2013
|
@property
|
|
1994
2014
|
@pulumi.getter
|
|
@@ -3089,6 +3109,18 @@ class _InstanceState:
|
|
|
3089
3109
|
def zone_id_slave_a(self, value: Optional[pulumi.Input[str]]):
|
|
3090
3110
|
pulumi.set(self, "zone_id_slave_a", value)
|
|
3091
3111
|
|
|
3112
|
+
@property
|
|
3113
|
+
@pulumi.getter(name="zoneIdSlaveB")
|
|
3114
|
+
def zone_id_slave_b(self) -> Optional[pulumi.Input[str]]:
|
|
3115
|
+
"""
|
|
3116
|
+
RDS MySQL Cluster series instances support creating 1 to 2 secondary nodes at the same time when establishing a new instance. If you have this requirement, you can use this parameter to specify the availability zone for the second secondary node.
|
|
3117
|
+
"""
|
|
3118
|
+
return pulumi.get(self, "zone_id_slave_b")
|
|
3119
|
+
|
|
3120
|
+
@zone_id_slave_b.setter
|
|
3121
|
+
def zone_id_slave_b(self, value: Optional[pulumi.Input[str]]):
|
|
3122
|
+
pulumi.set(self, "zone_id_slave_b", value)
|
|
3123
|
+
|
|
3092
3124
|
|
|
3093
3125
|
class Instance(pulumi.CustomResource):
|
|
3094
3126
|
@overload
|
|
@@ -3169,6 +3201,7 @@ class Instance(pulumi.CustomResource):
|
|
|
3169
3201
|
whitelist_network_type: Optional[pulumi.Input[str]] = None,
|
|
3170
3202
|
zone_id: Optional[pulumi.Input[str]] = None,
|
|
3171
3203
|
zone_id_slave_a: Optional[pulumi.Input[str]] = None,
|
|
3204
|
+
zone_id_slave_b: Optional[pulumi.Input[str]] = None,
|
|
3172
3205
|
__props__=None):
|
|
3173
3206
|
"""
|
|
3174
3207
|
## Import
|
|
@@ -3404,6 +3437,7 @@ class Instance(pulumi.CustomResource):
|
|
|
3404
3437
|
If it is a multi-zone and `vswitch_id` is specified, the vswitch must in the one of them.
|
|
3405
3438
|
The multiple zone ID can be retrieved by setting `multi` to "true" in the data source `get_zones`.
|
|
3406
3439
|
:param pulumi.Input[str] zone_id_slave_a: The region ID of the secondary instance if you create a secondary instance. If you set this parameter to the same value as the ZoneId parameter, the instance is deployed in a single zone. Otherwise, the instance is deployed in multiple zones.
|
|
3440
|
+
:param pulumi.Input[str] zone_id_slave_b: RDS MySQL Cluster series instances support creating 1 to 2 secondary nodes at the same time when establishing a new instance. If you have this requirement, you can use this parameter to specify the availability zone for the second secondary node.
|
|
3407
3441
|
"""
|
|
3408
3442
|
...
|
|
3409
3443
|
@overload
|
|
@@ -3509,6 +3543,7 @@ class Instance(pulumi.CustomResource):
|
|
|
3509
3543
|
whitelist_network_type: Optional[pulumi.Input[str]] = None,
|
|
3510
3544
|
zone_id: Optional[pulumi.Input[str]] = None,
|
|
3511
3545
|
zone_id_slave_a: Optional[pulumi.Input[str]] = None,
|
|
3546
|
+
zone_id_slave_b: Optional[pulumi.Input[str]] = None,
|
|
3512
3547
|
__props__=None):
|
|
3513
3548
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
3514
3549
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -3600,6 +3635,7 @@ class Instance(pulumi.CustomResource):
|
|
|
3600
3635
|
__props__.__dict__["whitelist_network_type"] = whitelist_network_type
|
|
3601
3636
|
__props__.__dict__["zone_id"] = zone_id
|
|
3602
3637
|
__props__.__dict__["zone_id_slave_a"] = zone_id_slave_a
|
|
3638
|
+
__props__.__dict__["zone_id_slave_b"] = zone_id_slave_b
|
|
3603
3639
|
__props__.__dict__["connection_string"] = None
|
|
3604
3640
|
__props__.__dict__["create_time"] = None
|
|
3605
3641
|
__props__.__dict__["db_instance_type"] = None
|
|
@@ -3695,7 +3731,8 @@ class Instance(pulumi.CustomResource):
|
|
|
3695
3731
|
vswitch_id: Optional[pulumi.Input[str]] = None,
|
|
3696
3732
|
whitelist_network_type: Optional[pulumi.Input[str]] = None,
|
|
3697
3733
|
zone_id: Optional[pulumi.Input[str]] = None,
|
|
3698
|
-
zone_id_slave_a: Optional[pulumi.Input[str]] = None
|
|
3734
|
+
zone_id_slave_a: Optional[pulumi.Input[str]] = None,
|
|
3735
|
+
zone_id_slave_b: Optional[pulumi.Input[str]] = None) -> 'Instance':
|
|
3699
3736
|
"""
|
|
3700
3737
|
Get an existing Instance resource's state with the given name, id, and optional extra
|
|
3701
3738
|
properties used to qualify the lookup.
|
|
@@ -3931,6 +3968,7 @@ class Instance(pulumi.CustomResource):
|
|
|
3931
3968
|
If it is a multi-zone and `vswitch_id` is specified, the vswitch must in the one of them.
|
|
3932
3969
|
The multiple zone ID can be retrieved by setting `multi` to "true" in the data source `get_zones`.
|
|
3933
3970
|
:param pulumi.Input[str] zone_id_slave_a: The region ID of the secondary instance if you create a secondary instance. If you set this parameter to the same value as the ZoneId parameter, the instance is deployed in a single zone. Otherwise, the instance is deployed in multiple zones.
|
|
3971
|
+
:param pulumi.Input[str] zone_id_slave_b: RDS MySQL Cluster series instances support creating 1 to 2 secondary nodes at the same time when establishing a new instance. If you have this requirement, you can use this parameter to specify the availability zone for the second secondary node.
|
|
3934
3972
|
"""
|
|
3935
3973
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
3936
3974
|
|
|
@@ -4015,6 +4053,7 @@ class Instance(pulumi.CustomResource):
|
|
|
4015
4053
|
__props__.__dict__["whitelist_network_type"] = whitelist_network_type
|
|
4016
4054
|
__props__.__dict__["zone_id"] = zone_id
|
|
4017
4055
|
__props__.__dict__["zone_id_slave_a"] = zone_id_slave_a
|
|
4056
|
+
__props__.__dict__["zone_id_slave_b"] = zone_id_slave_b
|
|
4018
4057
|
return Instance(resource_name, opts=opts, __props__=__props__)
|
|
4019
4058
|
|
|
4020
4059
|
@property
|
|
@@ -4800,3 +4839,11 @@ class Instance(pulumi.CustomResource):
|
|
|
4800
4839
|
"""
|
|
4801
4840
|
return pulumi.get(self, "zone_id_slave_a")
|
|
4802
4841
|
|
|
4842
|
+
@property
|
|
4843
|
+
@pulumi.getter(name="zoneIdSlaveB")
|
|
4844
|
+
def zone_id_slave_b(self) -> pulumi.Output[str]:
|
|
4845
|
+
"""
|
|
4846
|
+
RDS MySQL Cluster series instances support creating 1 to 2 secondary nodes at the same time when establishing a new instance. If you have this requirement, you can use this parameter to specify the availability zone for the second secondary node.
|
|
4847
|
+
"""
|
|
4848
|
+
return pulumi.get(self, "zone_id_slave_b")
|
|
4849
|
+
|
|
@@ -65,7 +65,7 @@ class GetFoldersResult:
|
|
|
65
65
|
@pulumi.getter
|
|
66
66
|
def folders(self) -> Sequence['outputs.GetFoldersFolderResult']:
|
|
67
67
|
"""
|
|
68
|
-
A list of
|
|
68
|
+
A list of Folder. Each element contains the following attributes:
|
|
69
69
|
"""
|
|
70
70
|
return pulumi.get(self, "folders")
|
|
71
71
|
|
|
@@ -80,9 +80,6 @@ class GetFoldersResult:
|
|
|
80
80
|
@property
|
|
81
81
|
@pulumi.getter
|
|
82
82
|
def ids(self) -> Sequence[str]:
|
|
83
|
-
"""
|
|
84
|
-
A list of folder IDs.
|
|
85
|
-
"""
|
|
86
83
|
return pulumi.get(self, "ids")
|
|
87
84
|
|
|
88
85
|
@property
|
|
@@ -94,7 +91,7 @@ class GetFoldersResult:
|
|
|
94
91
|
@pulumi.getter
|
|
95
92
|
def names(self) -> Sequence[str]:
|
|
96
93
|
"""
|
|
97
|
-
A list of
|
|
94
|
+
A list of Folder names.
|
|
98
95
|
"""
|
|
99
96
|
return pulumi.get(self, "names")
|
|
100
97
|
|
|
@@ -107,7 +104,7 @@ class GetFoldersResult:
|
|
|
107
104
|
@pulumi.getter(name="parentFolderId")
|
|
108
105
|
def parent_folder_id(self) -> Optional[str]:
|
|
109
106
|
"""
|
|
110
|
-
(Available
|
|
107
|
+
(Available since v1.114.0) The ID of the parent folder. **Note:** `parent_folder_id` takes effect only if `enable_details` is set to `true`.
|
|
111
108
|
"""
|
|
112
109
|
return pulumi.get(self, "parent_folder_id")
|
|
113
110
|
|
|
@@ -142,29 +139,34 @@ def get_folders(enable_details: Optional[bool] = None,
|
|
|
142
139
|
query_keyword: Optional[str] = None,
|
|
143
140
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetFoldersResult:
|
|
144
141
|
"""
|
|
145
|
-
This data source provides the
|
|
146
|
-
|
|
147
|
-
> **NOTE:** Available in 1.84.0+.
|
|
142
|
+
This data source provides the Resource Manager Folders of the current Alibaba Cloud user.
|
|
148
143
|
|
|
149
|
-
> **NOTE:**
|
|
144
|
+
> **NOTE:** Available since v1.84.0.
|
|
150
145
|
|
|
151
146
|
## Example Usage
|
|
152
147
|
|
|
148
|
+
Basic Usage
|
|
149
|
+
|
|
153
150
|
```python
|
|
154
151
|
import pulumi
|
|
155
152
|
import pulumi_alicloud as alicloud
|
|
156
153
|
|
|
157
|
-
|
|
158
|
-
|
|
154
|
+
config = pulumi.Config()
|
|
155
|
+
name = config.get("name")
|
|
156
|
+
if name is None:
|
|
157
|
+
name = "terraform-example"
|
|
158
|
+
default = alicloud.resourcemanager.Folder("default", folder_name=name)
|
|
159
|
+
ids = alicloud.resourcemanager.get_folders_output(ids=[default.id])
|
|
160
|
+
pulumi.export("resourceManagerFolderId0", ids.folders[0].id)
|
|
159
161
|
```
|
|
160
162
|
|
|
161
163
|
|
|
162
|
-
:param bool enable_details:
|
|
163
|
-
:param Sequence[str] ids: A list of
|
|
164
|
-
:param str name_regex: A regex string to filter results by
|
|
164
|
+
:param bool enable_details: Whether to query the detailed list of resource attributes. Default value: `false`.
|
|
165
|
+
:param Sequence[str] ids: A list of Folders IDs.
|
|
166
|
+
:param str name_regex: A regex string to filter results by Folder name.
|
|
165
167
|
:param str output_file: File name where to save data source results (after running `pulumi preview`).
|
|
166
|
-
:param str parent_folder_id: The ID of the parent folder.
|
|
167
|
-
:param str query_keyword: The query
|
|
168
|
+
:param str parent_folder_id: The ID of the parent folder. **NOTE:** If `parent_folder_id` is not set, the information of the first-level subfolders of the Root folder is queried.
|
|
169
|
+
:param str query_keyword: The keyword used for the query, such as a folder name. Fuzzy match is supported.
|
|
168
170
|
"""
|
|
169
171
|
__args__ = dict()
|
|
170
172
|
__args__['enableDetails'] = enable_details
|
|
@@ -194,29 +196,34 @@ def get_folders_output(enable_details: Optional[pulumi.Input[Optional[bool]]] =
|
|
|
194
196
|
query_keyword: Optional[pulumi.Input[Optional[str]]] = None,
|
|
195
197
|
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetFoldersResult]:
|
|
196
198
|
"""
|
|
197
|
-
This data source provides the
|
|
198
|
-
|
|
199
|
-
> **NOTE:** Available in 1.84.0+.
|
|
199
|
+
This data source provides the Resource Manager Folders of the current Alibaba Cloud user.
|
|
200
200
|
|
|
201
|
-
> **NOTE:**
|
|
201
|
+
> **NOTE:** Available since v1.84.0.
|
|
202
202
|
|
|
203
203
|
## Example Usage
|
|
204
204
|
|
|
205
|
+
Basic Usage
|
|
206
|
+
|
|
205
207
|
```python
|
|
206
208
|
import pulumi
|
|
207
209
|
import pulumi_alicloud as alicloud
|
|
208
210
|
|
|
209
|
-
|
|
210
|
-
|
|
211
|
+
config = pulumi.Config()
|
|
212
|
+
name = config.get("name")
|
|
213
|
+
if name is None:
|
|
214
|
+
name = "terraform-example"
|
|
215
|
+
default = alicloud.resourcemanager.Folder("default", folder_name=name)
|
|
216
|
+
ids = alicloud.resourcemanager.get_folders_output(ids=[default.id])
|
|
217
|
+
pulumi.export("resourceManagerFolderId0", ids.folders[0].id)
|
|
211
218
|
```
|
|
212
219
|
|
|
213
220
|
|
|
214
|
-
:param bool enable_details:
|
|
215
|
-
:param Sequence[str] ids: A list of
|
|
216
|
-
:param str name_regex: A regex string to filter results by
|
|
221
|
+
:param bool enable_details: Whether to query the detailed list of resource attributes. Default value: `false`.
|
|
222
|
+
:param Sequence[str] ids: A list of Folders IDs.
|
|
223
|
+
:param str name_regex: A regex string to filter results by Folder name.
|
|
217
224
|
:param str output_file: File name where to save data source results (after running `pulumi preview`).
|
|
218
|
-
:param str parent_folder_id: The ID of the parent folder.
|
|
219
|
-
:param str query_keyword: The query
|
|
225
|
+
:param str parent_folder_id: The ID of the parent folder. **NOTE:** If `parent_folder_id` is not set, the information of the first-level subfolders of the Root folder is queried.
|
|
226
|
+
:param str query_keyword: The keyword used for the query, such as a folder name. Fuzzy match is supported.
|
|
220
227
|
"""
|
|
221
228
|
__args__ = dict()
|
|
222
229
|
__args__['enableDetails'] = enable_details
|