@huaweicloud/huaweicloud-sdk-cfw 3.1.45 → 3.1.47
Sign up to get free protection for your applications and to get access to all the features.
- package/huaweicloud-sdk-cfw.d.ts +1 -0
- package/huaweicloud-sdk-cfw.d.ts.map +1 -0
- package/huaweicloud-sdk-cfw.js +1 -0
- package/huaweicloud-sdk-cfw.js.map +1 -0
- package/package.json +6 -2
- package/v1/CfwClient.d.ts +2 -1
- package/v1/CfwClient.d.ts.map +1 -0
- package/v1/CfwClient.js +637 -655
- package/v1/CfwClient.js.map +1 -0
- package/v1/CfwRegion.d.ts +19 -16
- package/v1/CfwRegion.d.ts.map +1 -0
- package/v1/CfwRegion.js +43 -42
- package/v1/CfwRegion.js.map +1 -0
- package/v1/model/AddAddressItemsInfoDto.d.ts +1 -0
- package/v1/model/AddAddressItemsInfoDto.d.ts.map +1 -0
- package/v1/model/AddAddressItemsInfoDto.js +20 -28
- package/v1/model/AddAddressItemsInfoDto.js.map +1 -0
- package/v1/model/AddAddressItemsInfoDtoAddressItems.d.ts +3 -2
- package/v1/model/AddAddressItemsInfoDtoAddressItems.d.ts.map +1 -0
- package/v1/model/AddAddressItemsInfoDtoAddressItems.js +18 -22
- package/v1/model/AddAddressItemsInfoDtoAddressItems.js.map +1 -0
- package/v1/model/AddAddressItemsUsingPostRequest.d.ts +3 -2
- package/v1/model/AddAddressItemsUsingPostRequest.d.ts.map +1 -0
- package/v1/model/AddAddressItemsUsingPostRequest.js +30 -42
- package/v1/model/AddAddressItemsUsingPostRequest.js.map +1 -0
- package/v1/model/AddAddressItemsUsingPostResponse.d.ts +1 -0
- package/v1/model/AddAddressItemsUsingPostResponse.d.ts.map +1 -0
- package/v1/model/AddAddressItemsUsingPostResponse.js +8 -24
- package/v1/model/AddAddressItemsUsingPostResponse.js.map +1 -0
- package/v1/model/AddAddressSetDto.d.ts +7 -6
- package/v1/model/AddAddressSetDto.d.ts.map +1 -0
- package/v1/model/AddAddressSetDto.js +25 -33
- package/v1/model/AddAddressSetDto.js.map +1 -0
- package/v1/model/AddAddressSetInfoUsingPostRequest.d.ts +3 -2
- package/v1/model/AddAddressSetInfoUsingPostRequest.d.ts.map +1 -0
- package/v1/model/AddAddressSetInfoUsingPostRequest.js +30 -42
- package/v1/model/AddAddressSetInfoUsingPostRequest.js.map +1 -0
- package/v1/model/AddAddressSetInfoUsingPostResponse.d.ts +1 -0
- package/v1/model/AddAddressSetInfoUsingPostResponse.d.ts.map +1 -0
- package/v1/model/AddAddressSetInfoUsingPostResponse.js +8 -24
- package/v1/model/AddAddressSetInfoUsingPostResponse.js.map +1 -0
- package/v1/model/AddBlackWhiteListDto.d.ts +9 -8
- package/v1/model/AddBlackWhiteListDto.d.ts.map +1 -0
- package/v1/model/AddBlackWhiteListDto.js +36 -48
- package/v1/model/AddBlackWhiteListDto.js.map +1 -0
- package/v1/model/AddBlackWhiteListUsingPostRequest.d.ts +3 -2
- package/v1/model/AddBlackWhiteListUsingPostRequest.d.ts.map +1 -0
- package/v1/model/AddBlackWhiteListUsingPostRequest.js +30 -42
- package/v1/model/AddBlackWhiteListUsingPostRequest.js.map +1 -0
- package/v1/model/AddBlackWhiteListUsingPostResponse.d.ts +1 -0
- package/v1/model/AddBlackWhiteListUsingPostResponse.d.ts.map +1 -0
- package/v1/model/AddBlackWhiteListUsingPostResponse.js +8 -24
- package/v1/model/AddBlackWhiteListUsingPostResponse.js.map +1 -0
- package/v1/model/AddRuleAclDto.d.ts +6 -5
- package/v1/model/AddRuleAclDto.d.ts.map +1 -0
- package/v1/model/AddRuleAclDto.js +17 -21
- package/v1/model/AddRuleAclDto.js.map +1 -0
- package/v1/model/AddRuleAclDtoRules.d.ts +20 -19
- package/v1/model/AddRuleAclDtoRules.d.ts.map +1 -0
- package/v1/model/AddRuleAclDtoRules.js +80 -108
- package/v1/model/AddRuleAclDtoRules.js.map +1 -0
- package/v1/model/AddRuleAclUsingPostRequest.d.ts +3 -2
- package/v1/model/AddRuleAclUsingPostRequest.d.ts.map +1 -0
- package/v1/model/AddRuleAclUsingPostRequest.js +30 -42
- package/v1/model/AddRuleAclUsingPostRequest.js.map +1 -0
- package/v1/model/AddRuleAclUsingPostResponse.d.ts +1 -0
- package/v1/model/AddRuleAclUsingPostResponse.d.ts.map +1 -0
- package/v1/model/AddRuleAclUsingPostResponse.js +8 -24
- package/v1/model/AddRuleAclUsingPostResponse.js.map +1 -0
- package/v1/model/AddServiceItemsUsingPOSTRequestBody.d.ts +4 -3
- package/v1/model/AddServiceItemsUsingPOSTRequestBody.d.ts.map +1 -0
- package/v1/model/AddServiceItemsUsingPOSTRequestBody.js +20 -28
- package/v1/model/AddServiceItemsUsingPOSTRequestBody.js.map +1 -0
- package/v1/model/AddServiceItemsUsingPOSTRequestBodyServiceItems.d.ts +5 -4
- package/v1/model/AddServiceItemsUsingPOSTRequestBodyServiceItems.d.ts.map +1 -0
- package/v1/model/AddServiceItemsUsingPOSTRequestBodyServiceItems.js +34 -46
- package/v1/model/AddServiceItemsUsingPOSTRequestBodyServiceItems.js.map +1 -0
- package/v1/model/AddServiceItemsUsingPostRequest.d.ts +3 -2
- package/v1/model/AddServiceItemsUsingPostRequest.d.ts.map +1 -0
- package/v1/model/AddServiceItemsUsingPostRequest.js +30 -42
- package/v1/model/AddServiceItemsUsingPostRequest.js.map +1 -0
- package/v1/model/AddServiceItemsUsingPostResponse.d.ts +1 -0
- package/v1/model/AddServiceItemsUsingPostResponse.d.ts.map +1 -0
- package/v1/model/AddServiceItemsUsingPostResponse.js +8 -24
- package/v1/model/AddServiceItemsUsingPostResponse.js.map +1 -0
- package/v1/model/AddServiceSetUsingPOSTRequestBody.d.ts +4 -3
- package/v1/model/AddServiceSetUsingPOSTRequestBody.d.ts.map +1 -0
- package/v1/model/AddServiceSetUsingPOSTRequestBody.js +16 -20
- package/v1/model/AddServiceSetUsingPOSTRequestBody.js.map +1 -0
- package/v1/model/AddServiceSetUsingPostRequest.d.ts +3 -2
- package/v1/model/AddServiceSetUsingPostRequest.d.ts.map +1 -0
- package/v1/model/AddServiceSetUsingPostRequest.js +30 -42
- package/v1/model/AddServiceSetUsingPostRequest.js.map +1 -0
- package/v1/model/AddServiceSetUsingPostResponse.d.ts +1 -0
- package/v1/model/AddServiceSetUsingPostResponse.d.ts.map +1 -0
- package/v1/model/AddServiceSetUsingPostResponse.js +8 -24
- package/v1/model/AddServiceSetUsingPostResponse.js.map +1 -0
- package/v1/model/AddressItemListResponseDTOData.d.ts +1 -0
- package/v1/model/AddressItemListResponseDTOData.d.ts.map +1 -0
- package/v1/model/AddressItemListResponseDTOData.js +20 -24
- package/v1/model/AddressItemListResponseDTOData.js.map +1 -0
- package/v1/model/AddressItemListResponseDTODataRecords.d.ts +1 -0
- package/v1/model/AddressItemListResponseDTODataRecords.d.ts.map +1 -0
- package/v1/model/AddressItemListResponseDTODataRecords.js +26 -34
- package/v1/model/AddressItemListResponseDTODataRecords.js.map +1 -0
- package/v1/model/AddressItems.d.ts +1 -0
- package/v1/model/AddressItems.d.ts.map +1 -0
- package/v1/model/AddressItems.js +6 -6
- package/v1/model/AddressItems.js.map +1 -0
- package/v1/model/AddressSetDetailResponseDTOData.d.ts +4 -3
- package/v1/model/AddressSetDetailResponseDTOData.d.ts.map +1 -0
- package/v1/model/AddressSetDetailResponseDTOData.js +19 -23
- package/v1/model/AddressSetDetailResponseDTOData.js.map +1 -0
- package/v1/model/AddressSetListResponseDTOData.d.ts +1 -0
- package/v1/model/AddressSetListResponseDTOData.d.ts.map +1 -0
- package/v1/model/AddressSetListResponseDTOData.js +12 -12
- package/v1/model/AddressSetListResponseDTOData.js.map +1 -0
- package/v1/model/AddressSetListResponseDTODataRecords.d.ts +1 -0
- package/v1/model/AddressSetListResponseDTODataRecords.d.ts.map +1 -0
- package/v1/model/AddressSetListResponseDTODataRecords.js +32 -44
- package/v1/model/AddressSetListResponseDTODataRecords.js.map +1 -0
- package/v1/model/BlackWhiteListResponseData.d.ts +1 -0
- package/v1/model/BlackWhiteListResponseData.d.ts.map +1 -0
- package/v1/model/BlackWhiteListResponseData.js +20 -24
- package/v1/model/BlackWhiteListResponseData.js.map +1 -0
- package/v1/model/BlackWhiteListResponseDataRecords.d.ts +1 -0
- package/v1/model/BlackWhiteListResponseDataRecords.d.ts.map +1 -0
- package/v1/model/BlackWhiteListResponseDataRecords.js +28 -36
- package/v1/model/BlackWhiteListResponseDataRecords.js.map +1 -0
- package/v1/model/ChangeEwProtectStatusRequest.d.ts +3 -2
- package/v1/model/ChangeEwProtectStatusRequest.d.ts.map +1 -0
- package/v1/model/ChangeEwProtectStatusRequest.js +30 -42
- package/v1/model/ChangeEwProtectStatusRequest.js.map +1 -0
- package/v1/model/ChangeEwProtectStatusResponse.d.ts +1 -0
- package/v1/model/ChangeEwProtectStatusResponse.d.ts.map +1 -0
- package/v1/model/ChangeEwProtectStatusResponse.js +16 -36
- package/v1/model/ChangeEwProtectStatusResponse.js.map +1 -0
- package/v1/model/ChangeIpsProtectModeUsingPostRequest.d.ts +3 -2
- package/v1/model/ChangeIpsProtectModeUsingPostRequest.d.ts.map +1 -0
- package/v1/model/ChangeIpsProtectModeUsingPostRequest.js +30 -42
- package/v1/model/ChangeIpsProtectModeUsingPostRequest.js.map +1 -0
- package/v1/model/ChangeIpsProtectModeUsingPostResponse.d.ts +1 -0
- package/v1/model/ChangeIpsProtectModeUsingPostResponse.d.ts.map +1 -0
- package/v1/model/ChangeIpsProtectModeUsingPostResponse.js +8 -24
- package/v1/model/ChangeIpsProtectModeUsingPostResponse.js.map +1 -0
- package/v1/model/ChangeIpsSwitchUsingPostRequest.d.ts +3 -2
- package/v1/model/ChangeIpsSwitchUsingPostRequest.d.ts.map +1 -0
- package/v1/model/ChangeIpsSwitchUsingPostRequest.js +30 -42
- package/v1/model/ChangeIpsSwitchUsingPostRequest.js.map +1 -0
- package/v1/model/ChangeIpsSwitchUsingPostResponse.d.ts +1 -0
- package/v1/model/ChangeIpsSwitchUsingPostResponse.d.ts.map +1 -0
- package/v1/model/ChangeIpsSwitchUsingPostResponse.js +16 -36
- package/v1/model/ChangeIpsSwitchUsingPostResponse.js.map +1 -0
- package/v1/model/ChangeProtectEipRequest.d.ts +3 -2
- package/v1/model/ChangeProtectEipRequest.d.ts.map +1 -0
- package/v1/model/ChangeProtectEipRequest.js +30 -42
- package/v1/model/ChangeProtectEipRequest.js.map +1 -0
- package/v1/model/ChangeProtectEipResponse.d.ts +1 -0
- package/v1/model/ChangeProtectEipResponse.d.ts.map +1 -0
- package/v1/model/ChangeProtectEipResponse.js +8 -24
- package/v1/model/ChangeProtectEipResponse.js.map +1 -0
- package/v1/model/ChangeProtectStatusRequestBody.d.ts +5 -4
- package/v1/model/ChangeProtectStatusRequestBody.d.ts.map +1 -0
- package/v1/model/ChangeProtectStatusRequestBody.js +15 -19
- package/v1/model/ChangeProtectStatusRequestBody.js.map +1 -0
- package/v1/model/ClearAccessLogRuleHitCountsDto.d.ts +3 -2
- package/v1/model/ClearAccessLogRuleHitCountsDto.d.ts.map +1 -0
- package/v1/model/ClearAccessLogRuleHitCountsDto.js +12 -16
- package/v1/model/ClearAccessLogRuleHitCountsDto.js.map +1 -0
- package/v1/model/CommonResponseDTOData.d.ts +1 -0
- package/v1/model/CommonResponseDTOData.d.ts.map +1 -0
- package/v1/model/CommonResponseDTOData.js +6 -6
- package/v1/model/CommonResponseDTOData.js.map +1 -0
- package/v1/model/CountEipsRequest.d.ts +4 -3
- package/v1/model/CountEipsRequest.d.ts.map +1 -0
- package/v1/model/CountEipsRequest.js +36 -52
- package/v1/model/CountEipsRequest.js.map +1 -0
- package/v1/model/CountEipsResponse.d.ts +1 -0
- package/v1/model/CountEipsResponse.d.ts.map +1 -0
- package/v1/model/CountEipsResponse.js +8 -24
- package/v1/model/CountEipsResponse.js.map +1 -0
- package/v1/model/DeleteAclRuleCountRequest.d.ts +3 -2
- package/v1/model/DeleteAclRuleCountRequest.d.ts.map +1 -0
- package/v1/model/DeleteAclRuleCountRequest.js +30 -42
- package/v1/model/DeleteAclRuleCountRequest.js.map +1 -0
- package/v1/model/DeleteAclRuleCountResponse.d.ts +1 -0
- package/v1/model/DeleteAclRuleCountResponse.d.ts.map +1 -0
- package/v1/model/DeleteAclRuleCountResponse.js +8 -24
- package/v1/model/DeleteAclRuleCountResponse.js.map +1 -0
- package/v1/model/DeleteAddressItemUsingDeleteRequest.d.ts +4 -3
- package/v1/model/DeleteAddressItemUsingDeleteRequest.d.ts.map +1 -0
- package/v1/model/DeleteAddressItemUsingDeleteRequest.js +36 -52
- package/v1/model/DeleteAddressItemUsingDeleteRequest.js.map +1 -0
- package/v1/model/DeleteAddressItemUsingDeleteResponse.d.ts +1 -0
- package/v1/model/DeleteAddressItemUsingDeleteResponse.d.ts.map +1 -0
- package/v1/model/DeleteAddressItemUsingDeleteResponse.js +8 -24
- package/v1/model/DeleteAddressItemUsingDeleteResponse.js.map +1 -0
- package/v1/model/DeleteAddressSetInfoUsingDeleteRequest.d.ts +4 -3
- package/v1/model/DeleteAddressSetInfoUsingDeleteRequest.d.ts.map +1 -0
- package/v1/model/DeleteAddressSetInfoUsingDeleteRequest.js +36 -52
- package/v1/model/DeleteAddressSetInfoUsingDeleteRequest.js.map +1 -0
- package/v1/model/DeleteAddressSetInfoUsingDeleteResponse.d.ts +1 -0
- package/v1/model/DeleteAddressSetInfoUsingDeleteResponse.d.ts.map +1 -0
- package/v1/model/DeleteAddressSetInfoUsingDeleteResponse.js +8 -24
- package/v1/model/DeleteAddressSetInfoUsingDeleteResponse.js.map +1 -0
- package/v1/model/DeleteBlackWhiteListUsingDeleteRequest.d.ts +4 -3
- package/v1/model/DeleteBlackWhiteListUsingDeleteRequest.d.ts.map +1 -0
- package/v1/model/DeleteBlackWhiteListUsingDeleteRequest.js +36 -52
- package/v1/model/DeleteBlackWhiteListUsingDeleteRequest.js.map +1 -0
- package/v1/model/DeleteBlackWhiteListUsingDeleteResponse.d.ts +1 -0
- package/v1/model/DeleteBlackWhiteListUsingDeleteResponse.d.ts.map +1 -0
- package/v1/model/DeleteBlackWhiteListUsingDeleteResponse.js +8 -24
- package/v1/model/DeleteBlackWhiteListUsingDeleteResponse.js.map +1 -0
- package/v1/model/DeleteRuleAclUsingDeleteRequest.d.ts +4 -3
- package/v1/model/DeleteRuleAclUsingDeleteRequest.d.ts.map +1 -0
- package/v1/model/DeleteRuleAclUsingDeleteRequest.js +36 -52
- package/v1/model/DeleteRuleAclUsingDeleteRequest.js.map +1 -0
- package/v1/model/DeleteRuleAclUsingDeleteResponse.d.ts +1 -0
- package/v1/model/DeleteRuleAclUsingDeleteResponse.d.ts.map +1 -0
- package/v1/model/DeleteRuleAclUsingDeleteResponse.js +8 -24
- package/v1/model/DeleteRuleAclUsingDeleteResponse.js.map +1 -0
- package/v1/model/DeleteServiceItemUsingDeleteRequest.d.ts +4 -3
- package/v1/model/DeleteServiceItemUsingDeleteRequest.d.ts.map +1 -0
- package/v1/model/DeleteServiceItemUsingDeleteRequest.js +36 -52
- package/v1/model/DeleteServiceItemUsingDeleteRequest.js.map +1 -0
- package/v1/model/DeleteServiceItemUsingDeleteResponse.d.ts +1 -0
- package/v1/model/DeleteServiceItemUsingDeleteResponse.d.ts.map +1 -0
- package/v1/model/DeleteServiceItemUsingDeleteResponse.js +8 -24
- package/v1/model/DeleteServiceItemUsingDeleteResponse.js.map +1 -0
- package/v1/model/DeleteServiceSetUsingDeleteRequest.d.ts +4 -3
- package/v1/model/DeleteServiceSetUsingDeleteRequest.d.ts.map +1 -0
- package/v1/model/DeleteServiceSetUsingDeleteRequest.js +36 -52
- package/v1/model/DeleteServiceSetUsingDeleteRequest.js.map +1 -0
- package/v1/model/DeleteServiceSetUsingDeleteResponse.d.ts +1 -0
- package/v1/model/DeleteServiceSetUsingDeleteResponse.d.ts.map +1 -0
- package/v1/model/DeleteServiceSetUsingDeleteResponse.js +8 -24
- package/v1/model/DeleteServiceSetUsingDeleteResponse.js.map +1 -0
- package/v1/model/DnsServersResponseDTO.d.ts +1 -0
- package/v1/model/DnsServersResponseDTO.d.ts.map +1 -0
- package/v1/model/DnsServersResponseDTO.js +30 -42
- package/v1/model/DnsServersResponseDTO.js.map +1 -0
- package/v1/model/EipCountRespData.d.ts +1 -0
- package/v1/model/EipCountRespData.d.ts.map +1 -0
- package/v1/model/EipCountRespData.js +28 -40
- package/v1/model/EipCountRespData.js.map +1 -0
- package/v1/model/EipOperateProtectReq.d.ts +5 -4
- package/v1/model/EipOperateProtectReq.d.ts.map +1 -0
- package/v1/model/EipOperateProtectReq.js +22 -30
- package/v1/model/EipOperateProtectReq.js.map +1 -0
- package/v1/model/EipOperateProtectReqIpInfos.d.ts +1 -0
- package/v1/model/EipOperateProtectReqIpInfos.d.ts.map +1 -0
- package/v1/model/EipOperateProtectReqIpInfos.js +22 -30
- package/v1/model/EipOperateProtectReqIpInfos.js.map +1 -0
- package/v1/model/EipResource.d.ts +3 -2
- package/v1/model/EipResource.d.ts.map +1 -0
- package/v1/model/EipResource.js +89 -129
- package/v1/model/EipResource.js.map +1 -0
- package/v1/model/EipResponseData.d.ts +1 -0
- package/v1/model/EipResponseData.d.ts.map +1 -0
- package/v1/model/EipResponseData.js +12 -12
- package/v1/model/EipResponseData.js.map +1 -0
- package/v1/model/ErInstance.d.ts +1 -0
- package/v1/model/ErInstance.d.ts.map +1 -0
- package/v1/model/ErInstance.js +34 -46
- package/v1/model/ErInstance.js.map +1 -0
- package/v1/model/EwProtectResourceInfo.d.ts +5 -4
- package/v1/model/EwProtectResourceInfo.d.ts.map +1 -0
- package/v1/model/EwProtectResourceInfo.js +52 -76
- package/v1/model/EwProtectResourceInfo.js.map +1 -0
- package/v1/model/FirewallInstanceResource.d.ts +1 -0
- package/v1/model/FirewallInstanceResource.d.ts.map +1 -0
- package/v1/model/FirewallInstanceResource.js +52 -76
- package/v1/model/FirewallInstanceResource.js.map +1 -0
- package/v1/model/Flavor.d.ts +3 -2
- package/v1/model/Flavor.d.ts.map +1 -0
- package/v1/model/Flavor.js +33 -45
- package/v1/model/Flavor.js.map +1 -0
- package/v1/model/GetEastWestFirewallResponseBody.d.ts +1 -0
- package/v1/model/GetEastWestFirewallResponseBody.d.ts.map +1 -0
- package/v1/model/GetEastWestFirewallResponseBody.js +62 -86
- package/v1/model/GetEastWestFirewallResponseBody.js.map +1 -0
- package/v1/model/GetFirewallInstanceData.d.ts +1 -0
- package/v1/model/GetFirewallInstanceData.d.ts.map +1 -0
- package/v1/model/GetFirewallInstanceData.js +12 -12
- package/v1/model/GetFirewallInstanceData.js.map +1 -0
- package/v1/model/GetFirewallInstanceResponseRecord.d.ts +3 -2
- package/v1/model/GetFirewallInstanceResponseRecord.d.ts.map +1 -0
- package/v1/model/GetFirewallInstanceResponseRecord.js +101 -145
- package/v1/model/GetFirewallInstanceResponseRecord.js.map +1 -0
- package/v1/model/HttpQueryCfwAccessControllerLogsResponseDTOData.d.ts +1 -0
- package/v1/model/HttpQueryCfwAccessControllerLogsResponseDTOData.d.ts.map +1 -0
- package/v1/model/HttpQueryCfwAccessControllerLogsResponseDTOData.js +10 -10
- package/v1/model/HttpQueryCfwAccessControllerLogsResponseDTOData.js.map +1 -0
- package/v1/model/HttpQueryCfwAccessControllerLogsResponseDTODataRecords.d.ts +1 -0
- package/v1/model/HttpQueryCfwAccessControllerLogsResponseDTODataRecords.d.ts.map +1 -0
- package/v1/model/HttpQueryCfwAccessControllerLogsResponseDTODataRecords.js +74 -106
- package/v1/model/HttpQueryCfwAccessControllerLogsResponseDTODataRecords.js.map +1 -0
- package/v1/model/HttpQueryCfwAttackLogsResponseDTOData.d.ts +1 -0
- package/v1/model/HttpQueryCfwAttackLogsResponseDTOData.d.ts.map +1 -0
- package/v1/model/HttpQueryCfwAttackLogsResponseDTOData.js +10 -10
- package/v1/model/HttpQueryCfwAttackLogsResponseDTOData.js.map +1 -0
- package/v1/model/HttpQueryCfwAttackLogsResponseDTODataRecords.d.ts +3 -2
- package/v1/model/HttpQueryCfwAttackLogsResponseDTODataRecords.d.ts.map +1 -0
- package/v1/model/HttpQueryCfwAttackLogsResponseDTODataRecords.js +109 -153
- package/v1/model/HttpQueryCfwAttackLogsResponseDTODataRecords.js.map +1 -0
- package/v1/model/HttpQueryCfwFlowLogsResponseDTOData.d.ts +1 -0
- package/v1/model/HttpQueryCfwFlowLogsResponseDTOData.d.ts.map +1 -0
- package/v1/model/HttpQueryCfwFlowLogsResponseDTOData.js +10 -10
- package/v1/model/HttpQueryCfwFlowLogsResponseDTOData.js.map +1 -0
- package/v1/model/HttpQueryCfwFlowLogsResponseDTODataRecords.d.ts +3 -2
- package/v1/model/HttpQueryCfwFlowLogsResponseDTODataRecords.d.ts.map +1 -0
- package/v1/model/HttpQueryCfwFlowLogsResponseDTODataRecords.js +71 -99
- package/v1/model/HttpQueryCfwFlowLogsResponseDTODataRecords.js.map +1 -0
- package/v1/model/IdObject.d.ts +1 -0
- package/v1/model/IdObject.d.ts.map +1 -0
- package/v1/model/IdObject.js +6 -6
- package/v1/model/IdObject.js.map +1 -0
- package/v1/model/IpsProtectDTO.d.ts +1 -0
- package/v1/model/IpsProtectDTO.d.ts.map +1 -0
- package/v1/model/IpsProtectDTO.js +14 -18
- package/v1/model/IpsProtectDTO.js.map +1 -0
- package/v1/model/IpsProtectModeObject.d.ts +1 -0
- package/v1/model/IpsProtectModeObject.d.ts.map +1 -0
- package/v1/model/IpsProtectModeObject.js +8 -8
- package/v1/model/IpsProtectModeObject.js.map +1 -0
- package/v1/model/IpsSwitchDTO.d.ts +8 -7
- package/v1/model/IpsSwitchDTO.d.ts.map +1 -0
- package/v1/model/IpsSwitchDTO.js +23 -31
- package/v1/model/IpsSwitchDTO.js.map +1 -0
- package/v1/model/IpsSwitchResponseDTO.d.ts +1 -0
- package/v1/model/IpsSwitchResponseDTO.d.ts.map +1 -0
- package/v1/model/IpsSwitchResponseDTO.js +22 -30
- package/v1/model/IpsSwitchResponseDTO.js.map +1 -0
- package/v1/model/ListAccessControlLogsRequest.d.ts +10 -9
- package/v1/model/ListAccessControlLogsRequest.d.ts.map +1 -0
- package/v1/model/ListAccessControlLogsRequest.js +117 -169
- package/v1/model/ListAccessControlLogsRequest.js.map +1 -0
- package/v1/model/ListAccessControlLogsResponse.d.ts +1 -0
- package/v1/model/ListAccessControlLogsResponse.d.ts.map +1 -0
- package/v1/model/ListAccessControlLogsResponse.js +8 -24
- package/v1/model/ListAccessControlLogsResponse.js.map +1 -0
- package/v1/model/ListAddressItemsUsingGetRequest.d.ts +6 -5
- package/v1/model/ListAddressItemsUsingGetRequest.d.ts.map +1 -0
- package/v1/model/ListAddressItemsUsingGetRequest.js +50 -70
- package/v1/model/ListAddressItemsUsingGetRequest.js.map +1 -0
- package/v1/model/ListAddressItemsUsingGetResponse.d.ts +1 -0
- package/v1/model/ListAddressItemsUsingGetResponse.d.ts.map +1 -0
- package/v1/model/ListAddressItemsUsingGetResponse.js +8 -24
- package/v1/model/ListAddressItemsUsingGetResponse.js.map +1 -0
- package/v1/model/ListAddressSetDetailUsingGetRequest.d.ts +4 -3
- package/v1/model/ListAddressSetDetailUsingGetRequest.d.ts.map +1 -0
- package/v1/model/ListAddressSetDetailUsingGetRequest.js +36 -52
- package/v1/model/ListAddressSetDetailUsingGetRequest.js.map +1 -0
- package/v1/model/ListAddressSetDetailUsingGetResponse.d.ts +1 -0
- package/v1/model/ListAddressSetDetailUsingGetResponse.d.ts.map +1 -0
- package/v1/model/ListAddressSetDetailUsingGetResponse.js +8 -24
- package/v1/model/ListAddressSetDetailUsingGetResponse.js.map +1 -0
- package/v1/model/ListAddressSetListUsingGetRequest.d.ts +9 -8
- package/v1/model/ListAddressSetListUsingGetRequest.d.ts.map +1 -0
- package/v1/model/ListAddressSetListUsingGetRequest.js +59 -83
- package/v1/model/ListAddressSetListUsingGetRequest.js.map +1 -0
- package/v1/model/ListAddressSetListUsingGetResponse.d.ts +1 -0
- package/v1/model/ListAddressSetListUsingGetResponse.d.ts.map +1 -0
- package/v1/model/ListAddressSetListUsingGetResponse.js +8 -24
- package/v1/model/ListAddressSetListUsingGetResponse.js.map +1 -0
- package/v1/model/ListAttackLogsRequest.d.ts +13 -12
- package/v1/model/ListAttackLogsRequest.d.ts.map +1 -0
- package/v1/model/ListAttackLogsRequest.js +127 -179
- package/v1/model/ListAttackLogsRequest.js.map +1 -0
- package/v1/model/ListAttackLogsResponse.d.ts +1 -0
- package/v1/model/ListAttackLogsResponse.d.ts.map +1 -0
- package/v1/model/ListAttackLogsResponse.js +8 -24
- package/v1/model/ListAttackLogsResponse.js.map +1 -0
- package/v1/model/ListBlackWhiteListsUsingGetRequest.d.ts +13 -12
- package/v1/model/ListBlackWhiteListsUsingGetRequest.d.ts.map +1 -0
- package/v1/model/ListBlackWhiteListsUsingGetRequest.js +62 -86
- package/v1/model/ListBlackWhiteListsUsingGetRequest.js.map +1 -0
- package/v1/model/ListBlackWhiteListsUsingGetResponse.d.ts +1 -0
- package/v1/model/ListBlackWhiteListsUsingGetResponse.d.ts.map +1 -0
- package/v1/model/ListBlackWhiteListsUsingGetResponse.js +8 -24
- package/v1/model/ListBlackWhiteListsUsingGetResponse.js.map +1 -0
- package/v1/model/ListDnsServersRequest.d.ts +3 -2
- package/v1/model/ListDnsServersRequest.d.ts.map +1 -0
- package/v1/model/ListDnsServersRequest.js +32 -44
- package/v1/model/ListDnsServersRequest.js.map +1 -0
- package/v1/model/ListDnsServersResponse.d.ts +1 -0
- package/v1/model/ListDnsServersResponse.d.ts.map +1 -0
- package/v1/model/ListDnsServersResponse.js +10 -26
- package/v1/model/ListDnsServersResponse.js.map +1 -0
- package/v1/model/ListEastWestFirewallRequest.d.ts +5 -4
- package/v1/model/ListEastWestFirewallRequest.d.ts.map +1 -0
- package/v1/model/ListEastWestFirewallRequest.js +32 -44
- package/v1/model/ListEastWestFirewallRequest.js.map +1 -0
- package/v1/model/ListEastWestFirewallResponse.d.ts +1 -0
- package/v1/model/ListEastWestFirewallResponse.d.ts.map +1 -0
- package/v1/model/ListEastWestFirewallResponse.js +8 -24
- package/v1/model/ListEastWestFirewallResponse.js.map +1 -0
- package/v1/model/ListEipResourcesRequest.d.ts +10 -9
- package/v1/model/ListEipResourcesRequest.d.ts.map +1 -0
- package/v1/model/ListEipResourcesRequest.js +86 -122
- package/v1/model/ListEipResourcesRequest.js.map +1 -0
- package/v1/model/ListEipResourcesResponse.d.ts +1 -0
- package/v1/model/ListEipResourcesResponse.d.ts.map +1 -0
- package/v1/model/ListEipResourcesResponse.js +8 -24
- package/v1/model/ListEipResourcesResponse.js.map +1 -0
- package/v1/model/ListFirewallUsingGetRequest.d.ts +9 -8
- package/v1/model/ListFirewallUsingGetRequest.d.ts.map +1 -0
- package/v1/model/ListFirewallUsingGetRequest.js +41 -57
- package/v1/model/ListFirewallUsingGetRequest.js.map +1 -0
- package/v1/model/ListFirewallUsingGetResponse.d.ts +1 -0
- package/v1/model/ListFirewallUsingGetResponse.d.ts.map +1 -0
- package/v1/model/ListFirewallUsingGetResponse.js +8 -24
- package/v1/model/ListFirewallUsingGetResponse.js.map +1 -0
- package/v1/model/ListFlowLogsRequest.d.ts +12 -11
- package/v1/model/ListFlowLogsRequest.d.ts.map +1 -0
- package/v1/model/ListFlowLogsRequest.js +112 -160
- package/v1/model/ListFlowLogsRequest.js.map +1 -0
- package/v1/model/ListFlowLogsResponse.d.ts +1 -0
- package/v1/model/ListFlowLogsResponse.d.ts.map +1 -0
- package/v1/model/ListFlowLogsResponse.js +8 -24
- package/v1/model/ListFlowLogsResponse.js.map +1 -0
- package/v1/model/ListIpsProtectModeUsingPostRequest.d.ts +4 -3
- package/v1/model/ListIpsProtectModeUsingPostRequest.d.ts.map +1 -0
- package/v1/model/ListIpsProtectModeUsingPostRequest.js +36 -52
- package/v1/model/ListIpsProtectModeUsingPostRequest.js.map +1 -0
- package/v1/model/ListIpsProtectModeUsingPostResponse.d.ts +1 -0
- package/v1/model/ListIpsProtectModeUsingPostResponse.d.ts.map +1 -0
- package/v1/model/ListIpsProtectModeUsingPostResponse.js +8 -24
- package/v1/model/ListIpsProtectModeUsingPostResponse.js.map +1 -0
- package/v1/model/ListIpsSwitchStatusUsingGetRequest.d.ts +4 -3
- package/v1/model/ListIpsSwitchStatusUsingGetRequest.d.ts.map +1 -0
- package/v1/model/ListIpsSwitchStatusUsingGetRequest.js +36 -52
- package/v1/model/ListIpsSwitchStatusUsingGetRequest.js.map +1 -0
- package/v1/model/ListIpsSwitchStatusUsingGetResponse.d.ts +1 -0
- package/v1/model/ListIpsSwitchStatusUsingGetResponse.d.ts.map +1 -0
- package/v1/model/ListIpsSwitchStatusUsingGetResponse.js +8 -24
- package/v1/model/ListIpsSwitchStatusUsingGetResponse.js.map +1 -0
- package/v1/model/ListParseDomainDetailsRequest.d.ts +4 -3
- package/v1/model/ListParseDomainDetailsRequest.d.ts.map +1 -0
- package/v1/model/ListParseDomainDetailsRequest.js +36 -52
- package/v1/model/ListParseDomainDetailsRequest.js.map +1 -0
- package/v1/model/ListParseDomainDetailsResponse.d.ts +1 -0
- package/v1/model/ListParseDomainDetailsResponse.d.ts.map +1 -0
- package/v1/model/ListParseDomainDetailsResponse.js +8 -24
- package/v1/model/ListParseDomainDetailsResponse.js.map +1 -0
- package/v1/model/ListRuleAclUsingPutRequest.d.ts +4 -3
- package/v1/model/ListRuleAclUsingPutRequest.d.ts.map +1 -0
- package/v1/model/ListRuleAclUsingPutRequest.js +38 -54
- package/v1/model/ListRuleAclUsingPutRequest.js.map +1 -0
- package/v1/model/ListRuleAclUsingPutResponse.d.ts +1 -0
- package/v1/model/ListRuleAclUsingPutResponse.d.ts.map +1 -0
- package/v1/model/ListRuleAclUsingPutResponse.js +8 -24
- package/v1/model/ListRuleAclUsingPutResponse.js.map +1 -0
- package/v1/model/ListRuleAclsUsingGetRequest.d.ts +18 -17
- package/v1/model/ListRuleAclsUsingGetRequest.d.ts.map +1 -0
- package/v1/model/ListRuleAclsUsingGetRequest.js +73 -97
- package/v1/model/ListRuleAclsUsingGetRequest.js.map +1 -0
- package/v1/model/ListRuleAclsUsingGetResponse.d.ts +1 -0
- package/v1/model/ListRuleAclsUsingGetResponse.d.ts.map +1 -0
- package/v1/model/ListRuleAclsUsingGetResponse.js +8 -24
- package/v1/model/ListRuleAclsUsingGetResponse.js.map +1 -0
- package/v1/model/ListRuleHitCountDto.d.ts +3 -2
- package/v1/model/ListRuleHitCountDto.d.ts.map +1 -0
- package/v1/model/ListRuleHitCountDto.js +12 -16
- package/v1/model/ListRuleHitCountDto.js.map +1 -0
- package/v1/model/ListRuleHitCountRequest.d.ts +3 -2
- package/v1/model/ListRuleHitCountRequest.d.ts.map +1 -0
- package/v1/model/ListRuleHitCountRequest.js +30 -42
- package/v1/model/ListRuleHitCountRequest.js.map +1 -0
- package/v1/model/ListRuleHitCountResponse.d.ts +1 -0
- package/v1/model/ListRuleHitCountResponse.d.ts.map +1 -0
- package/v1/model/ListRuleHitCountResponse.js +8 -24
- package/v1/model/ListRuleHitCountResponse.js.map +1 -0
- package/v1/model/ListServiceItemsDetailsRequest.d.ts +6 -5
- package/v1/model/ListServiceItemsDetailsRequest.d.ts.map +1 -0
- package/v1/model/ListServiceItemsDetailsRequest.js +48 -68
- package/v1/model/ListServiceItemsDetailsRequest.js.map +1 -0
- package/v1/model/ListServiceItemsDetailsResponse.d.ts +1 -0
- package/v1/model/ListServiceItemsDetailsResponse.d.ts.map +1 -0
- package/v1/model/ListServiceItemsDetailsResponse.js +8 -24
- package/v1/model/ListServiceItemsDetailsResponse.js.map +1 -0
- package/v1/model/ListServiceSetDetailsRequest.d.ts +4 -3
- package/v1/model/ListServiceSetDetailsRequest.d.ts.map +1 -0
- package/v1/model/ListServiceSetDetailsRequest.js +36 -52
- package/v1/model/ListServiceSetDetailsRequest.js.map +1 -0
- package/v1/model/ListServiceSetDetailsResponse.d.ts +1 -0
- package/v1/model/ListServiceSetDetailsResponse.d.ts.map +1 -0
- package/v1/model/ListServiceSetDetailsResponse.js +8 -24
- package/v1/model/ListServiceSetDetailsResponse.js.map +1 -0
- package/v1/model/ListServiceSetRequest.d.ts +6 -5
- package/v1/model/ListServiceSetRequest.d.ts.map +1 -0
- package/v1/model/ListServiceSetRequest.js +48 -68
- package/v1/model/ListServiceSetRequest.js.map +1 -0
- package/v1/model/ListServiceSetResponse.d.ts +1 -0
- package/v1/model/ListServiceSetResponse.d.ts.map +1 -0
- package/v1/model/ListServiceSetResponse.js +8 -24
- package/v1/model/ListServiceSetResponse.js.map +1 -0
- package/v1/model/ListVpcProtectsRequest.d.ts +4 -3
- package/v1/model/ListVpcProtectsRequest.d.ts.map +1 -0
- package/v1/model/ListVpcProtectsRequest.js +36 -52
- package/v1/model/ListVpcProtectsRequest.js.map +1 -0
- package/v1/model/ListVpcProtectsResponse.d.ts +1 -0
- package/v1/model/ListVpcProtectsResponse.d.ts.map +1 -0
- package/v1/model/ListVpcProtectsResponse.js +16 -36
- package/v1/model/ListVpcProtectsResponse.js.map +1 -0
- package/v1/model/OrderRuleAclDto.d.ts +1 -0
- package/v1/model/OrderRuleAclDto.d.ts.map +1 -0
- package/v1/model/OrderRuleAclDto.js +14 -18
- package/v1/model/OrderRuleAclDto.js.map +1 -0
- package/v1/model/Packet.d.ts +1 -0
- package/v1/model/Packet.d.ts.map +1 -0
- package/v1/model/Packet.js +22 -30
- package/v1/model/Packet.js.map +1 -0
- package/v1/model/PacketMessage.d.ts +1 -0
- package/v1/model/PacketMessage.d.ts.map +1 -0
- package/v1/model/PacketMessage.js +22 -30
- package/v1/model/PacketMessage.js.map +1 -0
- package/v1/model/ProtectObjectVO.d.ts +3 -2
- package/v1/model/ProtectObjectVO.d.ts.map +1 -0
- package/v1/model/ProtectObjectVO.js +23 -31
- package/v1/model/ProtectObjectVO.js.map +1 -0
- package/v1/model/RuleAclListResponseDTOData.d.ts +1 -0
- package/v1/model/RuleAclListResponseDTOData.d.ts.map +1 -0
- package/v1/model/RuleAclListResponseDTOData.js +20 -24
- package/v1/model/RuleAclListResponseDTOData.js.map +1 -0
- package/v1/model/RuleAclListResponseDTODataRecords.d.ts +5 -4
- package/v1/model/RuleAclListResponseDTODataRecords.d.ts.map +1 -0
- package/v1/model/RuleAclListResponseDTODataRecords.js +88 -120
- package/v1/model/RuleAclListResponseDTODataRecords.js.map +1 -0
- package/v1/model/RuleAddressDto.d.ts +3 -2
- package/v1/model/RuleAddressDto.d.ts.map +1 -0
- package/v1/model/RuleAddressDto.js +40 -56
- package/v1/model/RuleAddressDto.js.map +1 -0
- package/v1/model/RuleHitCountObject.d.ts +1 -0
- package/v1/model/RuleHitCountObject.d.ts.map +1 -0
- package/v1/model/RuleHitCountObject.js +20 -28
- package/v1/model/RuleHitCountObject.js.map +1 -0
- package/v1/model/RuleHitCountRecords.d.ts +1 -0
- package/v1/model/RuleHitCountRecords.d.ts.map +1 -0
- package/v1/model/RuleHitCountRecords.js +12 -12
- package/v1/model/RuleHitCountRecords.js.map +1 -0
- package/v1/model/RuleId.d.ts +1 -0
- package/v1/model/RuleId.d.ts.map +1 -0
- package/v1/model/RuleId.js +6 -6
- package/v1/model/RuleId.js.map +1 -0
- package/v1/model/RuleIdList.d.ts +1 -0
- package/v1/model/RuleIdList.d.ts.map +1 -0
- package/v1/model/RuleIdList.js +6 -6
- package/v1/model/RuleIdList.js.map +1 -0
- package/v1/model/RuleServiceDto.d.ts +3 -2
- package/v1/model/RuleServiceDto.d.ts.map +1 -0
- package/v1/model/RuleServiceDto.js +40 -56
- package/v1/model/RuleServiceDto.js.map +1 -0
- package/v1/model/ServiceItemIds.d.ts +1 -0
- package/v1/model/ServiceItemIds.d.ts.map +1 -0
- package/v1/model/ServiceItemIds.js +6 -6
- package/v1/model/ServiceItemIds.js.map +1 -0
- package/v1/model/ServiceItemListResponseDtoData.d.ts +1 -0
- package/v1/model/ServiceItemListResponseDtoData.d.ts.map +1 -0
- package/v1/model/ServiceItemListResponseDtoData.js +20 -24
- package/v1/model/ServiceItemListResponseDtoData.js.map +1 -0
- package/v1/model/ServiceItemListResponseDtoDataRecords.d.ts +1 -0
- package/v1/model/ServiceItemListResponseDtoDataRecords.d.ts.map +1 -0
- package/v1/model/ServiceItemListResponseDtoDataRecords.js +34 -46
- package/v1/model/ServiceItemListResponseDtoDataRecords.js.map +1 -0
- package/v1/model/ServiceSet.d.ts +1 -0
- package/v1/model/ServiceSet.d.ts.map +1 -0
- package/v1/model/ServiceSet.js +26 -34
- package/v1/model/ServiceSet.js.map +1 -0
- package/v1/model/ServiceSetDetailResponseDto.d.ts +3 -2
- package/v1/model/ServiceSetDetailResponseDto.d.ts.map +1 -0
- package/v1/model/ServiceSetDetailResponseDto.js +10 -10
- package/v1/model/ServiceSetDetailResponseDto.js.map +1 -0
- package/v1/model/ServiceSetRecords.d.ts +1 -0
- package/v1/model/ServiceSetRecords.d.ts.map +1 -0
- package/v1/model/ServiceSetRecords.js +12 -12
- package/v1/model/ServiceSetRecords.js.map +1 -0
- package/v1/model/SubnetInfo.d.ts +4 -3
- package/v1/model/SubnetInfo.d.ts.map +1 -0
- package/v1/model/SubnetInfo.js +36 -48
- package/v1/model/SubnetInfo.js.map +1 -0
- package/v1/model/SuccessRspData.d.ts +1 -0
- package/v1/model/SuccessRspData.d.ts.map +1 -0
- package/v1/model/SuccessRspData.js +6 -6
- package/v1/model/SuccessRspData.js.map +1 -0
- package/v1/model/Tag.d.ts +1 -0
- package/v1/model/Tag.d.ts.map +1 -0
- package/v1/model/Tag.js +8 -8
- package/v1/model/Tag.js.map +1 -0
- package/v1/model/UpdateAddressSetDto.d.ts +4 -3
- package/v1/model/UpdateAddressSetDto.d.ts.map +1 -0
- package/v1/model/UpdateAddressSetDto.js +17 -21
- package/v1/model/UpdateAddressSetDto.js.map +1 -0
- package/v1/model/UpdateAddressSetInfoUsingPutRequest.d.ts +4 -3
- package/v1/model/UpdateAddressSetInfoUsingPutRequest.d.ts.map +1 -0
- package/v1/model/UpdateAddressSetInfoUsingPutRequest.js +38 -54
- package/v1/model/UpdateAddressSetInfoUsingPutRequest.js.map +1 -0
- package/v1/model/UpdateAddressSetInfoUsingPutResponse.d.ts +1 -0
- package/v1/model/UpdateAddressSetInfoUsingPutResponse.d.ts.map +1 -0
- package/v1/model/UpdateAddressSetInfoUsingPutResponse.js +8 -24
- package/v1/model/UpdateAddressSetInfoUsingPutResponse.js.map +1 -0
- package/v1/model/UpdateBlackWhiteListDto.d.ts +4 -3
- package/v1/model/UpdateBlackWhiteListDto.d.ts.map +1 -0
- package/v1/model/UpdateBlackWhiteListDto.js +37 -49
- package/v1/model/UpdateBlackWhiteListDto.js.map +1 -0
- package/v1/model/UpdateBlackWhiteListUsingPutRequest.d.ts +4 -3
- package/v1/model/UpdateBlackWhiteListUsingPutRequest.d.ts.map +1 -0
- package/v1/model/UpdateBlackWhiteListUsingPutRequest.js +38 -54
- package/v1/model/UpdateBlackWhiteListUsingPutRequest.js.map +1 -0
- package/v1/model/UpdateBlackWhiteListUsingPutResponse.d.ts +1 -0
- package/v1/model/UpdateBlackWhiteListUsingPutResponse.d.ts.map +1 -0
- package/v1/model/UpdateBlackWhiteListUsingPutResponse.js +8 -24
- package/v1/model/UpdateBlackWhiteListUsingPutResponse.js.map +1 -0
- package/v1/model/UpdateDnsServersRequest.d.ts +3 -2
- package/v1/model/UpdateDnsServersRequest.d.ts.map +1 -0
- package/v1/model/UpdateDnsServersRequest.js +30 -42
- package/v1/model/UpdateDnsServersRequest.js.map +1 -0
- package/v1/model/UpdateDnsServersRequestBody.d.ts +1 -0
- package/v1/model/UpdateDnsServersRequestBody.d.ts.map +1 -0
- package/v1/model/UpdateDnsServersRequestBody.js +12 -16
- package/v1/model/UpdateDnsServersRequestBody.js.map +1 -0
- package/v1/model/UpdateDnsServersRequestBodyDnsServer.d.ts +1 -0
- package/v1/model/UpdateDnsServersRequestBodyDnsServer.d.ts.map +1 -0
- package/v1/model/UpdateDnsServersRequestBodyDnsServer.js +28 -40
- package/v1/model/UpdateDnsServersRequestBodyDnsServer.js.map +1 -0
- package/v1/model/UpdateDnsServersResponse.d.ts +1 -0
- package/v1/model/UpdateDnsServersResponse.d.ts.map +1 -0
- package/v1/model/UpdateDnsServersResponse.js +8 -24
- package/v1/model/UpdateDnsServersResponse.js.map +1 -0
- package/v1/model/UpdateRuleAclDto.d.ts +14 -13
- package/v1/model/UpdateRuleAclDto.d.ts.map +1 -0
- package/v1/model/UpdateRuleAclDto.js +83 -111
- package/v1/model/UpdateRuleAclDto.js.map +1 -0
- package/v1/model/UpdateRuleAclUsingPutRequest.d.ts +4 -3
- package/v1/model/UpdateRuleAclUsingPutRequest.d.ts.map +1 -0
- package/v1/model/UpdateRuleAclUsingPutRequest.js +38 -54
- package/v1/model/UpdateRuleAclUsingPutRequest.js.map +1 -0
- package/v1/model/UpdateRuleAclUsingPutResponse.d.ts +1 -0
- package/v1/model/UpdateRuleAclUsingPutResponse.d.ts.map +1 -0
- package/v1/model/UpdateRuleAclUsingPutResponse.js +8 -24
- package/v1/model/UpdateRuleAclUsingPutResponse.js.map +1 -0
- package/v1/model/UpdateServiceSetUsingPUTRequestBody.d.ts +1 -0
- package/v1/model/UpdateServiceSetUsingPUTRequestBody.d.ts.map +1 -0
- package/v1/model/UpdateServiceSetUsingPUTRequestBody.js +8 -8
- package/v1/model/UpdateServiceSetUsingPUTRequestBody.js.map +1 -0
- package/v1/model/UpdateServiceSetUsingPutRequest.d.ts +4 -3
- package/v1/model/UpdateServiceSetUsingPutRequest.d.ts.map +1 -0
- package/v1/model/UpdateServiceSetUsingPutRequest.js +38 -54
- package/v1/model/UpdateServiceSetUsingPutRequest.js.map +1 -0
- package/v1/model/UpdateServiceSetUsingPutResponse.d.ts +1 -0
- package/v1/model/UpdateServiceSetUsingPutResponse.d.ts.map +1 -0
- package/v1/model/UpdateServiceSetUsingPutResponse.js +8 -24
- package/v1/model/UpdateServiceSetUsingPutResponse.js.map +1 -0
- package/v1/model/VPCProtectsVo.d.ts +1 -0
- package/v1/model/VPCProtectsVo.d.ts.map +1 -0
- package/v1/model/VPCProtectsVo.js +46 -66
- package/v1/model/VPCProtectsVo.js.map +1 -0
- package/v1/model/VpcAttachmentDetail.d.ts +1 -0
- package/v1/model/VpcAttachmentDetail.d.ts.map +1 -0
- package/v1/model/VpcAttachmentDetail.js +70 -98
- package/v1/model/VpcAttachmentDetail.js.map +1 -0
- package/v1/model/VpcDetail.d.ts +1 -0
- package/v1/model/VpcDetail.d.ts.map +1 -0
- package/v1/model/VpcDetail.js +12 -12
- package/v1/model/VpcDetail.js.map +1 -0
- package/v1/public-api.d.ts +1 -0
- package/v1/public-api.d.ts.map +1 -0
- package/v1/public-api.js +1 -0
- package/v1/public-api.js.map +1 -0
- package/LICENSE +0 -13
- package/README.md +0 -1
package/v1/CfwClient.js
CHANGED
@@ -1,76 +1,61 @@
|
|
1
1
|
"use strict";
|
2
|
-
var __extends = (this && this.__extends) || (function () {
|
3
|
-
var extendStatics = function (d, b) {
|
4
|
-
extendStatics = Object.setPrototypeOf ||
|
5
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
6
|
-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
7
|
-
return extendStatics(d, b);
|
8
|
-
};
|
9
|
-
return function (d, b) {
|
10
|
-
if (typeof b !== "function" && b !== null)
|
11
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
12
|
-
extendStatics(d, b);
|
13
|
-
function __() { this.constructor = d; }
|
14
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
15
|
-
};
|
16
|
-
})();
|
17
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
18
3
|
exports.RequiredError = exports.ParamCreater = exports.CfwClient = void 0;
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
4
|
+
const ClientBuilder_1 = require("@huaweicloud/huaweicloud-sdk-core/ClientBuilder");
|
5
|
+
const AddAddressItemsUsingPostRequest_1 = require("./model/AddAddressItemsUsingPostRequest");
|
6
|
+
const AddAddressSetInfoUsingPostRequest_1 = require("./model/AddAddressSetInfoUsingPostRequest");
|
7
|
+
const AddBlackWhiteListUsingPostRequest_1 = require("./model/AddBlackWhiteListUsingPostRequest");
|
8
|
+
const AddRuleAclUsingPostRequest_1 = require("./model/AddRuleAclUsingPostRequest");
|
9
|
+
const AddServiceItemsUsingPostRequest_1 = require("./model/AddServiceItemsUsingPostRequest");
|
10
|
+
const AddServiceSetUsingPostRequest_1 = require("./model/AddServiceSetUsingPostRequest");
|
11
|
+
const ChangeEwProtectStatusRequest_1 = require("./model/ChangeEwProtectStatusRequest");
|
12
|
+
const ChangeIpsProtectModeUsingPostRequest_1 = require("./model/ChangeIpsProtectModeUsingPostRequest");
|
13
|
+
const ChangeIpsSwitchUsingPostRequest_1 = require("./model/ChangeIpsSwitchUsingPostRequest");
|
14
|
+
const ChangeProtectEipRequest_1 = require("./model/ChangeProtectEipRequest");
|
15
|
+
const CountEipsRequest_1 = require("./model/CountEipsRequest");
|
16
|
+
const DeleteAclRuleCountRequest_1 = require("./model/DeleteAclRuleCountRequest");
|
17
|
+
const DeleteAddressItemUsingDeleteRequest_1 = require("./model/DeleteAddressItemUsingDeleteRequest");
|
18
|
+
const DeleteAddressSetInfoUsingDeleteRequest_1 = require("./model/DeleteAddressSetInfoUsingDeleteRequest");
|
19
|
+
const DeleteBlackWhiteListUsingDeleteRequest_1 = require("./model/DeleteBlackWhiteListUsingDeleteRequest");
|
20
|
+
const DeleteRuleAclUsingDeleteRequest_1 = require("./model/DeleteRuleAclUsingDeleteRequest");
|
21
|
+
const DeleteServiceItemUsingDeleteRequest_1 = require("./model/DeleteServiceItemUsingDeleteRequest");
|
22
|
+
const DeleteServiceSetUsingDeleteRequest_1 = require("./model/DeleteServiceSetUsingDeleteRequest");
|
23
|
+
const ListAccessControlLogsRequest_1 = require("./model/ListAccessControlLogsRequest");
|
24
|
+
const ListAddressItemsUsingGetRequest_1 = require("./model/ListAddressItemsUsingGetRequest");
|
25
|
+
const ListAddressSetDetailUsingGetRequest_1 = require("./model/ListAddressSetDetailUsingGetRequest");
|
26
|
+
const ListAddressSetListUsingGetRequest_1 = require("./model/ListAddressSetListUsingGetRequest");
|
27
|
+
const ListAttackLogsRequest_1 = require("./model/ListAttackLogsRequest");
|
28
|
+
const ListBlackWhiteListsUsingGetRequest_1 = require("./model/ListBlackWhiteListsUsingGetRequest");
|
29
|
+
const ListDnsServersRequest_1 = require("./model/ListDnsServersRequest");
|
30
|
+
const ListEastWestFirewallRequest_1 = require("./model/ListEastWestFirewallRequest");
|
31
|
+
const ListEipResourcesRequest_1 = require("./model/ListEipResourcesRequest");
|
32
|
+
const ListFirewallUsingGetRequest_1 = require("./model/ListFirewallUsingGetRequest");
|
33
|
+
const ListFlowLogsRequest_1 = require("./model/ListFlowLogsRequest");
|
34
|
+
const ListIpsProtectModeUsingPostRequest_1 = require("./model/ListIpsProtectModeUsingPostRequest");
|
35
|
+
const ListIpsSwitchStatusUsingGetRequest_1 = require("./model/ListIpsSwitchStatusUsingGetRequest");
|
36
|
+
const ListParseDomainDetailsRequest_1 = require("./model/ListParseDomainDetailsRequest");
|
37
|
+
const ListRuleAclUsingPutRequest_1 = require("./model/ListRuleAclUsingPutRequest");
|
38
|
+
const ListRuleAclsUsingGetRequest_1 = require("./model/ListRuleAclsUsingGetRequest");
|
39
|
+
const ListRuleHitCountRequest_1 = require("./model/ListRuleHitCountRequest");
|
40
|
+
const ListServiceItemsDetailsRequest_1 = require("./model/ListServiceItemsDetailsRequest");
|
41
|
+
const ListServiceSetDetailsRequest_1 = require("./model/ListServiceSetDetailsRequest");
|
42
|
+
const ListServiceSetRequest_1 = require("./model/ListServiceSetRequest");
|
43
|
+
const ListVpcProtectsRequest_1 = require("./model/ListVpcProtectsRequest");
|
44
|
+
const UpdateAddressSetInfoUsingPutRequest_1 = require("./model/UpdateAddressSetInfoUsingPutRequest");
|
45
|
+
const UpdateBlackWhiteListUsingPutRequest_1 = require("./model/UpdateBlackWhiteListUsingPutRequest");
|
46
|
+
const UpdateDnsServersRequest_1 = require("./model/UpdateDnsServersRequest");
|
47
|
+
const UpdateRuleAclUsingPutRequest_1 = require("./model/UpdateRuleAclUsingPutRequest");
|
48
|
+
const UpdateServiceSetUsingPutRequest_1 = require("./model/UpdateServiceSetUsingPutRequest");
|
49
|
+
class CfwClient {
|
50
|
+
static newBuilder() {
|
51
|
+
return new ClientBuilder_1.ClientBuilder(newClient);
|
52
|
+
}
|
53
|
+
constructor(client) {
|
66
54
|
this.hcClient = client;
|
67
55
|
}
|
68
|
-
|
69
|
-
return new ClientBuilder_1.ClientBuilder(newClient);
|
70
|
-
};
|
71
|
-
CfwClient.prototype.getPath = function () {
|
56
|
+
getPath() {
|
72
57
|
return __dirname;
|
73
|
-
}
|
58
|
+
}
|
74
59
|
/**
|
75
60
|
* 添加地址组成员
|
76
61
|
*
|
@@ -84,12 +69,12 @@ var CfwClient = /** @class */ (function () {
|
|
84
69
|
* @param {*} [options] Override http request option.
|
85
70
|
* @throws {RequiredError}
|
86
71
|
*/
|
87
|
-
|
88
|
-
|
72
|
+
addAddressItemsUsingPost(addAddressItemsUsingPostRequest) {
|
73
|
+
const options = (0, exports.ParamCreater)().addAddressItemsUsingPost(addAddressItemsUsingPostRequest);
|
89
74
|
// @ts-ignore
|
90
75
|
options['responseHeaders'] = [''];
|
91
76
|
return this.hcClient.sendRequest(options);
|
92
|
-
}
|
77
|
+
}
|
93
78
|
/**
|
94
79
|
* 添加地址组
|
95
80
|
*
|
@@ -103,12 +88,12 @@ var CfwClient = /** @class */ (function () {
|
|
103
88
|
* @param {*} [options] Override http request option.
|
104
89
|
* @throws {RequiredError}
|
105
90
|
*/
|
106
|
-
|
107
|
-
|
91
|
+
addAddressSetInfoUsingPost(addAddressSetInfoUsingPostRequest) {
|
92
|
+
const options = (0, exports.ParamCreater)().addAddressSetInfoUsingPost(addAddressSetInfoUsingPostRequest);
|
108
93
|
// @ts-ignore
|
109
94
|
options['responseHeaders'] = [''];
|
110
95
|
return this.hcClient.sendRequest(options);
|
111
|
-
}
|
96
|
+
}
|
112
97
|
/**
|
113
98
|
* 创建黑白名单规则
|
114
99
|
*
|
@@ -122,12 +107,12 @@ var CfwClient = /** @class */ (function () {
|
|
122
107
|
* @param {*} [options] Override http request option.
|
123
108
|
* @throws {RequiredError}
|
124
109
|
*/
|
125
|
-
|
126
|
-
|
110
|
+
addBlackWhiteListUsingPost(addBlackWhiteListUsingPostRequest) {
|
111
|
+
const options = (0, exports.ParamCreater)().addBlackWhiteListUsingPost(addBlackWhiteListUsingPostRequest);
|
127
112
|
// @ts-ignore
|
128
113
|
options['responseHeaders'] = [''];
|
129
114
|
return this.hcClient.sendRequest(options);
|
130
|
-
}
|
115
|
+
}
|
131
116
|
/**
|
132
117
|
* 批量添加服务组成员
|
133
118
|
*
|
@@ -141,12 +126,12 @@ var CfwClient = /** @class */ (function () {
|
|
141
126
|
* @param {*} [options] Override http request option.
|
142
127
|
* @throws {RequiredError}
|
143
128
|
*/
|
144
|
-
|
145
|
-
|
129
|
+
addServiceItemsUsingPost(addServiceItemsUsingPostRequest) {
|
130
|
+
const options = (0, exports.ParamCreater)().addServiceItemsUsingPost(addServiceItemsUsingPostRequest);
|
146
131
|
// @ts-ignore
|
147
132
|
options['responseHeaders'] = [''];
|
148
133
|
return this.hcClient.sendRequest(options);
|
149
|
-
}
|
134
|
+
}
|
150
135
|
/**
|
151
136
|
* 创建服务组
|
152
137
|
*
|
@@ -160,12 +145,12 @@ var CfwClient = /** @class */ (function () {
|
|
160
145
|
* @param {*} [options] Override http request option.
|
161
146
|
* @throws {RequiredError}
|
162
147
|
*/
|
163
|
-
|
164
|
-
|
148
|
+
addServiceSetUsingPost(addServiceSetUsingPostRequest) {
|
149
|
+
const options = (0, exports.ParamCreater)().addServiceSetUsingPost(addServiceSetUsingPostRequest);
|
165
150
|
// @ts-ignore
|
166
151
|
options['responseHeaders'] = [''];
|
167
152
|
return this.hcClient.sendRequest(options);
|
168
|
-
}
|
153
|
+
}
|
169
154
|
/**
|
170
155
|
* 东西向防护资源防护开启/关闭
|
171
156
|
*
|
@@ -179,12 +164,12 @@ var CfwClient = /** @class */ (function () {
|
|
179
164
|
* @param {*} [options] Override http request option.
|
180
165
|
* @throws {RequiredError}
|
181
166
|
*/
|
182
|
-
|
183
|
-
|
167
|
+
changeEwProtectStatus(changeEwProtectStatusRequest) {
|
168
|
+
const options = (0, exports.ParamCreater)().changeEwProtectStatus(changeEwProtectStatusRequest);
|
184
169
|
// @ts-ignore
|
185
170
|
options['responseHeaders'] = [''];
|
186
171
|
return this.hcClient.sendRequest(options);
|
187
|
-
}
|
172
|
+
}
|
188
173
|
/**
|
189
174
|
* 切换防护模式
|
190
175
|
*
|
@@ -198,12 +183,12 @@ var CfwClient = /** @class */ (function () {
|
|
198
183
|
* @param {*} [options] Override http request option.
|
199
184
|
* @throws {RequiredError}
|
200
185
|
*/
|
201
|
-
|
202
|
-
|
186
|
+
changeIpsProtectModeUsingPost(changeIpsProtectModeUsingPostRequest) {
|
187
|
+
const options = (0, exports.ParamCreater)().changeIpsProtectModeUsingPost(changeIpsProtectModeUsingPostRequest);
|
203
188
|
// @ts-ignore
|
204
189
|
options['responseHeaders'] = [''];
|
205
190
|
return this.hcClient.sendRequest(options);
|
206
|
-
}
|
191
|
+
}
|
207
192
|
/**
|
208
193
|
* 清除规则击中次数
|
209
194
|
*
|
@@ -217,12 +202,12 @@ var CfwClient = /** @class */ (function () {
|
|
217
202
|
* @param {*} [options] Override http request option.
|
218
203
|
* @throws {RequiredError}
|
219
204
|
*/
|
220
|
-
|
221
|
-
|
205
|
+
deleteAclRuleCount(deleteAclRuleCountRequest) {
|
206
|
+
const options = (0, exports.ParamCreater)().deleteAclRuleCount(deleteAclRuleCountRequest);
|
222
207
|
// @ts-ignore
|
223
208
|
options['responseHeaders'] = [''];
|
224
209
|
return this.hcClient.sendRequest(options);
|
225
|
-
}
|
210
|
+
}
|
226
211
|
/**
|
227
212
|
* 删除地址组成员
|
228
213
|
*
|
@@ -236,12 +221,12 @@ var CfwClient = /** @class */ (function () {
|
|
236
221
|
* @param {*} [options] Override http request option.
|
237
222
|
* @throws {RequiredError}
|
238
223
|
*/
|
239
|
-
|
240
|
-
|
224
|
+
deleteAddressItemUsingDelete(deleteAddressItemUsingDeleteRequest) {
|
225
|
+
const options = (0, exports.ParamCreater)().deleteAddressItemUsingDelete(deleteAddressItemUsingDeleteRequest);
|
241
226
|
// @ts-ignore
|
242
227
|
options['responseHeaders'] = [''];
|
243
228
|
return this.hcClient.sendRequest(options);
|
244
|
-
}
|
229
|
+
}
|
245
230
|
/**
|
246
231
|
* 删除地址组
|
247
232
|
*
|
@@ -255,12 +240,12 @@ var CfwClient = /** @class */ (function () {
|
|
255
240
|
* @param {*} [options] Override http request option.
|
256
241
|
* @throws {RequiredError}
|
257
242
|
*/
|
258
|
-
|
259
|
-
|
243
|
+
deleteAddressSetInfoUsingDelete(deleteAddressSetInfoUsingDeleteRequest) {
|
244
|
+
const options = (0, exports.ParamCreater)().deleteAddressSetInfoUsingDelete(deleteAddressSetInfoUsingDeleteRequest);
|
260
245
|
// @ts-ignore
|
261
246
|
options['responseHeaders'] = [''];
|
262
247
|
return this.hcClient.sendRequest(options);
|
263
|
-
}
|
248
|
+
}
|
264
249
|
/**
|
265
250
|
* 删除黑白名单规则
|
266
251
|
*
|
@@ -274,12 +259,12 @@ var CfwClient = /** @class */ (function () {
|
|
274
259
|
* @param {*} [options] Override http request option.
|
275
260
|
* @throws {RequiredError}
|
276
261
|
*/
|
277
|
-
|
278
|
-
|
262
|
+
deleteBlackWhiteListUsingDelete(deleteBlackWhiteListUsingDeleteRequest) {
|
263
|
+
const options = (0, exports.ParamCreater)().deleteBlackWhiteListUsingDelete(deleteBlackWhiteListUsingDeleteRequest);
|
279
264
|
// @ts-ignore
|
280
265
|
options['responseHeaders'] = [''];
|
281
266
|
return this.hcClient.sendRequest(options);
|
282
|
-
}
|
267
|
+
}
|
283
268
|
/**
|
284
269
|
* 删除服务组成员
|
285
270
|
*
|
@@ -293,12 +278,12 @@ var CfwClient = /** @class */ (function () {
|
|
293
278
|
* @param {*} [options] Override http request option.
|
294
279
|
* @throws {RequiredError}
|
295
280
|
*/
|
296
|
-
|
297
|
-
|
281
|
+
deleteServiceItemUsingDelete(deleteServiceItemUsingDeleteRequest) {
|
282
|
+
const options = (0, exports.ParamCreater)().deleteServiceItemUsingDelete(deleteServiceItemUsingDeleteRequest);
|
298
283
|
// @ts-ignore
|
299
284
|
options['responseHeaders'] = [''];
|
300
285
|
return this.hcClient.sendRequest(options);
|
301
|
-
}
|
286
|
+
}
|
302
287
|
/**
|
303
288
|
* 删除服务组
|
304
289
|
*
|
@@ -312,12 +297,12 @@ var CfwClient = /** @class */ (function () {
|
|
312
297
|
* @param {*} [options] Override http request option.
|
313
298
|
* @throws {RequiredError}
|
314
299
|
*/
|
315
|
-
|
316
|
-
|
300
|
+
deleteServiceSetUsingDelete(deleteServiceSetUsingDeleteRequest) {
|
301
|
+
const options = (0, exports.ParamCreater)().deleteServiceSetUsingDelete(deleteServiceSetUsingDeleteRequest);
|
317
302
|
// @ts-ignore
|
318
303
|
options['responseHeaders'] = [''];
|
319
304
|
return this.hcClient.sendRequest(options);
|
320
|
-
}
|
305
|
+
}
|
321
306
|
/**
|
322
307
|
* 查询访问控制日志
|
323
308
|
*
|
@@ -344,12 +329,12 @@ var CfwClient = /** @class */ (function () {
|
|
344
329
|
* @param {*} [options] Override http request option.
|
345
330
|
* @throws {RequiredError}
|
346
331
|
*/
|
347
|
-
|
348
|
-
|
332
|
+
listAccessControlLogs(listAccessControlLogsRequest) {
|
333
|
+
const options = (0, exports.ParamCreater)().listAccessControlLogs(listAccessControlLogsRequest);
|
349
334
|
// @ts-ignore
|
350
335
|
options['responseHeaders'] = [''];
|
351
336
|
return this.hcClient.sendRequest(options);
|
352
|
-
}
|
337
|
+
}
|
353
338
|
/**
|
354
339
|
* 查询地址组成员
|
355
340
|
*
|
@@ -367,12 +352,12 @@ var CfwClient = /** @class */ (function () {
|
|
367
352
|
* @param {*} [options] Override http request option.
|
368
353
|
* @throws {RequiredError}
|
369
354
|
*/
|
370
|
-
|
371
|
-
|
355
|
+
listAddressItemsUsingGet(listAddressItemsUsingGetRequest) {
|
356
|
+
const options = (0, exports.ParamCreater)().listAddressItemsUsingGet(listAddressItemsUsingGetRequest);
|
372
357
|
// @ts-ignore
|
373
358
|
options['responseHeaders'] = [''];
|
374
359
|
return this.hcClient.sendRequest(options);
|
375
|
-
}
|
360
|
+
}
|
376
361
|
/**
|
377
362
|
* 查询地址组详细
|
378
363
|
*
|
@@ -386,12 +371,12 @@ var CfwClient = /** @class */ (function () {
|
|
386
371
|
* @param {*} [options] Override http request option.
|
387
372
|
* @throws {RequiredError}
|
388
373
|
*/
|
389
|
-
|
390
|
-
|
374
|
+
listAddressSetDetailUsingGet(listAddressSetDetailUsingGetRequest) {
|
375
|
+
const options = (0, exports.ParamCreater)().listAddressSetDetailUsingGet(listAddressSetDetailUsingGetRequest);
|
391
376
|
// @ts-ignore
|
392
377
|
options['responseHeaders'] = [''];
|
393
378
|
return this.hcClient.sendRequest(options);
|
394
|
-
}
|
379
|
+
}
|
395
380
|
/**
|
396
381
|
* 查询地址组列表
|
397
382
|
*
|
@@ -410,12 +395,12 @@ var CfwClient = /** @class */ (function () {
|
|
410
395
|
* @param {*} [options] Override http request option.
|
411
396
|
* @throws {RequiredError}
|
412
397
|
*/
|
413
|
-
|
414
|
-
|
398
|
+
listAddressSetListUsingGet(listAddressSetListUsingGetRequest) {
|
399
|
+
const options = (0, exports.ParamCreater)().listAddressSetListUsingGet(listAddressSetListUsingGetRequest);
|
415
400
|
// @ts-ignore
|
416
401
|
options['responseHeaders'] = [''];
|
417
402
|
return this.hcClient.sendRequest(options);
|
418
|
-
}
|
403
|
+
}
|
419
404
|
/**
|
420
405
|
* 查询攻击日志
|
421
406
|
*
|
@@ -446,12 +431,12 @@ var CfwClient = /** @class */ (function () {
|
|
446
431
|
* @param {*} [options] Override http request option.
|
447
432
|
* @throws {RequiredError}
|
448
433
|
*/
|
449
|
-
|
450
|
-
|
434
|
+
listAttackLogs(listAttackLogsRequest) {
|
435
|
+
const options = (0, exports.ParamCreater)().listAttackLogs(listAttackLogsRequest);
|
451
436
|
// @ts-ignore
|
452
437
|
options['responseHeaders'] = [''];
|
453
438
|
return this.hcClient.sendRequest(options);
|
454
|
-
}
|
439
|
+
}
|
455
440
|
/**
|
456
441
|
* 查询黑白名单列表
|
457
442
|
*
|
@@ -471,12 +456,12 @@ var CfwClient = /** @class */ (function () {
|
|
471
456
|
* @param {*} [options] Override http request option.
|
472
457
|
* @throws {RequiredError}
|
473
458
|
*/
|
474
|
-
|
475
|
-
|
459
|
+
listBlackWhiteListsUsingGet(listBlackWhiteListsUsingGetRequest) {
|
460
|
+
const options = (0, exports.ParamCreater)().listBlackWhiteListsUsingGet(listBlackWhiteListsUsingGetRequest);
|
476
461
|
// @ts-ignore
|
477
462
|
options['responseHeaders'] = [''];
|
478
463
|
return this.hcClient.sendRequest(options);
|
479
|
-
}
|
464
|
+
}
|
480
465
|
/**
|
481
466
|
* 查询dns服务器列表
|
482
467
|
*
|
@@ -491,12 +476,12 @@ var CfwClient = /** @class */ (function () {
|
|
491
476
|
* @param {*} [options] Override http request option.
|
492
477
|
* @throws {RequiredError}
|
493
478
|
*/
|
494
|
-
|
495
|
-
|
479
|
+
listDnsServers(listDnsServersRequest) {
|
480
|
+
const options = (0, exports.ParamCreater)().listDnsServers(listDnsServersRequest);
|
496
481
|
// @ts-ignore
|
497
482
|
options['responseHeaders'] = [''];
|
498
483
|
return this.hcClient.sendRequest(options);
|
499
|
-
}
|
484
|
+
}
|
500
485
|
/**
|
501
486
|
* 查询东西向防火墙信息
|
502
487
|
*
|
@@ -511,12 +496,12 @@ var CfwClient = /** @class */ (function () {
|
|
511
496
|
* @param {*} [options] Override http request option.
|
512
497
|
* @throws {RequiredError}
|
513
498
|
*/
|
514
|
-
|
515
|
-
|
499
|
+
listEastWestFirewall(listEastWestFirewallRequest) {
|
500
|
+
const options = (0, exports.ParamCreater)().listEastWestFirewall(listEastWestFirewallRequest);
|
516
501
|
// @ts-ignore
|
517
502
|
options['responseHeaders'] = [''];
|
518
503
|
return this.hcClient.sendRequest(options);
|
519
|
-
}
|
504
|
+
}
|
520
505
|
/**
|
521
506
|
* 查询防火墙实例
|
522
507
|
*
|
@@ -532,12 +517,12 @@ var CfwClient = /** @class */ (function () {
|
|
532
517
|
* @param {*} [options] Override http request option.
|
533
518
|
* @throws {RequiredError}
|
534
519
|
*/
|
535
|
-
|
536
|
-
|
520
|
+
listFirewallUsingGet(listFirewallUsingGetRequest) {
|
521
|
+
const options = (0, exports.ParamCreater)().listFirewallUsingGet(listFirewallUsingGetRequest);
|
537
522
|
// @ts-ignore
|
538
523
|
options['responseHeaders'] = [''];
|
539
524
|
return this.hcClient.sendRequest(options);
|
540
|
-
}
|
525
|
+
}
|
541
526
|
/**
|
542
527
|
* 查询流日志
|
543
528
|
*
|
@@ -564,12 +549,12 @@ var CfwClient = /** @class */ (function () {
|
|
564
549
|
* @param {*} [options] Override http request option.
|
565
550
|
* @throws {RequiredError}
|
566
551
|
*/
|
567
|
-
|
568
|
-
|
552
|
+
listFlowLogs(listFlowLogsRequest) {
|
553
|
+
const options = (0, exports.ParamCreater)().listFlowLogs(listFlowLogsRequest);
|
569
554
|
// @ts-ignore
|
570
555
|
options['responseHeaders'] = [''];
|
571
556
|
return this.hcClient.sendRequest(options);
|
572
|
-
}
|
557
|
+
}
|
573
558
|
/**
|
574
559
|
* 查询防护模式
|
575
560
|
*
|
@@ -583,12 +568,12 @@ var CfwClient = /** @class */ (function () {
|
|
583
568
|
* @param {*} [options] Override http request option.
|
584
569
|
* @throws {RequiredError}
|
585
570
|
*/
|
586
|
-
|
587
|
-
|
571
|
+
listIpsProtectModeUsingPost(listIpsProtectModeUsingPostRequest) {
|
572
|
+
const options = (0, exports.ParamCreater)().listIpsProtectModeUsingPost(listIpsProtectModeUsingPostRequest);
|
588
573
|
// @ts-ignore
|
589
574
|
options['responseHeaders'] = [''];
|
590
575
|
return this.hcClient.sendRequest(options);
|
591
|
-
}
|
576
|
+
}
|
592
577
|
/**
|
593
578
|
* 测试域名有效性
|
594
579
|
*
|
@@ -602,12 +587,12 @@ var CfwClient = /** @class */ (function () {
|
|
602
587
|
* @param {*} [options] Override http request option.
|
603
588
|
* @throws {RequiredError}
|
604
589
|
*/
|
605
|
-
|
606
|
-
|
590
|
+
listParseDomainDetails(listParseDomainDetailsRequest) {
|
591
|
+
const options = (0, exports.ParamCreater)().listParseDomainDetails(listParseDomainDetailsRequest);
|
607
592
|
// @ts-ignore
|
608
593
|
options['responseHeaders'] = [''];
|
609
594
|
return this.hcClient.sendRequest(options);
|
610
|
-
}
|
595
|
+
}
|
611
596
|
/**
|
612
597
|
* 获取规则击中次数
|
613
598
|
*
|
@@ -621,12 +606,12 @@ var CfwClient = /** @class */ (function () {
|
|
621
606
|
* @param {*} [options] Override http request option.
|
622
607
|
* @throws {RequiredError}
|
623
608
|
*/
|
624
|
-
|
625
|
-
|
609
|
+
listRuleHitCount(listRuleHitCountRequest) {
|
610
|
+
const options = (0, exports.ParamCreater)().listRuleHitCount(listRuleHitCountRequest);
|
626
611
|
// @ts-ignore
|
627
612
|
options['responseHeaders'] = [''];
|
628
613
|
return this.hcClient.sendRequest(options);
|
629
|
-
}
|
614
|
+
}
|
630
615
|
/**
|
631
616
|
* 查询服务组成员列表
|
632
617
|
*
|
@@ -643,12 +628,12 @@ var CfwClient = /** @class */ (function () {
|
|
643
628
|
* @param {*} [options] Override http request option.
|
644
629
|
* @throws {RequiredError}
|
645
630
|
*/
|
646
|
-
|
647
|
-
|
631
|
+
listServiceItemsDetails(listServiceItemsDetailsRequest) {
|
632
|
+
const options = (0, exports.ParamCreater)().listServiceItemsDetails(listServiceItemsDetailsRequest);
|
648
633
|
// @ts-ignore
|
649
634
|
options['responseHeaders'] = [''];
|
650
635
|
return this.hcClient.sendRequest(options);
|
651
|
-
}
|
636
|
+
}
|
652
637
|
/**
|
653
638
|
* 获取服务组列表
|
654
639
|
*
|
@@ -665,12 +650,12 @@ var CfwClient = /** @class */ (function () {
|
|
665
650
|
* @param {*} [options] Override http request option.
|
666
651
|
* @throws {RequiredError}
|
667
652
|
*/
|
668
|
-
|
669
|
-
|
653
|
+
listServiceSet(listServiceSetRequest) {
|
654
|
+
const options = (0, exports.ParamCreater)().listServiceSet(listServiceSetRequest);
|
670
655
|
// @ts-ignore
|
671
656
|
options['responseHeaders'] = [''];
|
672
657
|
return this.hcClient.sendRequest(options);
|
673
|
-
}
|
658
|
+
}
|
674
659
|
/**
|
675
660
|
* 查询服务组细节
|
676
661
|
*
|
@@ -684,12 +669,12 @@ var CfwClient = /** @class */ (function () {
|
|
684
669
|
* @param {*} [options] Override http request option.
|
685
670
|
* @throws {RequiredError}
|
686
671
|
*/
|
687
|
-
|
688
|
-
|
672
|
+
listServiceSetDetails(listServiceSetDetailsRequest) {
|
673
|
+
const options = (0, exports.ParamCreater)().listServiceSetDetails(listServiceSetDetailsRequest);
|
689
674
|
// @ts-ignore
|
690
675
|
options['responseHeaders'] = [''];
|
691
676
|
return this.hcClient.sendRequest(options);
|
692
|
-
}
|
677
|
+
}
|
693
678
|
/**
|
694
679
|
* 更新地址组信息
|
695
680
|
*
|
@@ -704,12 +689,12 @@ var CfwClient = /** @class */ (function () {
|
|
704
689
|
* @param {*} [options] Override http request option.
|
705
690
|
* @throws {RequiredError}
|
706
691
|
*/
|
707
|
-
|
708
|
-
|
692
|
+
updateAddressSetInfoUsingPut(updateAddressSetInfoUsingPutRequest) {
|
693
|
+
const options = (0, exports.ParamCreater)().updateAddressSetInfoUsingPut(updateAddressSetInfoUsingPutRequest);
|
709
694
|
// @ts-ignore
|
710
695
|
options['responseHeaders'] = [''];
|
711
696
|
return this.hcClient.sendRequest(options);
|
712
|
-
}
|
697
|
+
}
|
713
698
|
/**
|
714
699
|
* 更新黑白名单列表
|
715
700
|
*
|
@@ -724,12 +709,12 @@ var CfwClient = /** @class */ (function () {
|
|
724
709
|
* @param {*} [options] Override http request option.
|
725
710
|
* @throws {RequiredError}
|
726
711
|
*/
|
727
|
-
|
728
|
-
|
712
|
+
updateBlackWhiteListUsingPut(updateBlackWhiteListUsingPutRequest) {
|
713
|
+
const options = (0, exports.ParamCreater)().updateBlackWhiteListUsingPut(updateBlackWhiteListUsingPutRequest);
|
729
714
|
// @ts-ignore
|
730
715
|
options['responseHeaders'] = [''];
|
731
716
|
return this.hcClient.sendRequest(options);
|
732
|
-
}
|
717
|
+
}
|
733
718
|
/**
|
734
719
|
* 更新dns服务器列表
|
735
720
|
*
|
@@ -743,12 +728,12 @@ var CfwClient = /** @class */ (function () {
|
|
743
728
|
* @param {*} [options] Override http request option.
|
744
729
|
* @throws {RequiredError}
|
745
730
|
*/
|
746
|
-
|
747
|
-
|
731
|
+
updateDnsServers(updateDnsServersRequest) {
|
732
|
+
const options = (0, exports.ParamCreater)().updateDnsServers(updateDnsServersRequest);
|
748
733
|
// @ts-ignore
|
749
734
|
options['responseHeaders'] = [''];
|
750
735
|
return this.hcClient.sendRequest(options);
|
751
|
-
}
|
736
|
+
}
|
752
737
|
/**
|
753
738
|
* 更新服务组
|
754
739
|
*
|
@@ -763,12 +748,12 @@ var CfwClient = /** @class */ (function () {
|
|
763
748
|
* @param {*} [options] Override http request option.
|
764
749
|
* @throws {RequiredError}
|
765
750
|
*/
|
766
|
-
|
767
|
-
|
751
|
+
updateServiceSetUsingPut(updateServiceSetUsingPutRequest) {
|
752
|
+
const options = (0, exports.ParamCreater)().updateServiceSetUsingPut(updateServiceSetUsingPutRequest);
|
768
753
|
// @ts-ignore
|
769
754
|
options['responseHeaders'] = [''];
|
770
755
|
return this.hcClient.sendRequest(options);
|
771
|
-
}
|
756
|
+
}
|
772
757
|
/**
|
773
758
|
* 创建ACL规则
|
774
759
|
*
|
@@ -782,12 +767,12 @@ var CfwClient = /** @class */ (function () {
|
|
782
767
|
* @param {*} [options] Override http request option.
|
783
768
|
* @throws {RequiredError}
|
784
769
|
*/
|
785
|
-
|
786
|
-
|
770
|
+
addRuleAclUsingPost(addRuleAclUsingPostRequest) {
|
771
|
+
const options = (0, exports.ParamCreater)().addRuleAclUsingPost(addRuleAclUsingPostRequest);
|
787
772
|
// @ts-ignore
|
788
773
|
options['responseHeaders'] = [''];
|
789
774
|
return this.hcClient.sendRequest(options);
|
790
|
-
}
|
775
|
+
}
|
791
776
|
/**
|
792
777
|
* 删除ACL规则组
|
793
778
|
*
|
@@ -801,12 +786,12 @@ var CfwClient = /** @class */ (function () {
|
|
801
786
|
* @param {*} [options] Override http request option.
|
802
787
|
* @throws {RequiredError}
|
803
788
|
*/
|
804
|
-
|
805
|
-
|
789
|
+
deleteRuleAclUsingDelete(deleteRuleAclUsingDeleteRequest) {
|
790
|
+
const options = (0, exports.ParamCreater)().deleteRuleAclUsingDelete(deleteRuleAclUsingDeleteRequest);
|
806
791
|
// @ts-ignore
|
807
792
|
options['responseHeaders'] = [''];
|
808
793
|
return this.hcClient.sendRequest(options);
|
809
|
-
}
|
794
|
+
}
|
810
795
|
/**
|
811
796
|
* ACL防护规则优先级设置
|
812
797
|
*
|
@@ -821,12 +806,12 @@ var CfwClient = /** @class */ (function () {
|
|
821
806
|
* @param {*} [options] Override http request option.
|
822
807
|
* @throws {RequiredError}
|
823
808
|
*/
|
824
|
-
|
825
|
-
|
809
|
+
listRuleAclUsingPut(listRuleAclUsingPutRequest) {
|
810
|
+
const options = (0, exports.ParamCreater)().listRuleAclUsingPut(listRuleAclUsingPutRequest);
|
826
811
|
// @ts-ignore
|
827
812
|
options['responseHeaders'] = [''];
|
828
813
|
return this.hcClient.sendRequest(options);
|
829
|
-
}
|
814
|
+
}
|
830
815
|
/**
|
831
816
|
* 查询防护规则
|
832
817
|
*
|
@@ -850,12 +835,12 @@ var CfwClient = /** @class */ (function () {
|
|
850
835
|
* @param {*} [options] Override http request option.
|
851
836
|
* @throws {RequiredError}
|
852
837
|
*/
|
853
|
-
|
854
|
-
|
838
|
+
listRuleAclsUsingGet(listRuleAclsUsingGetRequest) {
|
839
|
+
const options = (0, exports.ParamCreater)().listRuleAclsUsingGet(listRuleAclsUsingGetRequest);
|
855
840
|
// @ts-ignore
|
856
841
|
options['responseHeaders'] = [''];
|
857
842
|
return this.hcClient.sendRequest(options);
|
858
|
-
}
|
843
|
+
}
|
859
844
|
/**
|
860
845
|
* 更新ACL规则
|
861
846
|
*
|
@@ -870,12 +855,12 @@ var CfwClient = /** @class */ (function () {
|
|
870
855
|
* @param {*} [options] Override http request option.
|
871
856
|
* @throws {RequiredError}
|
872
857
|
*/
|
873
|
-
|
874
|
-
|
858
|
+
updateRuleAclUsingPut(updateRuleAclUsingPutRequest) {
|
859
|
+
const options = (0, exports.ParamCreater)().updateRuleAclUsingPut(updateRuleAclUsingPutRequest);
|
875
860
|
// @ts-ignore
|
876
861
|
options['responseHeaders'] = [''];
|
877
862
|
return this.hcClient.sendRequest(options);
|
878
|
-
}
|
863
|
+
}
|
879
864
|
/**
|
880
865
|
* 开启关闭EIP
|
881
866
|
*
|
@@ -889,12 +874,12 @@ var CfwClient = /** @class */ (function () {
|
|
889
874
|
* @param {*} [options] Override http request option.
|
890
875
|
* @throws {RequiredError}
|
891
876
|
*/
|
892
|
-
|
893
|
-
|
877
|
+
changeProtectEip(changeProtectEipRequest) {
|
878
|
+
const options = (0, exports.ParamCreater)().changeProtectEip(changeProtectEipRequest);
|
894
879
|
// @ts-ignore
|
895
880
|
options['responseHeaders'] = [''];
|
896
881
|
return this.hcClient.sendRequest(options);
|
897
|
-
}
|
882
|
+
}
|
898
883
|
/**
|
899
884
|
* 查询Eip个数
|
900
885
|
*
|
@@ -908,12 +893,12 @@ var CfwClient = /** @class */ (function () {
|
|
908
893
|
* @param {*} [options] Override http request option.
|
909
894
|
* @throws {RequiredError}
|
910
895
|
*/
|
911
|
-
|
912
|
-
|
896
|
+
countEips(countEipsRequest) {
|
897
|
+
const options = (0, exports.ParamCreater)().countEips(countEipsRequest);
|
913
898
|
// @ts-ignore
|
914
899
|
options['responseHeaders'] = [''];
|
915
900
|
return this.hcClient.sendRequest(options);
|
916
|
-
}
|
901
|
+
}
|
917
902
|
/**
|
918
903
|
* 弹性IP列表查询
|
919
904
|
*
|
@@ -936,12 +921,12 @@ var CfwClient = /** @class */ (function () {
|
|
936
921
|
* @param {*} [options] Override http request option.
|
937
922
|
* @throws {RequiredError}
|
938
923
|
*/
|
939
|
-
|
940
|
-
|
924
|
+
listEipResources(listEipResourcesRequest) {
|
925
|
+
const options = (0, exports.ParamCreater)().listEipResources(listEipResourcesRequest);
|
941
926
|
// @ts-ignore
|
942
927
|
options['responseHeaders'] = [''];
|
943
928
|
return this.hcClient.sendRequest(options);
|
944
|
-
}
|
929
|
+
}
|
945
930
|
/**
|
946
931
|
* 切换开关状态
|
947
932
|
*
|
@@ -955,12 +940,12 @@ var CfwClient = /** @class */ (function () {
|
|
955
940
|
* @param {*} [options] Override http request option.
|
956
941
|
* @throws {RequiredError}
|
957
942
|
*/
|
958
|
-
|
959
|
-
|
943
|
+
changeIpsSwitchUsingPost(changeIpsSwitchUsingPostRequest) {
|
944
|
+
const options = (0, exports.ParamCreater)().changeIpsSwitchUsingPost(changeIpsSwitchUsingPostRequest);
|
960
945
|
// @ts-ignore
|
961
946
|
options['responseHeaders'] = [''];
|
962
947
|
return this.hcClient.sendRequest(options);
|
963
|
-
}
|
948
|
+
}
|
964
949
|
/**
|
965
950
|
* 查询IPS特性开关状态
|
966
951
|
*
|
@@ -974,12 +959,12 @@ var CfwClient = /** @class */ (function () {
|
|
974
959
|
* @param {*} [options] Override http request option.
|
975
960
|
* @throws {RequiredError}
|
976
961
|
*/
|
977
|
-
|
978
|
-
|
962
|
+
listIpsSwitchStatusUsingGet(listIpsSwitchStatusUsingGetRequest) {
|
963
|
+
const options = (0, exports.ParamCreater)().listIpsSwitchStatusUsingGet(listIpsSwitchStatusUsingGetRequest);
|
979
964
|
// @ts-ignore
|
980
965
|
options['responseHeaders'] = [''];
|
981
966
|
return this.hcClient.sendRequest(options);
|
982
|
-
}
|
967
|
+
}
|
983
968
|
/**
|
984
969
|
* 查询防护vpc信息
|
985
970
|
*
|
@@ -993,24 +978,23 @@ var CfwClient = /** @class */ (function () {
|
|
993
978
|
* @param {*} [options] Override http request option.
|
994
979
|
* @throws {RequiredError}
|
995
980
|
*/
|
996
|
-
|
997
|
-
|
981
|
+
listVpcProtects(listVpcProtectsRequest) {
|
982
|
+
const options = (0, exports.ParamCreater)().listVpcProtects(listVpcProtectsRequest);
|
998
983
|
// @ts-ignore
|
999
984
|
options['responseHeaders'] = [''];
|
1000
985
|
return this.hcClient.sendRequest(options);
|
1001
|
-
}
|
1002
|
-
|
1003
|
-
}());
|
986
|
+
}
|
987
|
+
}
|
1004
988
|
exports.CfwClient = CfwClient;
|
1005
|
-
|
989
|
+
const ParamCreater = function () {
|
1006
990
|
return {
|
1007
991
|
/**
|
1008
992
|
* 添加地址组成员
|
1009
993
|
*
|
1010
994
|
* Please refer to HUAWEI cloud API Explorer for details.
|
1011
995
|
*/
|
1012
|
-
addAddressItemsUsingPost
|
1013
|
-
|
996
|
+
addAddressItemsUsingPost(addAddressItemsUsingPostRequest) {
|
997
|
+
const options = {
|
1014
998
|
method: "POST",
|
1015
999
|
url: "/v1/{project_id}/address-items",
|
1016
1000
|
contentType: "application/json",
|
@@ -1019,12 +1003,12 @@ var ParamCreater = function () {
|
|
1019
1003
|
headers: {},
|
1020
1004
|
data: {}
|
1021
1005
|
};
|
1022
|
-
|
1023
|
-
|
1024
|
-
|
1025
|
-
|
1026
|
-
|
1027
|
-
|
1006
|
+
const localVarHeaderParameter = {};
|
1007
|
+
const localVarQueryParameter = {};
|
1008
|
+
let body;
|
1009
|
+
let projectId;
|
1010
|
+
let enterpriseProjectId;
|
1011
|
+
let fwInstanceId;
|
1028
1012
|
if (addAddressItemsUsingPostRequest !== null && addAddressItemsUsingPostRequest !== undefined) {
|
1029
1013
|
if (addAddressItemsUsingPostRequest instanceof AddAddressItemsUsingPostRequest_1.AddAddressItemsUsingPostRequest) {
|
1030
1014
|
projectId = addAddressItemsUsingPostRequest.projectId;
|
@@ -1063,8 +1047,8 @@ var ParamCreater = function () {
|
|
1063
1047
|
*
|
1064
1048
|
* Please refer to HUAWEI cloud API Explorer for details.
|
1065
1049
|
*/
|
1066
|
-
addAddressSetInfoUsingPost
|
1067
|
-
|
1050
|
+
addAddressSetInfoUsingPost(addAddressSetInfoUsingPostRequest) {
|
1051
|
+
const options = {
|
1068
1052
|
method: "POST",
|
1069
1053
|
url: "/v1/{project_id}/address-set",
|
1070
1054
|
contentType: "application/json",
|
@@ -1073,12 +1057,12 @@ var ParamCreater = function () {
|
|
1073
1057
|
headers: {},
|
1074
1058
|
data: {}
|
1075
1059
|
};
|
1076
|
-
|
1077
|
-
|
1078
|
-
|
1079
|
-
|
1080
|
-
|
1081
|
-
|
1060
|
+
const localVarHeaderParameter = {};
|
1061
|
+
const localVarQueryParameter = {};
|
1062
|
+
let body;
|
1063
|
+
let projectId;
|
1064
|
+
let enterpriseProjectId;
|
1065
|
+
let fwInstanceId;
|
1082
1066
|
if (addAddressSetInfoUsingPostRequest !== null && addAddressSetInfoUsingPostRequest !== undefined) {
|
1083
1067
|
if (addAddressSetInfoUsingPostRequest instanceof AddAddressSetInfoUsingPostRequest_1.AddAddressSetInfoUsingPostRequest) {
|
1084
1068
|
projectId = addAddressSetInfoUsingPostRequest.projectId;
|
@@ -1117,8 +1101,8 @@ var ParamCreater = function () {
|
|
1117
1101
|
*
|
1118
1102
|
* Please refer to HUAWEI cloud API Explorer for details.
|
1119
1103
|
*/
|
1120
|
-
addBlackWhiteListUsingPost
|
1121
|
-
|
1104
|
+
addBlackWhiteListUsingPost(addBlackWhiteListUsingPostRequest) {
|
1105
|
+
const options = {
|
1122
1106
|
method: "POST",
|
1123
1107
|
url: "/v1/{project_id}/black-white-list",
|
1124
1108
|
contentType: "application/json",
|
@@ -1127,12 +1111,12 @@ var ParamCreater = function () {
|
|
1127
1111
|
headers: {},
|
1128
1112
|
data: {}
|
1129
1113
|
};
|
1130
|
-
|
1131
|
-
|
1132
|
-
|
1133
|
-
|
1134
|
-
|
1135
|
-
|
1114
|
+
const localVarHeaderParameter = {};
|
1115
|
+
const localVarQueryParameter = {};
|
1116
|
+
let body;
|
1117
|
+
let projectId;
|
1118
|
+
let enterpriseProjectId;
|
1119
|
+
let fwInstanceId;
|
1136
1120
|
if (addBlackWhiteListUsingPostRequest !== null && addBlackWhiteListUsingPostRequest !== undefined) {
|
1137
1121
|
if (addBlackWhiteListUsingPostRequest instanceof AddBlackWhiteListUsingPostRequest_1.AddBlackWhiteListUsingPostRequest) {
|
1138
1122
|
projectId = addBlackWhiteListUsingPostRequest.projectId;
|
@@ -1171,8 +1155,8 @@ var ParamCreater = function () {
|
|
1171
1155
|
*
|
1172
1156
|
* Please refer to HUAWEI cloud API Explorer for details.
|
1173
1157
|
*/
|
1174
|
-
addServiceItemsUsingPost
|
1175
|
-
|
1158
|
+
addServiceItemsUsingPost(addServiceItemsUsingPostRequest) {
|
1159
|
+
const options = {
|
1176
1160
|
method: "POST",
|
1177
1161
|
url: "/v1/{project_id}/service-items",
|
1178
1162
|
contentType: "application/json",
|
@@ -1181,12 +1165,12 @@ var ParamCreater = function () {
|
|
1181
1165
|
headers: {},
|
1182
1166
|
data: {}
|
1183
1167
|
};
|
1184
|
-
|
1185
|
-
|
1186
|
-
|
1187
|
-
|
1188
|
-
|
1189
|
-
|
1168
|
+
const localVarHeaderParameter = {};
|
1169
|
+
const localVarQueryParameter = {};
|
1170
|
+
let body;
|
1171
|
+
let projectId;
|
1172
|
+
let enterpriseProjectId;
|
1173
|
+
let fwInstanceId;
|
1190
1174
|
if (addServiceItemsUsingPostRequest !== null && addServiceItemsUsingPostRequest !== undefined) {
|
1191
1175
|
if (addServiceItemsUsingPostRequest instanceof AddServiceItemsUsingPostRequest_1.AddServiceItemsUsingPostRequest) {
|
1192
1176
|
projectId = addServiceItemsUsingPostRequest.projectId;
|
@@ -1225,8 +1209,8 @@ var ParamCreater = function () {
|
|
1225
1209
|
*
|
1226
1210
|
* Please refer to HUAWEI cloud API Explorer for details.
|
1227
1211
|
*/
|
1228
|
-
addServiceSetUsingPost
|
1229
|
-
|
1212
|
+
addServiceSetUsingPost(addServiceSetUsingPostRequest) {
|
1213
|
+
const options = {
|
1230
1214
|
method: "POST",
|
1231
1215
|
url: "/v1/{project_id}/service-set",
|
1232
1216
|
contentType: "application/json",
|
@@ -1235,12 +1219,12 @@ var ParamCreater = function () {
|
|
1235
1219
|
headers: {},
|
1236
1220
|
data: {}
|
1237
1221
|
};
|
1238
|
-
|
1239
|
-
|
1240
|
-
|
1241
|
-
|
1242
|
-
|
1243
|
-
|
1222
|
+
const localVarHeaderParameter = {};
|
1223
|
+
const localVarQueryParameter = {};
|
1224
|
+
let body;
|
1225
|
+
let projectId;
|
1226
|
+
let enterpriseProjectId;
|
1227
|
+
let fwInstanceId;
|
1244
1228
|
if (addServiceSetUsingPostRequest !== null && addServiceSetUsingPostRequest !== undefined) {
|
1245
1229
|
if (addServiceSetUsingPostRequest instanceof AddServiceSetUsingPostRequest_1.AddServiceSetUsingPostRequest) {
|
1246
1230
|
projectId = addServiceSetUsingPostRequest.projectId;
|
@@ -1279,8 +1263,8 @@ var ParamCreater = function () {
|
|
1279
1263
|
*
|
1280
1264
|
* Please refer to HUAWEI cloud API Explorer for details.
|
1281
1265
|
*/
|
1282
|
-
changeEwProtectStatus
|
1283
|
-
|
1266
|
+
changeEwProtectStatus(changeEwProtectStatusRequest) {
|
1267
|
+
const options = {
|
1284
1268
|
method: "POST",
|
1285
1269
|
url: "/v1/{project_id}/firewall/east-west/protect",
|
1286
1270
|
contentType: "application/json",
|
@@ -1289,12 +1273,12 @@ var ParamCreater = function () {
|
|
1289
1273
|
headers: {},
|
1290
1274
|
data: {}
|
1291
1275
|
};
|
1292
|
-
|
1293
|
-
|
1294
|
-
|
1295
|
-
|
1296
|
-
|
1297
|
-
|
1276
|
+
const localVarHeaderParameter = {};
|
1277
|
+
const localVarQueryParameter = {};
|
1278
|
+
let body;
|
1279
|
+
let projectId;
|
1280
|
+
let enterpriseProjectId;
|
1281
|
+
let fwInstanceId;
|
1298
1282
|
if (changeEwProtectStatusRequest !== null && changeEwProtectStatusRequest !== undefined) {
|
1299
1283
|
if (changeEwProtectStatusRequest instanceof ChangeEwProtectStatusRequest_1.ChangeEwProtectStatusRequest) {
|
1300
1284
|
projectId = changeEwProtectStatusRequest.projectId;
|
@@ -1333,8 +1317,8 @@ var ParamCreater = function () {
|
|
1333
1317
|
*
|
1334
1318
|
* Please refer to HUAWEI cloud API Explorer for details.
|
1335
1319
|
*/
|
1336
|
-
changeIpsProtectModeUsingPost
|
1337
|
-
|
1320
|
+
changeIpsProtectModeUsingPost(changeIpsProtectModeUsingPostRequest) {
|
1321
|
+
const options = {
|
1338
1322
|
method: "POST",
|
1339
1323
|
url: "/v1/{project_id}/ips/protect",
|
1340
1324
|
contentType: "application/json",
|
@@ -1343,12 +1327,12 @@ var ParamCreater = function () {
|
|
1343
1327
|
headers: {},
|
1344
1328
|
data: {}
|
1345
1329
|
};
|
1346
|
-
|
1347
|
-
|
1348
|
-
|
1349
|
-
|
1350
|
-
|
1351
|
-
|
1330
|
+
const localVarHeaderParameter = {};
|
1331
|
+
const localVarQueryParameter = {};
|
1332
|
+
let body;
|
1333
|
+
let projectId;
|
1334
|
+
let enterpriseProjectId;
|
1335
|
+
let fwInstanceId;
|
1352
1336
|
if (changeIpsProtectModeUsingPostRequest !== null && changeIpsProtectModeUsingPostRequest !== undefined) {
|
1353
1337
|
if (changeIpsProtectModeUsingPostRequest instanceof ChangeIpsProtectModeUsingPostRequest_1.ChangeIpsProtectModeUsingPostRequest) {
|
1354
1338
|
projectId = changeIpsProtectModeUsingPostRequest.projectId;
|
@@ -1387,8 +1371,8 @@ var ParamCreater = function () {
|
|
1387
1371
|
*
|
1388
1372
|
* Please refer to HUAWEI cloud API Explorer for details.
|
1389
1373
|
*/
|
1390
|
-
deleteAclRuleCount
|
1391
|
-
|
1374
|
+
deleteAclRuleCount(deleteAclRuleCountRequest) {
|
1375
|
+
const options = {
|
1392
1376
|
method: "DELETE",
|
1393
1377
|
url: "/v1/{project_id}/acl-rule/count",
|
1394
1378
|
contentType: "application/json",
|
@@ -1397,12 +1381,12 @@ var ParamCreater = function () {
|
|
1397
1381
|
headers: {},
|
1398
1382
|
data: {}
|
1399
1383
|
};
|
1400
|
-
|
1401
|
-
|
1402
|
-
|
1403
|
-
|
1404
|
-
|
1405
|
-
|
1384
|
+
const localVarHeaderParameter = {};
|
1385
|
+
const localVarQueryParameter = {};
|
1386
|
+
let body;
|
1387
|
+
let projectId;
|
1388
|
+
let enterpriseProjectId;
|
1389
|
+
let fwInstanceId;
|
1406
1390
|
if (deleteAclRuleCountRequest !== null && deleteAclRuleCountRequest !== undefined) {
|
1407
1391
|
if (deleteAclRuleCountRequest instanceof DeleteAclRuleCountRequest_1.DeleteAclRuleCountRequest) {
|
1408
1392
|
projectId = deleteAclRuleCountRequest.projectId;
|
@@ -1441,8 +1425,8 @@ var ParamCreater = function () {
|
|
1441
1425
|
*
|
1442
1426
|
* Please refer to HUAWEI cloud API Explorer for details.
|
1443
1427
|
*/
|
1444
|
-
deleteAddressItemUsingDelete
|
1445
|
-
|
1428
|
+
deleteAddressItemUsingDelete(deleteAddressItemUsingDeleteRequest) {
|
1429
|
+
const options = {
|
1446
1430
|
method: "DELETE",
|
1447
1431
|
url: "/v1/{project_id}/address-items/{item_id}",
|
1448
1432
|
contentType: "application/json",
|
@@ -1450,12 +1434,12 @@ var ParamCreater = function () {
|
|
1450
1434
|
pathParams: {},
|
1451
1435
|
headers: {}
|
1452
1436
|
};
|
1453
|
-
|
1454
|
-
|
1455
|
-
|
1456
|
-
|
1457
|
-
|
1458
|
-
|
1437
|
+
const localVarHeaderParameter = {};
|
1438
|
+
const localVarQueryParameter = {};
|
1439
|
+
let itemId;
|
1440
|
+
let projectId;
|
1441
|
+
let enterpriseProjectId;
|
1442
|
+
let fwInstanceId;
|
1459
1443
|
if (deleteAddressItemUsingDeleteRequest !== null && deleteAddressItemUsingDeleteRequest !== undefined) {
|
1460
1444
|
if (deleteAddressItemUsingDeleteRequest instanceof DeleteAddressItemUsingDeleteRequest_1.DeleteAddressItemUsingDeleteRequest) {
|
1461
1445
|
itemId = deleteAddressItemUsingDeleteRequest.itemId;
|
@@ -1492,8 +1476,8 @@ var ParamCreater = function () {
|
|
1492
1476
|
*
|
1493
1477
|
* Please refer to HUAWEI cloud API Explorer for details.
|
1494
1478
|
*/
|
1495
|
-
deleteAddressSetInfoUsingDelete
|
1496
|
-
|
1479
|
+
deleteAddressSetInfoUsingDelete(deleteAddressSetInfoUsingDeleteRequest) {
|
1480
|
+
const options = {
|
1497
1481
|
method: "DELETE",
|
1498
1482
|
url: "/v1/{project_id}/address-sets/{set_id}",
|
1499
1483
|
contentType: "application/json",
|
@@ -1501,12 +1485,12 @@ var ParamCreater = function () {
|
|
1501
1485
|
pathParams: {},
|
1502
1486
|
headers: {}
|
1503
1487
|
};
|
1504
|
-
|
1505
|
-
|
1506
|
-
|
1507
|
-
|
1508
|
-
|
1509
|
-
|
1488
|
+
const localVarHeaderParameter = {};
|
1489
|
+
const localVarQueryParameter = {};
|
1490
|
+
let projectId;
|
1491
|
+
let setId;
|
1492
|
+
let enterpriseProjectId;
|
1493
|
+
let fwInstanceId;
|
1510
1494
|
if (deleteAddressSetInfoUsingDeleteRequest !== null && deleteAddressSetInfoUsingDeleteRequest !== undefined) {
|
1511
1495
|
if (deleteAddressSetInfoUsingDeleteRequest instanceof DeleteAddressSetInfoUsingDeleteRequest_1.DeleteAddressSetInfoUsingDeleteRequest) {
|
1512
1496
|
projectId = deleteAddressSetInfoUsingDeleteRequest.projectId;
|
@@ -1543,8 +1527,8 @@ var ParamCreater = function () {
|
|
1543
1527
|
*
|
1544
1528
|
* Please refer to HUAWEI cloud API Explorer for details.
|
1545
1529
|
*/
|
1546
|
-
deleteBlackWhiteListUsingDelete
|
1547
|
-
|
1530
|
+
deleteBlackWhiteListUsingDelete(deleteBlackWhiteListUsingDeleteRequest) {
|
1531
|
+
const options = {
|
1548
1532
|
method: "DELETE",
|
1549
1533
|
url: "/v1/{project_id}/black-white-list/{list_id}",
|
1550
1534
|
contentType: "application/json",
|
@@ -1552,12 +1536,12 @@ var ParamCreater = function () {
|
|
1552
1536
|
pathParams: {},
|
1553
1537
|
headers: {}
|
1554
1538
|
};
|
1555
|
-
|
1556
|
-
|
1557
|
-
|
1558
|
-
|
1559
|
-
|
1560
|
-
|
1539
|
+
const localVarHeaderParameter = {};
|
1540
|
+
const localVarQueryParameter = {};
|
1541
|
+
let projectId;
|
1542
|
+
let listId;
|
1543
|
+
let enterpriseProjectId;
|
1544
|
+
let fwInstanceId;
|
1561
1545
|
if (deleteBlackWhiteListUsingDeleteRequest !== null && deleteBlackWhiteListUsingDeleteRequest !== undefined) {
|
1562
1546
|
if (deleteBlackWhiteListUsingDeleteRequest instanceof DeleteBlackWhiteListUsingDeleteRequest_1.DeleteBlackWhiteListUsingDeleteRequest) {
|
1563
1547
|
projectId = deleteBlackWhiteListUsingDeleteRequest.projectId;
|
@@ -1594,8 +1578,8 @@ var ParamCreater = function () {
|
|
1594
1578
|
*
|
1595
1579
|
* Please refer to HUAWEI cloud API Explorer for details.
|
1596
1580
|
*/
|
1597
|
-
deleteServiceItemUsingDelete
|
1598
|
-
|
1581
|
+
deleteServiceItemUsingDelete(deleteServiceItemUsingDeleteRequest) {
|
1582
|
+
const options = {
|
1599
1583
|
method: "DELETE",
|
1600
1584
|
url: "/v1/{project_id}/service-items/{item_id}",
|
1601
1585
|
contentType: "application/json",
|
@@ -1603,12 +1587,12 @@ var ParamCreater = function () {
|
|
1603
1587
|
pathParams: {},
|
1604
1588
|
headers: {}
|
1605
1589
|
};
|
1606
|
-
|
1607
|
-
|
1608
|
-
|
1609
|
-
|
1610
|
-
|
1611
|
-
|
1590
|
+
const localVarHeaderParameter = {};
|
1591
|
+
const localVarQueryParameter = {};
|
1592
|
+
let projectId;
|
1593
|
+
let itemId;
|
1594
|
+
let enterpriseProjectId;
|
1595
|
+
let fwInstanceId;
|
1612
1596
|
if (deleteServiceItemUsingDeleteRequest !== null && deleteServiceItemUsingDeleteRequest !== undefined) {
|
1613
1597
|
if (deleteServiceItemUsingDeleteRequest instanceof DeleteServiceItemUsingDeleteRequest_1.DeleteServiceItemUsingDeleteRequest) {
|
1614
1598
|
projectId = deleteServiceItemUsingDeleteRequest.projectId;
|
@@ -1645,8 +1629,8 @@ var ParamCreater = function () {
|
|
1645
1629
|
*
|
1646
1630
|
* Please refer to HUAWEI cloud API Explorer for details.
|
1647
1631
|
*/
|
1648
|
-
deleteServiceSetUsingDelete
|
1649
|
-
|
1632
|
+
deleteServiceSetUsingDelete(deleteServiceSetUsingDeleteRequest) {
|
1633
|
+
const options = {
|
1650
1634
|
method: "DELETE",
|
1651
1635
|
url: "/v1/{project_id}/service-sets/{set_id}",
|
1652
1636
|
contentType: "application/json",
|
@@ -1654,12 +1638,12 @@ var ParamCreater = function () {
|
|
1654
1638
|
pathParams: {},
|
1655
1639
|
headers: {}
|
1656
1640
|
};
|
1657
|
-
|
1658
|
-
|
1659
|
-
|
1660
|
-
|
1661
|
-
|
1662
|
-
|
1641
|
+
const localVarHeaderParameter = {};
|
1642
|
+
const localVarQueryParameter = {};
|
1643
|
+
let projectId;
|
1644
|
+
let setId;
|
1645
|
+
let enterpriseProjectId;
|
1646
|
+
let fwInstanceId;
|
1663
1647
|
if (deleteServiceSetUsingDeleteRequest !== null && deleteServiceSetUsingDeleteRequest !== undefined) {
|
1664
1648
|
if (deleteServiceSetUsingDeleteRequest instanceof DeleteServiceSetUsingDeleteRequest_1.DeleteServiceSetUsingDeleteRequest) {
|
1665
1649
|
projectId = deleteServiceSetUsingDeleteRequest.projectId;
|
@@ -1696,8 +1680,8 @@ var ParamCreater = function () {
|
|
1696
1680
|
*
|
1697
1681
|
* Please refer to HUAWEI cloud API Explorer for details.
|
1698
1682
|
*/
|
1699
|
-
listAccessControlLogs
|
1700
|
-
|
1683
|
+
listAccessControlLogs(listAccessControlLogsRequest) {
|
1684
|
+
const options = {
|
1701
1685
|
method: "GET",
|
1702
1686
|
url: "/v1/{project_id}/cfw/logs/access-control",
|
1703
1687
|
contentType: "application/json",
|
@@ -1705,25 +1689,25 @@ var ParamCreater = function () {
|
|
1705
1689
|
pathParams: {},
|
1706
1690
|
headers: {}
|
1707
1691
|
};
|
1708
|
-
|
1709
|
-
|
1710
|
-
|
1711
|
-
|
1712
|
-
|
1713
|
-
|
1714
|
-
|
1715
|
-
|
1716
|
-
|
1717
|
-
|
1718
|
-
|
1719
|
-
|
1720
|
-
|
1721
|
-
|
1722
|
-
|
1723
|
-
|
1724
|
-
|
1725
|
-
|
1726
|
-
|
1692
|
+
const localVarHeaderParameter = {};
|
1693
|
+
const localVarQueryParameter = {};
|
1694
|
+
let projectId;
|
1695
|
+
let fwInstanceId;
|
1696
|
+
let startTime;
|
1697
|
+
let endTime;
|
1698
|
+
let limit;
|
1699
|
+
let ruleId;
|
1700
|
+
let srcIp;
|
1701
|
+
let srcPort;
|
1702
|
+
let dstIp;
|
1703
|
+
let dstPort;
|
1704
|
+
let protocol;
|
1705
|
+
let app;
|
1706
|
+
let logId;
|
1707
|
+
let nextDate;
|
1708
|
+
let offset;
|
1709
|
+
let logType;
|
1710
|
+
let enterpriseProjectId;
|
1727
1711
|
if (listAccessControlLogsRequest !== null && listAccessControlLogsRequest !== undefined) {
|
1728
1712
|
if (listAccessControlLogsRequest instanceof ListAccessControlLogsRequest_1.ListAccessControlLogsRequest) {
|
1729
1713
|
projectId = listAccessControlLogsRequest.projectId;
|
@@ -1837,8 +1821,8 @@ var ParamCreater = function () {
|
|
1837
1821
|
*
|
1838
1822
|
* Please refer to HUAWEI cloud API Explorer for details.
|
1839
1823
|
*/
|
1840
|
-
listAddressItemsUsingGet
|
1841
|
-
|
1824
|
+
listAddressItemsUsingGet(listAddressItemsUsingGetRequest) {
|
1825
|
+
const options = {
|
1842
1826
|
method: "GET",
|
1843
1827
|
url: "/v1/{project_id}/address-items",
|
1844
1828
|
contentType: "application/json",
|
@@ -1846,16 +1830,16 @@ var ParamCreater = function () {
|
|
1846
1830
|
pathParams: {},
|
1847
1831
|
headers: {}
|
1848
1832
|
};
|
1849
|
-
|
1850
|
-
|
1851
|
-
|
1852
|
-
|
1853
|
-
|
1854
|
-
|
1855
|
-
|
1856
|
-
|
1857
|
-
|
1858
|
-
|
1833
|
+
const localVarHeaderParameter = {};
|
1834
|
+
const localVarQueryParameter = {};
|
1835
|
+
let projectId;
|
1836
|
+
let setId;
|
1837
|
+
let limit;
|
1838
|
+
let offset;
|
1839
|
+
let keyWord;
|
1840
|
+
let address;
|
1841
|
+
let enterpriseProjectId;
|
1842
|
+
let fwInstanceId;
|
1859
1843
|
if (listAddressItemsUsingGetRequest !== null && listAddressItemsUsingGetRequest !== undefined) {
|
1860
1844
|
if (listAddressItemsUsingGetRequest instanceof ListAddressItemsUsingGetRequest_1.ListAddressItemsUsingGetRequest) {
|
1861
1845
|
projectId = listAddressItemsUsingGetRequest.projectId;
|
@@ -1921,8 +1905,8 @@ var ParamCreater = function () {
|
|
1921
1905
|
*
|
1922
1906
|
* Please refer to HUAWEI cloud API Explorer for details.
|
1923
1907
|
*/
|
1924
|
-
listAddressSetDetailUsingGet
|
1925
|
-
|
1908
|
+
listAddressSetDetailUsingGet(listAddressSetDetailUsingGetRequest) {
|
1909
|
+
const options = {
|
1926
1910
|
method: "GET",
|
1927
1911
|
url: "/v1/{project_id}/address-sets/{set_id}",
|
1928
1912
|
contentType: "application/json",
|
@@ -1930,12 +1914,12 @@ var ParamCreater = function () {
|
|
1930
1914
|
pathParams: {},
|
1931
1915
|
headers: {}
|
1932
1916
|
};
|
1933
|
-
|
1934
|
-
|
1935
|
-
|
1936
|
-
|
1937
|
-
|
1938
|
-
|
1917
|
+
const localVarHeaderParameter = {};
|
1918
|
+
const localVarQueryParameter = {};
|
1919
|
+
let projectId;
|
1920
|
+
let setId;
|
1921
|
+
let enterpriseProjectId;
|
1922
|
+
let fwInstanceId;
|
1939
1923
|
if (listAddressSetDetailUsingGetRequest !== null && listAddressSetDetailUsingGetRequest !== undefined) {
|
1940
1924
|
if (listAddressSetDetailUsingGetRequest instanceof ListAddressSetDetailUsingGetRequest_1.ListAddressSetDetailUsingGetRequest) {
|
1941
1925
|
projectId = listAddressSetDetailUsingGetRequest.projectId;
|
@@ -1972,8 +1956,8 @@ var ParamCreater = function () {
|
|
1972
1956
|
*
|
1973
1957
|
* Please refer to HUAWEI cloud API Explorer for details.
|
1974
1958
|
*/
|
1975
|
-
listAddressSetListUsingGet
|
1976
|
-
|
1959
|
+
listAddressSetListUsingGet(listAddressSetListUsingGetRequest) {
|
1960
|
+
const options = {
|
1977
1961
|
method: "GET",
|
1978
1962
|
url: "/v1/{project_id}/address-sets",
|
1979
1963
|
contentType: "application/json",
|
@@ -1981,17 +1965,17 @@ var ParamCreater = function () {
|
|
1981
1965
|
pathParams: {},
|
1982
1966
|
headers: {}
|
1983
1967
|
};
|
1984
|
-
|
1985
|
-
|
1986
|
-
|
1987
|
-
|
1988
|
-
|
1989
|
-
|
1990
|
-
|
1991
|
-
|
1992
|
-
|
1993
|
-
|
1994
|
-
|
1968
|
+
const localVarHeaderParameter = {};
|
1969
|
+
const localVarQueryParameter = {};
|
1970
|
+
let projectId;
|
1971
|
+
let objectId;
|
1972
|
+
let limit;
|
1973
|
+
let offset;
|
1974
|
+
let keyWord;
|
1975
|
+
let address;
|
1976
|
+
let addressType;
|
1977
|
+
let enterpriseProjectId;
|
1978
|
+
let fwInstanceId;
|
1995
1979
|
if (listAddressSetListUsingGetRequest !== null && listAddressSetListUsingGetRequest !== undefined) {
|
1996
1980
|
if (listAddressSetListUsingGetRequest instanceof ListAddressSetListUsingGetRequest_1.ListAddressSetListUsingGetRequest) {
|
1997
1981
|
projectId = listAddressSetListUsingGetRequest.projectId;
|
@@ -2062,8 +2046,8 @@ var ParamCreater = function () {
|
|
2062
2046
|
*
|
2063
2047
|
* Please refer to HUAWEI cloud API Explorer for details.
|
2064
2048
|
*/
|
2065
|
-
listAttackLogs
|
2066
|
-
|
2049
|
+
listAttackLogs(listAttackLogsRequest) {
|
2050
|
+
const options = {
|
2067
2051
|
method: "GET",
|
2068
2052
|
url: "/v1/{project_id}/cfw/logs/attack",
|
2069
2053
|
contentType: "application/json",
|
@@ -2071,29 +2055,29 @@ var ParamCreater = function () {
|
|
2071
2055
|
pathParams: {},
|
2072
2056
|
headers: {}
|
2073
2057
|
};
|
2074
|
-
|
2075
|
-
|
2076
|
-
|
2077
|
-
|
2078
|
-
|
2079
|
-
|
2080
|
-
|
2081
|
-
|
2082
|
-
|
2083
|
-
|
2084
|
-
|
2085
|
-
|
2086
|
-
|
2087
|
-
|
2088
|
-
|
2089
|
-
|
2090
|
-
|
2091
|
-
|
2092
|
-
|
2093
|
-
|
2094
|
-
|
2095
|
-
|
2096
|
-
|
2058
|
+
const localVarHeaderParameter = {};
|
2059
|
+
const localVarQueryParameter = {};
|
2060
|
+
let projectId;
|
2061
|
+
let startTime;
|
2062
|
+
let endTime;
|
2063
|
+
let limit;
|
2064
|
+
let fwInstanceId;
|
2065
|
+
let srcIp;
|
2066
|
+
let srcPort;
|
2067
|
+
let dstIp;
|
2068
|
+
let dstPort;
|
2069
|
+
let protocol;
|
2070
|
+
let app;
|
2071
|
+
let logId;
|
2072
|
+
let nextDate;
|
2073
|
+
let offset;
|
2074
|
+
let action;
|
2075
|
+
let direction;
|
2076
|
+
let attackType;
|
2077
|
+
let attackRule;
|
2078
|
+
let level;
|
2079
|
+
let source;
|
2080
|
+
let enterpriseProjectId;
|
2097
2081
|
if (listAttackLogsRequest !== null && listAttackLogsRequest !== undefined) {
|
2098
2082
|
if (listAttackLogsRequest instanceof ListAttackLogsRequest_1.ListAttackLogsRequest) {
|
2099
2083
|
projectId = listAttackLogsRequest.projectId;
|
@@ -2227,8 +2211,8 @@ var ParamCreater = function () {
|
|
2227
2211
|
*
|
2228
2212
|
* Please refer to HUAWEI cloud API Explorer for details.
|
2229
2213
|
*/
|
2230
|
-
listBlackWhiteListsUsingGet
|
2231
|
-
|
2214
|
+
listBlackWhiteListsUsingGet(listBlackWhiteListsUsingGetRequest) {
|
2215
|
+
const options = {
|
2232
2216
|
method: "GET",
|
2233
2217
|
url: "/v1/{project_id}/black-white-lists",
|
2234
2218
|
contentType: "application/json",
|
@@ -2236,18 +2220,18 @@ var ParamCreater = function () {
|
|
2236
2220
|
pathParams: {},
|
2237
2221
|
headers: {}
|
2238
2222
|
};
|
2239
|
-
|
2240
|
-
|
2241
|
-
|
2242
|
-
|
2243
|
-
|
2244
|
-
|
2245
|
-
|
2246
|
-
|
2247
|
-
|
2248
|
-
|
2249
|
-
|
2250
|
-
|
2223
|
+
const localVarHeaderParameter = {};
|
2224
|
+
const localVarQueryParameter = {};
|
2225
|
+
let projectId;
|
2226
|
+
let objectId;
|
2227
|
+
let listType;
|
2228
|
+
let limit;
|
2229
|
+
let offset;
|
2230
|
+
let addressType;
|
2231
|
+
let address;
|
2232
|
+
let port;
|
2233
|
+
let enterpriseProjectId;
|
2234
|
+
let fwInstanceId;
|
2251
2235
|
if (listBlackWhiteListsUsingGetRequest !== null && listBlackWhiteListsUsingGetRequest !== undefined) {
|
2252
2236
|
if (listBlackWhiteListsUsingGetRequest instanceof ListBlackWhiteListsUsingGetRequest_1.ListBlackWhiteListsUsingGetRequest) {
|
2253
2237
|
projectId = listBlackWhiteListsUsingGetRequest.projectId;
|
@@ -2326,8 +2310,8 @@ var ParamCreater = function () {
|
|
2326
2310
|
*
|
2327
2311
|
* Please refer to HUAWEI cloud API Explorer for details.
|
2328
2312
|
*/
|
2329
|
-
listDnsServers
|
2330
|
-
|
2313
|
+
listDnsServers(listDnsServersRequest) {
|
2314
|
+
const options = {
|
2331
2315
|
method: "GET",
|
2332
2316
|
url: "/v1/{project_id}/dns/servers",
|
2333
2317
|
contentType: "application/json",
|
@@ -2335,13 +2319,13 @@ var ParamCreater = function () {
|
|
2335
2319
|
pathParams: {},
|
2336
2320
|
headers: {}
|
2337
2321
|
};
|
2338
|
-
|
2339
|
-
|
2340
|
-
|
2341
|
-
|
2342
|
-
|
2343
|
-
|
2344
|
-
|
2322
|
+
const localVarHeaderParameter = {};
|
2323
|
+
const localVarQueryParameter = {};
|
2324
|
+
let projectId;
|
2325
|
+
let limit;
|
2326
|
+
let offset;
|
2327
|
+
let fwInstanceId;
|
2328
|
+
let enterpriseProjectId;
|
2345
2329
|
if (listDnsServersRequest !== null && listDnsServersRequest !== undefined) {
|
2346
2330
|
if (listDnsServersRequest instanceof ListDnsServersRequest_1.ListDnsServersRequest) {
|
2347
2331
|
projectId = listDnsServersRequest.projectId;
|
@@ -2383,8 +2367,8 @@ var ParamCreater = function () {
|
|
2383
2367
|
*
|
2384
2368
|
* Please refer to HUAWEI cloud API Explorer for details.
|
2385
2369
|
*/
|
2386
|
-
listEastWestFirewall
|
2387
|
-
|
2370
|
+
listEastWestFirewall(listEastWestFirewallRequest) {
|
2371
|
+
const options = {
|
2388
2372
|
method: "GET",
|
2389
2373
|
url: "/v1/{project_id}/firewall/east-west",
|
2390
2374
|
contentType: "application/json",
|
@@ -2392,13 +2376,13 @@ var ParamCreater = function () {
|
|
2392
2376
|
pathParams: {},
|
2393
2377
|
headers: {}
|
2394
2378
|
};
|
2395
|
-
|
2396
|
-
|
2397
|
-
|
2398
|
-
|
2399
|
-
|
2400
|
-
|
2401
|
-
|
2379
|
+
const localVarHeaderParameter = {};
|
2380
|
+
const localVarQueryParameter = {};
|
2381
|
+
let projectId;
|
2382
|
+
let limit;
|
2383
|
+
let offset;
|
2384
|
+
let enterpriseProjectId;
|
2385
|
+
let fwInstanceId;
|
2402
2386
|
if (listEastWestFirewallRequest !== null && listEastWestFirewallRequest !== undefined) {
|
2403
2387
|
if (listEastWestFirewallRequest instanceof ListEastWestFirewallRequest_1.ListEastWestFirewallRequest) {
|
2404
2388
|
projectId = listEastWestFirewallRequest.projectId;
|
@@ -2446,8 +2430,8 @@ var ParamCreater = function () {
|
|
2446
2430
|
*
|
2447
2431
|
* Please refer to HUAWEI cloud API Explorer for details.
|
2448
2432
|
*/
|
2449
|
-
listFirewallUsingGet
|
2450
|
-
|
2433
|
+
listFirewallUsingGet(listFirewallUsingGetRequest) {
|
2434
|
+
const options = {
|
2451
2435
|
method: "GET",
|
2452
2436
|
url: "/v1/{project_id}/firewall/exist",
|
2453
2437
|
contentType: "application/json",
|
@@ -2455,14 +2439,14 @@ var ParamCreater = function () {
|
|
2455
2439
|
pathParams: {},
|
2456
2440
|
headers: {}
|
2457
2441
|
};
|
2458
|
-
|
2459
|
-
|
2460
|
-
|
2461
|
-
|
2462
|
-
|
2463
|
-
|
2464
|
-
|
2465
|
-
|
2442
|
+
const localVarHeaderParameter = {};
|
2443
|
+
const localVarQueryParameter = {};
|
2444
|
+
let projectId;
|
2445
|
+
let offset;
|
2446
|
+
let limit;
|
2447
|
+
let serviceType;
|
2448
|
+
let enterpriseProjectId;
|
2449
|
+
let fwInstanceId;
|
2466
2450
|
if (listFirewallUsingGetRequest !== null && listFirewallUsingGetRequest !== undefined) {
|
2467
2451
|
if (listFirewallUsingGetRequest instanceof ListFirewallUsingGetRequest_1.ListFirewallUsingGetRequest) {
|
2468
2452
|
projectId = listFirewallUsingGetRequest.projectId;
|
@@ -2518,8 +2502,8 @@ var ParamCreater = function () {
|
|
2518
2502
|
*
|
2519
2503
|
* Please refer to HUAWEI cloud API Explorer for details.
|
2520
2504
|
*/
|
2521
|
-
listFlowLogs
|
2522
|
-
|
2505
|
+
listFlowLogs(listFlowLogsRequest) {
|
2506
|
+
const options = {
|
2523
2507
|
method: "GET",
|
2524
2508
|
url: "/v1/{project_id}/cfw/logs/flow",
|
2525
2509
|
contentType: "application/json",
|
@@ -2527,25 +2511,25 @@ var ParamCreater = function () {
|
|
2527
2511
|
pathParams: {},
|
2528
2512
|
headers: {}
|
2529
2513
|
};
|
2530
|
-
|
2531
|
-
|
2532
|
-
|
2533
|
-
|
2534
|
-
|
2535
|
-
|
2536
|
-
|
2537
|
-
|
2538
|
-
|
2539
|
-
|
2540
|
-
|
2541
|
-
|
2542
|
-
|
2543
|
-
|
2544
|
-
|
2545
|
-
|
2546
|
-
|
2547
|
-
|
2548
|
-
|
2514
|
+
const localVarHeaderParameter = {};
|
2515
|
+
const localVarQueryParameter = {};
|
2516
|
+
let projectId;
|
2517
|
+
let fwInstanceId;
|
2518
|
+
let startTime;
|
2519
|
+
let endTime;
|
2520
|
+
let limit;
|
2521
|
+
let direction;
|
2522
|
+
let logType;
|
2523
|
+
let srcIp;
|
2524
|
+
let srcPort;
|
2525
|
+
let dstIp;
|
2526
|
+
let dstPort;
|
2527
|
+
let protocol;
|
2528
|
+
let app;
|
2529
|
+
let logId;
|
2530
|
+
let nextDate;
|
2531
|
+
let offset;
|
2532
|
+
let enterpriseProjectId;
|
2549
2533
|
if (listFlowLogsRequest !== null && listFlowLogsRequest !== undefined) {
|
2550
2534
|
if (listFlowLogsRequest instanceof ListFlowLogsRequest_1.ListFlowLogsRequest) {
|
2551
2535
|
projectId = listFlowLogsRequest.projectId;
|
@@ -2659,8 +2643,8 @@ var ParamCreater = function () {
|
|
2659
2643
|
*
|
2660
2644
|
* Please refer to HUAWEI cloud API Explorer for details.
|
2661
2645
|
*/
|
2662
|
-
listIpsProtectModeUsingPost
|
2663
|
-
|
2646
|
+
listIpsProtectModeUsingPost(listIpsProtectModeUsingPostRequest) {
|
2647
|
+
const options = {
|
2664
2648
|
method: "GET",
|
2665
2649
|
url: "/v1/{project_id}/ips/protect",
|
2666
2650
|
contentType: "application/json",
|
@@ -2668,12 +2652,12 @@ var ParamCreater = function () {
|
|
2668
2652
|
pathParams: {},
|
2669
2653
|
headers: {}
|
2670
2654
|
};
|
2671
|
-
|
2672
|
-
|
2673
|
-
|
2674
|
-
|
2675
|
-
|
2676
|
-
|
2655
|
+
const localVarHeaderParameter = {};
|
2656
|
+
const localVarQueryParameter = {};
|
2657
|
+
let projectId;
|
2658
|
+
let objectId;
|
2659
|
+
let enterpriseProjectId;
|
2660
|
+
let fwInstanceId;
|
2677
2661
|
if (listIpsProtectModeUsingPostRequest !== null && listIpsProtectModeUsingPostRequest !== undefined) {
|
2678
2662
|
if (listIpsProtectModeUsingPostRequest instanceof ListIpsProtectModeUsingPostRequest_1.ListIpsProtectModeUsingPostRequest) {
|
2679
2663
|
projectId = listIpsProtectModeUsingPostRequest.projectId;
|
@@ -2713,8 +2697,8 @@ var ParamCreater = function () {
|
|
2713
2697
|
*
|
2714
2698
|
* Please refer to HUAWEI cloud API Explorer for details.
|
2715
2699
|
*/
|
2716
|
-
listParseDomainDetails
|
2717
|
-
|
2700
|
+
listParseDomainDetails(listParseDomainDetailsRequest) {
|
2701
|
+
const options = {
|
2718
2702
|
method: "GET",
|
2719
2703
|
url: "/v1/{project_id}/domain/parse/{domain_name}",
|
2720
2704
|
contentType: "application/json",
|
@@ -2722,12 +2706,12 @@ var ParamCreater = function () {
|
|
2722
2706
|
pathParams: {},
|
2723
2707
|
headers: {}
|
2724
2708
|
};
|
2725
|
-
|
2726
|
-
|
2727
|
-
|
2728
|
-
|
2729
|
-
|
2730
|
-
|
2709
|
+
const localVarHeaderParameter = {};
|
2710
|
+
const localVarQueryParameter = {};
|
2711
|
+
let projectId;
|
2712
|
+
let domainName;
|
2713
|
+
let enterpriseProjectId;
|
2714
|
+
let fwInstanceId;
|
2731
2715
|
if (listParseDomainDetailsRequest !== null && listParseDomainDetailsRequest !== undefined) {
|
2732
2716
|
if (listParseDomainDetailsRequest instanceof ListParseDomainDetailsRequest_1.ListParseDomainDetailsRequest) {
|
2733
2717
|
projectId = listParseDomainDetailsRequest.projectId;
|
@@ -2764,8 +2748,8 @@ var ParamCreater = function () {
|
|
2764
2748
|
*
|
2765
2749
|
* Please refer to HUAWEI cloud API Explorer for details.
|
2766
2750
|
*/
|
2767
|
-
listRuleHitCount
|
2768
|
-
|
2751
|
+
listRuleHitCount(listRuleHitCountRequest) {
|
2752
|
+
const options = {
|
2769
2753
|
method: "POST",
|
2770
2754
|
url: "/v1/{project_id}/acl-rule/count",
|
2771
2755
|
contentType: "application/json",
|
@@ -2774,12 +2758,12 @@ var ParamCreater = function () {
|
|
2774
2758
|
headers: {},
|
2775
2759
|
data: {}
|
2776
2760
|
};
|
2777
|
-
|
2778
|
-
|
2779
|
-
|
2780
|
-
|
2781
|
-
|
2782
|
-
|
2761
|
+
const localVarHeaderParameter = {};
|
2762
|
+
const localVarQueryParameter = {};
|
2763
|
+
let body;
|
2764
|
+
let projectId;
|
2765
|
+
let enterpriseProjectId;
|
2766
|
+
let fwInstanceId;
|
2783
2767
|
if (listRuleHitCountRequest !== null && listRuleHitCountRequest !== undefined) {
|
2784
2768
|
if (listRuleHitCountRequest instanceof ListRuleHitCountRequest_1.ListRuleHitCountRequest) {
|
2785
2769
|
projectId = listRuleHitCountRequest.projectId;
|
@@ -2815,8 +2799,8 @@ var ParamCreater = function () {
|
|
2815
2799
|
*
|
2816
2800
|
* Please refer to HUAWEI cloud API Explorer for details.
|
2817
2801
|
*/
|
2818
|
-
listServiceItemsDetails
|
2819
|
-
|
2802
|
+
listServiceItemsDetails(listServiceItemsDetailsRequest) {
|
2803
|
+
const options = {
|
2820
2804
|
method: "GET",
|
2821
2805
|
url: "/v1/{project_id}/service-items",
|
2822
2806
|
contentType: "application/json",
|
@@ -2824,15 +2808,15 @@ var ParamCreater = function () {
|
|
2824
2808
|
pathParams: {},
|
2825
2809
|
headers: {}
|
2826
2810
|
};
|
2827
|
-
|
2828
|
-
|
2829
|
-
|
2830
|
-
|
2831
|
-
|
2832
|
-
|
2833
|
-
|
2834
|
-
|
2835
|
-
|
2811
|
+
const localVarHeaderParameter = {};
|
2812
|
+
const localVarQueryParameter = {};
|
2813
|
+
let projectId;
|
2814
|
+
let setId;
|
2815
|
+
let limit;
|
2816
|
+
let offset;
|
2817
|
+
let keyWord;
|
2818
|
+
let enterpriseProjectId;
|
2819
|
+
let fwInstanceId;
|
2836
2820
|
if (listServiceItemsDetailsRequest !== null && listServiceItemsDetailsRequest !== undefined) {
|
2837
2821
|
if (listServiceItemsDetailsRequest instanceof ListServiceItemsDetailsRequest_1.ListServiceItemsDetailsRequest) {
|
2838
2822
|
projectId = listServiceItemsDetailsRequest.projectId;
|
@@ -2893,8 +2877,8 @@ var ParamCreater = function () {
|
|
2893
2877
|
*
|
2894
2878
|
* Please refer to HUAWEI cloud API Explorer for details.
|
2895
2879
|
*/
|
2896
|
-
listServiceSet
|
2897
|
-
|
2880
|
+
listServiceSet(listServiceSetRequest) {
|
2881
|
+
const options = {
|
2898
2882
|
method: "GET",
|
2899
2883
|
url: "/v1/{project_id}/service-sets",
|
2900
2884
|
contentType: "application/json",
|
@@ -2902,15 +2886,15 @@ var ParamCreater = function () {
|
|
2902
2886
|
pathParams: {},
|
2903
2887
|
headers: {}
|
2904
2888
|
};
|
2905
|
-
|
2906
|
-
|
2907
|
-
|
2908
|
-
|
2909
|
-
|
2910
|
-
|
2911
|
-
|
2912
|
-
|
2913
|
-
|
2889
|
+
const localVarHeaderParameter = {};
|
2890
|
+
const localVarQueryParameter = {};
|
2891
|
+
let projectId;
|
2892
|
+
let objectId;
|
2893
|
+
let limit;
|
2894
|
+
let offset;
|
2895
|
+
let keyWord;
|
2896
|
+
let enterpriseProjectId;
|
2897
|
+
let fwInstanceId;
|
2914
2898
|
if (listServiceSetRequest !== null && listServiceSetRequest !== undefined) {
|
2915
2899
|
if (listServiceSetRequest instanceof ListServiceSetRequest_1.ListServiceSetRequest) {
|
2916
2900
|
projectId = listServiceSetRequest.projectId;
|
@@ -2971,8 +2955,8 @@ var ParamCreater = function () {
|
|
2971
2955
|
*
|
2972
2956
|
* Please refer to HUAWEI cloud API Explorer for details.
|
2973
2957
|
*/
|
2974
|
-
listServiceSetDetails
|
2975
|
-
|
2958
|
+
listServiceSetDetails(listServiceSetDetailsRequest) {
|
2959
|
+
const options = {
|
2976
2960
|
method: "GET",
|
2977
2961
|
url: "/v1/{project_id}/service-sets/{set_id}",
|
2978
2962
|
contentType: "application/json",
|
@@ -2980,12 +2964,12 @@ var ParamCreater = function () {
|
|
2980
2964
|
pathParams: {},
|
2981
2965
|
headers: {}
|
2982
2966
|
};
|
2983
|
-
|
2984
|
-
|
2985
|
-
|
2986
|
-
|
2987
|
-
|
2988
|
-
|
2967
|
+
const localVarHeaderParameter = {};
|
2968
|
+
const localVarQueryParameter = {};
|
2969
|
+
let projectId;
|
2970
|
+
let setId;
|
2971
|
+
let enterpriseProjectId;
|
2972
|
+
let fwInstanceId;
|
2989
2973
|
if (listServiceSetDetailsRequest !== null && listServiceSetDetailsRequest !== undefined) {
|
2990
2974
|
if (listServiceSetDetailsRequest instanceof ListServiceSetDetailsRequest_1.ListServiceSetDetailsRequest) {
|
2991
2975
|
projectId = listServiceSetDetailsRequest.projectId;
|
@@ -3022,8 +3006,8 @@ var ParamCreater = function () {
|
|
3022
3006
|
*
|
3023
3007
|
* Please refer to HUAWEI cloud API Explorer for details.
|
3024
3008
|
*/
|
3025
|
-
updateAddressSetInfoUsingPut
|
3026
|
-
|
3009
|
+
updateAddressSetInfoUsingPut(updateAddressSetInfoUsingPutRequest) {
|
3010
|
+
const options = {
|
3027
3011
|
method: "PUT",
|
3028
3012
|
url: "/v1/{project_id}/address-sets/{set_id}",
|
3029
3013
|
contentType: "application/json",
|
@@ -3032,13 +3016,13 @@ var ParamCreater = function () {
|
|
3032
3016
|
headers: {},
|
3033
3017
|
data: {}
|
3034
3018
|
};
|
3035
|
-
|
3036
|
-
|
3037
|
-
|
3038
|
-
|
3039
|
-
|
3040
|
-
|
3041
|
-
|
3019
|
+
const localVarHeaderParameter = {};
|
3020
|
+
const localVarQueryParameter = {};
|
3021
|
+
let body;
|
3022
|
+
let projectId;
|
3023
|
+
let setId;
|
3024
|
+
let enterpriseProjectId;
|
3025
|
+
let fwInstanceId;
|
3042
3026
|
if (updateAddressSetInfoUsingPutRequest !== null && updateAddressSetInfoUsingPutRequest !== undefined) {
|
3043
3027
|
if (updateAddressSetInfoUsingPutRequest instanceof UpdateAddressSetInfoUsingPutRequest_1.UpdateAddressSetInfoUsingPutRequest) {
|
3044
3028
|
projectId = updateAddressSetInfoUsingPutRequest.projectId;
|
@@ -3082,8 +3066,8 @@ var ParamCreater = function () {
|
|
3082
3066
|
*
|
3083
3067
|
* Please refer to HUAWEI cloud API Explorer for details.
|
3084
3068
|
*/
|
3085
|
-
updateBlackWhiteListUsingPut
|
3086
|
-
|
3069
|
+
updateBlackWhiteListUsingPut(updateBlackWhiteListUsingPutRequest) {
|
3070
|
+
const options = {
|
3087
3071
|
method: "PUT",
|
3088
3072
|
url: "/v1/{project_id}/black-white-list/{list_id}",
|
3089
3073
|
contentType: "application/json",
|
@@ -3092,13 +3076,13 @@ var ParamCreater = function () {
|
|
3092
3076
|
headers: {},
|
3093
3077
|
data: {}
|
3094
3078
|
};
|
3095
|
-
|
3096
|
-
|
3097
|
-
|
3098
|
-
|
3099
|
-
|
3100
|
-
|
3101
|
-
|
3079
|
+
const localVarHeaderParameter = {};
|
3080
|
+
const localVarQueryParameter = {};
|
3081
|
+
let body;
|
3082
|
+
let projectId;
|
3083
|
+
let listId;
|
3084
|
+
let enterpriseProjectId;
|
3085
|
+
let fwInstanceId;
|
3102
3086
|
if (updateBlackWhiteListUsingPutRequest !== null && updateBlackWhiteListUsingPutRequest !== undefined) {
|
3103
3087
|
if (updateBlackWhiteListUsingPutRequest instanceof UpdateBlackWhiteListUsingPutRequest_1.UpdateBlackWhiteListUsingPutRequest) {
|
3104
3088
|
projectId = updateBlackWhiteListUsingPutRequest.projectId;
|
@@ -3142,8 +3126,8 @@ var ParamCreater = function () {
|
|
3142
3126
|
*
|
3143
3127
|
* Please refer to HUAWEI cloud API Explorer for details.
|
3144
3128
|
*/
|
3145
|
-
updateDnsServers
|
3146
|
-
|
3129
|
+
updateDnsServers(updateDnsServersRequest) {
|
3130
|
+
const options = {
|
3147
3131
|
method: "PUT",
|
3148
3132
|
url: "/v1/{project_id}/dns/servers",
|
3149
3133
|
contentType: "application/json",
|
@@ -3152,12 +3136,12 @@ var ParamCreater = function () {
|
|
3152
3136
|
headers: {},
|
3153
3137
|
data: {}
|
3154
3138
|
};
|
3155
|
-
|
3156
|
-
|
3157
|
-
|
3158
|
-
|
3159
|
-
|
3160
|
-
|
3139
|
+
const localVarHeaderParameter = {};
|
3140
|
+
const localVarQueryParameter = {};
|
3141
|
+
let body;
|
3142
|
+
let projectId;
|
3143
|
+
let fwInstanceId;
|
3144
|
+
let enterpriseProjectId;
|
3161
3145
|
if (updateDnsServersRequest !== null && updateDnsServersRequest !== undefined) {
|
3162
3146
|
if (updateDnsServersRequest instanceof UpdateDnsServersRequest_1.UpdateDnsServersRequest) {
|
3163
3147
|
projectId = updateDnsServersRequest.projectId;
|
@@ -3196,8 +3180,8 @@ var ParamCreater = function () {
|
|
3196
3180
|
*
|
3197
3181
|
* Please refer to HUAWEI cloud API Explorer for details.
|
3198
3182
|
*/
|
3199
|
-
updateServiceSetUsingPut
|
3200
|
-
|
3183
|
+
updateServiceSetUsingPut(updateServiceSetUsingPutRequest) {
|
3184
|
+
const options = {
|
3201
3185
|
method: "PUT",
|
3202
3186
|
url: "/v1/{project_id}/service-sets/{set_id}",
|
3203
3187
|
contentType: "application/json",
|
@@ -3206,13 +3190,13 @@ var ParamCreater = function () {
|
|
3206
3190
|
headers: {},
|
3207
3191
|
data: {}
|
3208
3192
|
};
|
3209
|
-
|
3210
|
-
|
3211
|
-
|
3212
|
-
|
3213
|
-
|
3214
|
-
|
3215
|
-
|
3193
|
+
const localVarHeaderParameter = {};
|
3194
|
+
const localVarQueryParameter = {};
|
3195
|
+
let body;
|
3196
|
+
let projectId;
|
3197
|
+
let setId;
|
3198
|
+
let enterpriseProjectId;
|
3199
|
+
let fwInstanceId;
|
3216
3200
|
if (updateServiceSetUsingPutRequest !== null && updateServiceSetUsingPutRequest !== undefined) {
|
3217
3201
|
if (updateServiceSetUsingPutRequest instanceof UpdateServiceSetUsingPutRequest_1.UpdateServiceSetUsingPutRequest) {
|
3218
3202
|
projectId = updateServiceSetUsingPutRequest.projectId;
|
@@ -3256,8 +3240,8 @@ var ParamCreater = function () {
|
|
3256
3240
|
*
|
3257
3241
|
* Please refer to HUAWEI cloud API Explorer for details.
|
3258
3242
|
*/
|
3259
|
-
addRuleAclUsingPost
|
3260
|
-
|
3243
|
+
addRuleAclUsingPost(addRuleAclUsingPostRequest) {
|
3244
|
+
const options = {
|
3261
3245
|
method: "POST",
|
3262
3246
|
url: "/v1/{project_id}/acl-rule",
|
3263
3247
|
contentType: "application/json",
|
@@ -3266,12 +3250,12 @@ var ParamCreater = function () {
|
|
3266
3250
|
headers: {},
|
3267
3251
|
data: {}
|
3268
3252
|
};
|
3269
|
-
|
3270
|
-
|
3271
|
-
|
3272
|
-
|
3273
|
-
|
3274
|
-
|
3253
|
+
const localVarHeaderParameter = {};
|
3254
|
+
const localVarQueryParameter = {};
|
3255
|
+
let body;
|
3256
|
+
let projectId;
|
3257
|
+
let enterpriseProjectId;
|
3258
|
+
let fwInstanceId;
|
3275
3259
|
if (addRuleAclUsingPostRequest !== null && addRuleAclUsingPostRequest !== undefined) {
|
3276
3260
|
if (addRuleAclUsingPostRequest instanceof AddRuleAclUsingPostRequest_1.AddRuleAclUsingPostRequest) {
|
3277
3261
|
projectId = addRuleAclUsingPostRequest.projectId;
|
@@ -3310,8 +3294,8 @@ var ParamCreater = function () {
|
|
3310
3294
|
*
|
3311
3295
|
* Please refer to HUAWEI cloud API Explorer for details.
|
3312
3296
|
*/
|
3313
|
-
deleteRuleAclUsingDelete
|
3314
|
-
|
3297
|
+
deleteRuleAclUsingDelete(deleteRuleAclUsingDeleteRequest) {
|
3298
|
+
const options = {
|
3315
3299
|
method: "DELETE",
|
3316
3300
|
url: "/v1/{project_id}/acl-rule/{acl_rule_id}",
|
3317
3301
|
contentType: "application/json",
|
@@ -3319,12 +3303,12 @@ var ParamCreater = function () {
|
|
3319
3303
|
pathParams: {},
|
3320
3304
|
headers: {}
|
3321
3305
|
};
|
3322
|
-
|
3323
|
-
|
3324
|
-
|
3325
|
-
|
3326
|
-
|
3327
|
-
|
3306
|
+
const localVarHeaderParameter = {};
|
3307
|
+
const localVarQueryParameter = {};
|
3308
|
+
let projectId;
|
3309
|
+
let aclRuleId;
|
3310
|
+
let enterpriseProjectId;
|
3311
|
+
let fwInstanceId;
|
3328
3312
|
if (deleteRuleAclUsingDeleteRequest !== null && deleteRuleAclUsingDeleteRequest !== undefined) {
|
3329
3313
|
if (deleteRuleAclUsingDeleteRequest instanceof DeleteRuleAclUsingDeleteRequest_1.DeleteRuleAclUsingDeleteRequest) {
|
3330
3314
|
projectId = deleteRuleAclUsingDeleteRequest.projectId;
|
@@ -3361,8 +3345,8 @@ var ParamCreater = function () {
|
|
3361
3345
|
*
|
3362
3346
|
* Please refer to HUAWEI cloud API Explorer for details.
|
3363
3347
|
*/
|
3364
|
-
listRuleAclUsingPut
|
3365
|
-
|
3348
|
+
listRuleAclUsingPut(listRuleAclUsingPutRequest) {
|
3349
|
+
const options = {
|
3366
3350
|
method: "PUT",
|
3367
3351
|
url: "/v1/{project_id}/acl-rule/order/{acl_rule_id}",
|
3368
3352
|
contentType: "application/json",
|
@@ -3371,13 +3355,13 @@ var ParamCreater = function () {
|
|
3371
3355
|
headers: {},
|
3372
3356
|
data: {}
|
3373
3357
|
};
|
3374
|
-
|
3375
|
-
|
3376
|
-
|
3377
|
-
|
3378
|
-
|
3379
|
-
|
3380
|
-
|
3358
|
+
const localVarHeaderParameter = {};
|
3359
|
+
const localVarQueryParameter = {};
|
3360
|
+
let body;
|
3361
|
+
let projectId;
|
3362
|
+
let aclRuleId;
|
3363
|
+
let enterpriseProjectId;
|
3364
|
+
let fwInstanceId;
|
3381
3365
|
if (listRuleAclUsingPutRequest !== null && listRuleAclUsingPutRequest !== undefined) {
|
3382
3366
|
if (listRuleAclUsingPutRequest instanceof ListRuleAclUsingPutRequest_1.ListRuleAclUsingPutRequest) {
|
3383
3367
|
projectId = listRuleAclUsingPutRequest.projectId;
|
@@ -3421,8 +3405,8 @@ var ParamCreater = function () {
|
|
3421
3405
|
*
|
3422
3406
|
* Please refer to HUAWEI cloud API Explorer for details.
|
3423
3407
|
*/
|
3424
|
-
listRuleAclsUsingGet
|
3425
|
-
|
3408
|
+
listRuleAclsUsingGet(listRuleAclsUsingGetRequest) {
|
3409
|
+
const options = {
|
3426
3410
|
method: "GET",
|
3427
3411
|
url: "/v1/{project_id}/acl-rules",
|
3428
3412
|
contentType: "application/json",
|
@@ -3430,22 +3414,22 @@ var ParamCreater = function () {
|
|
3430
3414
|
pathParams: {},
|
3431
3415
|
headers: {}
|
3432
3416
|
};
|
3433
|
-
|
3434
|
-
|
3435
|
-
|
3436
|
-
|
3437
|
-
|
3438
|
-
|
3439
|
-
|
3440
|
-
|
3441
|
-
|
3442
|
-
|
3443
|
-
|
3444
|
-
|
3445
|
-
|
3446
|
-
|
3447
|
-
|
3448
|
-
|
3417
|
+
const localVarHeaderParameter = {};
|
3418
|
+
const localVarQueryParameter = {};
|
3419
|
+
let projectId;
|
3420
|
+
let objectId;
|
3421
|
+
let limit;
|
3422
|
+
let offset;
|
3423
|
+
let type;
|
3424
|
+
let protocol;
|
3425
|
+
let ip;
|
3426
|
+
let name;
|
3427
|
+
let direction;
|
3428
|
+
let status;
|
3429
|
+
let actionType;
|
3430
|
+
let addressType;
|
3431
|
+
let enterpriseProjectId;
|
3432
|
+
let fwInstanceId;
|
3449
3433
|
if (listRuleAclsUsingGetRequest !== null && listRuleAclsUsingGetRequest !== undefined) {
|
3450
3434
|
if (listRuleAclsUsingGetRequest instanceof ListRuleAclsUsingGetRequest_1.ListRuleAclsUsingGetRequest) {
|
3451
3435
|
projectId = listRuleAclsUsingGetRequest.projectId;
|
@@ -3541,8 +3525,8 @@ var ParamCreater = function () {
|
|
3541
3525
|
*
|
3542
3526
|
* Please refer to HUAWEI cloud API Explorer for details.
|
3543
3527
|
*/
|
3544
|
-
updateRuleAclUsingPut
|
3545
|
-
|
3528
|
+
updateRuleAclUsingPut(updateRuleAclUsingPutRequest) {
|
3529
|
+
const options = {
|
3546
3530
|
method: "PUT",
|
3547
3531
|
url: "/v1/{project_id}/acl-rule/{acl_rule_id}",
|
3548
3532
|
contentType: "application/json",
|
@@ -3551,13 +3535,13 @@ var ParamCreater = function () {
|
|
3551
3535
|
headers: {},
|
3552
3536
|
data: {}
|
3553
3537
|
};
|
3554
|
-
|
3555
|
-
|
3556
|
-
|
3557
|
-
|
3558
|
-
|
3559
|
-
|
3560
|
-
|
3538
|
+
const localVarHeaderParameter = {};
|
3539
|
+
const localVarQueryParameter = {};
|
3540
|
+
let body;
|
3541
|
+
let projectId;
|
3542
|
+
let aclRuleId;
|
3543
|
+
let enterpriseProjectId;
|
3544
|
+
let fwInstanceId;
|
3561
3545
|
if (updateRuleAclUsingPutRequest !== null && updateRuleAclUsingPutRequest !== undefined) {
|
3562
3546
|
if (updateRuleAclUsingPutRequest instanceof UpdateRuleAclUsingPutRequest_1.UpdateRuleAclUsingPutRequest) {
|
3563
3547
|
projectId = updateRuleAclUsingPutRequest.projectId;
|
@@ -3601,8 +3585,8 @@ var ParamCreater = function () {
|
|
3601
3585
|
*
|
3602
3586
|
* Please refer to HUAWEI cloud API Explorer for details.
|
3603
3587
|
*/
|
3604
|
-
changeProtectEip
|
3605
|
-
|
3588
|
+
changeProtectEip(changeProtectEipRequest) {
|
3589
|
+
const options = {
|
3606
3590
|
method: "POST",
|
3607
3591
|
url: "/v1/{project_id}/eip/protect",
|
3608
3592
|
contentType: "application/json",
|
@@ -3611,12 +3595,12 @@ var ParamCreater = function () {
|
|
3611
3595
|
headers: {},
|
3612
3596
|
data: {}
|
3613
3597
|
};
|
3614
|
-
|
3615
|
-
|
3616
|
-
|
3617
|
-
|
3618
|
-
|
3619
|
-
|
3598
|
+
const localVarHeaderParameter = {};
|
3599
|
+
const localVarQueryParameter = {};
|
3600
|
+
let body;
|
3601
|
+
let projectId;
|
3602
|
+
let enterpriseProjectId;
|
3603
|
+
let fwInstanceId;
|
3620
3604
|
if (changeProtectEipRequest !== null && changeProtectEipRequest !== undefined) {
|
3621
3605
|
if (changeProtectEipRequest instanceof ChangeProtectEipRequest_1.ChangeProtectEipRequest) {
|
3622
3606
|
projectId = changeProtectEipRequest.projectId;
|
@@ -3655,8 +3639,8 @@ var ParamCreater = function () {
|
|
3655
3639
|
*
|
3656
3640
|
* Please refer to HUAWEI cloud API Explorer for details.
|
3657
3641
|
*/
|
3658
|
-
countEips
|
3659
|
-
|
3642
|
+
countEips(countEipsRequest) {
|
3643
|
+
const options = {
|
3660
3644
|
method: "GET",
|
3661
3645
|
url: "/v1/{project_id}/eip-count/{object_id}",
|
3662
3646
|
contentType: "application/json",
|
@@ -3664,12 +3648,12 @@ var ParamCreater = function () {
|
|
3664
3648
|
pathParams: {},
|
3665
3649
|
headers: {}
|
3666
3650
|
};
|
3667
|
-
|
3668
|
-
|
3669
|
-
|
3670
|
-
|
3671
|
-
|
3672
|
-
|
3651
|
+
const localVarHeaderParameter = {};
|
3652
|
+
const localVarQueryParameter = {};
|
3653
|
+
let projectId;
|
3654
|
+
let objectId;
|
3655
|
+
let enterpriseProjectId;
|
3656
|
+
let fwInstanceId;
|
3673
3657
|
if (countEipsRequest !== null && countEipsRequest !== undefined) {
|
3674
3658
|
if (countEipsRequest instanceof CountEipsRequest_1.CountEipsRequest) {
|
3675
3659
|
projectId = countEipsRequest.projectId;
|
@@ -3706,8 +3690,8 @@ var ParamCreater = function () {
|
|
3706
3690
|
*
|
3707
3691
|
* Please refer to HUAWEI cloud API Explorer for details.
|
3708
3692
|
*/
|
3709
|
-
listEipResources
|
3710
|
-
|
3693
|
+
listEipResources(listEipResourcesRequest) {
|
3694
|
+
const options = {
|
3711
3695
|
method: "GET",
|
3712
3696
|
url: "/v1/{project_id}/eips/protect",
|
3713
3697
|
contentType: "application/json",
|
@@ -3715,21 +3699,21 @@ var ParamCreater = function () {
|
|
3715
3699
|
pathParams: {},
|
3716
3700
|
headers: {}
|
3717
3701
|
};
|
3718
|
-
|
3719
|
-
|
3720
|
-
|
3721
|
-
|
3722
|
-
|
3723
|
-
|
3724
|
-
|
3725
|
-
|
3726
|
-
|
3727
|
-
|
3728
|
-
|
3729
|
-
|
3730
|
-
|
3731
|
-
|
3732
|
-
|
3702
|
+
const localVarHeaderParameter = {};
|
3703
|
+
const localVarQueryParameter = {};
|
3704
|
+
let projectId;
|
3705
|
+
let objectId;
|
3706
|
+
let limit;
|
3707
|
+
let offset;
|
3708
|
+
let keyWord;
|
3709
|
+
let status;
|
3710
|
+
let sync;
|
3711
|
+
let enterpriseProjectId;
|
3712
|
+
let deviceKey;
|
3713
|
+
let addressType;
|
3714
|
+
let fwInstanceId;
|
3715
|
+
let fwKeyWord;
|
3716
|
+
let epsId;
|
3733
3717
|
if (listEipResourcesRequest !== null && listEipResourcesRequest !== undefined) {
|
3734
3718
|
if (listEipResourcesRequest instanceof ListEipResourcesRequest_1.ListEipResourcesRequest) {
|
3735
3719
|
projectId = listEipResourcesRequest.projectId;
|
@@ -3820,8 +3804,8 @@ var ParamCreater = function () {
|
|
3820
3804
|
*
|
3821
3805
|
* Please refer to HUAWEI cloud API Explorer for details.
|
3822
3806
|
*/
|
3823
|
-
changeIpsSwitchUsingPost
|
3824
|
-
|
3807
|
+
changeIpsSwitchUsingPost(changeIpsSwitchUsingPostRequest) {
|
3808
|
+
const options = {
|
3825
3809
|
method: "POST",
|
3826
3810
|
url: "/v1/{project_id}/ips/switch",
|
3827
3811
|
contentType: "application/json",
|
@@ -3830,12 +3814,12 @@ var ParamCreater = function () {
|
|
3830
3814
|
headers: {},
|
3831
3815
|
data: {}
|
3832
3816
|
};
|
3833
|
-
|
3834
|
-
|
3835
|
-
|
3836
|
-
|
3837
|
-
|
3838
|
-
|
3817
|
+
const localVarHeaderParameter = {};
|
3818
|
+
const localVarQueryParameter = {};
|
3819
|
+
let body;
|
3820
|
+
let projectId;
|
3821
|
+
let enterpriseProjectId;
|
3822
|
+
let fwInstanceId;
|
3839
3823
|
if (changeIpsSwitchUsingPostRequest !== null && changeIpsSwitchUsingPostRequest !== undefined) {
|
3840
3824
|
if (changeIpsSwitchUsingPostRequest instanceof ChangeIpsSwitchUsingPostRequest_1.ChangeIpsSwitchUsingPostRequest) {
|
3841
3825
|
projectId = changeIpsSwitchUsingPostRequest.projectId;
|
@@ -3874,8 +3858,8 @@ var ParamCreater = function () {
|
|
3874
3858
|
*
|
3875
3859
|
* Please refer to HUAWEI cloud API Explorer for details.
|
3876
3860
|
*/
|
3877
|
-
listIpsSwitchStatusUsingGet
|
3878
|
-
|
3861
|
+
listIpsSwitchStatusUsingGet(listIpsSwitchStatusUsingGetRequest) {
|
3862
|
+
const options = {
|
3879
3863
|
method: "GET",
|
3880
3864
|
url: "/v1/{project_id}/ips/switch",
|
3881
3865
|
contentType: "application/json",
|
@@ -3883,12 +3867,12 @@ var ParamCreater = function () {
|
|
3883
3867
|
pathParams: {},
|
3884
3868
|
headers: {}
|
3885
3869
|
};
|
3886
|
-
|
3887
|
-
|
3888
|
-
|
3889
|
-
|
3890
|
-
|
3891
|
-
|
3870
|
+
const localVarHeaderParameter = {};
|
3871
|
+
const localVarQueryParameter = {};
|
3872
|
+
let projectId;
|
3873
|
+
let objectId;
|
3874
|
+
let enterpriseProjectId;
|
3875
|
+
let fwInstanceId;
|
3892
3876
|
if (listIpsSwitchStatusUsingGetRequest !== null && listIpsSwitchStatusUsingGetRequest !== undefined) {
|
3893
3877
|
if (listIpsSwitchStatusUsingGetRequest instanceof ListIpsSwitchStatusUsingGetRequest_1.ListIpsSwitchStatusUsingGetRequest) {
|
3894
3878
|
projectId = listIpsSwitchStatusUsingGetRequest.projectId;
|
@@ -3928,8 +3912,8 @@ var ParamCreater = function () {
|
|
3928
3912
|
*
|
3929
3913
|
* Please refer to HUAWEI cloud API Explorer for details.
|
3930
3914
|
*/
|
3931
|
-
listVpcProtects
|
3932
|
-
|
3915
|
+
listVpcProtects(listVpcProtectsRequest) {
|
3916
|
+
const options = {
|
3933
3917
|
method: "GET",
|
3934
3918
|
url: "/v1/{project_id}/vpcs/protection",
|
3935
3919
|
contentType: "application/json",
|
@@ -3937,12 +3921,12 @@ var ParamCreater = function () {
|
|
3937
3921
|
pathParams: {},
|
3938
3922
|
headers: {}
|
3939
3923
|
};
|
3940
|
-
|
3941
|
-
|
3942
|
-
|
3943
|
-
|
3944
|
-
|
3945
|
-
|
3924
|
+
const localVarHeaderParameter = {};
|
3925
|
+
const localVarQueryParameter = {};
|
3926
|
+
let projectId;
|
3927
|
+
let objectId;
|
3928
|
+
let enterpriseProjectId;
|
3929
|
+
let fwInstanceId;
|
3946
3930
|
if (listVpcProtectsRequest !== null && listVpcProtectsRequest !== undefined) {
|
3947
3931
|
if (listVpcProtectsRequest instanceof ListVpcProtectsRequest_1.ListVpcProtectsRequest) {
|
3948
3932
|
projectId = listVpcProtectsRequest.projectId;
|
@@ -3989,14 +3973,12 @@ function newClient(client) {
|
|
3989
3973
|
* @class RequiredError
|
3990
3974
|
* @extends {Error}
|
3991
3975
|
*/
|
3992
|
-
|
3993
|
-
|
3994
|
-
|
3995
|
-
|
3996
|
-
|
3997
|
-
_this.name = "RequiredError";
|
3998
|
-
return _this;
|
3976
|
+
class RequiredError extends Error {
|
3977
|
+
constructor(field, msg) {
|
3978
|
+
super(msg);
|
3979
|
+
this.field = field;
|
3980
|
+
this.name = "RequiredError";
|
3999
3981
|
}
|
4000
|
-
|
4001
|
-
}(Error));
|
3982
|
+
}
|
4002
3983
|
exports.RequiredError = RequiredError;
|
3984
|
+
//# sourceMappingURL=CfwClient.js.map
|