@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,22 @@
|
|
1
|
+
import { HttpQueryCfwFlowLogsResponseDTODataRecords } from './HttpQueryCfwFlowLogsResponseDTODataRecords';
|
2
|
+
|
3
|
+
|
4
|
+
export class HttpQueryCfwFlowLogsResponseDTOData {
|
5
|
+
public total?: number;
|
6
|
+
public limit?: number;
|
7
|
+
public records?: Array<HttpQueryCfwFlowLogsResponseDTODataRecords>;
|
8
|
+
public constructor() {
|
9
|
+
}
|
10
|
+
public withTotal(total: number): HttpQueryCfwFlowLogsResponseDTOData {
|
11
|
+
this['total'] = total;
|
12
|
+
return this;
|
13
|
+
}
|
14
|
+
public withLimit(limit: number): HttpQueryCfwFlowLogsResponseDTOData {
|
15
|
+
this['limit'] = limit;
|
16
|
+
return this;
|
17
|
+
}
|
18
|
+
public withRecords(records: Array<HttpQueryCfwFlowLogsResponseDTODataRecords>): HttpQueryCfwFlowLogsResponseDTOData {
|
19
|
+
this['records'] = records;
|
20
|
+
return this;
|
21
|
+
}
|
22
|
+
}
|
@@ -0,0 +1,117 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
export class HttpQueryCfwFlowLogsResponseDTODataRecords {
|
4
|
+
public bytes?: number;
|
5
|
+
public direction?: HttpQueryCfwFlowLogsResponseDTODataRecordsDirectionEnum;
|
6
|
+
public packets?: number;
|
7
|
+
private 'start_time'?: number | undefined;
|
8
|
+
private 'end_time'?: number | undefined;
|
9
|
+
private 'log_id'?: string | undefined;
|
10
|
+
private 'src_ip'?: string | undefined;
|
11
|
+
private 'src_port'?: string | undefined;
|
12
|
+
private 'dst_ip'?: string | undefined;
|
13
|
+
public app?: string;
|
14
|
+
private 'dst_port'?: string | undefined;
|
15
|
+
public protocol?: string;
|
16
|
+
public constructor() {
|
17
|
+
}
|
18
|
+
public withBytes(bytes: number): HttpQueryCfwFlowLogsResponseDTODataRecords {
|
19
|
+
this['bytes'] = bytes;
|
20
|
+
return this;
|
21
|
+
}
|
22
|
+
public withDirection(direction: HttpQueryCfwFlowLogsResponseDTODataRecordsDirectionEnum): HttpQueryCfwFlowLogsResponseDTODataRecords {
|
23
|
+
this['direction'] = direction;
|
24
|
+
return this;
|
25
|
+
}
|
26
|
+
public withPackets(packets: number): HttpQueryCfwFlowLogsResponseDTODataRecords {
|
27
|
+
this['packets'] = packets;
|
28
|
+
return this;
|
29
|
+
}
|
30
|
+
public withStartTime(startTime: number): HttpQueryCfwFlowLogsResponseDTODataRecords {
|
31
|
+
this['start_time'] = startTime;
|
32
|
+
return this;
|
33
|
+
}
|
34
|
+
public set startTime(startTime: number | undefined) {
|
35
|
+
this['start_time'] = startTime;
|
36
|
+
}
|
37
|
+
public get startTime() {
|
38
|
+
return this['start_time'];
|
39
|
+
}
|
40
|
+
public withEndTime(endTime: number): HttpQueryCfwFlowLogsResponseDTODataRecords {
|
41
|
+
this['end_time'] = endTime;
|
42
|
+
return this;
|
43
|
+
}
|
44
|
+
public set endTime(endTime: number | undefined) {
|
45
|
+
this['end_time'] = endTime;
|
46
|
+
}
|
47
|
+
public get endTime() {
|
48
|
+
return this['end_time'];
|
49
|
+
}
|
50
|
+
public withLogId(logId: string): HttpQueryCfwFlowLogsResponseDTODataRecords {
|
51
|
+
this['log_id'] = logId;
|
52
|
+
return this;
|
53
|
+
}
|
54
|
+
public set logId(logId: string | undefined) {
|
55
|
+
this['log_id'] = logId;
|
56
|
+
}
|
57
|
+
public get logId() {
|
58
|
+
return this['log_id'];
|
59
|
+
}
|
60
|
+
public withSrcIp(srcIp: string): HttpQueryCfwFlowLogsResponseDTODataRecords {
|
61
|
+
this['src_ip'] = srcIp;
|
62
|
+
return this;
|
63
|
+
}
|
64
|
+
public set srcIp(srcIp: string | undefined) {
|
65
|
+
this['src_ip'] = srcIp;
|
66
|
+
}
|
67
|
+
public get srcIp() {
|
68
|
+
return this['src_ip'];
|
69
|
+
}
|
70
|
+
public withSrcPort(srcPort: string): HttpQueryCfwFlowLogsResponseDTODataRecords {
|
71
|
+
this['src_port'] = srcPort;
|
72
|
+
return this;
|
73
|
+
}
|
74
|
+
public set srcPort(srcPort: string | undefined) {
|
75
|
+
this['src_port'] = srcPort;
|
76
|
+
}
|
77
|
+
public get srcPort() {
|
78
|
+
return this['src_port'];
|
79
|
+
}
|
80
|
+
public withDstIp(dstIp: string): HttpQueryCfwFlowLogsResponseDTODataRecords {
|
81
|
+
this['dst_ip'] = dstIp;
|
82
|
+
return this;
|
83
|
+
}
|
84
|
+
public set dstIp(dstIp: string | undefined) {
|
85
|
+
this['dst_ip'] = dstIp;
|
86
|
+
}
|
87
|
+
public get dstIp() {
|
88
|
+
return this['dst_ip'];
|
89
|
+
}
|
90
|
+
public withApp(app: string): HttpQueryCfwFlowLogsResponseDTODataRecords {
|
91
|
+
this['app'] = app;
|
92
|
+
return this;
|
93
|
+
}
|
94
|
+
public withDstPort(dstPort: string): HttpQueryCfwFlowLogsResponseDTODataRecords {
|
95
|
+
this['dst_port'] = dstPort;
|
96
|
+
return this;
|
97
|
+
}
|
98
|
+
public set dstPort(dstPort: string | undefined) {
|
99
|
+
this['dst_port'] = dstPort;
|
100
|
+
}
|
101
|
+
public get dstPort() {
|
102
|
+
return this['dst_port'];
|
103
|
+
}
|
104
|
+
public withProtocol(protocol: string): HttpQueryCfwFlowLogsResponseDTODataRecords {
|
105
|
+
this['protocol'] = protocol;
|
106
|
+
return this;
|
107
|
+
}
|
108
|
+
}
|
109
|
+
|
110
|
+
/**
|
111
|
+
* @export
|
112
|
+
* @enum {string}
|
113
|
+
*/
|
114
|
+
export enum HttpQueryCfwFlowLogsResponseDTODataRecordsDirectionEnum {
|
115
|
+
OUT2IN = 'out2in',
|
116
|
+
IN2OUT = 'in2out'
|
117
|
+
}
|
@@ -0,0 +1,22 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
export class IpsProtectDTO {
|
4
|
+
private 'object_id'?: string | undefined;
|
5
|
+
public mode?: number;
|
6
|
+
public constructor() {
|
7
|
+
}
|
8
|
+
public withObjectId(objectId: string): IpsProtectDTO {
|
9
|
+
this['object_id'] = objectId;
|
10
|
+
return this;
|
11
|
+
}
|
12
|
+
public set objectId(objectId: string | undefined) {
|
13
|
+
this['object_id'] = objectId;
|
14
|
+
}
|
15
|
+
public get objectId() {
|
16
|
+
return this['object_id'];
|
17
|
+
}
|
18
|
+
public withMode(mode: number): IpsProtectDTO {
|
19
|
+
this['mode'] = mode;
|
20
|
+
return this;
|
21
|
+
}
|
22
|
+
}
|
@@ -0,0 +1,16 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
export class IpsProtectModeObject {
|
4
|
+
public id?: string;
|
5
|
+
public mode?: number;
|
6
|
+
public constructor() {
|
7
|
+
}
|
8
|
+
public withId(id: string): IpsProtectModeObject {
|
9
|
+
this['id'] = id;
|
10
|
+
return this;
|
11
|
+
}
|
12
|
+
public withMode(mode: number): IpsProtectModeObject {
|
13
|
+
this['mode'] = mode;
|
14
|
+
return this;
|
15
|
+
}
|
16
|
+
}
|
@@ -0,0 +1,45 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
export class IpsSwitchDTO {
|
4
|
+
private 'object_id': string | undefined;
|
5
|
+
private 'ips_type': IpsSwitchDTOIpsTypeEnum | undefined;
|
6
|
+
public status: number;
|
7
|
+
public constructor(objectId?: any, ipsType?: any, status?: any) {
|
8
|
+
this['object_id'] = objectId;
|
9
|
+
this['ips_type'] = ipsType;
|
10
|
+
this['status'] = status;
|
11
|
+
}
|
12
|
+
public withObjectId(objectId: string): IpsSwitchDTO {
|
13
|
+
this['object_id'] = objectId;
|
14
|
+
return this;
|
15
|
+
}
|
16
|
+
public set objectId(objectId: string | undefined) {
|
17
|
+
this['object_id'] = objectId;
|
18
|
+
}
|
19
|
+
public get objectId() {
|
20
|
+
return this['object_id'];
|
21
|
+
}
|
22
|
+
public withIpsType(ipsType: IpsSwitchDTOIpsTypeEnum): IpsSwitchDTO {
|
23
|
+
this['ips_type'] = ipsType;
|
24
|
+
return this;
|
25
|
+
}
|
26
|
+
public set ipsType(ipsType: IpsSwitchDTOIpsTypeEnum | undefined) {
|
27
|
+
this['ips_type'] = ipsType;
|
28
|
+
}
|
29
|
+
public get ipsType() {
|
30
|
+
return this['ips_type'];
|
31
|
+
}
|
32
|
+
public withStatus(status: number): IpsSwitchDTO {
|
33
|
+
this['status'] = status;
|
34
|
+
return this;
|
35
|
+
}
|
36
|
+
}
|
37
|
+
|
38
|
+
/**
|
39
|
+
* @export
|
40
|
+
* @enum {string}
|
41
|
+
*/
|
42
|
+
export enum IpsSwitchDTOIpsTypeEnum {
|
43
|
+
NUMBER_1 = 1,
|
44
|
+
NUMBER_2 = 2
|
45
|
+
}
|
@@ -0,0 +1,33 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
export class IpsSwitchResponseDTO {
|
4
|
+
public id?: string;
|
5
|
+
private 'basic_defense_status'?: number | undefined;
|
6
|
+
private 'virtual_patches_status'?: number | undefined;
|
7
|
+
public constructor() {
|
8
|
+
}
|
9
|
+
public withId(id: string): IpsSwitchResponseDTO {
|
10
|
+
this['id'] = id;
|
11
|
+
return this;
|
12
|
+
}
|
13
|
+
public withBasicDefenseStatus(basicDefenseStatus: number): IpsSwitchResponseDTO {
|
14
|
+
this['basic_defense_status'] = basicDefenseStatus;
|
15
|
+
return this;
|
16
|
+
}
|
17
|
+
public set basicDefenseStatus(basicDefenseStatus: number | undefined) {
|
18
|
+
this['basic_defense_status'] = basicDefenseStatus;
|
19
|
+
}
|
20
|
+
public get basicDefenseStatus() {
|
21
|
+
return this['basic_defense_status'];
|
22
|
+
}
|
23
|
+
public withVirtualPatchesStatus(virtualPatchesStatus: number): IpsSwitchResponseDTO {
|
24
|
+
this['virtual_patches_status'] = virtualPatchesStatus;
|
25
|
+
return this;
|
26
|
+
}
|
27
|
+
public set virtualPatchesStatus(virtualPatchesStatus: number | undefined) {
|
28
|
+
this['virtual_patches_status'] = virtualPatchesStatus;
|
29
|
+
}
|
30
|
+
public get virtualPatchesStatus() {
|
31
|
+
return this['virtual_patches_status'];
|
32
|
+
}
|
33
|
+
}
|
@@ -0,0 +1,184 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
export class ListAccessControlLogsRequest {
|
4
|
+
private 'project_id': string | undefined;
|
5
|
+
private 'fw_instance_id': string | undefined;
|
6
|
+
private 'rule_id'?: string | undefined;
|
7
|
+
private 'start_time': number | undefined;
|
8
|
+
private 'end_time': number | undefined;
|
9
|
+
private 'src_ip'?: string | undefined;
|
10
|
+
private 'src_port'?: number | undefined;
|
11
|
+
private 'dst_ip'?: string | undefined;
|
12
|
+
private 'dst_port'?: number | undefined;
|
13
|
+
public protocol?: string;
|
14
|
+
public app?: string;
|
15
|
+
private 'log_id'?: string | undefined;
|
16
|
+
private 'next_date'?: number | undefined;
|
17
|
+
public offset?: number;
|
18
|
+
public limit: number;
|
19
|
+
private 'log_type'?: ListAccessControlLogsRequestLogTypeEnum | undefined;
|
20
|
+
private 'enterprise_project_id'?: string | undefined;
|
21
|
+
public constructor(projectId?: any, fwInstanceId?: any, startTime?: any, endTime?: any, limit?: any) {
|
22
|
+
this['project_id'] = projectId;
|
23
|
+
this['fw_instance_id'] = fwInstanceId;
|
24
|
+
this['start_time'] = startTime;
|
25
|
+
this['end_time'] = endTime;
|
26
|
+
this['limit'] = limit;
|
27
|
+
}
|
28
|
+
public withProjectId(projectId: string): ListAccessControlLogsRequest {
|
29
|
+
this['project_id'] = projectId;
|
30
|
+
return this;
|
31
|
+
}
|
32
|
+
public set projectId(projectId: string | undefined) {
|
33
|
+
this['project_id'] = projectId;
|
34
|
+
}
|
35
|
+
public get projectId() {
|
36
|
+
return this['project_id'];
|
37
|
+
}
|
38
|
+
public withFwInstanceId(fwInstanceId: string): ListAccessControlLogsRequest {
|
39
|
+
this['fw_instance_id'] = fwInstanceId;
|
40
|
+
return this;
|
41
|
+
}
|
42
|
+
public set fwInstanceId(fwInstanceId: string | undefined) {
|
43
|
+
this['fw_instance_id'] = fwInstanceId;
|
44
|
+
}
|
45
|
+
public get fwInstanceId() {
|
46
|
+
return this['fw_instance_id'];
|
47
|
+
}
|
48
|
+
public withRuleId(ruleId: string): ListAccessControlLogsRequest {
|
49
|
+
this['rule_id'] = ruleId;
|
50
|
+
return this;
|
51
|
+
}
|
52
|
+
public set ruleId(ruleId: string | undefined) {
|
53
|
+
this['rule_id'] = ruleId;
|
54
|
+
}
|
55
|
+
public get ruleId() {
|
56
|
+
return this['rule_id'];
|
57
|
+
}
|
58
|
+
public withStartTime(startTime: number): ListAccessControlLogsRequest {
|
59
|
+
this['start_time'] = startTime;
|
60
|
+
return this;
|
61
|
+
}
|
62
|
+
public set startTime(startTime: number | undefined) {
|
63
|
+
this['start_time'] = startTime;
|
64
|
+
}
|
65
|
+
public get startTime() {
|
66
|
+
return this['start_time'];
|
67
|
+
}
|
68
|
+
public withEndTime(endTime: number): ListAccessControlLogsRequest {
|
69
|
+
this['end_time'] = endTime;
|
70
|
+
return this;
|
71
|
+
}
|
72
|
+
public set endTime(endTime: number | undefined) {
|
73
|
+
this['end_time'] = endTime;
|
74
|
+
}
|
75
|
+
public get endTime() {
|
76
|
+
return this['end_time'];
|
77
|
+
}
|
78
|
+
public withSrcIp(srcIp: string): ListAccessControlLogsRequest {
|
79
|
+
this['src_ip'] = srcIp;
|
80
|
+
return this;
|
81
|
+
}
|
82
|
+
public set srcIp(srcIp: string | undefined) {
|
83
|
+
this['src_ip'] = srcIp;
|
84
|
+
}
|
85
|
+
public get srcIp() {
|
86
|
+
return this['src_ip'];
|
87
|
+
}
|
88
|
+
public withSrcPort(srcPort: number): ListAccessControlLogsRequest {
|
89
|
+
this['src_port'] = srcPort;
|
90
|
+
return this;
|
91
|
+
}
|
92
|
+
public set srcPort(srcPort: number | undefined) {
|
93
|
+
this['src_port'] = srcPort;
|
94
|
+
}
|
95
|
+
public get srcPort() {
|
96
|
+
return this['src_port'];
|
97
|
+
}
|
98
|
+
public withDstIp(dstIp: string): ListAccessControlLogsRequest {
|
99
|
+
this['dst_ip'] = dstIp;
|
100
|
+
return this;
|
101
|
+
}
|
102
|
+
public set dstIp(dstIp: string | undefined) {
|
103
|
+
this['dst_ip'] = dstIp;
|
104
|
+
}
|
105
|
+
public get dstIp() {
|
106
|
+
return this['dst_ip'];
|
107
|
+
}
|
108
|
+
public withDstPort(dstPort: number): ListAccessControlLogsRequest {
|
109
|
+
this['dst_port'] = dstPort;
|
110
|
+
return this;
|
111
|
+
}
|
112
|
+
public set dstPort(dstPort: number | undefined) {
|
113
|
+
this['dst_port'] = dstPort;
|
114
|
+
}
|
115
|
+
public get dstPort() {
|
116
|
+
return this['dst_port'];
|
117
|
+
}
|
118
|
+
public withProtocol(protocol: string): ListAccessControlLogsRequest {
|
119
|
+
this['protocol'] = protocol;
|
120
|
+
return this;
|
121
|
+
}
|
122
|
+
public withApp(app: string): ListAccessControlLogsRequest {
|
123
|
+
this['app'] = app;
|
124
|
+
return this;
|
125
|
+
}
|
126
|
+
public withLogId(logId: string): ListAccessControlLogsRequest {
|
127
|
+
this['log_id'] = logId;
|
128
|
+
return this;
|
129
|
+
}
|
130
|
+
public set logId(logId: string | undefined) {
|
131
|
+
this['log_id'] = logId;
|
132
|
+
}
|
133
|
+
public get logId() {
|
134
|
+
return this['log_id'];
|
135
|
+
}
|
136
|
+
public withNextDate(nextDate: number): ListAccessControlLogsRequest {
|
137
|
+
this['next_date'] = nextDate;
|
138
|
+
return this;
|
139
|
+
}
|
140
|
+
public set nextDate(nextDate: number | undefined) {
|
141
|
+
this['next_date'] = nextDate;
|
142
|
+
}
|
143
|
+
public get nextDate() {
|
144
|
+
return this['next_date'];
|
145
|
+
}
|
146
|
+
public withOffset(offset: number): ListAccessControlLogsRequest {
|
147
|
+
this['offset'] = offset;
|
148
|
+
return this;
|
149
|
+
}
|
150
|
+
public withLimit(limit: number): ListAccessControlLogsRequest {
|
151
|
+
this['limit'] = limit;
|
152
|
+
return this;
|
153
|
+
}
|
154
|
+
public withLogType(logType: ListAccessControlLogsRequestLogTypeEnum): ListAccessControlLogsRequest {
|
155
|
+
this['log_type'] = logType;
|
156
|
+
return this;
|
157
|
+
}
|
158
|
+
public set logType(logType: ListAccessControlLogsRequestLogTypeEnum | undefined) {
|
159
|
+
this['log_type'] = logType;
|
160
|
+
}
|
161
|
+
public get logType() {
|
162
|
+
return this['log_type'];
|
163
|
+
}
|
164
|
+
public withEnterpriseProjectId(enterpriseProjectId: string): ListAccessControlLogsRequest {
|
165
|
+
this['enterprise_project_id'] = enterpriseProjectId;
|
166
|
+
return this;
|
167
|
+
}
|
168
|
+
public set enterpriseProjectId(enterpriseProjectId: string | undefined) {
|
169
|
+
this['enterprise_project_id'] = enterpriseProjectId;
|
170
|
+
}
|
171
|
+
public get enterpriseProjectId() {
|
172
|
+
return this['enterprise_project_id'];
|
173
|
+
}
|
174
|
+
}
|
175
|
+
|
176
|
+
/**
|
177
|
+
* @export
|
178
|
+
* @enum {string}
|
179
|
+
*/
|
180
|
+
export enum ListAccessControlLogsRequestLogTypeEnum {
|
181
|
+
INTERNET = 'internet',
|
182
|
+
NAT = 'nat',
|
183
|
+
VPC = 'vpc'
|
184
|
+
}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import { HttpQueryCfwAccessControllerLogsResponseDTOData } from './HttpQueryCfwAccessControllerLogsResponseDTOData';
|
2
|
+
|
3
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
4
|
+
|
5
|
+
export class ListAccessControlLogsResponse extends SdkResponse {
|
6
|
+
public data?: HttpQueryCfwAccessControllerLogsResponseDTOData;
|
7
|
+
public constructor() {
|
8
|
+
super();
|
9
|
+
}
|
10
|
+
public withData(data: HttpQueryCfwAccessControllerLogsResponseDTOData): ListAccessControlLogsResponse {
|
11
|
+
this['data'] = data;
|
12
|
+
return this;
|
13
|
+
}
|
14
|
+
}
|
@@ -0,0 +1,80 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
export class ListAddressItemsUsingGetRequest {
|
4
|
+
private 'project_id': string | undefined;
|
5
|
+
private 'set_id': string | undefined;
|
6
|
+
private 'key_word'?: string | undefined;
|
7
|
+
public limit: number;
|
8
|
+
public offset: number;
|
9
|
+
public address?: string;
|
10
|
+
private 'enterprise_project_id'?: string | undefined;
|
11
|
+
private 'fw_instance_id'?: string | undefined;
|
12
|
+
public constructor(projectId?: any, setId?: any, limit?: any, offset?: any) {
|
13
|
+
this['project_id'] = projectId;
|
14
|
+
this['set_id'] = setId;
|
15
|
+
this['limit'] = limit;
|
16
|
+
this['offset'] = offset;
|
17
|
+
}
|
18
|
+
public withProjectId(projectId: string): ListAddressItemsUsingGetRequest {
|
19
|
+
this['project_id'] = projectId;
|
20
|
+
return this;
|
21
|
+
}
|
22
|
+
public set projectId(projectId: string | undefined) {
|
23
|
+
this['project_id'] = projectId;
|
24
|
+
}
|
25
|
+
public get projectId() {
|
26
|
+
return this['project_id'];
|
27
|
+
}
|
28
|
+
public withSetId(setId: string): ListAddressItemsUsingGetRequest {
|
29
|
+
this['set_id'] = setId;
|
30
|
+
return this;
|
31
|
+
}
|
32
|
+
public set setId(setId: string | undefined) {
|
33
|
+
this['set_id'] = setId;
|
34
|
+
}
|
35
|
+
public get setId() {
|
36
|
+
return this['set_id'];
|
37
|
+
}
|
38
|
+
public withKeyWord(keyWord: string): ListAddressItemsUsingGetRequest {
|
39
|
+
this['key_word'] = keyWord;
|
40
|
+
return this;
|
41
|
+
}
|
42
|
+
public set keyWord(keyWord: string | undefined) {
|
43
|
+
this['key_word'] = keyWord;
|
44
|
+
}
|
45
|
+
public get keyWord() {
|
46
|
+
return this['key_word'];
|
47
|
+
}
|
48
|
+
public withLimit(limit: number): ListAddressItemsUsingGetRequest {
|
49
|
+
this['limit'] = limit;
|
50
|
+
return this;
|
51
|
+
}
|
52
|
+
public withOffset(offset: number): ListAddressItemsUsingGetRequest {
|
53
|
+
this['offset'] = offset;
|
54
|
+
return this;
|
55
|
+
}
|
56
|
+
public withAddress(address: string): ListAddressItemsUsingGetRequest {
|
57
|
+
this['address'] = address;
|
58
|
+
return this;
|
59
|
+
}
|
60
|
+
public withEnterpriseProjectId(enterpriseProjectId: string): ListAddressItemsUsingGetRequest {
|
61
|
+
this['enterprise_project_id'] = enterpriseProjectId;
|
62
|
+
return this;
|
63
|
+
}
|
64
|
+
public set enterpriseProjectId(enterpriseProjectId: string | undefined) {
|
65
|
+
this['enterprise_project_id'] = enterpriseProjectId;
|
66
|
+
}
|
67
|
+
public get enterpriseProjectId() {
|
68
|
+
return this['enterprise_project_id'];
|
69
|
+
}
|
70
|
+
public withFwInstanceId(fwInstanceId: string): ListAddressItemsUsingGetRequest {
|
71
|
+
this['fw_instance_id'] = fwInstanceId;
|
72
|
+
return this;
|
73
|
+
}
|
74
|
+
public set fwInstanceId(fwInstanceId: string | undefined) {
|
75
|
+
this['fw_instance_id'] = fwInstanceId;
|
76
|
+
}
|
77
|
+
public get fwInstanceId() {
|
78
|
+
return this['fw_instance_id'];
|
79
|
+
}
|
80
|
+
}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import { AddressItemListResponseDTOData } from './AddressItemListResponseDTOData';
|
2
|
+
|
3
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
4
|
+
|
5
|
+
export class ListAddressItemsUsingGetResponse extends SdkResponse {
|
6
|
+
public data?: AddressItemListResponseDTOData;
|
7
|
+
public constructor() {
|
8
|
+
super();
|
9
|
+
}
|
10
|
+
public withData(data: AddressItemListResponseDTOData): ListAddressItemsUsingGetResponse {
|
11
|
+
this['data'] = data;
|
12
|
+
return this;
|
13
|
+
}
|
14
|
+
}
|
@@ -0,0 +1,52 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
export class ListAddressSetDetailUsingGetRequest {
|
4
|
+
private 'project_id': string | undefined;
|
5
|
+
private 'set_id': string | undefined;
|
6
|
+
private 'enterprise_project_id'?: string | undefined;
|
7
|
+
private 'fw_instance_id'?: string | undefined;
|
8
|
+
public constructor(projectId?: any, setId?: any) {
|
9
|
+
this['project_id'] = projectId;
|
10
|
+
this['set_id'] = setId;
|
11
|
+
}
|
12
|
+
public withProjectId(projectId: string): ListAddressSetDetailUsingGetRequest {
|
13
|
+
this['project_id'] = projectId;
|
14
|
+
return this;
|
15
|
+
}
|
16
|
+
public set projectId(projectId: string | undefined) {
|
17
|
+
this['project_id'] = projectId;
|
18
|
+
}
|
19
|
+
public get projectId() {
|
20
|
+
return this['project_id'];
|
21
|
+
}
|
22
|
+
public withSetId(setId: string): ListAddressSetDetailUsingGetRequest {
|
23
|
+
this['set_id'] = setId;
|
24
|
+
return this;
|
25
|
+
}
|
26
|
+
public set setId(setId: string | undefined) {
|
27
|
+
this['set_id'] = setId;
|
28
|
+
}
|
29
|
+
public get setId() {
|
30
|
+
return this['set_id'];
|
31
|
+
}
|
32
|
+
public withEnterpriseProjectId(enterpriseProjectId: string): ListAddressSetDetailUsingGetRequest {
|
33
|
+
this['enterprise_project_id'] = enterpriseProjectId;
|
34
|
+
return this;
|
35
|
+
}
|
36
|
+
public set enterpriseProjectId(enterpriseProjectId: string | undefined) {
|
37
|
+
this['enterprise_project_id'] = enterpriseProjectId;
|
38
|
+
}
|
39
|
+
public get enterpriseProjectId() {
|
40
|
+
return this['enterprise_project_id'];
|
41
|
+
}
|
42
|
+
public withFwInstanceId(fwInstanceId: string): ListAddressSetDetailUsingGetRequest {
|
43
|
+
this['fw_instance_id'] = fwInstanceId;
|
44
|
+
return this;
|
45
|
+
}
|
46
|
+
public set fwInstanceId(fwInstanceId: string | undefined) {
|
47
|
+
this['fw_instance_id'] = fwInstanceId;
|
48
|
+
}
|
49
|
+
public get fwInstanceId() {
|
50
|
+
return this['fw_instance_id'];
|
51
|
+
}
|
52
|
+
}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import { AddressSetDetailResponseDTOData } from './AddressSetDetailResponseDTOData';
|
2
|
+
|
3
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
4
|
+
|
5
|
+
export class ListAddressSetDetailUsingGetResponse extends SdkResponse {
|
6
|
+
public data?: AddressSetDetailResponseDTOData;
|
7
|
+
public constructor() {
|
8
|
+
super();
|
9
|
+
}
|
10
|
+
public withData(data: AddressSetDetailResponseDTOData): ListAddressSetDetailUsingGetResponse {
|
11
|
+
this['data'] = data;
|
12
|
+
return this;
|
13
|
+
}
|
14
|
+
}
|