pulumi-alicloud 3.64.0a1729894283__py3-none-any.whl → 3.65.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 +35 -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/cen/transit_router_route_table_association.py +72 -68
- pulumi_alicloud/cloudfirewall/control_policy.py +524 -23
- pulumi_alicloud/cloudfirewall/instance.py +64 -36
- pulumi_alicloud/cloudstoragegateway/gateway.py +134 -58
- 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 +377 -1
- pulumi_alicloud/ess/scaling_group.py +54 -7
- pulumi_alicloud/fc/_inputs.py +3 -3
- pulumi_alicloud/fc/outputs.py +2 -2
- pulumi_alicloud/ga/_inputs.py +57 -22
- pulumi_alicloud/ga/outputs.py +39 -15
- pulumi_alicloud/governance/baseline.py +18 -18
- pulumi_alicloud/governance/get_baselines.py +18 -18
- pulumi_alicloud/gpdb/__init__.py +1 -0
- pulumi_alicloud/gpdb/database.py +545 -0
- pulumi_alicloud/gpdb/instance.py +1 -1
- pulumi_alicloud/kms/get_secrets.py +5 -5
- pulumi_alicloud/kms/outputs.py +18 -18
- pulumi_alicloud/kvstore/instance.py +24 -5
- pulumi_alicloud/log/alert.py +14 -14
- pulumi_alicloud/mse/__init__.py +2 -0
- 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/get_nacos_configs.py +394 -0
- pulumi_alicloud/mse/nacos_config.py +762 -0
- pulumi_alicloud/mse/outputs.py +165 -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/ocean/base_instance.py +2 -2
- pulumi_alicloud/pai/__init__.py +8 -0
- pulumi_alicloud/pai/workspace_workspace.py +447 -0
- pulumi_alicloud/polardb/cluster.py +176 -14
- 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/vpc/subnet.py +59 -27
- pulumi_alicloud/vpc/switch.py +104 -87
- {pulumi_alicloud-3.64.0a1729894283.dist-info → pulumi_alicloud-3.65.0.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.64.0a1729894283.dist-info → pulumi_alicloud-3.65.0.dist-info}/RECORD +94 -88
- {pulumi_alicloud-3.64.0a1729894283.dist-info → pulumi_alicloud-3.65.0.dist-info}/WHEEL +1 -1
- {pulumi_alicloud-3.64.0a1729894283.dist-info → pulumi_alicloud-3.65.0.dist-info}/top_level.txt +0 -0
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
|
|
@@ -531,10 +531,10 @@ class GetFoldersFolderResult(dict):
|
|
|
531
531
|
id: str,
|
|
532
532
|
parent_folder_id: str):
|
|
533
533
|
"""
|
|
534
|
-
:param str folder_id: The ID of the
|
|
535
|
-
:param str folder_name: The
|
|
536
|
-
:param str id: The ID of the
|
|
537
|
-
:param str parent_folder_id: The ID of the parent folder.
|
|
534
|
+
:param str folder_id: The ID of the Folder.
|
|
535
|
+
:param str folder_name: The Name of the Folder.
|
|
536
|
+
:param str id: The ID of the Resource Manager Folder.
|
|
537
|
+
: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.
|
|
538
538
|
"""
|
|
539
539
|
pulumi.set(__self__, "folder_id", folder_id)
|
|
540
540
|
pulumi.set(__self__, "folder_name", folder_name)
|
|
@@ -545,7 +545,7 @@ class GetFoldersFolderResult(dict):
|
|
|
545
545
|
@pulumi.getter(name="folderId")
|
|
546
546
|
def folder_id(self) -> str:
|
|
547
547
|
"""
|
|
548
|
-
The ID of the
|
|
548
|
+
The ID of the Folder.
|
|
549
549
|
"""
|
|
550
550
|
return pulumi.get(self, "folder_id")
|
|
551
551
|
|
|
@@ -553,7 +553,7 @@ class GetFoldersFolderResult(dict):
|
|
|
553
553
|
@pulumi.getter(name="folderName")
|
|
554
554
|
def folder_name(self) -> str:
|
|
555
555
|
"""
|
|
556
|
-
The
|
|
556
|
+
The Name of the Folder.
|
|
557
557
|
"""
|
|
558
558
|
return pulumi.get(self, "folder_name")
|
|
559
559
|
|
|
@@ -561,7 +561,7 @@ class GetFoldersFolderResult(dict):
|
|
|
561
561
|
@pulumi.getter
|
|
562
562
|
def id(self) -> str:
|
|
563
563
|
"""
|
|
564
|
-
The ID of the
|
|
564
|
+
The ID of the Resource Manager Folder.
|
|
565
565
|
"""
|
|
566
566
|
return pulumi.get(self, "id")
|
|
567
567
|
|
|
@@ -569,7 +569,7 @@ class GetFoldersFolderResult(dict):
|
|
|
569
569
|
@pulumi.getter(name="parentFolderId")
|
|
570
570
|
def parent_folder_id(self) -> str:
|
|
571
571
|
"""
|
|
572
|
-
The ID of the parent folder.
|
|
572
|
+
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.
|
|
573
573
|
"""
|
|
574
574
|
return pulumi.get(self, "parent_folder_id")
|
|
575
575
|
|