@alicloud/sas20181203 1.1.35 → 1.1.36

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 CHANGED
@@ -2280,6 +2280,48 @@ export declare class DescribeCommonOverallConfigResponse extends $tea.Model {
2280
2280
  [key: string]: any;
2281
2281
  });
2282
2282
  }
2283
+ export declare class DescribeCommonTargetResultListRequest extends $tea.Model {
2284
+ sourceIp?: string;
2285
+ type?: string;
2286
+ static names(): {
2287
+ [key: string]: string;
2288
+ };
2289
+ static types(): {
2290
+ [key: string]: any;
2291
+ };
2292
+ constructor(map?: {
2293
+ [key: string]: any;
2294
+ });
2295
+ }
2296
+ export declare class DescribeCommonTargetResultListResponseBody extends $tea.Model {
2297
+ requestId?: string;
2298
+ targetConfig?: DescribeCommonTargetResultListResponseBodyTargetConfig;
2299
+ static names(): {
2300
+ [key: string]: string;
2301
+ };
2302
+ static types(): {
2303
+ [key: string]: any;
2304
+ };
2305
+ constructor(map?: {
2306
+ [key: string]: any;
2307
+ });
2308
+ }
2309
+ export declare class DescribeCommonTargetResultListResponse extends $tea.Model {
2310
+ headers: {
2311
+ [key: string]: string;
2312
+ };
2313
+ statusCode: number;
2314
+ body: DescribeCommonTargetResultListResponseBody;
2315
+ static names(): {
2316
+ [key: string]: string;
2317
+ };
2318
+ static types(): {
2319
+ [key: string]: any;
2320
+ };
2321
+ constructor(map?: {
2322
+ [key: string]: any;
2323
+ });
2324
+ }
2283
2325
  export declare class DescribeConcernNecessityRequest extends $tea.Model {
2284
2326
  lang?: string;
2285
2327
  static names(): {
@@ -4023,6 +4065,57 @@ export declare class DescribeNoticeConfigResponse extends $tea.Model {
4023
4065
  [key: string]: any;
4024
4066
  });
4025
4067
  }
4068
+ export declare class DescribeOfflineMachinesRequest extends $tea.Model {
4069
+ currentPage?: number;
4070
+ os?: string;
4071
+ pageSize?: number;
4072
+ regionIdStr?: string;
4073
+ regionNo?: string;
4074
+ remark?: string;
4075
+ sourceIp?: string;
4076
+ vendor?: number;
4077
+ static names(): {
4078
+ [key: string]: string;
4079
+ };
4080
+ static types(): {
4081
+ [key: string]: any;
4082
+ };
4083
+ constructor(map?: {
4084
+ [key: string]: any;
4085
+ });
4086
+ }
4087
+ export declare class DescribeOfflineMachinesResponseBody extends $tea.Model {
4088
+ currentPage?: number;
4089
+ machineList?: DescribeOfflineMachinesResponseBodyMachineList[];
4090
+ pageSize?: number;
4091
+ requestId?: string;
4092
+ totalCount?: number;
4093
+ static names(): {
4094
+ [key: string]: string;
4095
+ };
4096
+ static types(): {
4097
+ [key: string]: any;
4098
+ };
4099
+ constructor(map?: {
4100
+ [key: string]: any;
4101
+ });
4102
+ }
4103
+ export declare class DescribeOfflineMachinesResponse extends $tea.Model {
4104
+ headers: {
4105
+ [key: string]: string;
4106
+ };
4107
+ statusCode: number;
4108
+ body: DescribeOfflineMachinesResponseBody;
4109
+ static names(): {
4110
+ [key: string]: string;
4111
+ };
4112
+ static types(): {
4113
+ [key: string]: any;
4114
+ };
4115
+ constructor(map?: {
4116
+ [key: string]: any;
4117
+ });
4118
+ }
4026
4119
  export declare class DescribeOnceTaskRequest extends $tea.Model {
4027
4120
  currentPage?: number;
4028
4121
  endTimeQuery?: number;
@@ -10777,6 +10870,23 @@ export declare class DescribeCommonOverallConfigResponseBodyOverallConfig extend
10777
10870
  [key: string]: any;
10778
10871
  });
10779
10872
  }
10873
+ export declare class DescribeCommonTargetResultListResponseBodyTargetConfig extends $tea.Model {
10874
+ flag?: string;
10875
+ targetDefault?: string;
10876
+ targetList?: string[];
10877
+ targetType?: string;
10878
+ totalCount?: string;
10879
+ type?: string;
10880
+ static names(): {
10881
+ [key: string]: string;
10882
+ };
10883
+ static types(): {
10884
+ [key: string]: any;
10885
+ };
10886
+ constructor(map?: {
10887
+ [key: string]: any;
10888
+ });
10889
+ }
10780
10890
  export declare class DescribeContainerStatisticsResponseBodyData extends $tea.Model {
10781
10891
  remindAlarmCount?: number;
10782
10892
  seriousAlarmCount?: number;
@@ -11680,6 +11790,27 @@ export declare class DescribeNoticeConfigResponseBodyNoticeConfigList extends $t
11680
11790
  [key: string]: any;
11681
11791
  });
11682
11792
  }
11793
+ export declare class DescribeOfflineMachinesResponseBodyMachineList extends $tea.Model {
11794
+ instanceId?: string;
11795
+ instanceName?: string;
11796
+ internetIp?: string;
11797
+ intranetIp?: string;
11798
+ machineRegion?: string;
11799
+ os?: string;
11800
+ regionId?: string;
11801
+ uuid?: string;
11802
+ vendor?: number;
11803
+ vendorName?: string;
11804
+ static names(): {
11805
+ [key: string]: string;
11806
+ };
11807
+ static types(): {
11808
+ [key: string]: any;
11809
+ };
11810
+ constructor(map?: {
11811
+ [key: string]: any;
11812
+ });
11813
+ }
11683
11814
  export declare class DescribeOnceTaskResponseBodyPageInfo extends $tea.Model {
11684
11815
  count?: number;
11685
11816
  currentPage?: number;
@@ -13695,8 +13826,6 @@ export declare class ListHoneypotAlarmEventsResponseBodyHoneypotAlarmEvents exte
13695
13826
  export declare class ListHoneypotAlarmEventsResponseBodyPageInfo extends $tea.Model {
13696
13827
  count?: number;
13697
13828
  currentPage?: number;
13698
- lastRowKey?: string;
13699
- nextToken?: string;
13700
13829
  pageSize?: number;
13701
13830
  totalCount?: number;
13702
13831
  static names(): {
@@ -14035,6 +14164,8 @@ export default class Client extends OpenApi {
14035
14164
  describeCloudProductFieldStatistics(): Promise<DescribeCloudProductFieldStatisticsResponse>;
14036
14165
  describeCommonOverallConfigWithOptions(request: DescribeCommonOverallConfigRequest, runtime: $Util.RuntimeOptions): Promise<DescribeCommonOverallConfigResponse>;
14037
14166
  describeCommonOverallConfig(request: DescribeCommonOverallConfigRequest): Promise<DescribeCommonOverallConfigResponse>;
14167
+ describeCommonTargetResultListWithOptions(request: DescribeCommonTargetResultListRequest, runtime: $Util.RuntimeOptions): Promise<DescribeCommonTargetResultListResponse>;
14168
+ describeCommonTargetResultList(request: DescribeCommonTargetResultListRequest): Promise<DescribeCommonTargetResultListResponse>;
14038
14169
  describeConcernNecessityWithOptions(request: DescribeConcernNecessityRequest, runtime: $Util.RuntimeOptions): Promise<DescribeConcernNecessityResponse>;
14039
14170
  describeConcernNecessity(request: DescribeConcernNecessityRequest): Promise<DescribeConcernNecessityResponse>;
14040
14171
  describeContainerStatisticsWithOptions(request: DescribeContainerStatisticsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeContainerStatisticsResponse>;
@@ -14113,6 +14244,8 @@ export default class Client extends OpenApi {
14113
14244
  describeModuleConfig(): Promise<DescribeModuleConfigResponse>;
14114
14245
  describeNoticeConfigWithOptions(request: DescribeNoticeConfigRequest, runtime: $Util.RuntimeOptions): Promise<DescribeNoticeConfigResponse>;
14115
14246
  describeNoticeConfig(request: DescribeNoticeConfigRequest): Promise<DescribeNoticeConfigResponse>;
14247
+ describeOfflineMachinesWithOptions(request: DescribeOfflineMachinesRequest, runtime: $Util.RuntimeOptions): Promise<DescribeOfflineMachinesResponse>;
14248
+ describeOfflineMachines(request: DescribeOfflineMachinesRequest): Promise<DescribeOfflineMachinesResponse>;
14116
14249
  describeOnceTaskWithOptions(request: DescribeOnceTaskRequest, runtime: $Util.RuntimeOptions): Promise<DescribeOnceTaskResponse>;
14117
14250
  describeOnceTask(request: DescribeOnceTaskRequest): Promise<DescribeOnceTaskResponse>;
14118
14251
  describePropertyCountWithOptions(request: DescribePropertyCountRequest, runtime: $Util.RuntimeOptions): Promise<DescribePropertyCountResponse>;
package/dist/client.js CHANGED
@@ -3171,6 +3171,62 @@ class DescribeCommonOverallConfigResponse extends $tea.Model {
3171
3171
  }
3172
3172
  }
3173
3173
  exports.DescribeCommonOverallConfigResponse = DescribeCommonOverallConfigResponse;
3174
+ class DescribeCommonTargetResultListRequest extends $tea.Model {
3175
+ constructor(map) {
3176
+ super(map);
3177
+ }
3178
+ static names() {
3179
+ return {
3180
+ sourceIp: 'SourceIp',
3181
+ type: 'Type',
3182
+ };
3183
+ }
3184
+ static types() {
3185
+ return {
3186
+ sourceIp: 'string',
3187
+ type: 'string',
3188
+ };
3189
+ }
3190
+ }
3191
+ exports.DescribeCommonTargetResultListRequest = DescribeCommonTargetResultListRequest;
3192
+ class DescribeCommonTargetResultListResponseBody extends $tea.Model {
3193
+ constructor(map) {
3194
+ super(map);
3195
+ }
3196
+ static names() {
3197
+ return {
3198
+ requestId: 'RequestId',
3199
+ targetConfig: 'TargetConfig',
3200
+ };
3201
+ }
3202
+ static types() {
3203
+ return {
3204
+ requestId: 'string',
3205
+ targetConfig: DescribeCommonTargetResultListResponseBodyTargetConfig,
3206
+ };
3207
+ }
3208
+ }
3209
+ exports.DescribeCommonTargetResultListResponseBody = DescribeCommonTargetResultListResponseBody;
3210
+ class DescribeCommonTargetResultListResponse extends $tea.Model {
3211
+ constructor(map) {
3212
+ super(map);
3213
+ }
3214
+ static names() {
3215
+ return {
3216
+ headers: 'headers',
3217
+ statusCode: 'statusCode',
3218
+ body: 'body',
3219
+ };
3220
+ }
3221
+ static types() {
3222
+ return {
3223
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3224
+ statusCode: 'number',
3225
+ body: DescribeCommonTargetResultListResponseBody,
3226
+ };
3227
+ }
3228
+ }
3229
+ exports.DescribeCommonTargetResultListResponse = DescribeCommonTargetResultListResponse;
3174
3230
  class DescribeConcernNecessityRequest extends $tea.Model {
3175
3231
  constructor(map) {
3176
3232
  super(map);
@@ -5613,6 +5669,80 @@ class DescribeNoticeConfigResponse extends $tea.Model {
5613
5669
  }
5614
5670
  }
5615
5671
  exports.DescribeNoticeConfigResponse = DescribeNoticeConfigResponse;
5672
+ class DescribeOfflineMachinesRequest extends $tea.Model {
5673
+ constructor(map) {
5674
+ super(map);
5675
+ }
5676
+ static names() {
5677
+ return {
5678
+ currentPage: 'CurrentPage',
5679
+ os: 'Os',
5680
+ pageSize: 'PageSize',
5681
+ regionIdStr: 'RegionIdStr',
5682
+ regionNo: 'RegionNo',
5683
+ remark: 'Remark',
5684
+ sourceIp: 'SourceIp',
5685
+ vendor: 'Vendor',
5686
+ };
5687
+ }
5688
+ static types() {
5689
+ return {
5690
+ currentPage: 'number',
5691
+ os: 'string',
5692
+ pageSize: 'number',
5693
+ regionIdStr: 'string',
5694
+ regionNo: 'string',
5695
+ remark: 'string',
5696
+ sourceIp: 'string',
5697
+ vendor: 'number',
5698
+ };
5699
+ }
5700
+ }
5701
+ exports.DescribeOfflineMachinesRequest = DescribeOfflineMachinesRequest;
5702
+ class DescribeOfflineMachinesResponseBody extends $tea.Model {
5703
+ constructor(map) {
5704
+ super(map);
5705
+ }
5706
+ static names() {
5707
+ return {
5708
+ currentPage: 'CurrentPage',
5709
+ machineList: 'MachineList',
5710
+ pageSize: 'PageSize',
5711
+ requestId: 'RequestId',
5712
+ totalCount: 'TotalCount',
5713
+ };
5714
+ }
5715
+ static types() {
5716
+ return {
5717
+ currentPage: 'number',
5718
+ machineList: { 'type': 'array', 'itemType': DescribeOfflineMachinesResponseBodyMachineList },
5719
+ pageSize: 'number',
5720
+ requestId: 'string',
5721
+ totalCount: 'number',
5722
+ };
5723
+ }
5724
+ }
5725
+ exports.DescribeOfflineMachinesResponseBody = DescribeOfflineMachinesResponseBody;
5726
+ class DescribeOfflineMachinesResponse extends $tea.Model {
5727
+ constructor(map) {
5728
+ super(map);
5729
+ }
5730
+ static names() {
5731
+ return {
5732
+ headers: 'headers',
5733
+ statusCode: 'statusCode',
5734
+ body: 'body',
5735
+ };
5736
+ }
5737
+ static types() {
5738
+ return {
5739
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
5740
+ statusCode: 'number',
5741
+ body: DescribeOfflineMachinesResponseBody,
5742
+ };
5743
+ }
5744
+ }
5745
+ exports.DescribeOfflineMachinesResponse = DescribeOfflineMachinesResponse;
5616
5746
  class DescribeOnceTaskRequest extends $tea.Model {
5617
5747
  constructor(map) {
5618
5748
  super(map);
@@ -15141,6 +15271,32 @@ class DescribeCommonOverallConfigResponseBodyOverallConfig extends $tea.Model {
15141
15271
  }
15142
15272
  }
15143
15273
  exports.DescribeCommonOverallConfigResponseBodyOverallConfig = DescribeCommonOverallConfigResponseBodyOverallConfig;
15274
+ class DescribeCommonTargetResultListResponseBodyTargetConfig extends $tea.Model {
15275
+ constructor(map) {
15276
+ super(map);
15277
+ }
15278
+ static names() {
15279
+ return {
15280
+ flag: 'Flag',
15281
+ targetDefault: 'TargetDefault',
15282
+ targetList: 'TargetList',
15283
+ targetType: 'TargetType',
15284
+ totalCount: 'TotalCount',
15285
+ type: 'Type',
15286
+ };
15287
+ }
15288
+ static types() {
15289
+ return {
15290
+ flag: 'string',
15291
+ targetDefault: 'string',
15292
+ targetList: { 'type': 'array', 'itemType': 'string' },
15293
+ targetType: 'string',
15294
+ totalCount: 'string',
15295
+ type: 'string',
15296
+ };
15297
+ }
15298
+ }
15299
+ exports.DescribeCommonTargetResultListResponseBodyTargetConfig = DescribeCommonTargetResultListResponseBodyTargetConfig;
15144
15300
  class DescribeContainerStatisticsResponseBodyData extends $tea.Model {
15145
15301
  constructor(map) {
15146
15302
  super(map);
@@ -16555,6 +16711,40 @@ class DescribeNoticeConfigResponseBodyNoticeConfigList extends $tea.Model {
16555
16711
  }
16556
16712
  }
16557
16713
  exports.DescribeNoticeConfigResponseBodyNoticeConfigList = DescribeNoticeConfigResponseBodyNoticeConfigList;
16714
+ class DescribeOfflineMachinesResponseBodyMachineList extends $tea.Model {
16715
+ constructor(map) {
16716
+ super(map);
16717
+ }
16718
+ static names() {
16719
+ return {
16720
+ instanceId: 'InstanceId',
16721
+ instanceName: 'InstanceName',
16722
+ internetIp: 'InternetIp',
16723
+ intranetIp: 'IntranetIp',
16724
+ machineRegion: 'MachineRegion',
16725
+ os: 'Os',
16726
+ regionId: 'RegionId',
16727
+ uuid: 'Uuid',
16728
+ vendor: 'Vendor',
16729
+ vendorName: 'VendorName',
16730
+ };
16731
+ }
16732
+ static types() {
16733
+ return {
16734
+ instanceId: 'string',
16735
+ instanceName: 'string',
16736
+ internetIp: 'string',
16737
+ intranetIp: 'string',
16738
+ machineRegion: 'string',
16739
+ os: 'string',
16740
+ regionId: 'string',
16741
+ uuid: 'string',
16742
+ vendor: 'number',
16743
+ vendorName: 'string',
16744
+ };
16745
+ }
16746
+ }
16747
+ exports.DescribeOfflineMachinesResponseBodyMachineList = DescribeOfflineMachinesResponseBodyMachineList;
16558
16748
  class DescribeOnceTaskResponseBodyPageInfo extends $tea.Model {
16559
16749
  constructor(map) {
16560
16750
  super(map);
@@ -19683,8 +19873,6 @@ class ListHoneypotAlarmEventsResponseBodyPageInfo extends $tea.Model {
19683
19873
  return {
19684
19874
  count: 'Count',
19685
19875
  currentPage: 'CurrentPage',
19686
- lastRowKey: 'LastRowKey',
19687
- nextToken: 'NextToken',
19688
19876
  pageSize: 'PageSize',
19689
19877
  totalCount: 'TotalCount',
19690
19878
  };
@@ -19693,8 +19881,6 @@ class ListHoneypotAlarmEventsResponseBodyPageInfo extends $tea.Model {
19693
19881
  return {
19694
19882
  count: 'number',
19695
19883
  currentPage: 'number',
19696
- lastRowKey: 'string',
19697
- nextToken: 'string',
19698
19884
  pageSize: 'number',
19699
19885
  totalCount: 'number',
19700
19886
  };
@@ -21891,6 +22077,35 @@ class Client extends openapi_client_1.default {
21891
22077
  let runtime = new $Util.RuntimeOptions({});
21892
22078
  return await this.describeCommonOverallConfigWithOptions(request, runtime);
21893
22079
  }
22080
+ async describeCommonTargetResultListWithOptions(request, runtime) {
22081
+ tea_util_1.default.validateModel(request);
22082
+ let query = {};
22083
+ if (!tea_util_1.default.isUnset(request.sourceIp)) {
22084
+ query["SourceIp"] = request.sourceIp;
22085
+ }
22086
+ if (!tea_util_1.default.isUnset(request.type)) {
22087
+ query["Type"] = request.type;
22088
+ }
22089
+ let req = new $OpenApi.OpenApiRequest({
22090
+ query: openapi_util_1.default.query(query),
22091
+ });
22092
+ let params = new $OpenApi.Params({
22093
+ action: "DescribeCommonTargetResultList",
22094
+ version: "2018-12-03",
22095
+ protocol: "HTTPS",
22096
+ pathname: "/",
22097
+ method: "POST",
22098
+ authType: "AK",
22099
+ style: "RPC",
22100
+ reqBodyType: "formData",
22101
+ bodyType: "json",
22102
+ });
22103
+ return $tea.cast(await this.callApi(params, req, runtime), new DescribeCommonTargetResultListResponse({}));
22104
+ }
22105
+ async describeCommonTargetResultList(request) {
22106
+ let runtime = new $Util.RuntimeOptions({});
22107
+ return await this.describeCommonTargetResultListWithOptions(request, runtime);
22108
+ }
21894
22109
  async describeConcernNecessityWithOptions(request, runtime) {
21895
22110
  tea_util_1.default.validateModel(request);
21896
22111
  let query = {};
@@ -23334,6 +23549,53 @@ class Client extends openapi_client_1.default {
23334
23549
  let runtime = new $Util.RuntimeOptions({});
23335
23550
  return await this.describeNoticeConfigWithOptions(request, runtime);
23336
23551
  }
23552
+ async describeOfflineMachinesWithOptions(request, runtime) {
23553
+ tea_util_1.default.validateModel(request);
23554
+ let query = {};
23555
+ if (!tea_util_1.default.isUnset(request.currentPage)) {
23556
+ query["CurrentPage"] = request.currentPage;
23557
+ }
23558
+ if (!tea_util_1.default.isUnset(request.os)) {
23559
+ query["Os"] = request.os;
23560
+ }
23561
+ if (!tea_util_1.default.isUnset(request.pageSize)) {
23562
+ query["PageSize"] = request.pageSize;
23563
+ }
23564
+ if (!tea_util_1.default.isUnset(request.regionIdStr)) {
23565
+ query["RegionIdStr"] = request.regionIdStr;
23566
+ }
23567
+ if (!tea_util_1.default.isUnset(request.regionNo)) {
23568
+ query["RegionNo"] = request.regionNo;
23569
+ }
23570
+ if (!tea_util_1.default.isUnset(request.remark)) {
23571
+ query["Remark"] = request.remark;
23572
+ }
23573
+ if (!tea_util_1.default.isUnset(request.sourceIp)) {
23574
+ query["SourceIp"] = request.sourceIp;
23575
+ }
23576
+ if (!tea_util_1.default.isUnset(request.vendor)) {
23577
+ query["Vendor"] = request.vendor;
23578
+ }
23579
+ let req = new $OpenApi.OpenApiRequest({
23580
+ query: openapi_util_1.default.query(query),
23581
+ });
23582
+ let params = new $OpenApi.Params({
23583
+ action: "DescribeOfflineMachines",
23584
+ version: "2018-12-03",
23585
+ protocol: "HTTPS",
23586
+ pathname: "/",
23587
+ method: "POST",
23588
+ authType: "AK",
23589
+ style: "RPC",
23590
+ reqBodyType: "formData",
23591
+ bodyType: "json",
23592
+ });
23593
+ return $tea.cast(await this.callApi(params, req, runtime), new DescribeOfflineMachinesResponse({}));
23594
+ }
23595
+ async describeOfflineMachines(request) {
23596
+ let runtime = new $Util.RuntimeOptions({});
23597
+ return await this.describeOfflineMachinesWithOptions(request, runtime);
23598
+ }
23337
23599
  async describeOnceTaskWithOptions(request, runtime) {
23338
23600
  tea_util_1.default.validateModel(request);
23339
23601
  let query = {};