@alicloud/eiam20211201 2.19.0 → 2.19.2
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 +40 -36
- package/dist/client.js +40 -45
- package/dist/client.js.map +1 -1
- package/dist/models/CheckInstanceModuleStatusRequest.d.ts +17 -3
- package/dist/models/CheckInstanceModuleStatusRequest.js.map +1 -1
- package/dist/models/CreateApplicationFederatedCredentialRequest.d.ts +61 -12
- package/dist/models/CreateApplicationFederatedCredentialRequest.js.map +1 -1
- package/dist/models/CreateApplicationFederatedCredentialResponseBody.d.ts +1 -1
- package/dist/models/CreateCloudAccountRequest.d.ts +1 -1
- package/dist/models/CreateIdentityProviderRequest.d.ts +165 -142
- package/dist/models/CreateIdentityProviderRequest.js.map +1 -1
- package/dist/models/CreateIdentityProviderResponseBody.d.ts +2 -2
- package/dist/models/CreateTrustedOriginRequest.d.ts +1 -1
- package/dist/models/GetApplicationFederatedCredentialResponseBody.d.ts +79 -12
- package/dist/models/GetApplicationFederatedCredentialResponseBody.js.map +1 -1
- package/dist/models/GetApplicationSsoConfigResponseBody.d.ts +85 -65
- package/dist/models/GetApplicationSsoConfigResponseBody.js +11 -0
- package/dist/models/GetApplicationSsoConfigResponseBody.js.map +1 -1
- package/dist/models/GetAuthorizationResourceResponseBody.d.ts +2 -2
- package/dist/models/GetAuthorizationRuleResponseBody.d.ts +8 -3
- package/dist/models/GetAuthorizationRuleResponseBody.js.map +1 -1
- package/dist/models/GetBrandRequest.d.ts +2 -2
- package/dist/models/GetBrandResponseBody.d.ts +23 -7
- package/dist/models/GetBrandResponseBody.js +4 -0
- package/dist/models/GetBrandResponseBody.js.map +1 -1
- package/dist/models/GetCloudAccountResponseBody.d.ts +38 -6
- package/dist/models/GetCloudAccountResponseBody.js.map +1 -1
- package/dist/models/GetCloudAccountRoleResponseBody.d.ts +9 -0
- package/dist/models/GetCloudAccountRoleResponseBody.js.map +1 -1
- package/dist/models/GetIdentityProviderResponseBody.d.ts +54 -65
- package/dist/models/GetIdentityProviderResponseBody.js.map +1 -1
- package/dist/models/ListApplicationFederatedCredentialsForProviderRequest.d.ts +3 -3
- package/dist/models/ListApplicationFederatedCredentialsForProviderResponseBody.d.ts +85 -15
- package/dist/models/ListApplicationFederatedCredentialsForProviderResponseBody.js.map +1 -1
- package/dist/models/ListApplicationFederatedCredentialsRequest.d.ts +3 -3
- package/dist/models/ListApplicationFederatedCredentialsResponseBody.d.ts +89 -19
- package/dist/models/ListApplicationFederatedCredentialsResponseBody.js.map +1 -1
- package/dist/models/ListAuthorizationResourcesRequest.d.ts +5 -5
- package/dist/models/ListAuthorizationResourcesResponseBody.d.ts +9 -9
- package/dist/models/ListAuthorizationRulesRequest.d.ts +2 -2
- package/dist/models/ListAuthorizationRulesResponseBody.d.ts +17 -12
- package/dist/models/ListAuthorizationRulesResponseBody.js.map +1 -1
- package/dist/models/ListBrandsRequest.d.ts +1 -1
- package/dist/models/ListBrandsResponseBody.d.ts +16 -0
- package/dist/models/ListBrandsResponseBody.js +4 -0
- package/dist/models/ListBrandsResponseBody.js.map +1 -1
- package/dist/models/ListCloudAccountRolesRequest.d.ts +5 -5
- package/dist/models/ListCloudAccountRolesResponseBody.d.ts +28 -19
- package/dist/models/ListCloudAccountRolesResponseBody.js.map +1 -1
- package/dist/models/ListCloudAccountsRequest.d.ts +1 -1
- package/dist/models/ListCloudAccountsResponseBody.d.ts +36 -11
- package/dist/models/ListCloudAccountsResponseBody.js.map +1 -1
- package/dist/models/ListEiamInstancesRequest.d.ts +1 -1
- package/dist/models/ListNetworkAccessEndpointsRequest.d.ts +6 -6
- package/dist/models/ListNetworkAccessEndpointsResponseBody.d.ts +44 -7
- package/dist/models/ListNetworkAccessEndpointsResponseBody.js.map +1 -1
- package/dist/models/SetApplicationSsoConfigRequest.d.ts +55 -31
- package/dist/models/SetApplicationSsoConfigRequest.js +9 -0
- package/dist/models/SetApplicationSsoConfigRequest.js.map +1 -1
- package/dist/models/UpdateApplicationFederatedCredentialRequest.d.ts +61 -6
- package/dist/models/UpdateApplicationFederatedCredentialRequest.js.map +1 -1
- package/dist/models/UpdateIdentityProviderRequest.d.ts +85 -51
- package/dist/models/UpdateIdentityProviderRequest.js.map +1 -1
- package/dist/models/UpdateIdentityProviderResponseBody.d.ts +1 -1
- package/package.json +1 -1
- package/src/client.ts +40 -45
- package/src/models/CheckInstanceModuleStatusRequest.ts +17 -3
- package/src/models/CreateApplicationFederatedCredentialRequest.ts +61 -12
- package/src/models/CreateApplicationFederatedCredentialResponseBody.ts +1 -1
- package/src/models/CreateCloudAccountRequest.ts +1 -1
- package/src/models/CreateIdentityProviderRequest.ts +165 -142
- package/src/models/CreateIdentityProviderResponseBody.ts +2 -2
- package/src/models/CreateTrustedOriginRequest.ts +1 -1
- package/src/models/GetApplicationFederatedCredentialResponseBody.ts +79 -12
- package/src/models/GetApplicationSsoConfigResponseBody.ts +96 -65
- package/src/models/GetAuthorizationResourceResponseBody.ts +2 -2
- package/src/models/GetAuthorizationRuleResponseBody.ts +8 -3
- package/src/models/GetBrandRequest.ts +2 -2
- package/src/models/GetBrandResponseBody.ts +27 -7
- package/src/models/GetCloudAccountResponseBody.ts +38 -6
- package/src/models/GetCloudAccountRoleResponseBody.ts +9 -0
- package/src/models/GetIdentityProviderResponseBody.ts +54 -65
- package/src/models/ListApplicationFederatedCredentialsForProviderRequest.ts +3 -3
- package/src/models/ListApplicationFederatedCredentialsForProviderResponseBody.ts +85 -15
- package/src/models/ListApplicationFederatedCredentialsRequest.ts +3 -3
- package/src/models/ListApplicationFederatedCredentialsResponseBody.ts +89 -19
- package/src/models/ListAuthorizationResourcesRequest.ts +5 -5
- package/src/models/ListAuthorizationResourcesResponseBody.ts +9 -9
- package/src/models/ListAuthorizationRulesRequest.ts +2 -2
- package/src/models/ListAuthorizationRulesResponseBody.ts +17 -12
- package/src/models/ListBrandsRequest.ts +1 -1
- package/src/models/ListBrandsResponseBody.ts +20 -0
- package/src/models/ListCloudAccountRolesRequest.ts +5 -5
- package/src/models/ListCloudAccountRolesResponseBody.ts +28 -19
- package/src/models/ListCloudAccountsRequest.ts +1 -1
- package/src/models/ListCloudAccountsResponseBody.ts +36 -11
- package/src/models/ListEiamInstancesRequest.ts +1 -1
- package/src/models/ListNetworkAccessEndpointsRequest.ts +6 -6
- package/src/models/ListNetworkAccessEndpointsResponseBody.ts +44 -7
- package/src/models/SetApplicationSsoConfigRequest.ts +64 -31
- package/src/models/UpdateApplicationFederatedCredentialRequest.ts +61 -6
- package/src/models/UpdateIdentityProviderRequest.ts +85 -51
- package/src/models/UpdateIdentityProviderResponseBody.ts +1 -1
|
@@ -3,9 +3,34 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class ListApplicationFederatedCredentialsForProviderResponseBodyApplicationFederatedCredentialsOidcVerificationConfigAzureVmConfig extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The principal ID.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* 5dee234a-1b4c-4ad7-a19f-fxxxxx
|
|
12
|
+
*/
|
|
6
13
|
principalId?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The Azure resource group name.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* user_default
|
|
20
|
+
*/
|
|
7
21
|
resourceGroupName?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The subscription ID.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* 4342a1f4-7e5d-4371-97dc-d4f33f4xxxx
|
|
28
|
+
*/
|
|
8
29
|
subscriptionId?: string;
|
|
30
|
+
/**
|
|
31
|
+
* @remarks
|
|
32
|
+
* The list of virtual machine names.
|
|
33
|
+
*/
|
|
9
34
|
vmNames?: string[];
|
|
10
35
|
static names(): { [key: string]: string } {
|
|
11
36
|
return {
|
|
@@ -40,13 +65,23 @@ export class ListApplicationFederatedCredentialsForProviderResponseBodyApplicati
|
|
|
40
65
|
export class ListApplicationFederatedCredentialsForProviderResponseBodyApplicationFederatedCredentialsOidcVerificationConfigGcpVmConfig extends $dara.Model {
|
|
41
66
|
/**
|
|
42
67
|
* @remarks
|
|
43
|
-
* The list of VM instance IDs.
|
|
68
|
+
* The list of VM instance IDs.
|
|
44
69
|
*/
|
|
45
70
|
instanceIds?: string[];
|
|
71
|
+
/**
|
|
72
|
+
* @remarks
|
|
73
|
+
* The GCP project ID.
|
|
74
|
+
*
|
|
75
|
+
* @example
|
|
76
|
+
* turnkey-axiom-475109-xx
|
|
77
|
+
*/
|
|
46
78
|
projectId?: string;
|
|
47
79
|
/**
|
|
48
80
|
* @remarks
|
|
49
|
-
* The
|
|
81
|
+
* The subject corresponding to the service account.
|
|
82
|
+
*
|
|
83
|
+
* @example
|
|
84
|
+
* 123456789
|
|
50
85
|
*/
|
|
51
86
|
serviceAccountId?: string;
|
|
52
87
|
static names(): { [key: string]: string } {
|
|
@@ -78,6 +113,13 @@ export class ListApplicationFederatedCredentialsForProviderResponseBodyApplicati
|
|
|
78
113
|
}
|
|
79
114
|
|
|
80
115
|
export class ListApplicationFederatedCredentialsForProviderResponseBodyApplicationFederatedCredentialsOidcVerificationConfigGenericConfig extends $dara.Model {
|
|
116
|
+
/**
|
|
117
|
+
* @remarks
|
|
118
|
+
* The subject identifier.
|
|
119
|
+
*
|
|
120
|
+
* @example
|
|
121
|
+
* test_subject
|
|
122
|
+
*/
|
|
81
123
|
subject?: string;
|
|
82
124
|
static names(): { [key: string]: string } {
|
|
83
125
|
return {
|
|
@@ -103,17 +145,26 @@ export class ListApplicationFederatedCredentialsForProviderResponseBodyApplicati
|
|
|
103
145
|
export class ListApplicationFederatedCredentialsForProviderResponseBodyApplicationFederatedCredentialsOidcVerificationConfigKubernetesConfig extends $dara.Model {
|
|
104
146
|
/**
|
|
105
147
|
* @remarks
|
|
106
|
-
* The
|
|
148
|
+
* The K8s namespace.
|
|
149
|
+
*
|
|
150
|
+
* @example
|
|
151
|
+
* default
|
|
107
152
|
*/
|
|
108
153
|
namespace?: string;
|
|
109
154
|
/**
|
|
110
155
|
* @remarks
|
|
111
156
|
* The pod name prefix.
|
|
157
|
+
*
|
|
158
|
+
* @example
|
|
159
|
+
* test-pod
|
|
112
160
|
*/
|
|
113
161
|
podNamePrefix?: string;
|
|
114
162
|
/**
|
|
115
163
|
* @remarks
|
|
116
|
-
* The
|
|
164
|
+
* The K8s service account name.
|
|
165
|
+
*
|
|
166
|
+
* @example
|
|
167
|
+
* default
|
|
117
168
|
*/
|
|
118
169
|
serviceAccountName?: string;
|
|
119
170
|
static names(): { [key: string]: string } {
|
|
@@ -152,6 +203,10 @@ export class ListApplicationFederatedCredentialsForProviderResponseBodyApplicati
|
|
|
152
203
|
* The GCP VM scenario configuration.
|
|
153
204
|
*/
|
|
154
205
|
gcpVmConfig?: ListApplicationFederatedCredentialsForProviderResponseBodyApplicationFederatedCredentialsOidcVerificationConfigGcpVmConfig;
|
|
206
|
+
/**
|
|
207
|
+
* @remarks
|
|
208
|
+
* The generic scenario configuration.
|
|
209
|
+
*/
|
|
155
210
|
genericConfig?: ListApplicationFederatedCredentialsForProviderResponseBodyApplicationFederatedCredentialsOidcVerificationConfigGenericConfig;
|
|
156
211
|
/**
|
|
157
212
|
* @remarks
|
|
@@ -160,7 +215,14 @@ export class ListApplicationFederatedCredentialsForProviderResponseBodyApplicati
|
|
|
160
215
|
kubernetesConfig?: ListApplicationFederatedCredentialsForProviderResponseBodyApplicationFederatedCredentialsOidcVerificationConfigKubernetesConfig;
|
|
161
216
|
/**
|
|
162
217
|
* @remarks
|
|
163
|
-
* The OIDC scenario profile.
|
|
218
|
+
* The OIDC scenario profile. Different profiles correspond to different configurations. Valid values:
|
|
219
|
+
* - generic
|
|
220
|
+
* - kubernetes
|
|
221
|
+
* - gcp_vm
|
|
222
|
+
* - azure_vm
|
|
223
|
+
*
|
|
224
|
+
* @example
|
|
225
|
+
* kubernetes
|
|
164
226
|
*/
|
|
165
227
|
profile?: string;
|
|
166
228
|
static names(): { [key: string]: string } {
|
|
@@ -207,7 +269,7 @@ export class ListApplicationFederatedCredentialsForProviderResponseBodyApplicati
|
|
|
207
269
|
export class ListApplicationFederatedCredentialsForProviderResponseBodyApplicationFederatedCredentialsPkcs7VerificationConfig extends $dara.Model {
|
|
208
270
|
/**
|
|
209
271
|
* @remarks
|
|
210
|
-
* The list of allowed instance IDs.
|
|
272
|
+
* The list of allowed instance IDs.
|
|
211
273
|
*/
|
|
212
274
|
instanceIds?: string[];
|
|
213
275
|
static names(): { [key: string]: string } {
|
|
@@ -269,7 +331,7 @@ export class ListApplicationFederatedCredentialsForProviderResponseBodyApplicati
|
|
|
269
331
|
applicationId?: string;
|
|
270
332
|
/**
|
|
271
333
|
* @remarks
|
|
272
|
-
* The time
|
|
334
|
+
* The creation time.
|
|
273
335
|
*
|
|
274
336
|
* @example
|
|
275
337
|
* 1758785994982
|
|
@@ -301,7 +363,7 @@ export class ListApplicationFederatedCredentialsForProviderResponseBodyApplicati
|
|
|
301
363
|
instanceId?: string;
|
|
302
364
|
/**
|
|
303
365
|
* @remarks
|
|
304
|
-
* The
|
|
366
|
+
* The last used time.
|
|
305
367
|
*
|
|
306
368
|
* @example
|
|
307
369
|
* 1758785994982
|
|
@@ -309,12 +371,12 @@ export class ListApplicationFederatedCredentialsForProviderResponseBodyApplicati
|
|
|
309
371
|
lastUsedTime?: number;
|
|
310
372
|
/**
|
|
311
373
|
* @remarks
|
|
312
|
-
* The OIDC structured configuration.
|
|
374
|
+
* The OIDC structured configuration.
|
|
313
375
|
*/
|
|
314
376
|
oidcVerificationConfig?: ListApplicationFederatedCredentialsForProviderResponseBodyApplicationFederatedCredentialsOidcVerificationConfig;
|
|
315
377
|
/**
|
|
316
378
|
* @remarks
|
|
317
|
-
* The PKCS#7 structured configuration.
|
|
379
|
+
* The PKCS#7 structured configuration.
|
|
318
380
|
*/
|
|
319
381
|
pkcs7VerificationConfig?: ListApplicationFederatedCredentialsForProviderResponseBodyApplicationFederatedCredentialsPkcs7VerificationConfig;
|
|
320
382
|
/**
|
|
@@ -327,7 +389,7 @@ export class ListApplicationFederatedCredentialsForProviderResponseBodyApplicati
|
|
|
327
389
|
status?: string;
|
|
328
390
|
/**
|
|
329
391
|
* @remarks
|
|
330
|
-
* The time
|
|
392
|
+
* The update time.
|
|
331
393
|
*
|
|
332
394
|
* @example
|
|
333
395
|
* 1758785994982
|
|
@@ -335,12 +397,20 @@ export class ListApplicationFederatedCredentialsForProviderResponseBodyApplicati
|
|
|
335
397
|
updateTime?: number;
|
|
336
398
|
/**
|
|
337
399
|
* @remarks
|
|
338
|
-
* The verification condition.
|
|
400
|
+
* The verification condition.
|
|
401
|
+
*
|
|
402
|
+
* @example
|
|
403
|
+
* Equals(cert.subject.CN, "test")
|
|
339
404
|
*/
|
|
340
405
|
verificationCondition?: string;
|
|
341
406
|
/**
|
|
342
407
|
* @remarks
|
|
343
|
-
* The verification mode. Valid values:
|
|
408
|
+
* The verification mode. Valid values:
|
|
409
|
+
* - freedom: free mode.
|
|
410
|
+
* - structured: structured mode.
|
|
411
|
+
*
|
|
412
|
+
* @example
|
|
413
|
+
* structured
|
|
344
414
|
*/
|
|
345
415
|
verificationMode?: string;
|
|
346
416
|
static names(): { [key: string]: string } {
|
|
@@ -406,7 +476,7 @@ export class ListApplicationFederatedCredentialsForProviderResponseBody extends
|
|
|
406
476
|
applicationFederatedCredentials?: ListApplicationFederatedCredentialsForProviderResponseBodyApplicationFederatedCredentials[];
|
|
407
477
|
/**
|
|
408
478
|
* @remarks
|
|
409
|
-
* The maximum number of entries
|
|
479
|
+
* The maximum number of entries per page for a paged query.
|
|
410
480
|
*
|
|
411
481
|
* @example
|
|
412
482
|
* 20
|
|
@@ -438,7 +508,7 @@ export class ListApplicationFederatedCredentialsForProviderResponseBody extends
|
|
|
438
508
|
requestId?: string;
|
|
439
509
|
/**
|
|
440
510
|
* @remarks
|
|
441
|
-
* The total number of entries
|
|
511
|
+
* The total number of entries in the list.
|
|
442
512
|
*
|
|
443
513
|
* @example
|
|
444
514
|
* 100
|
|
@@ -33,7 +33,7 @@ export class ListApplicationFederatedCredentialsRequest extends $dara.Model {
|
|
|
33
33
|
instanceId?: string;
|
|
34
34
|
/**
|
|
35
35
|
* @remarks
|
|
36
|
-
* The number of
|
|
36
|
+
* The maximum number of rows per page in a paged query.
|
|
37
37
|
*
|
|
38
38
|
* @example
|
|
39
39
|
* 20
|
|
@@ -41,7 +41,7 @@ export class ListApplicationFederatedCredentialsRequest extends $dara.Model {
|
|
|
41
41
|
maxResults?: number;
|
|
42
42
|
/**
|
|
43
43
|
* @remarks
|
|
44
|
-
* The pagination token
|
|
44
|
+
* The pagination token for the next page.
|
|
45
45
|
*
|
|
46
46
|
* @example
|
|
47
47
|
* NTxxxxxexample
|
|
@@ -49,7 +49,7 @@ export class ListApplicationFederatedCredentialsRequest extends $dara.Model {
|
|
|
49
49
|
nextToken?: string;
|
|
50
50
|
/**
|
|
51
51
|
* @remarks
|
|
52
|
-
* The pagination token
|
|
52
|
+
* The pagination token for the previous page.
|
|
53
53
|
*
|
|
54
54
|
* @example
|
|
55
55
|
* PTxxxxxexample
|
|
@@ -3,9 +3,34 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class ListApplicationFederatedCredentialsResponseBodyApplicationFederatedCredentialsOidcVerificationConfigAzureVmConfig extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The principal ID.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* 5dee234a-1b4c-4ad7-a19f-fxxxxx
|
|
12
|
+
*/
|
|
6
13
|
principalId?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The Azure resource group name.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* user_default
|
|
20
|
+
*/
|
|
7
21
|
resourceGroupName?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The subscription ID.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* 1770621546825D6J5G
|
|
28
|
+
*/
|
|
8
29
|
subscriptionId?: string;
|
|
30
|
+
/**
|
|
31
|
+
* @remarks
|
|
32
|
+
* The list of virtual machine names.
|
|
33
|
+
*/
|
|
9
34
|
vmNames?: string[];
|
|
10
35
|
static names(): { [key: string]: string } {
|
|
11
36
|
return {
|
|
@@ -40,13 +65,23 @@ export class ListApplicationFederatedCredentialsResponseBodyApplicationFederated
|
|
|
40
65
|
export class ListApplicationFederatedCredentialsResponseBodyApplicationFederatedCredentialsOidcVerificationConfigGcpVmConfig extends $dara.Model {
|
|
41
66
|
/**
|
|
42
67
|
* @remarks
|
|
43
|
-
* The list of VM instance IDs.
|
|
68
|
+
* The list of VM instance IDs.
|
|
44
69
|
*/
|
|
45
70
|
instanceIds?: string[];
|
|
71
|
+
/**
|
|
72
|
+
* @remarks
|
|
73
|
+
* The GCP project ID.
|
|
74
|
+
*
|
|
75
|
+
* @example
|
|
76
|
+
* 6193072600270353961
|
|
77
|
+
*/
|
|
46
78
|
projectId?: string;
|
|
47
79
|
/**
|
|
48
80
|
* @remarks
|
|
49
|
-
* The sub claim
|
|
81
|
+
* The sub claim corresponding to the service account.
|
|
82
|
+
*
|
|
83
|
+
* @example
|
|
84
|
+
* 123456789
|
|
50
85
|
*/
|
|
51
86
|
serviceAccountId?: string;
|
|
52
87
|
static names(): { [key: string]: string } {
|
|
@@ -78,6 +113,13 @@ export class ListApplicationFederatedCredentialsResponseBodyApplicationFederated
|
|
|
78
113
|
}
|
|
79
114
|
|
|
80
115
|
export class ListApplicationFederatedCredentialsResponseBodyApplicationFederatedCredentialsOidcVerificationConfigGenericConfig extends $dara.Model {
|
|
116
|
+
/**
|
|
117
|
+
* @remarks
|
|
118
|
+
* The subject identifier.
|
|
119
|
+
*
|
|
120
|
+
* @example
|
|
121
|
+
* test_subject
|
|
122
|
+
*/
|
|
81
123
|
subject?: string;
|
|
82
124
|
static names(): { [key: string]: string } {
|
|
83
125
|
return {
|
|
@@ -103,17 +145,26 @@ export class ListApplicationFederatedCredentialsResponseBodyApplicationFederated
|
|
|
103
145
|
export class ListApplicationFederatedCredentialsResponseBodyApplicationFederatedCredentialsOidcVerificationConfigKubernetesConfig extends $dara.Model {
|
|
104
146
|
/**
|
|
105
147
|
* @remarks
|
|
106
|
-
* The
|
|
148
|
+
* The K8s namespace.
|
|
149
|
+
*
|
|
150
|
+
* @example
|
|
151
|
+
* default
|
|
107
152
|
*/
|
|
108
153
|
namespace?: string;
|
|
109
154
|
/**
|
|
110
155
|
* @remarks
|
|
111
156
|
* The pod name prefix.
|
|
157
|
+
*
|
|
158
|
+
* @example
|
|
159
|
+
* test-pod
|
|
112
160
|
*/
|
|
113
161
|
podNamePrefix?: string;
|
|
114
162
|
/**
|
|
115
163
|
* @remarks
|
|
116
|
-
* The
|
|
164
|
+
* The K8s service account name.
|
|
165
|
+
*
|
|
166
|
+
* @example
|
|
167
|
+
* default
|
|
117
168
|
*/
|
|
118
169
|
serviceAccountName?: string;
|
|
119
170
|
static names(): { [key: string]: string } {
|
|
@@ -152,6 +203,10 @@ export class ListApplicationFederatedCredentialsResponseBodyApplicationFederated
|
|
|
152
203
|
* The GCP VM scenario configuration.
|
|
153
204
|
*/
|
|
154
205
|
gcpVmConfig?: ListApplicationFederatedCredentialsResponseBodyApplicationFederatedCredentialsOidcVerificationConfigGcpVmConfig;
|
|
206
|
+
/**
|
|
207
|
+
* @remarks
|
|
208
|
+
* The generic scenario configuration.
|
|
209
|
+
*/
|
|
155
210
|
genericConfig?: ListApplicationFederatedCredentialsResponseBodyApplicationFederatedCredentialsOidcVerificationConfigGenericConfig;
|
|
156
211
|
/**
|
|
157
212
|
* @remarks
|
|
@@ -160,7 +215,14 @@ export class ListApplicationFederatedCredentialsResponseBodyApplicationFederated
|
|
|
160
215
|
kubernetesConfig?: ListApplicationFederatedCredentialsResponseBodyApplicationFederatedCredentialsOidcVerificationConfigKubernetesConfig;
|
|
161
216
|
/**
|
|
162
217
|
* @remarks
|
|
163
|
-
* The OIDC scenario profile.
|
|
218
|
+
* The OIDC scenario profile. Different profiles correspond to different configurations. Valid values:
|
|
219
|
+
* - generic
|
|
220
|
+
* - kubernetes
|
|
221
|
+
* - gcp_vm
|
|
222
|
+
* - azure_vm
|
|
223
|
+
*
|
|
224
|
+
* @example
|
|
225
|
+
* kubernetes
|
|
164
226
|
*/
|
|
165
227
|
profile?: string;
|
|
166
228
|
static names(): { [key: string]: string } {
|
|
@@ -207,7 +269,7 @@ export class ListApplicationFederatedCredentialsResponseBodyApplicationFederated
|
|
|
207
269
|
export class ListApplicationFederatedCredentialsResponseBodyApplicationFederatedCredentialsPkcs7VerificationConfig extends $dara.Model {
|
|
208
270
|
/**
|
|
209
271
|
* @remarks
|
|
210
|
-
* The list of allowed instance IDs.
|
|
272
|
+
* The list of allowed instance IDs.
|
|
211
273
|
*/
|
|
212
274
|
instanceIds?: string[];
|
|
213
275
|
static names(): { [key: string]: string } {
|
|
@@ -245,7 +307,7 @@ export class ListApplicationFederatedCredentialsResponseBodyApplicationFederated
|
|
|
245
307
|
applicationFederatedCredentialId?: string;
|
|
246
308
|
/**
|
|
247
309
|
* @remarks
|
|
248
|
-
* The
|
|
310
|
+
* The application federated credential name.
|
|
249
311
|
*
|
|
250
312
|
* @example
|
|
251
313
|
* test
|
|
@@ -253,7 +315,7 @@ export class ListApplicationFederatedCredentialsResponseBodyApplicationFederated
|
|
|
253
315
|
applicationFederatedCredentialName?: string;
|
|
254
316
|
/**
|
|
255
317
|
* @remarks
|
|
256
|
-
* The
|
|
318
|
+
* The application federated credential type.
|
|
257
319
|
*
|
|
258
320
|
* @example
|
|
259
321
|
* oidc
|
|
@@ -269,7 +331,7 @@ export class ListApplicationFederatedCredentialsResponseBodyApplicationFederated
|
|
|
269
331
|
applicationId?: string;
|
|
270
332
|
/**
|
|
271
333
|
* @remarks
|
|
272
|
-
* The time
|
|
334
|
+
* The creation time.
|
|
273
335
|
*
|
|
274
336
|
* @example
|
|
275
337
|
* 1758785994982
|
|
@@ -277,7 +339,7 @@ export class ListApplicationFederatedCredentialsResponseBodyApplicationFederated
|
|
|
277
339
|
createTime?: number;
|
|
278
340
|
/**
|
|
279
341
|
* @remarks
|
|
280
|
-
* The
|
|
342
|
+
* The application federated credential description.
|
|
281
343
|
*
|
|
282
344
|
* @example
|
|
283
345
|
* test
|
|
@@ -301,7 +363,7 @@ export class ListApplicationFederatedCredentialsResponseBodyApplicationFederated
|
|
|
301
363
|
instanceId?: string;
|
|
302
364
|
/**
|
|
303
365
|
* @remarks
|
|
304
|
-
* The
|
|
366
|
+
* The last used time.
|
|
305
367
|
*
|
|
306
368
|
* @example
|
|
307
369
|
* 1758785994982
|
|
@@ -309,17 +371,17 @@ export class ListApplicationFederatedCredentialsResponseBodyApplicationFederated
|
|
|
309
371
|
lastUsedTime?: number;
|
|
310
372
|
/**
|
|
311
373
|
* @remarks
|
|
312
|
-
* The OIDC structured configuration.
|
|
374
|
+
* The OIDC structured configuration.
|
|
313
375
|
*/
|
|
314
376
|
oidcVerificationConfig?: ListApplicationFederatedCredentialsResponseBodyApplicationFederatedCredentialsOidcVerificationConfig;
|
|
315
377
|
/**
|
|
316
378
|
* @remarks
|
|
317
|
-
* The PKCS#7 structured configuration.
|
|
379
|
+
* The PKCS#7 structured configuration.
|
|
318
380
|
*/
|
|
319
381
|
pkcs7VerificationConfig?: ListApplicationFederatedCredentialsResponseBodyApplicationFederatedCredentialsPkcs7VerificationConfig;
|
|
320
382
|
/**
|
|
321
383
|
* @remarks
|
|
322
|
-
* The
|
|
384
|
+
* The application federated credential status.
|
|
323
385
|
*
|
|
324
386
|
* @example
|
|
325
387
|
* enabled
|
|
@@ -327,7 +389,7 @@ export class ListApplicationFederatedCredentialsResponseBodyApplicationFederated
|
|
|
327
389
|
status?: string;
|
|
328
390
|
/**
|
|
329
391
|
* @remarks
|
|
330
|
-
* The time
|
|
392
|
+
* The update time.
|
|
331
393
|
*
|
|
332
394
|
* @example
|
|
333
395
|
* 1758785994982
|
|
@@ -335,12 +397,20 @@ export class ListApplicationFederatedCredentialsResponseBodyApplicationFederated
|
|
|
335
397
|
updateTime?: number;
|
|
336
398
|
/**
|
|
337
399
|
* @remarks
|
|
338
|
-
* The verification condition.
|
|
400
|
+
* The verification condition.
|
|
401
|
+
*
|
|
402
|
+
* @example
|
|
403
|
+
* Equals(cert.subject.CN, "test")
|
|
339
404
|
*/
|
|
340
405
|
verificationCondition?: string;
|
|
341
406
|
/**
|
|
342
407
|
* @remarks
|
|
343
|
-
* The verification mode. Valid values:
|
|
408
|
+
* The verification mode. Valid values:
|
|
409
|
+
* - freedom: free mode.
|
|
410
|
+
* - structured: structured mode.
|
|
411
|
+
*
|
|
412
|
+
* @example
|
|
413
|
+
* structured
|
|
344
414
|
*/
|
|
345
415
|
verificationMode?: string;
|
|
346
416
|
static names(): { [key: string]: string } {
|
|
@@ -406,7 +476,7 @@ export class ListApplicationFederatedCredentialsResponseBody extends $dara.Model
|
|
|
406
476
|
applicationFederatedCredentials?: ListApplicationFederatedCredentialsResponseBodyApplicationFederatedCredentials[];
|
|
407
477
|
/**
|
|
408
478
|
* @remarks
|
|
409
|
-
* The number of
|
|
479
|
+
* The maximum number of rows per page in a paged query.
|
|
410
480
|
*
|
|
411
481
|
* @example
|
|
412
482
|
* 20
|
|
@@ -438,7 +508,7 @@ export class ListApplicationFederatedCredentialsResponseBody extends $dara.Model
|
|
|
438
508
|
requestId?: string;
|
|
439
509
|
/**
|
|
440
510
|
* @remarks
|
|
441
|
-
* The total number of entries
|
|
511
|
+
* The total number of entries in the list.
|
|
442
512
|
*
|
|
443
513
|
* @example
|
|
444
514
|
* 100
|
|
@@ -5,11 +5,11 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ListAuthorizationResourcesRequestFilter extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The filter field
|
|
8
|
+
* The name of the filter field. Valid values:
|
|
9
9
|
*
|
|
10
|
-
* - AuthorizationResourceEntityType: the resource entity
|
|
10
|
+
* - AuthorizationResourceEntityType: the type of the resource entity associated with the authorized resource.
|
|
11
11
|
*
|
|
12
|
-
* - AuthorizationResourceEntityId: the resource entity
|
|
12
|
+
* - AuthorizationResourceEntityId: the ID of the resource entity associated with the authorized resource.
|
|
13
13
|
*
|
|
14
14
|
* @example
|
|
15
15
|
* AuthorizationResourceEntityId
|
|
@@ -76,7 +76,7 @@ export class ListAuthorizationResourcesRequest extends $dara.Model {
|
|
|
76
76
|
* @remarks
|
|
77
77
|
* The maximum number of records per page.
|
|
78
78
|
*
|
|
79
|
-
* - If
|
|
79
|
+
* - If you do not specify this parameter, the default value is 20.
|
|
80
80
|
*
|
|
81
81
|
* - The maximum value is 100.
|
|
82
82
|
*
|
|
@@ -88,7 +88,7 @@ export class ListAuthorizationResourcesRequest extends $dara.Model {
|
|
|
88
88
|
* @remarks
|
|
89
89
|
* The pagination token that marks the starting position of the next page.
|
|
90
90
|
*
|
|
91
|
-
* - If
|
|
91
|
+
* - If you do not specify this parameter, the query starts from the first page.
|
|
92
92
|
*
|
|
93
93
|
* @example
|
|
94
94
|
* NTxxxxxexample
|
|
@@ -65,7 +65,7 @@ export class ListAuthorizationResourcesResponseBodyAuthorizationResourcesConditi
|
|
|
65
65
|
export class ListAuthorizationResourcesResponseBodyAuthorizationResources extends $dara.Model {
|
|
66
66
|
/**
|
|
67
67
|
* @remarks
|
|
68
|
-
* The resource entity
|
|
68
|
+
* The ID of the resource entity associated with the authorized resource.
|
|
69
69
|
*
|
|
70
70
|
* @example
|
|
71
71
|
* carole_01kmek49aqxxxx
|
|
@@ -73,8 +73,8 @@ export class ListAuthorizationResourcesResponseBodyAuthorizationResources extend
|
|
|
73
73
|
authorizationResourceEntityId?: string;
|
|
74
74
|
/**
|
|
75
75
|
* @remarks
|
|
76
|
-
* The resource entity
|
|
77
|
-
* - cloud_account_role: cloud role
|
|
76
|
+
* The type of the resource entity associated with the authorized resource. Valid values:
|
|
77
|
+
* - cloud_account_role: cloud role.
|
|
78
78
|
*
|
|
79
79
|
* @example
|
|
80
80
|
* cloud_account_role
|
|
@@ -98,7 +98,7 @@ export class ListAuthorizationResourcesResponseBodyAuthorizationResources extend
|
|
|
98
98
|
authorizationRuleId?: string;
|
|
99
99
|
/**
|
|
100
100
|
* @remarks
|
|
101
|
-
* The cloud account
|
|
101
|
+
* The ID of the cloud account to which the resource entity associated with the authorized resource belongs.
|
|
102
102
|
*
|
|
103
103
|
* @example
|
|
104
104
|
* ca_01kmegjc11qa1txxxxx
|
|
@@ -111,7 +111,7 @@ export class ListAuthorizationResourcesResponseBodyAuthorizationResources extend
|
|
|
111
111
|
condition?: ListAuthorizationResourcesResponseBodyAuthorizationResourcesCondition;
|
|
112
112
|
/**
|
|
113
113
|
* @remarks
|
|
114
|
-
* The creation time.
|
|
114
|
+
* The creation time, in UNIX timestamp format. Unit: milliseconds.
|
|
115
115
|
*
|
|
116
116
|
* @example
|
|
117
117
|
* 1768789292000
|
|
@@ -127,7 +127,7 @@ export class ListAuthorizationResourcesResponseBodyAuthorizationResources extend
|
|
|
127
127
|
instanceId?: string;
|
|
128
128
|
/**
|
|
129
129
|
* @remarks
|
|
130
|
-
* The update time.
|
|
130
|
+
* The update time, in UNIX timestamp format. Unit: milliseconds.
|
|
131
131
|
*
|
|
132
132
|
* @example
|
|
133
133
|
* 1768789292000
|
|
@@ -176,7 +176,7 @@ export class ListAuthorizationResourcesResponseBodyAuthorizationResources extend
|
|
|
176
176
|
export class ListAuthorizationResourcesResponseBody extends $dara.Model {
|
|
177
177
|
/**
|
|
178
178
|
* @remarks
|
|
179
|
-
* The list of
|
|
179
|
+
* The list of authorized resources.
|
|
180
180
|
*/
|
|
181
181
|
authorizationResources?: ListAuthorizationResourcesResponseBodyAuthorizationResources[];
|
|
182
182
|
/**
|
|
@@ -189,7 +189,7 @@ export class ListAuthorizationResourcesResponseBody extends $dara.Model {
|
|
|
189
189
|
maxResults?: number;
|
|
190
190
|
/**
|
|
191
191
|
* @remarks
|
|
192
|
-
* The pagination token returned
|
|
192
|
+
* The pagination token returned in this call, which is used for the next paged query.
|
|
193
193
|
*
|
|
194
194
|
* @example
|
|
195
195
|
* NTxxxexample
|
|
@@ -205,7 +205,7 @@ export class ListAuthorizationResourcesResponseBody extends $dara.Model {
|
|
|
205
205
|
requestId?: string;
|
|
206
206
|
/**
|
|
207
207
|
* @remarks
|
|
208
|
-
* The total number of entries
|
|
208
|
+
* The total number of entries returned.
|
|
209
209
|
*
|
|
210
210
|
* @example
|
|
211
211
|
* 100
|
|
@@ -8,7 +8,7 @@ export class ListAuthorizationRulesRequestFilter extends $dara.Model {
|
|
|
8
8
|
* The name of the filter field. Valid values:
|
|
9
9
|
*
|
|
10
10
|
* - AuthorizationRuleId: the authorization rule ID.
|
|
11
|
-
* - AuthorizationRuleNameStartWith: the
|
|
11
|
+
* - AuthorizationRuleNameStartWith: the left-match value of the authorization rule name.
|
|
12
12
|
*
|
|
13
13
|
* @example
|
|
14
14
|
* AuthorizationRuleId
|
|
@@ -75,7 +75,7 @@ export class ListAuthorizationRulesRequest extends $dara.Model {
|
|
|
75
75
|
maxResults?: number;
|
|
76
76
|
/**
|
|
77
77
|
* @remarks
|
|
78
|
-
* The token that
|
|
78
|
+
* The token that identifies the start position of the next page.
|
|
79
79
|
*
|
|
80
80
|
* - If this parameter is not specified, the query starts from the first page.
|
|
81
81
|
*
|
|
@@ -6,8 +6,8 @@ export class ListAuthorizationRulesResponseBodyAuthorizationRules extends $dara.
|
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
8
|
* The authorization resource scope. Valid values:
|
|
9
|
-
* - global: all resources under the project
|
|
10
|
-
* - custom: specified resources under the project
|
|
9
|
+
* - global: all resources under the project.
|
|
10
|
+
* - custom: specified resources under the project.
|
|
11
11
|
*
|
|
12
12
|
* @example
|
|
13
13
|
* global
|
|
@@ -16,8 +16,8 @@ export class ListAuthorizationRulesResponseBodyAuthorizationRules extends $dara.
|
|
|
16
16
|
/**
|
|
17
17
|
* @remarks
|
|
18
18
|
* The creation type of the authorization rule. Valid values:
|
|
19
|
-
* - system_init: created by the system
|
|
20
|
-
* - user_custom: created by the user
|
|
19
|
+
* - system_init: created by the system.
|
|
20
|
+
* - user_custom: created by the user.
|
|
21
21
|
*
|
|
22
22
|
* @example
|
|
23
23
|
* user_custom
|
|
@@ -41,7 +41,12 @@ export class ListAuthorizationRulesResponseBodyAuthorizationRules extends $dara.
|
|
|
41
41
|
authorizationRuleName?: string;
|
|
42
42
|
/**
|
|
43
43
|
* @remarks
|
|
44
|
-
* The scenario label of the authorization rule.
|
|
44
|
+
* The scenario label of the authorization rule. Valid values:
|
|
45
|
+
* - privileged_cloud_account: privileged cloud account scenario.
|
|
46
|
+
* - asset: asset scenario.
|
|
47
|
+
*
|
|
48
|
+
* @example
|
|
49
|
+
* Asset
|
|
45
50
|
*/
|
|
46
51
|
authorizationRuleScenarioLabel?: string;
|
|
47
52
|
/**
|
|
@@ -55,8 +60,8 @@ export class ListAuthorizationRulesResponseBodyAuthorizationRules extends $dara.
|
|
|
55
60
|
/**
|
|
56
61
|
* @remarks
|
|
57
62
|
* The subject scope of the authorization rule. Valid values:
|
|
58
|
-
* - shared: supports all subjects, including accounts and applications
|
|
59
|
-
* - exclusive: exclusive type
|
|
63
|
+
* - shared: supports all subjects, including accounts and applications.
|
|
64
|
+
* - exclusive: exclusive type.
|
|
60
65
|
*
|
|
61
66
|
* @example
|
|
62
67
|
* shared
|
|
@@ -65,8 +70,8 @@ export class ListAuthorizationRulesResponseBodyAuthorizationRules extends $dara.
|
|
|
65
70
|
/**
|
|
66
71
|
* @remarks
|
|
67
72
|
* 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
|
+
* - application: application.
|
|
74
|
+
* - user: account.
|
|
70
75
|
*
|
|
71
76
|
* @example
|
|
72
77
|
* user
|
|
@@ -107,8 +112,8 @@ export class ListAuthorizationRulesResponseBodyAuthorizationRules extends $dara.
|
|
|
107
112
|
/**
|
|
108
113
|
* @remarks
|
|
109
114
|
* The authorization rule status. Valid values:
|
|
110
|
-
* - enabled:
|
|
111
|
-
* - disabled:
|
|
115
|
+
* - enabled: Enabled.
|
|
116
|
+
* - disabled: Disabled.
|
|
112
117
|
*
|
|
113
118
|
* @example
|
|
114
119
|
* enabled
|
|
@@ -177,7 +182,7 @@ export class ListAuthorizationRulesResponseBody extends $dara.Model {
|
|
|
177
182
|
authorizationRules?: ListAuthorizationRulesResponseBodyAuthorizationRules[];
|
|
178
183
|
/**
|
|
179
184
|
* @remarks
|
|
180
|
-
* The number of entries per page in
|
|
185
|
+
* The number of entries per page in a paging query.
|
|
181
186
|
*
|
|
182
187
|
* @example
|
|
183
188
|
* 20
|