@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.
- package/dist/client.d.ts +21 -6
- package/dist/client.js +55 -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/ExecuteInstanceFailoverRequest.d.ts +33 -0
- package/dist/models/ExecuteInstanceFailoverRequest.js +60 -0
- package/dist/models/ExecuteInstanceFailoverRequest.js.map +1 -0
- package/dist/models/ExecuteInstanceFailoverResponse.d.ts +19 -0
- package/dist/models/ExecuteInstanceFailoverResponse.js +69 -0
- package/dist/models/ExecuteInstanceFailoverResponse.js.map +1 -0
- package/dist/models/ExecuteInstanceFailoverResponseBody.d.ts +18 -0
- package/dist/models/ExecuteInstanceFailoverResponseBody.js +58 -0
- package/dist/models/ExecuteInstanceFailoverResponseBody.js.map +1 -0
- 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/UpdateCredentialProviderRequest.d.ts +45 -12
- package/dist/models/UpdateCredentialProviderRequest.js.map +1 -1
- package/dist/models/model.d.ts +5 -0
- package/dist/models/model.js +45 -35
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +60 -10
- package/src/models/CreateAuthorizationRuleRequest.ts +13 -2
- package/src/models/ExecuteInstanceFailoverRequest.ts +48 -0
- package/src/models/ExecuteInstanceFailoverResponse.ts +40 -0
- package/src/models/ExecuteInstanceFailoverResponseBody.ts +31 -0
- 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/UpdateCredentialProviderRequest.ts +45 -12
- package/src/models/model.ts +5 -0
|
@@ -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
|
|
@@ -13,7 +13,7 @@ export class ListCloudAccountsResponseBodyCloudAccountsCloudAccountHealthCheckRe
|
|
|
13
13
|
errorCode?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The error
|
|
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
|
|
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:
|
|
63
|
-
* - 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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
323
|
+
* The token returned for the current call.
|
|
252
324
|
*
|
|
253
325
|
* @example
|
|
254
326
|
* NTxxxexample
|
|
@@ -14,7 +14,7 @@ export class UpdateCredentialProviderRequestCredentialProviderConfigJwtProviderC
|
|
|
14
14
|
allowedTokenIssuers?: string[];
|
|
15
15
|
/**
|
|
16
16
|
* @remarks
|
|
17
|
-
* Specifies whether
|
|
17
|
+
* Specifies whether the JWT derived short token feature is enabled.
|
|
18
18
|
*
|
|
19
19
|
* @example
|
|
20
20
|
* false
|
|
@@ -30,7 +30,7 @@ export class UpdateCredentialProviderRequestCredentialProviderConfigJwtProviderC
|
|
|
30
30
|
expiration?: number;
|
|
31
31
|
/**
|
|
32
32
|
* @remarks
|
|
33
|
-
* Specifies whether
|
|
33
|
+
* Specifies whether JWT expiration cleanup is enabled.
|
|
34
34
|
*
|
|
35
35
|
* @example
|
|
36
36
|
* true
|
|
@@ -69,14 +69,20 @@ export class UpdateCredentialProviderRequestCredentialProviderConfigJwtProviderC
|
|
|
69
69
|
export class UpdateCredentialProviderRequestCredentialProviderConfigOAuthProviderConfig extends $dara.Model {
|
|
70
70
|
/**
|
|
71
71
|
* @remarks
|
|
72
|
-
* The
|
|
72
|
+
* The authorization endpoint.
|
|
73
|
+
*
|
|
74
|
+
* @example
|
|
75
|
+
* https://example.com/authorize
|
|
73
76
|
*/
|
|
74
77
|
authorizationEndpoint?: string;
|
|
75
78
|
/**
|
|
76
79
|
* @remarks
|
|
77
80
|
* The OAuth authorization flow type. Valid values:
|
|
78
|
-
* - m2m:
|
|
79
|
-
* - user_federation:
|
|
81
|
+
* - m2m: machine-to-machine.
|
|
82
|
+
* - user_federation: user federation.
|
|
83
|
+
*
|
|
84
|
+
* @example
|
|
85
|
+
* m2m
|
|
80
86
|
*/
|
|
81
87
|
authorizationFlow?: string;
|
|
82
88
|
/**
|
|
@@ -91,34 +97,61 @@ export class UpdateCredentialProviderRequestCredentialProviderConfigOAuthProvide
|
|
|
91
97
|
clientSecret?: string;
|
|
92
98
|
/**
|
|
93
99
|
* @remarks
|
|
94
|
-
* The
|
|
100
|
+
* The auto-discovery URL.
|
|
101
|
+
*
|
|
102
|
+
* @example
|
|
103
|
+
* https://example.com/.well-known/openid-configuration
|
|
95
104
|
*/
|
|
96
105
|
discoveryUrl?: string;
|
|
106
|
+
/**
|
|
107
|
+
* @remarks
|
|
108
|
+
* The authorization server identifier URL.
|
|
109
|
+
*
|
|
110
|
+
* @example
|
|
111
|
+
* https://example.com/issuer
|
|
112
|
+
*/
|
|
97
113
|
issuer?: string;
|
|
98
114
|
/**
|
|
99
115
|
* @remarks
|
|
100
|
-
* The PKCE
|
|
116
|
+
* The PKCE challenge method. Valid values:
|
|
117
|
+
* - S256.
|
|
118
|
+
* - plain.
|
|
119
|
+
*
|
|
120
|
+
* @example
|
|
121
|
+
* S256
|
|
101
122
|
*/
|
|
102
123
|
pkceChallengeMethod?: string;
|
|
103
124
|
/**
|
|
104
125
|
* @remarks
|
|
105
|
-
* Specifies whether
|
|
126
|
+
* Specifies whether PKCE is enabled.
|
|
127
|
+
*
|
|
128
|
+
* @example
|
|
129
|
+
* true
|
|
106
130
|
*/
|
|
107
131
|
pkceEnabled?: boolean;
|
|
108
132
|
/**
|
|
109
133
|
* @remarks
|
|
110
|
-
* The
|
|
134
|
+
* The vendor type. Valid values:
|
|
135
|
+
* - custom: custom.
|
|
136
|
+
* - dingtalk: DingTalk.
|
|
137
|
+
* - feishu: Lark.
|
|
138
|
+
* - github: GitHub.
|
|
139
|
+
* - microsoft: Microsoft.
|
|
140
|
+
* - google: Google.
|
|
141
|
+
*
|
|
142
|
+
* @example
|
|
143
|
+
* custom
|
|
111
144
|
*/
|
|
112
145
|
providerVendor?: string;
|
|
113
146
|
/**
|
|
114
147
|
* @remarks
|
|
115
148
|
* The scope in the OAuth protocol, which specifies the permission scope.
|
|
116
149
|
*
|
|
117
|
-
* > The Scope configuration on the
|
|
150
|
+
* > The Scope configuration on the credential provider serves as the fallback value. If the scope parameter is not specified when calling the DeveloperAPI to obtain an OAuth Access Token, the Scope configuration on the credential provider is used for issuance.
|
|
118
151
|
*
|
|
119
152
|
* >Notice: Separate multiple Scope values with spaces. To clear the Scope configuration, pass an empty string.
|
|
120
153
|
*
|
|
121
|
-
* Restrictions
|
|
154
|
+
* Restrictions on each individual Scope value:
|
|
122
155
|
* 1. Allowed characters: lowercase letters, digits, and special characters `|/:_-.`
|
|
123
156
|
* 2. Must contain at least one lowercase letter or digit.
|
|
124
157
|
* 3. Must start with a special character `.`, a lowercase letter, or a digit.
|
|
@@ -222,7 +255,7 @@ export class UpdateCredentialProviderRequest extends $dara.Model {
|
|
|
222
255
|
* @remarks
|
|
223
256
|
* The idempotency token that ensures the idempotence of the request.
|
|
224
257
|
*
|
|
225
|
-
* Generate a unique parameter value from your client to ensure uniqueness across different requests. ClientToken supports only ASCII characters and cannot exceed 64 characters
|
|
258
|
+
* Generate a unique parameter value from your client to ensure uniqueness across different requests. ClientToken supports only ASCII characters and cannot exceed 64 characters. For more information, see References: [How to ensure idempotence](https://www.alibabacloud.com/help/zh/ecs/developer-reference/how-to-ensure-idempotence).
|
|
226
259
|
*
|
|
227
260
|
* This parameter is required.
|
|
228
261
|
*
|
package/src/models/model.ts
CHANGED
|
@@ -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';
|
|
@@ -891,6 +893,9 @@ export { EnableUserResponse } from './EnableUserResponse';
|
|
|
891
893
|
export { ExecIdentityProviderMetadataUrlResolutionRequest } from './ExecIdentityProviderMetadataUrlResolutionRequest';
|
|
892
894
|
export { ExecIdentityProviderMetadataUrlResolutionResponseBody } from './ExecIdentityProviderMetadataUrlResolutionResponseBody';
|
|
893
895
|
export { ExecIdentityProviderMetadataUrlResolutionResponse } from './ExecIdentityProviderMetadataUrlResolutionResponse';
|
|
896
|
+
export { ExecuteInstanceFailoverRequest } from './ExecuteInstanceFailoverRequest';
|
|
897
|
+
export { ExecuteInstanceFailoverResponseBody } from './ExecuteInstanceFailoverResponseBody';
|
|
898
|
+
export { ExecuteInstanceFailoverResponse } from './ExecuteInstanceFailoverResponse';
|
|
894
899
|
export { GenerateDownloadUrlForSynchronizationJobRequest } from './GenerateDownloadUrlForSynchronizationJobRequest';
|
|
895
900
|
export { GenerateDownloadUrlForSynchronizationJobResponseBody } from './GenerateDownloadUrlForSynchronizationJobResponseBody';
|
|
896
901
|
export { GenerateDownloadUrlForSynchronizationJobResponse } from './GenerateDownloadUrlForSynchronizationJobResponse';
|