@alicloud/waf-openapi20211001 4.2.1 → 4.4.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 +45 -0
- package/dist/client.js +191 -0
- package/dist/client.js.map +1 -1
- package/dist/models/CreateDefenseResourceRequest.d.ts +87 -0
- package/dist/models/CreateDefenseResourceRequest.js +91 -0
- package/dist/models/CreateDefenseResourceRequest.js.map +1 -0
- package/dist/models/CreateDefenseResourceRequestTag.d.ts +23 -0
- package/dist/models/CreateDefenseResourceRequestTag.js +60 -0
- package/dist/models/CreateDefenseResourceRequestTag.js.map +1 -0
- package/dist/models/CreateDefenseResourceResponse.d.ts +19 -0
- package/dist/models/CreateDefenseResourceResponse.js +69 -0
- package/dist/models/CreateDefenseResourceResponse.js.map +1 -0
- package/dist/models/CreateDefenseResourceResponseBody.d.ts +23 -0
- package/dist/models/CreateDefenseResourceResponseBody.js +60 -0
- package/dist/models/CreateDefenseResourceResponseBody.js.map +1 -0
- package/dist/models/CreateDefenseResourceShrinkRequest.d.ts +87 -0
- package/dist/models/CreateDefenseResourceShrinkRequest.js +88 -0
- package/dist/models/CreateDefenseResourceShrinkRequest.js.map +1 -0
- package/dist/models/CreateDefenseResourceShrinkRequestTag.d.ts +23 -0
- package/dist/models/CreateDefenseResourceShrinkRequestTag.js +60 -0
- package/dist/models/CreateDefenseResourceShrinkRequestTag.js.map +1 -0
- package/dist/models/DeleteDefenseResourceRequest.d.ts +39 -0
- package/dist/models/DeleteDefenseResourceRequest.js +64 -0
- package/dist/models/DeleteDefenseResourceRequest.js.map +1 -0
- package/dist/models/DeleteDefenseResourceResponse.d.ts +19 -0
- package/dist/models/DeleteDefenseResourceResponse.js +69 -0
- package/dist/models/DeleteDefenseResourceResponse.js.map +1 -0
- package/dist/models/DeleteDefenseResourceResponseBody.d.ts +18 -0
- package/dist/models/DeleteDefenseResourceResponseBody.js +58 -0
- package/dist/models/DeleteDefenseResourceResponseBody.js.map +1 -0
- package/dist/models/DescribeIpAbroadCountryInfosRequest.d.ts +56 -0
- package/dist/models/DescribeIpAbroadCountryInfosRequest.js +72 -0
- package/dist/models/DescribeIpAbroadCountryInfosRequest.js.map +1 -0
- package/dist/models/DescribeIpAbroadCountryInfosResponse.d.ts +19 -0
- package/dist/models/DescribeIpAbroadCountryInfosResponse.js +69 -0
- package/dist/models/DescribeIpAbroadCountryInfosResponse.js.map +1 -0
- package/dist/models/DescribeIpAbroadCountryInfosResponseBody.d.ts +35 -0
- package/dist/models/DescribeIpAbroadCountryInfosResponseBody.js +70 -0
- package/dist/models/DescribeIpAbroadCountryInfosResponseBody.js.map +1 -0
- package/dist/models/DescribeIpAbroadCountryInfosResponseBodyAbroadInfos.d.ts +30 -0
- package/dist/models/DescribeIpAbroadCountryInfosResponseBodyAbroadInfos.js +68 -0
- package/dist/models/DescribeIpAbroadCountryInfosResponseBodyAbroadInfos.js.map +1 -0
- package/dist/models/DescribeIpAbroadCountryInfosResponseBodyAbroadInfosRegions.d.ts +23 -0
- package/dist/models/DescribeIpAbroadCountryInfosResponseBodyAbroadInfosRegions.js +60 -0
- package/dist/models/DescribeIpAbroadCountryInfosResponseBodyAbroadInfosRegions.js.map +1 -0
- package/dist/models/model.d.ts +14 -0
- package/dist/models/model.js +42 -14
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +224 -0
- package/src/models/CreateDefenseResourceRequest.ts +132 -0
- package/src/models/CreateDefenseResourceRequestTag.ts +38 -0
- package/src/models/CreateDefenseResourceResponse.ts +40 -0
- package/src/models/CreateDefenseResourceResponseBody.ts +38 -0
- package/src/models/CreateDefenseResourceShrinkRequest.ts +129 -0
- package/src/models/CreateDefenseResourceShrinkRequestTag.ts +38 -0
- package/src/models/DeleteDefenseResourceRequest.ts +58 -0
- package/src/models/DeleteDefenseResourceResponse.ts +40 -0
- package/src/models/DeleteDefenseResourceResponseBody.ts +31 -0
- package/src/models/DescribeIpAbroadCountryInfosRequest.ts +83 -0
- package/src/models/DescribeIpAbroadCountryInfosResponse.ts +40 -0
- package/src/models/DescribeIpAbroadCountryInfosResponseBody.ts +59 -0
- package/src/models/DescribeIpAbroadCountryInfosResponseBodyAbroadInfos.ts +52 -0
- package/src/models/DescribeIpAbroadCountryInfosResponseBodyAbroadInfosRegions.ts +38 -0
- package/src/models/model.ts +14 -0
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { CreateDefenseResourceShrinkRequestTag } from "./CreateDefenseResourceShrinkRequestTag";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class CreateDefenseResourceShrinkRequest extends $dara.Model {
|
|
7
|
+
customHeadersShrink?: string;
|
|
8
|
+
/**
|
|
9
|
+
* @example
|
|
10
|
+
* test
|
|
11
|
+
*/
|
|
12
|
+
description?: string;
|
|
13
|
+
/**
|
|
14
|
+
* @remarks
|
|
15
|
+
* This parameter is required.
|
|
16
|
+
*
|
|
17
|
+
* @example
|
|
18
|
+
* {\\"domain\\": \\"zhhclb4test096-05111.test.com\\"}
|
|
19
|
+
*/
|
|
20
|
+
detail?: string;
|
|
21
|
+
/**
|
|
22
|
+
* @remarks
|
|
23
|
+
* This parameter is required.
|
|
24
|
+
*
|
|
25
|
+
* @example
|
|
26
|
+
* waf_v3prepaid_public_cn-4xl*******
|
|
27
|
+
*/
|
|
28
|
+
instanceId?: string;
|
|
29
|
+
/**
|
|
30
|
+
* @example
|
|
31
|
+
* 123221XXX
|
|
32
|
+
*/
|
|
33
|
+
ownerUserId?: string;
|
|
34
|
+
/**
|
|
35
|
+
* @remarks
|
|
36
|
+
* This parameter is required.
|
|
37
|
+
*
|
|
38
|
+
* @example
|
|
39
|
+
* domain
|
|
40
|
+
*/
|
|
41
|
+
pattern?: string;
|
|
42
|
+
/**
|
|
43
|
+
* @remarks
|
|
44
|
+
* This parameter is required.
|
|
45
|
+
*
|
|
46
|
+
* @example
|
|
47
|
+
* ecs
|
|
48
|
+
*/
|
|
49
|
+
product?: string;
|
|
50
|
+
/**
|
|
51
|
+
* @example
|
|
52
|
+
* cn-hangzhou
|
|
53
|
+
*/
|
|
54
|
+
regionId?: string;
|
|
55
|
+
/**
|
|
56
|
+
* @example
|
|
57
|
+
* abctest.com
|
|
58
|
+
*/
|
|
59
|
+
resource?: string;
|
|
60
|
+
resourceGroup?: string;
|
|
61
|
+
/**
|
|
62
|
+
* @example
|
|
63
|
+
* rg-acfm***q
|
|
64
|
+
*/
|
|
65
|
+
resourceManagerResourceGroupId?: string;
|
|
66
|
+
/**
|
|
67
|
+
* @remarks
|
|
68
|
+
* This parameter is required.
|
|
69
|
+
*
|
|
70
|
+
* @example
|
|
71
|
+
* custom
|
|
72
|
+
*/
|
|
73
|
+
resourceOrigin?: string;
|
|
74
|
+
tag?: CreateDefenseResourceShrinkRequestTag[];
|
|
75
|
+
/**
|
|
76
|
+
* @example
|
|
77
|
+
* 0
|
|
78
|
+
*/
|
|
79
|
+
xffStatus?: number;
|
|
80
|
+
static names(): { [key: string]: string } {
|
|
81
|
+
return {
|
|
82
|
+
customHeadersShrink: 'CustomHeaders',
|
|
83
|
+
description: 'Description',
|
|
84
|
+
detail: 'Detail',
|
|
85
|
+
instanceId: 'InstanceId',
|
|
86
|
+
ownerUserId: 'OwnerUserId',
|
|
87
|
+
pattern: 'Pattern',
|
|
88
|
+
product: 'Product',
|
|
89
|
+
regionId: 'RegionId',
|
|
90
|
+
resource: 'Resource',
|
|
91
|
+
resourceGroup: 'ResourceGroup',
|
|
92
|
+
resourceManagerResourceGroupId: 'ResourceManagerResourceGroupId',
|
|
93
|
+
resourceOrigin: 'ResourceOrigin',
|
|
94
|
+
tag: 'Tag',
|
|
95
|
+
xffStatus: 'XffStatus',
|
|
96
|
+
};
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
static types(): { [key: string]: any } {
|
|
100
|
+
return {
|
|
101
|
+
customHeadersShrink: 'string',
|
|
102
|
+
description: 'string',
|
|
103
|
+
detail: 'string',
|
|
104
|
+
instanceId: 'string',
|
|
105
|
+
ownerUserId: 'string',
|
|
106
|
+
pattern: 'string',
|
|
107
|
+
product: 'string',
|
|
108
|
+
regionId: 'string',
|
|
109
|
+
resource: 'string',
|
|
110
|
+
resourceGroup: 'string',
|
|
111
|
+
resourceManagerResourceGroupId: 'string',
|
|
112
|
+
resourceOrigin: 'string',
|
|
113
|
+
tag: { 'type': 'array', 'itemType': CreateDefenseResourceShrinkRequestTag },
|
|
114
|
+
xffStatus: 'number',
|
|
115
|
+
};
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
validate() {
|
|
119
|
+
if(Array.isArray(this.tag)) {
|
|
120
|
+
$dara.Model.validateArray(this.tag);
|
|
121
|
+
}
|
|
122
|
+
super.validate();
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
constructor(map?: { [key: string]: any }) {
|
|
126
|
+
super(map);
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class CreateDefenseResourceShrinkRequestTag extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* demoTagKey
|
|
9
|
+
*/
|
|
10
|
+
key?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* TagValue1
|
|
14
|
+
*/
|
|
15
|
+
value?: string;
|
|
16
|
+
static names(): { [key: string]: string } {
|
|
17
|
+
return {
|
|
18
|
+
key: 'Key',
|
|
19
|
+
value: 'Value',
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
static types(): { [key: string]: any } {
|
|
24
|
+
return {
|
|
25
|
+
key: 'string',
|
|
26
|
+
value: 'string',
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
validate() {
|
|
31
|
+
super.validate();
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
constructor(map?: { [key: string]: any }) {
|
|
35
|
+
super(map);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
@@ -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 DeleteDefenseResourceRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* This parameter is required.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* waf_v2_public_cn-9lb*******
|
|
12
|
+
*/
|
|
13
|
+
instanceId?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @example
|
|
16
|
+
* cn-hangzhou
|
|
17
|
+
*/
|
|
18
|
+
regionId?: string;
|
|
19
|
+
/**
|
|
20
|
+
* @remarks
|
|
21
|
+
* This parameter is required.
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* zhh*****-2034.test.top-clb7
|
|
25
|
+
*/
|
|
26
|
+
resource?: string;
|
|
27
|
+
/**
|
|
28
|
+
* @example
|
|
29
|
+
* rg-acfm***q
|
|
30
|
+
*/
|
|
31
|
+
resourceManagerResourceGroupId?: string;
|
|
32
|
+
static names(): { [key: string]: string } {
|
|
33
|
+
return {
|
|
34
|
+
instanceId: 'InstanceId',
|
|
35
|
+
regionId: 'RegionId',
|
|
36
|
+
resource: 'Resource',
|
|
37
|
+
resourceManagerResourceGroupId: 'ResourceManagerResourceGroupId',
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
static types(): { [key: string]: any } {
|
|
42
|
+
return {
|
|
43
|
+
instanceId: 'string',
|
|
44
|
+
regionId: 'string',
|
|
45
|
+
resource: 'string',
|
|
46
|
+
resourceManagerResourceGroupId: '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 { DeleteDefenseResourceResponseBody } from "./DeleteDefenseResourceResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class DeleteDefenseResourceResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: DeleteDefenseResourceResponseBody;
|
|
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: DeleteDefenseResourceResponseBody,
|
|
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,31 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DeleteDefenseResourceResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* 745F051D-95FD-57EC-9DC1-79BB4883C6A4
|
|
9
|
+
*/
|
|
10
|
+
requestId?: string;
|
|
11
|
+
static names(): { [key: string]: string } {
|
|
12
|
+
return {
|
|
13
|
+
requestId: 'RequestId',
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
static types(): { [key: string]: any } {
|
|
18
|
+
return {
|
|
19
|
+
requestId: 'string',
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
validate() {
|
|
24
|
+
super.validate();
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
constructor(map?: { [key: string]: any }) {
|
|
28
|
+
super(map);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -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 DescribeIpAbroadCountryInfosRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* US-CA
|
|
9
|
+
*/
|
|
10
|
+
abroadRegion?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* US
|
|
14
|
+
*/
|
|
15
|
+
country?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @remarks
|
|
18
|
+
* This parameter is required.
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* waf_elasticity-cn-0xl*******005
|
|
22
|
+
*/
|
|
23
|
+
instanceId?: string;
|
|
24
|
+
/**
|
|
25
|
+
* @example
|
|
26
|
+
* en
|
|
27
|
+
*/
|
|
28
|
+
language?: string;
|
|
29
|
+
/**
|
|
30
|
+
* @example
|
|
31
|
+
* 20
|
|
32
|
+
*/
|
|
33
|
+
maxResults?: number;
|
|
34
|
+
/**
|
|
35
|
+
* @example
|
|
36
|
+
* caeba0bbb2be03f84eb48b699f0*****
|
|
37
|
+
*/
|
|
38
|
+
nextToken?: string;
|
|
39
|
+
/**
|
|
40
|
+
* @example
|
|
41
|
+
* cn-hangzhou
|
|
42
|
+
*/
|
|
43
|
+
regionId?: string;
|
|
44
|
+
/**
|
|
45
|
+
* @example
|
|
46
|
+
* rg-aekzwwk****cv5i
|
|
47
|
+
*/
|
|
48
|
+
resourceManagerResourceGroupId?: string;
|
|
49
|
+
static names(): { [key: string]: string } {
|
|
50
|
+
return {
|
|
51
|
+
abroadRegion: 'AbroadRegion',
|
|
52
|
+
country: 'Country',
|
|
53
|
+
instanceId: 'InstanceId',
|
|
54
|
+
language: 'Language',
|
|
55
|
+
maxResults: 'MaxResults',
|
|
56
|
+
nextToken: 'NextToken',
|
|
57
|
+
regionId: 'RegionId',
|
|
58
|
+
resourceManagerResourceGroupId: 'ResourceManagerResourceGroupId',
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
static types(): { [key: string]: any } {
|
|
63
|
+
return {
|
|
64
|
+
abroadRegion: 'string',
|
|
65
|
+
country: 'string',
|
|
66
|
+
instanceId: 'string',
|
|
67
|
+
language: 'string',
|
|
68
|
+
maxResults: 'number',
|
|
69
|
+
nextToken: 'string',
|
|
70
|
+
regionId: 'string',
|
|
71
|
+
resourceManagerResourceGroupId: 'string',
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
validate() {
|
|
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 { DescribeIpAbroadCountryInfosResponseBody } from "./DescribeIpAbroadCountryInfosResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class DescribeIpAbroadCountryInfosResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: DescribeIpAbroadCountryInfosResponseBody;
|
|
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: DescribeIpAbroadCountryInfosResponseBody,
|
|
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,59 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { DescribeIpAbroadCountryInfosResponseBodyAbroadInfos } from "./DescribeIpAbroadCountryInfosResponseBodyAbroadInfos";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class DescribeIpAbroadCountryInfosResponseBody extends $dara.Model {
|
|
7
|
+
abroadInfos?: DescribeIpAbroadCountryInfosResponseBodyAbroadInfos[];
|
|
8
|
+
/**
|
|
9
|
+
* @example
|
|
10
|
+
* 20
|
|
11
|
+
*/
|
|
12
|
+
maxResults?: number;
|
|
13
|
+
/**
|
|
14
|
+
* @example
|
|
15
|
+
* caeba0bbb2be03f84eb48b699f0*****
|
|
16
|
+
*/
|
|
17
|
+
nextToken?: string;
|
|
18
|
+
/**
|
|
19
|
+
* @example
|
|
20
|
+
* 66A98669-CC6E-4F3E-80A6-3014697B11AE
|
|
21
|
+
*/
|
|
22
|
+
requestId?: string;
|
|
23
|
+
/**
|
|
24
|
+
* @example
|
|
25
|
+
* 2
|
|
26
|
+
*/
|
|
27
|
+
totalCount?: number;
|
|
28
|
+
static names(): { [key: string]: string } {
|
|
29
|
+
return {
|
|
30
|
+
abroadInfos: 'AbroadInfos',
|
|
31
|
+
maxResults: 'MaxResults',
|
|
32
|
+
nextToken: 'NextToken',
|
|
33
|
+
requestId: 'RequestId',
|
|
34
|
+
totalCount: 'TotalCount',
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
static types(): { [key: string]: any } {
|
|
39
|
+
return {
|
|
40
|
+
abroadInfos: { 'type': 'array', 'itemType': DescribeIpAbroadCountryInfosResponseBodyAbroadInfos },
|
|
41
|
+
maxResults: 'number',
|
|
42
|
+
nextToken: 'string',
|
|
43
|
+
requestId: 'string',
|
|
44
|
+
totalCount: 'number',
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
validate() {
|
|
49
|
+
if(Array.isArray(this.abroadInfos)) {
|
|
50
|
+
$dara.Model.validateArray(this.abroadInfos);
|
|
51
|
+
}
|
|
52
|
+
super.validate();
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
constructor(map?: { [key: string]: any }) {
|
|
56
|
+
super(map);
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { DescribeIpAbroadCountryInfosResponseBodyAbroadInfosRegions } from "./DescribeIpAbroadCountryInfosResponseBodyAbroadInfosRegions";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class DescribeIpAbroadCountryInfosResponseBodyAbroadInfos extends $dara.Model {
|
|
7
|
+
/**
|
|
8
|
+
* @example
|
|
9
|
+
* 北美洲
|
|
10
|
+
*/
|
|
11
|
+
continent?: string;
|
|
12
|
+
/**
|
|
13
|
+
* @example
|
|
14
|
+
* US
|
|
15
|
+
*/
|
|
16
|
+
country?: string;
|
|
17
|
+
/**
|
|
18
|
+
* @example
|
|
19
|
+
* 美国
|
|
20
|
+
*/
|
|
21
|
+
countryName?: string;
|
|
22
|
+
regions?: DescribeIpAbroadCountryInfosResponseBodyAbroadInfosRegions[];
|
|
23
|
+
static names(): { [key: string]: string } {
|
|
24
|
+
return {
|
|
25
|
+
continent: 'Continent',
|
|
26
|
+
country: 'Country',
|
|
27
|
+
countryName: 'CountryName',
|
|
28
|
+
regions: 'Regions',
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
static types(): { [key: string]: any } {
|
|
33
|
+
return {
|
|
34
|
+
continent: 'string',
|
|
35
|
+
country: 'string',
|
|
36
|
+
countryName: 'string',
|
|
37
|
+
regions: { 'type': 'array', 'itemType': DescribeIpAbroadCountryInfosResponseBodyAbroadInfosRegions },
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
validate() {
|
|
42
|
+
if(Array.isArray(this.regions)) {
|
|
43
|
+
$dara.Model.validateArray(this.regions);
|
|
44
|
+
}
|
|
45
|
+
super.validate();
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
constructor(map?: { [key: string]: any }) {
|
|
49
|
+
super(map);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeIpAbroadCountryInfosResponseBodyAbroadInfosRegions extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* US-CA
|
|
9
|
+
*/
|
|
10
|
+
abroadRegionId?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* 加利福尼亚州
|
|
14
|
+
*/
|
|
15
|
+
abroadRegionName?: string;
|
|
16
|
+
static names(): { [key: string]: string } {
|
|
17
|
+
return {
|
|
18
|
+
abroadRegionId: 'AbroadRegionId',
|
|
19
|
+
abroadRegionName: 'AbroadRegionName',
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
static types(): { [key: string]: any } {
|
|
24
|
+
return {
|
|
25
|
+
abroadRegionId: 'string',
|
|
26
|
+
abroadRegionName: 'string',
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
validate() {
|
|
31
|
+
super.validate();
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
constructor(map?: { [key: string]: any }) {
|
|
35
|
+
super(map);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
package/src/models/model.ts
CHANGED
|
@@ -4,6 +4,8 @@ export { CreateCloudResourceRequestRedirectRequestHeaders } from './CreateCloudR
|
|
|
4
4
|
export { CreateCloudResourceRequestRedirect } from './CreateCloudResourceRequestRedirect';
|
|
5
5
|
export { CreateCloudResourceRequestTag } from './CreateCloudResourceRequestTag';
|
|
6
6
|
export { CreateCloudResourceShrinkRequestTag } from './CreateCloudResourceShrinkRequestTag';
|
|
7
|
+
export { CreateDefenseResourceRequestTag } from './CreateDefenseResourceRequestTag';
|
|
8
|
+
export { CreateDefenseResourceShrinkRequestTag } from './CreateDefenseResourceShrinkRequestTag';
|
|
7
9
|
export { CreateDomainRequestListen } from './CreateDomainRequestListen';
|
|
8
10
|
export { CreateDomainRequestRedirectRequestHeaders } from './CreateDomainRequestRedirectRequestHeaders';
|
|
9
11
|
export { CreateDomainRequestRedirect } from './CreateDomainRequestRedirect';
|
|
@@ -81,6 +83,8 @@ export { DescribeHybridCloudServerRegionsResponseBodyRegions } from './DescribeH
|
|
|
81
83
|
export { DescribeHybridCloudUnassignedMachinesResponseBodyUnassignedMachines } from './DescribeHybridCloudUnassignedMachinesResponseBodyUnassignedMachines';
|
|
82
84
|
export { DescribeHybridCloudUserResponseBodyUserInfo } from './DescribeHybridCloudUserResponseBodyUserInfo';
|
|
83
85
|
export { DescribeInstanceResponseBodyDetails } from './DescribeInstanceResponseBodyDetails';
|
|
86
|
+
export { DescribeIpAbroadCountryInfosResponseBodyAbroadInfosRegions } from './DescribeIpAbroadCountryInfosResponseBodyAbroadInfosRegions';
|
|
87
|
+
export { DescribeIpAbroadCountryInfosResponseBodyAbroadInfos } from './DescribeIpAbroadCountryInfosResponseBodyAbroadInfos';
|
|
84
88
|
export { DescribeMajorProtectionBlackIpsResponseBodyIpList } from './DescribeMajorProtectionBlackIpsResponseBodyIpList';
|
|
85
89
|
export { DescribeMemberAccountsResponseBodyAccountInfos } from './DescribeMemberAccountsResponseBodyAccountInfos';
|
|
86
90
|
export { DescribeNetworkFlowTimeSeriesMetricRequestFilterConditions } from './DescribeNetworkFlowTimeSeriesMetricRequestFilterConditions';
|
|
@@ -179,6 +183,10 @@ export { CreateCloudResourceRequest } from './CreateCloudResourceRequest';
|
|
|
179
183
|
export { CreateCloudResourceShrinkRequest } from './CreateCloudResourceShrinkRequest';
|
|
180
184
|
export { CreateCloudResourceResponseBody } from './CreateCloudResourceResponseBody';
|
|
181
185
|
export { CreateCloudResourceResponse } from './CreateCloudResourceResponse';
|
|
186
|
+
export { CreateDefenseResourceRequest } from './CreateDefenseResourceRequest';
|
|
187
|
+
export { CreateDefenseResourceShrinkRequest } from './CreateDefenseResourceShrinkRequest';
|
|
188
|
+
export { CreateDefenseResourceResponseBody } from './CreateDefenseResourceResponseBody';
|
|
189
|
+
export { CreateDefenseResourceResponse } from './CreateDefenseResourceResponse';
|
|
182
190
|
export { CreateDefenseResourceGroupRequest } from './CreateDefenseResourceGroupRequest';
|
|
183
191
|
export { CreateDefenseResourceGroupResponseBody } from './CreateDefenseResourceGroupResponseBody';
|
|
184
192
|
export { CreateDefenseResourceGroupResponse } from './CreateDefenseResourceGroupResponse';
|
|
@@ -216,6 +224,9 @@ export { DeleteApisecEventsResponse } from './DeleteApisecEventsResponse';
|
|
|
216
224
|
export { DeleteCloudResourceRequest } from './DeleteCloudResourceRequest';
|
|
217
225
|
export { DeleteCloudResourceResponseBody } from './DeleteCloudResourceResponseBody';
|
|
218
226
|
export { DeleteCloudResourceResponse } from './DeleteCloudResourceResponse';
|
|
227
|
+
export { DeleteDefenseResourceRequest } from './DeleteDefenseResourceRequest';
|
|
228
|
+
export { DeleteDefenseResourceResponseBody } from './DeleteDefenseResourceResponseBody';
|
|
229
|
+
export { DeleteDefenseResourceResponse } from './DeleteDefenseResourceResponse';
|
|
219
230
|
export { DeleteDefenseResourceGroupRequest } from './DeleteDefenseResourceGroupRequest';
|
|
220
231
|
export { DeleteDefenseResourceGroupResponseBody } from './DeleteDefenseResourceGroupResponseBody';
|
|
221
232
|
export { DeleteDefenseResourceGroupResponse } from './DeleteDefenseResourceGroupResponse';
|
|
@@ -408,6 +419,9 @@ export { DescribeHybridCloudUserResponse } from './DescribeHybridCloudUserRespon
|
|
|
408
419
|
export { DescribeInstanceRequest } from './DescribeInstanceRequest';
|
|
409
420
|
export { DescribeInstanceResponseBody } from './DescribeInstanceResponseBody';
|
|
410
421
|
export { DescribeInstanceResponse } from './DescribeInstanceResponse';
|
|
422
|
+
export { DescribeIpAbroadCountryInfosRequest } from './DescribeIpAbroadCountryInfosRequest';
|
|
423
|
+
export { DescribeIpAbroadCountryInfosResponseBody } from './DescribeIpAbroadCountryInfosResponseBody';
|
|
424
|
+
export { DescribeIpAbroadCountryInfosResponse } from './DescribeIpAbroadCountryInfosResponse';
|
|
411
425
|
export { DescribeMajorProtectionBlackIpsRequest } from './DescribeMajorProtectionBlackIpsRequest';
|
|
412
426
|
export { DescribeMajorProtectionBlackIpsResponseBody } from './DescribeMajorProtectionBlackIpsResponseBody';
|
|
413
427
|
export { DescribeMajorProtectionBlackIpsResponse } from './DescribeMajorProtectionBlackIpsResponse';
|