You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// The deprovision strategy when deleting the cloud identity permission set assignment. Valid values: `DeprovisionForLastPermissionSetOnAccount`, `None`. Default is `DeprovisionForLastPermissionSetOnAccount`.
83
+
/// When the `deprovision_strategy` is `DeprovisionForLastPermissionSetOnAccount`, and the permission set assignment to be deleted is the last assignment for the same account, this option is used for the DeprovisionPermissionSet operation.
/// The deprovision strategy when deleting the cloud identity permission set assignment. Valid values: `DeprovisionForLastPermissionSetOnAccount`, `None`. Default is `DeprovisionForLastPermissionSetOnAccount`.
161
+
/// When the `deprovision_strategy` is `DeprovisionForLastPermissionSetOnAccount`, and the permission set assignment to be deleted is the last assignment for the same account, this option is used for the DeprovisionPermissionSet operation.
162
+
/// </summary>
163
+
[Input("deprovisionStrategy")]
164
+
publicInput<string>?DeprovisionStrategy{get;set;}
165
+
152
166
/// <summary>
153
167
/// The id of the cloud identity permission set.
154
168
/// </summary>
@@ -181,6 +195,13 @@ public PermissionSetAssignmentArgs()
/// The deprovision strategy when deleting the cloud identity permission set assignment. Valid values: `DeprovisionForLastPermissionSetOnAccount`, `None`. Default is `DeprovisionForLastPermissionSetOnAccount`.
200
+
/// When the `deprovision_strategy` is `DeprovisionForLastPermissionSetOnAccount`, and the permission set assignment to be deleted is the last assignment for the same account, this option is used for the DeprovisionPermissionSet operation.
/// var fooPermissionSetAssignment = new Volcengine.Cloud_identity.PermissionSetAssignment("fooPermissionSetAssignment", new()
60
60
/// {
61
61
/// PermissionSetId = fooPermissionSet.Id,
62
-
/// TargetId = "210026****",
62
+
/// TargetId = "210005****",
63
63
/// PrincipalType = "User",
64
64
/// PrincipalId = fooUser.Id,
65
+
/// DeprovisionStrategy = "None",
65
66
/// });
66
67
///
68
+
/// // It is not recommended to use this resource to provision the permission_set.
67
69
/// // When the `volcengine_cloud_identity_permission_set` is updated, you can use this resource to provision the permission set.
68
-
/// // When deleting this resource, resource `volcengine_cloud_identity_permission_set_assignment` must be deleted first.
70
+
/// // When deleting this resource, resource `volcengine_cloud_identity_permission_set_assignment` must be deleted first, and the `deprovision_strategy` of `volcengine_cloud_identity_permission_set_assignment` should be set as `None`.
69
71
/// var fooPermissionSetProvisioning = new Volcengine.Cloud_identity.PermissionSetProvisioning("fooPermissionSetProvisioning", new()
0 commit comments