@huaweicloud/huaweicloud-sdk-cfw 3.1.11
Sign up to get free protection for your applications and to get access to all the features.
- package/LICENSE +13 -0
- package/README.md +1 -0
- package/huaweicloud-sdk-cfw.d.ts +1 -0
- package/huaweicloud-sdk-cfw.js +17 -0
- package/package.json +19 -0
- package/v1/CfwClient.d.ts +1434 -0
- package/v1/CfwClient.js +3455 -0
- package/v1/CfwRegion.d.ts +16 -0
- package/v1/CfwRegion.js +47 -0
- package/v1/model/AddAddressItemsInfoDto.d.ts +12 -0
- package/v1/model/AddAddressItemsInfoDto.js +37 -0
- package/v1/model/AddAddressItemsInfoDtoAddressItems.d.ts +13 -0
- package/v1/model/AddAddressItemsInfoDtoAddressItems.js +36 -0
- package/v1/model/AddAddressItemsUsingPostRequest.d.ts +10 -0
- package/v1/model/AddAddressItemsUsingPostRequest.js +28 -0
- package/v1/model/AddAddressItemsUsingPostResponse.d.ts +7 -0
- package/v1/model/AddAddressItemsUsingPostResponse.js +31 -0
- package/v1/model/AddAddressSetDto.d.ts +23 -0
- package/v1/model/AddAddressSetDto.js +56 -0
- package/v1/model/AddAddressSetInfoUsingPostRequest.d.ts +10 -0
- package/v1/model/AddAddressSetInfoUsingPostRequest.js +28 -0
- package/v1/model/AddAddressSetInfoUsingPostResponse.d.ts +7 -0
- package/v1/model/AddAddressSetInfoUsingPostResponse.js +31 -0
- package/v1/model/AddBlackWhiteListDto.d.ts +23 -0
- package/v1/model/AddBlackWhiteListDto.js +74 -0
- package/v1/model/AddBlackWhiteListUsingPostRequest.d.ts +10 -0
- package/v1/model/AddBlackWhiteListUsingPostRequest.js +28 -0
- package/v1/model/AddBlackWhiteListUsingPostResponse.d.ts +7 -0
- package/v1/model/AddBlackWhiteListUsingPostResponse.js +31 -0
- package/v1/model/AddRuleAclDto.d.ts +21 -0
- package/v1/model/AddRuleAclDto.js +44 -0
- package/v1/model/AddRuleAclDtoRules.d.ts +83 -0
- package/v1/model/AddRuleAclDtoRules.js +189 -0
- package/v1/model/AddRuleAclUsingPostRequest.d.ts +10 -0
- package/v1/model/AddRuleAclUsingPostRequest.js +28 -0
- package/v1/model/AddRuleAclUsingPostResponse.d.ts +7 -0
- package/v1/model/AddRuleAclUsingPostResponse.js +31 -0
- package/v1/model/AddServiceItemsUsingPOSTRequestBody.d.ts +12 -0
- package/v1/model/AddServiceItemsUsingPOSTRequestBody.js +39 -0
- package/v1/model/AddServiceItemsUsingPOSTRequestBodyServiceItems.d.ts +21 -0
- package/v1/model/AddServiceItemsUsingPOSTRequestBodyServiceItems.js +66 -0
- package/v1/model/AddServiceItemsUsingPostRequest.d.ts +10 -0
- package/v1/model/AddServiceItemsUsingPostRequest.js +28 -0
- package/v1/model/AddServiceItemsUsingPostResponse.d.ts +7 -0
- package/v1/model/AddServiceItemsUsingPostResponse.js +31 -0
- package/v1/model/AddServiceSetUsingPOSTRequestBody.d.ts +11 -0
- package/v1/model/AddServiceSetUsingPOSTRequestBody.js +33 -0
- package/v1/model/AddServiceSetUsingPostRequest.d.ts +10 -0
- package/v1/model/AddServiceSetUsingPostRequest.js +28 -0
- package/v1/model/AddServiceSetUsingPostResponse.d.ts +7 -0
- package/v1/model/AddServiceSetUsingPostResponse.js +31 -0
- package/v1/model/AddressItemListResponseDTOData.d.ts +16 -0
- package/v1/model/AddressItemListResponseDTOData.js +39 -0
- package/v1/model/AddressItemListResponseDTODataRecords.d.ts +17 -0
- package/v1/model/AddressItemListResponseDTODataRecords.js +49 -0
- package/v1/model/AddressItems.d.ts +6 -0
- package/v1/model/AddressItems.js +13 -0
- package/v1/model/AddressSetDetailResponseDTOData.d.ts +21 -0
- package/v1/model/AddressSetDetailResponseDTOData.js +44 -0
- package/v1/model/AddressSetListResponseDTOData.d.ts +12 -0
- package/v1/model/AddressSetListResponseDTOData.js +25 -0
- package/v1/model/AddressSetListResponseDTODataRecords.d.ts +19 -0
- package/v1/model/AddressSetListResponseDTODataRecords.js +59 -0
- package/v1/model/BlackWhiteListResponseData.d.ts +16 -0
- package/v1/model/BlackWhiteListResponseData.js +39 -0
- package/v1/model/BlackWhiteListResponseDataRecords.d.ts +19 -0
- package/v1/model/BlackWhiteListResponseDataRecords.js +53 -0
- package/v1/model/ChangeEwProtectStatusRequest.d.ts +10 -0
- package/v1/model/ChangeEwProtectStatusRequest.js +28 -0
- package/v1/model/ChangeEwProtectStatusResponse.d.ts +11 -0
- package/v1/model/ChangeEwProtectStatusResponse.js +45 -0
- package/v1/model/ChangeIpsProtectModeUsingPostRequest.d.ts +10 -0
- package/v1/model/ChangeIpsProtectModeUsingPostRequest.js +28 -0
- package/v1/model/ChangeIpsProtectModeUsingPostResponse.d.ts +7 -0
- package/v1/model/ChangeIpsProtectModeUsingPostResponse.js +31 -0
- package/v1/model/ChangeIpsSwitchUsingPostRequest.d.ts +10 -0
- package/v1/model/ChangeIpsSwitchUsingPostRequest.js +28 -0
- package/v1/model/ChangeIpsSwitchUsingPostResponse.d.ts +11 -0
- package/v1/model/ChangeIpsSwitchUsingPostResponse.js +45 -0
- package/v1/model/ChangeProtectEipRequest.d.ts +10 -0
- package/v1/model/ChangeProtectEipRequest.js +28 -0
- package/v1/model/ChangeProtectEipResponse.d.ts +7 -0
- package/v1/model/ChangeProtectEipResponse.js +31 -0
- package/v1/model/ChangeProtectStatusRequestBody.d.ts +17 -0
- package/v1/model/ChangeProtectStatusRequestBody.js +38 -0
- package/v1/model/ClearAccessLogRuleHitCountsDto.d.ts +7 -0
- package/v1/model/ClearAccessLogRuleHitCountsDto.js +24 -0
- package/v1/model/CommonResponseDTOData.d.ts +5 -0
- package/v1/model/CommonResponseDTOData.js +13 -0
- package/v1/model/CountEipsRequest.d.ts +11 -0
- package/v1/model/CountEipsRequest.js +39 -0
- package/v1/model/CountEipsResponse.d.ts +16 -0
- package/v1/model/CountEipsResponse.js +69 -0
- package/v1/model/DeleteAclRuleCountRequest.d.ts +10 -0
- package/v1/model/DeleteAclRuleCountRequest.js +28 -0
- package/v1/model/DeleteAclRuleCountResponse.d.ts +6 -0
- package/v1/model/DeleteAclRuleCountResponse.js +31 -0
- package/v1/model/DeleteAddressItemUsingDeleteRequest.d.ts +11 -0
- package/v1/model/DeleteAddressItemUsingDeleteRequest.js +39 -0
- package/v1/model/DeleteAddressItemUsingDeleteResponse.d.ts +7 -0
- package/v1/model/DeleteAddressItemUsingDeleteResponse.js +31 -0
- package/v1/model/DeleteAddressSetInfoUsingDeleteRequest.d.ts +11 -0
- package/v1/model/DeleteAddressSetInfoUsingDeleteRequest.js +39 -0
- package/v1/model/DeleteAddressSetInfoUsingDeleteResponse.d.ts +7 -0
- package/v1/model/DeleteAddressSetInfoUsingDeleteResponse.js +31 -0
- package/v1/model/DeleteBlackWhiteListUsingDeleteRequest.d.ts +11 -0
- package/v1/model/DeleteBlackWhiteListUsingDeleteRequest.js +39 -0
- package/v1/model/DeleteBlackWhiteListUsingDeleteResponse.d.ts +7 -0
- package/v1/model/DeleteBlackWhiteListUsingDeleteResponse.js +31 -0
- package/v1/model/DeleteRuleAclUsingDeleteRequest.d.ts +11 -0
- package/v1/model/DeleteRuleAclUsingDeleteRequest.js +39 -0
- package/v1/model/DeleteRuleAclUsingDeleteResponse.d.ts +7 -0
- package/v1/model/DeleteRuleAclUsingDeleteResponse.js +31 -0
- package/v1/model/DeleteServiceItemUsingDeleteRequest.d.ts +11 -0
- package/v1/model/DeleteServiceItemUsingDeleteRequest.js +39 -0
- package/v1/model/DeleteServiceItemUsingDeleteResponse.d.ts +7 -0
- package/v1/model/DeleteServiceItemUsingDeleteResponse.js +31 -0
- package/v1/model/DeleteServiceSetUsingDeleteRequest.d.ts +11 -0
- package/v1/model/DeleteServiceSetUsingDeleteRequest.js +39 -0
- package/v1/model/DeleteServiceSetUsingDeleteResponse.d.ts +7 -0
- package/v1/model/DeleteServiceSetUsingDeleteResponse.js +31 -0
- package/v1/model/DnsServersResponseDTO.d.ts +17 -0
- package/v1/model/DnsServersResponseDTO.js +55 -0
- package/v1/model/EipOperateProtectReq.d.ts +14 -0
- package/v1/model/EipOperateProtectReq.js +44 -0
- package/v1/model/EipOperateProtectReqIpInfos.d.ts +13 -0
- package/v1/model/EipOperateProtectReqIpInfos.js +41 -0
- package/v1/model/ErInstance.d.ts +21 -0
- package/v1/model/ErInstance.js +63 -0
- package/v1/model/EwProtectResourceInfo.d.ts +27 -0
- package/v1/model/EwProtectResourceInfo.js +96 -0
- package/v1/model/Flavor.d.ts +29 -0
- package/v1/model/Flavor.js +70 -0
- package/v1/model/GetEastWestFirewallResponseBody.d.ts +41 -0
- package/v1/model/GetEastWestFirewallResponseBody.js +113 -0
- package/v1/model/HttpQueryCfwAccessControllerLogsResponseDTOData.d.ts +10 -0
- package/v1/model/HttpQueryCfwAccessControllerLogsResponseDTOData.js +21 -0
- package/v1/model/HttpQueryCfwAccessControllerLogsResponseDTODataRecords.d.ts +41 -0
- package/v1/model/HttpQueryCfwAccessControllerLogsResponseDTODataRecords.js +133 -0
- package/v1/model/HttpQueryCfwAttackLogsResponseDTOData.d.ts +10 -0
- package/v1/model/HttpQueryCfwAttackLogsResponseDTOData.js +21 -0
- package/v1/model/HttpQueryCfwAttackLogsResponseDTODataRecords.d.ts +70 -0
- package/v1/model/HttpQueryCfwAttackLogsResponseDTODataRecords.js +200 -0
- package/v1/model/HttpQueryCfwFlowLogsResponseDTOData.d.ts +10 -0
- package/v1/model/HttpQueryCfwFlowLogsResponseDTOData.js +21 -0
- package/v1/model/HttpQueryCfwFlowLogsResponseDTODataRecords.d.ts +49 -0
- package/v1/model/HttpQueryCfwFlowLogsResponseDTODataRecords.js +136 -0
- package/v1/model/IdObject.d.ts +5 -0
- package/v1/model/IdObject.js +13 -0
- package/v1/model/IpsProtectDTO.d.ts +9 -0
- package/v1/model/IpsProtectDTO.js +27 -0
- package/v1/model/IpsSwitchDTO.d.ts +21 -0
- package/v1/model/IpsSwitchDTO.js +52 -0
- package/v1/model/ListAccessControlLogsRequest.d.ts +68 -0
- package/v1/model/ListAccessControlLogsRequest.js +208 -0
- package/v1/model/ListAccessControlLogsResponse.d.ts +7 -0
- package/v1/model/ListAccessControlLogsResponse.js +31 -0
- package/v1/model/ListAddressItemsUsingGetRequest.d.ts +21 -0
- package/v1/model/ListAddressItemsUsingGetRequest.js +67 -0
- package/v1/model/ListAddressItemsUsingGetResponse.d.ts +7 -0
- package/v1/model/ListAddressItemsUsingGetResponse.js +31 -0
- package/v1/model/ListAddressSetDetailUsingGetRequest.d.ts +11 -0
- package/v1/model/ListAddressSetDetailUsingGetRequest.js +39 -0
- package/v1/model/ListAddressSetDetailUsingGetResponse.d.ts +7 -0
- package/v1/model/ListAddressSetDetailUsingGetResponse.js +31 -0
- package/v1/model/ListAddressSetListUsingGetRequest.d.ts +33 -0
- package/v1/model/ListAddressSetListUsingGetRequest.js +90 -0
- package/v1/model/ListAddressSetListUsingGetResponse.d.ts +7 -0
- package/v1/model/ListAddressSetListUsingGetResponse.js +31 -0
- package/v1/model/ListAttackLogsRequest.d.ts +93 -0
- package/v1/model/ListAttackLogsRequest.js +242 -0
- package/v1/model/ListAttackLogsResponse.d.ts +7 -0
- package/v1/model/ListAttackLogsResponse.js +31 -0
- package/v1/model/ListBlackWhiteListsUsingGetRequest.d.ts +44 -0
- package/v1/model/ListBlackWhiteListsUsingGetRequest.js +105 -0
- package/v1/model/ListBlackWhiteListsUsingGetResponse.d.ts +7 -0
- package/v1/model/ListBlackWhiteListsUsingGetResponse.js +31 -0
- package/v1/model/ListDnsServersRequest.d.ts +11 -0
- package/v1/model/ListDnsServersRequest.js +32 -0
- package/v1/model/ListDnsServersResponse.d.ts +9 -0
- package/v1/model/ListDnsServersResponse.js +35 -0
- package/v1/model/ListEastWestFirewallRequest.d.ts +11 -0
- package/v1/model/ListEastWestFirewallRequest.js +34 -0
- package/v1/model/ListEastWestFirewallResponse.d.ts +7 -0
- package/v1/model/ListEastWestFirewallResponse.js +31 -0
- package/v1/model/ListEipResourcesRequest.d.ts +52 -0
- package/v1/model/ListEipResourcesRequest.js +132 -0
- package/v1/model/ListEipResourcesResponse.d.ts +44 -0
- package/v1/model/ListEipResourcesResponse.js +142 -0
- package/v1/model/ListFirewallUsingGetRequest.d.ts +23 -0
- package/v1/model/ListFirewallUsingGetRequest.js +58 -0
- package/v1/model/ListFirewallUsingGetResponse.d.ts +79 -0
- package/v1/model/ListFirewallUsingGetResponse.js +203 -0
- package/v1/model/ListFlowLogsRequest.d.ts +76 -0
- package/v1/model/ListFlowLogsRequest.js +209 -0
- package/v1/model/ListFlowLogsResponse.d.ts +7 -0
- package/v1/model/ListFlowLogsResponse.js +31 -0
- package/v1/model/ListIpsProtectModeUsingPostRequest.d.ts +11 -0
- package/v1/model/ListIpsProtectModeUsingPostRequest.js +39 -0
- package/v1/model/ListIpsProtectModeUsingPostResponse.d.ts +10 -0
- package/v1/model/ListIpsProtectModeUsingPostResponse.js +45 -0
- package/v1/model/ListIpsSwitchStatusUsingGetRequest.d.ts +11 -0
- package/v1/model/ListIpsSwitchStatusUsingGetRequest.js +39 -0
- package/v1/model/ListIpsSwitchStatusUsingGetResponse.d.ts +16 -0
- package/v1/model/ListIpsSwitchStatusUsingGetResponse.js +69 -0
- package/v1/model/ListParseDomainDetailsRequest.d.ts +11 -0
- package/v1/model/ListParseDomainDetailsRequest.js +39 -0
- package/v1/model/ListParseDomainDetailsResponse.d.ts +6 -0
- package/v1/model/ListParseDomainDetailsResponse.js +31 -0
- package/v1/model/ListRuleAclUsingPutRequest.d.ts +14 -0
- package/v1/model/ListRuleAclUsingPutRequest.js +43 -0
- package/v1/model/ListRuleAclUsingPutResponse.d.ts +7 -0
- package/v1/model/ListRuleAclUsingPutResponse.js +31 -0
- package/v1/model/ListRuleAclsUsingGetRequest.d.ts +79 -0
- package/v1/model/ListRuleAclsUsingGetRequest.js +150 -0
- package/v1/model/ListRuleAclsUsingGetResponse.d.ts +7 -0
- package/v1/model/ListRuleAclsUsingGetResponse.js +31 -0
- package/v1/model/ListRuleHitCountDto.d.ts +7 -0
- package/v1/model/ListRuleHitCountDto.js +24 -0
- package/v1/model/ListRuleHitCountRequest.d.ts +10 -0
- package/v1/model/ListRuleHitCountRequest.js +28 -0
- package/v1/model/ListRuleHitCountResponse.d.ts +7 -0
- package/v1/model/ListRuleHitCountResponse.js +31 -0
- package/v1/model/ListServiceItemsDetailsRequest.d.ts +19 -0
- package/v1/model/ListServiceItemsDetailsRequest.js +63 -0
- package/v1/model/ListServiceItemsDetailsResponse.d.ts +7 -0
- package/v1/model/ListServiceItemsDetailsResponse.js +31 -0
- package/v1/model/ListServiceSetDetailsRequest.d.ts +11 -0
- package/v1/model/ListServiceSetDetailsRequest.js +39 -0
- package/v1/model/ListServiceSetDetailsResponse.d.ts +10 -0
- package/v1/model/ListServiceSetDetailsResponse.js +39 -0
- package/v1/model/ListServiceSetRequest.d.ts +19 -0
- package/v1/model/ListServiceSetRequest.js +63 -0
- package/v1/model/ListServiceSetResponse.d.ts +7 -0
- package/v1/model/ListServiceSetResponse.js +31 -0
- package/v1/model/ListVpcProtectsRequest.d.ts +11 -0
- package/v1/model/ListVpcProtectsRequest.js +39 -0
- package/v1/model/ListVpcProtectsResponse.d.ts +11 -0
- package/v1/model/ListVpcProtectsResponse.js +45 -0
- package/v1/model/OrderRuleAclDto.d.ts +9 -0
- package/v1/model/OrderRuleAclDto.js +27 -0
- package/v1/model/Packet.d.ts +13 -0
- package/v1/model/Packet.js +41 -0
- package/v1/model/ProtectObjectVO.d.ts +21 -0
- package/v1/model/ProtectObjectVO.js +50 -0
- package/v1/model/RuleAclListResponseDTOData.d.ts +16 -0
- package/v1/model/RuleAclListResponseDTOData.js +39 -0
- package/v1/model/RuleAclListResponseDTODataRecords.d.ts +62 -0
- package/v1/model/RuleAclListResponseDTODataRecords.js +162 -0
- package/v1/model/RuleAddressDto.d.ts +23 -0
- package/v1/model/RuleAddressDto.js +74 -0
- package/v1/model/RuleHitCountObject.d.ts +11 -0
- package/v1/model/RuleHitCountObject.js +37 -0
- package/v1/model/RuleHitCountRecords.d.ts +12 -0
- package/v1/model/RuleHitCountRecords.js +25 -0
- package/v1/model/RuleId.d.ts +5 -0
- package/v1/model/RuleId.js +13 -0
- package/v1/model/RuleIdList.d.ts +6 -0
- package/v1/model/RuleIdList.js +13 -0
- package/v1/model/RuleServiceDto.d.ts +23 -0
- package/v1/model/RuleServiceDto.js +74 -0
- package/v1/model/ServiceItemIds.d.ts +6 -0
- package/v1/model/ServiceItemIds.js +13 -0
- package/v1/model/ServiceItemListResponseDtoData.d.ts +12 -0
- package/v1/model/ServiceItemListResponseDtoData.js +25 -0
- package/v1/model/ServiceItemListResponseDtoDataRecords.d.ts +21 -0
- package/v1/model/ServiceItemListResponseDtoDataRecords.js +63 -0
- package/v1/model/ServiceSet.d.ts +17 -0
- package/v1/model/ServiceSet.js +49 -0
- package/v1/model/ServiceSetRecords.d.ts +12 -0
- package/v1/model/ServiceSetRecords.js +25 -0
- package/v1/model/SubnetInfo.d.ts +23 -0
- package/v1/model/SubnetInfo.js +69 -0
- package/v1/model/SuccessRspData.d.ts +5 -0
- package/v1/model/SuccessRspData.js +13 -0
- package/v1/model/Tag.d.ts +7 -0
- package/v1/model/Tag.js +17 -0
- package/v1/model/UpdateAddressSetDto.d.ts +7 -0
- package/v1/model/UpdateAddressSetDto.js +17 -0
- package/v1/model/UpdateAddressSetInfoUsingPutRequest.d.ts +14 -0
- package/v1/model/UpdateAddressSetInfoUsingPutRequest.js +43 -0
- package/v1/model/UpdateAddressSetInfoUsingPutResponse.d.ts +7 -0
- package/v1/model/UpdateAddressSetInfoUsingPutResponse.js +31 -0
- package/v1/model/UpdateBlackWhiteListDto.d.ts +15 -0
- package/v1/model/UpdateBlackWhiteListDto.js +39 -0
- package/v1/model/UpdateBlackWhiteListUsingPutRequest.d.ts +14 -0
- package/v1/model/UpdateBlackWhiteListUsingPutRequest.js +43 -0
- package/v1/model/UpdateBlackWhiteListUsingPutResponse.d.ts +7 -0
- package/v1/model/UpdateBlackWhiteListUsingPutResponse.js +31 -0
- package/v1/model/UpdateDnsServersRequest.d.ts +10 -0
- package/v1/model/UpdateDnsServersRequest.js +28 -0
- package/v1/model/UpdateDnsServersRequestBody.d.ts +8 -0
- package/v1/model/UpdateDnsServersRequestBody.js +23 -0
- package/v1/model/UpdateDnsServersRequestBodyDnsServer.d.ts +15 -0
- package/v1/model/UpdateDnsServersRequestBodyDnsServer.js +51 -0
- package/v1/model/UpdateDnsServersResponse.d.ts +6 -0
- package/v1/model/UpdateDnsServersResponse.js +31 -0
- package/v1/model/UpdateRuleAclDto.d.ts +82 -0
- package/v1/model/UpdateRuleAclDto.js +175 -0
- package/v1/model/UpdateRuleAclUsingPutRequest.d.ts +14 -0
- package/v1/model/UpdateRuleAclUsingPutRequest.js +43 -0
- package/v1/model/UpdateRuleAclUsingPutResponse.d.ts +7 -0
- package/v1/model/UpdateRuleAclUsingPutResponse.js +31 -0
- package/v1/model/UpdateServiceSetUsingPUTRequestBody.d.ts +7 -0
- package/v1/model/UpdateServiceSetUsingPUTRequestBody.js +17 -0
- package/v1/model/UpdateServiceSetUsingPutRequest.d.ts +14 -0
- package/v1/model/UpdateServiceSetUsingPutRequest.js +43 -0
- package/v1/model/UpdateServiceSetUsingPutResponse.d.ts +7 -0
- package/v1/model/UpdateServiceSetUsingPutResponse.js +31 -0
- package/v1/model/VPCProtectsVo.d.ts +26 -0
- package/v1/model/VPCProtectsVo.js +83 -0
- package/v1/model/VpcAttachmentDetail.d.ts +42 -0
- package/v1/model/VpcAttachmentDetail.js +127 -0
- package/v1/model/VpcDetail.d.ts +11 -0
- package/v1/model/VpcDetail.js +25 -0
- package/v1/public-api.d.ts +155 -0
- package/v1/public-api.js +171 -0
@@ -0,0 +1,203 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __extends = (this && this.__extends) || (function () {
|
3
|
+
var extendStatics = function (d, b) {
|
4
|
+
extendStatics = Object.setPrototypeOf ||
|
5
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
7
|
+
return extendStatics(d, b);
|
8
|
+
};
|
9
|
+
return function (d, b) {
|
10
|
+
if (typeof b !== "function" && b !== null)
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
12
|
+
extendStatics(d, b);
|
13
|
+
function __() { this.constructor = d; }
|
14
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
15
|
+
};
|
16
|
+
})();
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
18
|
+
exports.ListFirewallUsingGetResponseStatusEnum = exports.ListFirewallUsingGetResponse = void 0;
|
19
|
+
var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
|
20
|
+
var ListFirewallUsingGetResponse = /** @class */ (function (_super) {
|
21
|
+
__extends(ListFirewallUsingGetResponse, _super);
|
22
|
+
function ListFirewallUsingGetResponse() {
|
23
|
+
return _super.call(this) || this;
|
24
|
+
}
|
25
|
+
ListFirewallUsingGetResponse.prototype.withFwInstanceId = function (fwInstanceId) {
|
26
|
+
this['fw_instance_id'] = fwInstanceId;
|
27
|
+
return this;
|
28
|
+
};
|
29
|
+
Object.defineProperty(ListFirewallUsingGetResponse.prototype, "fwInstanceId", {
|
30
|
+
get: function () {
|
31
|
+
return this['fw_instance_id'];
|
32
|
+
},
|
33
|
+
set: function (fwInstanceId) {
|
34
|
+
this['fw_instance_id'] = fwInstanceId;
|
35
|
+
},
|
36
|
+
enumerable: false,
|
37
|
+
configurable: true
|
38
|
+
});
|
39
|
+
ListFirewallUsingGetResponse.prototype.withResourceId = function (resourceId) {
|
40
|
+
this['resource_id'] = resourceId;
|
41
|
+
return this;
|
42
|
+
};
|
43
|
+
Object.defineProperty(ListFirewallUsingGetResponse.prototype, "resourceId", {
|
44
|
+
get: function () {
|
45
|
+
return this['resource_id'];
|
46
|
+
},
|
47
|
+
set: function (resourceId) {
|
48
|
+
this['resource_id'] = resourceId;
|
49
|
+
},
|
50
|
+
enumerable: false,
|
51
|
+
configurable: true
|
52
|
+
});
|
53
|
+
ListFirewallUsingGetResponse.prototype.withName = function (name) {
|
54
|
+
this['name'] = name;
|
55
|
+
return this;
|
56
|
+
};
|
57
|
+
ListFirewallUsingGetResponse.prototype.withHaType = function (haType) {
|
58
|
+
this['ha_type'] = haType;
|
59
|
+
return this;
|
60
|
+
};
|
61
|
+
Object.defineProperty(ListFirewallUsingGetResponse.prototype, "haType", {
|
62
|
+
get: function () {
|
63
|
+
return this['ha_type'];
|
64
|
+
},
|
65
|
+
set: function (haType) {
|
66
|
+
this['ha_type'] = haType;
|
67
|
+
},
|
68
|
+
enumerable: false,
|
69
|
+
configurable: true
|
70
|
+
});
|
71
|
+
ListFirewallUsingGetResponse.prototype.withChargeMode = function (chargeMode) {
|
72
|
+
this['charge_mode'] = chargeMode;
|
73
|
+
return this;
|
74
|
+
};
|
75
|
+
Object.defineProperty(ListFirewallUsingGetResponse.prototype, "chargeMode", {
|
76
|
+
get: function () {
|
77
|
+
return this['charge_mode'];
|
78
|
+
},
|
79
|
+
set: function (chargeMode) {
|
80
|
+
this['charge_mode'] = chargeMode;
|
81
|
+
},
|
82
|
+
enumerable: false,
|
83
|
+
configurable: true
|
84
|
+
});
|
85
|
+
ListFirewallUsingGetResponse.prototype.withServiceType = function (serviceType) {
|
86
|
+
this['service_type'] = serviceType;
|
87
|
+
return this;
|
88
|
+
};
|
89
|
+
Object.defineProperty(ListFirewallUsingGetResponse.prototype, "serviceType", {
|
90
|
+
get: function () {
|
91
|
+
return this['service_type'];
|
92
|
+
},
|
93
|
+
set: function (serviceType) {
|
94
|
+
this['service_type'] = serviceType;
|
95
|
+
},
|
96
|
+
enumerable: false,
|
97
|
+
configurable: true
|
98
|
+
});
|
99
|
+
ListFirewallUsingGetResponse.prototype.withEngineType = function (engineType) {
|
100
|
+
this['engine_type'] = engineType;
|
101
|
+
return this;
|
102
|
+
};
|
103
|
+
Object.defineProperty(ListFirewallUsingGetResponse.prototype, "engineType", {
|
104
|
+
get: function () {
|
105
|
+
return this['engine_type'];
|
106
|
+
},
|
107
|
+
set: function (engineType) {
|
108
|
+
this['engine_type'] = engineType;
|
109
|
+
},
|
110
|
+
enumerable: false,
|
111
|
+
configurable: true
|
112
|
+
});
|
113
|
+
ListFirewallUsingGetResponse.prototype.withFlavor = function (flavor) {
|
114
|
+
this['flavor'] = flavor;
|
115
|
+
return this;
|
116
|
+
};
|
117
|
+
ListFirewallUsingGetResponse.prototype.withProtectObjects = function (protectObjects) {
|
118
|
+
this['protect_objects'] = protectObjects;
|
119
|
+
return this;
|
120
|
+
};
|
121
|
+
Object.defineProperty(ListFirewallUsingGetResponse.prototype, "protectObjects", {
|
122
|
+
get: function () {
|
123
|
+
return this['protect_objects'];
|
124
|
+
},
|
125
|
+
set: function (protectObjects) {
|
126
|
+
this['protect_objects'] = protectObjects;
|
127
|
+
},
|
128
|
+
enumerable: false,
|
129
|
+
configurable: true
|
130
|
+
});
|
131
|
+
ListFirewallUsingGetResponse.prototype.withStatus = function (status) {
|
132
|
+
this['status'] = status;
|
133
|
+
return this;
|
134
|
+
};
|
135
|
+
ListFirewallUsingGetResponse.prototype.withDescription = function (description) {
|
136
|
+
this['description'] = description;
|
137
|
+
return this;
|
138
|
+
};
|
139
|
+
ListFirewallUsingGetResponse.prototype.withIsOldFirewallInstance = function (isOldFirewallInstance) {
|
140
|
+
this['is_old_firewall_instance'] = isOldFirewallInstance;
|
141
|
+
return this;
|
142
|
+
};
|
143
|
+
Object.defineProperty(ListFirewallUsingGetResponse.prototype, "isOldFirewallInstance", {
|
144
|
+
get: function () {
|
145
|
+
return this['is_old_firewall_instance'];
|
146
|
+
},
|
147
|
+
set: function (isOldFirewallInstance) {
|
148
|
+
this['is_old_firewall_instance'] = isOldFirewallInstance;
|
149
|
+
},
|
150
|
+
enumerable: false,
|
151
|
+
configurable: true
|
152
|
+
});
|
153
|
+
ListFirewallUsingGetResponse.prototype.withSupportIpv6 = function (supportIpv6) {
|
154
|
+
this['support_ipv6'] = supportIpv6;
|
155
|
+
return this;
|
156
|
+
};
|
157
|
+
Object.defineProperty(ListFirewallUsingGetResponse.prototype, "supportIpv6", {
|
158
|
+
get: function () {
|
159
|
+
return this['support_ipv6'];
|
160
|
+
},
|
161
|
+
set: function (supportIpv6) {
|
162
|
+
this['support_ipv6'] = supportIpv6;
|
163
|
+
},
|
164
|
+
enumerable: false,
|
165
|
+
configurable: true
|
166
|
+
});
|
167
|
+
ListFirewallUsingGetResponse.prototype.withFeatureToggle = function (featureToggle) {
|
168
|
+
this['feature_toggle'] = featureToggle;
|
169
|
+
return this;
|
170
|
+
};
|
171
|
+
Object.defineProperty(ListFirewallUsingGetResponse.prototype, "featureToggle", {
|
172
|
+
get: function () {
|
173
|
+
return this['feature_toggle'];
|
174
|
+
},
|
175
|
+
set: function (featureToggle) {
|
176
|
+
this['feature_toggle'] = featureToggle;
|
177
|
+
},
|
178
|
+
enumerable: false,
|
179
|
+
configurable: true
|
180
|
+
});
|
181
|
+
return ListFirewallUsingGetResponse;
|
182
|
+
}(SdkResponse_1.SdkResponse));
|
183
|
+
exports.ListFirewallUsingGetResponse = ListFirewallUsingGetResponse;
|
184
|
+
/**
|
185
|
+
* @export
|
186
|
+
* @enum {string}
|
187
|
+
*/
|
188
|
+
var ListFirewallUsingGetResponseStatusEnum;
|
189
|
+
(function (ListFirewallUsingGetResponseStatusEnum) {
|
190
|
+
ListFirewallUsingGetResponseStatusEnum[ListFirewallUsingGetResponseStatusEnum["NUMBER_MINUS_1"] = -1] = "NUMBER_MINUS_1";
|
191
|
+
ListFirewallUsingGetResponseStatusEnum[ListFirewallUsingGetResponseStatusEnum["NUMBER_0"] = 0] = "NUMBER_0";
|
192
|
+
ListFirewallUsingGetResponseStatusEnum[ListFirewallUsingGetResponseStatusEnum["NUMBER_1"] = 1] = "NUMBER_1";
|
193
|
+
ListFirewallUsingGetResponseStatusEnum[ListFirewallUsingGetResponseStatusEnum["NUMBER_2"] = 2] = "NUMBER_2";
|
194
|
+
ListFirewallUsingGetResponseStatusEnum[ListFirewallUsingGetResponseStatusEnum["NUMBER_3"] = 3] = "NUMBER_3";
|
195
|
+
ListFirewallUsingGetResponseStatusEnum[ListFirewallUsingGetResponseStatusEnum["NUMBER_4"] = 4] = "NUMBER_4";
|
196
|
+
ListFirewallUsingGetResponseStatusEnum[ListFirewallUsingGetResponseStatusEnum["NUMBER_5"] = 5] = "NUMBER_5";
|
197
|
+
ListFirewallUsingGetResponseStatusEnum[ListFirewallUsingGetResponseStatusEnum["NUMBER_6"] = 6] = "NUMBER_6";
|
198
|
+
ListFirewallUsingGetResponseStatusEnum[ListFirewallUsingGetResponseStatusEnum["NUMBER_7"] = 7] = "NUMBER_7";
|
199
|
+
ListFirewallUsingGetResponseStatusEnum[ListFirewallUsingGetResponseStatusEnum["NUMBER_8"] = 8] = "NUMBER_8";
|
200
|
+
ListFirewallUsingGetResponseStatusEnum[ListFirewallUsingGetResponseStatusEnum["NUMBER_9"] = 9] = "NUMBER_9";
|
201
|
+
ListFirewallUsingGetResponseStatusEnum[ListFirewallUsingGetResponseStatusEnum["NUMBER_10"] = 10] = "NUMBER_10";
|
202
|
+
ListFirewallUsingGetResponseStatusEnum[ListFirewallUsingGetResponseStatusEnum["NUMBER_11"] = 11] = "NUMBER_11";
|
203
|
+
})(ListFirewallUsingGetResponseStatusEnum = exports.ListFirewallUsingGetResponseStatusEnum || (exports.ListFirewallUsingGetResponseStatusEnum = {}));
|
@@ -0,0 +1,76 @@
|
|
1
|
+
export declare class ListFlowLogsRequest {
|
2
|
+
private 'project_id';
|
3
|
+
private 'fw_instance_id';
|
4
|
+
direction?: string;
|
5
|
+
private 'log_type'?;
|
6
|
+
private 'start_time';
|
7
|
+
private 'end_time';
|
8
|
+
private 'src_ip'?;
|
9
|
+
private 'src_port'?;
|
10
|
+
private 'dst_ip'?;
|
11
|
+
private 'dst_port'?;
|
12
|
+
protocol?: ListFlowLogsRequestProtocolEnum;
|
13
|
+
app?: string;
|
14
|
+
private 'log_id'?;
|
15
|
+
private 'next_date'?;
|
16
|
+
offset?: number;
|
17
|
+
limit: number;
|
18
|
+
constructor(projectId?: any, fwInstanceId?: any, startTime?: any, endTime?: any, limit?: any);
|
19
|
+
withProjectId(projectId: string): ListFlowLogsRequest;
|
20
|
+
set projectId(projectId: string | undefined);
|
21
|
+
get projectId(): string | undefined;
|
22
|
+
withFwInstanceId(fwInstanceId: string): ListFlowLogsRequest;
|
23
|
+
set fwInstanceId(fwInstanceId: string | undefined);
|
24
|
+
get fwInstanceId(): string | undefined;
|
25
|
+
withDirection(direction: string): ListFlowLogsRequest;
|
26
|
+
withLogType(logType: ListFlowLogsRequestLogTypeEnum): ListFlowLogsRequest;
|
27
|
+
set logType(logType: ListFlowLogsRequestLogTypeEnum | undefined);
|
28
|
+
get logType(): ListFlowLogsRequestLogTypeEnum | undefined;
|
29
|
+
withStartTime(startTime: number): ListFlowLogsRequest;
|
30
|
+
set startTime(startTime: number | undefined);
|
31
|
+
get startTime(): number | undefined;
|
32
|
+
withEndTime(endTime: number): ListFlowLogsRequest;
|
33
|
+
set endTime(endTime: number | undefined);
|
34
|
+
get endTime(): number | undefined;
|
35
|
+
withSrcIp(srcIp: string): ListFlowLogsRequest;
|
36
|
+
set srcIp(srcIp: string | undefined);
|
37
|
+
get srcIp(): string | undefined;
|
38
|
+
withSrcPort(srcPort: number): ListFlowLogsRequest;
|
39
|
+
set srcPort(srcPort: number | undefined);
|
40
|
+
get srcPort(): number | undefined;
|
41
|
+
withDstIp(dstIp: string): ListFlowLogsRequest;
|
42
|
+
set dstIp(dstIp: string | undefined);
|
43
|
+
get dstIp(): string | undefined;
|
44
|
+
withDstPort(dstPort: number): ListFlowLogsRequest;
|
45
|
+
set dstPort(dstPort: number | undefined);
|
46
|
+
get dstPort(): number | undefined;
|
47
|
+
withProtocol(protocol: ListFlowLogsRequestProtocolEnum): ListFlowLogsRequest;
|
48
|
+
withApp(app: string): ListFlowLogsRequest;
|
49
|
+
withLogId(logId: string): ListFlowLogsRequest;
|
50
|
+
set logId(logId: string | undefined);
|
51
|
+
get logId(): string | undefined;
|
52
|
+
withNextDate(nextDate: number): ListFlowLogsRequest;
|
53
|
+
set nextDate(nextDate: number | undefined);
|
54
|
+
get nextDate(): number | undefined;
|
55
|
+
withOffset(offset: number): ListFlowLogsRequest;
|
56
|
+
withLimit(limit: number): ListFlowLogsRequest;
|
57
|
+
}
|
58
|
+
/**
|
59
|
+
* @export
|
60
|
+
* @enum {string}
|
61
|
+
*/
|
62
|
+
export declare enum ListFlowLogsRequestLogTypeEnum {
|
63
|
+
INTERNET = "internet",
|
64
|
+
VPC = "vpc",
|
65
|
+
NAT = "nat"
|
66
|
+
}
|
67
|
+
/**
|
68
|
+
* @export
|
69
|
+
* @enum {string}
|
70
|
+
*/
|
71
|
+
export declare enum ListFlowLogsRequestProtocolEnum {
|
72
|
+
E_6 = "6",
|
73
|
+
E_17 = "17",
|
74
|
+
E_1 = "1",
|
75
|
+
E_58 = "58"
|
76
|
+
}
|
@@ -0,0 +1,209 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.ListFlowLogsRequestProtocolEnum = exports.ListFlowLogsRequestLogTypeEnum = exports.ListFlowLogsRequest = void 0;
|
4
|
+
var ListFlowLogsRequest = /** @class */ (function () {
|
5
|
+
function ListFlowLogsRequest(projectId, fwInstanceId, startTime, endTime, limit) {
|
6
|
+
this['project_id'] = projectId;
|
7
|
+
this['fw_instance_id'] = fwInstanceId;
|
8
|
+
this['start_time'] = startTime;
|
9
|
+
this['end_time'] = endTime;
|
10
|
+
this['limit'] = limit;
|
11
|
+
}
|
12
|
+
ListFlowLogsRequest.prototype.withProjectId = function (projectId) {
|
13
|
+
this['project_id'] = projectId;
|
14
|
+
return this;
|
15
|
+
};
|
16
|
+
Object.defineProperty(ListFlowLogsRequest.prototype, "projectId", {
|
17
|
+
get: function () {
|
18
|
+
return this['project_id'];
|
19
|
+
},
|
20
|
+
set: function (projectId) {
|
21
|
+
this['project_id'] = projectId;
|
22
|
+
},
|
23
|
+
enumerable: false,
|
24
|
+
configurable: true
|
25
|
+
});
|
26
|
+
ListFlowLogsRequest.prototype.withFwInstanceId = function (fwInstanceId) {
|
27
|
+
this['fw_instance_id'] = fwInstanceId;
|
28
|
+
return this;
|
29
|
+
};
|
30
|
+
Object.defineProperty(ListFlowLogsRequest.prototype, "fwInstanceId", {
|
31
|
+
get: function () {
|
32
|
+
return this['fw_instance_id'];
|
33
|
+
},
|
34
|
+
set: function (fwInstanceId) {
|
35
|
+
this['fw_instance_id'] = fwInstanceId;
|
36
|
+
},
|
37
|
+
enumerable: false,
|
38
|
+
configurable: true
|
39
|
+
});
|
40
|
+
ListFlowLogsRequest.prototype.withDirection = function (direction) {
|
41
|
+
this['direction'] = direction;
|
42
|
+
return this;
|
43
|
+
};
|
44
|
+
ListFlowLogsRequest.prototype.withLogType = function (logType) {
|
45
|
+
this['log_type'] = logType;
|
46
|
+
return this;
|
47
|
+
};
|
48
|
+
Object.defineProperty(ListFlowLogsRequest.prototype, "logType", {
|
49
|
+
get: function () {
|
50
|
+
return this['log_type'];
|
51
|
+
},
|
52
|
+
set: function (logType) {
|
53
|
+
this['log_type'] = logType;
|
54
|
+
},
|
55
|
+
enumerable: false,
|
56
|
+
configurable: true
|
57
|
+
});
|
58
|
+
ListFlowLogsRequest.prototype.withStartTime = function (startTime) {
|
59
|
+
this['start_time'] = startTime;
|
60
|
+
return this;
|
61
|
+
};
|
62
|
+
Object.defineProperty(ListFlowLogsRequest.prototype, "startTime", {
|
63
|
+
get: function () {
|
64
|
+
return this['start_time'];
|
65
|
+
},
|
66
|
+
set: function (startTime) {
|
67
|
+
this['start_time'] = startTime;
|
68
|
+
},
|
69
|
+
enumerable: false,
|
70
|
+
configurable: true
|
71
|
+
});
|
72
|
+
ListFlowLogsRequest.prototype.withEndTime = function (endTime) {
|
73
|
+
this['end_time'] = endTime;
|
74
|
+
return this;
|
75
|
+
};
|
76
|
+
Object.defineProperty(ListFlowLogsRequest.prototype, "endTime", {
|
77
|
+
get: function () {
|
78
|
+
return this['end_time'];
|
79
|
+
},
|
80
|
+
set: function (endTime) {
|
81
|
+
this['end_time'] = endTime;
|
82
|
+
},
|
83
|
+
enumerable: false,
|
84
|
+
configurable: true
|
85
|
+
});
|
86
|
+
ListFlowLogsRequest.prototype.withSrcIp = function (srcIp) {
|
87
|
+
this['src_ip'] = srcIp;
|
88
|
+
return this;
|
89
|
+
};
|
90
|
+
Object.defineProperty(ListFlowLogsRequest.prototype, "srcIp", {
|
91
|
+
get: function () {
|
92
|
+
return this['src_ip'];
|
93
|
+
},
|
94
|
+
set: function (srcIp) {
|
95
|
+
this['src_ip'] = srcIp;
|
96
|
+
},
|
97
|
+
enumerable: false,
|
98
|
+
configurable: true
|
99
|
+
});
|
100
|
+
ListFlowLogsRequest.prototype.withSrcPort = function (srcPort) {
|
101
|
+
this['src_port'] = srcPort;
|
102
|
+
return this;
|
103
|
+
};
|
104
|
+
Object.defineProperty(ListFlowLogsRequest.prototype, "srcPort", {
|
105
|
+
get: function () {
|
106
|
+
return this['src_port'];
|
107
|
+
},
|
108
|
+
set: function (srcPort) {
|
109
|
+
this['src_port'] = srcPort;
|
110
|
+
},
|
111
|
+
enumerable: false,
|
112
|
+
configurable: true
|
113
|
+
});
|
114
|
+
ListFlowLogsRequest.prototype.withDstIp = function (dstIp) {
|
115
|
+
this['dst_ip'] = dstIp;
|
116
|
+
return this;
|
117
|
+
};
|
118
|
+
Object.defineProperty(ListFlowLogsRequest.prototype, "dstIp", {
|
119
|
+
get: function () {
|
120
|
+
return this['dst_ip'];
|
121
|
+
},
|
122
|
+
set: function (dstIp) {
|
123
|
+
this['dst_ip'] = dstIp;
|
124
|
+
},
|
125
|
+
enumerable: false,
|
126
|
+
configurable: true
|
127
|
+
});
|
128
|
+
ListFlowLogsRequest.prototype.withDstPort = function (dstPort) {
|
129
|
+
this['dst_port'] = dstPort;
|
130
|
+
return this;
|
131
|
+
};
|
132
|
+
Object.defineProperty(ListFlowLogsRequest.prototype, "dstPort", {
|
133
|
+
get: function () {
|
134
|
+
return this['dst_port'];
|
135
|
+
},
|
136
|
+
set: function (dstPort) {
|
137
|
+
this['dst_port'] = dstPort;
|
138
|
+
},
|
139
|
+
enumerable: false,
|
140
|
+
configurable: true
|
141
|
+
});
|
142
|
+
ListFlowLogsRequest.prototype.withProtocol = function (protocol) {
|
143
|
+
this['protocol'] = protocol;
|
144
|
+
return this;
|
145
|
+
};
|
146
|
+
ListFlowLogsRequest.prototype.withApp = function (app) {
|
147
|
+
this['app'] = app;
|
148
|
+
return this;
|
149
|
+
};
|
150
|
+
ListFlowLogsRequest.prototype.withLogId = function (logId) {
|
151
|
+
this['log_id'] = logId;
|
152
|
+
return this;
|
153
|
+
};
|
154
|
+
Object.defineProperty(ListFlowLogsRequest.prototype, "logId", {
|
155
|
+
get: function () {
|
156
|
+
return this['log_id'];
|
157
|
+
},
|
158
|
+
set: function (logId) {
|
159
|
+
this['log_id'] = logId;
|
160
|
+
},
|
161
|
+
enumerable: false,
|
162
|
+
configurable: true
|
163
|
+
});
|
164
|
+
ListFlowLogsRequest.prototype.withNextDate = function (nextDate) {
|
165
|
+
this['next_date'] = nextDate;
|
166
|
+
return this;
|
167
|
+
};
|
168
|
+
Object.defineProperty(ListFlowLogsRequest.prototype, "nextDate", {
|
169
|
+
get: function () {
|
170
|
+
return this['next_date'];
|
171
|
+
},
|
172
|
+
set: function (nextDate) {
|
173
|
+
this['next_date'] = nextDate;
|
174
|
+
},
|
175
|
+
enumerable: false,
|
176
|
+
configurable: true
|
177
|
+
});
|
178
|
+
ListFlowLogsRequest.prototype.withOffset = function (offset) {
|
179
|
+
this['offset'] = offset;
|
180
|
+
return this;
|
181
|
+
};
|
182
|
+
ListFlowLogsRequest.prototype.withLimit = function (limit) {
|
183
|
+
this['limit'] = limit;
|
184
|
+
return this;
|
185
|
+
};
|
186
|
+
return ListFlowLogsRequest;
|
187
|
+
}());
|
188
|
+
exports.ListFlowLogsRequest = ListFlowLogsRequest;
|
189
|
+
/**
|
190
|
+
* @export
|
191
|
+
* @enum {string}
|
192
|
+
*/
|
193
|
+
var ListFlowLogsRequestLogTypeEnum;
|
194
|
+
(function (ListFlowLogsRequestLogTypeEnum) {
|
195
|
+
ListFlowLogsRequestLogTypeEnum["INTERNET"] = "internet";
|
196
|
+
ListFlowLogsRequestLogTypeEnum["VPC"] = "vpc";
|
197
|
+
ListFlowLogsRequestLogTypeEnum["NAT"] = "nat";
|
198
|
+
})(ListFlowLogsRequestLogTypeEnum = exports.ListFlowLogsRequestLogTypeEnum || (exports.ListFlowLogsRequestLogTypeEnum = {}));
|
199
|
+
/**
|
200
|
+
* @export
|
201
|
+
* @enum {string}
|
202
|
+
*/
|
203
|
+
var ListFlowLogsRequestProtocolEnum;
|
204
|
+
(function (ListFlowLogsRequestProtocolEnum) {
|
205
|
+
ListFlowLogsRequestProtocolEnum["E_6"] = "6";
|
206
|
+
ListFlowLogsRequestProtocolEnum["E_17"] = "17";
|
207
|
+
ListFlowLogsRequestProtocolEnum["E_1"] = "1";
|
208
|
+
ListFlowLogsRequestProtocolEnum["E_58"] = "58";
|
209
|
+
})(ListFlowLogsRequestProtocolEnum = exports.ListFlowLogsRequestProtocolEnum || (exports.ListFlowLogsRequestProtocolEnum = {}));
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import { HttpQueryCfwFlowLogsResponseDTOData } from './HttpQueryCfwFlowLogsResponseDTOData';
|
2
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
3
|
+
export declare class ListFlowLogsResponse extends SdkResponse {
|
4
|
+
data?: HttpQueryCfwFlowLogsResponseDTOData;
|
5
|
+
constructor();
|
6
|
+
withData(data: HttpQueryCfwFlowLogsResponseDTOData): ListFlowLogsResponse;
|
7
|
+
}
|
@@ -0,0 +1,31 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __extends = (this && this.__extends) || (function () {
|
3
|
+
var extendStatics = function (d, b) {
|
4
|
+
extendStatics = Object.setPrototypeOf ||
|
5
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
7
|
+
return extendStatics(d, b);
|
8
|
+
};
|
9
|
+
return function (d, b) {
|
10
|
+
if (typeof b !== "function" && b !== null)
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
12
|
+
extendStatics(d, b);
|
13
|
+
function __() { this.constructor = d; }
|
14
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
15
|
+
};
|
16
|
+
})();
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
18
|
+
exports.ListFlowLogsResponse = void 0;
|
19
|
+
var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
|
20
|
+
var ListFlowLogsResponse = /** @class */ (function (_super) {
|
21
|
+
__extends(ListFlowLogsResponse, _super);
|
22
|
+
function ListFlowLogsResponse() {
|
23
|
+
return _super.call(this) || this;
|
24
|
+
}
|
25
|
+
ListFlowLogsResponse.prototype.withData = function (data) {
|
26
|
+
this['data'] = data;
|
27
|
+
return this;
|
28
|
+
};
|
29
|
+
return ListFlowLogsResponse;
|
30
|
+
}(SdkResponse_1.SdkResponse));
|
31
|
+
exports.ListFlowLogsResponse = ListFlowLogsResponse;
|
@@ -0,0 +1,11 @@
|
|
1
|
+
export declare class ListIpsProtectModeUsingPostRequest {
|
2
|
+
private 'project_id';
|
3
|
+
private 'object_id';
|
4
|
+
constructor(projectId?: any, objectId?: any);
|
5
|
+
withProjectId(projectId: string): ListIpsProtectModeUsingPostRequest;
|
6
|
+
set projectId(projectId: string | undefined);
|
7
|
+
get projectId(): string | undefined;
|
8
|
+
withObjectId(objectId: string): ListIpsProtectModeUsingPostRequest;
|
9
|
+
set objectId(objectId: string | undefined);
|
10
|
+
get objectId(): string | undefined;
|
11
|
+
}
|
@@ -0,0 +1,39 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.ListIpsProtectModeUsingPostRequest = void 0;
|
4
|
+
var ListIpsProtectModeUsingPostRequest = /** @class */ (function () {
|
5
|
+
function ListIpsProtectModeUsingPostRequest(projectId, objectId) {
|
6
|
+
this['project_id'] = projectId;
|
7
|
+
this['object_id'] = objectId;
|
8
|
+
}
|
9
|
+
ListIpsProtectModeUsingPostRequest.prototype.withProjectId = function (projectId) {
|
10
|
+
this['project_id'] = projectId;
|
11
|
+
return this;
|
12
|
+
};
|
13
|
+
Object.defineProperty(ListIpsProtectModeUsingPostRequest.prototype, "projectId", {
|
14
|
+
get: function () {
|
15
|
+
return this['project_id'];
|
16
|
+
},
|
17
|
+
set: function (projectId) {
|
18
|
+
this['project_id'] = projectId;
|
19
|
+
},
|
20
|
+
enumerable: false,
|
21
|
+
configurable: true
|
22
|
+
});
|
23
|
+
ListIpsProtectModeUsingPostRequest.prototype.withObjectId = function (objectId) {
|
24
|
+
this['object_id'] = objectId;
|
25
|
+
return this;
|
26
|
+
};
|
27
|
+
Object.defineProperty(ListIpsProtectModeUsingPostRequest.prototype, "objectId", {
|
28
|
+
get: function () {
|
29
|
+
return this['object_id'];
|
30
|
+
},
|
31
|
+
set: function (objectId) {
|
32
|
+
this['object_id'] = objectId;
|
33
|
+
},
|
34
|
+
enumerable: false,
|
35
|
+
configurable: true
|
36
|
+
});
|
37
|
+
return ListIpsProtectModeUsingPostRequest;
|
38
|
+
}());
|
39
|
+
exports.ListIpsProtectModeUsingPostRequest = ListIpsProtectModeUsingPostRequest;
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
2
|
+
export declare class ListIpsProtectModeUsingPostResponse extends SdkResponse {
|
3
|
+
private 'object_id'?;
|
4
|
+
status?: number;
|
5
|
+
constructor();
|
6
|
+
withObjectId(objectId: string): ListIpsProtectModeUsingPostResponse;
|
7
|
+
set objectId(objectId: string | undefined);
|
8
|
+
get objectId(): string | undefined;
|
9
|
+
withStatus(status: number): ListIpsProtectModeUsingPostResponse;
|
10
|
+
}
|
@@ -0,0 +1,45 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __extends = (this && this.__extends) || (function () {
|
3
|
+
var extendStatics = function (d, b) {
|
4
|
+
extendStatics = Object.setPrototypeOf ||
|
5
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
7
|
+
return extendStatics(d, b);
|
8
|
+
};
|
9
|
+
return function (d, b) {
|
10
|
+
if (typeof b !== "function" && b !== null)
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
12
|
+
extendStatics(d, b);
|
13
|
+
function __() { this.constructor = d; }
|
14
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
15
|
+
};
|
16
|
+
})();
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
18
|
+
exports.ListIpsProtectModeUsingPostResponse = void 0;
|
19
|
+
var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
|
20
|
+
var ListIpsProtectModeUsingPostResponse = /** @class */ (function (_super) {
|
21
|
+
__extends(ListIpsProtectModeUsingPostResponse, _super);
|
22
|
+
function ListIpsProtectModeUsingPostResponse() {
|
23
|
+
return _super.call(this) || this;
|
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;
|
41
|
+
return this;
|
42
|
+
};
|
43
|
+
return ListIpsProtectModeUsingPostResponse;
|
44
|
+
}(SdkResponse_1.SdkResponse));
|
45
|
+
exports.ListIpsProtectModeUsingPostResponse = ListIpsProtectModeUsingPostResponse;
|
@@ -0,0 +1,11 @@
|
|
1
|
+
export declare class ListIpsSwitchStatusUsingGetRequest {
|
2
|
+
private 'project_id';
|
3
|
+
private 'object_id';
|
4
|
+
constructor(projectId?: any, objectId?: any);
|
5
|
+
withProjectId(projectId: string): ListIpsSwitchStatusUsingGetRequest;
|
6
|
+
set projectId(projectId: string | undefined);
|
7
|
+
get projectId(): string | undefined;
|
8
|
+
withObjectId(objectId: string): ListIpsSwitchStatusUsingGetRequest;
|
9
|
+
set objectId(objectId: string | undefined);
|
10
|
+
get objectId(): string | undefined;
|
11
|
+
}
|