@huaweicloud/huaweicloud-sdk-cfw 3.1.12 → 3.1.14
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +2 -2
- package/v1/CfwClient.d.ts +1 -1
- package/v1/CfwClient.js +10 -7
- package/v1/model/AddRuleAclDtoRules.d.ts +5 -5
- package/v1/model/AddRuleAclDtoRules.js +1 -5
- package/v1/model/CountEipsResponse.d.ts +3 -12
- package/v1/model/CountEipsResponse.js +2 -40
- package/v1/model/EipCountRespData.d.ts +15 -0
- package/v1/model/EipCountRespData.js +51 -0
- package/v1/model/EipResource.d.ts +43 -0
- package/v1/model/EipResource.js +124 -0
- package/v1/model/EipResponseData.d.ts +12 -0
- package/v1/model/EipResponseData.js +25 -0
- package/v1/model/FirewallInstanceResource.d.ts +27 -0
- package/v1/model/FirewallInstanceResource.js +93 -0
- package/v1/model/GetEastWestFirewallResponseBody.d.ts +4 -4
- package/v1/model/GetEastWestFirewallResponseBody.js +6 -6
- package/v1/model/GetFirewallInstanceData.d.ts +12 -0
- package/v1/model/GetFirewallInstanceData.js +25 -0
- package/v1/model/GetFirewallInstanceResponseRecord.d.ts +75 -0
- package/v1/model/GetFirewallInstanceResponseRecord.js +171 -0
- package/v1/model/HttpQueryCfwAttackLogsResponseDTODataRecords.d.ts +3 -0
- package/v1/model/HttpQueryCfwAttackLogsResponseDTODataRecords.js +4 -0
- package/v1/model/IpsSwitchDTO.d.ts +2 -2
- package/v1/model/IpsSwitchDTO.js +2 -1
- package/v1/model/IpsSwitchResponseDTO.d.ts +13 -0
- package/v1/model/IpsSwitchResponseDTO.js +41 -0
- package/v1/model/ListAttackLogsRequest.d.ts +2 -2
- package/v1/model/ListAttackLogsRequest.js +2 -1
- package/v1/model/ListEipResourcesResponse.d.ts +3 -40
- package/v1/model/ListEipResourcesResponse.js +3 -114
- package/v1/model/ListFirewallUsingGetResponse.d.ts +3 -75
- package/v1/model/ListFirewallUsingGetResponse.js +3 -175
- package/v1/model/ListIpsSwitchStatusUsingGetResponse.d.ts +3 -12
- package/v1/model/ListIpsSwitchStatusUsingGetResponse.js +2 -40
- package/v1/model/ListServiceSetDetailsResponse.d.ts +3 -6
- package/v1/model/ListServiceSetDetailsResponse.js +2 -10
- package/v1/model/PacketMessage.d.ts +13 -0
- package/v1/model/PacketMessage.js +41 -0
- package/v1/model/RuleAclListResponseDTODataRecords.d.ts +11 -0
- package/v1/model/RuleAclListResponseDTODataRecords.js +15 -1
- package/v1/model/ServiceItemListResponseDtoData.d.ts +4 -0
- package/v1/model/ServiceItemListResponseDtoData.js +14 -0
- package/v1/model/ServiceSetDetailResponseDto.d.ts +9 -0
- package/v1/model/ServiceSetDetailResponseDto.js +22 -0
- package/v1/model/UpdateAddressSetDto.d.ts +13 -0
- package/v1/model/UpdateAddressSetDto.js +25 -1
- package/v1/model/UpdateBlackWhiteListDto.d.ts +16 -0
- package/v1/model/UpdateBlackWhiteListDto.js +38 -1
- package/v1/model/UpdateRuleAclDto.d.ts +11 -0
- package/v1/model/UpdateRuleAclDto.js +15 -1
- package/v1/public-api.d.ts +9 -0
- package/v1/public-api.js +9 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.UpdateBlackWhiteListDto = void 0;
|
3
|
+
exports.UpdateBlackWhiteListDtoListTypeEnum = exports.UpdateBlackWhiteListDto = void 0;
|
4
4
|
var UpdateBlackWhiteListDto = /** @class */ (function () {
|
5
5
|
function UpdateBlackWhiteListDto() {
|
6
6
|
}
|
@@ -34,6 +34,43 @@ var UpdateBlackWhiteListDto = /** @class */ (function () {
|
|
34
34
|
this['port'] = port;
|
35
35
|
return this;
|
36
36
|
};
|
37
|
+
UpdateBlackWhiteListDto.prototype.withListType = function (listType) {
|
38
|
+
this['list_type'] = listType;
|
39
|
+
return this;
|
40
|
+
};
|
41
|
+
Object.defineProperty(UpdateBlackWhiteListDto.prototype, "listType", {
|
42
|
+
get: function () {
|
43
|
+
return this['list_type'];
|
44
|
+
},
|
45
|
+
set: function (listType) {
|
46
|
+
this['list_type'] = listType;
|
47
|
+
},
|
48
|
+
enumerable: false,
|
49
|
+
configurable: true
|
50
|
+
});
|
51
|
+
UpdateBlackWhiteListDto.prototype.withObjectId = function (objectId) {
|
52
|
+
this['object_id'] = objectId;
|
53
|
+
return this;
|
54
|
+
};
|
55
|
+
Object.defineProperty(UpdateBlackWhiteListDto.prototype, "objectId", {
|
56
|
+
get: function () {
|
57
|
+
return this['object_id'];
|
58
|
+
},
|
59
|
+
set: function (objectId) {
|
60
|
+
this['object_id'] = objectId;
|
61
|
+
},
|
62
|
+
enumerable: false,
|
63
|
+
configurable: true
|
64
|
+
});
|
37
65
|
return UpdateBlackWhiteListDto;
|
38
66
|
}());
|
39
67
|
exports.UpdateBlackWhiteListDto = UpdateBlackWhiteListDto;
|
68
|
+
/**
|
69
|
+
* @export
|
70
|
+
* @enum {string}
|
71
|
+
*/
|
72
|
+
var UpdateBlackWhiteListDtoListTypeEnum;
|
73
|
+
(function (UpdateBlackWhiteListDtoListTypeEnum) {
|
74
|
+
UpdateBlackWhiteListDtoListTypeEnum[UpdateBlackWhiteListDtoListTypeEnum["NUMBER_4"] = 4] = "NUMBER_4";
|
75
|
+
UpdateBlackWhiteListDtoListTypeEnum[UpdateBlackWhiteListDtoListTypeEnum["NUMBER_5"] = 5] = "NUMBER_5";
|
76
|
+
})(UpdateBlackWhiteListDtoListTypeEnum = exports.UpdateBlackWhiteListDtoListTypeEnum || (exports.UpdateBlackWhiteListDtoListTypeEnum = {}));
|
@@ -17,6 +17,7 @@ export declare class UpdateRuleAclDto {
|
|
17
17
|
source?: RuleAddressDto;
|
18
18
|
destination?: RuleAddressDto;
|
19
19
|
service?: RuleServiceDto;
|
20
|
+
type?: UpdateRuleAclDtoTypeEnum;
|
20
21
|
constructor();
|
21
22
|
withAddressType(addressType: UpdateRuleAclDtoAddressTypeEnum): UpdateRuleAclDto;
|
22
23
|
set addressType(addressType: UpdateRuleAclDtoAddressTypeEnum | undefined);
|
@@ -47,6 +48,7 @@ export declare class UpdateRuleAclDto {
|
|
47
48
|
withSource(source: RuleAddressDto): UpdateRuleAclDto;
|
48
49
|
withDestination(destination: RuleAddressDto): UpdateRuleAclDto;
|
49
50
|
withService(service: RuleServiceDto): UpdateRuleAclDto;
|
51
|
+
withType(type: UpdateRuleAclDtoTypeEnum): UpdateRuleAclDto;
|
50
52
|
}
|
51
53
|
/**
|
52
54
|
* @export
|
@@ -80,3 +82,12 @@ export declare enum UpdateRuleAclDtoLongConnectEnableEnum {
|
|
80
82
|
NUMBER_0 = 0,
|
81
83
|
NUMBER_1 = 1
|
82
84
|
}
|
85
|
+
/**
|
86
|
+
* @export
|
87
|
+
* @enum {string}
|
88
|
+
*/
|
89
|
+
export declare enum UpdateRuleAclDtoTypeEnum {
|
90
|
+
NUMBER_0 = 0,
|
91
|
+
NUMBER_1 = 1,
|
92
|
+
NUMBER_2 = 2
|
93
|
+
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.UpdateRuleAclDtoLongConnectEnableEnum = exports.UpdateRuleAclDtoActionTypeEnum = exports.UpdateRuleAclDtoDirectionEnum = exports.UpdateRuleAclDtoAddressTypeEnum = exports.UpdateRuleAclDto = void 0;
|
3
|
+
exports.UpdateRuleAclDtoTypeEnum = exports.UpdateRuleAclDtoLongConnectEnableEnum = exports.UpdateRuleAclDtoActionTypeEnum = exports.UpdateRuleAclDtoDirectionEnum = exports.UpdateRuleAclDtoAddressTypeEnum = exports.UpdateRuleAclDto = void 0;
|
4
4
|
var UpdateRuleAclDto = /** @class */ (function () {
|
5
5
|
function UpdateRuleAclDto() {
|
6
6
|
}
|
@@ -134,6 +134,10 @@ var UpdateRuleAclDto = /** @class */ (function () {
|
|
134
134
|
this['service'] = service;
|
135
135
|
return this;
|
136
136
|
};
|
137
|
+
UpdateRuleAclDto.prototype.withType = function (type) {
|
138
|
+
this['type'] = type;
|
139
|
+
return this;
|
140
|
+
};
|
137
141
|
return UpdateRuleAclDto;
|
138
142
|
}());
|
139
143
|
exports.UpdateRuleAclDto = UpdateRuleAclDto;
|
@@ -173,3 +177,13 @@ var UpdateRuleAclDtoLongConnectEnableEnum;
|
|
173
177
|
UpdateRuleAclDtoLongConnectEnableEnum[UpdateRuleAclDtoLongConnectEnableEnum["NUMBER_0"] = 0] = "NUMBER_0";
|
174
178
|
UpdateRuleAclDtoLongConnectEnableEnum[UpdateRuleAclDtoLongConnectEnableEnum["NUMBER_1"] = 1] = "NUMBER_1";
|
175
179
|
})(UpdateRuleAclDtoLongConnectEnableEnum = exports.UpdateRuleAclDtoLongConnectEnableEnum || (exports.UpdateRuleAclDtoLongConnectEnableEnum = {}));
|
180
|
+
/**
|
181
|
+
* @export
|
182
|
+
* @enum {string}
|
183
|
+
*/
|
184
|
+
var UpdateRuleAclDtoTypeEnum;
|
185
|
+
(function (UpdateRuleAclDtoTypeEnum) {
|
186
|
+
UpdateRuleAclDtoTypeEnum[UpdateRuleAclDtoTypeEnum["NUMBER_0"] = 0] = "NUMBER_0";
|
187
|
+
UpdateRuleAclDtoTypeEnum[UpdateRuleAclDtoTypeEnum["NUMBER_1"] = 1] = "NUMBER_1";
|
188
|
+
UpdateRuleAclDtoTypeEnum[UpdateRuleAclDtoTypeEnum["NUMBER_2"] = 2] = "NUMBER_2";
|
189
|
+
})(UpdateRuleAclDtoTypeEnum = exports.UpdateRuleAclDtoTypeEnum || (exports.UpdateRuleAclDtoTypeEnum = {}));
|
package/v1/public-api.d.ts
CHANGED
@@ -56,12 +56,18 @@ export * from './model/DeleteServiceItemUsingDeleteResponse';
|
|
56
56
|
export * from './model/DeleteServiceSetUsingDeleteRequest';
|
57
57
|
export * from './model/DeleteServiceSetUsingDeleteResponse';
|
58
58
|
export * from './model/DnsServersResponseDTO';
|
59
|
+
export * from './model/EipCountRespData';
|
59
60
|
export * from './model/EipOperateProtectReq';
|
60
61
|
export * from './model/EipOperateProtectReqIpInfos';
|
62
|
+
export * from './model/EipResource';
|
63
|
+
export * from './model/EipResponseData';
|
61
64
|
export * from './model/ErInstance';
|
62
65
|
export * from './model/EwProtectResourceInfo';
|
66
|
+
export * from './model/FirewallInstanceResource';
|
63
67
|
export * from './model/Flavor';
|
64
68
|
export * from './model/GetEastWestFirewallResponseBody';
|
69
|
+
export * from './model/GetFirewallInstanceData';
|
70
|
+
export * from './model/GetFirewallInstanceResponseRecord';
|
65
71
|
export * from './model/HttpQueryCfwAccessControllerLogsResponseDTOData';
|
66
72
|
export * from './model/HttpQueryCfwAccessControllerLogsResponseDTODataRecords';
|
67
73
|
export * from './model/HttpQueryCfwAttackLogsResponseDTOData';
|
@@ -71,6 +77,7 @@ export * from './model/HttpQueryCfwFlowLogsResponseDTODataRecords';
|
|
71
77
|
export * from './model/IdObject';
|
72
78
|
export * from './model/IpsProtectDTO';
|
73
79
|
export * from './model/IpsSwitchDTO';
|
80
|
+
export * from './model/IpsSwitchResponseDTO';
|
74
81
|
export * from './model/ListAccessControlLogsRequest';
|
75
82
|
export * from './model/ListAccessControlLogsResponse';
|
76
83
|
export * from './model/ListAddressItemsUsingGetRequest';
|
@@ -116,6 +123,7 @@ export * from './model/ListVpcProtectsRequest';
|
|
116
123
|
export * from './model/ListVpcProtectsResponse';
|
117
124
|
export * from './model/OrderRuleAclDto';
|
118
125
|
export * from './model/Packet';
|
126
|
+
export * from './model/PacketMessage';
|
119
127
|
export * from './model/ProtectObjectVO';
|
120
128
|
export * from './model/RuleAclListResponseDTOData';
|
121
129
|
export * from './model/RuleAclListResponseDTODataRecords';
|
@@ -129,6 +137,7 @@ export * from './model/ServiceItemIds';
|
|
129
137
|
export * from './model/ServiceItemListResponseDtoData';
|
130
138
|
export * from './model/ServiceItemListResponseDtoDataRecords';
|
131
139
|
export * from './model/ServiceSet';
|
140
|
+
export * from './model/ServiceSetDetailResponseDto';
|
132
141
|
export * from './model/ServiceSetRecords';
|
133
142
|
export * from './model/SubnetInfo';
|
134
143
|
export * from './model/SuccessRspData';
|
package/v1/public-api.js
CHANGED
@@ -72,12 +72,18 @@ __exportStar(require("./model/DeleteServiceItemUsingDeleteResponse"), exports);
|
|
72
72
|
__exportStar(require("./model/DeleteServiceSetUsingDeleteRequest"), exports);
|
73
73
|
__exportStar(require("./model/DeleteServiceSetUsingDeleteResponse"), exports);
|
74
74
|
__exportStar(require("./model/DnsServersResponseDTO"), exports);
|
75
|
+
__exportStar(require("./model/EipCountRespData"), exports);
|
75
76
|
__exportStar(require("./model/EipOperateProtectReq"), exports);
|
76
77
|
__exportStar(require("./model/EipOperateProtectReqIpInfos"), exports);
|
78
|
+
__exportStar(require("./model/EipResource"), exports);
|
79
|
+
__exportStar(require("./model/EipResponseData"), exports);
|
77
80
|
__exportStar(require("./model/ErInstance"), exports);
|
78
81
|
__exportStar(require("./model/EwProtectResourceInfo"), exports);
|
82
|
+
__exportStar(require("./model/FirewallInstanceResource"), exports);
|
79
83
|
__exportStar(require("./model/Flavor"), exports);
|
80
84
|
__exportStar(require("./model/GetEastWestFirewallResponseBody"), exports);
|
85
|
+
__exportStar(require("./model/GetFirewallInstanceData"), exports);
|
86
|
+
__exportStar(require("./model/GetFirewallInstanceResponseRecord"), exports);
|
81
87
|
__exportStar(require("./model/HttpQueryCfwAccessControllerLogsResponseDTOData"), exports);
|
82
88
|
__exportStar(require("./model/HttpQueryCfwAccessControllerLogsResponseDTODataRecords"), exports);
|
83
89
|
__exportStar(require("./model/HttpQueryCfwAttackLogsResponseDTOData"), exports);
|
@@ -87,6 +93,7 @@ __exportStar(require("./model/HttpQueryCfwFlowLogsResponseDTODataRecords"), expo
|
|
87
93
|
__exportStar(require("./model/IdObject"), exports);
|
88
94
|
__exportStar(require("./model/IpsProtectDTO"), exports);
|
89
95
|
__exportStar(require("./model/IpsSwitchDTO"), exports);
|
96
|
+
__exportStar(require("./model/IpsSwitchResponseDTO"), exports);
|
90
97
|
__exportStar(require("./model/ListAccessControlLogsRequest"), exports);
|
91
98
|
__exportStar(require("./model/ListAccessControlLogsResponse"), exports);
|
92
99
|
__exportStar(require("./model/ListAddressItemsUsingGetRequest"), exports);
|
@@ -132,6 +139,7 @@ __exportStar(require("./model/ListVpcProtectsRequest"), exports);
|
|
132
139
|
__exportStar(require("./model/ListVpcProtectsResponse"), exports);
|
133
140
|
__exportStar(require("./model/OrderRuleAclDto"), exports);
|
134
141
|
__exportStar(require("./model/Packet"), exports);
|
142
|
+
__exportStar(require("./model/PacketMessage"), exports);
|
135
143
|
__exportStar(require("./model/ProtectObjectVO"), exports);
|
136
144
|
__exportStar(require("./model/RuleAclListResponseDTOData"), exports);
|
137
145
|
__exportStar(require("./model/RuleAclListResponseDTODataRecords"), exports);
|
@@ -145,6 +153,7 @@ __exportStar(require("./model/ServiceItemIds"), exports);
|
|
145
153
|
__exportStar(require("./model/ServiceItemListResponseDtoData"), exports);
|
146
154
|
__exportStar(require("./model/ServiceItemListResponseDtoDataRecords"), exports);
|
147
155
|
__exportStar(require("./model/ServiceSet"), exports);
|
156
|
+
__exportStar(require("./model/ServiceSetDetailResponseDto"), exports);
|
148
157
|
__exportStar(require("./model/ServiceSetRecords"), exports);
|
149
158
|
__exportStar(require("./model/SubnetInfo"), exports);
|
150
159
|
__exportStar(require("./model/SuccessRspData"), exports);
|