@alicloud/eiam20211201 2.17.7 → 2.17.8
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 +6 -6
- package/dist/client.js +13 -10
- package/dist/client.js.map +1 -1
- package/dist/models/CreateAuthorizationRuleRequest.d.ts +11 -2
- package/dist/models/CreateAuthorizationRuleRequest.js +2 -0
- package/dist/models/CreateAuthorizationRuleRequest.js.map +1 -1
- package/dist/models/GetAuthorizationRuleRequest.d.ts +2 -2
- package/dist/models/GetAuthorizationRuleResponseBody.d.ts +30 -35
- package/dist/models/GetAuthorizationRuleResponseBody.js +2 -0
- package/dist/models/GetAuthorizationRuleResponseBody.js.map +1 -1
- package/dist/models/GetCloudAccountResponseBody.d.ts +47 -0
- package/dist/models/GetCloudAccountResponseBody.js +38 -1
- package/dist/models/GetCloudAccountResponseBody.js.map +1 -1
- package/dist/models/GetCloudAccountRoleResponseBody.d.ts +4 -3
- package/dist/models/GetCloudAccountRoleResponseBody.js +2 -0
- package/dist/models/GetCloudAccountRoleResponseBody.js.map +1 -1
- package/dist/models/ListAuthorizationRulesRequest.d.ts +9 -10
- package/dist/models/ListAuthorizationRulesRequest.js.map +1 -1
- package/dist/models/ListAuthorizationRulesResponseBody.d.ts +30 -35
- package/dist/models/ListAuthorizationRulesResponseBody.js +2 -0
- package/dist/models/ListAuthorizationRulesResponseBody.js.map +1 -1
- package/dist/models/ListCloudAccountRolesResponseBody.d.ts +17 -16
- package/dist/models/ListCloudAccountRolesResponseBody.js +2 -0
- package/dist/models/ListCloudAccountRolesResponseBody.js.map +1 -1
- package/dist/models/ListCloudAccountsRequest.d.ts +7 -7
- package/dist/models/ListCloudAccountsResponseBody.d.ts +55 -9
- package/dist/models/ListCloudAccountsResponseBody.js +36 -1
- package/dist/models/ListCloudAccountsResponseBody.js.map +1 -1
- package/dist/models/RemoveGroupFromAuthorizationRuleRequest.d.ts +1 -1
- package/dist/models/model.d.ts +2 -0
- package/dist/models/model.js +39 -35
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +14 -10
- package/src/models/CreateAuthorizationRuleRequest.ts +13 -2
- package/src/models/GetAuthorizationRuleRequest.ts +2 -2
- package/src/models/GetAuthorizationRuleResponseBody.ts +32 -35
- package/src/models/GetCloudAccountResponseBody.ts +75 -0
- package/src/models/GetCloudAccountRoleResponseBody.ts +6 -3
- package/src/models/ListAuthorizationRulesRequest.ts +9 -10
- package/src/models/ListAuthorizationRulesResponseBody.ts +32 -35
- package/src/models/ListCloudAccountRolesResponseBody.ts +19 -16
- package/src/models/ListCloudAccountsRequest.ts +7 -7
- package/src/models/ListCloudAccountsResponseBody.ts +81 -9
- package/src/models/RemoveGroupFromAuthorizationRuleRequest.ts +1 -1
- package/src/models/model.ts +2 -0
|
@@ -155,6 +155,40 @@ export class GetCloudAccountResponseBodyCloudAccountCloudAccountProviderConfig e
|
|
|
155
155
|
}
|
|
156
156
|
}
|
|
157
157
|
|
|
158
|
+
export class GetCloudAccountResponseBodyCloudAccountPrivilegeHostingError extends $dara.Model {
|
|
159
|
+
/**
|
|
160
|
+
* @remarks
|
|
161
|
+
* The failure error code.
|
|
162
|
+
*/
|
|
163
|
+
errorCode?: string;
|
|
164
|
+
/**
|
|
165
|
+
* @remarks
|
|
166
|
+
* The failure message.
|
|
167
|
+
*/
|
|
168
|
+
errorMessage?: string;
|
|
169
|
+
static names(): { [key: string]: string } {
|
|
170
|
+
return {
|
|
171
|
+
errorCode: 'ErrorCode',
|
|
172
|
+
errorMessage: 'ErrorMessage',
|
|
173
|
+
};
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
static types(): { [key: string]: any } {
|
|
177
|
+
return {
|
|
178
|
+
errorCode: 'string',
|
|
179
|
+
errorMessage: 'string',
|
|
180
|
+
};
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
validate() {
|
|
184
|
+
super.validate();
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
constructor(map?: { [key: string]: any }) {
|
|
188
|
+
super(map);
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
|
|
158
192
|
export class GetCloudAccountResponseBodyCloudAccount extends $dara.Model {
|
|
159
193
|
/**
|
|
160
194
|
* @remarks
|
|
@@ -209,6 +243,11 @@ export class GetCloudAccountResponseBodyCloudAccount extends $dara.Model {
|
|
|
209
243
|
* idaas-eiam-oidc-provider
|
|
210
244
|
*/
|
|
211
245
|
cloudAccountProviderName?: string;
|
|
246
|
+
cloudAccountRoleCreationType?: string;
|
|
247
|
+
/**
|
|
248
|
+
* @remarks
|
|
249
|
+
* The cloud account site.
|
|
250
|
+
*/
|
|
212
251
|
cloudAccountSite?: string;
|
|
213
252
|
/**
|
|
214
253
|
* @remarks
|
|
@@ -244,6 +283,26 @@ export class GetCloudAccountResponseBodyCloudAccount extends $dara.Model {
|
|
|
244
283
|
* idaas_ue2jvisn35ea5lmthk267xxxxx
|
|
245
284
|
*/
|
|
246
285
|
instanceId?: string;
|
|
286
|
+
/**
|
|
287
|
+
* @remarks
|
|
288
|
+
* The list of associated privilege application IDs.
|
|
289
|
+
*/
|
|
290
|
+
privilegeApplicationIds?: string[];
|
|
291
|
+
/**
|
|
292
|
+
* @remarks
|
|
293
|
+
* The reason for the privilege hosting or removal failure.
|
|
294
|
+
*/
|
|
295
|
+
privilegeHostingError?: GetCloudAccountResponseBodyCloudAccountPrivilegeHostingError;
|
|
296
|
+
/**
|
|
297
|
+
* @remarks
|
|
298
|
+
* The privilege hosting state, which indicates whether the privilege capability is available.
|
|
299
|
+
*/
|
|
300
|
+
privilegeHostingState?: string;
|
|
301
|
+
/**
|
|
302
|
+
* @remarks
|
|
303
|
+
* The privilege switch status, which indicates whether the privilege capability is enabled.
|
|
304
|
+
*/
|
|
305
|
+
privilegeStatus?: string;
|
|
247
306
|
/**
|
|
248
307
|
* @remarks
|
|
249
308
|
* The last update time. The value is a UNIX timestamp in milliseconds.
|
|
@@ -261,11 +320,16 @@ export class GetCloudAccountResponseBodyCloudAccount extends $dara.Model {
|
|
|
261
320
|
cloudAccountName: 'CloudAccountName',
|
|
262
321
|
cloudAccountProviderConfig: 'CloudAccountProviderConfig',
|
|
263
322
|
cloudAccountProviderName: 'CloudAccountProviderName',
|
|
323
|
+
cloudAccountRoleCreationType: 'CloudAccountRoleCreationType',
|
|
264
324
|
cloudAccountSite: 'CloudAccountSite',
|
|
265
325
|
cloudAccountVendorType: 'CloudAccountVendorType',
|
|
266
326
|
createTime: 'CreateTime',
|
|
267
327
|
description: 'Description',
|
|
268
328
|
instanceId: 'InstanceId',
|
|
329
|
+
privilegeApplicationIds: 'PrivilegeApplicationIds',
|
|
330
|
+
privilegeHostingError: 'PrivilegeHostingError',
|
|
331
|
+
privilegeHostingState: 'PrivilegeHostingState',
|
|
332
|
+
privilegeStatus: 'PrivilegeStatus',
|
|
269
333
|
updateTime: 'UpdateTime',
|
|
270
334
|
};
|
|
271
335
|
}
|
|
@@ -279,11 +343,16 @@ export class GetCloudAccountResponseBodyCloudAccount extends $dara.Model {
|
|
|
279
343
|
cloudAccountName: 'string',
|
|
280
344
|
cloudAccountProviderConfig: GetCloudAccountResponseBodyCloudAccountCloudAccountProviderConfig,
|
|
281
345
|
cloudAccountProviderName: 'string',
|
|
346
|
+
cloudAccountRoleCreationType: 'string',
|
|
282
347
|
cloudAccountSite: 'string',
|
|
283
348
|
cloudAccountVendorType: 'string',
|
|
284
349
|
createTime: 'number',
|
|
285
350
|
description: 'string',
|
|
286
351
|
instanceId: 'string',
|
|
352
|
+
privilegeApplicationIds: { 'type': 'array', 'itemType': 'string' },
|
|
353
|
+
privilegeHostingError: GetCloudAccountResponseBodyCloudAccountPrivilegeHostingError,
|
|
354
|
+
privilegeHostingState: 'string',
|
|
355
|
+
privilegeStatus: 'string',
|
|
287
356
|
updateTime: 'number',
|
|
288
357
|
};
|
|
289
358
|
}
|
|
@@ -295,6 +364,12 @@ export class GetCloudAccountResponseBodyCloudAccount extends $dara.Model {
|
|
|
295
364
|
if(this.cloudAccountProviderConfig && typeof (this.cloudAccountProviderConfig as any).validate === 'function') {
|
|
296
365
|
(this.cloudAccountProviderConfig as any).validate();
|
|
297
366
|
}
|
|
367
|
+
if(Array.isArray(this.privilegeApplicationIds)) {
|
|
368
|
+
$dara.Model.validateArray(this.privilegeApplicationIds);
|
|
369
|
+
}
|
|
370
|
+
if(this.privilegeHostingError && typeof (this.privilegeHostingError as any).validate === 'function') {
|
|
371
|
+
(this.privilegeHostingError as any).validate();
|
|
372
|
+
}
|
|
298
373
|
super.validate();
|
|
299
374
|
}
|
|
300
375
|
|
|
@@ -50,7 +50,7 @@ export class GetCloudAccountRoleResponseBodyCloudAccountRoleCloudAccountRoleHeal
|
|
|
50
50
|
errorReason?: GetCloudAccountRoleResponseBodyCloudAccountRoleCloudAccountRoleHealthCheckResultErrorReason;
|
|
51
51
|
/**
|
|
52
52
|
* @remarks
|
|
53
|
-
* The
|
|
53
|
+
* The last check time, in UNIX timestamp format. Unit: milliseconds.
|
|
54
54
|
*
|
|
55
55
|
* @example
|
|
56
56
|
* 1649830226000
|
|
@@ -105,6 +105,7 @@ export class GetCloudAccountRoleResponseBodyCloudAccountRole extends $dara.Model
|
|
|
105
105
|
* ca_01kmegjc11qa1txxxxx
|
|
106
106
|
*/
|
|
107
107
|
cloudAccountId?: string;
|
|
108
|
+
cloudAccountRoleCreationType?: string;
|
|
108
109
|
/**
|
|
109
110
|
* @remarks
|
|
110
111
|
* The cloud role identifier.
|
|
@@ -167,7 +168,7 @@ export class GetCloudAccountRoleResponseBodyCloudAccountRole extends $dara.Model
|
|
|
167
168
|
cloudAccountRoleUsageType?: string;
|
|
168
169
|
/**
|
|
169
170
|
* @remarks
|
|
170
|
-
* The creation time
|
|
171
|
+
* The creation time, in UNIX timestamp format. Unit: milliseconds.
|
|
171
172
|
*
|
|
172
173
|
* @example
|
|
173
174
|
* 1719320115000
|
|
@@ -201,7 +202,7 @@ export class GetCloudAccountRoleResponseBodyCloudAccountRole extends $dara.Model
|
|
|
201
202
|
status?: string;
|
|
202
203
|
/**
|
|
203
204
|
* @remarks
|
|
204
|
-
* The last update time
|
|
205
|
+
* The last update time, in UNIX timestamp format. Unit: milliseconds.
|
|
205
206
|
*
|
|
206
207
|
* @example
|
|
207
208
|
* 1649830227000
|
|
@@ -210,6 +211,7 @@ export class GetCloudAccountRoleResponseBodyCloudAccountRole extends $dara.Model
|
|
|
210
211
|
static names(): { [key: string]: string } {
|
|
211
212
|
return {
|
|
212
213
|
cloudAccountId: 'CloudAccountId',
|
|
214
|
+
cloudAccountRoleCreationType: 'CloudAccountRoleCreationType',
|
|
213
215
|
cloudAccountRoleExternalId: 'CloudAccountRoleExternalId',
|
|
214
216
|
cloudAccountRoleHealth: 'CloudAccountRoleHealth',
|
|
215
217
|
cloudAccountRoleHealthCheckResult: 'CloudAccountRoleHealthCheckResult',
|
|
@@ -228,6 +230,7 @@ export class GetCloudAccountRoleResponseBodyCloudAccountRole extends $dara.Model
|
|
|
228
230
|
static types(): { [key: string]: any } {
|
|
229
231
|
return {
|
|
230
232
|
cloudAccountId: 'string',
|
|
233
|
+
cloudAccountRoleCreationType: 'string',
|
|
231
234
|
cloudAccountRoleExternalId: 'string',
|
|
232
235
|
cloudAccountRoleHealth: 'string',
|
|
233
236
|
cloudAccountRoleHealthCheckResult: GetCloudAccountRoleResponseBodyCloudAccountRoleCloudAccountRoleHealthCheckResult,
|
|
@@ -5,11 +5,10 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ListAuthorizationRulesRequestFilter extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The name of the field
|
|
8
|
+
* The name of the filter field. Valid values:
|
|
9
9
|
*
|
|
10
|
-
* - AuthorizationRuleId: the
|
|
11
|
-
*
|
|
12
|
-
* - AuthorizationRuleNameStartWith: the leftmost characters of the authorization rule name.
|
|
10
|
+
* - AuthorizationRuleId: the authorization rule ID.
|
|
11
|
+
* - AuthorizationRuleNameStartWith: the prefix of the authorization rule name for fuzzy match.
|
|
13
12
|
*
|
|
14
13
|
* @example
|
|
15
14
|
* AuthorizationRuleId
|
|
@@ -17,7 +16,7 @@ export class ListAuthorizationRulesRequestFilter extends $dara.Model {
|
|
|
17
16
|
name?: string;
|
|
18
17
|
/**
|
|
19
18
|
* @remarks
|
|
20
|
-
* The
|
|
19
|
+
* The values of the filter field.
|
|
21
20
|
*/
|
|
22
21
|
value?: string[];
|
|
23
22
|
static names(): { [key: string]: string } {
|
|
@@ -54,7 +53,7 @@ export class ListAuthorizationRulesRequest extends $dara.Model {
|
|
|
54
53
|
filter?: ListAuthorizationRulesRequestFilter[];
|
|
55
54
|
/**
|
|
56
55
|
* @remarks
|
|
57
|
-
* The ID
|
|
56
|
+
* The instance ID.
|
|
58
57
|
*
|
|
59
58
|
* This parameter is required.
|
|
60
59
|
*
|
|
@@ -64,9 +63,9 @@ export class ListAuthorizationRulesRequest extends $dara.Model {
|
|
|
64
63
|
instanceId?: string;
|
|
65
64
|
/**
|
|
66
65
|
* @remarks
|
|
67
|
-
* The maximum number of
|
|
66
|
+
* The maximum number of records per page.
|
|
68
67
|
*
|
|
69
|
-
* - If
|
|
68
|
+
* - If this parameter is not specified, the default value is 20.
|
|
70
69
|
*
|
|
71
70
|
* - The maximum value is 100.
|
|
72
71
|
*
|
|
@@ -76,9 +75,9 @@ export class ListAuthorizationRulesRequest extends $dara.Model {
|
|
|
76
75
|
maxResults?: number;
|
|
77
76
|
/**
|
|
78
77
|
* @remarks
|
|
79
|
-
* The token that
|
|
78
|
+
* The token that marks the starting position of the next page.
|
|
80
79
|
*
|
|
81
|
-
* - If
|
|
80
|
+
* - If this parameter is not specified, the query starts from the first page.
|
|
82
81
|
*
|
|
83
82
|
* @example
|
|
84
83
|
* NTxxxxxexample
|
|
@@ -5,11 +5,9 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ListAuthorizationRulesResponseBodyAuthorizationRules extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The
|
|
9
|
-
*
|
|
10
|
-
* -
|
|
11
|
-
*
|
|
12
|
-
* - custom: resources in a specific project
|
|
8
|
+
* The authorization resource scope. Valid values:
|
|
9
|
+
* - global: all resources under the project
|
|
10
|
+
* - custom: specified resources under the project
|
|
13
11
|
*
|
|
14
12
|
* @example
|
|
15
13
|
* global
|
|
@@ -17,11 +15,9 @@ export class ListAuthorizationRulesResponseBodyAuthorizationRules extends $dara.
|
|
|
17
15
|
authorizationResourceScope?: string;
|
|
18
16
|
/**
|
|
19
17
|
* @remarks
|
|
20
|
-
* The type of authorization rule
|
|
21
|
-
*
|
|
18
|
+
* The creation type of the authorization rule. Valid values:
|
|
22
19
|
* - system_init: created by the system
|
|
23
|
-
*
|
|
24
|
-
* - user_custom: created by a user
|
|
20
|
+
* - user_custom: created by the user
|
|
25
21
|
*
|
|
26
22
|
* @example
|
|
27
23
|
* user_custom
|
|
@@ -29,7 +25,7 @@ export class ListAuthorizationRulesResponseBodyAuthorizationRules extends $dara.
|
|
|
29
25
|
authorizationRuleCreationType?: string;
|
|
30
26
|
/**
|
|
31
27
|
* @remarks
|
|
32
|
-
* The
|
|
28
|
+
* The authorization rule ID.
|
|
33
29
|
*
|
|
34
30
|
* @example
|
|
35
31
|
* arrule_01kf143ug06fg7m9f43u7vahxxxx
|
|
@@ -37,7 +33,7 @@ export class ListAuthorizationRulesResponseBodyAuthorizationRules extends $dara.
|
|
|
37
33
|
authorizationRuleId?: string;
|
|
38
34
|
/**
|
|
39
35
|
* @remarks
|
|
40
|
-
* The
|
|
36
|
+
* The authorization rule name.
|
|
41
37
|
*
|
|
42
38
|
* @example
|
|
43
39
|
* test-name
|
|
@@ -45,7 +41,12 @@ export class ListAuthorizationRulesResponseBodyAuthorizationRules extends $dara.
|
|
|
45
41
|
authorizationRuleName?: string;
|
|
46
42
|
/**
|
|
47
43
|
* @remarks
|
|
48
|
-
* The
|
|
44
|
+
* The scenario label of the authorization rule.
|
|
45
|
+
*/
|
|
46
|
+
authorizationRuleScenarioLabel?: string;
|
|
47
|
+
/**
|
|
48
|
+
* @remarks
|
|
49
|
+
* The subject ID associated with the authorization rule.
|
|
49
50
|
*
|
|
50
51
|
* @example
|
|
51
52
|
* user_d6sbsuumeta4h66ec3il7yxxxx
|
|
@@ -53,11 +54,9 @@ export class ListAuthorizationRulesResponseBodyAuthorizationRules extends $dara.
|
|
|
53
54
|
authorizationRuleSubjectId?: string;
|
|
54
55
|
/**
|
|
55
56
|
* @remarks
|
|
56
|
-
* The scope of
|
|
57
|
-
*
|
|
58
|
-
* -
|
|
59
|
-
*
|
|
60
|
-
* - exclusive: applies only to a specific subject
|
|
57
|
+
* The subject scope of the authorization rule. Valid values:
|
|
58
|
+
* - shared: supports all subjects, including accounts and applications
|
|
59
|
+
* - exclusive: exclusive type
|
|
61
60
|
*
|
|
62
61
|
* @example
|
|
63
62
|
* shared
|
|
@@ -65,11 +64,9 @@ export class ListAuthorizationRulesResponseBodyAuthorizationRules extends $dara.
|
|
|
65
64
|
authorizationRuleSubjectScope?: string;
|
|
66
65
|
/**
|
|
67
66
|
* @remarks
|
|
68
|
-
* The type
|
|
69
|
-
*
|
|
70
|
-
* -
|
|
71
|
-
*
|
|
72
|
-
* - user
|
|
67
|
+
* The subject type associated with the authorization rule. This parameter takes effect only when the subject scope is exclusive. Valid values:
|
|
68
|
+
* - application: application
|
|
69
|
+
* - user: account
|
|
73
70
|
*
|
|
74
71
|
* @example
|
|
75
72
|
* user
|
|
@@ -77,7 +74,7 @@ export class ListAuthorizationRulesResponseBodyAuthorizationRules extends $dara.
|
|
|
77
74
|
authorizationRuleSubjectType?: string;
|
|
78
75
|
/**
|
|
79
76
|
* @remarks
|
|
80
|
-
* The time
|
|
77
|
+
* The creation time, in UNIX timestamp format, measured in milliseconds.
|
|
81
78
|
*
|
|
82
79
|
* @example
|
|
83
80
|
* 1652085686179
|
|
@@ -93,7 +90,7 @@ export class ListAuthorizationRulesResponseBodyAuthorizationRules extends $dara.
|
|
|
93
90
|
description?: string;
|
|
94
91
|
/**
|
|
95
92
|
* @remarks
|
|
96
|
-
* The ID
|
|
93
|
+
* The instance ID.
|
|
97
94
|
*
|
|
98
95
|
* @example
|
|
99
96
|
* idaas_ue2jvisn35ea5lmthk267xxxxx
|
|
@@ -101,7 +98,7 @@ export class ListAuthorizationRulesResponseBodyAuthorizationRules extends $dara.
|
|
|
101
98
|
instanceId?: string;
|
|
102
99
|
/**
|
|
103
100
|
* @remarks
|
|
104
|
-
* The ID
|
|
101
|
+
* The project ID associated with the authorization rule.
|
|
105
102
|
*
|
|
106
103
|
* @example
|
|
107
104
|
* iprj_system_default
|
|
@@ -109,11 +106,9 @@ export class ListAuthorizationRulesResponseBodyAuthorizationRules extends $dara.
|
|
|
109
106
|
projectId?: string;
|
|
110
107
|
/**
|
|
111
108
|
* @remarks
|
|
112
|
-
* The
|
|
113
|
-
*
|
|
114
|
-
* -
|
|
115
|
-
*
|
|
116
|
-
* - disabled
|
|
109
|
+
* The authorization rule status. Valid values:
|
|
110
|
+
* - enabled: enabled
|
|
111
|
+
* - disabled: disabled
|
|
117
112
|
*
|
|
118
113
|
* @example
|
|
119
114
|
* enabled
|
|
@@ -121,7 +116,7 @@ export class ListAuthorizationRulesResponseBodyAuthorizationRules extends $dara.
|
|
|
121
116
|
status?: string;
|
|
122
117
|
/**
|
|
123
118
|
* @remarks
|
|
124
|
-
* The
|
|
119
|
+
* The last update time, in UNIX timestamp format, measured in milliseconds.
|
|
125
120
|
*
|
|
126
121
|
* @example
|
|
127
122
|
* 1652085686179
|
|
@@ -133,6 +128,7 @@ export class ListAuthorizationRulesResponseBodyAuthorizationRules extends $dara.
|
|
|
133
128
|
authorizationRuleCreationType: 'AuthorizationRuleCreationType',
|
|
134
129
|
authorizationRuleId: 'AuthorizationRuleId',
|
|
135
130
|
authorizationRuleName: 'AuthorizationRuleName',
|
|
131
|
+
authorizationRuleScenarioLabel: 'AuthorizationRuleScenarioLabel',
|
|
136
132
|
authorizationRuleSubjectId: 'AuthorizationRuleSubjectId',
|
|
137
133
|
authorizationRuleSubjectScope: 'AuthorizationRuleSubjectScope',
|
|
138
134
|
authorizationRuleSubjectType: 'AuthorizationRuleSubjectType',
|
|
@@ -151,6 +147,7 @@ export class ListAuthorizationRulesResponseBodyAuthorizationRules extends $dara.
|
|
|
151
147
|
authorizationRuleCreationType: 'string',
|
|
152
148
|
authorizationRuleId: 'string',
|
|
153
149
|
authorizationRuleName: 'string',
|
|
150
|
+
authorizationRuleScenarioLabel: 'string',
|
|
154
151
|
authorizationRuleSubjectId: 'string',
|
|
155
152
|
authorizationRuleSubjectScope: 'string',
|
|
156
153
|
authorizationRuleSubjectType: 'string',
|
|
@@ -180,7 +177,7 @@ export class ListAuthorizationRulesResponseBody extends $dara.Model {
|
|
|
180
177
|
authorizationRules?: ListAuthorizationRulesResponseBodyAuthorizationRules[];
|
|
181
178
|
/**
|
|
182
179
|
* @remarks
|
|
183
|
-
* The number of entries per page.
|
|
180
|
+
* The number of entries per page in the paging query.
|
|
184
181
|
*
|
|
185
182
|
* @example
|
|
186
183
|
* 20
|
|
@@ -188,7 +185,7 @@ export class ListAuthorizationRulesResponseBody extends $dara.Model {
|
|
|
188
185
|
maxResults?: number;
|
|
189
186
|
/**
|
|
190
187
|
* @remarks
|
|
191
|
-
* The token returned
|
|
188
|
+
* The token returned for the next page query.
|
|
192
189
|
*
|
|
193
190
|
* @example
|
|
194
191
|
* NTxxxexample
|
|
@@ -196,7 +193,7 @@ export class ListAuthorizationRulesResponseBody extends $dara.Model {
|
|
|
196
193
|
nextToken?: string;
|
|
197
194
|
/**
|
|
198
195
|
* @remarks
|
|
199
|
-
* The ID
|
|
196
|
+
* The request ID.
|
|
200
197
|
*
|
|
201
198
|
* @example
|
|
202
199
|
* 0441BD79-92F3-53AA-8657-F8CE4A2B912A
|
|
@@ -204,7 +201,7 @@ export class ListAuthorizationRulesResponseBody extends $dara.Model {
|
|
|
204
201
|
requestId?: string;
|
|
205
202
|
/**
|
|
206
203
|
* @remarks
|
|
207
|
-
* The total number of entries
|
|
204
|
+
* The total number of entries returned.
|
|
208
205
|
*
|
|
209
206
|
* @example
|
|
210
207
|
* 100
|
|
@@ -13,7 +13,7 @@ export class ListCloudAccountRolesResponseBodyCloudAccountRolesCloudAccountRoleH
|
|
|
13
13
|
errorCode?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The error
|
|
16
|
+
* The error message.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* There is no permission.
|
|
@@ -50,7 +50,7 @@ export class ListCloudAccountRolesResponseBodyCloudAccountRolesCloudAccountRoleH
|
|
|
50
50
|
errorReason?: ListCloudAccountRolesResponseBodyCloudAccountRolesCloudAccountRoleHealthCheckResultErrorReason;
|
|
51
51
|
/**
|
|
52
52
|
* @remarks
|
|
53
|
-
* The last check
|
|
53
|
+
* The time of the last health check. The value is a UNIX timestamp in milliseconds.
|
|
54
54
|
*
|
|
55
55
|
* @example
|
|
56
56
|
* 1649830226000
|
|
@@ -59,8 +59,8 @@ export class ListCloudAccountRolesResponseBodyCloudAccountRolesCloudAccountRoleH
|
|
|
59
59
|
/**
|
|
60
60
|
* @remarks
|
|
61
61
|
* The health check result of the cloud role. Valid values:
|
|
62
|
-
* - success:
|
|
63
|
-
* - failed:
|
|
62
|
+
* - success: Success.
|
|
63
|
+
* - failed: Failed.
|
|
64
64
|
*
|
|
65
65
|
* @example
|
|
66
66
|
* success
|
|
@@ -103,6 +103,7 @@ export class ListCloudAccountRolesResponseBodyCloudAccountRoles extends $dara.Mo
|
|
|
103
103
|
* ca_01kmegjc11qa1txxxxx
|
|
104
104
|
*/
|
|
105
105
|
cloudAccountId?: string;
|
|
106
|
+
cloudAccountRoleCreationType?: string;
|
|
106
107
|
/**
|
|
107
108
|
* @remarks
|
|
108
109
|
* The cloud role identifier.
|
|
@@ -114,9 +115,9 @@ export class ListCloudAccountRolesResponseBodyCloudAccountRoles extends $dara.Mo
|
|
|
114
115
|
/**
|
|
115
116
|
* @remarks
|
|
116
117
|
* The health status of the cloud role. Valid values:
|
|
117
|
-
* - healthy:
|
|
118
|
-
* - unhealthy:
|
|
119
|
-
* - unknown:
|
|
118
|
+
* - healthy: Healthy.
|
|
119
|
+
* - unhealthy: Unhealthy.
|
|
120
|
+
* - unknown: Unknown.
|
|
120
121
|
*
|
|
121
122
|
* @example
|
|
122
123
|
* healthy
|
|
@@ -165,7 +166,7 @@ export class ListCloudAccountRolesResponseBodyCloudAccountRoles extends $dara.Mo
|
|
|
165
166
|
cloudAccountRoleUsageType?: string;
|
|
166
167
|
/**
|
|
167
168
|
* @remarks
|
|
168
|
-
* The
|
|
169
|
+
* The time when the cloud role was created. The value is a UNIX timestamp in milliseconds.
|
|
169
170
|
*
|
|
170
171
|
* @example
|
|
171
172
|
* 1719320115000
|
|
@@ -173,7 +174,7 @@ export class ListCloudAccountRolesResponseBodyCloudAccountRoles extends $dara.Mo
|
|
|
173
174
|
createTime?: number;
|
|
174
175
|
/**
|
|
175
176
|
* @remarks
|
|
176
|
-
* The cloud role
|
|
177
|
+
* The description of the cloud role.
|
|
177
178
|
*
|
|
178
179
|
* @example
|
|
179
180
|
* cloud_account_role_description
|
|
@@ -189,9 +190,9 @@ export class ListCloudAccountRolesResponseBodyCloudAccountRoles extends $dara.Mo
|
|
|
189
190
|
instanceId?: string;
|
|
190
191
|
/**
|
|
191
192
|
* @remarks
|
|
192
|
-
* The cloud role
|
|
193
|
-
* - enabled:
|
|
194
|
-
* - disable:
|
|
193
|
+
* The status of the cloud role. Valid values:
|
|
194
|
+
* - enabled: Enabled.
|
|
195
|
+
* - disable: Disabled.
|
|
195
196
|
*
|
|
196
197
|
* @example
|
|
197
198
|
* enabled
|
|
@@ -199,7 +200,7 @@ export class ListCloudAccountRolesResponseBodyCloudAccountRoles extends $dara.Mo
|
|
|
199
200
|
status?: string;
|
|
200
201
|
/**
|
|
201
202
|
* @remarks
|
|
202
|
-
* The last
|
|
203
|
+
* The time when the cloud role was last updated. The value is a UNIX timestamp in milliseconds.
|
|
203
204
|
*
|
|
204
205
|
* @example
|
|
205
206
|
* 1719320117000
|
|
@@ -208,6 +209,7 @@ export class ListCloudAccountRolesResponseBodyCloudAccountRoles extends $dara.Mo
|
|
|
208
209
|
static names(): { [key: string]: string } {
|
|
209
210
|
return {
|
|
210
211
|
cloudAccountId: 'CloudAccountId',
|
|
212
|
+
cloudAccountRoleCreationType: 'CloudAccountRoleCreationType',
|
|
211
213
|
cloudAccountRoleExternalId: 'CloudAccountRoleExternalId',
|
|
212
214
|
cloudAccountRoleHealth: 'CloudAccountRoleHealth',
|
|
213
215
|
cloudAccountRoleHealthCheckResult: 'CloudAccountRoleHealthCheckResult',
|
|
@@ -226,6 +228,7 @@ export class ListCloudAccountRolesResponseBodyCloudAccountRoles extends $dara.Mo
|
|
|
226
228
|
static types(): { [key: string]: any } {
|
|
227
229
|
return {
|
|
228
230
|
cloudAccountId: 'string',
|
|
231
|
+
cloudAccountRoleCreationType: 'string',
|
|
229
232
|
cloudAccountRoleExternalId: 'string',
|
|
230
233
|
cloudAccountRoleHealth: 'string',
|
|
231
234
|
cloudAccountRoleHealthCheckResult: ListCloudAccountRolesResponseBodyCloudAccountRolesCloudAccountRoleHealthCheckResult,
|
|
@@ -261,7 +264,7 @@ export class ListCloudAccountRolesResponseBody extends $dara.Model {
|
|
|
261
264
|
cloudAccountRoles?: ListCloudAccountRolesResponseBodyCloudAccountRoles[];
|
|
262
265
|
/**
|
|
263
266
|
* @remarks
|
|
264
|
-
* The number of rows per page in
|
|
267
|
+
* The maximum number of rows per page in a paging query.
|
|
265
268
|
*
|
|
266
269
|
* @example
|
|
267
270
|
* 20
|
|
@@ -269,7 +272,7 @@ export class ListCloudAccountRolesResponseBody extends $dara.Model {
|
|
|
269
272
|
maxResults?: number;
|
|
270
273
|
/**
|
|
271
274
|
* @remarks
|
|
272
|
-
* The
|
|
275
|
+
* The token returned for the current request.
|
|
273
276
|
*
|
|
274
277
|
* @example
|
|
275
278
|
* NTxxxexample
|
|
@@ -285,7 +288,7 @@ export class ListCloudAccountRolesResponseBody extends $dara.Model {
|
|
|
285
288
|
requestId?: string;
|
|
286
289
|
/**
|
|
287
290
|
* @remarks
|
|
288
|
-
* The total number of
|
|
291
|
+
* The total number of entries returned.
|
|
289
292
|
*
|
|
290
293
|
* @example
|
|
291
294
|
* 100
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ListCloudAccountsRequestFilter extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The
|
|
8
|
+
* The filter field name. Valid values:
|
|
9
9
|
*
|
|
10
10
|
* - CloudAccountId: the cloud account ID.
|
|
11
11
|
* - CloudAccountExternalId: the external unique identifier of the cloud account.
|
|
@@ -17,7 +17,7 @@ export class ListCloudAccountsRequestFilter extends $dara.Model {
|
|
|
17
17
|
name?: string;
|
|
18
18
|
/**
|
|
19
19
|
* @remarks
|
|
20
|
-
* The
|
|
20
|
+
* The list of filter field values.
|
|
21
21
|
*/
|
|
22
22
|
value?: string[];
|
|
23
23
|
static names(): { [key: string]: string } {
|
|
@@ -64,11 +64,11 @@ export class ListCloudAccountsRequest extends $dara.Model {
|
|
|
64
64
|
instanceId?: string;
|
|
65
65
|
/**
|
|
66
66
|
* @remarks
|
|
67
|
-
* The maximum number of
|
|
67
|
+
* The maximum number of entries per page.
|
|
68
68
|
*
|
|
69
|
-
* -
|
|
69
|
+
* - If this parameter is not specified, the default value is 20.
|
|
70
70
|
*
|
|
71
|
-
* -
|
|
71
|
+
* - The maximum value is 100.
|
|
72
72
|
*
|
|
73
73
|
* @example
|
|
74
74
|
* 20
|
|
@@ -76,9 +76,9 @@ export class ListCloudAccountsRequest extends $dara.Model {
|
|
|
76
76
|
maxResults?: number;
|
|
77
77
|
/**
|
|
78
78
|
* @remarks
|
|
79
|
-
* The token that
|
|
79
|
+
* The token that identifies the start position of the next page.
|
|
80
80
|
*
|
|
81
|
-
* - If
|
|
81
|
+
* - If this parameter is not specified, the query starts from the first page.
|
|
82
82
|
*
|
|
83
83
|
* @example
|
|
84
84
|
* NTxxxxxexample
|