@huaweicloud/huaweicloud-sdk-cfw 3.1.45 → 3.1.46
Sign up to get free protection for your applications and to get access to all the features.
- package/huaweicloud-sdk-cfw.ts +4 -0
- package/package.json +4 -4
- package/v1/{CfwClient.js → CfwClient.ts} +1741 -1078
- package/v1/CfwRegion.ts +54 -0
- package/v1/model/AddAddressItemsInfoDto.ts +29 -0
- package/v1/model/AddAddressItemsInfoDtoAddressItems.ts +33 -0
- package/v1/model/AddAddressItemsUsingPostRequest.ts +46 -0
- package/v1/model/AddAddressItemsUsingPostResponse.ts +14 -0
- package/v1/model/AddAddressSetDto.ts +49 -0
- package/v1/model/AddAddressSetInfoUsingPostRequest.ts +46 -0
- package/v1/model/AddAddressSetInfoUsingPostResponse.ts +14 -0
- package/v1/model/AddBlackWhiteListDto.ts +66 -0
- package/v1/model/AddBlackWhiteListUsingPostRequest.ts +46 -0
- package/v1/model/AddBlackWhiteListUsingPostResponse.ts +14 -0
- package/v1/model/AddRuleAclDto.ts +41 -0
- package/v1/model/AddRuleAclDtoRules.ts +169 -0
- package/v1/model/AddRuleAclUsingPostRequest.ts +46 -0
- package/v1/model/AddRuleAclUsingPostResponse.ts +14 -0
- package/v1/model/AddServiceItemsUsingPOSTRequestBody.ts +31 -0
- package/v1/model/AddServiceItemsUsingPOSTRequestBodyServiceItems.ts +57 -0
- package/v1/model/AddServiceItemsUsingPostRequest.ts +46 -0
- package/v1/model/AddServiceItemsUsingPostResponse.ts +14 -0
- package/v1/model/AddServiceSetUsingPOSTRequestBody.ts +29 -0
- package/v1/model/AddServiceSetUsingPostRequest.ts +46 -0
- package/v1/model/AddServiceSetUsingPostResponse.ts +14 -0
- package/v1/model/AddressItemListResponseDTOData.ts +38 -0
- package/v1/model/AddressItemListResponseDTODataRecords.ts +43 -0
- package/v1/model/AddressItems.ts +12 -0
- package/v1/model/AddressSetDetailResponseDTOData.ts +41 -0
- package/v1/model/AddressSetListResponseDTOData.ts +27 -0
- package/v1/model/AddressSetListResponseDTODataRecords.ts +49 -0
- package/v1/model/BlackWhiteListResponseData.ts +38 -0
- package/v1/model/BlackWhiteListResponseDataRecords.ts +48 -0
- package/v1/model/ChangeEwProtectStatusRequest.ts +46 -0
- package/v1/model/ChangeEwProtectStatusResponse.ts +25 -0
- package/v1/model/ChangeIpsProtectModeUsingPostRequest.ts +46 -0
- package/v1/model/ChangeIpsProtectModeUsingPostResponse.ts +14 -0
- package/v1/model/ChangeIpsSwitchUsingPostRequest.ts +46 -0
- package/v1/model/ChangeIpsSwitchUsingPostResponse.ts +25 -0
- package/v1/model/ChangeProtectEipRequest.ts +46 -0
- package/v1/model/ChangeProtectEipResponse.ts +14 -0
- package/v1/model/ChangeProtectStatusRequestBody.ts +33 -0
- package/v1/model/ClearAccessLogRuleHitCountsDto.ts +18 -0
- package/v1/model/CommonResponseDTOData.ts +11 -0
- package/v1/model/CountEipsRequest.ts +52 -0
- package/v1/model/CountEipsResponse.ts +14 -0
- package/v1/model/DeleteAclRuleCountRequest.ts +46 -0
- package/v1/model/DeleteAclRuleCountResponse.ts +13 -0
- package/v1/model/DeleteAddressItemUsingDeleteRequest.ts +52 -0
- package/v1/model/DeleteAddressItemUsingDeleteResponse.ts +14 -0
- package/v1/model/DeleteAddressSetInfoUsingDeleteRequest.ts +52 -0
- package/v1/model/DeleteAddressSetInfoUsingDeleteResponse.ts +14 -0
- package/v1/model/DeleteBlackWhiteListUsingDeleteRequest.ts +52 -0
- package/v1/model/DeleteBlackWhiteListUsingDeleteResponse.ts +14 -0
- package/v1/model/DeleteRuleAclUsingDeleteRequest.ts +52 -0
- package/v1/model/DeleteRuleAclUsingDeleteResponse.ts +14 -0
- package/v1/model/DeleteServiceItemUsingDeleteRequest.ts +52 -0
- package/v1/model/DeleteServiceItemUsingDeleteResponse.ts +14 -0
- package/v1/model/DeleteServiceSetUsingDeleteRequest.ts +52 -0
- package/v1/model/DeleteServiceSetUsingDeleteResponse.ts +14 -0
- package/v1/model/DnsServersResponseDTO.ts +44 -0
- package/v1/model/EipCountRespData.ts +39 -0
- package/v1/model/EipOperateProtectReq.ts +37 -0
- package/v1/model/EipOperateProtectReqIpInfos.ts +33 -0
- package/v1/model/EipResource.ts +135 -0
- package/v1/model/EipResponseData.ts +27 -0
- package/v1/model/ErInstance.ts +54 -0
- package/v1/model/EwProtectResourceInfo.ts +75 -0
- package/v1/model/FirewallInstanceResource.ts +72 -0
- package/v1/model/Flavor.ts +60 -0
- package/v1/model/GetEastWestFirewallResponseBody.ts +101 -0
- package/v1/model/GetFirewallInstanceData.ts +27 -0
- package/v1/model/GetFirewallInstanceResponseRecord.ts +170 -0
- package/v1/model/HttpQueryCfwAccessControllerLogsResponseDTOData.ts +22 -0
- package/v1/model/HttpQueryCfwAccessControllerLogsResponseDTODataRecords.ts +109 -0
- package/v1/model/HttpQueryCfwAttackLogsResponseDTOData.ts +22 -0
- package/v1/model/HttpQueryCfwAttackLogsResponseDTODataRecords.ts +178 -0
- package/v1/model/HttpQueryCfwFlowLogsResponseDTOData.ts +22 -0
- package/v1/model/HttpQueryCfwFlowLogsResponseDTODataRecords.ts +117 -0
- package/v1/model/IdObject.ts +11 -0
- package/v1/model/IpsProtectDTO.ts +22 -0
- package/v1/model/IpsProtectModeObject.ts +16 -0
- package/v1/model/IpsSwitchDTO.ts +45 -0
- package/v1/model/IpsSwitchResponseDTO.ts +33 -0
- package/v1/model/ListAccessControlLogsRequest.ts +184 -0
- package/v1/model/ListAccessControlLogsResponse.ts +14 -0
- package/v1/model/ListAddressItemsUsingGetRequest.ts +80 -0
- package/v1/model/ListAddressItemsUsingGetResponse.ts +14 -0
- package/v1/model/ListAddressSetDetailUsingGetRequest.ts +52 -0
- package/v1/model/ListAddressSetDetailUsingGetResponse.ts +14 -0
- package/v1/model/ListAddressSetListUsingGetRequest.ts +100 -0
- package/v1/model/ListAddressSetListUsingGetResponse.ts +14 -0
- package/v1/model/ListAttackLogsRequest.ts +221 -0
- package/v1/model/ListAttackLogsResponse.ts +14 -0
- package/v1/model/ListBlackWhiteListsUsingGetRequest.ts +115 -0
- package/v1/model/ListBlackWhiteListsUsingGetResponse.ts +14 -0
- package/v1/model/ListDnsServersRequest.ts +50 -0
- package/v1/model/ListDnsServersResponse.ts +19 -0
- package/v1/model/ListEastWestFirewallRequest.ts +52 -0
- package/v1/model/ListEastWestFirewallResponse.ts +14 -0
- package/v1/model/ListEipResourcesRequest.ts +147 -0
- package/v1/model/ListEipResourcesResponse.ts +14 -0
- package/v1/model/ListFirewallUsingGetRequest.ts +73 -0
- package/v1/model/ListFirewallUsingGetResponse.ts +14 -0
- package/v1/model/ListFlowLogsRequest.ts +188 -0
- package/v1/model/ListFlowLogsResponse.ts +14 -0
- package/v1/model/ListIpsProtectModeUsingPostRequest.ts +52 -0
- package/v1/model/ListIpsProtectModeUsingPostResponse.ts +14 -0
- package/v1/model/ListIpsSwitchStatusUsingGetRequest.ts +52 -0
- package/v1/model/ListIpsSwitchStatusUsingGetResponse.ts +14 -0
- package/v1/model/ListParseDomainDetailsRequest.ts +52 -0
- package/v1/model/ListParseDomainDetailsResponse.ts +13 -0
- package/v1/model/ListRuleAclUsingPutRequest.ts +58 -0
- package/v1/model/ListRuleAclUsingPutResponse.ts +14 -0
- package/v1/model/ListRuleAclsUsingGetRequest.ts +161 -0
- package/v1/model/ListRuleAclsUsingGetResponse.ts +14 -0
- package/v1/model/ListRuleHitCountDto.ts +18 -0
- package/v1/model/ListRuleHitCountRequest.ts +46 -0
- package/v1/model/ListRuleHitCountResponse.ts +14 -0
- package/v1/model/ListServiceItemsDetailsRequest.ts +75 -0
- package/v1/model/ListServiceItemsDetailsResponse.ts +14 -0
- package/v1/model/ListServiceSetDetailsRequest.ts +52 -0
- package/v1/model/ListServiceSetDetailsResponse.ts +14 -0
- package/v1/model/ListServiceSetRequest.ts +75 -0
- package/v1/model/ListServiceSetResponse.ts +14 -0
- package/v1/model/ListVpcProtectsRequest.ts +52 -0
- package/v1/model/ListVpcProtectsResponse.ts +25 -0
- package/v1/model/OrderRuleAclDto.ts +22 -0
- package/v1/model/Packet.ts +33 -0
- package/v1/model/PacketMessage.ts +33 -0
- package/v1/model/ProtectObjectVO.ts +42 -0
- package/v1/model/RuleAclListResponseDTOData.ts +38 -0
- package/v1/model/RuleAclListResponseDTODataRecords.ts +160 -0
- package/v1/model/RuleAddressDto.ts +61 -0
- package/v1/model/RuleHitCountObject.ts +28 -0
- package/v1/model/RuleHitCountRecords.ts +27 -0
- package/v1/model/RuleId.ts +11 -0
- package/v1/model/RuleIdList.ts +12 -0
- package/v1/model/RuleServiceDto.ts +61 -0
- package/v1/model/ServiceItemIds.ts +12 -0
- package/v1/model/ServiceItemListResponseDtoData.ts +38 -0
- package/v1/model/ServiceItemListResponseDtoDataRecords.ts +54 -0
- package/v1/model/ServiceSet.ts +43 -0
- package/v1/model/ServiceSetDetailResponseDto.ts +22 -0
- package/v1/model/ServiceSetRecords.ts +27 -0
- package/v1/model/SubnetInfo.ts +61 -0
- package/v1/model/SuccessRspData.ts +11 -0
- package/v1/model/Tag.ts +16 -0
- package/v1/model/UpdateAddressSetDto.ts +37 -0
- package/v1/model/UpdateAddressSetInfoUsingPutRequest.ts +58 -0
- package/v1/model/UpdateAddressSetInfoUsingPutResponse.ts +14 -0
- package/v1/model/UpdateBlackWhiteListDto.ts +68 -0
- package/v1/model/UpdateBlackWhiteListUsingPutRequest.ts +58 -0
- package/v1/model/UpdateBlackWhiteListUsingPutResponse.ts +14 -0
- package/v1/model/UpdateDnsServersRequest.ts +46 -0
- package/v1/model/UpdateDnsServersRequestBody.ts +18 -0
- package/v1/model/UpdateDnsServersRequestBodyDnsServer.ts +39 -0
- package/v1/model/UpdateDnsServersResponse.ts +13 -0
- package/v1/model/UpdateRuleAclDto.ts +173 -0
- package/v1/model/UpdateRuleAclUsingPutRequest.ts +58 -0
- package/v1/model/UpdateRuleAclUsingPutResponse.ts +14 -0
- package/v1/model/UpdateServiceSetUsingPUTRequestBody.ts +16 -0
- package/v1/model/UpdateServiceSetUsingPutRequest.ts +58 -0
- package/v1/model/UpdateServiceSetUsingPutResponse.ts +14 -0
- package/v1/model/VPCProtectsVo.ts +67 -0
- package/v1/model/VpcAttachmentDetail.ts +109 -0
- package/v1/model/VpcDetail.ts +26 -0
- package/v1/{public-api.d.ts → public-api.ts} +1 -0
- package/LICENSE +0 -13
- package/README.md +0 -1
- package/huaweicloud-sdk-cfw.d.ts +0 -2
- package/huaweicloud-sdk-cfw.js +0 -31
- package/v1/CfwClient.d.ts +0 -1407
- package/v1/CfwRegion.d.ts +0 -19
- package/v1/CfwRegion.js +0 -51
- package/v1/model/AddAddressItemsInfoDto.d.ts +0 -12
- package/v1/model/AddAddressItemsInfoDto.js +0 -37
- package/v1/model/AddAddressItemsInfoDtoAddressItems.d.ts +0 -13
- package/v1/model/AddAddressItemsInfoDtoAddressItems.js +0 -36
- package/v1/model/AddAddressItemsUsingPostRequest.d.ts +0 -18
- package/v1/model/AddAddressItemsUsingPostRequest.js +0 -56
- package/v1/model/AddAddressItemsUsingPostResponse.d.ts +0 -7
- package/v1/model/AddAddressItemsUsingPostResponse.js +0 -31
- package/v1/model/AddAddressSetDto.d.ts +0 -23
- package/v1/model/AddAddressSetDto.js +0 -56
- package/v1/model/AddAddressSetInfoUsingPostRequest.d.ts +0 -18
- package/v1/model/AddAddressSetInfoUsingPostRequest.js +0 -56
- package/v1/model/AddAddressSetInfoUsingPostResponse.d.ts +0 -7
- package/v1/model/AddAddressSetInfoUsingPostResponse.js +0 -31
- package/v1/model/AddBlackWhiteListDto.d.ts +0 -23
- package/v1/model/AddBlackWhiteListDto.js +0 -74
- package/v1/model/AddBlackWhiteListUsingPostRequest.d.ts +0 -18
- package/v1/model/AddBlackWhiteListUsingPostRequest.js +0 -56
- package/v1/model/AddBlackWhiteListUsingPostResponse.d.ts +0 -7
- package/v1/model/AddBlackWhiteListUsingPostResponse.js +0 -31
- package/v1/model/AddRuleAclDto.d.ts +0 -21
- package/v1/model/AddRuleAclDto.js +0 -44
- package/v1/model/AddRuleAclDtoRules.d.ts +0 -83
- package/v1/model/AddRuleAclDtoRules.js +0 -185
- package/v1/model/AddRuleAclUsingPostRequest.d.ts +0 -18
- package/v1/model/AddRuleAclUsingPostRequest.js +0 -56
- package/v1/model/AddRuleAclUsingPostResponse.d.ts +0 -7
- package/v1/model/AddRuleAclUsingPostResponse.js +0 -31
- package/v1/model/AddServiceItemsUsingPOSTRequestBody.d.ts +0 -12
- package/v1/model/AddServiceItemsUsingPOSTRequestBody.js +0 -39
- package/v1/model/AddServiceItemsUsingPOSTRequestBodyServiceItems.d.ts +0 -21
- package/v1/model/AddServiceItemsUsingPOSTRequestBodyServiceItems.js +0 -66
- package/v1/model/AddServiceItemsUsingPostRequest.d.ts +0 -18
- package/v1/model/AddServiceItemsUsingPostRequest.js +0 -56
- package/v1/model/AddServiceItemsUsingPostResponse.d.ts +0 -7
- package/v1/model/AddServiceItemsUsingPostResponse.js +0 -31
- package/v1/model/AddServiceSetUsingPOSTRequestBody.d.ts +0 -11
- package/v1/model/AddServiceSetUsingPOSTRequestBody.js +0 -33
- package/v1/model/AddServiceSetUsingPostRequest.d.ts +0 -18
- package/v1/model/AddServiceSetUsingPostRequest.js +0 -56
- package/v1/model/AddServiceSetUsingPostResponse.d.ts +0 -7
- package/v1/model/AddServiceSetUsingPostResponse.js +0 -31
- package/v1/model/AddressItemListResponseDTOData.d.ts +0 -16
- package/v1/model/AddressItemListResponseDTOData.js +0 -39
- package/v1/model/AddressItemListResponseDTODataRecords.d.ts +0 -17
- package/v1/model/AddressItemListResponseDTODataRecords.js +0 -49
- package/v1/model/AddressItems.d.ts +0 -6
- package/v1/model/AddressItems.js +0 -13
- package/v1/model/AddressSetDetailResponseDTOData.d.ts +0 -21
- package/v1/model/AddressSetDetailResponseDTOData.js +0 -44
- package/v1/model/AddressSetListResponseDTOData.d.ts +0 -12
- package/v1/model/AddressSetListResponseDTOData.js +0 -25
- package/v1/model/AddressSetListResponseDTODataRecords.d.ts +0 -19
- package/v1/model/AddressSetListResponseDTODataRecords.js +0 -59
- package/v1/model/BlackWhiteListResponseData.d.ts +0 -16
- package/v1/model/BlackWhiteListResponseData.js +0 -39
- package/v1/model/BlackWhiteListResponseDataRecords.d.ts +0 -19
- package/v1/model/BlackWhiteListResponseDataRecords.js +0 -53
- package/v1/model/ChangeEwProtectStatusRequest.d.ts +0 -18
- package/v1/model/ChangeEwProtectStatusRequest.js +0 -56
- package/v1/model/ChangeEwProtectStatusResponse.d.ts +0 -11
- package/v1/model/ChangeEwProtectStatusResponse.js +0 -45
- package/v1/model/ChangeIpsProtectModeUsingPostRequest.d.ts +0 -18
- package/v1/model/ChangeIpsProtectModeUsingPostRequest.js +0 -56
- package/v1/model/ChangeIpsProtectModeUsingPostResponse.d.ts +0 -7
- package/v1/model/ChangeIpsProtectModeUsingPostResponse.js +0 -31
- package/v1/model/ChangeIpsSwitchUsingPostRequest.d.ts +0 -18
- package/v1/model/ChangeIpsSwitchUsingPostRequest.js +0 -56
- package/v1/model/ChangeIpsSwitchUsingPostResponse.d.ts +0 -11
- package/v1/model/ChangeIpsSwitchUsingPostResponse.js +0 -45
- package/v1/model/ChangeProtectEipRequest.d.ts +0 -18
- package/v1/model/ChangeProtectEipRequest.js +0 -56
- package/v1/model/ChangeProtectEipResponse.d.ts +0 -7
- package/v1/model/ChangeProtectEipResponse.js +0 -31
- package/v1/model/ChangeProtectStatusRequestBody.d.ts +0 -17
- package/v1/model/ChangeProtectStatusRequestBody.js +0 -38
- package/v1/model/ClearAccessLogRuleHitCountsDto.d.ts +0 -7
- package/v1/model/ClearAccessLogRuleHitCountsDto.js +0 -24
- package/v1/model/CommonResponseDTOData.d.ts +0 -5
- package/v1/model/CommonResponseDTOData.js +0 -13
- package/v1/model/CountEipsRequest.d.ts +0 -19
- package/v1/model/CountEipsRequest.js +0 -67
- package/v1/model/CountEipsResponse.d.ts +0 -7
- package/v1/model/CountEipsResponse.js +0 -31
- package/v1/model/DeleteAclRuleCountRequest.d.ts +0 -18
- package/v1/model/DeleteAclRuleCountRequest.js +0 -56
- package/v1/model/DeleteAclRuleCountResponse.d.ts +0 -6
- package/v1/model/DeleteAclRuleCountResponse.js +0 -31
- package/v1/model/DeleteAddressItemUsingDeleteRequest.d.ts +0 -19
- package/v1/model/DeleteAddressItemUsingDeleteRequest.js +0 -67
- package/v1/model/DeleteAddressItemUsingDeleteResponse.d.ts +0 -7
- package/v1/model/DeleteAddressItemUsingDeleteResponse.js +0 -31
- package/v1/model/DeleteAddressSetInfoUsingDeleteRequest.d.ts +0 -19
- package/v1/model/DeleteAddressSetInfoUsingDeleteRequest.js +0 -67
- package/v1/model/DeleteAddressSetInfoUsingDeleteResponse.d.ts +0 -7
- package/v1/model/DeleteAddressSetInfoUsingDeleteResponse.js +0 -31
- package/v1/model/DeleteBlackWhiteListUsingDeleteRequest.d.ts +0 -19
- package/v1/model/DeleteBlackWhiteListUsingDeleteRequest.js +0 -67
- package/v1/model/DeleteBlackWhiteListUsingDeleteResponse.d.ts +0 -7
- package/v1/model/DeleteBlackWhiteListUsingDeleteResponse.js +0 -31
- package/v1/model/DeleteRuleAclUsingDeleteRequest.d.ts +0 -19
- package/v1/model/DeleteRuleAclUsingDeleteRequest.js +0 -67
- package/v1/model/DeleteRuleAclUsingDeleteResponse.d.ts +0 -7
- package/v1/model/DeleteRuleAclUsingDeleteResponse.js +0 -31
- package/v1/model/DeleteServiceItemUsingDeleteRequest.d.ts +0 -19
- package/v1/model/DeleteServiceItemUsingDeleteRequest.js +0 -67
- package/v1/model/DeleteServiceItemUsingDeleteResponse.d.ts +0 -7
- package/v1/model/DeleteServiceItemUsingDeleteResponse.js +0 -31
- package/v1/model/DeleteServiceSetUsingDeleteRequest.d.ts +0 -19
- package/v1/model/DeleteServiceSetUsingDeleteRequest.js +0 -67
- package/v1/model/DeleteServiceSetUsingDeleteResponse.d.ts +0 -7
- package/v1/model/DeleteServiceSetUsingDeleteResponse.js +0 -31
- package/v1/model/DnsServersResponseDTO.d.ts +0 -17
- package/v1/model/DnsServersResponseDTO.js +0 -55
- package/v1/model/EipCountRespData.d.ts +0 -15
- package/v1/model/EipCountRespData.js +0 -51
- package/v1/model/EipOperateProtectReq.d.ts +0 -14
- package/v1/model/EipOperateProtectReq.js +0 -44
- package/v1/model/EipOperateProtectReqIpInfos.d.ts +0 -13
- package/v1/model/EipOperateProtectReqIpInfos.js +0 -41
- package/v1/model/EipResource.d.ts +0 -55
- package/v1/model/EipResource.js +0 -166
- package/v1/model/EipResponseData.d.ts +0 -12
- package/v1/model/EipResponseData.js +0 -25
- package/v1/model/ErInstance.d.ts +0 -21
- package/v1/model/ErInstance.js +0 -63
- package/v1/model/EwProtectResourceInfo.d.ts +0 -27
- package/v1/model/EwProtectResourceInfo.js +0 -96
- package/v1/model/FirewallInstanceResource.d.ts +0 -27
- package/v1/model/FirewallInstanceResource.js +0 -93
- package/v1/model/Flavor.d.ts +0 -29
- package/v1/model/Flavor.js +0 -70
- package/v1/model/GetEastWestFirewallResponseBody.d.ts +0 -41
- package/v1/model/GetEastWestFirewallResponseBody.js +0 -113
- package/v1/model/GetFirewallInstanceData.d.ts +0 -12
- package/v1/model/GetFirewallInstanceData.js +0 -25
- package/v1/model/GetFirewallInstanceResponseRecord.d.ts +0 -83
- package/v1/model/GetFirewallInstanceResponseRecord.js +0 -199
- package/v1/model/HttpQueryCfwAccessControllerLogsResponseDTOData.d.ts +0 -10
- package/v1/model/HttpQueryCfwAccessControllerLogsResponseDTOData.js +0 -21
- package/v1/model/HttpQueryCfwAccessControllerLogsResponseDTODataRecords.d.ts +0 -41
- package/v1/model/HttpQueryCfwAccessControllerLogsResponseDTODataRecords.js +0 -133
- package/v1/model/HttpQueryCfwAttackLogsResponseDTOData.d.ts +0 -10
- package/v1/model/HttpQueryCfwAttackLogsResponseDTOData.js +0 -21
- package/v1/model/HttpQueryCfwAttackLogsResponseDTODataRecords.d.ts +0 -73
- package/v1/model/HttpQueryCfwAttackLogsResponseDTODataRecords.js +0 -204
- package/v1/model/HttpQueryCfwFlowLogsResponseDTOData.d.ts +0 -10
- package/v1/model/HttpQueryCfwFlowLogsResponseDTOData.js +0 -21
- package/v1/model/HttpQueryCfwFlowLogsResponseDTODataRecords.d.ts +0 -49
- package/v1/model/HttpQueryCfwFlowLogsResponseDTODataRecords.js +0 -136
- package/v1/model/IdObject.d.ts +0 -5
- package/v1/model/IdObject.js +0 -13
- package/v1/model/IpsProtectDTO.d.ts +0 -9
- package/v1/model/IpsProtectDTO.js +0 -27
- package/v1/model/IpsProtectModeObject.d.ts +0 -7
- package/v1/model/IpsProtectModeObject.js +0 -17
- package/v1/model/IpsSwitchDTO.d.ts +0 -21
- package/v1/model/IpsSwitchDTO.js +0 -53
- package/v1/model/IpsSwitchResponseDTO.d.ts +0 -13
- package/v1/model/IpsSwitchResponseDTO.js +0 -41
- package/v1/model/ListAccessControlLogsRequest.d.ts +0 -72
- package/v1/model/ListAccessControlLogsRequest.js +0 -222
- package/v1/model/ListAccessControlLogsResponse.d.ts +0 -7
- package/v1/model/ListAccessControlLogsResponse.js +0 -31
- package/v1/model/ListAddressItemsUsingGetRequest.d.ts +0 -29
- package/v1/model/ListAddressItemsUsingGetRequest.js +0 -95
- package/v1/model/ListAddressItemsUsingGetResponse.d.ts +0 -7
- package/v1/model/ListAddressItemsUsingGetResponse.js +0 -31
- package/v1/model/ListAddressSetDetailUsingGetRequest.d.ts +0 -19
- package/v1/model/ListAddressSetDetailUsingGetRequest.js +0 -67
- package/v1/model/ListAddressSetDetailUsingGetResponse.d.ts +0 -7
- package/v1/model/ListAddressSetDetailUsingGetResponse.js +0 -31
- package/v1/model/ListAddressSetListUsingGetRequest.d.ts +0 -41
- package/v1/model/ListAddressSetListUsingGetRequest.js +0 -118
- package/v1/model/ListAddressSetListUsingGetResponse.d.ts +0 -7
- package/v1/model/ListAddressSetListUsingGetResponse.js +0 -31
- package/v1/model/ListAttackLogsRequest.d.ts +0 -97
- package/v1/model/ListAttackLogsRequest.js +0 -257
- package/v1/model/ListAttackLogsResponse.d.ts +0 -7
- package/v1/model/ListAttackLogsResponse.js +0 -31
- package/v1/model/ListBlackWhiteListsUsingGetRequest.d.ts +0 -52
- package/v1/model/ListBlackWhiteListsUsingGetRequest.js +0 -133
- package/v1/model/ListBlackWhiteListsUsingGetResponse.d.ts +0 -7
- package/v1/model/ListBlackWhiteListsUsingGetResponse.js +0 -31
- package/v1/model/ListDnsServersRequest.d.ts +0 -19
- package/v1/model/ListDnsServersRequest.js +0 -60
- package/v1/model/ListDnsServersResponse.d.ts +0 -9
- package/v1/model/ListDnsServersResponse.js +0 -35
- package/v1/model/ListEastWestFirewallRequest.d.ts +0 -19
- package/v1/model/ListEastWestFirewallRequest.js +0 -62
- package/v1/model/ListEastWestFirewallResponse.d.ts +0 -7
- package/v1/model/ListEastWestFirewallResponse.js +0 -31
- package/v1/model/ListEipResourcesRequest.d.ts +0 -64
- package/v1/model/ListEipResourcesRequest.js +0 -174
- package/v1/model/ListEipResourcesResponse.d.ts +0 -7
- package/v1/model/ListEipResourcesResponse.js +0 -31
- package/v1/model/ListFirewallUsingGetRequest.d.ts +0 -31
- package/v1/model/ListFirewallUsingGetRequest.js +0 -86
- package/v1/model/ListFirewallUsingGetResponse.d.ts +0 -7
- package/v1/model/ListFirewallUsingGetResponse.js +0 -31
- package/v1/model/ListFlowLogsRequest.d.ts +0 -80
- package/v1/model/ListFlowLogsRequest.js +0 -223
- package/v1/model/ListFlowLogsResponse.d.ts +0 -7
- package/v1/model/ListFlowLogsResponse.js +0 -31
- package/v1/model/ListIpsProtectModeUsingPostRequest.d.ts +0 -19
- package/v1/model/ListIpsProtectModeUsingPostRequest.js +0 -67
- package/v1/model/ListIpsProtectModeUsingPostResponse.d.ts +0 -7
- package/v1/model/ListIpsProtectModeUsingPostResponse.js +0 -31
- package/v1/model/ListIpsSwitchStatusUsingGetRequest.d.ts +0 -19
- package/v1/model/ListIpsSwitchStatusUsingGetRequest.js +0 -67
- package/v1/model/ListIpsSwitchStatusUsingGetResponse.d.ts +0 -7
- package/v1/model/ListIpsSwitchStatusUsingGetResponse.js +0 -31
- package/v1/model/ListParseDomainDetailsRequest.d.ts +0 -19
- package/v1/model/ListParseDomainDetailsRequest.js +0 -67
- package/v1/model/ListParseDomainDetailsResponse.d.ts +0 -6
- package/v1/model/ListParseDomainDetailsResponse.js +0 -31
- package/v1/model/ListRuleAclUsingPutRequest.d.ts +0 -22
- package/v1/model/ListRuleAclUsingPutRequest.js +0 -71
- package/v1/model/ListRuleAclUsingPutResponse.d.ts +0 -7
- package/v1/model/ListRuleAclUsingPutResponse.js +0 -31
- package/v1/model/ListRuleAclsUsingGetRequest.d.ts +0 -87
- package/v1/model/ListRuleAclsUsingGetRequest.js +0 -178
- package/v1/model/ListRuleAclsUsingGetResponse.d.ts +0 -7
- package/v1/model/ListRuleAclsUsingGetResponse.js +0 -31
- package/v1/model/ListRuleHitCountDto.d.ts +0 -7
- package/v1/model/ListRuleHitCountDto.js +0 -24
- package/v1/model/ListRuleHitCountRequest.d.ts +0 -18
- package/v1/model/ListRuleHitCountRequest.js +0 -56
- package/v1/model/ListRuleHitCountResponse.d.ts +0 -7
- package/v1/model/ListRuleHitCountResponse.js +0 -31
- package/v1/model/ListServiceItemsDetailsRequest.d.ts +0 -27
- package/v1/model/ListServiceItemsDetailsRequest.js +0 -91
- package/v1/model/ListServiceItemsDetailsResponse.d.ts +0 -7
- package/v1/model/ListServiceItemsDetailsResponse.js +0 -31
- package/v1/model/ListServiceSetDetailsRequest.d.ts +0 -19
- package/v1/model/ListServiceSetDetailsRequest.js +0 -67
- package/v1/model/ListServiceSetDetailsResponse.d.ts +0 -7
- package/v1/model/ListServiceSetDetailsResponse.js +0 -31
- package/v1/model/ListServiceSetRequest.d.ts +0 -27
- package/v1/model/ListServiceSetRequest.js +0 -91
- package/v1/model/ListServiceSetResponse.d.ts +0 -7
- package/v1/model/ListServiceSetResponse.js +0 -31
- package/v1/model/ListVpcProtectsRequest.d.ts +0 -19
- package/v1/model/ListVpcProtectsRequest.js +0 -67
- package/v1/model/ListVpcProtectsResponse.d.ts +0 -11
- package/v1/model/ListVpcProtectsResponse.js +0 -45
- package/v1/model/OrderRuleAclDto.d.ts +0 -9
- package/v1/model/OrderRuleAclDto.js +0 -27
- package/v1/model/Packet.d.ts +0 -13
- package/v1/model/Packet.js +0 -41
- package/v1/model/PacketMessage.d.ts +0 -13
- package/v1/model/PacketMessage.js +0 -41
- package/v1/model/ProtectObjectVO.d.ts +0 -21
- package/v1/model/ProtectObjectVO.js +0 -50
- package/v1/model/RuleAclListResponseDTOData.d.ts +0 -16
- package/v1/model/RuleAclListResponseDTOData.js +0 -39
- package/v1/model/RuleAclListResponseDTODataRecords.d.ts +0 -73
- package/v1/model/RuleAclListResponseDTODataRecords.js +0 -176
- package/v1/model/RuleAddressDto.d.ts +0 -23
- package/v1/model/RuleAddressDto.js +0 -74
- package/v1/model/RuleHitCountObject.d.ts +0 -11
- package/v1/model/RuleHitCountObject.js +0 -37
- package/v1/model/RuleHitCountRecords.d.ts +0 -12
- package/v1/model/RuleHitCountRecords.js +0 -25
- package/v1/model/RuleId.d.ts +0 -5
- package/v1/model/RuleId.js +0 -13
- package/v1/model/RuleIdList.d.ts +0 -6
- package/v1/model/RuleIdList.js +0 -13
- package/v1/model/RuleServiceDto.d.ts +0 -23
- package/v1/model/RuleServiceDto.js +0 -74
- package/v1/model/ServiceItemIds.d.ts +0 -6
- package/v1/model/ServiceItemIds.js +0 -13
- package/v1/model/ServiceItemListResponseDtoData.d.ts +0 -16
- package/v1/model/ServiceItemListResponseDtoData.js +0 -39
- package/v1/model/ServiceItemListResponseDtoDataRecords.d.ts +0 -21
- package/v1/model/ServiceItemListResponseDtoDataRecords.js +0 -63
- package/v1/model/ServiceSet.d.ts +0 -17
- package/v1/model/ServiceSet.js +0 -49
- package/v1/model/ServiceSetDetailResponseDto.d.ts +0 -9
- package/v1/model/ServiceSetDetailResponseDto.js +0 -22
- package/v1/model/ServiceSetRecords.d.ts +0 -12
- package/v1/model/ServiceSetRecords.js +0 -25
- package/v1/model/SubnetInfo.d.ts +0 -23
- package/v1/model/SubnetInfo.js +0 -69
- package/v1/model/SuccessRspData.d.ts +0 -5
- package/v1/model/SuccessRspData.js +0 -13
- package/v1/model/Tag.d.ts +0 -7
- package/v1/model/Tag.js +0 -17
- package/v1/model/UpdateAddressSetDto.d.ts +0 -20
- package/v1/model/UpdateAddressSetDto.js +0 -41
- package/v1/model/UpdateAddressSetInfoUsingPutRequest.d.ts +0 -22
- package/v1/model/UpdateAddressSetInfoUsingPutRequest.js +0 -71
- package/v1/model/UpdateAddressSetInfoUsingPutResponse.d.ts +0 -7
- package/v1/model/UpdateAddressSetInfoUsingPutResponse.js +0 -31
- package/v1/model/UpdateBlackWhiteListDto.d.ts +0 -31
- package/v1/model/UpdateBlackWhiteListDto.js +0 -76
- package/v1/model/UpdateBlackWhiteListUsingPutRequest.d.ts +0 -22
- package/v1/model/UpdateBlackWhiteListUsingPutRequest.js +0 -71
- package/v1/model/UpdateBlackWhiteListUsingPutResponse.d.ts +0 -7
- package/v1/model/UpdateBlackWhiteListUsingPutResponse.js +0 -31
- package/v1/model/UpdateDnsServersRequest.d.ts +0 -18
- package/v1/model/UpdateDnsServersRequest.js +0 -56
- package/v1/model/UpdateDnsServersRequestBody.d.ts +0 -8
- package/v1/model/UpdateDnsServersRequestBody.js +0 -23
- package/v1/model/UpdateDnsServersRequestBodyDnsServer.d.ts +0 -15
- package/v1/model/UpdateDnsServersRequestBodyDnsServer.js +0 -51
- package/v1/model/UpdateDnsServersResponse.d.ts +0 -6
- package/v1/model/UpdateDnsServersResponse.js +0 -31
- package/v1/model/UpdateRuleAclDto.d.ts +0 -93
- package/v1/model/UpdateRuleAclDto.js +0 -189
- package/v1/model/UpdateRuleAclUsingPutRequest.d.ts +0 -22
- package/v1/model/UpdateRuleAclUsingPutRequest.js +0 -71
- package/v1/model/UpdateRuleAclUsingPutResponse.d.ts +0 -7
- package/v1/model/UpdateRuleAclUsingPutResponse.js +0 -31
- package/v1/model/UpdateServiceSetUsingPUTRequestBody.d.ts +0 -7
- package/v1/model/UpdateServiceSetUsingPUTRequestBody.js +0 -17
- package/v1/model/UpdateServiceSetUsingPutRequest.d.ts +0 -22
- package/v1/model/UpdateServiceSetUsingPutRequest.js +0 -71
- package/v1/model/UpdateServiceSetUsingPutResponse.d.ts +0 -7
- package/v1/model/UpdateServiceSetUsingPutResponse.js +0 -31
- package/v1/model/VPCProtectsVo.d.ts +0 -26
- package/v1/model/VPCProtectsVo.js +0 -83
- package/v1/model/VpcAttachmentDetail.d.ts +0 -42
- package/v1/model/VpcAttachmentDetail.js +0 -127
- package/v1/model/VpcDetail.d.ts +0 -11
- package/v1/model/VpcDetail.js +0 -25
- package/v1/public-api.js +0 -181
@@ -0,0 +1,60 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
export class Flavor {
|
4
|
+
public version?: FlavorVersionEnum;
|
5
|
+
private 'eip_count'?: number | undefined;
|
6
|
+
private 'vpc_count'?: number | undefined;
|
7
|
+
public bandwidth?: number;
|
8
|
+
private 'log_storage'?: number | undefined;
|
9
|
+
public constructor() {
|
10
|
+
}
|
11
|
+
public withVersion(version: FlavorVersionEnum): Flavor {
|
12
|
+
this['version'] = version;
|
13
|
+
return this;
|
14
|
+
}
|
15
|
+
public withEipCount(eipCount: number): Flavor {
|
16
|
+
this['eip_count'] = eipCount;
|
17
|
+
return this;
|
18
|
+
}
|
19
|
+
public set eipCount(eipCount: number | undefined) {
|
20
|
+
this['eip_count'] = eipCount;
|
21
|
+
}
|
22
|
+
public get eipCount() {
|
23
|
+
return this['eip_count'];
|
24
|
+
}
|
25
|
+
public withVpcCount(vpcCount: number): Flavor {
|
26
|
+
this['vpc_count'] = vpcCount;
|
27
|
+
return this;
|
28
|
+
}
|
29
|
+
public set vpcCount(vpcCount: number | undefined) {
|
30
|
+
this['vpc_count'] = vpcCount;
|
31
|
+
}
|
32
|
+
public get vpcCount() {
|
33
|
+
return this['vpc_count'];
|
34
|
+
}
|
35
|
+
public withBandwidth(bandwidth: number): Flavor {
|
36
|
+
this['bandwidth'] = bandwidth;
|
37
|
+
return this;
|
38
|
+
}
|
39
|
+
public withLogStorage(logStorage: number): Flavor {
|
40
|
+
this['log_storage'] = logStorage;
|
41
|
+
return this;
|
42
|
+
}
|
43
|
+
public set logStorage(logStorage: number | undefined) {
|
44
|
+
this['log_storage'] = logStorage;
|
45
|
+
}
|
46
|
+
public get logStorage() {
|
47
|
+
return this['log_storage'];
|
48
|
+
}
|
49
|
+
}
|
50
|
+
|
51
|
+
/**
|
52
|
+
* @export
|
53
|
+
* @enum {string}
|
54
|
+
*/
|
55
|
+
export enum FlavorVersionEnum {
|
56
|
+
NUMBER_0 = 0,
|
57
|
+
NUMBER_1 = 1,
|
58
|
+
NUMBER_2 = 2,
|
59
|
+
NUMBER_3 = 3
|
60
|
+
}
|
@@ -0,0 +1,101 @@
|
|
1
|
+
import { ErInstance } from './ErInstance';
|
2
|
+
import { EwProtectResourceInfo } from './EwProtectResourceInfo';
|
3
|
+
import { SubnetInfo } from './SubnetInfo';
|
4
|
+
import { VpcDetail } from './VpcDetail';
|
5
|
+
|
6
|
+
|
7
|
+
export class GetEastWestFirewallResponseBody {
|
8
|
+
private 'object_id'?: string | undefined;
|
9
|
+
private 'project_id'?: string | undefined;
|
10
|
+
public status?: number;
|
11
|
+
private 'er_associated_subnet'?: SubnetInfo | undefined;
|
12
|
+
private 'firewall_associated_subnets'?: Array<SubnetInfo> | undefined;
|
13
|
+
public er?: ErInstance;
|
14
|
+
private 'inspection_vpc'?: VpcDetail | undefined;
|
15
|
+
private 'protect_infos'?: Array<EwProtectResourceInfo> | undefined;
|
16
|
+
public total?: number;
|
17
|
+
public offset?: number;
|
18
|
+
public limit?: number;
|
19
|
+
public constructor() {
|
20
|
+
}
|
21
|
+
public withObjectId(objectId: string): GetEastWestFirewallResponseBody {
|
22
|
+
this['object_id'] = objectId;
|
23
|
+
return this;
|
24
|
+
}
|
25
|
+
public set objectId(objectId: string | undefined) {
|
26
|
+
this['object_id'] = objectId;
|
27
|
+
}
|
28
|
+
public get objectId() {
|
29
|
+
return this['object_id'];
|
30
|
+
}
|
31
|
+
public withProjectId(projectId: string): GetEastWestFirewallResponseBody {
|
32
|
+
this['project_id'] = projectId;
|
33
|
+
return this;
|
34
|
+
}
|
35
|
+
public set projectId(projectId: string | undefined) {
|
36
|
+
this['project_id'] = projectId;
|
37
|
+
}
|
38
|
+
public get projectId() {
|
39
|
+
return this['project_id'];
|
40
|
+
}
|
41
|
+
public withStatus(status: number): GetEastWestFirewallResponseBody {
|
42
|
+
this['status'] = status;
|
43
|
+
return this;
|
44
|
+
}
|
45
|
+
public withErAssociatedSubnet(erAssociatedSubnet: SubnetInfo): GetEastWestFirewallResponseBody {
|
46
|
+
this['er_associated_subnet'] = erAssociatedSubnet;
|
47
|
+
return this;
|
48
|
+
}
|
49
|
+
public set erAssociatedSubnet(erAssociatedSubnet: SubnetInfo | undefined) {
|
50
|
+
this['er_associated_subnet'] = erAssociatedSubnet;
|
51
|
+
}
|
52
|
+
public get erAssociatedSubnet() {
|
53
|
+
return this['er_associated_subnet'];
|
54
|
+
}
|
55
|
+
public withFirewallAssociatedSubnets(firewallAssociatedSubnets: Array<SubnetInfo>): GetEastWestFirewallResponseBody {
|
56
|
+
this['firewall_associated_subnets'] = firewallAssociatedSubnets;
|
57
|
+
return this;
|
58
|
+
}
|
59
|
+
public set firewallAssociatedSubnets(firewallAssociatedSubnets: Array<SubnetInfo> | undefined) {
|
60
|
+
this['firewall_associated_subnets'] = firewallAssociatedSubnets;
|
61
|
+
}
|
62
|
+
public get firewallAssociatedSubnets() {
|
63
|
+
return this['firewall_associated_subnets'];
|
64
|
+
}
|
65
|
+
public withEr(er: ErInstance): GetEastWestFirewallResponseBody {
|
66
|
+
this['er'] = er;
|
67
|
+
return this;
|
68
|
+
}
|
69
|
+
public withInspectionVpc(inspectionVpc: VpcDetail): GetEastWestFirewallResponseBody {
|
70
|
+
this['inspection_vpc'] = inspectionVpc;
|
71
|
+
return this;
|
72
|
+
}
|
73
|
+
public set inspectionVpc(inspectionVpc: VpcDetail | undefined) {
|
74
|
+
this['inspection_vpc'] = inspectionVpc;
|
75
|
+
}
|
76
|
+
public get inspectionVpc() {
|
77
|
+
return this['inspection_vpc'];
|
78
|
+
}
|
79
|
+
public withProtectInfos(protectInfos: Array<EwProtectResourceInfo>): GetEastWestFirewallResponseBody {
|
80
|
+
this['protect_infos'] = protectInfos;
|
81
|
+
return this;
|
82
|
+
}
|
83
|
+
public set protectInfos(protectInfos: Array<EwProtectResourceInfo> | undefined) {
|
84
|
+
this['protect_infos'] = protectInfos;
|
85
|
+
}
|
86
|
+
public get protectInfos() {
|
87
|
+
return this['protect_infos'];
|
88
|
+
}
|
89
|
+
public withTotal(total: number): GetEastWestFirewallResponseBody {
|
90
|
+
this['total'] = total;
|
91
|
+
return this;
|
92
|
+
}
|
93
|
+
public withOffset(offset: number): GetEastWestFirewallResponseBody {
|
94
|
+
this['offset'] = offset;
|
95
|
+
return this;
|
96
|
+
}
|
97
|
+
public withLimit(limit: number): GetEastWestFirewallResponseBody {
|
98
|
+
this['limit'] = limit;
|
99
|
+
return this;
|
100
|
+
}
|
101
|
+
}
|
@@ -0,0 +1,27 @@
|
|
1
|
+
import { GetFirewallInstanceResponseRecord } from './GetFirewallInstanceResponseRecord';
|
2
|
+
|
3
|
+
|
4
|
+
export class GetFirewallInstanceData {
|
5
|
+
public limit?: number;
|
6
|
+
public offset?: number;
|
7
|
+
public total?: number;
|
8
|
+
public records?: Array<GetFirewallInstanceResponseRecord>;
|
9
|
+
public constructor() {
|
10
|
+
}
|
11
|
+
public withLimit(limit: number): GetFirewallInstanceData {
|
12
|
+
this['limit'] = limit;
|
13
|
+
return this;
|
14
|
+
}
|
15
|
+
public withOffset(offset: number): GetFirewallInstanceData {
|
16
|
+
this['offset'] = offset;
|
17
|
+
return this;
|
18
|
+
}
|
19
|
+
public withTotal(total: number): GetFirewallInstanceData {
|
20
|
+
this['total'] = total;
|
21
|
+
return this;
|
22
|
+
}
|
23
|
+
public withRecords(records: Array<GetFirewallInstanceResponseRecord>): GetFirewallInstanceData {
|
24
|
+
this['records'] = records;
|
25
|
+
return this;
|
26
|
+
}
|
27
|
+
}
|
@@ -0,0 +1,170 @@
|
|
1
|
+
import { FirewallInstanceResource } from './FirewallInstanceResource';
|
2
|
+
import { Flavor } from './Flavor';
|
3
|
+
import { ProtectObjectVO } from './ProtectObjectVO';
|
4
|
+
|
5
|
+
|
6
|
+
export class GetFirewallInstanceResponseRecord {
|
7
|
+
private 'fw_instance_id'?: string | undefined;
|
8
|
+
public name?: string;
|
9
|
+
private 'ha_type'?: number | undefined;
|
10
|
+
private 'charge_mode'?: number | undefined;
|
11
|
+
private 'service_type'?: number | undefined;
|
12
|
+
private 'engine_type'?: number | undefined;
|
13
|
+
public flavor?: Flavor;
|
14
|
+
private 'protect_objects'?: Array<ProtectObjectVO> | undefined;
|
15
|
+
public status?: GetFirewallInstanceResponseRecordStatusEnum;
|
16
|
+
private 'is_old_firewall_instance'?: boolean | undefined;
|
17
|
+
private 'support_ipv6'?: boolean | undefined;
|
18
|
+
private 'feature_toggle'?: { [key: string]: boolean; } | undefined;
|
19
|
+
public resources?: Array<FirewallInstanceResource>;
|
20
|
+
private 'fw_instance_name'?: string | undefined;
|
21
|
+
private 'enterprise_project_id'?: string | undefined;
|
22
|
+
public constructor() {
|
23
|
+
}
|
24
|
+
public withFwInstanceId(fwInstanceId: string): GetFirewallInstanceResponseRecord {
|
25
|
+
this['fw_instance_id'] = fwInstanceId;
|
26
|
+
return this;
|
27
|
+
}
|
28
|
+
public set fwInstanceId(fwInstanceId: string | undefined) {
|
29
|
+
this['fw_instance_id'] = fwInstanceId;
|
30
|
+
}
|
31
|
+
public get fwInstanceId() {
|
32
|
+
return this['fw_instance_id'];
|
33
|
+
}
|
34
|
+
public withName(name: string): GetFirewallInstanceResponseRecord {
|
35
|
+
this['name'] = name;
|
36
|
+
return this;
|
37
|
+
}
|
38
|
+
public withHaType(haType: number): GetFirewallInstanceResponseRecord {
|
39
|
+
this['ha_type'] = haType;
|
40
|
+
return this;
|
41
|
+
}
|
42
|
+
public set haType(haType: number | undefined) {
|
43
|
+
this['ha_type'] = haType;
|
44
|
+
}
|
45
|
+
public get haType() {
|
46
|
+
return this['ha_type'];
|
47
|
+
}
|
48
|
+
public withChargeMode(chargeMode: number): GetFirewallInstanceResponseRecord {
|
49
|
+
this['charge_mode'] = chargeMode;
|
50
|
+
return this;
|
51
|
+
}
|
52
|
+
public set chargeMode(chargeMode: number | undefined) {
|
53
|
+
this['charge_mode'] = chargeMode;
|
54
|
+
}
|
55
|
+
public get chargeMode() {
|
56
|
+
return this['charge_mode'];
|
57
|
+
}
|
58
|
+
public withServiceType(serviceType: number): GetFirewallInstanceResponseRecord {
|
59
|
+
this['service_type'] = serviceType;
|
60
|
+
return this;
|
61
|
+
}
|
62
|
+
public set serviceType(serviceType: number | undefined) {
|
63
|
+
this['service_type'] = serviceType;
|
64
|
+
}
|
65
|
+
public get serviceType() {
|
66
|
+
return this['service_type'];
|
67
|
+
}
|
68
|
+
public withEngineType(engineType: number): GetFirewallInstanceResponseRecord {
|
69
|
+
this['engine_type'] = engineType;
|
70
|
+
return this;
|
71
|
+
}
|
72
|
+
public set engineType(engineType: number | undefined) {
|
73
|
+
this['engine_type'] = engineType;
|
74
|
+
}
|
75
|
+
public get engineType() {
|
76
|
+
return this['engine_type'];
|
77
|
+
}
|
78
|
+
public withFlavor(flavor: Flavor): GetFirewallInstanceResponseRecord {
|
79
|
+
this['flavor'] = flavor;
|
80
|
+
return this;
|
81
|
+
}
|
82
|
+
public withProtectObjects(protectObjects: Array<ProtectObjectVO>): GetFirewallInstanceResponseRecord {
|
83
|
+
this['protect_objects'] = protectObjects;
|
84
|
+
return this;
|
85
|
+
}
|
86
|
+
public set protectObjects(protectObjects: Array<ProtectObjectVO> | undefined) {
|
87
|
+
this['protect_objects'] = protectObjects;
|
88
|
+
}
|
89
|
+
public get protectObjects() {
|
90
|
+
return this['protect_objects'];
|
91
|
+
}
|
92
|
+
public withStatus(status: GetFirewallInstanceResponseRecordStatusEnum): GetFirewallInstanceResponseRecord {
|
93
|
+
this['status'] = status;
|
94
|
+
return this;
|
95
|
+
}
|
96
|
+
public withIsOldFirewallInstance(isOldFirewallInstance: boolean): GetFirewallInstanceResponseRecord {
|
97
|
+
this['is_old_firewall_instance'] = isOldFirewallInstance;
|
98
|
+
return this;
|
99
|
+
}
|
100
|
+
public set isOldFirewallInstance(isOldFirewallInstance: boolean | undefined) {
|
101
|
+
this['is_old_firewall_instance'] = isOldFirewallInstance;
|
102
|
+
}
|
103
|
+
public get isOldFirewallInstance() {
|
104
|
+
return this['is_old_firewall_instance'];
|
105
|
+
}
|
106
|
+
public withSupportIpv6(supportIpv6: boolean): GetFirewallInstanceResponseRecord {
|
107
|
+
this['support_ipv6'] = supportIpv6;
|
108
|
+
return this;
|
109
|
+
}
|
110
|
+
public set supportIpv6(supportIpv6: boolean | undefined) {
|
111
|
+
this['support_ipv6'] = supportIpv6;
|
112
|
+
}
|
113
|
+
public get supportIpv6() {
|
114
|
+
return this['support_ipv6'];
|
115
|
+
}
|
116
|
+
public withFeatureToggle(featureToggle: { [key: string]: boolean; }): GetFirewallInstanceResponseRecord {
|
117
|
+
this['feature_toggle'] = featureToggle;
|
118
|
+
return this;
|
119
|
+
}
|
120
|
+
public set featureToggle(featureToggle: { [key: string]: boolean; } | undefined) {
|
121
|
+
this['feature_toggle'] = featureToggle;
|
122
|
+
}
|
123
|
+
public get featureToggle() {
|
124
|
+
return this['feature_toggle'];
|
125
|
+
}
|
126
|
+
public withResources(resources: Array<FirewallInstanceResource>): GetFirewallInstanceResponseRecord {
|
127
|
+
this['resources'] = resources;
|
128
|
+
return this;
|
129
|
+
}
|
130
|
+
public withFwInstanceName(fwInstanceName: string): GetFirewallInstanceResponseRecord {
|
131
|
+
this['fw_instance_name'] = fwInstanceName;
|
132
|
+
return this;
|
133
|
+
}
|
134
|
+
public set fwInstanceName(fwInstanceName: string | undefined) {
|
135
|
+
this['fw_instance_name'] = fwInstanceName;
|
136
|
+
}
|
137
|
+
public get fwInstanceName() {
|
138
|
+
return this['fw_instance_name'];
|
139
|
+
}
|
140
|
+
public withEnterpriseProjectId(enterpriseProjectId: string): GetFirewallInstanceResponseRecord {
|
141
|
+
this['enterprise_project_id'] = enterpriseProjectId;
|
142
|
+
return this;
|
143
|
+
}
|
144
|
+
public set enterpriseProjectId(enterpriseProjectId: string | undefined) {
|
145
|
+
this['enterprise_project_id'] = enterpriseProjectId;
|
146
|
+
}
|
147
|
+
public get enterpriseProjectId() {
|
148
|
+
return this['enterprise_project_id'];
|
149
|
+
}
|
150
|
+
}
|
151
|
+
|
152
|
+
/**
|
153
|
+
* @export
|
154
|
+
* @enum {string}
|
155
|
+
*/
|
156
|
+
export enum GetFirewallInstanceResponseRecordStatusEnum {
|
157
|
+
NUMBER_MINUS_1 = -1,
|
158
|
+
NUMBER_0 = 0,
|
159
|
+
NUMBER_1 = 1,
|
160
|
+
NUMBER_2 = 2,
|
161
|
+
NUMBER_3 = 3,
|
162
|
+
NUMBER_4 = 4,
|
163
|
+
NUMBER_5 = 5,
|
164
|
+
NUMBER_6 = 6,
|
165
|
+
NUMBER_7 = 7,
|
166
|
+
NUMBER_8 = 8,
|
167
|
+
NUMBER_9 = 9,
|
168
|
+
NUMBER_10 = 10,
|
169
|
+
NUMBER_11 = 11
|
170
|
+
}
|
@@ -0,0 +1,22 @@
|
|
1
|
+
import { HttpQueryCfwAccessControllerLogsResponseDTODataRecords } from './HttpQueryCfwAccessControllerLogsResponseDTODataRecords';
|
2
|
+
|
3
|
+
|
4
|
+
export class HttpQueryCfwAccessControllerLogsResponseDTOData {
|
5
|
+
public total?: number;
|
6
|
+
public limit?: number;
|
7
|
+
public records?: Array<HttpQueryCfwAccessControllerLogsResponseDTODataRecords>;
|
8
|
+
public constructor() {
|
9
|
+
}
|
10
|
+
public withTotal(total: number): HttpQueryCfwAccessControllerLogsResponseDTOData {
|
11
|
+
this['total'] = total;
|
12
|
+
return this;
|
13
|
+
}
|
14
|
+
public withLimit(limit: number): HttpQueryCfwAccessControllerLogsResponseDTOData {
|
15
|
+
this['limit'] = limit;
|
16
|
+
return this;
|
17
|
+
}
|
18
|
+
public withRecords(records: Array<HttpQueryCfwAccessControllerLogsResponseDTODataRecords>): HttpQueryCfwAccessControllerLogsResponseDTOData {
|
19
|
+
this['records'] = records;
|
20
|
+
return this;
|
21
|
+
}
|
22
|
+
}
|
@@ -0,0 +1,109 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
export class HttpQueryCfwAccessControllerLogsResponseDTODataRecords {
|
4
|
+
public action?: string;
|
5
|
+
private 'rule_name'?: string | undefined;
|
6
|
+
private 'rule_id'?: string | undefined;
|
7
|
+
private 'hit_time'?: number | undefined;
|
8
|
+
private 'log_id'?: string | undefined;
|
9
|
+
private 'src_ip'?: string | undefined;
|
10
|
+
private 'src_port'?: string | undefined;
|
11
|
+
private 'dst_ip'?: string | undefined;
|
12
|
+
private 'dst_port'?: string | undefined;
|
13
|
+
public protocol?: string;
|
14
|
+
public app?: string;
|
15
|
+
public constructor() {
|
16
|
+
}
|
17
|
+
public withAction(action: string): HttpQueryCfwAccessControllerLogsResponseDTODataRecords {
|
18
|
+
this['action'] = action;
|
19
|
+
return this;
|
20
|
+
}
|
21
|
+
public withRuleName(ruleName: string): HttpQueryCfwAccessControllerLogsResponseDTODataRecords {
|
22
|
+
this['rule_name'] = ruleName;
|
23
|
+
return this;
|
24
|
+
}
|
25
|
+
public set ruleName(ruleName: string | undefined) {
|
26
|
+
this['rule_name'] = ruleName;
|
27
|
+
}
|
28
|
+
public get ruleName() {
|
29
|
+
return this['rule_name'];
|
30
|
+
}
|
31
|
+
public withRuleId(ruleId: string): HttpQueryCfwAccessControllerLogsResponseDTODataRecords {
|
32
|
+
this['rule_id'] = ruleId;
|
33
|
+
return this;
|
34
|
+
}
|
35
|
+
public set ruleId(ruleId: string | undefined) {
|
36
|
+
this['rule_id'] = ruleId;
|
37
|
+
}
|
38
|
+
public get ruleId() {
|
39
|
+
return this['rule_id'];
|
40
|
+
}
|
41
|
+
public withHitTime(hitTime: number): HttpQueryCfwAccessControllerLogsResponseDTODataRecords {
|
42
|
+
this['hit_time'] = hitTime;
|
43
|
+
return this;
|
44
|
+
}
|
45
|
+
public set hitTime(hitTime: number | undefined) {
|
46
|
+
this['hit_time'] = hitTime;
|
47
|
+
}
|
48
|
+
public get hitTime() {
|
49
|
+
return this['hit_time'];
|
50
|
+
}
|
51
|
+
public withLogId(logId: string): HttpQueryCfwAccessControllerLogsResponseDTODataRecords {
|
52
|
+
this['log_id'] = logId;
|
53
|
+
return this;
|
54
|
+
}
|
55
|
+
public set logId(logId: string | undefined) {
|
56
|
+
this['log_id'] = logId;
|
57
|
+
}
|
58
|
+
public get logId() {
|
59
|
+
return this['log_id'];
|
60
|
+
}
|
61
|
+
public withSrcIp(srcIp: string): HttpQueryCfwAccessControllerLogsResponseDTODataRecords {
|
62
|
+
this['src_ip'] = srcIp;
|
63
|
+
return this;
|
64
|
+
}
|
65
|
+
public set srcIp(srcIp: string | undefined) {
|
66
|
+
this['src_ip'] = srcIp;
|
67
|
+
}
|
68
|
+
public get srcIp() {
|
69
|
+
return this['src_ip'];
|
70
|
+
}
|
71
|
+
public withSrcPort(srcPort: string): HttpQueryCfwAccessControllerLogsResponseDTODataRecords {
|
72
|
+
this['src_port'] = srcPort;
|
73
|
+
return this;
|
74
|
+
}
|
75
|
+
public set srcPort(srcPort: string | undefined) {
|
76
|
+
this['src_port'] = srcPort;
|
77
|
+
}
|
78
|
+
public get srcPort() {
|
79
|
+
return this['src_port'];
|
80
|
+
}
|
81
|
+
public withDstIp(dstIp: string): HttpQueryCfwAccessControllerLogsResponseDTODataRecords {
|
82
|
+
this['dst_ip'] = dstIp;
|
83
|
+
return this;
|
84
|
+
}
|
85
|
+
public set dstIp(dstIp: string | undefined) {
|
86
|
+
this['dst_ip'] = dstIp;
|
87
|
+
}
|
88
|
+
public get dstIp() {
|
89
|
+
return this['dst_ip'];
|
90
|
+
}
|
91
|
+
public withDstPort(dstPort: string): HttpQueryCfwAccessControllerLogsResponseDTODataRecords {
|
92
|
+
this['dst_port'] = dstPort;
|
93
|
+
return this;
|
94
|
+
}
|
95
|
+
public set dstPort(dstPort: string | undefined) {
|
96
|
+
this['dst_port'] = dstPort;
|
97
|
+
}
|
98
|
+
public get dstPort() {
|
99
|
+
return this['dst_port'];
|
100
|
+
}
|
101
|
+
public withProtocol(protocol: string): HttpQueryCfwAccessControllerLogsResponseDTODataRecords {
|
102
|
+
this['protocol'] = protocol;
|
103
|
+
return this;
|
104
|
+
}
|
105
|
+
public withApp(app: string): HttpQueryCfwAccessControllerLogsResponseDTODataRecords {
|
106
|
+
this['app'] = app;
|
107
|
+
return this;
|
108
|
+
}
|
109
|
+
}
|
@@ -0,0 +1,22 @@
|
|
1
|
+
import { HttpQueryCfwAttackLogsResponseDTODataRecords } from './HttpQueryCfwAttackLogsResponseDTODataRecords';
|
2
|
+
|
3
|
+
|
4
|
+
export class HttpQueryCfwAttackLogsResponseDTOData {
|
5
|
+
public total?: number;
|
6
|
+
public limit?: number;
|
7
|
+
public records?: Array<HttpQueryCfwAttackLogsResponseDTODataRecords>;
|
8
|
+
public constructor() {
|
9
|
+
}
|
10
|
+
public withTotal(total: number): HttpQueryCfwAttackLogsResponseDTOData {
|
11
|
+
this['total'] = total;
|
12
|
+
return this;
|
13
|
+
}
|
14
|
+
public withLimit(limit: number): HttpQueryCfwAttackLogsResponseDTOData {
|
15
|
+
this['limit'] = limit;
|
16
|
+
return this;
|
17
|
+
}
|
18
|
+
public withRecords(records: Array<HttpQueryCfwAttackLogsResponseDTODataRecords>): HttpQueryCfwAttackLogsResponseDTOData {
|
19
|
+
this['records'] = records;
|
20
|
+
return this;
|
21
|
+
}
|
22
|
+
}
|
@@ -0,0 +1,178 @@
|
|
1
|
+
import { Packet } from './Packet';
|
2
|
+
import { PacketMessage } from './PacketMessage';
|
3
|
+
|
4
|
+
|
5
|
+
export class HttpQueryCfwAttackLogsResponseDTODataRecords {
|
6
|
+
public direction?: HttpQueryCfwAttackLogsResponseDTODataRecordsDirectionEnum;
|
7
|
+
public action?: string;
|
8
|
+
private 'event_time'?: string | undefined;
|
9
|
+
private 'attack_type'?: string | undefined;
|
10
|
+
private 'attack_rule'?: string | undefined;
|
11
|
+
public level?: string;
|
12
|
+
public source?: string;
|
13
|
+
private 'packet_length'?: number | undefined;
|
14
|
+
private 'attack_rule_id'?: number | undefined;
|
15
|
+
private 'hit_time'?: number | undefined;
|
16
|
+
private 'log_id'?: string | undefined;
|
17
|
+
private 'src_ip'?: string | undefined;
|
18
|
+
private 'src_port'?: number | undefined;
|
19
|
+
private 'dst_ip'?: string | undefined;
|
20
|
+
private 'dst_port'?: number | undefined;
|
21
|
+
public protocol?: string;
|
22
|
+
public packet?: Packet;
|
23
|
+
public app?: string;
|
24
|
+
public packetMessages?: Array<PacketMessage>;
|
25
|
+
public constructor() {
|
26
|
+
}
|
27
|
+
public withDirection(direction: HttpQueryCfwAttackLogsResponseDTODataRecordsDirectionEnum): HttpQueryCfwAttackLogsResponseDTODataRecords {
|
28
|
+
this['direction'] = direction;
|
29
|
+
return this;
|
30
|
+
}
|
31
|
+
public withAction(action: string): HttpQueryCfwAttackLogsResponseDTODataRecords {
|
32
|
+
this['action'] = action;
|
33
|
+
return this;
|
34
|
+
}
|
35
|
+
public withEventTime(eventTime: string): HttpQueryCfwAttackLogsResponseDTODataRecords {
|
36
|
+
this['event_time'] = eventTime;
|
37
|
+
return this;
|
38
|
+
}
|
39
|
+
public set eventTime(eventTime: string | undefined) {
|
40
|
+
this['event_time'] = eventTime;
|
41
|
+
}
|
42
|
+
public get eventTime() {
|
43
|
+
return this['event_time'];
|
44
|
+
}
|
45
|
+
public withAttackType(attackType: string): HttpQueryCfwAttackLogsResponseDTODataRecords {
|
46
|
+
this['attack_type'] = attackType;
|
47
|
+
return this;
|
48
|
+
}
|
49
|
+
public set attackType(attackType: string | undefined) {
|
50
|
+
this['attack_type'] = attackType;
|
51
|
+
}
|
52
|
+
public get attackType() {
|
53
|
+
return this['attack_type'];
|
54
|
+
}
|
55
|
+
public withAttackRule(attackRule: string): HttpQueryCfwAttackLogsResponseDTODataRecords {
|
56
|
+
this['attack_rule'] = attackRule;
|
57
|
+
return this;
|
58
|
+
}
|
59
|
+
public set attackRule(attackRule: string | undefined) {
|
60
|
+
this['attack_rule'] = attackRule;
|
61
|
+
}
|
62
|
+
public get attackRule() {
|
63
|
+
return this['attack_rule'];
|
64
|
+
}
|
65
|
+
public withLevel(level: string): HttpQueryCfwAttackLogsResponseDTODataRecords {
|
66
|
+
this['level'] = level;
|
67
|
+
return this;
|
68
|
+
}
|
69
|
+
public withSource(source: string): HttpQueryCfwAttackLogsResponseDTODataRecords {
|
70
|
+
this['source'] = source;
|
71
|
+
return this;
|
72
|
+
}
|
73
|
+
public withPacketLength(packetLength: number): HttpQueryCfwAttackLogsResponseDTODataRecords {
|
74
|
+
this['packet_length'] = packetLength;
|
75
|
+
return this;
|
76
|
+
}
|
77
|
+
public set packetLength(packetLength: number | undefined) {
|
78
|
+
this['packet_length'] = packetLength;
|
79
|
+
}
|
80
|
+
public get packetLength() {
|
81
|
+
return this['packet_length'];
|
82
|
+
}
|
83
|
+
public withAttackRuleId(attackRuleId: number): HttpQueryCfwAttackLogsResponseDTODataRecords {
|
84
|
+
this['attack_rule_id'] = attackRuleId;
|
85
|
+
return this;
|
86
|
+
}
|
87
|
+
public set attackRuleId(attackRuleId: number | undefined) {
|
88
|
+
this['attack_rule_id'] = attackRuleId;
|
89
|
+
}
|
90
|
+
public get attackRuleId() {
|
91
|
+
return this['attack_rule_id'];
|
92
|
+
}
|
93
|
+
public withHitTime(hitTime: number): HttpQueryCfwAttackLogsResponseDTODataRecords {
|
94
|
+
this['hit_time'] = hitTime;
|
95
|
+
return this;
|
96
|
+
}
|
97
|
+
public set hitTime(hitTime: number | undefined) {
|
98
|
+
this['hit_time'] = hitTime;
|
99
|
+
}
|
100
|
+
public get hitTime() {
|
101
|
+
return this['hit_time'];
|
102
|
+
}
|
103
|
+
public withLogId(logId: string): HttpQueryCfwAttackLogsResponseDTODataRecords {
|
104
|
+
this['log_id'] = logId;
|
105
|
+
return this;
|
106
|
+
}
|
107
|
+
public set logId(logId: string | undefined) {
|
108
|
+
this['log_id'] = logId;
|
109
|
+
}
|
110
|
+
public get logId() {
|
111
|
+
return this['log_id'];
|
112
|
+
}
|
113
|
+
public withSrcIp(srcIp: string): HttpQueryCfwAttackLogsResponseDTODataRecords {
|
114
|
+
this['src_ip'] = srcIp;
|
115
|
+
return this;
|
116
|
+
}
|
117
|
+
public set srcIp(srcIp: string | undefined) {
|
118
|
+
this['src_ip'] = srcIp;
|
119
|
+
}
|
120
|
+
public get srcIp() {
|
121
|
+
return this['src_ip'];
|
122
|
+
}
|
123
|
+
public withSrcPort(srcPort: number): HttpQueryCfwAttackLogsResponseDTODataRecords {
|
124
|
+
this['src_port'] = srcPort;
|
125
|
+
return this;
|
126
|
+
}
|
127
|
+
public set srcPort(srcPort: number | undefined) {
|
128
|
+
this['src_port'] = srcPort;
|
129
|
+
}
|
130
|
+
public get srcPort() {
|
131
|
+
return this['src_port'];
|
132
|
+
}
|
133
|
+
public withDstIp(dstIp: string): HttpQueryCfwAttackLogsResponseDTODataRecords {
|
134
|
+
this['dst_ip'] = dstIp;
|
135
|
+
return this;
|
136
|
+
}
|
137
|
+
public set dstIp(dstIp: string | undefined) {
|
138
|
+
this['dst_ip'] = dstIp;
|
139
|
+
}
|
140
|
+
public get dstIp() {
|
141
|
+
return this['dst_ip'];
|
142
|
+
}
|
143
|
+
public withDstPort(dstPort: number): HttpQueryCfwAttackLogsResponseDTODataRecords {
|
144
|
+
this['dst_port'] = dstPort;
|
145
|
+
return this;
|
146
|
+
}
|
147
|
+
public set dstPort(dstPort: number | undefined) {
|
148
|
+
this['dst_port'] = dstPort;
|
149
|
+
}
|
150
|
+
public get dstPort() {
|
151
|
+
return this['dst_port'];
|
152
|
+
}
|
153
|
+
public withProtocol(protocol: string): HttpQueryCfwAttackLogsResponseDTODataRecords {
|
154
|
+
this['protocol'] = protocol;
|
155
|
+
return this;
|
156
|
+
}
|
157
|
+
public withPacket(packet: Packet): HttpQueryCfwAttackLogsResponseDTODataRecords {
|
158
|
+
this['packet'] = packet;
|
159
|
+
return this;
|
160
|
+
}
|
161
|
+
public withApp(app: string): HttpQueryCfwAttackLogsResponseDTODataRecords {
|
162
|
+
this['app'] = app;
|
163
|
+
return this;
|
164
|
+
}
|
165
|
+
public withPacketMessages(packetMessages: Array<PacketMessage>): HttpQueryCfwAttackLogsResponseDTODataRecords {
|
166
|
+
this['packetMessages'] = packetMessages;
|
167
|
+
return this;
|
168
|
+
}
|
169
|
+
}
|
170
|
+
|
171
|
+
/**
|
172
|
+
* @export
|
173
|
+
* @enum {string}
|
174
|
+
*/
|
175
|
+
export enum HttpQueryCfwAttackLogsResponseDTODataRecordsDirectionEnum {
|
176
|
+
OUT2IN = 'out2in',
|
177
|
+
IN2OUT = 'in2out'
|
178
|
+
}
|