@alicloud/cloudsso20210515 1.6.0 → 1.7.0
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.
- package/dist/client.d.ts +221 -178
- package/dist/client.js +326 -178
- package/dist/client.js.map +1 -1
- package/dist/models/AddExternalSamlidPcertificateRequest.d.ts +3 -3
- package/dist/models/AddPermissionPolicyToAccessConfigurationRequest.d.ts +11 -14
- package/dist/models/AddPermissionPolicyToAccessConfigurationRequest.js.map +1 -1
- package/dist/models/AddUserToGroupResponseBody.d.ts +1 -1
- package/dist/models/ClearExternalSamlidentityProviderRequest.d.ts +1 -1
- package/dist/models/CreateAccessAssignmentRequest.d.ts +13 -14
- package/dist/models/CreateAccessAssignmentRequest.js.map +1 -1
- package/dist/models/CreateAccessAssignmentResponseBody.d.ts +20 -22
- package/dist/models/CreateAccessAssignmentResponseBody.js.map +1 -1
- package/dist/models/CreateDirectoryRequest.d.ts +3 -3
- package/dist/models/CreateDirectoryResponseBody.d.ts +3 -3
- package/dist/models/CreateGroupRequest.d.ts +6 -6
- package/dist/models/CreateGroupResponseBody.d.ts +8 -7
- package/dist/models/CreateGroupResponseBody.js.map +1 -1
- package/dist/models/CreateScimserverCredentialRequest.d.ts +1 -1
- package/dist/models/CreateScimserverCredentialResponseBody.d.ts +8 -7
- package/dist/models/CreateScimserverCredentialResponseBody.js.map +1 -1
- package/dist/models/CreateUserProvisioningRequest.d.ts +15 -20
- package/dist/models/CreateUserProvisioningRequest.js.map +1 -1
- package/dist/models/CreateUserProvisioningResponseBody.d.ts +27 -35
- package/dist/models/CreateUserProvisioningResponseBody.js.map +1 -1
- package/dist/models/DeleteAccessAssignmentRequest.d.ts +17 -16
- package/dist/models/DeleteAccessAssignmentRequest.js.map +1 -1
- package/dist/models/DeleteAccessAssignmentResponseBody.d.ts +19 -17
- package/dist/models/DeleteAccessAssignmentResponseBody.js.map +1 -1
- package/dist/models/DeleteAccessConfigurationRequest.d.ts +2 -3
- package/dist/models/DeleteAccessConfigurationRequest.js.map +1 -1
- package/dist/models/DeleteAccessConfigurationResponseBody.d.ts +1 -1
- package/dist/models/DeleteDirectoryRequest.d.ts +1 -1
- package/dist/models/DeleteGroupRequest.d.ts +1 -1
- package/dist/models/DeleteScimserverCredentialRequest.d.ts +1 -1
- package/dist/models/DeleteUserProvisioningEventRequest.d.ts +4 -4
- package/dist/models/DeleteUserProvisioningRequest.d.ts +6 -7
- package/dist/models/DeleteUserProvisioningRequest.js.map +1 -1
- package/dist/models/DeleteUserRequest.d.ts +2 -2
- package/dist/models/DeprovisionAccessConfigurationRequest.d.ts +6 -2
- package/dist/models/DeprovisionAccessConfigurationRequest.js.map +1 -1
- package/dist/models/DeprovisionAccessConfigurationResponseBody.d.ts +13 -10
- package/dist/models/DeprovisionAccessConfigurationResponseBody.js.map +1 -1
- package/dist/models/EnableDelegateAccountRequest.d.ts +1 -1
- package/dist/models/GetDirectoryRequest.d.ts +1 -1
- package/dist/models/GetDirectoryResponseBody.d.ts +5 -5
- package/dist/models/GetTaskResponseBody.d.ts +22 -19
- package/dist/models/GetTaskResponseBody.js.map +1 -1
- package/dist/models/ListAccessAssignmentsRequest.d.ts +22 -20
- package/dist/models/ListAccessAssignmentsRequest.js.map +1 -1
- package/dist/models/ListAccessAssignmentsResponseBody.d.ts +22 -20
- package/dist/models/ListAccessAssignmentsResponseBody.js.map +1 -1
- package/dist/models/ListAccessConfigurationProvisioningsRequest.d.ts +18 -16
- package/dist/models/ListAccessConfigurationProvisioningsRequest.js.map +1 -1
- package/dist/models/ListAccessConfigurationProvisioningsResponseBody.d.ts +29 -28
- package/dist/models/ListAccessConfigurationProvisioningsResponseBody.js.map +1 -1
- package/dist/models/ListTagResourcesRequest.d.ts +87 -0
- package/dist/models/ListTagResourcesRequest.js +93 -0
- package/dist/models/ListTagResourcesRequest.js.map +1 -0
- package/dist/models/ListTagResourcesResponse.d.ts +19 -0
- package/dist/models/ListTagResourcesResponse.js +69 -0
- package/dist/models/ListTagResourcesResponse.js.map +1 -0
- package/dist/models/ListTagResourcesResponseBody.d.ts +80 -0
- package/dist/models/ListTagResourcesResponseBody.js +90 -0
- package/dist/models/ListTagResourcesResponseBody.js.map +1 -0
- package/dist/models/ListTasksRequest.d.ts +27 -34
- package/dist/models/ListTasksRequest.js.map +1 -1
- package/dist/models/ListTasksResponseBody.d.ts +34 -36
- package/dist/models/ListTasksResponseBody.js.map +1 -1
- package/dist/models/ProvisionAccessConfigurationRequest.d.ts +7 -3
- package/dist/models/ProvisionAccessConfigurationRequest.js.map +1 -1
- package/dist/models/ProvisionAccessConfigurationResponseBody.d.ts +15 -12
- package/dist/models/ProvisionAccessConfigurationResponseBody.js.map +1 -1
- package/dist/models/ResetUserPasswordRequest.d.ts +11 -13
- package/dist/models/ResetUserPasswordRequest.js.map +1 -1
- package/dist/models/ResetUserPasswordResponseBody.d.ts +1 -1
- package/dist/models/TagResourcesRequest.d.ts +95 -0
- package/dist/models/TagResourcesRequest.js +91 -0
- package/dist/models/TagResourcesRequest.js.map +1 -0
- package/dist/models/TagResourcesResponse.d.ts +19 -0
- package/dist/models/TagResourcesResponse.js +69 -0
- package/dist/models/TagResourcesResponse.js.map +1 -0
- package/dist/models/TagResourcesResponseBody.d.ts +21 -0
- package/dist/models/TagResourcesResponseBody.js +58 -0
- package/dist/models/TagResourcesResponseBody.js.map +1 -0
- package/dist/models/UntagResourcesRequest.d.ts +59 -0
- package/dist/models/UntagResourcesRequest.js +72 -0
- package/dist/models/UntagResourcesRequest.js.map +1 -0
- package/dist/models/UntagResourcesResponse.d.ts +19 -0
- package/dist/models/UntagResourcesResponse.js +69 -0
- package/dist/models/UntagResourcesResponse.js.map +1 -0
- package/dist/models/UntagResourcesResponseBody.d.ts +21 -0
- package/dist/models/UntagResourcesResponseBody.js +58 -0
- package/dist/models/UntagResourcesResponseBody.js.map +1 -0
- package/dist/models/UpdateScimserverCredentialStatusRequest.d.ts +4 -5
- package/dist/models/UpdateScimserverCredentialStatusRequest.js.map +1 -1
- package/dist/models/UpdateScimserverCredentialStatusResponseBody.d.ts +6 -7
- package/dist/models/UpdateScimserverCredentialStatusResponseBody.js.map +1 -1
- package/dist/models/model.d.ts +12 -0
- package/dist/models/model.js +31 -7
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +346 -178
- package/src/models/AddExternalSamlidPcertificateRequest.ts +3 -3
- package/src/models/AddPermissionPolicyToAccessConfigurationRequest.ts +11 -14
- package/src/models/AddUserToGroupResponseBody.ts +1 -1
- package/src/models/ClearExternalSamlidentityProviderRequest.ts +1 -1
- package/src/models/CreateAccessAssignmentRequest.ts +13 -14
- package/src/models/CreateAccessAssignmentResponseBody.ts +20 -22
- package/src/models/CreateDirectoryRequest.ts +3 -3
- package/src/models/CreateDirectoryResponseBody.ts +3 -3
- package/src/models/CreateGroupRequest.ts +6 -6
- package/src/models/CreateGroupResponseBody.ts +8 -7
- package/src/models/CreateScimserverCredentialRequest.ts +1 -1
- package/src/models/CreateScimserverCredentialResponseBody.ts +8 -7
- package/src/models/CreateUserProvisioningRequest.ts +15 -20
- package/src/models/CreateUserProvisioningResponseBody.ts +27 -35
- package/src/models/DeleteAccessAssignmentRequest.ts +17 -16
- package/src/models/DeleteAccessAssignmentResponseBody.ts +19 -17
- package/src/models/DeleteAccessConfigurationRequest.ts +2 -3
- package/src/models/DeleteAccessConfigurationResponseBody.ts +1 -1
- package/src/models/DeleteDirectoryRequest.ts +1 -1
- package/src/models/DeleteGroupRequest.ts +1 -1
- package/src/models/DeleteScimserverCredentialRequest.ts +1 -1
- package/src/models/DeleteUserProvisioningEventRequest.ts +4 -4
- package/src/models/DeleteUserProvisioningRequest.ts +6 -7
- package/src/models/DeleteUserRequest.ts +2 -2
- package/src/models/DeprovisionAccessConfigurationRequest.ts +6 -2
- package/src/models/DeprovisionAccessConfigurationResponseBody.ts +13 -10
- package/src/models/EnableDelegateAccountRequest.ts +1 -1
- package/src/models/GetDirectoryRequest.ts +1 -1
- package/src/models/GetDirectoryResponseBody.ts +5 -5
- package/src/models/GetTaskResponseBody.ts +22 -19
- package/src/models/ListAccessAssignmentsRequest.ts +22 -20
- package/src/models/ListAccessAssignmentsResponseBody.ts +22 -20
- package/src/models/ListAccessConfigurationProvisioningsRequest.ts +18 -16
- package/src/models/ListAccessConfigurationProvisioningsResponseBody.ts +29 -28
- package/src/models/ListTagResourcesRequest.ts +126 -0
- package/src/models/ListTagResourcesResponse.ts +40 -0
- package/src/models/ListTagResourcesResponseBody.ts +116 -0
- package/src/models/ListTasksRequest.ts +27 -34
- package/src/models/ListTasksResponseBody.ts +34 -36
- package/src/models/ProvisionAccessConfigurationRequest.ts +7 -3
- package/src/models/ProvisionAccessConfigurationResponseBody.ts +15 -12
- package/src/models/ResetUserPasswordRequest.ts +11 -13
- package/src/models/ResetUserPasswordResponseBody.ts +1 -1
- package/src/models/TagResourcesRequest.ts +132 -0
- package/src/models/TagResourcesResponse.ts +40 -0
- package/src/models/TagResourcesResponseBody.ts +34 -0
- package/src/models/UntagResourcesRequest.ts +86 -0
- package/src/models/UntagResourcesResponse.ts +40 -0
- package/src/models/UntagResourcesResponseBody.ts +34 -0
- package/src/models/UpdateScimserverCredentialStatusRequest.ts +4 -5
- package/src/models/UpdateScimserverCredentialStatusResponseBody.ts +6 -7
- package/src/models/model.ts +12 -0
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class AddExternalSAMLIdPCertificateRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The ID
|
|
8
|
+
* The directory ID.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* d-00fc2p61****
|
|
@@ -13,9 +13,9 @@ export class AddExternalSAMLIdPCertificateRequest extends $dara.Model {
|
|
|
13
13
|
directoryId?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The X.509 certificate in
|
|
16
|
+
* The X.509 certificate in PEM format.
|
|
17
17
|
*
|
|
18
|
-
* The certificate is provided by the SAML
|
|
18
|
+
* The certificate is provided by the SAML IdP.
|
|
19
19
|
*
|
|
20
20
|
* @example
|
|
21
21
|
* MIIC8DCCAdigAwIBAgIQP9eomUYGeoND****
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class AddPermissionPolicyToAccessConfigurationRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The
|
|
8
|
+
* The access configuration ID.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* ac-00jhtfl8thteu6uj****
|
|
@@ -13,7 +13,7 @@ export class AddPermissionPolicyToAccessConfigurationRequest extends $dara.Model
|
|
|
13
13
|
accessConfigurationId?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The ID
|
|
16
|
+
* The directory ID.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* d-00fc2p61****
|
|
@@ -21,11 +21,11 @@ export class AddPermissionPolicyToAccessConfigurationRequest extends $dara.Model
|
|
|
21
21
|
directoryId?: string;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* The
|
|
24
|
+
* The content of the inline policy.
|
|
25
25
|
*
|
|
26
|
-
* The
|
|
26
|
+
* The maximum length is 4,096 characters.
|
|
27
27
|
*
|
|
28
|
-
* If
|
|
28
|
+
* If PermissionPolicyType is set to Inline, this parameter is required. For more information about the syntax and structure of access policies, see [Access policy syntax and structure](https://help.aliyun.com/document_detail/93739.html).
|
|
29
29
|
*
|
|
30
30
|
* @example
|
|
31
31
|
* {"Statement": [{"Action": "*","Effect": "Allow","Resource": "*"}],"Version": "1"}
|
|
@@ -33,11 +33,9 @@ export class AddPermissionPolicyToAccessConfigurationRequest extends $dara.Model
|
|
|
33
33
|
inlinePolicyDocument?: string;
|
|
34
34
|
/**
|
|
35
35
|
* @remarks
|
|
36
|
-
* The name of the policy.
|
|
37
|
-
*
|
|
38
|
-
* - If
|
|
39
|
-
*
|
|
40
|
-
* - If you set `PermissionPolicyType` to `Inline`, you must set PermissionPolicyName to the name of an inline policy. A custom value is supported. The value can be up to 32 characters in length.
|
|
36
|
+
* The name of the access policy.
|
|
37
|
+
* - If PermissionPolicyType is set to System, this parameter specifies the name of the system policy. Because RAM system policies are reused, you must obtain the system policy name from RAM.
|
|
38
|
+
* - If PermissionPolicyType is set to Inline, this parameter specifies the name of the inline policy. You can customize the name. The name can be up to 32 characters in length.
|
|
41
39
|
*
|
|
42
40
|
* @example
|
|
43
41
|
* AliyunECSFullAccess
|
|
@@ -45,11 +43,10 @@ export class AddPermissionPolicyToAccessConfigurationRequest extends $dara.Model
|
|
|
45
43
|
permissionPolicyName?: string;
|
|
46
44
|
/**
|
|
47
45
|
* @remarks
|
|
48
|
-
* The type of the policy. Valid values:
|
|
49
|
-
*
|
|
50
|
-
* - System: system policy. Resource Access Management (RAM) system policies are reused.
|
|
46
|
+
* The type of the access policy. Valid values:
|
|
51
47
|
*
|
|
52
|
-
* -
|
|
48
|
+
* - System: system policy. Reuses the system policies of Resource Access Management (RAM).
|
|
49
|
+
* - Inline: inline policy. A custom policy written based on the syntax and structure of RAM policies.
|
|
53
50
|
*
|
|
54
51
|
* @example
|
|
55
52
|
* System
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class CreateAccessAssignmentRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The
|
|
8
|
+
* The access configuration ID.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* ac-00jhtfl8thteu6uj****
|
|
@@ -13,24 +13,25 @@ export class CreateAccessAssignmentRequest extends $dara.Model {
|
|
|
13
13
|
accessConfigurationId?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The ID
|
|
16
|
+
* The directory ID.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* d-00fc2p61****
|
|
20
20
|
*/
|
|
21
21
|
directoryId?: string;
|
|
22
22
|
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The Alibaba Cloud account ID of the authorization target.
|
|
25
|
+
*
|
|
23
26
|
* @example
|
|
24
27
|
* 114240524784****
|
|
25
28
|
*/
|
|
26
29
|
originTargetId?: string;
|
|
27
30
|
/**
|
|
28
31
|
* @remarks
|
|
29
|
-
* The
|
|
30
|
-
*
|
|
31
|
-
* - If
|
|
32
|
-
*
|
|
33
|
-
* - If you set `PrincipalType` to `Group`, set `PrincipalId` to the ID of the CloudSSO group.
|
|
32
|
+
* The CloudSSO identity ID. Details:
|
|
33
|
+
* - If PrincipalType is set to User, PrincipalId is the CloudSSO user ID.
|
|
34
|
+
* - If PrincipalType is set to Group, PrincipalId is the CloudSSO group ID.
|
|
34
35
|
*
|
|
35
36
|
* @example
|
|
36
37
|
* u-00q8wbq42wiltcrk****
|
|
@@ -38,11 +39,9 @@ export class CreateAccessAssignmentRequest extends $dara.Model {
|
|
|
38
39
|
principalId?: string;
|
|
39
40
|
/**
|
|
40
41
|
* @remarks
|
|
41
|
-
* The
|
|
42
|
-
*
|
|
43
|
-
* -
|
|
44
|
-
*
|
|
45
|
-
* - Group
|
|
42
|
+
* The CloudSSO identity type. Valid values:
|
|
43
|
+
* - User: user
|
|
44
|
+
* - Group: group
|
|
46
45
|
*
|
|
47
46
|
* @example
|
|
48
47
|
* User
|
|
@@ -50,7 +49,7 @@ export class CreateAccessAssignmentRequest extends $dara.Model {
|
|
|
50
49
|
principalType?: string;
|
|
51
50
|
/**
|
|
52
51
|
* @remarks
|
|
53
|
-
* The ID of the
|
|
52
|
+
* The ID of the deployment target.
|
|
54
53
|
*
|
|
55
54
|
* @example
|
|
56
55
|
* 114240524784****
|
|
@@ -58,7 +57,7 @@ export class CreateAccessAssignmentRequest extends $dara.Model {
|
|
|
58
57
|
targetId?: string;
|
|
59
58
|
/**
|
|
60
59
|
* @remarks
|
|
61
|
-
* The type of the task
|
|
60
|
+
* The target type of the task. Valid value: RD-Account, which indicates that the task target is an account in a resource directory.
|
|
62
61
|
*
|
|
63
62
|
* @example
|
|
64
63
|
* RD-Account
|
|
@@ -7,7 +7,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
7
7
|
export class CreateAccessAssignmentResponseBodyTask extends $dara.Model {
|
|
8
8
|
/**
|
|
9
9
|
* @remarks
|
|
10
|
-
* The
|
|
10
|
+
* The access configuration ID.
|
|
11
11
|
*
|
|
12
12
|
* @example
|
|
13
13
|
* ac-00jhtfl8thteu6uj****
|
|
@@ -15,20 +15,23 @@ export class CreateAccessAssignmentResponseBodyTask extends $dara.Model {
|
|
|
15
15
|
accessConfigurationId?: string;
|
|
16
16
|
/**
|
|
17
17
|
* @remarks
|
|
18
|
-
* The
|
|
18
|
+
* The access configuration name.
|
|
19
19
|
*
|
|
20
20
|
* @example
|
|
21
21
|
* ECS-Admin
|
|
22
22
|
*/
|
|
23
23
|
accessConfigurationName?: string;
|
|
24
24
|
/**
|
|
25
|
+
* @remarks
|
|
26
|
+
* The Alibaba Cloud account ID of the authorization target.
|
|
27
|
+
*
|
|
25
28
|
* @example
|
|
26
29
|
* 114240524784****
|
|
27
30
|
*/
|
|
28
31
|
originTargetId?: string;
|
|
29
32
|
/**
|
|
30
33
|
* @remarks
|
|
31
|
-
* The
|
|
34
|
+
* The CloudSSO identity ID.
|
|
32
35
|
*
|
|
33
36
|
* @example
|
|
34
37
|
* u-00q8wbq42wiltcrk****
|
|
@@ -36,7 +39,7 @@ export class CreateAccessAssignmentResponseBodyTask extends $dara.Model {
|
|
|
36
39
|
principalId?: string;
|
|
37
40
|
/**
|
|
38
41
|
* @remarks
|
|
39
|
-
* The
|
|
42
|
+
* The CloudSSO identity name.
|
|
40
43
|
*
|
|
41
44
|
* @example
|
|
42
45
|
* Alice
|
|
@@ -44,11 +47,9 @@ export class CreateAccessAssignmentResponseBodyTask extends $dara.Model {
|
|
|
44
47
|
principalName?: string;
|
|
45
48
|
/**
|
|
46
49
|
* @remarks
|
|
47
|
-
* The
|
|
48
|
-
*
|
|
49
|
-
* -
|
|
50
|
-
*
|
|
51
|
-
* - Group
|
|
50
|
+
* The CloudSSO identity type. Valid values:
|
|
51
|
+
* - User: user
|
|
52
|
+
* - Group: group
|
|
52
53
|
*
|
|
53
54
|
* @example
|
|
54
55
|
* User
|
|
@@ -57,11 +58,8 @@ export class CreateAccessAssignmentResponseBodyTask extends $dara.Model {
|
|
|
57
58
|
/**
|
|
58
59
|
* @remarks
|
|
59
60
|
* The task status. Valid values:
|
|
60
|
-
*
|
|
61
|
-
* -
|
|
62
|
-
*
|
|
63
|
-
* - Success: The task is successful.
|
|
64
|
-
*
|
|
61
|
+
* - InProgress: The task is in progress.
|
|
62
|
+
* - Success: The task succeeded.
|
|
65
63
|
* - Failed: The task failed.
|
|
66
64
|
*
|
|
67
65
|
* @example
|
|
@@ -70,7 +68,7 @@ export class CreateAccessAssignmentResponseBodyTask extends $dara.Model {
|
|
|
70
68
|
status?: string;
|
|
71
69
|
/**
|
|
72
70
|
* @remarks
|
|
73
|
-
* The ID of the task
|
|
71
|
+
* The ID of the task target.
|
|
74
72
|
*
|
|
75
73
|
* @example
|
|
76
74
|
* 114240524784****
|
|
@@ -78,7 +76,7 @@ export class CreateAccessAssignmentResponseBodyTask extends $dara.Model {
|
|
|
78
76
|
targetId?: string;
|
|
79
77
|
/**
|
|
80
78
|
* @remarks
|
|
81
|
-
* The name of the task
|
|
79
|
+
* The name of the task target.
|
|
82
80
|
*
|
|
83
81
|
* @example
|
|
84
82
|
* dev-test
|
|
@@ -86,17 +84,17 @@ export class CreateAccessAssignmentResponseBodyTask extends $dara.Model {
|
|
|
86
84
|
targetName?: string;
|
|
87
85
|
/**
|
|
88
86
|
* @remarks
|
|
89
|
-
* The path ID of the task
|
|
87
|
+
* The path ID of the task target in the resource directory.
|
|
90
88
|
*/
|
|
91
89
|
targetPath?: string;
|
|
92
90
|
/**
|
|
93
91
|
* @remarks
|
|
94
|
-
* The path name of the task
|
|
92
|
+
* The path name of the task target in the resource directory.
|
|
95
93
|
*/
|
|
96
94
|
targetPathName?: string;
|
|
97
95
|
/**
|
|
98
96
|
* @remarks
|
|
99
|
-
* The type of the task
|
|
97
|
+
* The target type of the task. Valid value: RD-Account, which indicates that the task target is an account in a resource directory.
|
|
100
98
|
*
|
|
101
99
|
* @example
|
|
102
100
|
* RD-Account
|
|
@@ -104,7 +102,7 @@ export class CreateAccessAssignmentResponseBodyTask extends $dara.Model {
|
|
|
104
102
|
targetType?: string;
|
|
105
103
|
/**
|
|
106
104
|
* @remarks
|
|
107
|
-
* The ID
|
|
105
|
+
* The task ID.
|
|
108
106
|
*
|
|
109
107
|
* @example
|
|
110
108
|
* t-sh6tceylhvgejpip****
|
|
@@ -112,7 +110,7 @@ export class CreateAccessAssignmentResponseBodyTask extends $dara.Model {
|
|
|
112
110
|
taskId?: string;
|
|
113
111
|
/**
|
|
114
112
|
* @remarks
|
|
115
|
-
* The task type.
|
|
113
|
+
* The task type. Valid value: CreateAccessAssignment, which indicates an authorization task for an account in a resource directory.
|
|
116
114
|
*
|
|
117
115
|
* @example
|
|
118
116
|
* CreateAccessAssignment
|
|
@@ -176,7 +174,7 @@ export class CreateAccessAssignmentResponseBody extends $dara.Model {
|
|
|
176
174
|
requestId?: string;
|
|
177
175
|
/**
|
|
178
176
|
* @remarks
|
|
179
|
-
* The
|
|
177
|
+
* The task information.
|
|
180
178
|
*/
|
|
181
179
|
task?: CreateAccessAssignmentResponseBodyTask;
|
|
182
180
|
static names(): { [key: string]: string } {
|
|
@@ -7,11 +7,11 @@ export class CreateDirectoryRequest extends $dara.Model {
|
|
|
7
7
|
* @remarks
|
|
8
8
|
* The name of the directory. The name must be globally unique.
|
|
9
9
|
*
|
|
10
|
-
* The name can contain lowercase letters, digits, and hyphens (-).
|
|
10
|
+
* Format: The name can contain lowercase letters, digits, and hyphens (-). It cannot start or end with a hyphen (-) and cannot contain two consecutive hyphens (-). It cannot start with `d-`.
|
|
11
11
|
*
|
|
12
|
-
*
|
|
12
|
+
* Length: 2 to 64 characters.
|
|
13
13
|
*
|
|
14
|
-
* >
|
|
14
|
+
* > If you do not specify this parameter, the system automatically generates a name.
|
|
15
15
|
*
|
|
16
16
|
* @example
|
|
17
17
|
* example
|
|
@@ -13,7 +13,7 @@ export class CreateDirectoryResponseBodyDirectory extends $dara.Model {
|
|
|
13
13
|
createTime?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The ID
|
|
16
|
+
* The directory ID.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* d-00fc2p61****
|
|
@@ -37,7 +37,7 @@ export class CreateDirectoryResponseBodyDirectory extends $dara.Model {
|
|
|
37
37
|
region?: string;
|
|
38
38
|
/**
|
|
39
39
|
* @remarks
|
|
40
|
-
* The time when the directory was
|
|
40
|
+
* The time when the directory was updated. The time is displayed in UTC.
|
|
41
41
|
*
|
|
42
42
|
* @example
|
|
43
43
|
* 2021-10-10T04:04:04Z
|
|
@@ -75,7 +75,7 @@ export class CreateDirectoryResponseBodyDirectory extends $dara.Model {
|
|
|
75
75
|
export class CreateDirectoryResponseBody extends $dara.Model {
|
|
76
76
|
/**
|
|
77
77
|
* @remarks
|
|
78
|
-
* The information
|
|
78
|
+
* The directory information.
|
|
79
79
|
*/
|
|
80
80
|
directory?: CreateDirectoryResponseBodyDirectory;
|
|
81
81
|
/**
|
|
@@ -5,9 +5,9 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class CreateGroupRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The description of the group.
|
|
8
|
+
* The description of the user group.
|
|
9
9
|
*
|
|
10
|
-
* The description can be up to
|
|
10
|
+
* Length: The description can be up to 1024 characters in length.
|
|
11
11
|
*
|
|
12
12
|
* @example
|
|
13
13
|
* This is a group.
|
|
@@ -15,7 +15,7 @@ export class CreateGroupRequest extends $dara.Model {
|
|
|
15
15
|
description?: string;
|
|
16
16
|
/**
|
|
17
17
|
* @remarks
|
|
18
|
-
* The ID
|
|
18
|
+
* The directory ID.
|
|
19
19
|
*
|
|
20
20
|
* @example
|
|
21
21
|
* d-00fc2p61****
|
|
@@ -23,11 +23,11 @@ export class CreateGroupRequest extends $dara.Model {
|
|
|
23
23
|
directoryId?: string;
|
|
24
24
|
/**
|
|
25
25
|
* @remarks
|
|
26
|
-
* The name of the group.
|
|
26
|
+
* The name of the user group.
|
|
27
27
|
*
|
|
28
|
-
* The name can contain letters, digits,
|
|
28
|
+
* Format: The name can contain letters, digits, and the special characters `_-.`.
|
|
29
29
|
*
|
|
30
|
-
* The name can be up to 128 characters in length.
|
|
30
|
+
* Length: The name can be up to 128 characters in length.
|
|
31
31
|
*
|
|
32
32
|
* @example
|
|
33
33
|
* TestGroup
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class CreateGroupResponseBodyGroup extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The time when the group was created.
|
|
8
|
+
* The time when the user group was created. The time is in UTC and follows the RFC 3339 standard in the YYYY-MM-DDTHH:mm:ssZ format.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* 2021-11-01T02:38:27Z
|
|
@@ -13,7 +13,7 @@ export class CreateGroupResponseBodyGroup extends $dara.Model {
|
|
|
13
13
|
createTime?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The description of the group.
|
|
16
|
+
* The description of the user group.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* This is a group.
|
|
@@ -21,7 +21,7 @@ export class CreateGroupResponseBodyGroup extends $dara.Model {
|
|
|
21
21
|
description?: string;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* The ID of the group.
|
|
24
|
+
* The ID of the user group.
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
27
|
* g-00jqzghi2n3o5hkh****
|
|
@@ -29,7 +29,7 @@ export class CreateGroupResponseBodyGroup extends $dara.Model {
|
|
|
29
29
|
groupId?: string;
|
|
30
30
|
/**
|
|
31
31
|
* @remarks
|
|
32
|
-
* The name of the group.
|
|
32
|
+
* The name of the user group.
|
|
33
33
|
*
|
|
34
34
|
* @example
|
|
35
35
|
* TestGroup
|
|
@@ -37,7 +37,8 @@ export class CreateGroupResponseBodyGroup extends $dara.Model {
|
|
|
37
37
|
groupName?: string;
|
|
38
38
|
/**
|
|
39
39
|
* @remarks
|
|
40
|
-
* The type of the group.
|
|
40
|
+
* The type of the user group. Valid values:
|
|
41
|
+
* - Manual: The user group is manually created.
|
|
41
42
|
*
|
|
42
43
|
* @example
|
|
43
44
|
* Manual
|
|
@@ -45,7 +46,7 @@ export class CreateGroupResponseBodyGroup extends $dara.Model {
|
|
|
45
46
|
provisionType?: string;
|
|
46
47
|
/**
|
|
47
48
|
* @remarks
|
|
48
|
-
* The time when the
|
|
49
|
+
* The time when the user group was updated. The time is in UTC and follows the RFC 3339 standard in the YYYY-MM-DDTHH:mm:ssZ format.
|
|
49
50
|
*
|
|
50
51
|
* @example
|
|
51
52
|
* 2021-11-01T02:38:27Z
|
|
@@ -85,7 +86,7 @@ export class CreateGroupResponseBodyGroup extends $dara.Model {
|
|
|
85
86
|
export class CreateGroupResponseBody extends $dara.Model {
|
|
86
87
|
/**
|
|
87
88
|
* @remarks
|
|
88
|
-
* The
|
|
89
|
+
* The user group information.
|
|
89
90
|
*/
|
|
90
91
|
group?: CreateGroupResponseBodyGroup;
|
|
91
92
|
/**
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class CreateSCIMServerCredentialResponseBodySCIMServerCredential extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The time when the SCIM credential was created.
|
|
8
|
+
* The time when the SCIM credential was created. The time is displayed in UTC and follows the RFC 3339 standard in the YYYY-MM-DDTHH:mm:ssZ format.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* 2021-11-09T08:12:52Z
|
|
@@ -21,9 +21,9 @@ export class CreateSCIMServerCredentialResponseBodySCIMServerCredential extends
|
|
|
21
21
|
credentialId?: string;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* The SCIM credential.
|
|
24
|
+
* The SCIM credential secret.
|
|
25
25
|
*
|
|
26
|
-
* > The SCIM credential is returned only when
|
|
26
|
+
* > The SCIM credential secret is returned only when the credential is created and cannot be queried later. Keep it secure.
|
|
27
27
|
*
|
|
28
28
|
* @example
|
|
29
29
|
* 8aAJCtpbyPJ8saXeYDgyw****
|
|
@@ -39,7 +39,7 @@ export class CreateSCIMServerCredentialResponseBodySCIMServerCredential extends
|
|
|
39
39
|
credentialType?: string;
|
|
40
40
|
/**
|
|
41
41
|
* @remarks
|
|
42
|
-
* The ID
|
|
42
|
+
* The directory ID.
|
|
43
43
|
*
|
|
44
44
|
* @example
|
|
45
45
|
* d-00fc2p61****
|
|
@@ -47,7 +47,7 @@ export class CreateSCIMServerCredentialResponseBodySCIMServerCredential extends
|
|
|
47
47
|
directoryId?: string;
|
|
48
48
|
/**
|
|
49
49
|
* @remarks
|
|
50
|
-
* The time when the SCIM credential expires.
|
|
50
|
+
* The time when the SCIM credential expires. The time is displayed in UTC and follows the RFC 3339 standard in the YYYY-MM-DDTHH:mm:ssZ format.
|
|
51
51
|
*
|
|
52
52
|
* @example
|
|
53
53
|
* 2022-11-09T08:12:52Z
|
|
@@ -55,7 +55,8 @@ export class CreateSCIMServerCredentialResponseBodySCIMServerCredential extends
|
|
|
55
55
|
expireTime?: string;
|
|
56
56
|
/**
|
|
57
57
|
* @remarks
|
|
58
|
-
* The status of the SCIM credential.
|
|
58
|
+
* The status of the SCIM credential. Valid values:
|
|
59
|
+
* - Enabled: The SCIM credential is enabled.
|
|
59
60
|
*
|
|
60
61
|
* @example
|
|
61
62
|
* Enabled
|
|
@@ -105,7 +106,7 @@ export class CreateSCIMServerCredentialResponseBody extends $dara.Model {
|
|
|
105
106
|
requestId?: string;
|
|
106
107
|
/**
|
|
107
108
|
* @remarks
|
|
108
|
-
* The
|
|
109
|
+
* The SCIM credential information.
|
|
109
110
|
*/
|
|
110
111
|
SCIMServerCredential?: CreateSCIMServerCredentialResponseBodySCIMServerCredential;
|
|
111
112
|
static names(): { [key: string]: string } {
|
|
@@ -5,11 +5,10 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class CreateUserProvisioningRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The deletion policy.
|
|
8
|
+
* The deletion policy. Specifies the action to take for synchronized Resource Access Management (RAM) users when a Resource Access Management (RAM) user synchronization is deleted. Valid values:
|
|
9
9
|
*
|
|
10
|
-
* - Delete: When
|
|
11
|
-
*
|
|
12
|
-
* - Keep: When you delete the RAM user provisioning, the system retains the synchronized users.
|
|
10
|
+
* - Delete: Delete. When a Resource Access Management (RAM) user synchronization is deleted, the system deletes the Resource Access Management (RAM) users that have been synchronized from CloudSSO to RAM.
|
|
11
|
+
* - Keep: Keep. When a Resource Access Management (RAM) user synchronization is deleted, the system retains the Resource Access Management (RAM) users that have been synchronized from CloudSSO to RAM.
|
|
13
12
|
*
|
|
14
13
|
* @example
|
|
15
14
|
* Delete
|
|
@@ -25,7 +24,7 @@ export class CreateUserProvisioningRequest extends $dara.Model {
|
|
|
25
24
|
description?: string;
|
|
26
25
|
/**
|
|
27
26
|
* @remarks
|
|
28
|
-
* The ID of the
|
|
27
|
+
* The ID of the directory.
|
|
29
28
|
*
|
|
30
29
|
* @example
|
|
31
30
|
* d-003qew84****
|
|
@@ -33,11 +32,10 @@ export class CreateUserProvisioningRequest extends $dara.Model {
|
|
|
33
32
|
directoryId?: string;
|
|
34
33
|
/**
|
|
35
34
|
* @remarks
|
|
36
|
-
* The conflict
|
|
37
|
-
*
|
|
38
|
-
* - KeepBoth: When a CloudSSO user is synchronized to RAM, if a RAM user who has the same username as the CloudSSO user exists, the system creates a RAM user whose username is the username of the CloudSSO user plus the suffix `_sso`.
|
|
35
|
+
* The conflict resolution policy. Specifies the action to take when a CloudSSO user is synchronized to Resource Access Management (RAM) user with the same name already exists. Valid values:
|
|
39
36
|
*
|
|
40
|
-
* -
|
|
37
|
+
* - KeepBoth: Keep both. When a CloudSSO user is synchronized to Resource Access Management (RAM) user with the same name already exists, the system adds the `_sso` suffix to the username of the CloudSSO user and attempts to create a RAM user with the suffixed username.
|
|
38
|
+
* - TakeOver: Take over. When a CloudSSO user is synchronized to Resource Access Management (RAM) user with the same name already exists, the system replaces the existing RAM user with the synchronized CloudSSO user.
|
|
41
39
|
*
|
|
42
40
|
* @example
|
|
43
41
|
* KeepBoth
|
|
@@ -45,11 +43,10 @@ export class CreateUserProvisioningRequest extends $dara.Model {
|
|
|
45
43
|
duplicationStrategy?: string;
|
|
46
44
|
/**
|
|
47
45
|
* @remarks
|
|
48
|
-
* The
|
|
49
|
-
*
|
|
50
|
-
* - If you set the `PrincipalType` parameter to `Group`, the value of this parameter is the ID of a CloudSSO user group (g-\\*\\*\\*\\*\\*\\*\\*\\*).
|
|
46
|
+
* The ID of the identity for the Resource Access Management (RAM) user synchronization. Valid values:
|
|
51
47
|
*
|
|
52
|
-
* -
|
|
48
|
+
* - When `PrincipalType` is set to `Group`, the value is the ID of the CloudSSO group (g-********).
|
|
49
|
+
* - When `PrincipalType` is set to `User`, the value is the ID of the CloudSSO user (u-********).
|
|
53
50
|
*
|
|
54
51
|
* @example
|
|
55
52
|
* g-02ha881d*****
|
|
@@ -57,11 +54,9 @@ export class CreateUserProvisioningRequest extends $dara.Model {
|
|
|
57
54
|
principalId?: string;
|
|
58
55
|
/**
|
|
59
56
|
* @remarks
|
|
60
|
-
* The
|
|
61
|
-
*
|
|
62
|
-
* -
|
|
63
|
-
*
|
|
64
|
-
* - Group: The identity of the RAM user provisioning is a CloudSSO user group.
|
|
57
|
+
* The type of the Resource Access Management (RAM) user synchronization. Valid values:
|
|
58
|
+
* - User: The Resource Access Management (RAM) user synchronization is a CloudSSO user.
|
|
59
|
+
* - Group: The Resource Access Management (RAM) user synchronization is a CloudSSO group.
|
|
65
60
|
*
|
|
66
61
|
* @example
|
|
67
62
|
* Group
|
|
@@ -69,7 +64,7 @@ export class CreateUserProvisioningRequest extends $dara.Model {
|
|
|
69
64
|
principalType?: string;
|
|
70
65
|
/**
|
|
71
66
|
* @remarks
|
|
72
|
-
* The ID of the
|
|
67
|
+
* The ID of the destination for the Resource Access Management (RAM) user synchronization. Currently, the value is the ID of the account in a resource directory.
|
|
73
68
|
*
|
|
74
69
|
* @example
|
|
75
70
|
* 1743382******
|
|
@@ -77,7 +72,7 @@ export class CreateUserProvisioningRequest extends $dara.Model {
|
|
|
77
72
|
targetId?: string;
|
|
78
73
|
/**
|
|
79
74
|
* @remarks
|
|
80
|
-
* The
|
|
75
|
+
* The type of the destination for the Resource Access Management (RAM) user synchronization. Currently, the only valid value is `RD-Account`.
|
|
81
76
|
*
|
|
82
77
|
* @example
|
|
83
78
|
* RD-Account
|