@alicloud/eiam20211201 2.17.7 → 2.18.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.
Files changed (61) hide show
  1. package/dist/client.d.ts +21 -6
  2. package/dist/client.js +55 -10
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateAuthorizationRuleRequest.d.ts +11 -2
  5. package/dist/models/CreateAuthorizationRuleRequest.js +2 -0
  6. package/dist/models/CreateAuthorizationRuleRequest.js.map +1 -1
  7. package/dist/models/ExecuteInstanceFailoverRequest.d.ts +33 -0
  8. package/dist/models/ExecuteInstanceFailoverRequest.js +60 -0
  9. package/dist/models/ExecuteInstanceFailoverRequest.js.map +1 -0
  10. package/dist/models/ExecuteInstanceFailoverResponse.d.ts +19 -0
  11. package/dist/models/ExecuteInstanceFailoverResponse.js +69 -0
  12. package/dist/models/ExecuteInstanceFailoverResponse.js.map +1 -0
  13. package/dist/models/ExecuteInstanceFailoverResponseBody.d.ts +18 -0
  14. package/dist/models/ExecuteInstanceFailoverResponseBody.js +58 -0
  15. package/dist/models/ExecuteInstanceFailoverResponseBody.js.map +1 -0
  16. package/dist/models/GetAuthorizationRuleRequest.d.ts +2 -2
  17. package/dist/models/GetAuthorizationRuleResponseBody.d.ts +30 -35
  18. package/dist/models/GetAuthorizationRuleResponseBody.js +2 -0
  19. package/dist/models/GetAuthorizationRuleResponseBody.js.map +1 -1
  20. package/dist/models/GetCloudAccountResponseBody.d.ts +47 -0
  21. package/dist/models/GetCloudAccountResponseBody.js +38 -1
  22. package/dist/models/GetCloudAccountResponseBody.js.map +1 -1
  23. package/dist/models/GetCloudAccountRoleResponseBody.d.ts +4 -3
  24. package/dist/models/GetCloudAccountRoleResponseBody.js +2 -0
  25. package/dist/models/GetCloudAccountRoleResponseBody.js.map +1 -1
  26. package/dist/models/ListAuthorizationRulesRequest.d.ts +9 -10
  27. package/dist/models/ListAuthorizationRulesRequest.js.map +1 -1
  28. package/dist/models/ListAuthorizationRulesResponseBody.d.ts +30 -35
  29. package/dist/models/ListAuthorizationRulesResponseBody.js +2 -0
  30. package/dist/models/ListAuthorizationRulesResponseBody.js.map +1 -1
  31. package/dist/models/ListCloudAccountRolesResponseBody.d.ts +17 -16
  32. package/dist/models/ListCloudAccountRolesResponseBody.js +2 -0
  33. package/dist/models/ListCloudAccountRolesResponseBody.js.map +1 -1
  34. package/dist/models/ListCloudAccountsRequest.d.ts +7 -7
  35. package/dist/models/ListCloudAccountsResponseBody.d.ts +55 -9
  36. package/dist/models/ListCloudAccountsResponseBody.js +36 -1
  37. package/dist/models/ListCloudAccountsResponseBody.js.map +1 -1
  38. package/dist/models/RemoveGroupFromAuthorizationRuleRequest.d.ts +1 -1
  39. package/dist/models/UpdateCredentialProviderRequest.d.ts +45 -12
  40. package/dist/models/UpdateCredentialProviderRequest.js.map +1 -1
  41. package/dist/models/model.d.ts +5 -0
  42. package/dist/models/model.js +45 -35
  43. package/dist/models/model.js.map +1 -1
  44. package/package.json +1 -1
  45. package/src/client.ts +60 -10
  46. package/src/models/CreateAuthorizationRuleRequest.ts +13 -2
  47. package/src/models/ExecuteInstanceFailoverRequest.ts +48 -0
  48. package/src/models/ExecuteInstanceFailoverResponse.ts +40 -0
  49. package/src/models/ExecuteInstanceFailoverResponseBody.ts +31 -0
  50. package/src/models/GetAuthorizationRuleRequest.ts +2 -2
  51. package/src/models/GetAuthorizationRuleResponseBody.ts +32 -35
  52. package/src/models/GetCloudAccountResponseBody.ts +75 -0
  53. package/src/models/GetCloudAccountRoleResponseBody.ts +6 -3
  54. package/src/models/ListAuthorizationRulesRequest.ts +9 -10
  55. package/src/models/ListAuthorizationRulesResponseBody.ts +32 -35
  56. package/src/models/ListCloudAccountRolesResponseBody.ts +19 -16
  57. package/src/models/ListCloudAccountsRequest.ts +7 -7
  58. package/src/models/ListCloudAccountsResponseBody.ts +81 -9
  59. package/src/models/RemoveGroupFromAuthorizationRuleRequest.ts +1 -1
  60. package/src/models/UpdateCredentialProviderRequest.ts +45 -12
  61. package/src/models/model.ts +5 -0
@@ -5,11 +5,9 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class GetAuthorizationRuleResponseBodyAuthorizationRule extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * Authorization resource scope. Valid values:
9
- *
10
- * - global: Global resources under the project
11
- *
12
- * - custom: Resources within the specified project scope
8
+ * The authorization resource scope. Valid values:
9
+ * - global: All resources under the project.
10
+ * - custom: Specified resources within the project scope.
13
11
  *
14
12
  * @example
15
13
  * global
@@ -17,11 +15,9 @@ export class GetAuthorizationRuleResponseBodyAuthorizationRule extends $dara.Mod
17
15
  authorizationResourceScope?: string;
18
16
  /**
19
17
  * @remarks
20
- * Authorization rule creation type. Valid values:
21
- *
22
- * - system_init: System created
23
- *
24
- * - user_custom: User created
18
+ * The creation type of the authorization rule. Valid values:
19
+ * - system_init: Created by the system.
20
+ * - user_custom: Created by the user.
25
21
  *
26
22
  * @example
27
23
  * user_custom
@@ -29,7 +25,7 @@ export class GetAuthorizationRuleResponseBodyAuthorizationRule extends $dara.Mod
29
25
  authorizationRuleCreationType?: string;
30
26
  /**
31
27
  * @remarks
32
- * Authorization rule ID.
28
+ * The authorization rule ID.
33
29
  *
34
30
  * @example
35
31
  * arrule_01kf143ug06fg7m9f43u7vahxxxx
@@ -37,7 +33,7 @@ export class GetAuthorizationRuleResponseBodyAuthorizationRule extends $dara.Mod
37
33
  authorizationRuleId?: string;
38
34
  /**
39
35
  * @remarks
40
- * Authorization rule name.
36
+ * The authorization rule name.
41
37
  *
42
38
  * @example
43
39
  * test-name
@@ -45,7 +41,12 @@ export class GetAuthorizationRuleResponseBodyAuthorizationRule extends $dara.Mod
45
41
  authorizationRuleName?: string;
46
42
  /**
47
43
  * @remarks
48
- * Subject ID associated with the authorization rule.
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 GetAuthorizationRuleResponseBodyAuthorizationRule extends $dara.Mod
53
54
  authorizationRuleSubjectId?: string;
54
55
  /**
55
56
  * @remarks
56
- * Authorization rule subject scope. Valid values:
57
- *
58
- * - shared: Shared type, supports all subjects, including accounts and applications
59
- *
60
- * - exclusive: Exclusive type
57
+ * The subject scope of the authorization rule. Valid values:
58
+ * - shared: Shared type, which 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 GetAuthorizationRuleResponseBodyAuthorizationRule extends $dara.Mod
65
64
  authorizationRuleSubjectScope?: string;
66
65
  /**
67
66
  * @remarks
68
- * Subject type associated with the authorization rule. Valid when the authorization rule subject scope is exclusive. Valid values:
69
- *
70
- * - application: Application
71
- *
72
- * - user: Account
67
+ * The subject type associated with the authorization rule. This parameter is valid only when the authorization rule 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 GetAuthorizationRuleResponseBodyAuthorizationRule extends $dara.Mod
77
74
  authorizationRuleSubjectType?: string;
78
75
  /**
79
76
  * @remarks
80
- * Creation time, in UNIX timestamp format, in milliseconds.
77
+ * The creation time, in UNIX timestamp format, measured in milliseconds.
81
78
  *
82
79
  * @example
83
80
  * 1652085686179
@@ -85,7 +82,7 @@ export class GetAuthorizationRuleResponseBodyAuthorizationRule extends $dara.Mod
85
82
  createTime?: number;
86
83
  /**
87
84
  * @remarks
88
- * Authorization rule description.
85
+ * The description of the authorization rule.
89
86
  *
90
87
  * @example
91
88
  * this is a test
@@ -93,7 +90,7 @@ export class GetAuthorizationRuleResponseBodyAuthorizationRule extends $dara.Mod
93
90
  description?: string;
94
91
  /**
95
92
  * @remarks
96
- * Instance ID.
93
+ * The instance ID.
97
94
  *
98
95
  * @example
99
96
  * idaas_ue2jvisn35ea5lmthk267xxxxx
@@ -101,7 +98,7 @@ export class GetAuthorizationRuleResponseBodyAuthorizationRule extends $dara.Mod
101
98
  instanceId?: string;
102
99
  /**
103
100
  * @remarks
104
- * Project ID associated with the authorization rule.
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 GetAuthorizationRuleResponseBodyAuthorizationRule extends $dara.Mod
109
106
  projectId?: string;
110
107
  /**
111
108
  * @remarks
112
- * Authorization rule status. Valid values:
113
- *
114
- * - enabled: Enabled
115
- *
116
- * - disabled: 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 GetAuthorizationRuleResponseBodyAuthorizationRule extends $dara.Mod
121
116
  status?: string;
122
117
  /**
123
118
  * @remarks
124
- * Last update time, in UNIX timestamp format, in milliseconds.
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 GetAuthorizationRuleResponseBodyAuthorizationRule extends $dara.Mod
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 GetAuthorizationRuleResponseBodyAuthorizationRule extends $dara.Mod
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',
@@ -175,12 +172,12 @@ export class GetAuthorizationRuleResponseBodyAuthorizationRule extends $dara.Mod
175
172
  export class GetAuthorizationRuleResponseBody extends $dara.Model {
176
173
  /**
177
174
  * @remarks
178
- * Authorization rule object.
175
+ * The authorization rule object.
179
176
  */
180
177
  authorizationRule?: GetAuthorizationRuleResponseBodyAuthorizationRule;
181
178
  /**
182
179
  * @remarks
183
- * Request ID.
180
+ * The request ID.
184
181
  *
185
182
  * @example
186
183
  * 0441BD79-92F3-53AA-8657-F8CE4A2B912A
@@ -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 time of the last health check. The value is a UNIX timestamp in milliseconds.
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. The value is a UNIX timestamp in milliseconds.
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. The value is a UNIX timestamp in milliseconds.
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 to filter. Valid values:
8
+ * The name of the filter field. Valid values:
9
9
  *
10
- * - AuthorizationRuleId: the ID of the authorization rule.
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 list of values for the field to filter.
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 of the instance.
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 entries to return on each page.
66
+ * The maximum number of records per page.
68
67
  *
69
- * - If you do not specify this parameter, the default value is 20.
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 identifies the start of the next page of results.
78
+ * The token that marks the starting position of the next page.
80
79
  *
81
- * - If you do not specify this parameter, the system returns the first page of results.
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 scope of resources to authorize. Valid values:
9
- *
10
- * - global: global resources in the project
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 creation. Valid values:
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 ID of the authorization rule.
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 name of the authorization rule.
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 ID of the subject associated with the authorization rule.
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 subjects for the authorization rule. Valid values:
57
- *
58
- * - shared: applies to all subjects, such as accounts and applications
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 of subject associated with the authorization rule. This parameter takes effect only when AuthorizationRuleSubjectScope is exclusive. Valid values:
69
- *
70
- * - application
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 when the authorization rule was created, in Unix timestamp format. Unit: milliseconds.
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 of the instance.
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 of the project associated with the authorization rule.
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 status of the authorization rule. Valid values:
113
- *
114
- * - enabled
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 time when the authorization rule was last updated, in Unix timestamp format. Unit: milliseconds.
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 by this call. Use it in the next call to retrieve the next page of results.
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 of the request.
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 in the list.
204
+ * The total number of entries returned.
208
205
  *
209
206
  * @example
210
207
  * 100