@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.
Files changed (46) hide show
  1. package/dist/client.d.ts +6 -6
  2. package/dist/client.js +13 -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/GetAuthorizationRuleRequest.d.ts +2 -2
  8. package/dist/models/GetAuthorizationRuleResponseBody.d.ts +30 -35
  9. package/dist/models/GetAuthorizationRuleResponseBody.js +2 -0
  10. package/dist/models/GetAuthorizationRuleResponseBody.js.map +1 -1
  11. package/dist/models/GetCloudAccountResponseBody.d.ts +47 -0
  12. package/dist/models/GetCloudAccountResponseBody.js +38 -1
  13. package/dist/models/GetCloudAccountResponseBody.js.map +1 -1
  14. package/dist/models/GetCloudAccountRoleResponseBody.d.ts +4 -3
  15. package/dist/models/GetCloudAccountRoleResponseBody.js +2 -0
  16. package/dist/models/GetCloudAccountRoleResponseBody.js.map +1 -1
  17. package/dist/models/ListAuthorizationRulesRequest.d.ts +9 -10
  18. package/dist/models/ListAuthorizationRulesRequest.js.map +1 -1
  19. package/dist/models/ListAuthorizationRulesResponseBody.d.ts +30 -35
  20. package/dist/models/ListAuthorizationRulesResponseBody.js +2 -0
  21. package/dist/models/ListAuthorizationRulesResponseBody.js.map +1 -1
  22. package/dist/models/ListCloudAccountRolesResponseBody.d.ts +17 -16
  23. package/dist/models/ListCloudAccountRolesResponseBody.js +2 -0
  24. package/dist/models/ListCloudAccountRolesResponseBody.js.map +1 -1
  25. package/dist/models/ListCloudAccountsRequest.d.ts +7 -7
  26. package/dist/models/ListCloudAccountsResponseBody.d.ts +55 -9
  27. package/dist/models/ListCloudAccountsResponseBody.js +36 -1
  28. package/dist/models/ListCloudAccountsResponseBody.js.map +1 -1
  29. package/dist/models/RemoveGroupFromAuthorizationRuleRequest.d.ts +1 -1
  30. package/dist/models/model.d.ts +2 -0
  31. package/dist/models/model.js +39 -35
  32. package/dist/models/model.js.map +1 -1
  33. package/package.json +1 -1
  34. package/src/client.ts +14 -10
  35. package/src/models/CreateAuthorizationRuleRequest.ts +13 -2
  36. package/src/models/GetAuthorizationRuleRequest.ts +2 -2
  37. package/src/models/GetAuthorizationRuleResponseBody.ts +32 -35
  38. package/src/models/GetCloudAccountResponseBody.ts +75 -0
  39. package/src/models/GetCloudAccountRoleResponseBody.ts +6 -3
  40. package/src/models/ListAuthorizationRulesRequest.ts +9 -10
  41. package/src/models/ListAuthorizationRulesResponseBody.ts +32 -35
  42. package/src/models/ListCloudAccountRolesResponseBody.ts +19 -16
  43. package/src/models/ListCloudAccountsRequest.ts +7 -7
  44. package/src/models/ListCloudAccountsResponseBody.ts +81 -9
  45. package/src/models/RemoveGroupFromAuthorizationRuleRequest.ts +1 -1
  46. package/src/models/model.ts +2 -0
@@ -13,7 +13,7 @@ export class ListCloudAccountsResponseBodyCloudAccountsCloudAccountHealthCheckRe
13
13
  errorCode?: string;
14
14
  /**
15
15
  * @remarks
16
- * The error message.
16
+ * The error description.
17
17
  *
18
18
  * @example
19
19
  * There is no permission.
@@ -50,7 +50,7 @@ export class ListCloudAccountsResponseBodyCloudAccountsCloudAccountHealthCheckRe
50
50
  errorReason?: ListCloudAccountsResponseBodyCloudAccountsCloudAccountHealthCheckResultErrorReason;
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
@@ -59,8 +59,8 @@ export class ListCloudAccountsResponseBodyCloudAccountsCloudAccountHealthCheckRe
59
59
  /**
60
60
  * @remarks
61
61
  * The health check result of the cloud account. Valid values:
62
- * - success: The health check succeeded.
63
- * - failed: The health check failed.
62
+ * - success: Succeeded.
63
+ * - failed: Failed.
64
64
  *
65
65
  * @example
66
66
  * success
@@ -94,6 +94,40 @@ export class ListCloudAccountsResponseBodyCloudAccountsCloudAccountHealthCheckRe
94
94
  }
95
95
  }
96
96
 
97
+ export class ListCloudAccountsResponseBodyCloudAccountsPrivilegeHostingError extends $dara.Model {
98
+ /**
99
+ * @remarks
100
+ * The failure error code.
101
+ */
102
+ errorCode?: string;
103
+ /**
104
+ * @remarks
105
+ * The failure message.
106
+ */
107
+ errorMessage?: string;
108
+ static names(): { [key: string]: string } {
109
+ return {
110
+ errorCode: 'ErrorCode',
111
+ errorMessage: 'ErrorMessage',
112
+ };
113
+ }
114
+
115
+ static types(): { [key: string]: any } {
116
+ return {
117
+ errorCode: 'string',
118
+ errorMessage: 'string',
119
+ };
120
+ }
121
+
122
+ validate() {
123
+ super.validate();
124
+ }
125
+
126
+ constructor(map?: { [key: string]: any }) {
127
+ super(map);
128
+ }
129
+ }
130
+
97
131
  export class ListCloudAccountsResponseBodyCloudAccounts extends $dara.Model {
98
132
  /**
99
133
  * @remarks
@@ -143,6 +177,10 @@ export class ListCloudAccountsResponseBodyCloudAccounts extends $dara.Model {
143
177
  * idaas-eiam-oidc-provider
144
178
  */
145
179
  cloudAccountProviderName?: string;
180
+ /**
181
+ * @remarks
182
+ * The cloud account site.
183
+ */
146
184
  cloudAccountSite?: string;
147
185
  /**
148
186
  * @remarks
@@ -156,7 +194,7 @@ export class ListCloudAccountsResponseBodyCloudAccounts extends $dara.Model {
156
194
  cloudAccountVendorType?: string;
157
195
  /**
158
196
  * @remarks
159
- * The time when the cloud account was created. The value is a UNIX timestamp in milliseconds.
197
+ * The creation time, in UNIX timestamp format. Unit: milliseconds.
160
198
  *
161
199
  * @example
162
200
  * 1649830225000
@@ -164,7 +202,7 @@ export class ListCloudAccountsResponseBodyCloudAccounts extends $dara.Model {
164
202
  createTime?: number;
165
203
  /**
166
204
  * @remarks
167
- * The description of the cloud account.
205
+ * The cloud account description.
168
206
  *
169
207
  * @example
170
208
  * cloud_accout_description
@@ -180,7 +218,27 @@ export class ListCloudAccountsResponseBodyCloudAccounts extends $dara.Model {
180
218
  instanceId?: string;
181
219
  /**
182
220
  * @remarks
183
- * The time when the cloud account was last updated. The value is a UNIX timestamp in milliseconds.
221
+ * The list of associated privileged access application IDs.
222
+ */
223
+ privilegeApplicationIds?: string[];
224
+ /**
225
+ * @remarks
226
+ * The reason for the privilege hosting or removal failure.
227
+ */
228
+ privilegeHostingError?: ListCloudAccountsResponseBodyCloudAccountsPrivilegeHostingError;
229
+ /**
230
+ * @remarks
231
+ * The privilege hosting state, which indicates whether the account has privileged access capabilities.
232
+ */
233
+ privilegeHostingState?: string;
234
+ /**
235
+ * @remarks
236
+ * The privilege switch status, which indicates whether the privileged access capability is available.
237
+ */
238
+ privilegeStatus?: string;
239
+ /**
240
+ * @remarks
241
+ * The last update time, in UNIX timestamp format. Unit: milliseconds.
184
242
  *
185
243
  * @example
186
244
  * 1649830227000
@@ -199,6 +257,10 @@ export class ListCloudAccountsResponseBodyCloudAccounts extends $dara.Model {
199
257
  createTime: 'CreateTime',
200
258
  description: 'Description',
201
259
  instanceId: 'InstanceId',
260
+ privilegeApplicationIds: 'PrivilegeApplicationIds',
261
+ privilegeHostingError: 'PrivilegeHostingError',
262
+ privilegeHostingState: 'PrivilegeHostingState',
263
+ privilegeStatus: 'PrivilegeStatus',
202
264
  updateTime: 'UpdateTime',
203
265
  };
204
266
  }
@@ -216,6 +278,10 @@ export class ListCloudAccountsResponseBodyCloudAccounts extends $dara.Model {
216
278
  createTime: 'number',
217
279
  description: 'string',
218
280
  instanceId: 'string',
281
+ privilegeApplicationIds: { 'type': 'array', 'itemType': 'string' },
282
+ privilegeHostingError: ListCloudAccountsResponseBodyCloudAccountsPrivilegeHostingError,
283
+ privilegeHostingState: 'string',
284
+ privilegeStatus: 'string',
219
285
  updateTime: 'number',
220
286
  };
221
287
  }
@@ -224,6 +290,12 @@ export class ListCloudAccountsResponseBodyCloudAccounts extends $dara.Model {
224
290
  if(this.cloudAccountHealthCheckResult && typeof (this.cloudAccountHealthCheckResult as any).validate === 'function') {
225
291
  (this.cloudAccountHealthCheckResult as any).validate();
226
292
  }
293
+ if(Array.isArray(this.privilegeApplicationIds)) {
294
+ $dara.Model.validateArray(this.privilegeApplicationIds);
295
+ }
296
+ if(this.privilegeHostingError && typeof (this.privilegeHostingError as any).validate === 'function') {
297
+ (this.privilegeHostingError as any).validate();
298
+ }
227
299
  super.validate();
228
300
  }
229
301
 
@@ -240,7 +312,7 @@ export class ListCloudAccountsResponseBody extends $dara.Model {
240
312
  cloudAccounts?: ListCloudAccountsResponseBodyCloudAccounts[];
241
313
  /**
242
314
  * @remarks
243
- * The number of rows per page when paging is used.
315
+ * The maximum number of entries per page for paging.
244
316
  *
245
317
  * @example
246
318
  * 20
@@ -248,7 +320,7 @@ export class ListCloudAccountsResponseBody extends $dara.Model {
248
320
  maxResults?: number;
249
321
  /**
250
322
  * @remarks
251
- * The token returned for the current call to indicate the starting position of the next page.
323
+ * The token returned for the current call.
252
324
  *
253
325
  * @example
254
326
  * NTxxxexample
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class RemoveGroupFromAuthorizationRuleRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The ID of the authorization rule.
8
+ * The authorization rule ID.
9
9
  *
10
10
  * This parameter is required.
11
11
  *
@@ -105,6 +105,7 @@ export { GetClientPublicKeyResponseBodyClientPublicKey } from './GetClientPublic
105
105
  export { GetCloudAccountResponseBodyCloudAccountCloudAccountHealthCheckResultErrorReason } from './GetCloudAccountResponseBody';
106
106
  export { GetCloudAccountResponseBodyCloudAccountCloudAccountHealthCheckResult } from './GetCloudAccountResponseBody';
107
107
  export { GetCloudAccountResponseBodyCloudAccountCloudAccountProviderConfig } from './GetCloudAccountResponseBody';
108
+ export { GetCloudAccountResponseBodyCloudAccountPrivilegeHostingError } from './GetCloudAccountResponseBody';
108
109
  export { GetCloudAccountResponseBodyCloudAccount } from './GetCloudAccountResponseBody';
109
110
  export { GetCloudAccountRoleResponseBodyCloudAccountRoleCloudAccountRoleHealthCheckResultErrorReason } from './GetCloudAccountRoleResponseBody';
110
111
  export { GetCloudAccountRoleResponseBodyCloudAccountRoleCloudAccountRoleHealthCheckResult } from './GetCloudAccountRoleResponseBody';
@@ -290,6 +291,7 @@ export { ListCloudAccountRolesResponseBodyCloudAccountRoles } from './ListCloudA
290
291
  export { ListCloudAccountsRequestFilter } from './ListCloudAccountsRequest';
291
292
  export { ListCloudAccountsResponseBodyCloudAccountsCloudAccountHealthCheckResultErrorReason } from './ListCloudAccountsResponseBody';
292
293
  export { ListCloudAccountsResponseBodyCloudAccountsCloudAccountHealthCheckResult } from './ListCloudAccountsResponseBody';
294
+ export { ListCloudAccountsResponseBodyCloudAccountsPrivilegeHostingError } from './ListCloudAccountsResponseBody';
293
295
  export { ListCloudAccountsResponseBodyCloudAccounts } from './ListCloudAccountsResponseBody';
294
296
  export { ListConditionalAccessPoliciesResponseBodyConditionalAccessPoliciesConditionsConfigApplications } from './ListConditionalAccessPoliciesResponseBody';
295
297
  export { ListConditionalAccessPoliciesResponseBodyConditionalAccessPoliciesConditionsConfigNetworkZones } from './ListConditionalAccessPoliciesResponseBody';