@huaweicloud/huaweicloud-sdk-cfw 3.1.34 → 3.1.36

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@huaweicloud/huaweicloud-sdk-cfw",
3
- "version": "3.1.34",
3
+ "version": "3.1.36",
4
4
  "description": "Huaweicloud SDK for cfw",
5
5
  "main": "huaweicloud-sdk-cfw.js",
6
6
  "typings": "huaweicloud-sdk-cfw.d.ts",
@@ -14,6 +14,6 @@
14
14
  "author": "HuaweiCloud_SDK",
15
15
  "license": "Apache-2.0",
16
16
  "dependencies": {
17
- "@huaweicloud/huaweicloud-sdk-core": "^3.1.34"
17
+ "@huaweicloud/huaweicloud-sdk-core": "^3.1.36"
18
18
  }
19
19
  }
package/v1/CfwClient.d.ts CHANGED
@@ -927,7 +927,6 @@ export declare const ParamCreater: () => {
927
927
  queryParams: {};
928
928
  pathParams: {};
929
929
  headers: {};
930
- data: {};
931
930
  };
932
931
  /**
933
932
  * 删除地址组
@@ -941,7 +940,6 @@ export declare const ParamCreater: () => {
941
940
  queryParams: {};
942
941
  pathParams: {};
943
942
  headers: {};
944
- data: {};
945
943
  };
946
944
  /**
947
945
  * 删除黑白名单规则
@@ -955,7 +953,6 @@ export declare const ParamCreater: () => {
955
953
  queryParams: {};
956
954
  pathParams: {};
957
955
  headers: {};
958
- data: {};
959
956
  };
960
957
  /**
961
958
  * 删除服务组成员
@@ -969,7 +966,6 @@ export declare const ParamCreater: () => {
969
966
  queryParams: {};
970
967
  pathParams: {};
971
968
  headers: {};
972
- data: {};
973
969
  };
974
970
  /**
975
971
  * 删除服务组
@@ -983,7 +979,6 @@ export declare const ParamCreater: () => {
983
979
  queryParams: {};
984
980
  pathParams: {};
985
981
  headers: {};
986
- data: {};
987
982
  };
988
983
  /**
989
984
  * 查询访问控制日志
@@ -997,7 +992,6 @@ export declare const ParamCreater: () => {
997
992
  queryParams: {};
998
993
  pathParams: {};
999
994
  headers: {};
1000
- data: {};
1001
995
  };
1002
996
  /**
1003
997
  * 查询地址组成员
@@ -1011,7 +1005,6 @@ export declare const ParamCreater: () => {
1011
1005
  queryParams: {};
1012
1006
  pathParams: {};
1013
1007
  headers: {};
1014
- data: {};
1015
1008
  };
1016
1009
  /**
1017
1010
  * 查询地址组详细
@@ -1025,7 +1018,6 @@ export declare const ParamCreater: () => {
1025
1018
  queryParams: {};
1026
1019
  pathParams: {};
1027
1020
  headers: {};
1028
- data: {};
1029
1021
  };
1030
1022
  /**
1031
1023
  * 查询地址组列表
@@ -1039,7 +1031,6 @@ export declare const ParamCreater: () => {
1039
1031
  queryParams: {};
1040
1032
  pathParams: {};
1041
1033
  headers: {};
1042
- data: {};
1043
1034
  };
1044
1035
  /**
1045
1036
  * 查询攻击日志
@@ -1053,7 +1044,6 @@ export declare const ParamCreater: () => {
1053
1044
  queryParams: {};
1054
1045
  pathParams: {};
1055
1046
  headers: {};
1056
- data: {};
1057
1047
  };
1058
1048
  /**
1059
1049
  * 查询黑白名单列表
@@ -1067,7 +1057,6 @@ export declare const ParamCreater: () => {
1067
1057
  queryParams: {};
1068
1058
  pathParams: {};
1069
1059
  headers: {};
1070
- data: {};
1071
1060
  };
1072
1061
  /**
1073
1062
  * 查询dns服务器列表
@@ -1081,7 +1070,6 @@ export declare const ParamCreater: () => {
1081
1070
  queryParams: {};
1082
1071
  pathParams: {};
1083
1072
  headers: {};
1084
- data: {};
1085
1073
  };
1086
1074
  /**
1087
1075
  * 查询东西向防火墙信息
@@ -1095,7 +1083,6 @@ export declare const ParamCreater: () => {
1095
1083
  queryParams: {};
1096
1084
  pathParams: {};
1097
1085
  headers: {};
1098
- data: {};
1099
1086
  };
1100
1087
  /**
1101
1088
  * 查询防火墙实例
@@ -1109,7 +1096,6 @@ export declare const ParamCreater: () => {
1109
1096
  queryParams: {};
1110
1097
  pathParams: {};
1111
1098
  headers: {};
1112
- data: {};
1113
1099
  };
1114
1100
  /**
1115
1101
  * 查询流日志
@@ -1123,7 +1109,6 @@ export declare const ParamCreater: () => {
1123
1109
  queryParams: {};
1124
1110
  pathParams: {};
1125
1111
  headers: {};
1126
- data: {};
1127
1112
  };
1128
1113
  /**
1129
1114
  * 查询防护模式
@@ -1137,7 +1122,6 @@ export declare const ParamCreater: () => {
1137
1122
  queryParams: {};
1138
1123
  pathParams: {};
1139
1124
  headers: {};
1140
- data: {};
1141
1125
  };
1142
1126
  /**
1143
1127
  * 测试域名有效性
@@ -1151,7 +1135,6 @@ export declare const ParamCreater: () => {
1151
1135
  queryParams: {};
1152
1136
  pathParams: {};
1153
1137
  headers: {};
1154
- data: {};
1155
1138
  };
1156
1139
  /**
1157
1140
  * 获取规则击中次数
@@ -1179,7 +1162,6 @@ export declare const ParamCreater: () => {
1179
1162
  queryParams: {};
1180
1163
  pathParams: {};
1181
1164
  headers: {};
1182
- data: {};
1183
1165
  };
1184
1166
  /**
1185
1167
  * 获取服务组列表
@@ -1193,7 +1175,6 @@ export declare const ParamCreater: () => {
1193
1175
  queryParams: {};
1194
1176
  pathParams: {};
1195
1177
  headers: {};
1196
- data: {};
1197
1178
  };
1198
1179
  /**
1199
1180
  * 查询服务组细节
@@ -1207,7 +1188,6 @@ export declare const ParamCreater: () => {
1207
1188
  queryParams: {};
1208
1189
  pathParams: {};
1209
1190
  headers: {};
1210
- data: {};
1211
1191
  };
1212
1192
  /**
1213
1193
  * 更新地址组信息
@@ -1291,7 +1271,6 @@ export declare const ParamCreater: () => {
1291
1271
  queryParams: {};
1292
1272
  pathParams: {};
1293
1273
  headers: {};
1294
- data: {};
1295
1274
  };
1296
1275
  /**
1297
1276
  * ACL防护规则优先级设置
@@ -1319,7 +1298,6 @@ export declare const ParamCreater: () => {
1319
1298
  queryParams: {};
1320
1299
  pathParams: {};
1321
1300
  headers: {};
1322
- data: {};
1323
1301
  };
1324
1302
  /**
1325
1303
  * 更新ACL规则
@@ -1361,7 +1339,6 @@ export declare const ParamCreater: () => {
1361
1339
  queryParams: {};
1362
1340
  pathParams: {};
1363
1341
  headers: {};
1364
- data: {};
1365
1342
  };
1366
1343
  /**
1367
1344
  * 弹性IP列表查询
@@ -1375,7 +1352,6 @@ export declare const ParamCreater: () => {
1375
1352
  queryParams: {};
1376
1353
  pathParams: {};
1377
1354
  headers: {};
1378
- data: {};
1379
1355
  };
1380
1356
  /**
1381
1357
  * 切换开关状态
@@ -1403,7 +1379,6 @@ export declare const ParamCreater: () => {
1403
1379
  queryParams: {};
1404
1380
  pathParams: {};
1405
1381
  headers: {};
1406
- data: {};
1407
1382
  };
1408
1383
  /**
1409
1384
  * 查询防护vpc信息
@@ -1417,7 +1392,6 @@ export declare const ParamCreater: () => {
1417
1392
  queryParams: {};
1418
1393
  pathParams: {};
1419
1394
  headers: {};
1420
- data: {};
1421
1395
  };
1422
1396
  };
1423
1397
  /**
package/v1/CfwClient.js CHANGED
@@ -1448,8 +1448,7 @@ var ParamCreater = function () {
1448
1448
  contentType: "application/json",
1449
1449
  queryParams: {},
1450
1450
  pathParams: {},
1451
- headers: {},
1452
- data: {}
1451
+ headers: {}
1453
1452
  };
1454
1453
  var localVarHeaderParameter = {};
1455
1454
  var localVarQueryParameter = {};
@@ -1500,8 +1499,7 @@ var ParamCreater = function () {
1500
1499
  contentType: "application/json",
1501
1500
  queryParams: {},
1502
1501
  pathParams: {},
1503
- headers: {},
1504
- data: {}
1502
+ headers: {}
1505
1503
  };
1506
1504
  var localVarHeaderParameter = {};
1507
1505
  var localVarQueryParameter = {};
@@ -1552,8 +1550,7 @@ var ParamCreater = function () {
1552
1550
  contentType: "application/json",
1553
1551
  queryParams: {},
1554
1552
  pathParams: {},
1555
- headers: {},
1556
- data: {}
1553
+ headers: {}
1557
1554
  };
1558
1555
  var localVarHeaderParameter = {};
1559
1556
  var localVarQueryParameter = {};
@@ -1604,8 +1601,7 @@ var ParamCreater = function () {
1604
1601
  contentType: "application/json",
1605
1602
  queryParams: {},
1606
1603
  pathParams: {},
1607
- headers: {},
1608
- data: {}
1604
+ headers: {}
1609
1605
  };
1610
1606
  var localVarHeaderParameter = {};
1611
1607
  var localVarQueryParameter = {};
@@ -1656,8 +1652,7 @@ var ParamCreater = function () {
1656
1652
  contentType: "application/json",
1657
1653
  queryParams: {},
1658
1654
  pathParams: {},
1659
- headers: {},
1660
- data: {}
1655
+ headers: {}
1661
1656
  };
1662
1657
  var localVarHeaderParameter = {};
1663
1658
  var localVarQueryParameter = {};
@@ -1708,8 +1703,7 @@ var ParamCreater = function () {
1708
1703
  contentType: "application/json",
1709
1704
  queryParams: {},
1710
1705
  pathParams: {},
1711
- headers: {},
1712
- data: {}
1706
+ headers: {}
1713
1707
  };
1714
1708
  var localVarHeaderParameter = {};
1715
1709
  var localVarQueryParameter = {};
@@ -1850,8 +1844,7 @@ var ParamCreater = function () {
1850
1844
  contentType: "application/json",
1851
1845
  queryParams: {},
1852
1846
  pathParams: {},
1853
- headers: {},
1854
- data: {}
1847
+ headers: {}
1855
1848
  };
1856
1849
  var localVarHeaderParameter = {};
1857
1850
  var localVarQueryParameter = {};
@@ -1935,8 +1928,7 @@ var ParamCreater = function () {
1935
1928
  contentType: "application/json",
1936
1929
  queryParams: {},
1937
1930
  pathParams: {},
1938
- headers: {},
1939
- data: {}
1931
+ headers: {}
1940
1932
  };
1941
1933
  var localVarHeaderParameter = {};
1942
1934
  var localVarQueryParameter = {};
@@ -1987,8 +1979,7 @@ var ParamCreater = function () {
1987
1979
  contentType: "application/json",
1988
1980
  queryParams: {},
1989
1981
  pathParams: {},
1990
- headers: {},
1991
- data: {}
1982
+ headers: {}
1992
1983
  };
1993
1984
  var localVarHeaderParameter = {};
1994
1985
  var localVarQueryParameter = {};
@@ -2078,8 +2069,7 @@ var ParamCreater = function () {
2078
2069
  contentType: "application/json",
2079
2070
  queryParams: {},
2080
2071
  pathParams: {},
2081
- headers: {},
2082
- data: {}
2072
+ headers: {}
2083
2073
  };
2084
2074
  var localVarHeaderParameter = {};
2085
2075
  var localVarQueryParameter = {};
@@ -2244,8 +2234,7 @@ var ParamCreater = function () {
2244
2234
  contentType: "application/json",
2245
2235
  queryParams: {},
2246
2236
  pathParams: {},
2247
- headers: {},
2248
- data: {}
2237
+ headers: {}
2249
2238
  };
2250
2239
  var localVarHeaderParameter = {};
2251
2240
  var localVarQueryParameter = {};
@@ -2344,8 +2333,7 @@ var ParamCreater = function () {
2344
2333
  contentType: "application/json",
2345
2334
  queryParams: {},
2346
2335
  pathParams: {},
2347
- headers: {},
2348
- data: {}
2336
+ headers: {}
2349
2337
  };
2350
2338
  var localVarHeaderParameter = {};
2351
2339
  var localVarQueryParameter = {};
@@ -2402,8 +2390,7 @@ var ParamCreater = function () {
2402
2390
  contentType: "application/json",
2403
2391
  queryParams: {},
2404
2392
  pathParams: {},
2405
- headers: {},
2406
- data: {}
2393
+ headers: {}
2407
2394
  };
2408
2395
  var localVarHeaderParameter = {};
2409
2396
  var localVarQueryParameter = {};
@@ -2466,8 +2453,7 @@ var ParamCreater = function () {
2466
2453
  contentType: "application/json",
2467
2454
  queryParams: {},
2468
2455
  pathParams: {},
2469
- headers: {},
2470
- data: {}
2456
+ headers: {}
2471
2457
  };
2472
2458
  var localVarHeaderParameter = {};
2473
2459
  var localVarQueryParameter = {};
@@ -2539,8 +2525,7 @@ var ParamCreater = function () {
2539
2525
  contentType: "application/json",
2540
2526
  queryParams: {},
2541
2527
  pathParams: {},
2542
- headers: {},
2543
- data: {}
2528
+ headers: {}
2544
2529
  };
2545
2530
  var localVarHeaderParameter = {};
2546
2531
  var localVarQueryParameter = {};
@@ -2681,8 +2666,7 @@ var ParamCreater = function () {
2681
2666
  contentType: "application/json",
2682
2667
  queryParams: {},
2683
2668
  pathParams: {},
2684
- headers: {},
2685
- data: {}
2669
+ headers: {}
2686
2670
  };
2687
2671
  var localVarHeaderParameter = {};
2688
2672
  var localVarQueryParameter = {};
@@ -2736,8 +2720,7 @@ var ParamCreater = function () {
2736
2720
  contentType: "application/json",
2737
2721
  queryParams: {},
2738
2722
  pathParams: {},
2739
- headers: {},
2740
- data: {}
2723
+ headers: {}
2741
2724
  };
2742
2725
  var localVarHeaderParameter = {};
2743
2726
  var localVarQueryParameter = {};
@@ -2839,8 +2822,7 @@ var ParamCreater = function () {
2839
2822
  contentType: "application/json",
2840
2823
  queryParams: {},
2841
2824
  pathParams: {},
2842
- headers: {},
2843
- data: {}
2825
+ headers: {}
2844
2826
  };
2845
2827
  var localVarHeaderParameter = {};
2846
2828
  var localVarQueryParameter = {};
@@ -2918,8 +2900,7 @@ var ParamCreater = function () {
2918
2900
  contentType: "application/json",
2919
2901
  queryParams: {},
2920
2902
  pathParams: {},
2921
- headers: {},
2922
- data: {}
2903
+ headers: {}
2923
2904
  };
2924
2905
  var localVarHeaderParameter = {};
2925
2906
  var localVarQueryParameter = {};
@@ -2997,8 +2978,7 @@ var ParamCreater = function () {
2997
2978
  contentType: "application/json",
2998
2979
  queryParams: {},
2999
2980
  pathParams: {},
3000
- headers: {},
3001
- data: {}
2981
+ headers: {}
3002
2982
  };
3003
2983
  var localVarHeaderParameter = {};
3004
2984
  var localVarQueryParameter = {};
@@ -3337,8 +3317,7 @@ var ParamCreater = function () {
3337
3317
  contentType: "application/json",
3338
3318
  queryParams: {},
3339
3319
  pathParams: {},
3340
- headers: {},
3341
- data: {}
3320
+ headers: {}
3342
3321
  };
3343
3322
  var localVarHeaderParameter = {};
3344
3323
  var localVarQueryParameter = {};
@@ -3449,8 +3428,7 @@ var ParamCreater = function () {
3449
3428
  contentType: "application/json",
3450
3429
  queryParams: {},
3451
3430
  pathParams: {},
3452
- headers: {},
3453
- data: {}
3431
+ headers: {}
3454
3432
  };
3455
3433
  var localVarHeaderParameter = {};
3456
3434
  var localVarQueryParameter = {};
@@ -3684,8 +3662,7 @@ var ParamCreater = function () {
3684
3662
  contentType: "application/json",
3685
3663
  queryParams: {},
3686
3664
  pathParams: {},
3687
- headers: {},
3688
- data: {}
3665
+ headers: {}
3689
3666
  };
3690
3667
  var localVarHeaderParameter = {};
3691
3668
  var localVarQueryParameter = {};
@@ -3736,8 +3713,7 @@ var ParamCreater = function () {
3736
3713
  contentType: "application/json",
3737
3714
  queryParams: {},
3738
3715
  pathParams: {},
3739
- headers: {},
3740
- data: {}
3716
+ headers: {}
3741
3717
  };
3742
3718
  var localVarHeaderParameter = {};
3743
3719
  var localVarQueryParameter = {};
@@ -3905,8 +3881,7 @@ var ParamCreater = function () {
3905
3881
  contentType: "application/json",
3906
3882
  queryParams: {},
3907
3883
  pathParams: {},
3908
- headers: {},
3909
- data: {}
3884
+ headers: {}
3910
3885
  };
3911
3886
  var localVarHeaderParameter = {};
3912
3887
  var localVarQueryParameter = {};
@@ -3960,8 +3935,7 @@ var ParamCreater = function () {
3960
3935
  contentType: "application/json",
3961
3936
  queryParams: {},
3962
3937
  pathParams: {},
3963
- headers: {},
3964
- data: {}
3938
+ headers: {}
3965
3939
  };
3966
3940
  var localVarHeaderParameter = {};
3967
3941
  var localVarQueryParameter = {};
@@ -0,0 +1,7 @@
1
+ export declare class IpsProtectModeObject {
2
+ id?: string;
3
+ mode?: number;
4
+ constructor();
5
+ withId(id: string): IpsProtectModeObject;
6
+ withMode(mode: number): IpsProtectModeObject;
7
+ }
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.IpsProtectModeObject = void 0;
4
+ var IpsProtectModeObject = /** @class */ (function () {
5
+ function IpsProtectModeObject() {
6
+ }
7
+ IpsProtectModeObject.prototype.withId = function (id) {
8
+ this['id'] = id;
9
+ return this;
10
+ };
11
+ IpsProtectModeObject.prototype.withMode = function (mode) {
12
+ this['mode'] = mode;
13
+ return this;
14
+ };
15
+ return IpsProtectModeObject;
16
+ }());
17
+ exports.IpsProtectModeObject = IpsProtectModeObject;
@@ -1,10 +1,7 @@
1
+ import { IpsProtectModeObject } from './IpsProtectModeObject';
1
2
  import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
2
3
  export declare class ListIpsProtectModeUsingPostResponse extends SdkResponse {
3
- private 'object_id'?;
4
- status?: number;
4
+ data?: IpsProtectModeObject;
5
5
  constructor();
6
- withObjectId(objectId: string): ListIpsProtectModeUsingPostResponse;
7
- set objectId(objectId: string | undefined);
8
- get objectId(): string | undefined;
9
- withStatus(status: number): ListIpsProtectModeUsingPostResponse;
6
+ withData(data: IpsProtectModeObject): ListIpsProtectModeUsingPostResponse;
10
7
  }
@@ -22,22 +22,8 @@ var ListIpsProtectModeUsingPostResponse = /** @class */ (function (_super) {
22
22
  function ListIpsProtectModeUsingPostResponse() {
23
23
  return _super.call(this) || this;
24
24
  }
25
- ListIpsProtectModeUsingPostResponse.prototype.withObjectId = function (objectId) {
26
- this['object_id'] = objectId;
27
- return this;
28
- };
29
- Object.defineProperty(ListIpsProtectModeUsingPostResponse.prototype, "objectId", {
30
- get: function () {
31
- return this['object_id'];
32
- },
33
- set: function (objectId) {
34
- this['object_id'] = objectId;
35
- },
36
- enumerable: false,
37
- configurable: true
38
- });
39
- ListIpsProtectModeUsingPostResponse.prototype.withStatus = function (status) {
40
- this['status'] = status;
25
+ ListIpsProtectModeUsingPostResponse.prototype.withData = function (data) {
26
+ this['data'] = data;
41
27
  return this;
42
28
  };
43
29
  return ListIpsProtectModeUsingPostResponse;
@@ -76,6 +76,7 @@ export * from './model/HttpQueryCfwFlowLogsResponseDTOData';
76
76
  export * from './model/HttpQueryCfwFlowLogsResponseDTODataRecords';
77
77
  export * from './model/IdObject';
78
78
  export * from './model/IpsProtectDTO';
79
+ export * from './model/IpsProtectModeObject';
79
80
  export * from './model/IpsSwitchDTO';
80
81
  export * from './model/IpsSwitchResponseDTO';
81
82
  export * from './model/ListAccessControlLogsRequest';
package/v1/public-api.js CHANGED
@@ -92,6 +92,7 @@ __exportStar(require("./model/HttpQueryCfwFlowLogsResponseDTOData"), exports);
92
92
  __exportStar(require("./model/HttpQueryCfwFlowLogsResponseDTODataRecords"), exports);
93
93
  __exportStar(require("./model/IdObject"), exports);
94
94
  __exportStar(require("./model/IpsProtectDTO"), exports);
95
+ __exportStar(require("./model/IpsProtectModeObject"), exports);
95
96
  __exportStar(require("./model/IpsSwitchDTO"), exports);
96
97
  __exportStar(require("./model/IpsSwitchResponseDTO"), exports);
97
98
  __exportStar(require("./model/ListAccessControlLogsRequest"), exports);