@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
|
@@ -43,9 +43,34 @@ export class CreateApplicationFederatedCredentialRequestAttributeMappings extend
|
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
export class CreateApplicationFederatedCredentialRequestOidcVerificationConfigAzureVmConfig 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 {
|
|
@@ -78,11 +103,22 @@ export class CreateApplicationFederatedCredentialRequestOidcVerificationConfigAz
|
|
|
78
103
|
}
|
|
79
104
|
|
|
80
105
|
export class CreateApplicationFederatedCredentialRequestOidcVerificationConfigGcpVmConfig extends $dara.Model {
|
|
106
|
+
/**
|
|
107
|
+
* @remarks
|
|
108
|
+
* The list of GCP virtual machine instance IDs.
|
|
109
|
+
*/
|
|
81
110
|
instanceIds?: string[];
|
|
111
|
+
/**
|
|
112
|
+
* @remarks
|
|
113
|
+
* The GCP project ID to which the resource belongs.
|
|
114
|
+
*
|
|
115
|
+
* @example
|
|
116
|
+
* turnkey-axiom-475109-xx
|
|
117
|
+
*/
|
|
82
118
|
projectId?: string;
|
|
83
119
|
/**
|
|
84
120
|
* @remarks
|
|
85
|
-
* The sub claim
|
|
121
|
+
* The sub claim corresponding to the service account.
|
|
86
122
|
*
|
|
87
123
|
* @example
|
|
88
124
|
* 123456789
|
|
@@ -117,6 +153,13 @@ export class CreateApplicationFederatedCredentialRequestOidcVerificationConfigGc
|
|
|
117
153
|
}
|
|
118
154
|
|
|
119
155
|
export class CreateApplicationFederatedCredentialRequestOidcVerificationConfigGenericConfig extends $dara.Model {
|
|
156
|
+
/**
|
|
157
|
+
* @remarks
|
|
158
|
+
* The subject.
|
|
159
|
+
*
|
|
160
|
+
* @example
|
|
161
|
+
* test_subject
|
|
162
|
+
*/
|
|
120
163
|
subject?: string;
|
|
121
164
|
static names(): { [key: string]: string } {
|
|
122
165
|
return {
|
|
@@ -142,7 +185,7 @@ export class CreateApplicationFederatedCredentialRequestOidcVerificationConfigGe
|
|
|
142
185
|
export class CreateApplicationFederatedCredentialRequestOidcVerificationConfigKubernetesConfig extends $dara.Model {
|
|
143
186
|
/**
|
|
144
187
|
* @remarks
|
|
145
|
-
* The
|
|
188
|
+
* The K8s namespace.
|
|
146
189
|
*
|
|
147
190
|
* @example
|
|
148
191
|
* default
|
|
@@ -158,7 +201,7 @@ export class CreateApplicationFederatedCredentialRequestOidcVerificationConfigKu
|
|
|
158
201
|
podNamePrefix?: string;
|
|
159
202
|
/**
|
|
160
203
|
* @remarks
|
|
161
|
-
* The
|
|
204
|
+
* The K8s service account name.
|
|
162
205
|
*
|
|
163
206
|
* @example
|
|
164
207
|
* my-sa
|
|
@@ -200,6 +243,10 @@ export class CreateApplicationFederatedCredentialRequestOidcVerificationConfig e
|
|
|
200
243
|
* The GCP VM scenario configuration.
|
|
201
244
|
*/
|
|
202
245
|
gcpVmConfig?: CreateApplicationFederatedCredentialRequestOidcVerificationConfigGcpVmConfig;
|
|
246
|
+
/**
|
|
247
|
+
* @remarks
|
|
248
|
+
* The generic scenario configuration.
|
|
249
|
+
*/
|
|
203
250
|
genericConfig?: CreateApplicationFederatedCredentialRequestOidcVerificationConfigGenericConfig;
|
|
204
251
|
/**
|
|
205
252
|
* @remarks
|
|
@@ -208,8 +255,7 @@ export class CreateApplicationFederatedCredentialRequestOidcVerificationConfig e
|
|
|
208
255
|
kubernetesConfig?: CreateApplicationFederatedCredentialRequestOidcVerificationConfigKubernetesConfig;
|
|
209
256
|
/**
|
|
210
257
|
* @remarks
|
|
211
|
-
* The OIDC scenario profile. Valid values:
|
|
212
|
-
*
|
|
258
|
+
* The OIDC scenario profile. Different profiles correspond to different configurations. Valid values:
|
|
213
259
|
* - generic
|
|
214
260
|
* - kubernetes
|
|
215
261
|
* - gcp_vm
|
|
@@ -261,6 +307,10 @@ export class CreateApplicationFederatedCredentialRequestOidcVerificationConfig e
|
|
|
261
307
|
}
|
|
262
308
|
|
|
263
309
|
export class CreateApplicationFederatedCredentialRequestPkcs7VerificationConfig extends $dara.Model {
|
|
310
|
+
/**
|
|
311
|
+
* @remarks
|
|
312
|
+
* The list of instance IDs.
|
|
313
|
+
*/
|
|
264
314
|
instanceIds?: string[];
|
|
265
315
|
static names(): { [key: string]: string } {
|
|
266
316
|
return {
|
|
@@ -289,7 +339,7 @@ export class CreateApplicationFederatedCredentialRequestPkcs7VerificationConfig
|
|
|
289
339
|
export class CreateApplicationFederatedCredentialRequest extends $dara.Model {
|
|
290
340
|
/**
|
|
291
341
|
* @remarks
|
|
292
|
-
* The
|
|
342
|
+
* The application federated credential name.
|
|
293
343
|
*
|
|
294
344
|
* This parameter is required.
|
|
295
345
|
*
|
|
@@ -299,7 +349,7 @@ export class CreateApplicationFederatedCredentialRequest extends $dara.Model {
|
|
|
299
349
|
applicationFederatedCredentialName?: string;
|
|
300
350
|
/**
|
|
301
351
|
* @remarks
|
|
302
|
-
* The
|
|
352
|
+
* The application federated credential type.
|
|
303
353
|
*
|
|
304
354
|
* This parameter is required.
|
|
305
355
|
*
|
|
@@ -352,12 +402,12 @@ export class CreateApplicationFederatedCredentialRequest extends $dara.Model {
|
|
|
352
402
|
instanceId?: string;
|
|
353
403
|
/**
|
|
354
404
|
* @remarks
|
|
355
|
-
* The OIDC structured configuration.
|
|
405
|
+
* The OIDC structured configuration.
|
|
356
406
|
*/
|
|
357
407
|
oidcVerificationConfig?: CreateApplicationFederatedCredentialRequestOidcVerificationConfig;
|
|
358
408
|
/**
|
|
359
409
|
* @remarks
|
|
360
|
-
* The PKCS#7 structured configuration.
|
|
410
|
+
* The PKCS#7 structured configuration.
|
|
361
411
|
*/
|
|
362
412
|
pkcs7VerificationConfig?: CreateApplicationFederatedCredentialRequestPkcs7VerificationConfig;
|
|
363
413
|
/**
|
|
@@ -371,9 +421,8 @@ export class CreateApplicationFederatedCredentialRequest extends $dara.Model {
|
|
|
371
421
|
/**
|
|
372
422
|
* @remarks
|
|
373
423
|
* The verification mode. Valid values:
|
|
374
|
-
*
|
|
375
|
-
* -
|
|
376
|
-
* - structured
|
|
424
|
+
* - freedom: free mode
|
|
425
|
+
* - structured: structured mode
|
|
377
426
|
*
|
|
378
427
|
* @example
|
|
379
428
|
* freedom
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class CreateApplicationFederatedCredentialResponseBody extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The application federated
|
|
8
|
+
* The application federated credential ID.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* afc_asd123daxxxx
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class CreateTrustedOriginRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The client token that is used to ensure the idempotence of the request. Generate a parameter value from your client to ensure that the value is unique among different requests. The value of ClientToken can contain only ASCII characters and cannot exceed 64 characters in length.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* client-token-example
|
|
12
|
+
*/
|
|
13
|
+
clientToken?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The ID of the IDaaS EIAM instance.
|
|
17
|
+
*
|
|
18
|
+
* This parameter is required.
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* idaas_example
|
|
22
|
+
*/
|
|
23
|
+
instanceId?: string;
|
|
24
|
+
/**
|
|
25
|
+
* @remarks
|
|
26
|
+
* The browser origin in the format of scheme://host[:port]. This value cannot be modified after creation.
|
|
27
|
+
*
|
|
28
|
+
* This parameter is required.
|
|
29
|
+
*
|
|
30
|
+
* @example
|
|
31
|
+
* https://console.qoder.com
|
|
32
|
+
*/
|
|
33
|
+
origin?: string;
|
|
34
|
+
/**
|
|
35
|
+
* @remarks
|
|
36
|
+
* The name of the trusted origin used for management, display, and auditing. If not specified, the value is empty.
|
|
37
|
+
*
|
|
38
|
+
* @example
|
|
39
|
+
* Qoder Production Console
|
|
40
|
+
*/
|
|
41
|
+
trustOriginName?: string;
|
|
42
|
+
/**
|
|
43
|
+
* @remarks
|
|
44
|
+
* The trusted origin scenes. Only iframe_embed and cors are supported. At least one value is required.
|
|
45
|
+
*
|
|
46
|
+
* This parameter is required.
|
|
47
|
+
*
|
|
48
|
+
* @example
|
|
49
|
+
* iframe_embed
|
|
50
|
+
*/
|
|
51
|
+
trustedOriginScene?: string[];
|
|
52
|
+
static names(): { [key: string]: string } {
|
|
53
|
+
return {
|
|
54
|
+
clientToken: 'ClientToken',
|
|
55
|
+
instanceId: 'InstanceId',
|
|
56
|
+
origin: 'Origin',
|
|
57
|
+
trustOriginName: 'TrustOriginName',
|
|
58
|
+
trustedOriginScene: 'TrustedOriginScene',
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
static types(): { [key: string]: any } {
|
|
63
|
+
return {
|
|
64
|
+
clientToken: 'string',
|
|
65
|
+
instanceId: 'string',
|
|
66
|
+
origin: 'string',
|
|
67
|
+
trustOriginName: 'string',
|
|
68
|
+
trustedOriginScene: { 'type': 'array', 'itemType': 'string' },
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
validate() {
|
|
73
|
+
if(Array.isArray(this.trustedOriginScene)) {
|
|
74
|
+
$dara.Model.validateArray(this.trustedOriginScene);
|
|
75
|
+
}
|
|
76
|
+
super.validate();
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
constructor(map?: { [key: string]: any }) {
|
|
80
|
+
super(map);
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { CreateTrustedOriginResponseBody } from "./CreateTrustedOriginResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class CreateTrustedOriginResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: CreateTrustedOriginResponseBody;
|
|
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: CreateTrustedOriginResponseBody,
|
|
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
|
+
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class CreateTrustedOriginResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The request ID.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* 0441BD79-example
|
|
12
|
+
*/
|
|
13
|
+
requestId?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The trusted origin ID.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* to_example
|
|
20
|
+
*/
|
|
21
|
+
trustedOriginId?: string;
|
|
22
|
+
static names(): { [key: string]: string } {
|
|
23
|
+
return {
|
|
24
|
+
requestId: 'RequestId',
|
|
25
|
+
trustedOriginId: 'TrustedOriginId',
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
static types(): { [key: string]: any } {
|
|
30
|
+
return {
|
|
31
|
+
requestId: 'string',
|
|
32
|
+
trustedOriginId: 'string',
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
validate() {
|
|
37
|
+
super.validate();
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
constructor(map?: { [key: string]: any }) {
|
|
41
|
+
super(map);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DeleteTrustedOriginRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* A client token that is used to ensure the idempotence of the request. Generate a parameter value from your client to ensure that the value is unique among different requests. The value of ClientToken can contain only ASCII characters and cannot exceed 64 characters in length.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* client-token-example
|
|
12
|
+
*/
|
|
13
|
+
clientToken?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The ID of the IDaaS EIAM instance.
|
|
17
|
+
*
|
|
18
|
+
* This parameter is required.
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* idaas_example
|
|
22
|
+
*/
|
|
23
|
+
instanceId?: string;
|
|
24
|
+
/**
|
|
25
|
+
* @remarks
|
|
26
|
+
* The ID of the trusted origin.
|
|
27
|
+
*
|
|
28
|
+
* This parameter is required.
|
|
29
|
+
*
|
|
30
|
+
* @example
|
|
31
|
+
* to_example
|
|
32
|
+
*/
|
|
33
|
+
trustedOriginId?: string;
|
|
34
|
+
static names(): { [key: string]: string } {
|
|
35
|
+
return {
|
|
36
|
+
clientToken: 'ClientToken',
|
|
37
|
+
instanceId: 'InstanceId',
|
|
38
|
+
trustedOriginId: 'TrustedOriginId',
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
static types(): { [key: string]: any } {
|
|
43
|
+
return {
|
|
44
|
+
clientToken: 'string',
|
|
45
|
+
instanceId: 'string',
|
|
46
|
+
trustedOriginId: 'string',
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
validate() {
|
|
51
|
+
super.validate();
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
constructor(map?: { [key: string]: any }) {
|
|
55
|
+
super(map);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { DeleteTrustedOriginResponseBody } from "./DeleteTrustedOriginResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class DeleteTrustedOriginResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: DeleteTrustedOriginResponseBody;
|
|
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: DeleteTrustedOriginResponseBody,
|
|
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
|
+
|
|
@@ -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 DeleteTrustedOriginResponseBody 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
|
+
|
|
@@ -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 DisableTrustedOriginRequest 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 { DisableTrustedOriginResponseBody } from "./DisableTrustedOriginResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class DisableTrustedOriginResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: DisableTrustedOriginResponseBody;
|
|
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: DisableTrustedOriginResponseBody,
|
|
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
|
+
|
|
@@ -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 DisableTrustedOriginResponseBody 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
|
+
|
|
@@ -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 EnableTrustedOriginRequest 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 { EnableTrustedOriginResponseBody } from "./EnableTrustedOriginResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class EnableTrustedOriginResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: EnableTrustedOriginResponseBody;
|
|
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: EnableTrustedOriginResponseBody,
|
|
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
|
+
|