@alicloud/sas20181203 2.22.1 → 2.23.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 +35 -0
- package/dist/client.js +71 -0
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +88 -0
package/dist/client.d.ts
CHANGED
|
@@ -8196,6 +8196,37 @@ export declare class DescribeFieldStatisticsResponse extends $tea.Model {
|
|
|
8196
8196
|
[key: string]: any;
|
|
8197
8197
|
});
|
|
8198
8198
|
}
|
|
8199
|
+
export declare class DescribeFixUsedCountResponseBody extends $tea.Model {
|
|
8200
|
+
requestId?: string;
|
|
8201
|
+
usedCount?: number;
|
|
8202
|
+
usedCountCn?: number;
|
|
8203
|
+
usedCountSg?: number;
|
|
8204
|
+
static names(): {
|
|
8205
|
+
[key: string]: string;
|
|
8206
|
+
};
|
|
8207
|
+
static types(): {
|
|
8208
|
+
[key: string]: any;
|
|
8209
|
+
};
|
|
8210
|
+
constructor(map?: {
|
|
8211
|
+
[key: string]: any;
|
|
8212
|
+
});
|
|
8213
|
+
}
|
|
8214
|
+
export declare class DescribeFixUsedCountResponse extends $tea.Model {
|
|
8215
|
+
headers: {
|
|
8216
|
+
[key: string]: string;
|
|
8217
|
+
};
|
|
8218
|
+
statusCode: number;
|
|
8219
|
+
body: DescribeFixUsedCountResponseBody;
|
|
8220
|
+
static names(): {
|
|
8221
|
+
[key: string]: string;
|
|
8222
|
+
};
|
|
8223
|
+
static types(): {
|
|
8224
|
+
[key: string]: any;
|
|
8225
|
+
};
|
|
8226
|
+
constructor(map?: {
|
|
8227
|
+
[key: string]: any;
|
|
8228
|
+
});
|
|
8229
|
+
}
|
|
8199
8230
|
export declare class DescribeFrontVulPatchListRequest extends $tea.Model {
|
|
8200
8231
|
info?: string;
|
|
8201
8232
|
lang?: string;
|
|
@@ -15731,6 +15762,7 @@ export declare class ExportVulResponse extends $tea.Model {
|
|
|
15731
15762
|
export declare class ExportWarningRequest extends $tea.Model {
|
|
15732
15763
|
dealed?: string;
|
|
15733
15764
|
exportType?: string;
|
|
15765
|
+
groupId?: number;
|
|
15734
15766
|
isCleartextPwd?: number;
|
|
15735
15767
|
isSummaryExport?: number;
|
|
15736
15768
|
lang?: string;
|
|
@@ -25638,6 +25670,7 @@ export declare class ModifyTagWithUuidRequest extends $tea.Model {
|
|
|
25638
25670
|
machineTypes?: string;
|
|
25639
25671
|
tagId?: string;
|
|
25640
25672
|
tagList?: string;
|
|
25673
|
+
target?: string;
|
|
25641
25674
|
uuidList?: string;
|
|
25642
25675
|
static names(): {
|
|
25643
25676
|
[key: string]: string;
|
|
@@ -43618,6 +43651,8 @@ export default class Client extends OpenApi {
|
|
|
43618
43651
|
describeExposedStatisticsDetail(request: DescribeExposedStatisticsDetailRequest): Promise<DescribeExposedStatisticsDetailResponse>;
|
|
43619
43652
|
describeFieldStatisticsWithOptions(request: DescribeFieldStatisticsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeFieldStatisticsResponse>;
|
|
43620
43653
|
describeFieldStatistics(request: DescribeFieldStatisticsRequest): Promise<DescribeFieldStatisticsResponse>;
|
|
43654
|
+
describeFixUsedCountWithOptions(runtime: $Util.RuntimeOptions): Promise<DescribeFixUsedCountResponse>;
|
|
43655
|
+
describeFixUsedCount(): Promise<DescribeFixUsedCountResponse>;
|
|
43621
43656
|
describeFrontVulPatchListWithOptions(request: DescribeFrontVulPatchListRequest, runtime: $Util.RuntimeOptions): Promise<DescribeFrontVulPatchListResponse>;
|
|
43622
43657
|
describeFrontVulPatchList(request: DescribeFrontVulPatchListRequest): Promise<DescribeFrontVulPatchListResponse>;
|
|
43623
43658
|
describeGroupStructWithOptions(request: DescribeGroupStructRequest, runtime: $Util.RuntimeOptions): Promise<DescribeGroupStructResponse>;
|
package/dist/client.js
CHANGED
|
@@ -11279,6 +11279,48 @@ class DescribeFieldStatisticsResponse extends $tea.Model {
|
|
|
11279
11279
|
}
|
|
11280
11280
|
}
|
|
11281
11281
|
exports.DescribeFieldStatisticsResponse = DescribeFieldStatisticsResponse;
|
|
11282
|
+
class DescribeFixUsedCountResponseBody extends $tea.Model {
|
|
11283
|
+
constructor(map) {
|
|
11284
|
+
super(map);
|
|
11285
|
+
}
|
|
11286
|
+
static names() {
|
|
11287
|
+
return {
|
|
11288
|
+
requestId: 'RequestId',
|
|
11289
|
+
usedCount: 'UsedCount',
|
|
11290
|
+
usedCountCn: 'UsedCountCn',
|
|
11291
|
+
usedCountSg: 'UsedCountSg',
|
|
11292
|
+
};
|
|
11293
|
+
}
|
|
11294
|
+
static types() {
|
|
11295
|
+
return {
|
|
11296
|
+
requestId: 'string',
|
|
11297
|
+
usedCount: 'number',
|
|
11298
|
+
usedCountCn: 'number',
|
|
11299
|
+
usedCountSg: 'number',
|
|
11300
|
+
};
|
|
11301
|
+
}
|
|
11302
|
+
}
|
|
11303
|
+
exports.DescribeFixUsedCountResponseBody = DescribeFixUsedCountResponseBody;
|
|
11304
|
+
class DescribeFixUsedCountResponse extends $tea.Model {
|
|
11305
|
+
constructor(map) {
|
|
11306
|
+
super(map);
|
|
11307
|
+
}
|
|
11308
|
+
static names() {
|
|
11309
|
+
return {
|
|
11310
|
+
headers: 'headers',
|
|
11311
|
+
statusCode: 'statusCode',
|
|
11312
|
+
body: 'body',
|
|
11313
|
+
};
|
|
11314
|
+
}
|
|
11315
|
+
static types() {
|
|
11316
|
+
return {
|
|
11317
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
11318
|
+
statusCode: 'number',
|
|
11319
|
+
body: DescribeFixUsedCountResponseBody,
|
|
11320
|
+
};
|
|
11321
|
+
}
|
|
11322
|
+
}
|
|
11323
|
+
exports.DescribeFixUsedCountResponse = DescribeFixUsedCountResponse;
|
|
11282
11324
|
class DescribeFrontVulPatchListRequest extends $tea.Model {
|
|
11283
11325
|
constructor(map) {
|
|
11284
11326
|
super(map);
|
|
@@ -21867,6 +21909,7 @@ class ExportWarningRequest extends $tea.Model {
|
|
|
21867
21909
|
return {
|
|
21868
21910
|
dealed: 'Dealed',
|
|
21869
21911
|
exportType: 'ExportType',
|
|
21912
|
+
groupId: 'GroupId',
|
|
21870
21913
|
isCleartextPwd: 'IsCleartextPwd',
|
|
21871
21914
|
isSummaryExport: 'IsSummaryExport',
|
|
21872
21915
|
lang: 'Lang',
|
|
@@ -21886,6 +21929,7 @@ class ExportWarningRequest extends $tea.Model {
|
|
|
21886
21929
|
return {
|
|
21887
21930
|
dealed: 'string',
|
|
21888
21931
|
exportType: 'string',
|
|
21932
|
+
groupId: 'number',
|
|
21889
21933
|
isCleartextPwd: 'number',
|
|
21890
21934
|
isSummaryExport: 'number',
|
|
21891
21935
|
lang: 'string',
|
|
@@ -35512,6 +35556,7 @@ class ModifyTagWithUuidRequest extends $tea.Model {
|
|
|
35512
35556
|
machineTypes: 'MachineTypes',
|
|
35513
35557
|
tagId: 'TagId',
|
|
35514
35558
|
tagList: 'TagList',
|
|
35559
|
+
target: 'Target',
|
|
35515
35560
|
uuidList: 'UuidList',
|
|
35516
35561
|
};
|
|
35517
35562
|
}
|
|
@@ -35520,6 +35565,7 @@ class ModifyTagWithUuidRequest extends $tea.Model {
|
|
|
35520
35565
|
machineTypes: 'string',
|
|
35521
35566
|
tagId: 'string',
|
|
35522
35567
|
tagList: 'string',
|
|
35568
|
+
target: 'string',
|
|
35523
35569
|
uuidList: 'string',
|
|
35524
35570
|
};
|
|
35525
35571
|
}
|
|
@@ -68003,6 +68049,25 @@ class Client extends openapi_client_1.default {
|
|
|
68003
68049
|
let runtime = new $Util.RuntimeOptions({});
|
|
68004
68050
|
return await this.describeFieldStatisticsWithOptions(request, runtime);
|
|
68005
68051
|
}
|
|
68052
|
+
async describeFixUsedCountWithOptions(runtime) {
|
|
68053
|
+
let req = new $OpenApi.OpenApiRequest({});
|
|
68054
|
+
let params = new $OpenApi.Params({
|
|
68055
|
+
action: "DescribeFixUsedCount",
|
|
68056
|
+
version: "2018-12-03",
|
|
68057
|
+
protocol: "HTTPS",
|
|
68058
|
+
pathname: "/",
|
|
68059
|
+
method: "POST",
|
|
68060
|
+
authType: "AK",
|
|
68061
|
+
style: "RPC",
|
|
68062
|
+
reqBodyType: "formData",
|
|
68063
|
+
bodyType: "json",
|
|
68064
|
+
});
|
|
68065
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeFixUsedCountResponse({}));
|
|
68066
|
+
}
|
|
68067
|
+
async describeFixUsedCount() {
|
|
68068
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
68069
|
+
return await this.describeFixUsedCountWithOptions(runtime);
|
|
68070
|
+
}
|
|
68006
68071
|
async describeFrontVulPatchListWithOptions(request, runtime) {
|
|
68007
68072
|
tea_util_1.default.validateModel(request);
|
|
68008
68073
|
let query = {};
|
|
@@ -74274,6 +74339,9 @@ class Client extends openapi_client_1.default {
|
|
|
74274
74339
|
if (!tea_util_1.default.isUnset(request.exportType)) {
|
|
74275
74340
|
query["ExportType"] = request.exportType;
|
|
74276
74341
|
}
|
|
74342
|
+
if (!tea_util_1.default.isUnset(request.groupId)) {
|
|
74343
|
+
query["GroupId"] = request.groupId;
|
|
74344
|
+
}
|
|
74277
74345
|
if (!tea_util_1.default.isUnset(request.isCleartextPwd)) {
|
|
74278
74346
|
query["IsCleartextPwd"] = request.isCleartextPwd;
|
|
74279
74347
|
}
|
|
@@ -81883,6 +81951,9 @@ class Client extends openapi_client_1.default {
|
|
|
81883
81951
|
if (!tea_util_1.default.isUnset(request.tagList)) {
|
|
81884
81952
|
query["TagList"] = request.tagList;
|
|
81885
81953
|
}
|
|
81954
|
+
if (!tea_util_1.default.isUnset(request.target)) {
|
|
81955
|
+
query["Target"] = request.target;
|
|
81956
|
+
}
|
|
81886
81957
|
if (!tea_util_1.default.isUnset(request.uuidList)) {
|
|
81887
81958
|
query["UuidList"] = request.uuidList;
|
|
81888
81959
|
}
|