pulumi-alicloud 3.83.0a1752816281__py3-none-any.whl → 3.83.0a1753070854__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 +8 -0
- pulumi_alicloud/cen/transit_router.py +34 -26
- pulumi_alicloud/cloudsso/access_management.py +72 -44
- pulumi_alicloud/cloudsso/user_attachment.py +21 -21
- pulumi_alicloud/ecs/_inputs.py +59 -0
- pulumi_alicloud/ecs/ecs_launch_template.py +47 -0
- pulumi_alicloud/ecs/get_ecs_snapshots.py +156 -8
- pulumi_alicloud/ecs/instance.py +14 -28
- pulumi_alicloud/ecs/launch_template.py +34 -0
- pulumi_alicloud/ecs/outputs.py +120 -36
- pulumi_alicloud/ga/acl_entry_attachment.py +47 -39
- pulumi_alicloud/nas/_inputs.py +3 -3
- pulumi_alicloud/nas/access_point.py +78 -56
- pulumi_alicloud/nas/outputs.py +2 -2
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/rds/__init__.py +1 -0
- pulumi_alicloud/rds/instance.py +136 -0
- pulumi_alicloud/rds/whitelist_template.py +261 -0
- pulumi_alicloud/wafv3/instance.py +2 -2
- {pulumi_alicloud-3.83.0a1752816281.dist-info → pulumi_alicloud-3.83.0a1753070854.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.83.0a1752816281.dist-info → pulumi_alicloud-3.83.0a1753070854.dist-info}/RECORD +23 -22
- {pulumi_alicloud-3.83.0a1752816281.dist-info → pulumi_alicloud-3.83.0a1753070854.dist-info}/WHEEL +0 -0
- {pulumi_alicloud-3.83.0a1752816281.dist-info → pulumi_alicloud-3.83.0a1753070854.dist-info}/top_level.txt +0 -0
pulumi_alicloud/__init__.py
CHANGED
|
@@ -7153,6 +7153,14 @@ _utilities.register(
|
|
|
7153
7153
|
"alicloud:rds/readWriteSplittingConnection:ReadWriteSplittingConnection": "ReadWriteSplittingConnection"
|
|
7154
7154
|
}
|
|
7155
7155
|
},
|
|
7156
|
+
{
|
|
7157
|
+
"pkg": "alicloud",
|
|
7158
|
+
"mod": "rds/whitelistTemplate",
|
|
7159
|
+
"fqn": "pulumi_alicloud.rds",
|
|
7160
|
+
"classes": {
|
|
7161
|
+
"alicloud:rds/whitelistTemplate:WhitelistTemplate": "WhitelistTemplate"
|
|
7162
|
+
}
|
|
7163
|
+
},
|
|
7156
7164
|
{
|
|
7157
7165
|
"pkg": "alicloud",
|
|
7158
7166
|
"mod": "realtimecompute/vvpInstance",
|
|
@@ -141,10 +141,10 @@ class _TransitRouterState:
|
|
|
141
141
|
"""
|
|
142
142
|
Input properties used for looking up and filtering TransitRouter resources.
|
|
143
143
|
:param pulumi.Input[builtins.str] cen_id: The ID of the Cloud Enterprise Network (CEN) instance.
|
|
144
|
-
:param pulumi.Input[builtins.str] create_time: The
|
|
144
|
+
:param pulumi.Input[builtins.str] create_time: (Available since v1.247.0) The time when the transit router was created.
|
|
145
145
|
:param pulumi.Input[builtins.bool] dry_run: The dry run.
|
|
146
|
-
:param pulumi.Input[builtins.str] region_id: The ID of the region where the
|
|
147
|
-
:param pulumi.Input[builtins.str] status:
|
|
146
|
+
:param pulumi.Input[builtins.str] region_id: (Available since v1.247.0) The ID of the region where the transit router is deployed.
|
|
147
|
+
:param pulumi.Input[builtins.str] status: The status of the transit router.
|
|
148
148
|
:param pulumi.Input[builtins.bool] support_multicast: Specifies whether to enable the multicast feature for the Enterprise Edition transit router. Valid values:
|
|
149
149
|
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] tags: The tag of the resource
|
|
150
150
|
:param pulumi.Input[builtins.str] transit_router_description: The description of the Enterprise Edition transit router instance.
|
|
@@ -152,7 +152,7 @@ class _TransitRouterState:
|
|
|
152
152
|
:param pulumi.Input[builtins.str] transit_router_id: The ID of the transit router.
|
|
153
153
|
:param pulumi.Input[builtins.str] transit_router_name: The name of the Enterprise Edition transit router.
|
|
154
154
|
The name must be 1 to 128 characters in length, and cannot start with http:// or https://. You can also leave this parameter empty.
|
|
155
|
-
:param pulumi.Input[builtins.str] type:
|
|
155
|
+
:param pulumi.Input[builtins.str] type: The edition of the transit router.
|
|
156
156
|
"""
|
|
157
157
|
if cen_id is not None:
|
|
158
158
|
pulumi.set(__self__, "cen_id", cen_id)
|
|
@@ -193,7 +193,7 @@ class _TransitRouterState:
|
|
|
193
193
|
@pulumi.getter(name="createTime")
|
|
194
194
|
def create_time(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
195
195
|
"""
|
|
196
|
-
The
|
|
196
|
+
(Available since v1.247.0) The time when the transit router was created.
|
|
197
197
|
"""
|
|
198
198
|
return pulumi.get(self, "create_time")
|
|
199
199
|
|
|
@@ -217,7 +217,7 @@ class _TransitRouterState:
|
|
|
217
217
|
@pulumi.getter(name="regionId")
|
|
218
218
|
def region_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
219
219
|
"""
|
|
220
|
-
The ID of the region where the
|
|
220
|
+
(Available since v1.247.0) The ID of the region where the transit router is deployed.
|
|
221
221
|
"""
|
|
222
222
|
return pulumi.get(self, "region_id")
|
|
223
223
|
|
|
@@ -229,7 +229,7 @@ class _TransitRouterState:
|
|
|
229
229
|
@pulumi.getter
|
|
230
230
|
def status(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
231
231
|
"""
|
|
232
|
-
|
|
232
|
+
The status of the transit router.
|
|
233
233
|
"""
|
|
234
234
|
return pulumi.get(self, "status")
|
|
235
235
|
|
|
@@ -303,7 +303,7 @@ class _TransitRouterState:
|
|
|
303
303
|
@pulumi.getter
|
|
304
304
|
def type(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
305
305
|
"""
|
|
306
|
-
|
|
306
|
+
The edition of the transit router.
|
|
307
307
|
"""
|
|
308
308
|
return pulumi.get(self, "type")
|
|
309
309
|
|
|
@@ -340,12 +340,16 @@ class TransitRouter(pulumi.CustomResource):
|
|
|
340
340
|
import pulumi
|
|
341
341
|
import pulumi_alicloud as alicloud
|
|
342
342
|
|
|
343
|
+
config = pulumi.Config()
|
|
344
|
+
name = config.get("name")
|
|
345
|
+
if name is None:
|
|
346
|
+
name = "terraform-example"
|
|
343
347
|
example = alicloud.cen.Instance("example",
|
|
344
|
-
cen_instance_name=
|
|
345
|
-
description=
|
|
348
|
+
cen_instance_name=name,
|
|
349
|
+
description=name)
|
|
346
350
|
example_transit_router = alicloud.cen.TransitRouter("example",
|
|
347
|
-
|
|
348
|
-
|
|
351
|
+
cen_id=example.id,
|
|
352
|
+
transit_router_name=name)
|
|
349
353
|
```
|
|
350
354
|
|
|
351
355
|
## Import
|
|
@@ -353,7 +357,7 @@ class TransitRouter(pulumi.CustomResource):
|
|
|
353
357
|
Cloud Enterprise Network (CEN) Transit Router can be imported using the id, e.g.
|
|
354
358
|
|
|
355
359
|
```sh
|
|
356
|
-
$ pulumi import alicloud:cen/transitRouter:TransitRouter example <
|
|
360
|
+
$ pulumi import alicloud:cen/transitRouter:TransitRouter example <cen_id>:<transit_router_id>
|
|
357
361
|
```
|
|
358
362
|
|
|
359
363
|
:param str resource_name: The name of the resource.
|
|
@@ -388,12 +392,16 @@ class TransitRouter(pulumi.CustomResource):
|
|
|
388
392
|
import pulumi
|
|
389
393
|
import pulumi_alicloud as alicloud
|
|
390
394
|
|
|
395
|
+
config = pulumi.Config()
|
|
396
|
+
name = config.get("name")
|
|
397
|
+
if name is None:
|
|
398
|
+
name = "terraform-example"
|
|
391
399
|
example = alicloud.cen.Instance("example",
|
|
392
|
-
cen_instance_name=
|
|
393
|
-
description=
|
|
400
|
+
cen_instance_name=name,
|
|
401
|
+
description=name)
|
|
394
402
|
example_transit_router = alicloud.cen.TransitRouter("example",
|
|
395
|
-
|
|
396
|
-
|
|
403
|
+
cen_id=example.id,
|
|
404
|
+
transit_router_name=name)
|
|
397
405
|
```
|
|
398
406
|
|
|
399
407
|
## Import
|
|
@@ -401,7 +409,7 @@ class TransitRouter(pulumi.CustomResource):
|
|
|
401
409
|
Cloud Enterprise Network (CEN) Transit Router can be imported using the id, e.g.
|
|
402
410
|
|
|
403
411
|
```sh
|
|
404
|
-
$ pulumi import alicloud:cen/transitRouter:TransitRouter example <
|
|
412
|
+
$ pulumi import alicloud:cen/transitRouter:TransitRouter example <cen_id>:<transit_router_id>
|
|
405
413
|
```
|
|
406
414
|
|
|
407
415
|
:param str resource_name: The name of the resource.
|
|
@@ -476,10 +484,10 @@ class TransitRouter(pulumi.CustomResource):
|
|
|
476
484
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
477
485
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
478
486
|
:param pulumi.Input[builtins.str] cen_id: The ID of the Cloud Enterprise Network (CEN) instance.
|
|
479
|
-
:param pulumi.Input[builtins.str] create_time: The
|
|
487
|
+
:param pulumi.Input[builtins.str] create_time: (Available since v1.247.0) The time when the transit router was created.
|
|
480
488
|
:param pulumi.Input[builtins.bool] dry_run: The dry run.
|
|
481
|
-
:param pulumi.Input[builtins.str] region_id: The ID of the region where the
|
|
482
|
-
:param pulumi.Input[builtins.str] status:
|
|
489
|
+
:param pulumi.Input[builtins.str] region_id: (Available since v1.247.0) The ID of the region where the transit router is deployed.
|
|
490
|
+
:param pulumi.Input[builtins.str] status: The status of the transit router.
|
|
483
491
|
:param pulumi.Input[builtins.bool] support_multicast: Specifies whether to enable the multicast feature for the Enterprise Edition transit router. Valid values:
|
|
484
492
|
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] tags: The tag of the resource
|
|
485
493
|
:param pulumi.Input[builtins.str] transit_router_description: The description of the Enterprise Edition transit router instance.
|
|
@@ -487,7 +495,7 @@ class TransitRouter(pulumi.CustomResource):
|
|
|
487
495
|
:param pulumi.Input[builtins.str] transit_router_id: The ID of the transit router.
|
|
488
496
|
:param pulumi.Input[builtins.str] transit_router_name: The name of the Enterprise Edition transit router.
|
|
489
497
|
The name must be 1 to 128 characters in length, and cannot start with http:// or https://. You can also leave this parameter empty.
|
|
490
|
-
:param pulumi.Input[builtins.str] type:
|
|
498
|
+
:param pulumi.Input[builtins.str] type: The edition of the transit router.
|
|
491
499
|
"""
|
|
492
500
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
493
501
|
|
|
@@ -518,7 +526,7 @@ class TransitRouter(pulumi.CustomResource):
|
|
|
518
526
|
@pulumi.getter(name="createTime")
|
|
519
527
|
def create_time(self) -> pulumi.Output[builtins.str]:
|
|
520
528
|
"""
|
|
521
|
-
The
|
|
529
|
+
(Available since v1.247.0) The time when the transit router was created.
|
|
522
530
|
"""
|
|
523
531
|
return pulumi.get(self, "create_time")
|
|
524
532
|
|
|
@@ -534,7 +542,7 @@ class TransitRouter(pulumi.CustomResource):
|
|
|
534
542
|
@pulumi.getter(name="regionId")
|
|
535
543
|
def region_id(self) -> pulumi.Output[builtins.str]:
|
|
536
544
|
"""
|
|
537
|
-
The ID of the region where the
|
|
545
|
+
(Available since v1.247.0) The ID of the region where the transit router is deployed.
|
|
538
546
|
"""
|
|
539
547
|
return pulumi.get(self, "region_id")
|
|
540
548
|
|
|
@@ -542,7 +550,7 @@ class TransitRouter(pulumi.CustomResource):
|
|
|
542
550
|
@pulumi.getter
|
|
543
551
|
def status(self) -> pulumi.Output[builtins.str]:
|
|
544
552
|
"""
|
|
545
|
-
|
|
553
|
+
The status of the transit router.
|
|
546
554
|
"""
|
|
547
555
|
return pulumi.get(self, "status")
|
|
548
556
|
|
|
@@ -592,7 +600,7 @@ class TransitRouter(pulumi.CustomResource):
|
|
|
592
600
|
@pulumi.getter
|
|
593
601
|
def type(self) -> pulumi.Output[builtins.str]:
|
|
594
602
|
"""
|
|
595
|
-
|
|
603
|
+
The edition of the transit router.
|
|
596
604
|
"""
|
|
597
605
|
return pulumi.get(self, "type")
|
|
598
606
|
|
|
@@ -29,13 +29,13 @@ class AccessManagementArgs:
|
|
|
29
29
|
deprovision_strategy: Optional[pulumi.Input[builtins.str]] = None):
|
|
30
30
|
"""
|
|
31
31
|
The set of arguments for constructing a AccessManagement resource.
|
|
32
|
-
:param pulumi.Input[builtins.str] access_configuration_id: The
|
|
32
|
+
:param pulumi.Input[builtins.str] access_configuration_id: The ID of the access configuration.
|
|
33
33
|
:param pulumi.Input[builtins.str] directory_id: The ID of the Directory.
|
|
34
|
-
:param pulumi.Input[builtins.str] principal_id: The ID of the
|
|
35
|
-
:param pulumi.Input[builtins.str] principal_type: The
|
|
36
|
-
:param pulumi.Input[builtins.str] target_id: The ID of the
|
|
37
|
-
:param pulumi.Input[builtins.str] target_type: The type of the
|
|
38
|
-
:param pulumi.Input[builtins.str] deprovision_strategy:
|
|
34
|
+
:param pulumi.Input[builtins.str] principal_id: The ID of the CloudSSO identity.
|
|
35
|
+
:param pulumi.Input[builtins.str] principal_type: The type of the CloudSSO identity. Valid values: `User`, `Group`.
|
|
36
|
+
:param pulumi.Input[builtins.str] target_id: The ID of the task object.
|
|
37
|
+
:param pulumi.Input[builtins.str] target_type: The type of the task object. Valid values: `RD-Account`.
|
|
38
|
+
:param pulumi.Input[builtins.str] deprovision_strategy: Specifies whether to de-provision the access configuration when you remove the access permissions from the CloudSSO identity. Valid values: `DeprovisionForLastAccessAssignmentOnAccount` and `None`. Default Value: `DeprovisionForLastAccessAssignmentOnAccount`. **NOTE:** When `deprovision_strategy` is `DeprovisionForLastAccessAssignmentOnAccount`, and the access assignment to be deleted is the last access assignment for the same account and the same AC, this option is used for the undeployment operation.
|
|
39
39
|
"""
|
|
40
40
|
pulumi.set(__self__, "access_configuration_id", access_configuration_id)
|
|
41
41
|
pulumi.set(__self__, "directory_id", directory_id)
|
|
@@ -50,7 +50,7 @@ class AccessManagementArgs:
|
|
|
50
50
|
@pulumi.getter(name="accessConfigurationId")
|
|
51
51
|
def access_configuration_id(self) -> pulumi.Input[builtins.str]:
|
|
52
52
|
"""
|
|
53
|
-
The
|
|
53
|
+
The ID of the access configuration.
|
|
54
54
|
"""
|
|
55
55
|
return pulumi.get(self, "access_configuration_id")
|
|
56
56
|
|
|
@@ -74,7 +74,7 @@ class AccessManagementArgs:
|
|
|
74
74
|
@pulumi.getter(name="principalId")
|
|
75
75
|
def principal_id(self) -> pulumi.Input[builtins.str]:
|
|
76
76
|
"""
|
|
77
|
-
The ID of the
|
|
77
|
+
The ID of the CloudSSO identity.
|
|
78
78
|
"""
|
|
79
79
|
return pulumi.get(self, "principal_id")
|
|
80
80
|
|
|
@@ -86,7 +86,7 @@ class AccessManagementArgs:
|
|
|
86
86
|
@pulumi.getter(name="principalType")
|
|
87
87
|
def principal_type(self) -> pulumi.Input[builtins.str]:
|
|
88
88
|
"""
|
|
89
|
-
The
|
|
89
|
+
The type of the CloudSSO identity. Valid values: `User`, `Group`.
|
|
90
90
|
"""
|
|
91
91
|
return pulumi.get(self, "principal_type")
|
|
92
92
|
|
|
@@ -98,7 +98,7 @@ class AccessManagementArgs:
|
|
|
98
98
|
@pulumi.getter(name="targetId")
|
|
99
99
|
def target_id(self) -> pulumi.Input[builtins.str]:
|
|
100
100
|
"""
|
|
101
|
-
The ID of the
|
|
101
|
+
The ID of the task object.
|
|
102
102
|
"""
|
|
103
103
|
return pulumi.get(self, "target_id")
|
|
104
104
|
|
|
@@ -110,7 +110,7 @@ class AccessManagementArgs:
|
|
|
110
110
|
@pulumi.getter(name="targetType")
|
|
111
111
|
def target_type(self) -> pulumi.Input[builtins.str]:
|
|
112
112
|
"""
|
|
113
|
-
The type of the
|
|
113
|
+
The type of the task object. Valid values: `RD-Account`.
|
|
114
114
|
"""
|
|
115
115
|
return pulumi.get(self, "target_type")
|
|
116
116
|
|
|
@@ -122,7 +122,7 @@ class AccessManagementArgs:
|
|
|
122
122
|
@pulumi.getter(name="deprovisionStrategy")
|
|
123
123
|
def deprovision_strategy(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
124
124
|
"""
|
|
125
|
-
|
|
125
|
+
Specifies whether to de-provision the access configuration when you remove the access permissions from the CloudSSO identity. Valid values: `DeprovisionForLastAccessAssignmentOnAccount` and `None`. Default Value: `DeprovisionForLastAccessAssignmentOnAccount`. **NOTE:** When `deprovision_strategy` is `DeprovisionForLastAccessAssignmentOnAccount`, and the access assignment to be deleted is the last access assignment for the same account and the same AC, this option is used for the undeployment operation.
|
|
126
126
|
"""
|
|
127
127
|
return pulumi.get(self, "deprovision_strategy")
|
|
128
128
|
|
|
@@ -135,6 +135,7 @@ class AccessManagementArgs:
|
|
|
135
135
|
class _AccessManagementState:
|
|
136
136
|
def __init__(__self__, *,
|
|
137
137
|
access_configuration_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
138
|
+
create_time: Optional[pulumi.Input[builtins.str]] = None,
|
|
138
139
|
deprovision_strategy: Optional[pulumi.Input[builtins.str]] = None,
|
|
139
140
|
directory_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
140
141
|
principal_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
@@ -143,16 +144,19 @@ class _AccessManagementState:
|
|
|
143
144
|
target_type: Optional[pulumi.Input[builtins.str]] = None):
|
|
144
145
|
"""
|
|
145
146
|
Input properties used for looking up and filtering AccessManagement resources.
|
|
146
|
-
:param pulumi.Input[builtins.str] access_configuration_id: The
|
|
147
|
-
:param pulumi.Input[builtins.str]
|
|
147
|
+
:param pulumi.Input[builtins.str] access_configuration_id: The ID of the access configuration.
|
|
148
|
+
:param pulumi.Input[builtins.str] create_time: (Available since v1.254.0) The time when the access permissions were assigned.
|
|
149
|
+
:param pulumi.Input[builtins.str] deprovision_strategy: Specifies whether to de-provision the access configuration when you remove the access permissions from the CloudSSO identity. Valid values: `DeprovisionForLastAccessAssignmentOnAccount` and `None`. Default Value: `DeprovisionForLastAccessAssignmentOnAccount`. **NOTE:** When `deprovision_strategy` is `DeprovisionForLastAccessAssignmentOnAccount`, and the access assignment to be deleted is the last access assignment for the same account and the same AC, this option is used for the undeployment operation.
|
|
148
150
|
:param pulumi.Input[builtins.str] directory_id: The ID of the Directory.
|
|
149
|
-
:param pulumi.Input[builtins.str] principal_id: The ID of the
|
|
150
|
-
:param pulumi.Input[builtins.str] principal_type: The
|
|
151
|
-
:param pulumi.Input[builtins.str] target_id: The ID of the
|
|
152
|
-
:param pulumi.Input[builtins.str] target_type: The type of the
|
|
151
|
+
:param pulumi.Input[builtins.str] principal_id: The ID of the CloudSSO identity.
|
|
152
|
+
:param pulumi.Input[builtins.str] principal_type: The type of the CloudSSO identity. Valid values: `User`, `Group`.
|
|
153
|
+
:param pulumi.Input[builtins.str] target_id: The ID of the task object.
|
|
154
|
+
:param pulumi.Input[builtins.str] target_type: The type of the task object. Valid values: `RD-Account`.
|
|
153
155
|
"""
|
|
154
156
|
if access_configuration_id is not None:
|
|
155
157
|
pulumi.set(__self__, "access_configuration_id", access_configuration_id)
|
|
158
|
+
if create_time is not None:
|
|
159
|
+
pulumi.set(__self__, "create_time", create_time)
|
|
156
160
|
if deprovision_strategy is not None:
|
|
157
161
|
pulumi.set(__self__, "deprovision_strategy", deprovision_strategy)
|
|
158
162
|
if directory_id is not None:
|
|
@@ -170,7 +174,7 @@ class _AccessManagementState:
|
|
|
170
174
|
@pulumi.getter(name="accessConfigurationId")
|
|
171
175
|
def access_configuration_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
172
176
|
"""
|
|
173
|
-
The
|
|
177
|
+
The ID of the access configuration.
|
|
174
178
|
"""
|
|
175
179
|
return pulumi.get(self, "access_configuration_id")
|
|
176
180
|
|
|
@@ -178,11 +182,23 @@ class _AccessManagementState:
|
|
|
178
182
|
def access_configuration_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
179
183
|
pulumi.set(self, "access_configuration_id", value)
|
|
180
184
|
|
|
185
|
+
@property
|
|
186
|
+
@pulumi.getter(name="createTime")
|
|
187
|
+
def create_time(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
188
|
+
"""
|
|
189
|
+
(Available since v1.254.0) The time when the access permissions were assigned.
|
|
190
|
+
"""
|
|
191
|
+
return pulumi.get(self, "create_time")
|
|
192
|
+
|
|
193
|
+
@create_time.setter
|
|
194
|
+
def create_time(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
195
|
+
pulumi.set(self, "create_time", value)
|
|
196
|
+
|
|
181
197
|
@property
|
|
182
198
|
@pulumi.getter(name="deprovisionStrategy")
|
|
183
199
|
def deprovision_strategy(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
184
200
|
"""
|
|
185
|
-
|
|
201
|
+
Specifies whether to de-provision the access configuration when you remove the access permissions from the CloudSSO identity. Valid values: `DeprovisionForLastAccessAssignmentOnAccount` and `None`. Default Value: `DeprovisionForLastAccessAssignmentOnAccount`. **NOTE:** When `deprovision_strategy` is `DeprovisionForLastAccessAssignmentOnAccount`, and the access assignment to be deleted is the last access assignment for the same account and the same AC, this option is used for the undeployment operation.
|
|
186
202
|
"""
|
|
187
203
|
return pulumi.get(self, "deprovision_strategy")
|
|
188
204
|
|
|
@@ -206,7 +222,7 @@ class _AccessManagementState:
|
|
|
206
222
|
@pulumi.getter(name="principalId")
|
|
207
223
|
def principal_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
208
224
|
"""
|
|
209
|
-
The ID of the
|
|
225
|
+
The ID of the CloudSSO identity.
|
|
210
226
|
"""
|
|
211
227
|
return pulumi.get(self, "principal_id")
|
|
212
228
|
|
|
@@ -218,7 +234,7 @@ class _AccessManagementState:
|
|
|
218
234
|
@pulumi.getter(name="principalType")
|
|
219
235
|
def principal_type(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
220
236
|
"""
|
|
221
|
-
The
|
|
237
|
+
The type of the CloudSSO identity. Valid values: `User`, `Group`.
|
|
222
238
|
"""
|
|
223
239
|
return pulumi.get(self, "principal_type")
|
|
224
240
|
|
|
@@ -230,7 +246,7 @@ class _AccessManagementState:
|
|
|
230
246
|
@pulumi.getter(name="targetId")
|
|
231
247
|
def target_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
232
248
|
"""
|
|
233
|
-
The ID of the
|
|
249
|
+
The ID of the task object.
|
|
234
250
|
"""
|
|
235
251
|
return pulumi.get(self, "target_id")
|
|
236
252
|
|
|
@@ -242,7 +258,7 @@ class _AccessManagementState:
|
|
|
242
258
|
@pulumi.getter(name="targetType")
|
|
243
259
|
def target_type(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
244
260
|
"""
|
|
245
|
-
The type of the
|
|
261
|
+
The type of the task object. Valid values: `RD-Account`.
|
|
246
262
|
"""
|
|
247
263
|
return pulumi.get(self, "target_type")
|
|
248
264
|
|
|
@@ -268,7 +284,7 @@ class AccessManagement(pulumi.CustomResource):
|
|
|
268
284
|
"""
|
|
269
285
|
Provides a Cloud SSO Access Assignment resource.
|
|
270
286
|
|
|
271
|
-
For information about Cloud SSO Access Assignment and how to use it, see [What is Access Assignment](https://www.alibabacloud.com/help/en/
|
|
287
|
+
For information about Cloud SSO Access Assignment and how to use it, see [What is Access Assignment](https://www.alibabacloud.com/help/en/cloudsso/developer-reference/api-cloudsso-2021-05-15-createaccessassignment).
|
|
272
288
|
|
|
273
289
|
> **NOTE:** When you configure access assignment for the first time, access configuration will be automatically deployed.
|
|
274
290
|
|
|
@@ -286,13 +302,13 @@ class AccessManagement(pulumi.CustomResource):
|
|
|
286
302
|
|
|
287
303
|
:param str resource_name: The name of the resource.
|
|
288
304
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
289
|
-
:param pulumi.Input[builtins.str] access_configuration_id: The
|
|
290
|
-
:param pulumi.Input[builtins.str] deprovision_strategy:
|
|
305
|
+
:param pulumi.Input[builtins.str] access_configuration_id: The ID of the access configuration.
|
|
306
|
+
:param pulumi.Input[builtins.str] deprovision_strategy: Specifies whether to de-provision the access configuration when you remove the access permissions from the CloudSSO identity. Valid values: `DeprovisionForLastAccessAssignmentOnAccount` and `None`. Default Value: `DeprovisionForLastAccessAssignmentOnAccount`. **NOTE:** When `deprovision_strategy` is `DeprovisionForLastAccessAssignmentOnAccount`, and the access assignment to be deleted is the last access assignment for the same account and the same AC, this option is used for the undeployment operation.
|
|
291
307
|
:param pulumi.Input[builtins.str] directory_id: The ID of the Directory.
|
|
292
|
-
:param pulumi.Input[builtins.str] principal_id: The ID of the
|
|
293
|
-
:param pulumi.Input[builtins.str] principal_type: The
|
|
294
|
-
:param pulumi.Input[builtins.str] target_id: The ID of the
|
|
295
|
-
:param pulumi.Input[builtins.str] target_type: The type of the
|
|
308
|
+
:param pulumi.Input[builtins.str] principal_id: The ID of the CloudSSO identity.
|
|
309
|
+
:param pulumi.Input[builtins.str] principal_type: The type of the CloudSSO identity. Valid values: `User`, `Group`.
|
|
310
|
+
:param pulumi.Input[builtins.str] target_id: The ID of the task object.
|
|
311
|
+
:param pulumi.Input[builtins.str] target_type: The type of the task object. Valid values: `RD-Account`.
|
|
296
312
|
"""
|
|
297
313
|
...
|
|
298
314
|
@overload
|
|
@@ -303,7 +319,7 @@ class AccessManagement(pulumi.CustomResource):
|
|
|
303
319
|
"""
|
|
304
320
|
Provides a Cloud SSO Access Assignment resource.
|
|
305
321
|
|
|
306
|
-
For information about Cloud SSO Access Assignment and how to use it, see [What is Access Assignment](https://www.alibabacloud.com/help/en/
|
|
322
|
+
For information about Cloud SSO Access Assignment and how to use it, see [What is Access Assignment](https://www.alibabacloud.com/help/en/cloudsso/developer-reference/api-cloudsso-2021-05-15-createaccessassignment).
|
|
307
323
|
|
|
308
324
|
> **NOTE:** When you configure access assignment for the first time, access configuration will be automatically deployed.
|
|
309
325
|
|
|
@@ -369,6 +385,7 @@ class AccessManagement(pulumi.CustomResource):
|
|
|
369
385
|
if target_type is None and not opts.urn:
|
|
370
386
|
raise TypeError("Missing required property 'target_type'")
|
|
371
387
|
__props__.__dict__["target_type"] = target_type
|
|
388
|
+
__props__.__dict__["create_time"] = None
|
|
372
389
|
super(AccessManagement, __self__).__init__(
|
|
373
390
|
'alicloud:cloudsso/accessManagement:AccessManagement',
|
|
374
391
|
resource_name,
|
|
@@ -380,6 +397,7 @@ class AccessManagement(pulumi.CustomResource):
|
|
|
380
397
|
id: pulumi.Input[str],
|
|
381
398
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
382
399
|
access_configuration_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
400
|
+
create_time: Optional[pulumi.Input[builtins.str]] = None,
|
|
383
401
|
deprovision_strategy: Optional[pulumi.Input[builtins.str]] = None,
|
|
384
402
|
directory_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
385
403
|
principal_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
@@ -393,19 +411,21 @@ class AccessManagement(pulumi.CustomResource):
|
|
|
393
411
|
:param str resource_name: The unique name of the resulting resource.
|
|
394
412
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
395
413
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
396
|
-
:param pulumi.Input[builtins.str] access_configuration_id: The
|
|
397
|
-
:param pulumi.Input[builtins.str]
|
|
414
|
+
:param pulumi.Input[builtins.str] access_configuration_id: The ID of the access configuration.
|
|
415
|
+
:param pulumi.Input[builtins.str] create_time: (Available since v1.254.0) The time when the access permissions were assigned.
|
|
416
|
+
:param pulumi.Input[builtins.str] deprovision_strategy: Specifies whether to de-provision the access configuration when you remove the access permissions from the CloudSSO identity. Valid values: `DeprovisionForLastAccessAssignmentOnAccount` and `None`. Default Value: `DeprovisionForLastAccessAssignmentOnAccount`. **NOTE:** When `deprovision_strategy` is `DeprovisionForLastAccessAssignmentOnAccount`, and the access assignment to be deleted is the last access assignment for the same account and the same AC, this option is used for the undeployment operation.
|
|
398
417
|
:param pulumi.Input[builtins.str] directory_id: The ID of the Directory.
|
|
399
|
-
:param pulumi.Input[builtins.str] principal_id: The ID of the
|
|
400
|
-
:param pulumi.Input[builtins.str] principal_type: The
|
|
401
|
-
:param pulumi.Input[builtins.str] target_id: The ID of the
|
|
402
|
-
:param pulumi.Input[builtins.str] target_type: The type of the
|
|
418
|
+
:param pulumi.Input[builtins.str] principal_id: The ID of the CloudSSO identity.
|
|
419
|
+
:param pulumi.Input[builtins.str] principal_type: The type of the CloudSSO identity. Valid values: `User`, `Group`.
|
|
420
|
+
:param pulumi.Input[builtins.str] target_id: The ID of the task object.
|
|
421
|
+
:param pulumi.Input[builtins.str] target_type: The type of the task object. Valid values: `RD-Account`.
|
|
403
422
|
"""
|
|
404
423
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
405
424
|
|
|
406
425
|
__props__ = _AccessManagementState.__new__(_AccessManagementState)
|
|
407
426
|
|
|
408
427
|
__props__.__dict__["access_configuration_id"] = access_configuration_id
|
|
428
|
+
__props__.__dict__["create_time"] = create_time
|
|
409
429
|
__props__.__dict__["deprovision_strategy"] = deprovision_strategy
|
|
410
430
|
__props__.__dict__["directory_id"] = directory_id
|
|
411
431
|
__props__.__dict__["principal_id"] = principal_id
|
|
@@ -418,15 +438,23 @@ class AccessManagement(pulumi.CustomResource):
|
|
|
418
438
|
@pulumi.getter(name="accessConfigurationId")
|
|
419
439
|
def access_configuration_id(self) -> pulumi.Output[builtins.str]:
|
|
420
440
|
"""
|
|
421
|
-
The
|
|
441
|
+
The ID of the access configuration.
|
|
422
442
|
"""
|
|
423
443
|
return pulumi.get(self, "access_configuration_id")
|
|
424
444
|
|
|
445
|
+
@property
|
|
446
|
+
@pulumi.getter(name="createTime")
|
|
447
|
+
def create_time(self) -> pulumi.Output[builtins.str]:
|
|
448
|
+
"""
|
|
449
|
+
(Available since v1.254.0) The time when the access permissions were assigned.
|
|
450
|
+
"""
|
|
451
|
+
return pulumi.get(self, "create_time")
|
|
452
|
+
|
|
425
453
|
@property
|
|
426
454
|
@pulumi.getter(name="deprovisionStrategy")
|
|
427
455
|
def deprovision_strategy(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
428
456
|
"""
|
|
429
|
-
|
|
457
|
+
Specifies whether to de-provision the access configuration when you remove the access permissions from the CloudSSO identity. Valid values: `DeprovisionForLastAccessAssignmentOnAccount` and `None`. Default Value: `DeprovisionForLastAccessAssignmentOnAccount`. **NOTE:** When `deprovision_strategy` is `DeprovisionForLastAccessAssignmentOnAccount`, and the access assignment to be deleted is the last access assignment for the same account and the same AC, this option is used for the undeployment operation.
|
|
430
458
|
"""
|
|
431
459
|
return pulumi.get(self, "deprovision_strategy")
|
|
432
460
|
|
|
@@ -442,7 +470,7 @@ class AccessManagement(pulumi.CustomResource):
|
|
|
442
470
|
@pulumi.getter(name="principalId")
|
|
443
471
|
def principal_id(self) -> pulumi.Output[builtins.str]:
|
|
444
472
|
"""
|
|
445
|
-
The ID of the
|
|
473
|
+
The ID of the CloudSSO identity.
|
|
446
474
|
"""
|
|
447
475
|
return pulumi.get(self, "principal_id")
|
|
448
476
|
|
|
@@ -450,7 +478,7 @@ class AccessManagement(pulumi.CustomResource):
|
|
|
450
478
|
@pulumi.getter(name="principalType")
|
|
451
479
|
def principal_type(self) -> pulumi.Output[builtins.str]:
|
|
452
480
|
"""
|
|
453
|
-
The
|
|
481
|
+
The type of the CloudSSO identity. Valid values: `User`, `Group`.
|
|
454
482
|
"""
|
|
455
483
|
return pulumi.get(self, "principal_type")
|
|
456
484
|
|
|
@@ -458,7 +486,7 @@ class AccessManagement(pulumi.CustomResource):
|
|
|
458
486
|
@pulumi.getter(name="targetId")
|
|
459
487
|
def target_id(self) -> pulumi.Output[builtins.str]:
|
|
460
488
|
"""
|
|
461
|
-
The ID of the
|
|
489
|
+
The ID of the task object.
|
|
462
490
|
"""
|
|
463
491
|
return pulumi.get(self, "target_id")
|
|
464
492
|
|
|
@@ -466,7 +494,7 @@ class AccessManagement(pulumi.CustomResource):
|
|
|
466
494
|
@pulumi.getter(name="targetType")
|
|
467
495
|
def target_type(self) -> pulumi.Output[builtins.str]:
|
|
468
496
|
"""
|
|
469
|
-
The type of the
|
|
497
|
+
The type of the task object. Valid values: `RD-Account`.
|
|
470
498
|
"""
|
|
471
499
|
return pulumi.get(self, "target_type")
|
|
472
500
|
|
|
@@ -25,9 +25,9 @@ class UserAttachmentArgs:
|
|
|
25
25
|
user_id: pulumi.Input[builtins.str]):
|
|
26
26
|
"""
|
|
27
27
|
The set of arguments for constructing a UserAttachment resource.
|
|
28
|
-
:param pulumi.Input[builtins.str] directory_id: The ID of the
|
|
29
|
-
:param pulumi.Input[builtins.str] group_id: The
|
|
30
|
-
:param pulumi.Input[builtins.str] user_id: The
|
|
28
|
+
:param pulumi.Input[builtins.str] directory_id: The ID of the directory.
|
|
29
|
+
:param pulumi.Input[builtins.str] group_id: The ID of the group.
|
|
30
|
+
:param pulumi.Input[builtins.str] user_id: The ID of the user.
|
|
31
31
|
"""
|
|
32
32
|
pulumi.set(__self__, "directory_id", directory_id)
|
|
33
33
|
pulumi.set(__self__, "group_id", group_id)
|
|
@@ -37,7 +37,7 @@ class UserAttachmentArgs:
|
|
|
37
37
|
@pulumi.getter(name="directoryId")
|
|
38
38
|
def directory_id(self) -> pulumi.Input[builtins.str]:
|
|
39
39
|
"""
|
|
40
|
-
The ID of the
|
|
40
|
+
The ID of the directory.
|
|
41
41
|
"""
|
|
42
42
|
return pulumi.get(self, "directory_id")
|
|
43
43
|
|
|
@@ -49,7 +49,7 @@ class UserAttachmentArgs:
|
|
|
49
49
|
@pulumi.getter(name="groupId")
|
|
50
50
|
def group_id(self) -> pulumi.Input[builtins.str]:
|
|
51
51
|
"""
|
|
52
|
-
The
|
|
52
|
+
The ID of the group.
|
|
53
53
|
"""
|
|
54
54
|
return pulumi.get(self, "group_id")
|
|
55
55
|
|
|
@@ -61,7 +61,7 @@ class UserAttachmentArgs:
|
|
|
61
61
|
@pulumi.getter(name="userId")
|
|
62
62
|
def user_id(self) -> pulumi.Input[builtins.str]:
|
|
63
63
|
"""
|
|
64
|
-
The
|
|
64
|
+
The ID of the user.
|
|
65
65
|
"""
|
|
66
66
|
return pulumi.get(self, "user_id")
|
|
67
67
|
|
|
@@ -78,9 +78,9 @@ class _UserAttachmentState:
|
|
|
78
78
|
user_id: Optional[pulumi.Input[builtins.str]] = None):
|
|
79
79
|
"""
|
|
80
80
|
Input properties used for looking up and filtering UserAttachment resources.
|
|
81
|
-
:param pulumi.Input[builtins.str] directory_id: The ID of the
|
|
82
|
-
:param pulumi.Input[builtins.str] group_id: The
|
|
83
|
-
:param pulumi.Input[builtins.str] user_id: The
|
|
81
|
+
:param pulumi.Input[builtins.str] directory_id: The ID of the directory.
|
|
82
|
+
:param pulumi.Input[builtins.str] group_id: The ID of the group.
|
|
83
|
+
:param pulumi.Input[builtins.str] user_id: The ID of the user.
|
|
84
84
|
"""
|
|
85
85
|
if directory_id is not None:
|
|
86
86
|
pulumi.set(__self__, "directory_id", directory_id)
|
|
@@ -93,7 +93,7 @@ class _UserAttachmentState:
|
|
|
93
93
|
@pulumi.getter(name="directoryId")
|
|
94
94
|
def directory_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
95
95
|
"""
|
|
96
|
-
The ID of the
|
|
96
|
+
The ID of the directory.
|
|
97
97
|
"""
|
|
98
98
|
return pulumi.get(self, "directory_id")
|
|
99
99
|
|
|
@@ -105,7 +105,7 @@ class _UserAttachmentState:
|
|
|
105
105
|
@pulumi.getter(name="groupId")
|
|
106
106
|
def group_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
107
107
|
"""
|
|
108
|
-
The
|
|
108
|
+
The ID of the group.
|
|
109
109
|
"""
|
|
110
110
|
return pulumi.get(self, "group_id")
|
|
111
111
|
|
|
@@ -117,7 +117,7 @@ class _UserAttachmentState:
|
|
|
117
117
|
@pulumi.getter(name="userId")
|
|
118
118
|
def user_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
119
119
|
"""
|
|
120
|
-
The
|
|
120
|
+
The ID of the user.
|
|
121
121
|
"""
|
|
122
122
|
return pulumi.get(self, "user_id")
|
|
123
123
|
|
|
@@ -155,9 +155,9 @@ class UserAttachment(pulumi.CustomResource):
|
|
|
155
155
|
|
|
156
156
|
:param str resource_name: The name of the resource.
|
|
157
157
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
158
|
-
:param pulumi.Input[builtins.str] directory_id: The ID of the
|
|
159
|
-
:param pulumi.Input[builtins.str] group_id: The
|
|
160
|
-
:param pulumi.Input[builtins.str] user_id: The
|
|
158
|
+
:param pulumi.Input[builtins.str] directory_id: The ID of the directory.
|
|
159
|
+
:param pulumi.Input[builtins.str] group_id: The ID of the group.
|
|
160
|
+
:param pulumi.Input[builtins.str] user_id: The ID of the user.
|
|
161
161
|
"""
|
|
162
162
|
...
|
|
163
163
|
@overload
|
|
@@ -238,9 +238,9 @@ class UserAttachment(pulumi.CustomResource):
|
|
|
238
238
|
:param str resource_name: The unique name of the resulting resource.
|
|
239
239
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
240
240
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
241
|
-
:param pulumi.Input[builtins.str] directory_id: The ID of the
|
|
242
|
-
:param pulumi.Input[builtins.str] group_id: The
|
|
243
|
-
:param pulumi.Input[builtins.str] user_id: The
|
|
241
|
+
:param pulumi.Input[builtins.str] directory_id: The ID of the directory.
|
|
242
|
+
:param pulumi.Input[builtins.str] group_id: The ID of the group.
|
|
243
|
+
:param pulumi.Input[builtins.str] user_id: The ID of the user.
|
|
244
244
|
"""
|
|
245
245
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
246
246
|
|
|
@@ -255,7 +255,7 @@ class UserAttachment(pulumi.CustomResource):
|
|
|
255
255
|
@pulumi.getter(name="directoryId")
|
|
256
256
|
def directory_id(self) -> pulumi.Output[builtins.str]:
|
|
257
257
|
"""
|
|
258
|
-
The ID of the
|
|
258
|
+
The ID of the directory.
|
|
259
259
|
"""
|
|
260
260
|
return pulumi.get(self, "directory_id")
|
|
261
261
|
|
|
@@ -263,7 +263,7 @@ class UserAttachment(pulumi.CustomResource):
|
|
|
263
263
|
@pulumi.getter(name="groupId")
|
|
264
264
|
def group_id(self) -> pulumi.Output[builtins.str]:
|
|
265
265
|
"""
|
|
266
|
-
The
|
|
266
|
+
The ID of the group.
|
|
267
267
|
"""
|
|
268
268
|
return pulumi.get(self, "group_id")
|
|
269
269
|
|
|
@@ -271,7 +271,7 @@ class UserAttachment(pulumi.CustomResource):
|
|
|
271
271
|
@pulumi.getter(name="userId")
|
|
272
272
|
def user_id(self) -> pulumi.Output[builtins.str]:
|
|
273
273
|
"""
|
|
274
|
-
The
|
|
274
|
+
The ID of the user.
|
|
275
275
|
"""
|
|
276
276
|
return pulumi.get(self, "user_id")
|
|
277
277
|
|