Skip to content

Commit 51d941e

Browse files
committed
Update API DescribeExposedStatisticsDetail: add request parameters Criteria.
1 parent c9319b4 commit 51d941e

7 files changed

+51
-1
lines changed

sas-20181203/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@alicloud/sas20181203",
3-
"version": "6.0.3",
3+
"version": "6.0.4",
44
"description": "",
55
"main": "dist/client.js",
66
"scripts": {

sas-20181203/src/client.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13906,6 +13906,10 @@ export default class Client extends OpenApi {
1390613906
async describeExposedStatisticsDetailWithOptions(request: $_model.DescribeExposedStatisticsDetailRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeExposedStatisticsDetailResponse> {
1390713907
request.validate();
1390813908
let query = { };
13909+
if (!$dara.isNull(request.criteria)) {
13910+
query["Criteria"] = request.criteria;
13911+
}
13912+
1390913913
if (!$dara.isNull(request.currentPage)) {
1391013914
query["CurrentPage"] = request.currentPage;
1391113915
}
@@ -13930,6 +13934,10 @@ export default class Client extends OpenApi {
1393013934
query["StatisticsTypeInstanceValue"] = request.statisticsTypeInstanceValue;
1393113935
}
1393213936

13937+
if (!$dara.isNull(request.uuid)) {
13938+
query["Uuid"] = request.uuid;
13939+
}
13940+
1393313941
let req = new $OpenApiUtil.OpenApiRequest({
1393413942
query: OpenApiUtil.query(query),
1393513943
});
@@ -26851,6 +26859,10 @@ export default class Client extends OpenApi {
2685126859
query["EventId"] = request.eventId;
2685226860
}
2685326861

26862+
if (!$dara.isNull(request.eventSource)) {
26863+
query["EventSource"] = request.eventSource;
26864+
}
26865+
2685426866
if (!$dara.isNull(request.lang)) {
2685526867
query["Lang"] = request.lang;
2685626868
}

sas-20181203/src/models/DescribeExposedStatisticsDetailRequest.ts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@ import * as $dara from '@darabonba/typescript';
33

44

55
export class DescribeExposedStatisticsDetailRequest extends $dara.Model {
6+
/**
7+
* @example
8+
* {}
9+
*/
10+
criteria?: string;
611
/**
712
* @remarks
813
* The number of the page to return.
@@ -65,25 +70,34 @@ export class DescribeExposedStatisticsDetailRequest extends $dara.Model {
6570
* lb-2ze4rso39h4nczcqs****
6671
*/
6772
statisticsTypeInstanceValue?: string;
73+
/**
74+
* @example
75+
* c9107c04-942f-40c1-981a-f1c1***
76+
*/
77+
uuid?: string;
6878
static names(): { [key: string]: string } {
6979
return {
80+
criteria: 'Criteria',
7081
currentPage: 'CurrentPage',
7182
pageSize: 'PageSize',
7283
resourceDirectoryAccountId: 'ResourceDirectoryAccountId',
7384
statisticsType: 'StatisticsType',
7485
statisticsTypeGatewayType: 'StatisticsTypeGatewayType',
7586
statisticsTypeInstanceValue: 'StatisticsTypeInstanceValue',
87+
uuid: 'Uuid',
7688
};
7789
}
7890

7991
static types(): { [key: string]: any } {
8092
return {
93+
criteria: 'string',
8194
currentPage: 'number',
8295
pageSize: 'number',
8396
resourceDirectoryAccountId: 'number',
8497
statisticsType: 'string',
8598
statisticsTypeGatewayType: 'string',
8699
statisticsTypeInstanceValue: 'string',
100+
uuid: 'string',
87101
};
88102
}
89103

sas-20181203/src/models/DescribeExposedStatisticsDetailResponseBody.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,11 @@ export class DescribeExposedStatisticsDetailResponseBodyStatisticsDetails extend
129129
* ngw-bp1vkbju8f3w87c9v****
130130
*/
131131
exposureTypeInstanceName?: string;
132+
/**
133+
* @example
134+
* 80
135+
*/
136+
forwardPort?: string;
132137
/**
133138
* @remarks
134139
* The region ID of the asset.
@@ -146,6 +151,7 @@ export class DescribeExposedStatisticsDetailResponseBodyStatisticsDetails extend
146151
exposureType: 'ExposureType',
147152
exposureTypeId: 'ExposureTypeId',
148153
exposureTypeInstanceName: 'ExposureTypeInstanceName',
154+
forwardPort: 'ForwardPort',
149155
regionId: 'RegionId',
150156
};
151157
}
@@ -159,6 +165,7 @@ export class DescribeExposedStatisticsDetailResponseBodyStatisticsDetails extend
159165
exposureType: 'string',
160166
exposureTypeId: 'string',
161167
exposureTypeInstanceName: 'string',
168+
forwardPort: 'string',
162169
regionId: 'string',
163170
};
164171
}

sas-20181203/src/models/GetAttackPathEventDetailRequest.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@ export class GetAttackPathEventDetailRequest extends $dara.Model {
1212
* 123
1313
*/
1414
eventId?: number;
15+
/**
16+
* @example
17+
* default
18+
*/
19+
eventSource?: string;
1520
/**
1621
* @remarks
1722
* The language type for request and response, default is **zh**. Values:
@@ -25,13 +30,15 @@ export class GetAttackPathEventDetailRequest extends $dara.Model {
2530
static names(): { [key: string]: string } {
2631
return {
2732
eventId: 'EventId',
33+
eventSource: 'EventSource',
2834
lang: 'Lang',
2935
};
3036
}
3137

3238
static types(): { [key: string]: any } {
3339
return {
3440
eventId: 'number',
41+
eventSource: 'string',
3542
lang: 'string',
3643
};
3744
}

sas-20181203/src/models/GetAttackPathEventDetailResponseBody.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,11 @@ export class GetAttackPathEventDetailResponseBodyAttackPathEventPathEventEdgeLis
175175
}
176176

177177
export class GetAttackPathEventDetailResponseBodyAttackPathEventPathEventNodeList extends $dara.Model {
178+
/**
179+
* @example
180+
* 1
181+
*/
182+
aiAssetFlag?: number;
178183
/**
179184
* @remarks
180185
* Node element type.
@@ -227,6 +232,7 @@ export class GetAttackPathEventDetailResponseBodyAttackPathEventPathEventNodeLis
227232
sensitiveAssetFlag?: number;
228233
static names(): { [key: string]: string } {
229234
return {
235+
aiAssetFlag: 'AiAssetFlag',
230236
elementType: 'ElementType',
231237
nodeDetail: 'NodeDetail',
232238
nodeName: 'NodeName',
@@ -238,6 +244,7 @@ export class GetAttackPathEventDetailResponseBodyAttackPathEventPathEventNodeLis
238244

239245
static types(): { [key: string]: any } {
240246
return {
247+
aiAssetFlag: 'number',
241248
elementType: 'string',
242249
nodeDetail: 'string',
243250
nodeName: 'string',

sas-20181203/src/models/ListCheckItemWarningMachineResponseBody.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ export class ListCheckItemWarningMachineResponseBodyListWarningRiskList extends
8787
}
8888

8989
export class ListCheckItemWarningMachineResponseBodyList extends $dara.Model {
90+
assetType?: string;
9091
/**
9192
* @remarks
9293
* The edition of Security Center that is authorized to protect the asset. Valid values:
@@ -278,6 +279,7 @@ export class ListCheckItemWarningMachineResponseBodyList extends $dara.Model {
278279
warningRiskList?: ListCheckItemWarningMachineResponseBodyListWarningRiskList[];
279280
static names(): { [key: string]: string } {
280281
return {
282+
assetType: 'AssetType',
281283
authVersion: 'AuthVersion',
282284
bind: 'Bind',
283285
containerId: 'ContainerId',
@@ -304,6 +306,7 @@ export class ListCheckItemWarningMachineResponseBodyList extends $dara.Model {
304306

305307
static types(): { [key: string]: any } {
306308
return {
309+
assetType: 'string',
307310
authVersion: 'number',
308311
bind: 'boolean',
309312
containerId: 'string',

0 commit comments

Comments
 (0)