@alicloud/cloudsso20210515 1.5.4 → 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 +263 -178
- package/dist/client.js +419 -186
- 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/GetAttributePassingSettingRequest.d.ts +21 -0
- package/dist/models/GetAttributePassingSettingRequest.js +58 -0
- package/dist/models/GetAttributePassingSettingRequest.js.map +1 -0
- package/dist/models/GetAttributePassingSettingResponse.d.ts +19 -0
- package/dist/models/GetAttributePassingSettingResponse.js +69 -0
- package/dist/models/GetAttributePassingSettingResponse.js.map +1 -0
- package/dist/models/GetAttributePassingSettingResponseBody.d.ts +50 -0
- package/dist/models/GetAttributePassingSettingResponseBody.js +82 -0
- package/dist/models/GetAttributePassingSettingResponseBody.js.map +1 -0
- 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/UpdateAttributePassingSettingRequest.d.ts +35 -0
- package/dist/models/UpdateAttributePassingSettingRequest.js +60 -0
- package/dist/models/UpdateAttributePassingSettingRequest.js.map +1 -0
- package/dist/models/UpdateAttributePassingSettingResponse.d.ts +19 -0
- package/dist/models/UpdateAttributePassingSettingResponse.js +69 -0
- package/dist/models/UpdateAttributePassingSettingResponse.js.map +1 -0
- package/dist/models/UpdateAttributePassingSettingResponseBody.d.ts +21 -0
- package/dist/models/UpdateAttributePassingSettingResponseBody.js +58 -0
- package/dist/models/UpdateAttributePassingSettingResponseBody.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 +19 -0
- package/dist/models/model.js +45 -7
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +446 -186
- 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/GetAttributePassingSettingRequest.ts +34 -0
- package/src/models/GetAttributePassingSettingResponse.ts +40 -0
- package/src/models/GetAttributePassingSettingResponseBody.ts +78 -0
- 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/UpdateAttributePassingSettingRequest.ts +50 -0
- package/src/models/UpdateAttributePassingSettingResponse.ts +40 -0
- package/src/models/UpdateAttributePassingSettingResponseBody.ts +34 -0
- package/src/models/UpdateScimserverCredentialStatusRequest.ts +4 -5
- package/src/models/UpdateScimserverCredentialStatusResponseBody.ts +6 -7
- package/src/models/model.ts +19 -0
|
@@ -21,7 +21,7 @@ export class ListTasksResponseBodyTasks extends $dara.Model {
|
|
|
21
21
|
accessConfigurationName?: string;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* The end time of the task.
|
|
24
|
+
* The end time of the task. The time is displayed in UTC and follows the RFC 3339 standard in the YYYY-MM-DDTHH:mm:ssZ format.
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
27
|
* 2021-11-09T05:50:50Z
|
|
@@ -29,15 +29,18 @@ export class ListTasksResponseBodyTasks extends $dara.Model {
|
|
|
29
29
|
endTime?: string;
|
|
30
30
|
/**
|
|
31
31
|
* @remarks
|
|
32
|
-
* The
|
|
32
|
+
* The reason why the task failed.
|
|
33
33
|
*
|
|
34
|
-
* > This parameter is returned only
|
|
34
|
+
* > This parameter is returned only if Status is set to Failed.
|
|
35
35
|
*
|
|
36
36
|
* @example
|
|
37
37
|
* No Permission.
|
|
38
38
|
*/
|
|
39
39
|
failureReason?: string;
|
|
40
40
|
/**
|
|
41
|
+
* @remarks
|
|
42
|
+
* The ID of the Alibaba Cloud account to which the authorization target belongs.
|
|
43
|
+
*
|
|
41
44
|
* @example
|
|
42
45
|
* 114240524784****
|
|
43
46
|
*/
|
|
@@ -62,9 +65,8 @@ export class ListTasksResponseBodyTasks extends $dara.Model {
|
|
|
62
65
|
* @remarks
|
|
63
66
|
* The type of the CloudSSO identity. Valid values:
|
|
64
67
|
*
|
|
65
|
-
* - User
|
|
66
|
-
*
|
|
67
|
-
* - Group
|
|
68
|
+
* - User: The CloudSSO user.
|
|
69
|
+
* - Group: The CloudSSO group.
|
|
68
70
|
*
|
|
69
71
|
* @example
|
|
70
72
|
* User
|
|
@@ -72,7 +74,7 @@ export class ListTasksResponseBodyTasks extends $dara.Model {
|
|
|
72
74
|
principalType?: string;
|
|
73
75
|
/**
|
|
74
76
|
* @remarks
|
|
75
|
-
* The start time of the task.
|
|
77
|
+
* The start time of the task. The time is displayed in UTC and follows the RFC 3339 standard in the YYYY-MM-DDTHH:mm:ssZ format.
|
|
76
78
|
*
|
|
77
79
|
* @example
|
|
78
80
|
* 2021-11-09T05:50:50Z
|
|
@@ -80,12 +82,10 @@ export class ListTasksResponseBodyTasks extends $dara.Model {
|
|
|
80
82
|
startTime?: string;
|
|
81
83
|
/**
|
|
82
84
|
* @remarks
|
|
83
|
-
* The task
|
|
85
|
+
* The status of the task. Valid values:
|
|
84
86
|
*
|
|
85
87
|
* - InProgress: The task is running.
|
|
86
|
-
*
|
|
87
|
-
* - Success: The task is successful.
|
|
88
|
-
*
|
|
88
|
+
* - Success: The task succeeded.
|
|
89
89
|
* - Failed: The task failed.
|
|
90
90
|
*
|
|
91
91
|
* @example
|
|
@@ -94,7 +94,7 @@ export class ListTasksResponseBodyTasks extends $dara.Model {
|
|
|
94
94
|
status?: string;
|
|
95
95
|
/**
|
|
96
96
|
* @remarks
|
|
97
|
-
* The ID of the task
|
|
97
|
+
* The ID of the task target.
|
|
98
98
|
*
|
|
99
99
|
* @example
|
|
100
100
|
* 114240524784****
|
|
@@ -102,7 +102,7 @@ export class ListTasksResponseBodyTasks extends $dara.Model {
|
|
|
102
102
|
targetId?: string;
|
|
103
103
|
/**
|
|
104
104
|
* @remarks
|
|
105
|
-
* The name of the task
|
|
105
|
+
* The name of the task target.
|
|
106
106
|
*
|
|
107
107
|
* @example
|
|
108
108
|
* dev-test
|
|
@@ -110,19 +110,21 @@ export class ListTasksResponseBodyTasks extends $dara.Model {
|
|
|
110
110
|
targetName?: string;
|
|
111
111
|
/**
|
|
112
112
|
* @remarks
|
|
113
|
-
* The path ID of the task
|
|
113
|
+
* The path ID of the task target in the resource directory.
|
|
114
114
|
*/
|
|
115
115
|
targetPath?: string;
|
|
116
116
|
/**
|
|
117
117
|
* @remarks
|
|
118
|
-
* The path name of the task
|
|
118
|
+
* The path name of the task target in the resource directory.
|
|
119
119
|
*/
|
|
120
120
|
targetPathName?: string;
|
|
121
121
|
/**
|
|
122
122
|
* @remarks
|
|
123
|
-
* The type of the task
|
|
123
|
+
* The type of the task target.
|
|
124
124
|
*
|
|
125
|
-
*
|
|
125
|
+
* Valid values:
|
|
126
|
+
*
|
|
127
|
+
* - RD-Account: The task target is an account in a resource directory.
|
|
126
128
|
*
|
|
127
129
|
* @example
|
|
128
130
|
* RD-Account
|
|
@@ -130,7 +132,7 @@ export class ListTasksResponseBodyTasks extends $dara.Model {
|
|
|
130
132
|
targetType?: string;
|
|
131
133
|
/**
|
|
132
134
|
* @remarks
|
|
133
|
-
* The ID of the
|
|
135
|
+
* The ID of the task.
|
|
134
136
|
*
|
|
135
137
|
* @example
|
|
136
138
|
* t-sh5k4gesm6twlrqb****
|
|
@@ -138,15 +140,12 @@ export class ListTasksResponseBodyTasks extends $dara.Model {
|
|
|
138
140
|
taskId?: string;
|
|
139
141
|
/**
|
|
140
142
|
* @remarks
|
|
141
|
-
* The
|
|
142
|
-
*
|
|
143
|
-
* - ProvisionAccessConfiguration: An access configuration is provisioned.
|
|
144
|
-
*
|
|
145
|
-
* - DeprovisionAccessConfiguration: An access configuration is de-provisioned.
|
|
143
|
+
* The type of the node. Valid values:
|
|
146
144
|
*
|
|
147
|
-
* -
|
|
148
|
-
*
|
|
149
|
-
* -
|
|
145
|
+
* - ProvisionAccessConfiguration: Access configuration deployment.
|
|
146
|
+
* - DeprovisionAccessConfiguration: Removes access configuration provisioning.
|
|
147
|
+
* - CreateAccessAssignment: Grants authorization to an account in a resource directory.
|
|
148
|
+
* - DeleteAccessAssignment: Removes authorization from an account in a resource directory.
|
|
150
149
|
*
|
|
151
150
|
* @example
|
|
152
151
|
* CreateAccessAssignment
|
|
@@ -208,11 +207,10 @@ export class ListTasksResponseBodyTasks extends $dara.Model {
|
|
|
208
207
|
export class ListTasksResponseBody extends $dara.Model {
|
|
209
208
|
/**
|
|
210
209
|
* @remarks
|
|
211
|
-
* Indicates whether the
|
|
212
|
-
*
|
|
213
|
-
* - true
|
|
210
|
+
* Indicates whether the returned results are truncated. Valid values:
|
|
214
211
|
*
|
|
215
|
-
* -
|
|
212
|
+
* - true: The returned results are truncated.
|
|
213
|
+
* - false: The returned results are not truncated.
|
|
216
214
|
*
|
|
217
215
|
* @example
|
|
218
216
|
* false
|
|
@@ -220,7 +218,7 @@ export class ListTasksResponseBody extends $dara.Model {
|
|
|
220
218
|
isTruncated?: boolean;
|
|
221
219
|
/**
|
|
222
220
|
* @remarks
|
|
223
|
-
* The maximum number of entries returned
|
|
221
|
+
* The maximum number of entries returned on each page.
|
|
224
222
|
*
|
|
225
223
|
* @example
|
|
226
224
|
* 10
|
|
@@ -228,9 +226,9 @@ export class ListTasksResponseBody extends $dara.Model {
|
|
|
228
226
|
maxResults?: number;
|
|
229
227
|
/**
|
|
230
228
|
* @remarks
|
|
231
|
-
* The
|
|
229
|
+
* The token used to return the next page of the query results.
|
|
232
230
|
*
|
|
233
|
-
* > This parameter is returned only
|
|
231
|
+
* > This parameter is returned only if IsTruncated is set to true.
|
|
234
232
|
*
|
|
235
233
|
* @example
|
|
236
234
|
* K1c3o9K7pFxoTtxH1Nm7MMLb7zrDGvftYBQBPDVv7AD3a8yhRb3Mk8L9ivmN6bFSjfkZNTAg3h4****
|
|
@@ -238,7 +236,7 @@ export class ListTasksResponseBody extends $dara.Model {
|
|
|
238
236
|
nextToken?: string;
|
|
239
237
|
/**
|
|
240
238
|
* @remarks
|
|
241
|
-
* The request
|
|
239
|
+
* The ID of the request.
|
|
242
240
|
*
|
|
243
241
|
* @example
|
|
244
242
|
* C0DA2DFC-EB18-59EF-BD82-C30862EBA3A3
|
|
@@ -246,12 +244,12 @@ export class ListTasksResponseBody extends $dara.Model {
|
|
|
246
244
|
requestId?: string;
|
|
247
245
|
/**
|
|
248
246
|
* @remarks
|
|
249
|
-
* The tasks.
|
|
247
|
+
* The list of tasks.
|
|
250
248
|
*/
|
|
251
249
|
tasks?: ListTasksResponseBodyTasks[];
|
|
252
250
|
/**
|
|
253
251
|
* @remarks
|
|
254
|
-
* The total number of entries
|
|
252
|
+
* The total number of entries that meet the conditional request parameter.
|
|
255
253
|
*
|
|
256
254
|
* @example
|
|
257
255
|
* 1
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ProvisionAccessConfigurationRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The
|
|
8
|
+
* The access configuration ID.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* ac-00jhtfl8thteu6uj****
|
|
@@ -20,13 +20,16 @@ export class ProvisionAccessConfigurationRequest extends $dara.Model {
|
|
|
20
20
|
*/
|
|
21
21
|
directoryId?: string;
|
|
22
22
|
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The ID of the Alibaba Cloud account to which the deployment target belongs.
|
|
25
|
+
*
|
|
23
26
|
* @example
|
|
24
27
|
* 114240524784****
|
|
25
28
|
*/
|
|
26
29
|
originTargetId?: string;
|
|
27
30
|
/**
|
|
28
31
|
* @remarks
|
|
29
|
-
* The ID of the task
|
|
32
|
+
* The ID of the task target.
|
|
30
33
|
*
|
|
31
34
|
* @example
|
|
32
35
|
* 114240524784****
|
|
@@ -34,7 +37,8 @@ export class ProvisionAccessConfigurationRequest extends $dara.Model {
|
|
|
34
37
|
targetId?: string;
|
|
35
38
|
/**
|
|
36
39
|
* @remarks
|
|
37
|
-
* The type of the task
|
|
40
|
+
* The target type of the task. Valid values:
|
|
41
|
+
* - RD-Account: The task target is an account in a resource directory.
|
|
38
42
|
*
|
|
39
43
|
* @example
|
|
40
44
|
* RD-Account
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ProvisionAccessConfigurationResponseBodyTasks extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The
|
|
8
|
+
* The access configuration ID.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* ac-00jhtfl8thteu6uj****
|
|
@@ -20,18 +20,19 @@ export class ProvisionAccessConfigurationResponseBodyTasks extends $dara.Model {
|
|
|
20
20
|
*/
|
|
21
21
|
accessConfigurationName?: string;
|
|
22
22
|
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The ID of the Alibaba Cloud account to which the deployment target belongs.
|
|
25
|
+
*
|
|
23
26
|
* @example
|
|
24
27
|
* 114240524784****
|
|
25
28
|
*/
|
|
26
29
|
originTargetId?: string;
|
|
27
30
|
/**
|
|
28
31
|
* @remarks
|
|
29
|
-
* The task
|
|
30
|
-
*
|
|
31
|
-
* - InProgress: The task is running.
|
|
32
|
-
*
|
|
33
|
-
* - Success: The task is successful.
|
|
32
|
+
* The status of the task. Valid values:
|
|
34
33
|
*
|
|
34
|
+
* - InProgress: The task is in progress.
|
|
35
|
+
* - Success: The task succeeded.
|
|
35
36
|
* - Failed: The task failed.
|
|
36
37
|
*
|
|
37
38
|
* @example
|
|
@@ -40,7 +41,7 @@ export class ProvisionAccessConfigurationResponseBodyTasks extends $dara.Model {
|
|
|
40
41
|
status?: string;
|
|
41
42
|
/**
|
|
42
43
|
* @remarks
|
|
43
|
-
* The ID of the
|
|
44
|
+
* The ID of the deployment target.
|
|
44
45
|
*
|
|
45
46
|
* @example
|
|
46
47
|
* 114240524784****
|
|
@@ -48,7 +49,7 @@ export class ProvisionAccessConfigurationResponseBodyTasks extends $dara.Model {
|
|
|
48
49
|
targetId?: string;
|
|
49
50
|
/**
|
|
50
51
|
* @remarks
|
|
51
|
-
* The name of the task
|
|
52
|
+
* The name of the task target.
|
|
52
53
|
*
|
|
53
54
|
* @example
|
|
54
55
|
* dev-test
|
|
@@ -56,17 +57,18 @@ export class ProvisionAccessConfigurationResponseBodyTasks extends $dara.Model {
|
|
|
56
57
|
targetName?: string;
|
|
57
58
|
/**
|
|
58
59
|
* @remarks
|
|
59
|
-
* The path ID of the task
|
|
60
|
+
* The path ID of the task target in the resource directory.
|
|
60
61
|
*/
|
|
61
62
|
targetPath?: string;
|
|
62
63
|
/**
|
|
63
64
|
* @remarks
|
|
64
|
-
* The path name of the task
|
|
65
|
+
* The path name of the task target in the resource directory.
|
|
65
66
|
*/
|
|
66
67
|
targetPathName?: string;
|
|
67
68
|
/**
|
|
68
69
|
* @remarks
|
|
69
|
-
* The type of the task
|
|
70
|
+
* The target type of the task. Valid values:
|
|
71
|
+
* - RD-Account: The task target is an account in a resource directory.
|
|
70
72
|
*
|
|
71
73
|
* @example
|
|
72
74
|
* RD-Account
|
|
@@ -82,7 +84,8 @@ export class ProvisionAccessConfigurationResponseBodyTasks extends $dara.Model {
|
|
|
82
84
|
taskId?: string;
|
|
83
85
|
/**
|
|
84
86
|
* @remarks
|
|
85
|
-
* The task type.
|
|
87
|
+
* The task type. Valid values:
|
|
88
|
+
* - ProvisionAccessConfiguration: The task provisions an access configuration.
|
|
86
89
|
*
|
|
87
90
|
* @example
|
|
88
91
|
* ProvisionAccessConfiguration
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ResetUserPasswordRequest 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,11 +13,10 @@ export class ResetUserPasswordRequest extends $dara.Model {
|
|
|
13
13
|
directoryId?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* Specifies whether to
|
|
16
|
+
* Specifies whether to automatically generate a password. Valid values:
|
|
17
17
|
*
|
|
18
|
-
* - True: The
|
|
19
|
-
*
|
|
20
|
-
* - False: The new password must be manually specified. This is the default value.
|
|
18
|
+
* - True: The password is automatically generated.
|
|
19
|
+
* - False (default): The password is manually specified.
|
|
21
20
|
*
|
|
22
21
|
* @example
|
|
23
22
|
* True
|
|
@@ -27,11 +26,11 @@ export class ResetUserPasswordRequest extends $dara.Model {
|
|
|
27
26
|
* @remarks
|
|
28
27
|
* The new password.
|
|
29
28
|
*
|
|
30
|
-
* The password must contain
|
|
29
|
+
* Format: The password must contain at least one uppercase letter, one lowercase letter, one digit, and one special character.
|
|
31
30
|
*
|
|
32
|
-
*
|
|
31
|
+
* Length: 8 to 32 characters.
|
|
33
32
|
*
|
|
34
|
-
* > If
|
|
33
|
+
* > If GenerateRandomPassword is set to False, you must specify Password.
|
|
35
34
|
*
|
|
36
35
|
* @example
|
|
37
36
|
* uc)XK$?ictf72CKFDy9vtWaFmISl****
|
|
@@ -39,11 +38,10 @@ export class ResetUserPasswordRequest extends $dara.Model {
|
|
|
39
38
|
password?: string;
|
|
40
39
|
/**
|
|
41
40
|
* @remarks
|
|
42
|
-
* Specifies whether
|
|
43
|
-
*
|
|
44
|
-
* - True: Password reset is required upon the next logon.
|
|
41
|
+
* Specifies whether the user must reset the password upon the next logon. Valid values:
|
|
45
42
|
*
|
|
46
|
-
* -
|
|
43
|
+
* - True: The user must reset the password.
|
|
44
|
+
* - False (default): The user does not need to reset the password.
|
|
47
45
|
*
|
|
48
46
|
* @example
|
|
49
47
|
* False
|
|
@@ -51,7 +49,7 @@ export class ResetUserPasswordRequest extends $dara.Model {
|
|
|
51
49
|
requirePasswordResetForNextLogin?: boolean;
|
|
52
50
|
/**
|
|
53
51
|
* @remarks
|
|
54
|
-
* The ID
|
|
52
|
+
* The user ID.
|
|
55
53
|
*
|
|
56
54
|
* @example
|
|
57
55
|
* u-00q8wbq42wiltcrk****
|
|
@@ -7,7 +7,7 @@ export class ResetUserPasswordResponseBody extends $dara.Model {
|
|
|
7
7
|
* @remarks
|
|
8
8
|
* The new password.
|
|
9
9
|
*
|
|
10
|
-
* > This parameter is returned only when the
|
|
10
|
+
* > This parameter is returned only when the password is automatically generated by the system.
|
|
11
11
|
*
|
|
12
12
|
* @example
|
|
13
13
|
* W2koInFIm0Wy2wVZ$oB)MzD$nY!G****
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class TagResourcesRequestTag extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The tag key.
|
|
9
|
+
*
|
|
10
|
+
* >
|
|
11
|
+
* > - - The key cannot start with aliyun or acs: (case-insensitive).
|
|
12
|
+
* > - - The key cannot contain http:// or https:// (case-insensitive).
|
|
13
|
+
* > - - The key cannot be an empty string.
|
|
14
|
+
*
|
|
15
|
+
* This parameter is required.
|
|
16
|
+
*
|
|
17
|
+
* @example
|
|
18
|
+
* key
|
|
19
|
+
*/
|
|
20
|
+
key?: string;
|
|
21
|
+
/**
|
|
22
|
+
* @remarks
|
|
23
|
+
* The tag value.
|
|
24
|
+
* >
|
|
25
|
+
* > - - The value cannot contain http:// or https:// (case-insensitive).
|
|
26
|
+
* > - - The value cannot be an empty string.
|
|
27
|
+
*
|
|
28
|
+
* This parameter is required.
|
|
29
|
+
*
|
|
30
|
+
* @example
|
|
31
|
+
* value
|
|
32
|
+
*/
|
|
33
|
+
value?: string;
|
|
34
|
+
static names(): { [key: string]: string } {
|
|
35
|
+
return {
|
|
36
|
+
key: 'Key',
|
|
37
|
+
value: 'Value',
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
static types(): { [key: string]: any } {
|
|
42
|
+
return {
|
|
43
|
+
key: 'string',
|
|
44
|
+
value: 'string',
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
validate() {
|
|
49
|
+
super.validate();
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
constructor(map?: { [key: string]: any }) {
|
|
53
|
+
super(map);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
export class TagResourcesRequest extends $dara.Model {
|
|
58
|
+
/**
|
|
59
|
+
* @remarks
|
|
60
|
+
* The directory ID.
|
|
61
|
+
*
|
|
62
|
+
* @example
|
|
63
|
+
* d-00fc2p61****
|
|
64
|
+
*/
|
|
65
|
+
directoryId?: string;
|
|
66
|
+
/**
|
|
67
|
+
* @remarks
|
|
68
|
+
* The list of resource IDs. You can specify up to 50 resource IDs in a single call.
|
|
69
|
+
* >
|
|
70
|
+
* > - Supported resource types include users and access configurations:
|
|
71
|
+
* > - - If the resource type is user, specify the user ID.
|
|
72
|
+
* > - - If the resource type is access configuration, specify the access configuration ID.
|
|
73
|
+
*
|
|
74
|
+
* <notice>If the directory ID parameter is not specified, you must add the prefix "${DirectoryId}_" to the resource ID.</notice>
|
|
75
|
+
*
|
|
76
|
+
* This parameter is required.
|
|
77
|
+
*/
|
|
78
|
+
resourceId?: string[];
|
|
79
|
+
/**
|
|
80
|
+
* @remarks
|
|
81
|
+
* The resource type. Users and access configurations are supported.
|
|
82
|
+
*
|
|
83
|
+
* - If the resource type is user, set the value to user.
|
|
84
|
+
*
|
|
85
|
+
* - If the resource type is access configuration, set the value to accessConfiguration.
|
|
86
|
+
*
|
|
87
|
+
* This parameter is required.
|
|
88
|
+
*
|
|
89
|
+
* @example
|
|
90
|
+
* user
|
|
91
|
+
*/
|
|
92
|
+
resourceType?: string;
|
|
93
|
+
/**
|
|
94
|
+
* @remarks
|
|
95
|
+
* The list of tags. You can add up to 20 tags in a single call.
|
|
96
|
+
*
|
|
97
|
+
* This parameter is required.
|
|
98
|
+
*/
|
|
99
|
+
tag?: TagResourcesRequestTag[];
|
|
100
|
+
static names(): { [key: string]: string } {
|
|
101
|
+
return {
|
|
102
|
+
directoryId: 'DirectoryId',
|
|
103
|
+
resourceId: 'ResourceId',
|
|
104
|
+
resourceType: 'ResourceType',
|
|
105
|
+
tag: 'Tag',
|
|
106
|
+
};
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
static types(): { [key: string]: any } {
|
|
110
|
+
return {
|
|
111
|
+
directoryId: 'string',
|
|
112
|
+
resourceId: { 'type': 'array', 'itemType': 'string' },
|
|
113
|
+
resourceType: 'string',
|
|
114
|
+
tag: { 'type': 'array', 'itemType': TagResourcesRequestTag },
|
|
115
|
+
};
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
validate() {
|
|
119
|
+
if(Array.isArray(this.resourceId)) {
|
|
120
|
+
$dara.Model.validateArray(this.resourceId);
|
|
121
|
+
}
|
|
122
|
+
if(Array.isArray(this.tag)) {
|
|
123
|
+
$dara.Model.validateArray(this.tag);
|
|
124
|
+
}
|
|
125
|
+
super.validate();
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
constructor(map?: { [key: string]: any }) {
|
|
129
|
+
super(map);
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { TagResourcesResponseBody } from "./TagResourcesResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class TagResourcesResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: TagResourcesResponseBody;
|
|
10
|
+
static names(): { [key: string]: string } {
|
|
11
|
+
return {
|
|
12
|
+
headers: 'headers',
|
|
13
|
+
statusCode: 'statusCode',
|
|
14
|
+
body: 'body',
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
static types(): { [key: string]: any } {
|
|
19
|
+
return {
|
|
20
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
21
|
+
statusCode: 'number',
|
|
22
|
+
body: TagResourcesResponseBody,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
if(this.headers) {
|
|
28
|
+
$dara.Model.validateMap(this.headers);
|
|
29
|
+
}
|
|
30
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
31
|
+
(this.body as any).validate();
|
|
32
|
+
}
|
|
33
|
+
super.validate();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
constructor(map?: { [key: string]: any }) {
|
|
37
|
+
super(map);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class TagResourcesResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The request ID.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* B182C041-8C64-5F2F-A07B-FC67FAF89CF9
|
|
12
|
+
*/
|
|
13
|
+
requestId?: string;
|
|
14
|
+
static names(): { [key: string]: string } {
|
|
15
|
+
return {
|
|
16
|
+
requestId: 'RequestId',
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
static types(): { [key: string]: any } {
|
|
21
|
+
return {
|
|
22
|
+
requestId: 'string',
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
super.validate();
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
constructor(map?: { [key: string]: any }) {
|
|
31
|
+
super(map);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class UntagResourcesRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* Specifies whether to remove all tags. This parameter takes effect only when the list of tag keys is empty.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* true
|
|
12
|
+
*/
|
|
13
|
+
all?: boolean;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The directory ID.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* d-00fc2p61****
|
|
20
|
+
*/
|
|
21
|
+
directoryId?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The list of resource IDs. You can specify up to 50 resource IDs in a single call.
|
|
25
|
+
* >
|
|
26
|
+
* > - Supported resource types include users and access configurations:
|
|
27
|
+
* > - - If the resource type is user, specify the user ID.
|
|
28
|
+
* > - - If the resource type is access configuration, specify the access configuration ID.
|
|
29
|
+
*
|
|
30
|
+
* <notice>If the DirectoryId parameter is not specified, you must add the prefix "${DirectoryId}_" to the resource ID.</notice>
|
|
31
|
+
*
|
|
32
|
+
* This parameter is required.
|
|
33
|
+
*/
|
|
34
|
+
resourceId?: string[];
|
|
35
|
+
/**
|
|
36
|
+
* @remarks
|
|
37
|
+
* The resource type. Users and access configurations are supported. Valid values:
|
|
38
|
+
* - user: user
|
|
39
|
+
* - accessConfiguration: access configuration
|
|
40
|
+
*
|
|
41
|
+
* This parameter is required.
|
|
42
|
+
*
|
|
43
|
+
* @example
|
|
44
|
+
* user
|
|
45
|
+
*/
|
|
46
|
+
resourceType?: string;
|
|
47
|
+
/**
|
|
48
|
+
* @remarks
|
|
49
|
+
* The list of tag keys. You can specify up to 20 tag keys in a single call.
|
|
50
|
+
*/
|
|
51
|
+
tagKey?: string[];
|
|
52
|
+
static names(): { [key: string]: string } {
|
|
53
|
+
return {
|
|
54
|
+
all: 'All',
|
|
55
|
+
directoryId: 'DirectoryId',
|
|
56
|
+
resourceId: 'ResourceId',
|
|
57
|
+
resourceType: 'ResourceType',
|
|
58
|
+
tagKey: 'TagKey',
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
static types(): { [key: string]: any } {
|
|
63
|
+
return {
|
|
64
|
+
all: 'boolean',
|
|
65
|
+
directoryId: 'string',
|
|
66
|
+
resourceId: { 'type': 'array', 'itemType': 'string' },
|
|
67
|
+
resourceType: 'string',
|
|
68
|
+
tagKey: { 'type': 'array', 'itemType': 'string' },
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
validate() {
|
|
73
|
+
if(Array.isArray(this.resourceId)) {
|
|
74
|
+
$dara.Model.validateArray(this.resourceId);
|
|
75
|
+
}
|
|
76
|
+
if(Array.isArray(this.tagKey)) {
|
|
77
|
+
$dara.Model.validateArray(this.tagKey);
|
|
78
|
+
}
|
|
79
|
+
super.validate();
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
constructor(map?: { [key: string]: any }) {
|
|
83
|
+
super(map);
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
|