@alicloud/waf-openapi20211001 6.3.0 → 6.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 +30 -0
- package/dist/client.js +120 -0
- package/dist/client.js.map +1 -1
- package/dist/models/DescribeApiExportsRequest.d.ts +2 -0
- package/dist/models/DescribeApiExportsRequest.js.map +1 -1
- package/dist/models/DescribeApisecAbnormalsResponseBody.d.ts +2 -0
- package/dist/models/DescribeApisecAbnormalsResponseBody.js.map +1 -1
- package/dist/models/DescribeApisecApiResourcesResponseBody.d.ts +2 -0
- package/dist/models/DescribeApisecApiResourcesResponseBody.js.map +1 -1
- package/dist/models/DescribeApisecEventsResponseBody.d.ts +14 -0
- package/dist/models/DescribeApisecEventsResponseBody.js.map +1 -1
- package/dist/models/DescribeCloudResourceListRequest.d.ts +66 -0
- package/dist/models/DescribeCloudResourceListRequest.js +76 -0
- package/dist/models/DescribeCloudResourceListRequest.js.map +1 -0
- package/dist/models/DescribeCloudResourceListResponse.d.ts +19 -0
- package/dist/models/DescribeCloudResourceListResponse.js +69 -0
- package/dist/models/DescribeCloudResourceListResponse.js.map +1 -0
- package/dist/models/DescribeCloudResourceListResponseBody.d.ts +81 -0
- package/dist/models/DescribeCloudResourceListResponseBody.js +100 -0
- package/dist/models/DescribeCloudResourceListResponseBody.js.map +1 -0
- package/dist/models/DescribeDomainsRequest.d.ts +1 -0
- package/dist/models/DescribeDomainsRequest.js +2 -0
- package/dist/models/DescribeDomainsRequest.js.map +1 -1
- package/dist/models/DescribeThreatEventTopMetricRequest.d.ts +47 -0
- package/dist/models/DescribeThreatEventTopMetricRequest.js +66 -0
- package/dist/models/DescribeThreatEventTopMetricRequest.js.map +1 -0
- package/dist/models/DescribeThreatEventTopMetricResponse.d.ts +19 -0
- package/dist/models/DescribeThreatEventTopMetricResponse.js +69 -0
- package/dist/models/DescribeThreatEventTopMetricResponse.js.map +1 -0
- package/dist/models/DescribeThreatEventTopMetricResponseBody.d.ts +51 -0
- package/dist/models/DescribeThreatEventTopMetricResponseBody.js +88 -0
- package/dist/models/DescribeThreatEventTopMetricResponseBody.js.map +1 -0
- package/dist/models/DescribeUserAbnormalTrendResponseBody.d.ts +2 -0
- package/dist/models/DescribeUserAbnormalTrendResponseBody.js.map +1 -1
- package/dist/models/DescribeUserApiRequestRequest.d.ts +4 -0
- package/dist/models/DescribeUserApiRequestRequest.js.map +1 -1
- package/dist/models/DescribeUserAssetRequest.d.ts +2 -0
- package/dist/models/DescribeUserAssetRequest.js.map +1 -1
- package/dist/models/model.d.ts +8 -0
- package/dist/models/model.js +34 -18
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +140 -0
- package/src/models/DescribeApiExportsRequest.ts +2 -0
- package/src/models/DescribeApisecAbnormalsResponseBody.ts +2 -0
- package/src/models/DescribeApisecApiResourcesResponseBody.ts +2 -0
- package/src/models/DescribeApisecEventsResponseBody.ts +14 -0
- package/src/models/DescribeCloudResourceListRequest.ts +97 -0
- package/src/models/DescribeCloudResourceListResponse.ts +40 -0
- package/src/models/DescribeCloudResourceListResponseBody.ts +127 -0
- package/src/models/DescribeDomainsRequest.ts +3 -0
- package/src/models/DescribeThreatEventTopMetricRequest.ts +68 -0
- package/src/models/DescribeThreatEventTopMetricResponse.ts +40 -0
- package/src/models/DescribeThreatEventTopMetricResponseBody.ts +85 -0
- package/src/models/DescribeUserAbnormalTrendResponseBody.ts +2 -0
- package/src/models/DescribeUserApiRequestRequest.ts +4 -0
- package/src/models/DescribeUserAssetRequest.ts +2 -0
- package/src/models/model.ts +8 -0
|
@@ -52,6 +52,8 @@ export class DescribeApisecEventsResponseBodyData extends $dara.Model {
|
|
|
52
52
|
*
|
|
53
53
|
* @example
|
|
54
54
|
* {\\"1717498320\\":500,\\"1717498380\\":529,\\"1717498440\\":20,\\"1717498260\\":518,\\"1717498200\\":481,\\"1717498140\\":52}
|
|
55
|
+
*
|
|
56
|
+
* @deprecated
|
|
55
57
|
*/
|
|
56
58
|
attackCntInfo?: string;
|
|
57
59
|
/**
|
|
@@ -60,6 +62,8 @@ export class DescribeApisecEventsResponseBodyData extends $dara.Model {
|
|
|
60
62
|
*
|
|
61
63
|
* @example
|
|
62
64
|
* 104.234.140.33
|
|
65
|
+
*
|
|
66
|
+
* @deprecated
|
|
63
67
|
*/
|
|
64
68
|
attackIp?: string;
|
|
65
69
|
/**
|
|
@@ -73,11 +77,15 @@ export class DescribeApisecEventsResponseBodyData extends $dara.Model {
|
|
|
73
77
|
*
|
|
74
78
|
* @example
|
|
75
79
|
* [{\\"ip\\":\\"72.*.*.119\\",\\"country_id\\":\\"US\\",\\"region_id\\":\\"\\",\\"cnt\\":\\"2100\\"}]
|
|
80
|
+
*
|
|
81
|
+
* @deprecated
|
|
76
82
|
*/
|
|
77
83
|
attackIpInfo?: string;
|
|
78
84
|
/**
|
|
79
85
|
* @remarks
|
|
80
86
|
* The source IP addresses of the attacks.
|
|
87
|
+
*
|
|
88
|
+
* @deprecated
|
|
81
89
|
*/
|
|
82
90
|
attackIps?: string[];
|
|
83
91
|
attackerList?: string[];
|
|
@@ -107,6 +115,8 @@ export class DescribeApisecEventsResponseBodyData extends $dara.Model {
|
|
|
107
115
|
*
|
|
108
116
|
* @example
|
|
109
117
|
* {}
|
|
118
|
+
*
|
|
119
|
+
* @deprecated
|
|
110
120
|
*/
|
|
111
121
|
eventInfo?: string;
|
|
112
122
|
/**
|
|
@@ -191,6 +201,8 @@ export class DescribeApisecEventsResponseBodyData extends $dara.Model {
|
|
|
191
201
|
*
|
|
192
202
|
* @example
|
|
193
203
|
* {}
|
|
204
|
+
*
|
|
205
|
+
* @deprecated
|
|
194
206
|
*/
|
|
195
207
|
requestData?: string;
|
|
196
208
|
/**
|
|
@@ -199,6 +211,8 @@ export class DescribeApisecEventsResponseBodyData extends $dara.Model {
|
|
|
199
211
|
*
|
|
200
212
|
* @example
|
|
201
213
|
* {}
|
|
214
|
+
*
|
|
215
|
+
* @deprecated
|
|
202
216
|
*/
|
|
203
217
|
responseData?: string;
|
|
204
218
|
/**
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeCloudResourceListRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* i-8vbdlsd********81e22-80-ecs
|
|
9
|
+
*/
|
|
10
|
+
cloudResourceId?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @remarks
|
|
13
|
+
* This parameter is required.
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* waf_elasticity-cn-0xldbqt****
|
|
17
|
+
*/
|
|
18
|
+
instanceId?: string;
|
|
19
|
+
/**
|
|
20
|
+
* @example
|
|
21
|
+
* 10
|
|
22
|
+
*/
|
|
23
|
+
maxResults?: number;
|
|
24
|
+
/**
|
|
25
|
+
* @example
|
|
26
|
+
* AAAAAGBgV9tolsLfijC4wam2htS*****D/46H3X2wIS
|
|
27
|
+
*/
|
|
28
|
+
nextToken?: string;
|
|
29
|
+
/**
|
|
30
|
+
* @example
|
|
31
|
+
* 1111111111
|
|
32
|
+
*/
|
|
33
|
+
ownerUserId?: string;
|
|
34
|
+
/**
|
|
35
|
+
* @example
|
|
36
|
+
* 80
|
|
37
|
+
*/
|
|
38
|
+
port?: string;
|
|
39
|
+
/**
|
|
40
|
+
* @example
|
|
41
|
+
* cn-hangzhou
|
|
42
|
+
*/
|
|
43
|
+
regionId?: string;
|
|
44
|
+
/**
|
|
45
|
+
* @example
|
|
46
|
+
* i-8vbdlsd********81e22
|
|
47
|
+
*/
|
|
48
|
+
resourceInstanceId?: string;
|
|
49
|
+
/**
|
|
50
|
+
* @example
|
|
51
|
+
* rg-acfm***q
|
|
52
|
+
*/
|
|
53
|
+
resourceManagerResourceGroupId?: string;
|
|
54
|
+
/**
|
|
55
|
+
* @example
|
|
56
|
+
* ecs
|
|
57
|
+
*/
|
|
58
|
+
resourceProduct?: string;
|
|
59
|
+
static names(): { [key: string]: string } {
|
|
60
|
+
return {
|
|
61
|
+
cloudResourceId: 'CloudResourceId',
|
|
62
|
+
instanceId: 'InstanceId',
|
|
63
|
+
maxResults: 'MaxResults',
|
|
64
|
+
nextToken: 'NextToken',
|
|
65
|
+
ownerUserId: 'OwnerUserId',
|
|
66
|
+
port: 'Port',
|
|
67
|
+
regionId: 'RegionId',
|
|
68
|
+
resourceInstanceId: 'ResourceInstanceId',
|
|
69
|
+
resourceManagerResourceGroupId: 'ResourceManagerResourceGroupId',
|
|
70
|
+
resourceProduct: 'ResourceProduct',
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
static types(): { [key: string]: any } {
|
|
75
|
+
return {
|
|
76
|
+
cloudResourceId: 'string',
|
|
77
|
+
instanceId: 'string',
|
|
78
|
+
maxResults: 'number',
|
|
79
|
+
nextToken: 'string',
|
|
80
|
+
ownerUserId: 'string',
|
|
81
|
+
port: 'string',
|
|
82
|
+
regionId: 'string',
|
|
83
|
+
resourceInstanceId: 'string',
|
|
84
|
+
resourceManagerResourceGroupId: 'string',
|
|
85
|
+
resourceProduct: 'string',
|
|
86
|
+
};
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
validate() {
|
|
90
|
+
super.validate();
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
constructor(map?: { [key: string]: any }) {
|
|
94
|
+
super(map);
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { DescribeCloudResourceListResponseBody } from "./DescribeCloudResourceListResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class DescribeCloudResourceListResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: DescribeCloudResourceListResponseBody;
|
|
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: DescribeCloudResourceListResponseBody,
|
|
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,127 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeCloudResourceListResponseBodyCloudResourceList extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* i-8vbdlsd********81e22-80-ecs
|
|
9
|
+
*/
|
|
10
|
+
cloudResourceId?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* 80
|
|
14
|
+
*/
|
|
15
|
+
port?: number;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* http
|
|
19
|
+
*/
|
|
20
|
+
protocol?: string;
|
|
21
|
+
/**
|
|
22
|
+
* @example
|
|
23
|
+
* i-8vbdlsd********81e22
|
|
24
|
+
*/
|
|
25
|
+
resourceInstanceId?: string;
|
|
26
|
+
/**
|
|
27
|
+
* @example
|
|
28
|
+
* rg-aek2uo2****lbka
|
|
29
|
+
*/
|
|
30
|
+
resourceManagerResourceGroupId?: string;
|
|
31
|
+
/**
|
|
32
|
+
* @example
|
|
33
|
+
* ecs
|
|
34
|
+
*/
|
|
35
|
+
resourceProduct?: string;
|
|
36
|
+
/**
|
|
37
|
+
* @example
|
|
38
|
+
* cn-hangzhou
|
|
39
|
+
*/
|
|
40
|
+
resourceRegionId?: string;
|
|
41
|
+
static names(): { [key: string]: string } {
|
|
42
|
+
return {
|
|
43
|
+
cloudResourceId: 'CloudResourceId',
|
|
44
|
+
port: 'Port',
|
|
45
|
+
protocol: 'Protocol',
|
|
46
|
+
resourceInstanceId: 'ResourceInstanceId',
|
|
47
|
+
resourceManagerResourceGroupId: 'ResourceManagerResourceGroupId',
|
|
48
|
+
resourceProduct: 'ResourceProduct',
|
|
49
|
+
resourceRegionId: 'ResourceRegionId',
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
static types(): { [key: string]: any } {
|
|
54
|
+
return {
|
|
55
|
+
cloudResourceId: 'string',
|
|
56
|
+
port: 'number',
|
|
57
|
+
protocol: 'string',
|
|
58
|
+
resourceInstanceId: 'string',
|
|
59
|
+
resourceManagerResourceGroupId: 'string',
|
|
60
|
+
resourceProduct: 'string',
|
|
61
|
+
resourceRegionId: 'string',
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
validate() {
|
|
66
|
+
super.validate();
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
constructor(map?: { [key: string]: any }) {
|
|
70
|
+
super(map);
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
export class DescribeCloudResourceListResponseBody extends $dara.Model {
|
|
75
|
+
cloudResourceList?: DescribeCloudResourceListResponseBodyCloudResourceList[];
|
|
76
|
+
/**
|
|
77
|
+
* @example
|
|
78
|
+
* 20
|
|
79
|
+
*/
|
|
80
|
+
maxResults?: number;
|
|
81
|
+
/**
|
|
82
|
+
* @example
|
|
83
|
+
* AAAAAGBgV9tolsLfijC4wam2htS*****D/46H3X2wIS
|
|
84
|
+
*/
|
|
85
|
+
nextToken?: string;
|
|
86
|
+
/**
|
|
87
|
+
* @example
|
|
88
|
+
* F35F45B0-5D6B-4238-BE02-A62D****E840
|
|
89
|
+
*/
|
|
90
|
+
requestId?: string;
|
|
91
|
+
/**
|
|
92
|
+
* @example
|
|
93
|
+
* 118
|
|
94
|
+
*/
|
|
95
|
+
totalCount?: number;
|
|
96
|
+
static names(): { [key: string]: string } {
|
|
97
|
+
return {
|
|
98
|
+
cloudResourceList: 'CloudResourceList',
|
|
99
|
+
maxResults: 'MaxResults',
|
|
100
|
+
nextToken: 'NextToken',
|
|
101
|
+
requestId: 'RequestId',
|
|
102
|
+
totalCount: 'TotalCount',
|
|
103
|
+
};
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
static types(): { [key: string]: any } {
|
|
107
|
+
return {
|
|
108
|
+
cloudResourceList: { 'type': 'array', 'itemType': DescribeCloudResourceListResponseBodyCloudResourceList },
|
|
109
|
+
maxResults: 'number',
|
|
110
|
+
nextToken: 'string',
|
|
111
|
+
requestId: 'string',
|
|
112
|
+
totalCount: 'number',
|
|
113
|
+
};
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
validate() {
|
|
117
|
+
if(Array.isArray(this.cloudResourceList)) {
|
|
118
|
+
$dara.Model.validateArray(this.cloudResourceList);
|
|
119
|
+
}
|
|
120
|
+
super.validate();
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
constructor(map?: { [key: string]: any }) {
|
|
124
|
+
super(map);
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
|
|
@@ -59,6 +59,7 @@ export class DescribeDomainsRequest extends $dara.Model {
|
|
|
59
59
|
* www.aliyundoc.com
|
|
60
60
|
*/
|
|
61
61
|
domain?: string;
|
|
62
|
+
domainId?: string;
|
|
62
63
|
/**
|
|
63
64
|
* @remarks
|
|
64
65
|
* The page number of the page to return. Default value: 1.
|
|
@@ -113,6 +114,7 @@ export class DescribeDomainsRequest extends $dara.Model {
|
|
|
113
114
|
return {
|
|
114
115
|
backend: 'Backend',
|
|
115
116
|
domain: 'Domain',
|
|
117
|
+
domainId: 'DomainId',
|
|
116
118
|
instanceId: 'InstanceId',
|
|
117
119
|
pageNumber: 'PageNumber',
|
|
118
120
|
pageSize: 'PageSize',
|
|
@@ -126,6 +128,7 @@ export class DescribeDomainsRequest extends $dara.Model {
|
|
|
126
128
|
return {
|
|
127
129
|
backend: 'string',
|
|
128
130
|
domain: 'string',
|
|
131
|
+
domainId: 'string',
|
|
129
132
|
instanceId: 'string',
|
|
130
133
|
pageNumber: 'number',
|
|
131
134
|
pageSize: 'number',
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeThreatEventTopMetricRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* This parameter is required.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* 0b7ab137a065aab7656986***11db
|
|
12
|
+
*/
|
|
13
|
+
eventId?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* This parameter is required.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* waf_elasticity-cn-0xldbqt****
|
|
20
|
+
*/
|
|
21
|
+
instanceId?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* This parameter is required.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* time
|
|
28
|
+
*/
|
|
29
|
+
metric?: string;
|
|
30
|
+
/**
|
|
31
|
+
* @example
|
|
32
|
+
* cn-hangzhou
|
|
33
|
+
*/
|
|
34
|
+
regionId?: string;
|
|
35
|
+
/**
|
|
36
|
+
* @example
|
|
37
|
+
* rg-acfm***q
|
|
38
|
+
*/
|
|
39
|
+
resourceManagerResourceGroupId?: string;
|
|
40
|
+
static names(): { [key: string]: string } {
|
|
41
|
+
return {
|
|
42
|
+
eventId: 'EventId',
|
|
43
|
+
instanceId: 'InstanceId',
|
|
44
|
+
metric: 'Metric',
|
|
45
|
+
regionId: 'RegionId',
|
|
46
|
+
resourceManagerResourceGroupId: 'ResourceManagerResourceGroupId',
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
static types(): { [key: string]: any } {
|
|
51
|
+
return {
|
|
52
|
+
eventId: 'string',
|
|
53
|
+
instanceId: 'string',
|
|
54
|
+
metric: 'string',
|
|
55
|
+
regionId: 'string',
|
|
56
|
+
resourceManagerResourceGroupId: 'string',
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
validate() {
|
|
61
|
+
super.validate();
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
constructor(map?: { [key: string]: any }) {
|
|
65
|
+
super(map);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { DescribeThreatEventTopMetricResponseBody } from "./DescribeThreatEventTopMetricResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class DescribeThreatEventTopMetricResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: DescribeThreatEventTopMetricResponseBody;
|
|
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: DescribeThreatEventTopMetricResponseBody,
|
|
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,85 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeThreatEventTopMetricResponseBodyTopMetrics extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* 20
|
|
9
|
+
*/
|
|
10
|
+
cnt?: number;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* CN
|
|
14
|
+
*/
|
|
15
|
+
country?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* cn-hangzhou
|
|
19
|
+
*/
|
|
20
|
+
region?: string;
|
|
21
|
+
/**
|
|
22
|
+
* @example
|
|
23
|
+
* 115.28.209.212
|
|
24
|
+
*/
|
|
25
|
+
value?: string;
|
|
26
|
+
static names(): { [key: string]: string } {
|
|
27
|
+
return {
|
|
28
|
+
cnt: 'Cnt',
|
|
29
|
+
country: 'Country',
|
|
30
|
+
region: 'Region',
|
|
31
|
+
value: 'Value',
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
static types(): { [key: string]: any } {
|
|
36
|
+
return {
|
|
37
|
+
cnt: 'number',
|
|
38
|
+
country: 'string',
|
|
39
|
+
region: 'string',
|
|
40
|
+
value: 'string',
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
validate() {
|
|
45
|
+
super.validate();
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
constructor(map?: { [key: string]: any }) {
|
|
49
|
+
super(map);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export class DescribeThreatEventTopMetricResponseBody extends $dara.Model {
|
|
54
|
+
/**
|
|
55
|
+
* @example
|
|
56
|
+
* 12EF3845-CCEB-4B84-AE60-2B49B*****EE5
|
|
57
|
+
*/
|
|
58
|
+
requestId?: string;
|
|
59
|
+
topMetrics?: DescribeThreatEventTopMetricResponseBodyTopMetrics[];
|
|
60
|
+
static names(): { [key: string]: string } {
|
|
61
|
+
return {
|
|
62
|
+
requestId: 'RequestId',
|
|
63
|
+
topMetrics: 'TopMetrics',
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
static types(): { [key: string]: any } {
|
|
68
|
+
return {
|
|
69
|
+
requestId: 'string',
|
|
70
|
+
topMetrics: { 'type': 'array', 'itemType': DescribeThreatEventTopMetricResponseBodyTopMetrics },
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
validate() {
|
|
75
|
+
if(Array.isArray(this.topMetrics)) {
|
|
76
|
+
$dara.Model.validateArray(this.topMetrics);
|
|
77
|
+
}
|
|
78
|
+
super.validate();
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
constructor(map?: { [key: string]: any }) {
|
|
82
|
+
super(map);
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
|
|
@@ -10,6 +10,8 @@ export class DescribeUserApiRequestRequest extends $dara.Model {
|
|
|
10
10
|
*
|
|
11
11
|
* @example
|
|
12
12
|
* /api/v1/know
|
|
13
|
+
*
|
|
14
|
+
* @deprecated
|
|
13
15
|
*/
|
|
14
16
|
apiFormat?: string;
|
|
15
17
|
/**
|
|
@@ -38,6 +40,8 @@ export class DescribeUserApiRequestRequest extends $dara.Model {
|
|
|
38
40
|
*
|
|
39
41
|
* @example
|
|
40
42
|
* c.***.com
|
|
43
|
+
*
|
|
44
|
+
* @deprecated
|
|
41
45
|
*/
|
|
42
46
|
domain?: string;
|
|
43
47
|
/**
|
package/src/models/model.ts
CHANGED
|
@@ -48,6 +48,7 @@ export { DescribeCloudResourceAccessPortDetailsResponseBodyAccessPortDetailsCert
|
|
|
48
48
|
export { DescribeCloudResourceAccessPortDetailsResponseBodyAccessPortDetailsLogHeaders } from './DescribeCloudResourceAccessPortDetailsResponseBody';
|
|
49
49
|
export { DescribeCloudResourceAccessPortDetailsResponseBodyAccessPortDetailsSubStatusDetails } from './DescribeCloudResourceAccessPortDetailsResponseBody';
|
|
50
50
|
export { DescribeCloudResourceAccessPortDetailsResponseBodyAccessPortDetails } from './DescribeCloudResourceAccessPortDetailsResponseBody';
|
|
51
|
+
export { DescribeCloudResourceListResponseBodyCloudResourceList } from './DescribeCloudResourceListResponseBody';
|
|
51
52
|
export { DescribeCloudResourcesResponseBodyCloudResources } from './DescribeCloudResourcesResponseBody';
|
|
52
53
|
export { DescribeCnameCountResponseBodyCnameCount } from './DescribeCnameCountResponseBody';
|
|
53
54
|
export { DescribeCommonLogFieldsResponseBodyLogFieldList } from './DescribeCommonLogFieldsResponseBody';
|
|
@@ -177,6 +178,7 @@ export { DescribeSensitiveStatisticResponseBodyData } from './DescribeSensitiveS
|
|
|
177
178
|
export { DescribeTemplateResourceCountResponseBodyResourceCount } from './DescribeTemplateResourceCountResponseBody';
|
|
178
179
|
export { DescribeThreatEventResponseBodyThreatEvents } from './DescribeThreatEventResponseBody';
|
|
179
180
|
export { DescribeThreatEventDetailResponseBodyThreatEventDetail } from './DescribeThreatEventDetailResponseBody';
|
|
181
|
+
export { DescribeThreatEventTopMetricResponseBodyTopMetrics } from './DescribeThreatEventTopMetricResponseBody';
|
|
180
182
|
export { DescribeUserAbnormalTrendResponseBodyTrend } from './DescribeUserAbnormalTrendResponseBody';
|
|
181
183
|
export { DescribeUserAbnormalTypeResponseBodyAbnormal } from './DescribeUserAbnormalTypeResponseBody';
|
|
182
184
|
export { DescribeUserApiRequestResponseBodyRequests } from './DescribeUserApiRequestResponseBody';
|
|
@@ -420,6 +422,9 @@ export { DescribeCloudResourceAccessPortDetailsResponse } from './DescribeCloudR
|
|
|
420
422
|
export { DescribeCloudResourceAccessedPortsRequest } from './DescribeCloudResourceAccessedPortsRequest';
|
|
421
423
|
export { DescribeCloudResourceAccessedPortsResponseBody } from './DescribeCloudResourceAccessedPortsResponseBody';
|
|
422
424
|
export { DescribeCloudResourceAccessedPortsResponse } from './DescribeCloudResourceAccessedPortsResponse';
|
|
425
|
+
export { DescribeCloudResourceListRequest } from './DescribeCloudResourceListRequest';
|
|
426
|
+
export { DescribeCloudResourceListResponseBody } from './DescribeCloudResourceListResponseBody';
|
|
427
|
+
export { DescribeCloudResourceListResponse } from './DescribeCloudResourceListResponse';
|
|
423
428
|
export { DescribeCloudResourcesRequest } from './DescribeCloudResourcesRequest';
|
|
424
429
|
export { DescribeCloudResourcesResponseBody } from './DescribeCloudResourcesResponseBody';
|
|
425
430
|
export { DescribeCloudResourcesResponse } from './DescribeCloudResourcesResponse';
|
|
@@ -720,6 +725,9 @@ export { DescribeThreatEventResponse } from './DescribeThreatEventResponse';
|
|
|
720
725
|
export { DescribeThreatEventDetailRequest } from './DescribeThreatEventDetailRequest';
|
|
721
726
|
export { DescribeThreatEventDetailResponseBody } from './DescribeThreatEventDetailResponseBody';
|
|
722
727
|
export { DescribeThreatEventDetailResponse } from './DescribeThreatEventDetailResponse';
|
|
728
|
+
export { DescribeThreatEventTopMetricRequest } from './DescribeThreatEventTopMetricRequest';
|
|
729
|
+
export { DescribeThreatEventTopMetricResponseBody } from './DescribeThreatEventTopMetricResponseBody';
|
|
730
|
+
export { DescribeThreatEventTopMetricResponse } from './DescribeThreatEventTopMetricResponse';
|
|
723
731
|
export { DescribeUserAbnormalTrendRequest } from './DescribeUserAbnormalTrendRequest';
|
|
724
732
|
export { DescribeUserAbnormalTrendResponseBody } from './DescribeUserAbnormalTrendResponseBody';
|
|
725
733
|
export { DescribeUserAbnormalTrendResponse } from './DescribeUserAbnormalTrendResponse';
|