@alicloud/eiam20211201 2.18.1 → 2.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +121 -10
- package/dist/client.js +346 -10
- package/dist/client.js.map +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/GetAuthorizationResourceResponseBody.d.ts +3 -0
- package/dist/models/GetAuthorizationResourceResponseBody.js.map +1 -1
- package/dist/models/GetInstanceLicenseResponseBody.d.ts +26 -21
- package/dist/models/GetInstanceLicenseResponseBody.js +2 -0
- package/dist/models/GetInstanceLicenseResponseBody.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/ListAuthorizationResourcesRequest.d.ts +4 -4
- package/dist/models/ListAuthorizationResourcesResponseBody.d.ts +10 -7
- package/dist/models/ListAuthorizationResourcesResponseBody.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/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 +386 -10
- 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/GetAuthorizationResourceResponseBody.ts +3 -0
- package/src/models/GetInstanceLicenseResponseBody.ts +28 -21
- package/src/models/GetTrustedOriginRequest.ts +48 -0
- package/src/models/GetTrustedOriginResponse.ts +40 -0
- package/src/models/GetTrustedOriginResponseBody.ts +148 -0
- package/src/models/ListAuthorizationResourcesRequest.ts +4 -4
- package/src/models/ListAuthorizationResourcesResponseBody.ts +10 -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/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,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
|
+
|
|
@@ -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
|
+
|
|
@@ -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 } {
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class GetInstanceLicenseResponseBodyLicenseInstanceLicenseDetail extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The
|
|
8
|
+
* The conditional access license status.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* enabled
|
|
@@ -13,7 +13,7 @@ export class GetInstanceLicenseResponseBodyLicenseInstanceLicenseDetail extends
|
|
|
13
13
|
conditionalAccessPolicyLicenseStatus?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The
|
|
16
|
+
* The M2M license status.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* enabled
|
|
@@ -21,7 +21,7 @@ export class GetInstanceLicenseResponseBodyLicenseInstanceLicenseDetail extends
|
|
|
21
21
|
m2mApplicationLicenseStatus?: string;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* The quota
|
|
24
|
+
* The M2M application quota of the license.
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
27
|
* 2
|
|
@@ -29,7 +29,7 @@ export class GetInstanceLicenseResponseBodyLicenseInstanceLicenseDetail extends
|
|
|
29
29
|
m2mApplicationQuota?: number;
|
|
30
30
|
/**
|
|
31
31
|
* @remarks
|
|
32
|
-
* The machine identity status.
|
|
32
|
+
* The machine identity license status.
|
|
33
33
|
*
|
|
34
34
|
* @example
|
|
35
35
|
* enabled
|
|
@@ -37,7 +37,7 @@ export class GetInstanceLicenseResponseBodyLicenseInstanceLicenseDetail extends
|
|
|
37
37
|
mimApplicationLicenseStatus?: string;
|
|
38
38
|
/**
|
|
39
39
|
* @remarks
|
|
40
|
-
* The quota
|
|
40
|
+
* The network access endpoint quota of the license.
|
|
41
41
|
*
|
|
42
42
|
* @example
|
|
43
43
|
* 1
|
|
@@ -45,7 +45,12 @@ export class GetInstanceLicenseResponseBodyLicenseInstanceLicenseDetail extends
|
|
|
45
45
|
networkAccessEndpointQuota?: number;
|
|
46
46
|
/**
|
|
47
47
|
* @remarks
|
|
48
|
-
* The
|
|
48
|
+
* The PAM privileged management license status. Valid values: enabled and disabled.
|
|
49
|
+
*/
|
|
50
|
+
pamLicenseStatus?: string;
|
|
51
|
+
/**
|
|
52
|
+
* @remarks
|
|
53
|
+
* The number of prepaid active accounts.
|
|
49
54
|
*
|
|
50
55
|
* @example
|
|
51
56
|
* 100
|
|
@@ -53,7 +58,7 @@ export class GetInstanceLicenseResponseBodyLicenseInstanceLicenseDetail extends
|
|
|
53
58
|
prepaidActiveUserNumber?: number;
|
|
54
59
|
/**
|
|
55
60
|
* @remarks
|
|
56
|
-
* The user quota
|
|
61
|
+
* The user quota of the license.
|
|
57
62
|
*
|
|
58
63
|
* @example
|
|
59
64
|
* 100
|
|
@@ -66,6 +71,7 @@ export class GetInstanceLicenseResponseBodyLicenseInstanceLicenseDetail extends
|
|
|
66
71
|
m2mApplicationQuota: 'M2mApplicationQuota',
|
|
67
72
|
mimApplicationLicenseStatus: 'MimApplicationLicenseStatus',
|
|
68
73
|
networkAccessEndpointQuota: 'NetworkAccessEndpointQuota',
|
|
74
|
+
pamLicenseStatus: 'PamLicenseStatus',
|
|
69
75
|
prepaidActiveUserNumber: 'PrepaidActiveUserNumber',
|
|
70
76
|
userQuota: 'UserQuota',
|
|
71
77
|
};
|
|
@@ -78,6 +84,7 @@ export class GetInstanceLicenseResponseBodyLicenseInstanceLicenseDetail extends
|
|
|
78
84
|
m2mApplicationQuota: 'number',
|
|
79
85
|
mimApplicationLicenseStatus: 'string',
|
|
80
86
|
networkAccessEndpointQuota: 'number',
|
|
87
|
+
pamLicenseStatus: 'string',
|
|
81
88
|
prepaidActiveUserNumber: 'number',
|
|
82
89
|
userQuota: 'number',
|
|
83
90
|
};
|
|
@@ -95,7 +102,7 @@ export class GetInstanceLicenseResponseBodyLicenseInstanceLicenseDetail extends
|
|
|
95
102
|
export class GetInstanceLicenseResponseBodyLicense extends $dara.Model {
|
|
96
103
|
/**
|
|
97
104
|
* @remarks
|
|
98
|
-
* The license
|
|
105
|
+
* The edition of the license.
|
|
99
106
|
*
|
|
100
107
|
* @example
|
|
101
108
|
* free
|
|
@@ -103,7 +110,7 @@ export class GetInstanceLicenseResponseBodyLicense extends $dara.Model {
|
|
|
103
110
|
edition?: string;
|
|
104
111
|
/**
|
|
105
112
|
* @remarks
|
|
106
|
-
* The
|
|
113
|
+
* The end date of the license validity period, in timestamp format.
|
|
107
114
|
*
|
|
108
115
|
* @example
|
|
109
116
|
* 1723996800000
|
|
@@ -111,12 +118,12 @@ export class GetInstanceLicenseResponseBodyLicense extends $dara.Model {
|
|
|
111
118
|
endTime?: number;
|
|
112
119
|
/**
|
|
113
120
|
* @remarks
|
|
114
|
-
* The
|
|
121
|
+
* The detailed license information of the instance.
|
|
115
122
|
*/
|
|
116
123
|
instanceLicenseDetail?: GetInstanceLicenseResponseBodyLicenseInstanceLicenseDetail;
|
|
117
124
|
/**
|
|
118
125
|
* @remarks
|
|
119
|
-
* The billing
|
|
126
|
+
* The billing type of the license.
|
|
120
127
|
*
|
|
121
128
|
* @example
|
|
122
129
|
* prepay
|
|
@@ -124,7 +131,7 @@ export class GetInstanceLicenseResponseBodyLicense extends $dara.Model {
|
|
|
124
131
|
licenseChargeType?: string;
|
|
125
132
|
/**
|
|
126
133
|
* @remarks
|
|
127
|
-
* The detailed
|
|
134
|
+
* The detailed license configuration in JSON string format.
|
|
128
135
|
*
|
|
129
136
|
* @example
|
|
130
137
|
* {"modules":[{"features":[{"name":"urn:alibaba:idaas:license:module:ud:customField","status":"enabled"}]……{"name":"urn:alibaba:idaas:license:tag:enterprise","status":"enabled"}],"version":"1.0"}
|
|
@@ -132,7 +139,7 @@ export class GetInstanceLicenseResponseBodyLicense extends $dara.Model {
|
|
|
132
139
|
licenseConfigJson?: string;
|
|
133
140
|
/**
|
|
134
141
|
* @remarks
|
|
135
|
-
* The
|
|
142
|
+
* The creation time of the license, in timestamp format.
|
|
136
143
|
*
|
|
137
144
|
* @example
|
|
138
145
|
* 1720509699000
|
|
@@ -140,7 +147,7 @@ export class GetInstanceLicenseResponseBodyLicense extends $dara.Model {
|
|
|
140
147
|
licenseCreateTime?: number;
|
|
141
148
|
/**
|
|
142
149
|
* @remarks
|
|
143
|
-
* The unique identifier
|
|
150
|
+
* The unique identifier of the license.
|
|
144
151
|
*
|
|
145
152
|
* @example
|
|
146
153
|
* license_1234xxxx
|
|
@@ -148,7 +155,7 @@ export class GetInstanceLicenseResponseBodyLicense extends $dara.Model {
|
|
|
148
155
|
licenseId?: string;
|
|
149
156
|
/**
|
|
150
157
|
* @remarks
|
|
151
|
-
* The license
|
|
158
|
+
* The status of the license.
|
|
152
159
|
*
|
|
153
160
|
* @example
|
|
154
161
|
* valid
|
|
@@ -156,7 +163,7 @@ export class GetInstanceLicenseResponseBodyLicense extends $dara.Model {
|
|
|
156
163
|
licenseStatus?: string;
|
|
157
164
|
/**
|
|
158
165
|
* @remarks
|
|
159
|
-
* The channel
|
|
166
|
+
* The purchase channel of the license.
|
|
160
167
|
*
|
|
161
168
|
* @example
|
|
162
169
|
* alibaba_cloud
|
|
@@ -164,7 +171,7 @@ export class GetInstanceLicenseResponseBodyLicense extends $dara.Model {
|
|
|
164
171
|
purchaseChannel?: string;
|
|
165
172
|
/**
|
|
166
173
|
* @remarks
|
|
167
|
-
* The unique identifier of the external
|
|
174
|
+
* The unique identifier of the external product associated with the license.
|
|
168
175
|
*
|
|
169
176
|
* @example
|
|
170
177
|
* eiam-cn-xxxxx
|
|
@@ -172,7 +179,7 @@ export class GetInstanceLicenseResponseBodyLicense extends $dara.Model {
|
|
|
172
179
|
purchaseInstanceId?: string;
|
|
173
180
|
/**
|
|
174
181
|
* @remarks
|
|
175
|
-
* The
|
|
182
|
+
* The start date of the license validity period, in timestamp format.
|
|
176
183
|
*
|
|
177
184
|
* @example
|
|
178
185
|
* 1720509699000
|
|
@@ -180,7 +187,7 @@ export class GetInstanceLicenseResponseBodyLicense extends $dara.Model {
|
|
|
180
187
|
startTime?: number;
|
|
181
188
|
/**
|
|
182
189
|
* @remarks
|
|
183
|
-
* The user quota
|
|
190
|
+
* The user quota of the license.
|
|
184
191
|
*
|
|
185
192
|
* @example
|
|
186
193
|
* 100
|
|
@@ -235,12 +242,12 @@ export class GetInstanceLicenseResponseBodyLicense extends $dara.Model {
|
|
|
235
242
|
export class GetInstanceLicenseResponseBody extends $dara.Model {
|
|
236
243
|
/**
|
|
237
244
|
* @remarks
|
|
238
|
-
* The
|
|
245
|
+
* The response result.
|
|
239
246
|
*/
|
|
240
247
|
license?: GetInstanceLicenseResponseBodyLicense;
|
|
241
248
|
/**
|
|
242
249
|
* @remarks
|
|
243
|
-
* The ID
|
|
250
|
+
* The request ID.
|
|
244
251
|
*
|
|
245
252
|
* @example
|
|
246
253
|
* 0441BD79-92F3-53AA-8657-F8CE4A2B912A
|
|
@@ -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
|
+
|