@alicloud/eiam20211201 2.18.2 → 2.19.1
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 +141 -26
- package/dist/client.js +366 -35
- package/dist/client.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/CreateTrustedOriginRequest.d.ts +59 -0
- package/dist/models/CreateTrustedOriginRequest.js +69 -0
- package/dist/models/CreateTrustedOriginRequest.js.map +1 -0
- package/dist/models/CreateTrustedOriginResponse.d.ts +19 -0
- package/dist/models/CreateTrustedOriginResponse.js +69 -0
- package/dist/models/CreateTrustedOriginResponse.js.map +1 -0
- package/dist/models/CreateTrustedOriginResponseBody.d.ts +29 -0
- package/dist/models/CreateTrustedOriginResponseBody.js +60 -0
- package/dist/models/CreateTrustedOriginResponseBody.js.map +1 -0
- package/dist/models/DeleteTrustedOriginRequest.d.ts +41 -0
- package/dist/models/DeleteTrustedOriginRequest.js +62 -0
- package/dist/models/DeleteTrustedOriginRequest.js.map +1 -0
- package/dist/models/DeleteTrustedOriginResponse.d.ts +19 -0
- package/dist/models/DeleteTrustedOriginResponse.js +69 -0
- package/dist/models/DeleteTrustedOriginResponse.js.map +1 -0
- package/dist/models/DeleteTrustedOriginResponseBody.d.ts +21 -0
- package/dist/models/DeleteTrustedOriginResponseBody.js +58 -0
- package/dist/models/DeleteTrustedOriginResponseBody.js.map +1 -0
- package/dist/models/DisableTrustedOriginRequest.d.ts +33 -0
- package/dist/models/DisableTrustedOriginRequest.js +60 -0
- package/dist/models/DisableTrustedOriginRequest.js.map +1 -0
- package/dist/models/DisableTrustedOriginResponse.d.ts +19 -0
- package/dist/models/DisableTrustedOriginResponse.js +69 -0
- package/dist/models/DisableTrustedOriginResponse.js.map +1 -0
- package/dist/models/DisableTrustedOriginResponseBody.d.ts +21 -0
- package/dist/models/DisableTrustedOriginResponseBody.js +58 -0
- package/dist/models/DisableTrustedOriginResponseBody.js.map +1 -0
- package/dist/models/EnableTrustedOriginRequest.d.ts +33 -0
- package/dist/models/EnableTrustedOriginRequest.js +60 -0
- package/dist/models/EnableTrustedOriginRequest.js.map +1 -0
- package/dist/models/EnableTrustedOriginResponse.d.ts +19 -0
- package/dist/models/EnableTrustedOriginResponse.js +69 -0
- package/dist/models/EnableTrustedOriginResponse.js.map +1 -0
- package/dist/models/EnableTrustedOriginResponseBody.d.ts +21 -0
- package/dist/models/EnableTrustedOriginResponseBody.js +58 -0
- package/dist/models/EnableTrustedOriginResponseBody.js.map +1 -0
- package/dist/models/GetApplicationFederatedCredentialResponseBody.d.ts +79 -12
- package/dist/models/GetApplicationFederatedCredentialResponseBody.js.map +1 -1
- package/dist/models/GetAuthorizationResourceResponseBody.d.ts +3 -0
- package/dist/models/GetAuthorizationResourceResponseBody.js.map +1 -1
- 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/GetTrustedOriginRequest.d.ts +33 -0
- package/dist/models/GetTrustedOriginRequest.js +60 -0
- package/dist/models/GetTrustedOriginRequest.js.map +1 -0
- package/dist/models/GetTrustedOriginResponse.d.ts +19 -0
- package/dist/models/GetTrustedOriginResponse.js +69 -0
- package/dist/models/GetTrustedOriginResponse.js.map +1 -0
- package/dist/models/GetTrustedOriginResponseBody.d.ts +103 -0
- package/dist/models/GetTrustedOriginResponseBody.js +99 -0
- package/dist/models/GetTrustedOriginResponseBody.js.map +1 -0
- 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 +4 -4
- package/dist/models/ListAuthorizationResourcesResponseBody.d.ts +10 -7
- package/dist/models/ListAuthorizationResourcesResponseBody.js.map +1 -1
- 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/ListNetworkAccessEndpointsRequest.d.ts +6 -6
- package/dist/models/ListNetworkAccessEndpointsResponseBody.d.ts +44 -7
- package/dist/models/ListNetworkAccessEndpointsResponseBody.js.map +1 -1
- package/dist/models/ListTrustedOriginsRequest.d.ts +71 -0
- package/dist/models/ListTrustedOriginsRequest.js +73 -0
- package/dist/models/ListTrustedOriginsRequest.js.map +1 -0
- package/dist/models/ListTrustedOriginsResponse.d.ts +19 -0
- package/dist/models/ListTrustedOriginsResponse.js +69 -0
- package/dist/models/ListTrustedOriginsResponse.js.map +1 -0
- package/dist/models/ListTrustedOriginsResponseBody.d.ts +127 -0
- package/dist/models/ListTrustedOriginsResponseBody.js +105 -0
- package/dist/models/ListTrustedOriginsResponseBody.js.map +1 -0
- package/dist/models/RevokeResourceServerScopesFromClientRequest.d.ts +2 -2
- package/dist/models/UpdateApplicationFederatedCredentialRequest.d.ts +61 -6
- package/dist/models/UpdateApplicationFederatedCredentialRequest.js.map +1 -1
- package/dist/models/UpdateTrustedOriginRequest.d.ts +57 -0
- package/dist/models/UpdateTrustedOriginRequest.js +69 -0
- package/dist/models/UpdateTrustedOriginRequest.js.map +1 -0
- package/dist/models/UpdateTrustedOriginResponse.d.ts +19 -0
- package/dist/models/UpdateTrustedOriginResponse.js +69 -0
- package/dist/models/UpdateTrustedOriginResponse.js.map +1 -0
- package/dist/models/UpdateTrustedOriginResponseBody.d.ts +21 -0
- package/dist/models/UpdateTrustedOriginResponseBody.js +58 -0
- package/dist/models/UpdateTrustedOriginResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +23 -0
- package/dist/models/model.js +74 -27
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +406 -35
- package/src/models/CreateApplicationFederatedCredentialRequest.ts +61 -12
- package/src/models/CreateApplicationFederatedCredentialResponseBody.ts +1 -1
- package/src/models/CreateCloudAccountRequest.ts +1 -1
- package/src/models/CreateTrustedOriginRequest.ts +83 -0
- package/src/models/CreateTrustedOriginResponse.ts +40 -0
- package/src/models/CreateTrustedOriginResponseBody.ts +44 -0
- package/src/models/DeleteTrustedOriginRequest.ts +58 -0
- package/src/models/DeleteTrustedOriginResponse.ts +40 -0
- package/src/models/DeleteTrustedOriginResponseBody.ts +34 -0
- package/src/models/DisableTrustedOriginRequest.ts +48 -0
- package/src/models/DisableTrustedOriginResponse.ts +40 -0
- package/src/models/DisableTrustedOriginResponseBody.ts +34 -0
- package/src/models/EnableTrustedOriginRequest.ts +48 -0
- package/src/models/EnableTrustedOriginResponse.ts +40 -0
- package/src/models/EnableTrustedOriginResponseBody.ts +34 -0
- package/src/models/GetApplicationFederatedCredentialResponseBody.ts +79 -12
- package/src/models/GetAuthorizationResourceResponseBody.ts +3 -0
- 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/GetTrustedOriginRequest.ts +48 -0
- package/src/models/GetTrustedOriginResponse.ts +40 -0
- package/src/models/GetTrustedOriginResponseBody.ts +148 -0
- 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 +4 -4
- package/src/models/ListAuthorizationResourcesResponseBody.ts +10 -7
- 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/ListNetworkAccessEndpointsRequest.ts +6 -6
- package/src/models/ListNetworkAccessEndpointsResponseBody.ts +44 -7
- package/src/models/ListTrustedOriginsRequest.ts +99 -0
- package/src/models/ListTrustedOriginsResponse.ts +40 -0
- package/src/models/ListTrustedOriginsResponseBody.ts +178 -0
- package/src/models/RevokeResourceServerScopesFromClientRequest.ts +2 -2
- package/src/models/UpdateApplicationFederatedCredentialRequest.ts +61 -6
- package/src/models/UpdateTrustedOriginRequest.ts +81 -0
- package/src/models/UpdateTrustedOriginResponse.ts +40 -0
- package/src/models/UpdateTrustedOriginResponseBody.ts +34 -0
- package/src/models/model.ts +23 -0
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class EnableTrustedOriginResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The request ID.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* 0441BD79-example
|
|
12
|
+
*/
|
|
13
|
+
requestId?: string;
|
|
14
|
+
static names(): { [key: string]: string } {
|
|
15
|
+
return {
|
|
16
|
+
requestId: 'RequestId',
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
static types(): { [key: string]: any } {
|
|
21
|
+
return {
|
|
22
|
+
requestId: 'string',
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
super.validate();
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
constructor(map?: { [key: string]: any }) {
|
|
31
|
+
super(map);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
@@ -43,9 +43,34 @@ export class GetApplicationFederatedCredentialResponseBodyApplicationFederatedCr
|
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
export class GetApplicationFederatedCredentialResponseBodyApplicationFederatedCredentialOidcVerificationConfigAzureVmConfig extends $dara.Model {
|
|
46
|
+
/**
|
|
47
|
+
* @remarks
|
|
48
|
+
* The principal ID.
|
|
49
|
+
*
|
|
50
|
+
* @example
|
|
51
|
+
* 5dee234a-1b4c-4ad7-a19f-fxxxxx
|
|
52
|
+
*/
|
|
46
53
|
principalId?: string;
|
|
54
|
+
/**
|
|
55
|
+
* @remarks
|
|
56
|
+
* The Azure resource group name.
|
|
57
|
+
*
|
|
58
|
+
* @example
|
|
59
|
+
* user_default
|
|
60
|
+
*/
|
|
47
61
|
resourceGroupName?: string;
|
|
62
|
+
/**
|
|
63
|
+
* @remarks
|
|
64
|
+
* The subscription ID.
|
|
65
|
+
*
|
|
66
|
+
* @example
|
|
67
|
+
* 4342a1f4-7e5d-4371-97dc-d4f33f4xxxx
|
|
68
|
+
*/
|
|
48
69
|
subscriptionId?: string;
|
|
70
|
+
/**
|
|
71
|
+
* @remarks
|
|
72
|
+
* The list of virtual machine names.
|
|
73
|
+
*/
|
|
49
74
|
vmNames?: string[];
|
|
50
75
|
static names(): { [key: string]: string } {
|
|
51
76
|
return {
|
|
@@ -80,13 +105,23 @@ export class GetApplicationFederatedCredentialResponseBodyApplicationFederatedCr
|
|
|
80
105
|
export class GetApplicationFederatedCredentialResponseBodyApplicationFederatedCredentialOidcVerificationConfigGcpVmConfig extends $dara.Model {
|
|
81
106
|
/**
|
|
82
107
|
* @remarks
|
|
83
|
-
* The list of VM instance IDs.
|
|
108
|
+
* The list of VM instance IDs.
|
|
84
109
|
*/
|
|
85
110
|
instanceIds?: string[];
|
|
111
|
+
/**
|
|
112
|
+
* @remarks
|
|
113
|
+
* The GCP project ID.
|
|
114
|
+
*
|
|
115
|
+
* @example
|
|
116
|
+
* turnkey-axiom-475109-xx
|
|
117
|
+
*/
|
|
86
118
|
projectId?: string;
|
|
87
119
|
/**
|
|
88
120
|
* @remarks
|
|
89
|
-
* The
|
|
121
|
+
* The subject corresponding to the service account.
|
|
122
|
+
*
|
|
123
|
+
* @example
|
|
124
|
+
* 123456789
|
|
90
125
|
*/
|
|
91
126
|
serviceAccountId?: string;
|
|
92
127
|
static names(): { [key: string]: string } {
|
|
@@ -118,6 +153,13 @@ export class GetApplicationFederatedCredentialResponseBodyApplicationFederatedCr
|
|
|
118
153
|
}
|
|
119
154
|
|
|
120
155
|
export class GetApplicationFederatedCredentialResponseBodyApplicationFederatedCredentialOidcVerificationConfigGenericConfig extends $dara.Model {
|
|
156
|
+
/**
|
|
157
|
+
* @remarks
|
|
158
|
+
* The subject identifier.
|
|
159
|
+
*
|
|
160
|
+
* @example
|
|
161
|
+
* test_subject
|
|
162
|
+
*/
|
|
121
163
|
subject?: string;
|
|
122
164
|
static names(): { [key: string]: string } {
|
|
123
165
|
return {
|
|
@@ -143,17 +185,26 @@ export class GetApplicationFederatedCredentialResponseBodyApplicationFederatedCr
|
|
|
143
185
|
export class GetApplicationFederatedCredentialResponseBodyApplicationFederatedCredentialOidcVerificationConfigKubernetesConfig extends $dara.Model {
|
|
144
186
|
/**
|
|
145
187
|
* @remarks
|
|
146
|
-
* The
|
|
188
|
+
* The K8s namespace.
|
|
189
|
+
*
|
|
190
|
+
* @example
|
|
191
|
+
* default
|
|
147
192
|
*/
|
|
148
193
|
namespace?: string;
|
|
149
194
|
/**
|
|
150
195
|
* @remarks
|
|
151
196
|
* The pod name prefix.
|
|
197
|
+
*
|
|
198
|
+
* @example
|
|
199
|
+
* test-pod
|
|
152
200
|
*/
|
|
153
201
|
podNamePrefix?: string;
|
|
154
202
|
/**
|
|
155
203
|
* @remarks
|
|
156
|
-
* The
|
|
204
|
+
* The K8s service account name.
|
|
205
|
+
*
|
|
206
|
+
* @example
|
|
207
|
+
* default
|
|
157
208
|
*/
|
|
158
209
|
serviceAccountName?: string;
|
|
159
210
|
static names(): { [key: string]: string } {
|
|
@@ -192,6 +243,10 @@ export class GetApplicationFederatedCredentialResponseBodyApplicationFederatedCr
|
|
|
192
243
|
* The GCP VM scenario configuration.
|
|
193
244
|
*/
|
|
194
245
|
gcpVmConfig?: GetApplicationFederatedCredentialResponseBodyApplicationFederatedCredentialOidcVerificationConfigGcpVmConfig;
|
|
246
|
+
/**
|
|
247
|
+
* @remarks
|
|
248
|
+
* The generic scenario configuration.
|
|
249
|
+
*/
|
|
195
250
|
genericConfig?: GetApplicationFederatedCredentialResponseBodyApplicationFederatedCredentialOidcVerificationConfigGenericConfig;
|
|
196
251
|
/**
|
|
197
252
|
* @remarks
|
|
@@ -200,7 +255,14 @@ export class GetApplicationFederatedCredentialResponseBodyApplicationFederatedCr
|
|
|
200
255
|
kubernetesConfig?: GetApplicationFederatedCredentialResponseBodyApplicationFederatedCredentialOidcVerificationConfigKubernetesConfig;
|
|
201
256
|
/**
|
|
202
257
|
* @remarks
|
|
203
|
-
* The OIDC scenario profile.
|
|
258
|
+
* The OIDC scenario profile. Different profiles correspond to different configurations. Valid values:
|
|
259
|
+
* - generic
|
|
260
|
+
* - kubernetes
|
|
261
|
+
* - gcp_vm
|
|
262
|
+
* - azure_vm
|
|
263
|
+
*
|
|
264
|
+
* @example
|
|
265
|
+
* kubernetes
|
|
204
266
|
*/
|
|
205
267
|
profile?: string;
|
|
206
268
|
static names(): { [key: string]: string } {
|
|
@@ -247,7 +309,7 @@ export class GetApplicationFederatedCredentialResponseBodyApplicationFederatedCr
|
|
|
247
309
|
export class GetApplicationFederatedCredentialResponseBodyApplicationFederatedCredentialPkcs7VerificationConfig extends $dara.Model {
|
|
248
310
|
/**
|
|
249
311
|
* @remarks
|
|
250
|
-
* The list of allowed instance IDs.
|
|
312
|
+
* The list of allowed instance IDs.
|
|
251
313
|
*/
|
|
252
314
|
instanceIds?: string[];
|
|
253
315
|
static names(): { [key: string]: string } {
|
|
@@ -314,7 +376,7 @@ export class GetApplicationFederatedCredentialResponseBodyApplicationFederatedCr
|
|
|
314
376
|
attributeMappings?: GetApplicationFederatedCredentialResponseBodyApplicationFederatedCredentialAttributeMappings[];
|
|
315
377
|
/**
|
|
316
378
|
* @remarks
|
|
317
|
-
* The time
|
|
379
|
+
* The creation time.
|
|
318
380
|
*
|
|
319
381
|
* @example
|
|
320
382
|
* 1758785994982
|
|
@@ -346,7 +408,7 @@ export class GetApplicationFederatedCredentialResponseBodyApplicationFederatedCr
|
|
|
346
408
|
instanceId?: string;
|
|
347
409
|
/**
|
|
348
410
|
* @remarks
|
|
349
|
-
* The
|
|
411
|
+
* The last used time.
|
|
350
412
|
*
|
|
351
413
|
* @example
|
|
352
414
|
* 1758785994982
|
|
@@ -354,12 +416,12 @@ export class GetApplicationFederatedCredentialResponseBodyApplicationFederatedCr
|
|
|
354
416
|
lastUsedTime?: number;
|
|
355
417
|
/**
|
|
356
418
|
* @remarks
|
|
357
|
-
* The OIDC structured configuration.
|
|
419
|
+
* The OIDC structured configuration.
|
|
358
420
|
*/
|
|
359
421
|
oidcVerificationConfig?: GetApplicationFederatedCredentialResponseBodyApplicationFederatedCredentialOidcVerificationConfig;
|
|
360
422
|
/**
|
|
361
423
|
* @remarks
|
|
362
|
-
* The PKCS#7 structured configuration.
|
|
424
|
+
* The PKCS#7 structured configuration.
|
|
363
425
|
*/
|
|
364
426
|
pkcs7VerificationConfig?: GetApplicationFederatedCredentialResponseBodyApplicationFederatedCredentialPkcs7VerificationConfig;
|
|
365
427
|
/**
|
|
@@ -372,7 +434,7 @@ export class GetApplicationFederatedCredentialResponseBodyApplicationFederatedCr
|
|
|
372
434
|
status?: string;
|
|
373
435
|
/**
|
|
374
436
|
* @remarks
|
|
375
|
-
* The time
|
|
437
|
+
* The update time.
|
|
376
438
|
*
|
|
377
439
|
* @example
|
|
378
440
|
* 1758785994982
|
|
@@ -388,7 +450,12 @@ export class GetApplicationFederatedCredentialResponseBodyApplicationFederatedCr
|
|
|
388
450
|
verificationCondition?: string;
|
|
389
451
|
/**
|
|
390
452
|
* @remarks
|
|
391
|
-
* The verification mode. Valid values:
|
|
453
|
+
* The verification mode. Valid values:
|
|
454
|
+
* - freedom: Free mode.
|
|
455
|
+
* - structured: Structured mode.
|
|
456
|
+
*
|
|
457
|
+
* @example
|
|
458
|
+
* structured
|
|
392
459
|
*/
|
|
393
460
|
verificationMode?: string;
|
|
394
461
|
static names(): { [key: string]: string } {
|
|
@@ -6,6 +6,9 @@ export class GetAuthorizationResourceResponseBodyAuthorizationResourceConditionC
|
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
8
|
* Specifies whether same-name identity accounts are supported.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* true
|
|
9
12
|
*/
|
|
10
13
|
allowSameNameIdentity?: boolean;
|
|
11
14
|
static names(): { [key: string]: string } {
|
|
@@ -41,7 +41,12 @@ export class GetAuthorizationRuleResponseBodyAuthorizationRule extends $dara.Mod
|
|
|
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
|
/**
|
|
@@ -74,7 +79,7 @@ export class GetAuthorizationRuleResponseBodyAuthorizationRule extends $dara.Mod
|
|
|
74
79
|
authorizationRuleSubjectType?: string;
|
|
75
80
|
/**
|
|
76
81
|
* @remarks
|
|
77
|
-
* The creation time, in UNIX timestamp format
|
|
82
|
+
* The creation time, in UNIX timestamp format. Unit: milliseconds.
|
|
78
83
|
*
|
|
79
84
|
* @example
|
|
80
85
|
* 1652085686179
|
|
@@ -116,7 +121,7 @@ export class GetAuthorizationRuleResponseBodyAuthorizationRule extends $dara.Mod
|
|
|
116
121
|
status?: string;
|
|
117
122
|
/**
|
|
118
123
|
* @remarks
|
|
119
|
-
* The last update time, in UNIX timestamp format
|
|
124
|
+
* The last update time, in UNIX timestamp format. Unit: milliseconds.
|
|
120
125
|
*
|
|
121
126
|
* @example
|
|
122
127
|
* 1652085686179
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class GetBrandRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
*
|
|
8
|
+
* The brand ID.
|
|
9
9
|
*
|
|
10
10
|
* This parameter is required.
|
|
11
11
|
*
|
|
@@ -15,7 +15,7 @@ export class GetBrandRequest extends $dara.Model {
|
|
|
15
15
|
brandId?: string;
|
|
16
16
|
/**
|
|
17
17
|
* @remarks
|
|
18
|
-
*
|
|
18
|
+
* The instance ID.
|
|
19
19
|
*
|
|
20
20
|
* This parameter is required.
|
|
21
21
|
*
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class GetBrandResponseBodyBrand extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
*
|
|
8
|
+
* The brand ID.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* brand_xxxx
|
|
@@ -13,7 +13,7 @@ export class GetBrandResponseBodyBrand extends $dara.Model {
|
|
|
13
13
|
brandId?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
*
|
|
16
|
+
* The brand name.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* Custom Brand
|
|
@@ -21,7 +21,7 @@ export class GetBrandResponseBodyBrand extends $dara.Model {
|
|
|
21
21
|
brandName?: string;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
*
|
|
24
|
+
* The brand type.
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
27
|
* user_custom
|
|
@@ -29,7 +29,7 @@ export class GetBrandResponseBodyBrand extends $dara.Model {
|
|
|
29
29
|
brandType?: string;
|
|
30
30
|
/**
|
|
31
31
|
* @remarks
|
|
32
|
-
*
|
|
32
|
+
* The instance ID.
|
|
33
33
|
*
|
|
34
34
|
* @example
|
|
35
35
|
* idaas_ue2jvisn35ea5lmthk267xxxxx
|
|
@@ -37,19 +37,37 @@ export class GetBrandResponseBodyBrand extends $dara.Model {
|
|
|
37
37
|
instanceId?: string;
|
|
38
38
|
/**
|
|
39
39
|
* @remarks
|
|
40
|
-
*
|
|
40
|
+
* The SMS gateway ID.
|
|
41
|
+
*
|
|
42
|
+
* @example
|
|
43
|
+
* smsgw_01l9f0kunrrjhxxx
|
|
44
|
+
*/
|
|
45
|
+
smsGatewayId?: string;
|
|
46
|
+
/**
|
|
47
|
+
* @remarks
|
|
48
|
+
* The brand status.
|
|
41
49
|
*
|
|
42
50
|
* @example
|
|
43
51
|
* enabled
|
|
44
52
|
*/
|
|
45
53
|
status?: string;
|
|
54
|
+
/**
|
|
55
|
+
* @remarks
|
|
56
|
+
* The enabling status of system notifications.
|
|
57
|
+
*
|
|
58
|
+
* @example
|
|
59
|
+
* enabled
|
|
60
|
+
*/
|
|
61
|
+
systemNotificationStatus?: string;
|
|
46
62
|
static names(): { [key: string]: string } {
|
|
47
63
|
return {
|
|
48
64
|
brandId: 'BrandId',
|
|
49
65
|
brandName: 'BrandName',
|
|
50
66
|
brandType: 'BrandType',
|
|
51
67
|
instanceId: 'InstanceId',
|
|
68
|
+
smsGatewayId: 'SmsGatewayId',
|
|
52
69
|
status: 'Status',
|
|
70
|
+
systemNotificationStatus: 'SystemNotificationStatus',
|
|
53
71
|
};
|
|
54
72
|
}
|
|
55
73
|
|
|
@@ -59,7 +77,9 @@ export class GetBrandResponseBodyBrand extends $dara.Model {
|
|
|
59
77
|
brandName: 'string',
|
|
60
78
|
brandType: 'string',
|
|
61
79
|
instanceId: 'string',
|
|
80
|
+
smsGatewayId: 'string',
|
|
62
81
|
status: 'string',
|
|
82
|
+
systemNotificationStatus: 'string',
|
|
63
83
|
};
|
|
64
84
|
}
|
|
65
85
|
|
|
@@ -75,12 +95,12 @@ export class GetBrandResponseBodyBrand extends $dara.Model {
|
|
|
75
95
|
export class GetBrandResponseBody extends $dara.Model {
|
|
76
96
|
/**
|
|
77
97
|
* @remarks
|
|
78
|
-
*
|
|
98
|
+
* The brand.
|
|
79
99
|
*/
|
|
80
100
|
brand?: GetBrandResponseBodyBrand;
|
|
81
101
|
/**
|
|
82
102
|
* @remarks
|
|
83
|
-
*
|
|
103
|
+
* The request ID.
|
|
84
104
|
*
|
|
85
105
|
* @example
|
|
86
106
|
* 0441BD79-92F3-53AA-8657-F8CE4A2B912A
|
|
@@ -13,7 +13,7 @@ export class GetCloudAccountResponseBodyCloudAccountCloudAccountHealthCheckResul
|
|
|
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.
|
|
@@ -45,7 +45,7 @@ export class GetCloudAccountResponseBodyCloudAccountCloudAccountHealthCheckResul
|
|
|
45
45
|
export class GetCloudAccountResponseBodyCloudAccountCloudAccountHealthCheckResult extends $dara.Model {
|
|
46
46
|
/**
|
|
47
47
|
* @remarks
|
|
48
|
-
* The error reason. This field
|
|
48
|
+
* The error reason. This field returns a value when the health check status is unhealthy.
|
|
49
49
|
*/
|
|
50
50
|
errorReason?: GetCloudAccountResponseBodyCloudAccountCloudAccountHealthCheckResultErrorReason;
|
|
51
51
|
/**
|
|
@@ -159,11 +159,17 @@ export class GetCloudAccountResponseBodyCloudAccountPrivilegeHostingError extend
|
|
|
159
159
|
/**
|
|
160
160
|
* @remarks
|
|
161
161
|
* The failure error code.
|
|
162
|
+
*
|
|
163
|
+
* @example
|
|
164
|
+
* Error
|
|
162
165
|
*/
|
|
163
166
|
errorCode?: string;
|
|
164
167
|
/**
|
|
165
168
|
* @remarks
|
|
166
169
|
* The failure message.
|
|
170
|
+
*
|
|
171
|
+
* @example
|
|
172
|
+
* test message
|
|
167
173
|
*/
|
|
168
174
|
errorMessage?: string;
|
|
169
175
|
static names(): { [key: string]: string } {
|
|
@@ -232,7 +238,7 @@ export class GetCloudAccountResponseBodyCloudAccount extends $dara.Model {
|
|
|
232
238
|
cloudAccountName?: string;
|
|
233
239
|
/**
|
|
234
240
|
* @remarks
|
|
235
|
-
* The identity provider configuration.
|
|
241
|
+
* The identity provider configuration information.
|
|
236
242
|
*/
|
|
237
243
|
cloudAccountProviderConfig?: GetCloudAccountResponseBodyCloudAccountCloudAccountProviderConfig;
|
|
238
244
|
/**
|
|
@@ -243,10 +249,22 @@ export class GetCloudAccountResponseBodyCloudAccount extends $dara.Model {
|
|
|
243
249
|
* idaas-eiam-oidc-provider
|
|
244
250
|
*/
|
|
245
251
|
cloudAccountProviderName?: string;
|
|
252
|
+
/**
|
|
253
|
+
* @remarks
|
|
254
|
+
* The cloud account role creation type.
|
|
255
|
+
*
|
|
256
|
+
* @example
|
|
257
|
+
* test
|
|
258
|
+
*/
|
|
246
259
|
cloudAccountRoleCreationType?: string;
|
|
247
260
|
/**
|
|
248
261
|
* @remarks
|
|
249
|
-
* The cloud account site.
|
|
262
|
+
* The cloud account site. Valid values:
|
|
263
|
+
* - china_mainland: The Chinese mainland.
|
|
264
|
+
* - global: Global.
|
|
265
|
+
*
|
|
266
|
+
* @example
|
|
267
|
+
* china_mainland
|
|
250
268
|
*/
|
|
251
269
|
cloudAccountSite?: string;
|
|
252
270
|
/**
|
|
@@ -295,12 +313,26 @@ export class GetCloudAccountResponseBodyCloudAccount extends $dara.Model {
|
|
|
295
313
|
privilegeHostingError?: GetCloudAccountResponseBodyCloudAccountPrivilegeHostingError;
|
|
296
314
|
/**
|
|
297
315
|
* @remarks
|
|
298
|
-
* The
|
|
316
|
+
* The hosting state of the cloud account. The default value is hosting_unmanaged. Valid values:
|
|
317
|
+
* - hosting_unmanaged: Unmanaged. The cloud account has not initiated hosting and is in the initial state.
|
|
318
|
+
* - hosting_pending: Hosting in progress. The hosting task has been submitted and is being executed asynchronously. Wait for the hosting process to complete before the final state is reached.
|
|
319
|
+
* - hosting_completed: Hosting completed. The cloud account hosting process was executed successfully. The related permission templates and hosting bindings have taken effect.
|
|
320
|
+
* - hosting_failed: Hosting failed. The hosting process encountered an exception. View the failure reason and re-initiate hosting.
|
|
321
|
+
* - hosting_removing: Removal in progress. The removal task has been submitted and is being executed asynchronously. Wait for the removal process to complete before the final state is reached.
|
|
322
|
+
* - hosting_remove_failed: Removal failed. The removal process encountered an exception. View the failure reason and re-initiate removal.
|
|
323
|
+
*
|
|
324
|
+
* @example
|
|
325
|
+
* hosting_unmanaged
|
|
299
326
|
*/
|
|
300
327
|
privilegeHostingState?: string;
|
|
301
328
|
/**
|
|
302
329
|
* @remarks
|
|
303
|
-
* The privilege switch status
|
|
330
|
+
* The privilege switch status. Valid values:
|
|
331
|
+
* - enabled: Enabled. The resource is active and can be used normally.
|
|
332
|
+
* - disabled: Disabled. The resource is deactivated and no longer takes effect. You can re-enable it to restore functionality.
|
|
333
|
+
*
|
|
334
|
+
* @example
|
|
335
|
+
* enabled
|
|
304
336
|
*/
|
|
305
337
|
privilegeStatus?: string;
|
|
306
338
|
/**
|
|
@@ -105,6 +105,15 @@ export class GetCloudAccountRoleResponseBodyCloudAccountRole extends $dara.Model
|
|
|
105
105
|
* ca_01kmegjc11qa1txxxxx
|
|
106
106
|
*/
|
|
107
107
|
cloudAccountId?: string;
|
|
108
|
+
/**
|
|
109
|
+
* @remarks
|
|
110
|
+
* The creation source. Valid values:
|
|
111
|
+
* - system_init: system-created. The role is automatically generated by the platform as a preset and typically cannot be modified or deleted.
|
|
112
|
+
* - user_custom: user-created. The role is manually created by a user and can be edited and managed throughout its lifecycle.
|
|
113
|
+
*
|
|
114
|
+
* @example
|
|
115
|
+
* user_custom
|
|
116
|
+
*/
|
|
108
117
|
cloudAccountRoleCreationType?: string;
|
|
109
118
|
/**
|
|
110
119
|
* @remarks
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class GetTrustedOriginRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The ID of the IDaaS EIAM instance.
|
|
9
|
+
*
|
|
10
|
+
* This parameter is required.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* idaas_example
|
|
14
|
+
*/
|
|
15
|
+
instanceId?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @remarks
|
|
18
|
+
* The ID of the trusted origin.
|
|
19
|
+
*
|
|
20
|
+
* This parameter is required.
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* to_example
|
|
24
|
+
*/
|
|
25
|
+
trustedOriginId?: string;
|
|
26
|
+
static names(): { [key: string]: string } {
|
|
27
|
+
return {
|
|
28
|
+
instanceId: 'InstanceId',
|
|
29
|
+
trustedOriginId: 'TrustedOriginId',
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
static types(): { [key: string]: any } {
|
|
34
|
+
return {
|
|
35
|
+
instanceId: 'string',
|
|
36
|
+
trustedOriginId: 'string',
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
validate() {
|
|
41
|
+
super.validate();
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
constructor(map?: { [key: string]: any }) {
|
|
45
|
+
super(map);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { GetTrustedOriginResponseBody } from "./GetTrustedOriginResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class GetTrustedOriginResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: GetTrustedOriginResponseBody;
|
|
10
|
+
static names(): { [key: string]: string } {
|
|
11
|
+
return {
|
|
12
|
+
headers: 'headers',
|
|
13
|
+
statusCode: 'statusCode',
|
|
14
|
+
body: 'body',
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
static types(): { [key: string]: any } {
|
|
19
|
+
return {
|
|
20
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
21
|
+
statusCode: 'number',
|
|
22
|
+
body: GetTrustedOriginResponseBody,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
if(this.headers) {
|
|
28
|
+
$dara.Model.validateMap(this.headers);
|
|
29
|
+
}
|
|
30
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
31
|
+
(this.body as any).validate();
|
|
32
|
+
}
|
|
33
|
+
super.validate();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
constructor(map?: { [key: string]: any }) {
|
|
37
|
+
super(map);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|