@huaweicloud/huaweicloud-sdk-cfw 3.1.46 → 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 +3 -0
- package/huaweicloud-sdk-cfw.d.ts.map +1 -0
- package/huaweicloud-sdk-cfw.js +32 -0
- package/huaweicloud-sdk-cfw.js.map +1 -0
- package/package.json +8 -4
- package/v1/CfwClient.d.ts +1408 -0
- package/v1/CfwClient.d.ts.map +1 -0
- package/v1/{CfwClient.ts → CfwClient.js} +718 -1399
- package/v1/CfwClient.js.map +1 -0
- package/v1/CfwRegion.d.ts +22 -0
- package/v1/CfwRegion.d.ts.map +1 -0
- package/v1/CfwRegion.js +52 -0
- package/v1/CfwRegion.js.map +1 -0
- package/v1/model/AddAddressItemsInfoDto.d.ts +13 -0
- package/v1/model/AddAddressItemsInfoDto.d.ts.map +1 -0
- package/v1/model/AddAddressItemsInfoDto.js +29 -0
- package/v1/model/AddAddressItemsInfoDto.js.map +1 -0
- package/v1/model/AddAddressItemsInfoDtoAddressItems.d.ts +14 -0
- package/v1/model/AddAddressItemsInfoDtoAddressItems.d.ts.map +1 -0
- package/v1/model/AddAddressItemsInfoDtoAddressItems.js +32 -0
- package/v1/model/AddAddressItemsInfoDtoAddressItems.js.map +1 -0
- package/v1/model/AddAddressItemsUsingPostRequest.d.ts +19 -0
- package/v1/model/AddAddressItemsUsingPostRequest.d.ts.map +1 -0
- package/v1/model/AddAddressItemsUsingPostRequest.js +44 -0
- package/v1/model/AddAddressItemsUsingPostRequest.js.map +1 -0
- package/v1/model/AddAddressItemsUsingPostResponse.d.ts +8 -0
- package/v1/model/AddAddressItemsUsingPostResponse.d.ts.map +1 -0
- package/v1/model/AddAddressItemsUsingPostResponse.js +15 -0
- package/v1/model/AddAddressItemsUsingPostResponse.js.map +1 -0
- package/v1/model/AddAddressSetDto.d.ts +24 -0
- package/v1/model/AddAddressSetDto.d.ts.map +1 -0
- package/v1/model/AddAddressSetDto.js +48 -0
- package/v1/model/AddAddressSetDto.js.map +1 -0
- package/v1/model/AddAddressSetInfoUsingPostRequest.d.ts +19 -0
- package/v1/model/AddAddressSetInfoUsingPostRequest.d.ts.map +1 -0
- package/v1/model/AddAddressSetInfoUsingPostRequest.js +44 -0
- package/v1/model/AddAddressSetInfoUsingPostRequest.js.map +1 -0
- package/v1/model/AddAddressSetInfoUsingPostResponse.d.ts +8 -0
- package/v1/model/AddAddressSetInfoUsingPostResponse.d.ts.map +1 -0
- package/v1/model/AddAddressSetInfoUsingPostResponse.js +15 -0
- package/v1/model/AddAddressSetInfoUsingPostResponse.js.map +1 -0
- package/v1/model/AddBlackWhiteListDto.d.ts +24 -0
- package/v1/model/AddBlackWhiteListDto.d.ts.map +1 -0
- package/v1/model/AddBlackWhiteListDto.js +62 -0
- package/v1/model/AddBlackWhiteListDto.js.map +1 -0
- package/v1/model/AddBlackWhiteListUsingPostRequest.d.ts +19 -0
- package/v1/model/AddBlackWhiteListUsingPostRequest.d.ts.map +1 -0
- package/v1/model/AddBlackWhiteListUsingPostRequest.js +44 -0
- package/v1/model/AddBlackWhiteListUsingPostRequest.js.map +1 -0
- package/v1/model/AddBlackWhiteListUsingPostResponse.d.ts +8 -0
- package/v1/model/AddBlackWhiteListUsingPostResponse.d.ts.map +1 -0
- package/v1/model/AddBlackWhiteListUsingPostResponse.js +15 -0
- package/v1/model/AddBlackWhiteListUsingPostResponse.js.map +1 -0
- package/v1/model/AddRuleAclDto.d.ts +22 -0
- package/v1/model/AddRuleAclDto.d.ts.map +1 -0
- package/v1/model/AddRuleAclDto.js +40 -0
- package/v1/model/AddRuleAclDto.js.map +1 -0
- package/v1/model/AddRuleAclDtoRules.d.ts +84 -0
- package/v1/model/AddRuleAclDtoRules.d.ts.map +1 -0
- package/v1/model/AddRuleAclDtoRules.js +157 -0
- package/v1/model/AddRuleAclDtoRules.js.map +1 -0
- package/v1/model/AddRuleAclUsingPostRequest.d.ts +19 -0
- package/v1/model/AddRuleAclUsingPostRequest.d.ts.map +1 -0
- package/v1/model/AddRuleAclUsingPostRequest.js +44 -0
- package/v1/model/AddRuleAclUsingPostRequest.js.map +1 -0
- package/v1/model/AddRuleAclUsingPostResponse.d.ts +8 -0
- package/v1/model/AddRuleAclUsingPostResponse.d.ts.map +1 -0
- package/v1/model/AddRuleAclUsingPostResponse.js +15 -0
- package/v1/model/AddRuleAclUsingPostResponse.js.map +1 -0
- package/v1/model/AddServiceItemsUsingPOSTRequestBody.d.ts +13 -0
- package/v1/model/AddServiceItemsUsingPOSTRequestBody.d.ts.map +1 -0
- package/v1/model/AddServiceItemsUsingPOSTRequestBody.js +31 -0
- package/v1/model/AddServiceItemsUsingPOSTRequestBody.js.map +1 -0
- package/v1/model/AddServiceItemsUsingPOSTRequestBodyServiceItems.d.ts +22 -0
- package/v1/model/AddServiceItemsUsingPOSTRequestBodyServiceItems.d.ts.map +1 -0
- package/v1/model/AddServiceItemsUsingPOSTRequestBodyServiceItems.js +54 -0
- package/v1/model/AddServiceItemsUsingPOSTRequestBodyServiceItems.js.map +1 -0
- package/v1/model/AddServiceItemsUsingPostRequest.d.ts +19 -0
- package/v1/model/AddServiceItemsUsingPostRequest.d.ts.map +1 -0
- package/v1/model/AddServiceItemsUsingPostRequest.js +44 -0
- package/v1/model/AddServiceItemsUsingPostRequest.js.map +1 -0
- package/v1/model/AddServiceItemsUsingPostResponse.d.ts +8 -0
- package/v1/model/AddServiceItemsUsingPostResponse.d.ts.map +1 -0
- package/v1/model/AddServiceItemsUsingPostResponse.js +15 -0
- package/v1/model/AddServiceItemsUsingPostResponse.js.map +1 -0
- package/v1/model/AddServiceSetUsingPOSTRequestBody.d.ts +12 -0
- package/v1/model/AddServiceSetUsingPOSTRequestBody.d.ts.map +1 -0
- package/v1/model/AddServiceSetUsingPOSTRequestBody.js +29 -0
- package/v1/model/AddServiceSetUsingPOSTRequestBody.js.map +1 -0
- package/v1/model/AddServiceSetUsingPostRequest.d.ts +19 -0
- package/v1/model/AddServiceSetUsingPostRequest.d.ts.map +1 -0
- package/v1/model/AddServiceSetUsingPostRequest.js +44 -0
- package/v1/model/AddServiceSetUsingPostRequest.js.map +1 -0
- package/v1/model/AddServiceSetUsingPostResponse.d.ts +8 -0
- package/v1/model/AddServiceSetUsingPostResponse.d.ts.map +1 -0
- package/v1/model/AddServiceSetUsingPostResponse.js +15 -0
- package/v1/model/AddServiceSetUsingPostResponse.js.map +1 -0
- package/v1/model/AddressItemListResponseDTOData.d.ts +17 -0
- package/v1/model/AddressItemListResponseDTOData.d.ts.map +1 -0
- package/v1/model/AddressItemListResponseDTOData.js +35 -0
- package/v1/model/AddressItemListResponseDTOData.js.map +1 -0
- package/v1/model/AddressItemListResponseDTODataRecords.d.ts +18 -0
- package/v1/model/AddressItemListResponseDTODataRecords.d.ts.map +1 -0
- package/v1/model/AddressItemListResponseDTODataRecords.js +41 -0
- package/v1/model/AddressItemListResponseDTODataRecords.js.map +1 -0
- package/v1/model/AddressItems.d.ts +7 -0
- package/v1/model/AddressItems.d.ts.map +1 -0
- package/v1/model/AddressItems.js +13 -0
- package/v1/model/AddressItems.js.map +1 -0
- package/v1/model/AddressSetDetailResponseDTOData.d.ts +22 -0
- package/v1/model/AddressSetDetailResponseDTOData.d.ts.map +1 -0
- package/v1/model/AddressSetDetailResponseDTOData.js +40 -0
- package/v1/model/AddressSetDetailResponseDTOData.js.map +1 -0
- package/v1/model/AddressSetListResponseDTOData.d.ts +13 -0
- package/v1/model/AddressSetListResponseDTOData.d.ts.map +1 -0
- package/v1/model/AddressSetListResponseDTOData.js +25 -0
- package/v1/model/AddressSetListResponseDTOData.js.map +1 -0
- package/v1/model/AddressSetListResponseDTODataRecords.d.ts +20 -0
- package/v1/model/AddressSetListResponseDTODataRecords.d.ts.map +1 -0
- package/v1/model/AddressSetListResponseDTODataRecords.js +47 -0
- package/v1/model/AddressSetListResponseDTODataRecords.js.map +1 -0
- package/v1/model/BlackWhiteListResponseData.d.ts +17 -0
- package/v1/model/BlackWhiteListResponseData.d.ts.map +1 -0
- package/v1/model/BlackWhiteListResponseData.js +35 -0
- package/v1/model/BlackWhiteListResponseData.js.map +1 -0
- package/v1/model/BlackWhiteListResponseDataRecords.d.ts +20 -0
- package/v1/model/BlackWhiteListResponseDataRecords.d.ts.map +1 -0
- package/v1/model/BlackWhiteListResponseDataRecords.js +45 -0
- package/v1/model/BlackWhiteListResponseDataRecords.js.map +1 -0
- package/v1/model/ChangeEwProtectStatusRequest.d.ts +19 -0
- package/v1/model/ChangeEwProtectStatusRequest.d.ts.map +1 -0
- package/v1/model/ChangeEwProtectStatusRequest.js +44 -0
- package/v1/model/ChangeEwProtectStatusRequest.js.map +1 -0
- package/v1/model/ChangeEwProtectStatusResponse.d.ts +12 -0
- package/v1/model/ChangeEwProtectStatusResponse.d.ts.map +1 -0
- package/v1/model/ChangeEwProtectStatusResponse.js +25 -0
- package/v1/model/ChangeEwProtectStatusResponse.js.map +1 -0
- package/v1/model/ChangeIpsProtectModeUsingPostRequest.d.ts +19 -0
- package/v1/model/ChangeIpsProtectModeUsingPostRequest.d.ts.map +1 -0
- package/v1/model/ChangeIpsProtectModeUsingPostRequest.js +44 -0
- package/v1/model/ChangeIpsProtectModeUsingPostRequest.js.map +1 -0
- package/v1/model/ChangeIpsProtectModeUsingPostResponse.d.ts +8 -0
- package/v1/model/ChangeIpsProtectModeUsingPostResponse.d.ts.map +1 -0
- package/v1/model/ChangeIpsProtectModeUsingPostResponse.js +15 -0
- package/v1/model/ChangeIpsProtectModeUsingPostResponse.js.map +1 -0
- package/v1/model/ChangeIpsSwitchUsingPostRequest.d.ts +19 -0
- package/v1/model/ChangeIpsSwitchUsingPostRequest.d.ts.map +1 -0
- package/v1/model/ChangeIpsSwitchUsingPostRequest.js +44 -0
- package/v1/model/ChangeIpsSwitchUsingPostRequest.js.map +1 -0
- package/v1/model/ChangeIpsSwitchUsingPostResponse.d.ts +12 -0
- package/v1/model/ChangeIpsSwitchUsingPostResponse.d.ts.map +1 -0
- package/v1/model/ChangeIpsSwitchUsingPostResponse.js +25 -0
- package/v1/model/ChangeIpsSwitchUsingPostResponse.js.map +1 -0
- package/v1/model/ChangeProtectEipRequest.d.ts +19 -0
- package/v1/model/ChangeProtectEipRequest.d.ts.map +1 -0
- package/v1/model/ChangeProtectEipRequest.js +44 -0
- package/v1/model/ChangeProtectEipRequest.js.map +1 -0
- package/v1/model/ChangeProtectEipResponse.d.ts +8 -0
- package/v1/model/ChangeProtectEipResponse.d.ts.map +1 -0
- package/v1/model/ChangeProtectEipResponse.js +15 -0
- package/v1/model/ChangeProtectEipResponse.js.map +1 -0
- package/v1/model/ChangeProtectStatusRequestBody.d.ts +18 -0
- package/v1/model/ChangeProtectStatusRequestBody.d.ts.map +1 -0
- package/v1/model/ChangeProtectStatusRequestBody.js +34 -0
- package/v1/model/ChangeProtectStatusRequestBody.js.map +1 -0
- package/v1/model/ClearAccessLogRuleHitCountsDto.d.ts +8 -0
- package/v1/model/ClearAccessLogRuleHitCountsDto.d.ts.map +1 -0
- package/v1/model/ClearAccessLogRuleHitCountsDto.js +20 -0
- package/v1/model/ClearAccessLogRuleHitCountsDto.js.map +1 -0
- package/v1/model/CommonResponseDTOData.d.ts +6 -0
- package/v1/model/CommonResponseDTOData.d.ts.map +1 -0
- package/v1/model/CommonResponseDTOData.js +13 -0
- package/v1/model/CommonResponseDTOData.js.map +1 -0
- package/v1/model/CountEipsRequest.d.ts +20 -0
- package/v1/model/CountEipsRequest.d.ts.map +1 -0
- package/v1/model/CountEipsRequest.js +51 -0
- package/v1/model/CountEipsRequest.js.map +1 -0
- package/v1/model/CountEipsResponse.d.ts +8 -0
- package/v1/model/CountEipsResponse.d.ts.map +1 -0
- package/v1/model/CountEipsResponse.js +15 -0
- package/v1/model/CountEipsResponse.js.map +1 -0
- package/v1/model/DeleteAclRuleCountRequest.d.ts +19 -0
- package/v1/model/DeleteAclRuleCountRequest.d.ts.map +1 -0
- package/v1/model/DeleteAclRuleCountRequest.js +44 -0
- package/v1/model/DeleteAclRuleCountRequest.js.map +1 -0
- package/v1/model/DeleteAclRuleCountResponse.d.ts +7 -0
- package/v1/model/DeleteAclRuleCountResponse.d.ts.map +1 -0
- package/v1/model/DeleteAclRuleCountResponse.js +15 -0
- package/v1/model/DeleteAclRuleCountResponse.js.map +1 -0
- package/v1/model/DeleteAddressItemUsingDeleteRequest.d.ts +20 -0
- package/v1/model/DeleteAddressItemUsingDeleteRequest.d.ts.map +1 -0
- package/v1/model/DeleteAddressItemUsingDeleteRequest.js +51 -0
- package/v1/model/DeleteAddressItemUsingDeleteRequest.js.map +1 -0
- package/v1/model/DeleteAddressItemUsingDeleteResponse.d.ts +8 -0
- package/v1/model/DeleteAddressItemUsingDeleteResponse.d.ts.map +1 -0
- package/v1/model/DeleteAddressItemUsingDeleteResponse.js +15 -0
- package/v1/model/DeleteAddressItemUsingDeleteResponse.js.map +1 -0
- package/v1/model/DeleteAddressSetInfoUsingDeleteRequest.d.ts +20 -0
- package/v1/model/DeleteAddressSetInfoUsingDeleteRequest.d.ts.map +1 -0
- package/v1/model/DeleteAddressSetInfoUsingDeleteRequest.js +51 -0
- package/v1/model/DeleteAddressSetInfoUsingDeleteRequest.js.map +1 -0
- package/v1/model/DeleteAddressSetInfoUsingDeleteResponse.d.ts +8 -0
- package/v1/model/DeleteAddressSetInfoUsingDeleteResponse.d.ts.map +1 -0
- package/v1/model/DeleteAddressSetInfoUsingDeleteResponse.js +15 -0
- package/v1/model/DeleteAddressSetInfoUsingDeleteResponse.js.map +1 -0
- package/v1/model/DeleteBlackWhiteListUsingDeleteRequest.d.ts +20 -0
- package/v1/model/DeleteBlackWhiteListUsingDeleteRequest.d.ts.map +1 -0
- package/v1/model/DeleteBlackWhiteListUsingDeleteRequest.js +51 -0
- package/v1/model/DeleteBlackWhiteListUsingDeleteRequest.js.map +1 -0
- package/v1/model/DeleteBlackWhiteListUsingDeleteResponse.d.ts +8 -0
- package/v1/model/DeleteBlackWhiteListUsingDeleteResponse.d.ts.map +1 -0
- package/v1/model/DeleteBlackWhiteListUsingDeleteResponse.js +15 -0
- package/v1/model/DeleteBlackWhiteListUsingDeleteResponse.js.map +1 -0
- package/v1/model/DeleteRuleAclUsingDeleteRequest.d.ts +20 -0
- package/v1/model/DeleteRuleAclUsingDeleteRequest.d.ts.map +1 -0
- package/v1/model/DeleteRuleAclUsingDeleteRequest.js +51 -0
- package/v1/model/DeleteRuleAclUsingDeleteRequest.js.map +1 -0
- package/v1/model/DeleteRuleAclUsingDeleteResponse.d.ts +8 -0
- package/v1/model/DeleteRuleAclUsingDeleteResponse.d.ts.map +1 -0
- package/v1/model/DeleteRuleAclUsingDeleteResponse.js +15 -0
- package/v1/model/DeleteRuleAclUsingDeleteResponse.js.map +1 -0
- package/v1/model/DeleteServiceItemUsingDeleteRequest.d.ts +20 -0
- package/v1/model/DeleteServiceItemUsingDeleteRequest.d.ts.map +1 -0
- package/v1/model/DeleteServiceItemUsingDeleteRequest.js +51 -0
- package/v1/model/DeleteServiceItemUsingDeleteRequest.js.map +1 -0
- package/v1/model/DeleteServiceItemUsingDeleteResponse.d.ts +8 -0
- package/v1/model/DeleteServiceItemUsingDeleteResponse.d.ts.map +1 -0
- package/v1/model/DeleteServiceItemUsingDeleteResponse.js +15 -0
- package/v1/model/DeleteServiceItemUsingDeleteResponse.js.map +1 -0
- package/v1/model/DeleteServiceSetUsingDeleteRequest.d.ts +20 -0
- package/v1/model/DeleteServiceSetUsingDeleteRequest.d.ts.map +1 -0
- package/v1/model/DeleteServiceSetUsingDeleteRequest.js +51 -0
- package/v1/model/DeleteServiceSetUsingDeleteRequest.js.map +1 -0
- package/v1/model/DeleteServiceSetUsingDeleteResponse.d.ts +8 -0
- package/v1/model/DeleteServiceSetUsingDeleteResponse.d.ts.map +1 -0
- package/v1/model/DeleteServiceSetUsingDeleteResponse.js +15 -0
- package/v1/model/DeleteServiceSetUsingDeleteResponse.js.map +1 -0
- package/v1/model/DnsServersResponseDTO.d.ts +18 -0
- package/v1/model/DnsServersResponseDTO.d.ts.map +1 -0
- package/v1/model/DnsServersResponseDTO.js +43 -0
- package/v1/model/DnsServersResponseDTO.js.map +1 -0
- package/v1/model/EipCountRespData.d.ts +16 -0
- package/v1/model/EipCountRespData.d.ts.map +1 -0
- package/v1/model/EipCountRespData.js +39 -0
- package/v1/model/EipCountRespData.js.map +1 -0
- package/v1/model/EipOperateProtectReq.d.ts +15 -0
- package/v1/model/EipOperateProtectReq.d.ts.map +1 -0
- package/v1/model/EipOperateProtectReq.js +36 -0
- package/v1/model/EipOperateProtectReq.js.map +1 -0
- package/v1/model/EipOperateProtectReqIpInfos.d.ts +14 -0
- package/v1/model/EipOperateProtectReqIpInfos.d.ts.map +1 -0
- package/v1/model/EipOperateProtectReqIpInfos.js +33 -0
- package/v1/model/EipOperateProtectReqIpInfos.js.map +1 -0
- package/v1/model/EipResource.d.ts +56 -0
- package/v1/model/EipResource.d.ts.map +1 -0
- package/v1/model/EipResource.js +126 -0
- package/v1/model/EipResource.js.map +1 -0
- package/v1/model/EipResponseData.d.ts +13 -0
- package/v1/model/EipResponseData.d.ts.map +1 -0
- package/v1/model/EipResponseData.js +25 -0
- package/v1/model/EipResponseData.js.map +1 -0
- package/v1/model/ErInstance.d.ts +22 -0
- package/v1/model/ErInstance.d.ts.map +1 -0
- package/v1/model/ErInstance.js +51 -0
- package/v1/model/ErInstance.js.map +1 -0
- package/v1/model/EwProtectResourceInfo.d.ts +28 -0
- package/v1/model/EwProtectResourceInfo.d.ts.map +1 -0
- package/v1/model/EwProtectResourceInfo.js +72 -0
- package/v1/model/EwProtectResourceInfo.js.map +1 -0
- package/v1/model/FirewallInstanceResource.d.ts +28 -0
- package/v1/model/FirewallInstanceResource.d.ts.map +1 -0
- package/v1/model/FirewallInstanceResource.js +69 -0
- package/v1/model/FirewallInstanceResource.js.map +1 -0
- package/v1/model/Flavor.d.ts +30 -0
- package/v1/model/Flavor.d.ts.map +1 -0
- package/v1/model/Flavor.js +58 -0
- package/v1/model/Flavor.js.map +1 -0
- package/v1/model/GetEastWestFirewallResponseBody.d.ts +42 -0
- package/v1/model/GetEastWestFirewallResponseBody.d.ts.map +1 -0
- package/v1/model/GetEastWestFirewallResponseBody.js +89 -0
- package/v1/model/GetEastWestFirewallResponseBody.js.map +1 -0
- package/v1/model/GetFirewallInstanceData.d.ts +13 -0
- package/v1/model/GetFirewallInstanceData.d.ts.map +1 -0
- package/v1/model/GetFirewallInstanceData.js +25 -0
- package/v1/model/GetFirewallInstanceData.js.map +1 -0
- package/v1/model/GetFirewallInstanceResponseRecord.d.ts +84 -0
- package/v1/model/GetFirewallInstanceResponseRecord.d.ts.map +1 -0
- package/v1/model/GetFirewallInstanceResponseRecord.js +155 -0
- package/v1/model/GetFirewallInstanceResponseRecord.js.map +1 -0
- package/v1/model/HttpQueryCfwAccessControllerLogsResponseDTOData.d.ts +11 -0
- package/v1/model/HttpQueryCfwAccessControllerLogsResponseDTOData.d.ts.map +1 -0
- package/v1/model/HttpQueryCfwAccessControllerLogsResponseDTOData.js +21 -0
- package/v1/model/HttpQueryCfwAccessControllerLogsResponseDTOData.js.map +1 -0
- package/v1/model/HttpQueryCfwAccessControllerLogsResponseDTODataRecords.d.ts +42 -0
- package/v1/model/HttpQueryCfwAccessControllerLogsResponseDTODataRecords.d.ts.map +1 -0
- package/v1/model/HttpQueryCfwAccessControllerLogsResponseDTODataRecords.js +101 -0
- package/v1/model/HttpQueryCfwAccessControllerLogsResponseDTODataRecords.js.map +1 -0
- package/v1/model/HttpQueryCfwAttackLogsResponseDTOData.d.ts +11 -0
- package/v1/model/HttpQueryCfwAttackLogsResponseDTOData.d.ts.map +1 -0
- package/v1/model/HttpQueryCfwAttackLogsResponseDTOData.js +21 -0
- package/v1/model/HttpQueryCfwAttackLogsResponseDTOData.js.map +1 -0
- package/v1/model/HttpQueryCfwAttackLogsResponseDTODataRecords.d.ts +74 -0
- package/v1/model/HttpQueryCfwAttackLogsResponseDTODataRecords.d.ts.map +1 -0
- package/v1/model/HttpQueryCfwAttackLogsResponseDTODataRecords.js +160 -0
- package/v1/model/HttpQueryCfwAttackLogsResponseDTODataRecords.js.map +1 -0
- package/v1/model/HttpQueryCfwFlowLogsResponseDTOData.d.ts +11 -0
- package/v1/model/HttpQueryCfwFlowLogsResponseDTOData.d.ts.map +1 -0
- package/v1/model/HttpQueryCfwFlowLogsResponseDTOData.js +21 -0
- package/v1/model/HttpQueryCfwFlowLogsResponseDTOData.js.map +1 -0
- package/v1/model/HttpQueryCfwFlowLogsResponseDTODataRecords.d.ts +50 -0
- package/v1/model/HttpQueryCfwFlowLogsResponseDTODataRecords.d.ts.map +1 -0
- package/v1/model/HttpQueryCfwFlowLogsResponseDTODataRecords.js +108 -0
- package/v1/model/HttpQueryCfwFlowLogsResponseDTODataRecords.js.map +1 -0
- package/v1/model/IdObject.d.ts +6 -0
- package/v1/model/IdObject.d.ts.map +1 -0
- package/v1/model/IdObject.js +13 -0
- package/v1/model/IdObject.js.map +1 -0
- package/v1/model/IpsProtectDTO.d.ts +10 -0
- package/v1/model/IpsProtectDTO.d.ts.map +1 -0
- package/v1/model/IpsProtectDTO.js +23 -0
- package/v1/model/IpsProtectDTO.js.map +1 -0
- package/v1/model/IpsProtectModeObject.d.ts +8 -0
- package/v1/model/IpsProtectModeObject.d.ts.map +1 -0
- package/v1/model/IpsProtectModeObject.js +17 -0
- package/v1/model/IpsProtectModeObject.js.map +1 -0
- package/v1/model/IpsSwitchDTO.d.ts +22 -0
- package/v1/model/IpsSwitchDTO.d.ts.map +1 -0
- package/v1/model/IpsSwitchDTO.js +45 -0
- package/v1/model/IpsSwitchDTO.js.map +1 -0
- package/v1/model/IpsSwitchResponseDTO.d.ts +14 -0
- package/v1/model/IpsSwitchResponseDTO.d.ts.map +1 -0
- package/v1/model/IpsSwitchResponseDTO.js +33 -0
- package/v1/model/IpsSwitchResponseDTO.js.map +1 -0
- package/v1/model/ListAccessControlLogsRequest.d.ts +73 -0
- package/v1/model/ListAccessControlLogsRequest.d.ts.map +1 -0
- package/v1/model/ListAccessControlLogsRequest.js +170 -0
- package/v1/model/ListAccessControlLogsRequest.js.map +1 -0
- package/v1/model/ListAccessControlLogsResponse.d.ts +8 -0
- package/v1/model/ListAccessControlLogsResponse.d.ts.map +1 -0
- package/v1/model/ListAccessControlLogsResponse.js +15 -0
- package/v1/model/ListAccessControlLogsResponse.js.map +1 -0
- package/v1/model/ListAddressItemsUsingGetRequest.d.ts +30 -0
- package/v1/model/ListAddressItemsUsingGetRequest.d.ts.map +1 -0
- package/v1/model/ListAddressItemsUsingGetRequest.js +75 -0
- package/v1/model/ListAddressItemsUsingGetRequest.js.map +1 -0
- package/v1/model/ListAddressItemsUsingGetResponse.d.ts +8 -0
- package/v1/model/ListAddressItemsUsingGetResponse.d.ts.map +1 -0
- package/v1/model/ListAddressItemsUsingGetResponse.js +15 -0
- package/v1/model/ListAddressItemsUsingGetResponse.js.map +1 -0
- package/v1/model/ListAddressSetDetailUsingGetRequest.d.ts +20 -0
- package/v1/model/ListAddressSetDetailUsingGetRequest.d.ts.map +1 -0
- package/v1/model/ListAddressSetDetailUsingGetRequest.js +51 -0
- package/v1/model/ListAddressSetDetailUsingGetRequest.js.map +1 -0
- package/v1/model/ListAddressSetDetailUsingGetResponse.d.ts +8 -0
- package/v1/model/ListAddressSetDetailUsingGetResponse.d.ts.map +1 -0
- package/v1/model/ListAddressSetDetailUsingGetResponse.js +15 -0
- package/v1/model/ListAddressSetDetailUsingGetResponse.js.map +1 -0
- package/v1/model/ListAddressSetListUsingGetRequest.d.ts +42 -0
- package/v1/model/ListAddressSetListUsingGetRequest.d.ts.map +1 -0
- package/v1/model/ListAddressSetListUsingGetRequest.js +94 -0
- package/v1/model/ListAddressSetListUsingGetRequest.js.map +1 -0
- package/v1/model/ListAddressSetListUsingGetResponse.d.ts +8 -0
- package/v1/model/ListAddressSetListUsingGetResponse.d.ts.map +1 -0
- package/v1/model/ListAddressSetListUsingGetResponse.js +15 -0
- package/v1/model/ListAddressSetListUsingGetResponse.js.map +1 -0
- package/v1/model/ListAttackLogsRequest.d.ts +98 -0
- package/v1/model/ListAttackLogsRequest.d.ts.map +1 -0
- package/v1/model/ListAttackLogsRequest.js +205 -0
- package/v1/model/ListAttackLogsRequest.js.map +1 -0
- package/v1/model/ListAttackLogsResponse.d.ts +8 -0
- package/v1/model/ListAttackLogsResponse.d.ts.map +1 -0
- package/v1/model/ListAttackLogsResponse.js +15 -0
- package/v1/model/ListAttackLogsResponse.js.map +1 -0
- package/v1/model/ListBlackWhiteListsUsingGetRequest.d.ts +53 -0
- package/v1/model/ListBlackWhiteListsUsingGetRequest.d.ts.map +1 -0
- package/v1/model/ListBlackWhiteListsUsingGetRequest.js +109 -0
- package/v1/model/ListBlackWhiteListsUsingGetRequest.js.map +1 -0
- package/v1/model/ListBlackWhiteListsUsingGetResponse.d.ts +8 -0
- package/v1/model/ListBlackWhiteListsUsingGetResponse.d.ts.map +1 -0
- package/v1/model/ListBlackWhiteListsUsingGetResponse.js +15 -0
- package/v1/model/ListBlackWhiteListsUsingGetResponse.js.map +1 -0
- package/v1/model/ListDnsServersRequest.d.ts +20 -0
- package/v1/model/ListDnsServersRequest.d.ts.map +1 -0
- package/v1/model/ListDnsServersRequest.js +48 -0
- package/v1/model/ListDnsServersRequest.js.map +1 -0
- package/v1/model/ListDnsServersResponse.d.ts +10 -0
- package/v1/model/ListDnsServersResponse.d.ts.map +1 -0
- package/v1/model/ListDnsServersResponse.js +19 -0
- package/v1/model/ListDnsServersResponse.js.map +1 -0
- package/v1/model/ListEastWestFirewallRequest.d.ts +20 -0
- package/v1/model/ListEastWestFirewallRequest.d.ts.map +1 -0
- package/v1/model/ListEastWestFirewallRequest.js +50 -0
- package/v1/model/ListEastWestFirewallRequest.js.map +1 -0
- package/v1/model/ListEastWestFirewallResponse.d.ts +8 -0
- package/v1/model/ListEastWestFirewallResponse.d.ts.map +1 -0
- package/v1/model/ListEastWestFirewallResponse.js +15 -0
- package/v1/model/ListEastWestFirewallResponse.js.map +1 -0
- package/v1/model/ListEipResourcesRequest.d.ts +65 -0
- package/v1/model/ListEipResourcesRequest.d.ts.map +1 -0
- package/v1/model/ListEipResourcesRequest.js +138 -0
- package/v1/model/ListEipResourcesRequest.js.map +1 -0
- package/v1/model/ListEipResourcesResponse.d.ts +8 -0
- package/v1/model/ListEipResourcesResponse.d.ts.map +1 -0
- package/v1/model/ListEipResourcesResponse.js +15 -0
- package/v1/model/ListEipResourcesResponse.js.map +1 -0
- package/v1/model/ListFirewallUsingGetRequest.d.ts +32 -0
- package/v1/model/ListFirewallUsingGetRequest.d.ts.map +1 -0
- package/v1/model/ListFirewallUsingGetRequest.js +70 -0
- package/v1/model/ListFirewallUsingGetRequest.js.map +1 -0
- package/v1/model/ListFirewallUsingGetResponse.d.ts +8 -0
- package/v1/model/ListFirewallUsingGetResponse.d.ts.map +1 -0
- package/v1/model/ListFirewallUsingGetResponse.js +15 -0
- package/v1/model/ListFirewallUsingGetResponse.js.map +1 -0
- package/v1/model/ListFlowLogsRequest.d.ts +81 -0
- package/v1/model/ListFlowLogsRequest.d.ts.map +1 -0
- package/v1/model/ListFlowLogsRequest.js +175 -0
- package/v1/model/ListFlowLogsRequest.js.map +1 -0
- package/v1/model/ListFlowLogsResponse.d.ts +8 -0
- package/v1/model/ListFlowLogsResponse.d.ts.map +1 -0
- package/v1/model/ListFlowLogsResponse.js +15 -0
- package/v1/model/ListFlowLogsResponse.js.map +1 -0
- package/v1/model/ListIpsProtectModeUsingPostRequest.d.ts +20 -0
- package/v1/model/ListIpsProtectModeUsingPostRequest.d.ts.map +1 -0
- package/v1/model/ListIpsProtectModeUsingPostRequest.js +51 -0
- package/v1/model/ListIpsProtectModeUsingPostRequest.js.map +1 -0
- package/v1/model/ListIpsProtectModeUsingPostResponse.d.ts +8 -0
- package/v1/model/ListIpsProtectModeUsingPostResponse.d.ts.map +1 -0
- package/v1/model/ListIpsProtectModeUsingPostResponse.js +15 -0
- package/v1/model/ListIpsProtectModeUsingPostResponse.js.map +1 -0
- package/v1/model/ListIpsSwitchStatusUsingGetRequest.d.ts +20 -0
- package/v1/model/ListIpsSwitchStatusUsingGetRequest.d.ts.map +1 -0
- package/v1/model/ListIpsSwitchStatusUsingGetRequest.js +51 -0
- package/v1/model/ListIpsSwitchStatusUsingGetRequest.js.map +1 -0
- package/v1/model/ListIpsSwitchStatusUsingGetResponse.d.ts +8 -0
- package/v1/model/ListIpsSwitchStatusUsingGetResponse.d.ts.map +1 -0
- package/v1/model/ListIpsSwitchStatusUsingGetResponse.js +15 -0
- package/v1/model/ListIpsSwitchStatusUsingGetResponse.js.map +1 -0
- package/v1/model/ListParseDomainDetailsRequest.d.ts +20 -0
- package/v1/model/ListParseDomainDetailsRequest.d.ts.map +1 -0
- package/v1/model/ListParseDomainDetailsRequest.js +51 -0
- package/v1/model/ListParseDomainDetailsRequest.js.map +1 -0
- package/v1/model/ListParseDomainDetailsResponse.d.ts +7 -0
- package/v1/model/ListParseDomainDetailsResponse.d.ts.map +1 -0
- package/v1/model/ListParseDomainDetailsResponse.js +15 -0
- package/v1/model/ListParseDomainDetailsResponse.js.map +1 -0
- package/v1/model/ListRuleAclUsingPutRequest.d.ts +23 -0
- package/v1/model/ListRuleAclUsingPutRequest.d.ts.map +1 -0
- package/v1/model/ListRuleAclUsingPutRequest.js +55 -0
- package/v1/model/ListRuleAclUsingPutRequest.js.map +1 -0
- package/v1/model/ListRuleAclUsingPutResponse.d.ts +8 -0
- package/v1/model/ListRuleAclUsingPutResponse.d.ts.map +1 -0
- package/v1/model/ListRuleAclUsingPutResponse.js +15 -0
- package/v1/model/ListRuleAclUsingPutResponse.js.map +1 -0
- package/v1/model/ListRuleAclsUsingGetRequest.d.ts +88 -0
- package/v1/model/ListRuleAclsUsingGetRequest.d.ts.map +1 -0
- package/v1/model/ListRuleAclsUsingGetRequest.js +154 -0
- package/v1/model/ListRuleAclsUsingGetRequest.js.map +1 -0
- package/v1/model/ListRuleAclsUsingGetResponse.d.ts +8 -0
- package/v1/model/ListRuleAclsUsingGetResponse.d.ts.map +1 -0
- package/v1/model/ListRuleAclsUsingGetResponse.js +15 -0
- package/v1/model/ListRuleAclsUsingGetResponse.js.map +1 -0
- package/v1/model/ListRuleHitCountDto.d.ts +8 -0
- package/v1/model/ListRuleHitCountDto.d.ts.map +1 -0
- package/v1/model/ListRuleHitCountDto.js +20 -0
- package/v1/model/ListRuleHitCountDto.js.map +1 -0
- package/v1/model/ListRuleHitCountRequest.d.ts +19 -0
- package/v1/model/ListRuleHitCountRequest.d.ts.map +1 -0
- package/v1/model/ListRuleHitCountRequest.js +44 -0
- package/v1/model/ListRuleHitCountRequest.js.map +1 -0
- package/v1/model/ListRuleHitCountResponse.d.ts +8 -0
- package/v1/model/ListRuleHitCountResponse.d.ts.map +1 -0
- package/v1/model/ListRuleHitCountResponse.js +15 -0
- package/v1/model/ListRuleHitCountResponse.js.map +1 -0
- package/v1/model/ListServiceItemsDetailsRequest.d.ts +28 -0
- package/v1/model/ListServiceItemsDetailsRequest.d.ts.map +1 -0
- package/v1/model/ListServiceItemsDetailsRequest.js +71 -0
- package/v1/model/ListServiceItemsDetailsRequest.js.map +1 -0
- package/v1/model/ListServiceItemsDetailsResponse.d.ts +8 -0
- package/v1/model/ListServiceItemsDetailsResponse.d.ts.map +1 -0
- package/v1/model/ListServiceItemsDetailsResponse.js +15 -0
- package/v1/model/ListServiceItemsDetailsResponse.js.map +1 -0
- package/v1/model/ListServiceSetDetailsRequest.d.ts +20 -0
- package/v1/model/ListServiceSetDetailsRequest.d.ts.map +1 -0
- package/v1/model/ListServiceSetDetailsRequest.js +51 -0
- package/v1/model/ListServiceSetDetailsRequest.js.map +1 -0
- package/v1/model/ListServiceSetDetailsResponse.d.ts +8 -0
- package/v1/model/ListServiceSetDetailsResponse.d.ts.map +1 -0
- package/v1/model/ListServiceSetDetailsResponse.js +15 -0
- package/v1/model/ListServiceSetDetailsResponse.js.map +1 -0
- package/v1/model/ListServiceSetRequest.d.ts +28 -0
- package/v1/model/ListServiceSetRequest.d.ts.map +1 -0
- package/v1/model/ListServiceSetRequest.js +71 -0
- package/v1/model/ListServiceSetRequest.js.map +1 -0
- package/v1/model/ListServiceSetResponse.d.ts +8 -0
- package/v1/model/ListServiceSetResponse.d.ts.map +1 -0
- package/v1/model/ListServiceSetResponse.js +15 -0
- package/v1/model/ListServiceSetResponse.js.map +1 -0
- package/v1/model/ListVpcProtectsRequest.d.ts +20 -0
- package/v1/model/ListVpcProtectsRequest.d.ts.map +1 -0
- package/v1/model/ListVpcProtectsRequest.js +51 -0
- package/v1/model/ListVpcProtectsRequest.js.map +1 -0
- package/v1/model/ListVpcProtectsResponse.d.ts +12 -0
- package/v1/model/ListVpcProtectsResponse.d.ts.map +1 -0
- package/v1/model/ListVpcProtectsResponse.js +25 -0
- package/v1/model/ListVpcProtectsResponse.js.map +1 -0
- package/v1/model/OrderRuleAclDto.d.ts +10 -0
- package/v1/model/OrderRuleAclDto.d.ts.map +1 -0
- package/v1/model/OrderRuleAclDto.js +23 -0
- package/v1/model/OrderRuleAclDto.js.map +1 -0
- package/v1/model/Packet.d.ts +14 -0
- package/v1/model/Packet.d.ts.map +1 -0
- package/v1/model/Packet.js +33 -0
- package/v1/model/Packet.js.map +1 -0
- package/v1/model/PacketMessage.d.ts +14 -0
- package/v1/model/PacketMessage.d.ts.map +1 -0
- package/v1/model/PacketMessage.js +33 -0
- package/v1/model/PacketMessage.js.map +1 -0
- package/v1/model/ProtectObjectVO.d.ts +22 -0
- package/v1/model/ProtectObjectVO.d.ts.map +1 -0
- package/v1/model/ProtectObjectVO.js +42 -0
- package/v1/model/ProtectObjectVO.js.map +1 -0
- package/v1/model/RuleAclListResponseDTOData.d.ts +17 -0
- package/v1/model/RuleAclListResponseDTOData.d.ts.map +1 -0
- package/v1/model/RuleAclListResponseDTOData.js +35 -0
- package/v1/model/RuleAclListResponseDTOData.js.map +1 -0
- package/v1/model/RuleAclListResponseDTODataRecords.d.ts +74 -0
- package/v1/model/RuleAclListResponseDTODataRecords.d.ts.map +1 -0
- package/v1/model/RuleAclListResponseDTODataRecords.js +144 -0
- package/v1/model/RuleAclListResponseDTODataRecords.js.map +1 -0
- package/v1/model/RuleAddressDto.d.ts +24 -0
- package/v1/model/RuleAddressDto.d.ts.map +1 -0
- package/v1/model/RuleAddressDto.js +58 -0
- package/v1/model/RuleAddressDto.js.map +1 -0
- package/v1/model/RuleHitCountObject.d.ts +12 -0
- package/v1/model/RuleHitCountObject.d.ts.map +1 -0
- package/v1/model/RuleHitCountObject.js +29 -0
- package/v1/model/RuleHitCountObject.js.map +1 -0
- package/v1/model/RuleHitCountRecords.d.ts +13 -0
- package/v1/model/RuleHitCountRecords.d.ts.map +1 -0
- package/v1/model/RuleHitCountRecords.js +25 -0
- package/v1/model/RuleHitCountRecords.js.map +1 -0
- package/v1/model/RuleId.d.ts +6 -0
- package/v1/model/RuleId.d.ts.map +1 -0
- package/v1/model/RuleId.js +13 -0
- package/v1/model/RuleId.js.map +1 -0
- package/v1/model/RuleIdList.d.ts +7 -0
- package/v1/model/RuleIdList.d.ts.map +1 -0
- package/v1/model/RuleIdList.js +13 -0
- package/v1/model/RuleIdList.js.map +1 -0
- package/v1/model/RuleServiceDto.d.ts +24 -0
- package/v1/model/RuleServiceDto.d.ts.map +1 -0
- package/v1/model/RuleServiceDto.js +58 -0
- package/v1/model/RuleServiceDto.js.map +1 -0
- package/v1/model/ServiceItemIds.d.ts +7 -0
- package/v1/model/ServiceItemIds.d.ts.map +1 -0
- package/v1/model/ServiceItemIds.js +13 -0
- package/v1/model/ServiceItemIds.js.map +1 -0
- package/v1/model/ServiceItemListResponseDtoData.d.ts +17 -0
- package/v1/model/ServiceItemListResponseDtoData.d.ts.map +1 -0
- package/v1/model/ServiceItemListResponseDtoData.js +35 -0
- package/v1/model/ServiceItemListResponseDtoData.js.map +1 -0
- package/v1/model/ServiceItemListResponseDtoDataRecords.d.ts +22 -0
- package/v1/model/ServiceItemListResponseDtoDataRecords.d.ts.map +1 -0
- package/v1/model/ServiceItemListResponseDtoDataRecords.js +51 -0
- package/v1/model/ServiceItemListResponseDtoDataRecords.js.map +1 -0
- package/v1/model/ServiceSet.d.ts +18 -0
- package/v1/model/ServiceSet.d.ts.map +1 -0
- package/v1/model/ServiceSet.js +41 -0
- package/v1/model/ServiceSet.js.map +1 -0
- package/v1/model/ServiceSetDetailResponseDto.d.ts +10 -0
- package/v1/model/ServiceSetDetailResponseDto.d.ts.map +1 -0
- package/v1/model/ServiceSetDetailResponseDto.js +22 -0
- package/v1/model/ServiceSetDetailResponseDto.js.map +1 -0
- package/v1/model/ServiceSetRecords.d.ts +13 -0
- package/v1/model/ServiceSetRecords.d.ts.map +1 -0
- package/v1/model/ServiceSetRecords.js +25 -0
- package/v1/model/ServiceSetRecords.js.map +1 -0
- package/v1/model/SubnetInfo.d.ts +24 -0
- package/v1/model/SubnetInfo.d.ts.map +1 -0
- package/v1/model/SubnetInfo.js +57 -0
- package/v1/model/SubnetInfo.js.map +1 -0
- package/v1/model/SuccessRspData.d.ts +6 -0
- package/v1/model/SuccessRspData.d.ts.map +1 -0
- package/v1/model/SuccessRspData.js +13 -0
- package/v1/model/SuccessRspData.js.map +1 -0
- package/v1/model/Tag.d.ts +8 -0
- package/v1/model/Tag.d.ts.map +1 -0
- package/v1/model/Tag.js +17 -0
- package/v1/model/Tag.js.map +1 -0
- package/v1/model/UpdateAddressSetDto.d.ts +21 -0
- package/v1/model/UpdateAddressSetDto.d.ts.map +1 -0
- package/v1/model/UpdateAddressSetDto.js +37 -0
- package/v1/model/UpdateAddressSetDto.js.map +1 -0
- package/v1/model/UpdateAddressSetInfoUsingPutRequest.d.ts +23 -0
- package/v1/model/UpdateAddressSetInfoUsingPutRequest.d.ts.map +1 -0
- package/v1/model/UpdateAddressSetInfoUsingPutRequest.js +55 -0
- package/v1/model/UpdateAddressSetInfoUsingPutRequest.js.map +1 -0
- package/v1/model/UpdateAddressSetInfoUsingPutResponse.d.ts +8 -0
- package/v1/model/UpdateAddressSetInfoUsingPutResponse.d.ts.map +1 -0
- package/v1/model/UpdateAddressSetInfoUsingPutResponse.js +15 -0
- package/v1/model/UpdateAddressSetInfoUsingPutResponse.js.map +1 -0
- package/v1/model/UpdateBlackWhiteListDto.d.ts +32 -0
- package/v1/model/UpdateBlackWhiteListDto.d.ts.map +1 -0
- package/v1/model/UpdateBlackWhiteListDto.js +64 -0
- package/v1/model/UpdateBlackWhiteListDto.js.map +1 -0
- package/v1/model/UpdateBlackWhiteListUsingPutRequest.d.ts +23 -0
- package/v1/model/UpdateBlackWhiteListUsingPutRequest.d.ts.map +1 -0
- package/v1/model/UpdateBlackWhiteListUsingPutRequest.js +55 -0
- package/v1/model/UpdateBlackWhiteListUsingPutRequest.js.map +1 -0
- package/v1/model/UpdateBlackWhiteListUsingPutResponse.d.ts +8 -0
- package/v1/model/UpdateBlackWhiteListUsingPutResponse.d.ts.map +1 -0
- package/v1/model/UpdateBlackWhiteListUsingPutResponse.js +15 -0
- package/v1/model/UpdateBlackWhiteListUsingPutResponse.js.map +1 -0
- package/v1/model/UpdateDnsServersRequest.d.ts +19 -0
- package/v1/model/UpdateDnsServersRequest.d.ts.map +1 -0
- package/v1/model/UpdateDnsServersRequest.js +44 -0
- package/v1/model/UpdateDnsServersRequest.js.map +1 -0
- package/v1/model/UpdateDnsServersRequestBody.d.ts +9 -0
- package/v1/model/UpdateDnsServersRequestBody.d.ts.map +1 -0
- package/v1/model/UpdateDnsServersRequestBody.js +19 -0
- package/v1/model/UpdateDnsServersRequestBody.js.map +1 -0
- package/v1/model/UpdateDnsServersRequestBodyDnsServer.d.ts +16 -0
- package/v1/model/UpdateDnsServersRequestBodyDnsServer.d.ts.map +1 -0
- package/v1/model/UpdateDnsServersRequestBodyDnsServer.js +39 -0
- package/v1/model/UpdateDnsServersRequestBodyDnsServer.js.map +1 -0
- package/v1/model/UpdateDnsServersResponse.d.ts +7 -0
- package/v1/model/UpdateDnsServersResponse.d.ts.map +1 -0
- package/v1/model/UpdateDnsServersResponse.js +15 -0
- package/v1/model/UpdateDnsServersResponse.js.map +1 -0
- package/v1/model/UpdateRuleAclDto.d.ts +94 -0
- package/v1/model/UpdateRuleAclDto.d.ts.map +1 -0
- package/v1/model/UpdateRuleAclDto.js +161 -0
- package/v1/model/UpdateRuleAclDto.js.map +1 -0
- package/v1/model/UpdateRuleAclUsingPutRequest.d.ts +23 -0
- package/v1/model/UpdateRuleAclUsingPutRequest.d.ts.map +1 -0
- package/v1/model/UpdateRuleAclUsingPutRequest.js +55 -0
- package/v1/model/UpdateRuleAclUsingPutRequest.js.map +1 -0
- package/v1/model/UpdateRuleAclUsingPutResponse.d.ts +8 -0
- package/v1/model/UpdateRuleAclUsingPutResponse.d.ts.map +1 -0
- package/v1/model/UpdateRuleAclUsingPutResponse.js +15 -0
- package/v1/model/UpdateRuleAclUsingPutResponse.js.map +1 -0
- package/v1/model/UpdateServiceSetUsingPUTRequestBody.d.ts +8 -0
- package/v1/model/UpdateServiceSetUsingPUTRequestBody.d.ts.map +1 -0
- package/v1/model/UpdateServiceSetUsingPUTRequestBody.js +17 -0
- package/v1/model/UpdateServiceSetUsingPUTRequestBody.js.map +1 -0
- package/v1/model/UpdateServiceSetUsingPutRequest.d.ts +23 -0
- package/v1/model/UpdateServiceSetUsingPutRequest.d.ts.map +1 -0
- package/v1/model/UpdateServiceSetUsingPutRequest.js +55 -0
- package/v1/model/UpdateServiceSetUsingPutRequest.js.map +1 -0
- package/v1/model/UpdateServiceSetUsingPutResponse.d.ts +8 -0
- package/v1/model/UpdateServiceSetUsingPutResponse.d.ts.map +1 -0
- package/v1/model/UpdateServiceSetUsingPutResponse.js +15 -0
- package/v1/model/UpdateServiceSetUsingPutResponse.js.map +1 -0
- package/v1/model/VPCProtectsVo.d.ts +27 -0
- package/v1/model/VPCProtectsVo.d.ts.map +1 -0
- package/v1/model/VPCProtectsVo.js +63 -0
- package/v1/model/VPCProtectsVo.js.map +1 -0
- package/v1/model/VpcAttachmentDetail.d.ts +43 -0
- package/v1/model/VpcAttachmentDetail.d.ts.map +1 -0
- package/v1/model/VpcAttachmentDetail.js +99 -0
- package/v1/model/VpcAttachmentDetail.js.map +1 -0
- package/v1/model/VpcDetail.d.ts +12 -0
- package/v1/model/VpcDetail.d.ts.map +1 -0
- package/v1/model/VpcDetail.js +25 -0
- package/v1/model/VpcDetail.js.map +1 -0
- package/v1/{public-api.ts → public-api.d.ts} +1 -1
- package/v1/public-api.d.ts.map +1 -0
- package/v1/public-api.js +182 -0
- package/v1/public-api.js.map +1 -0
- package/huaweicloud-sdk-cfw.ts +0 -4
- package/v1/CfwRegion.ts +0 -54
- package/v1/model/AddAddressItemsInfoDto.ts +0 -29
- package/v1/model/AddAddressItemsInfoDtoAddressItems.ts +0 -33
- package/v1/model/AddAddressItemsUsingPostRequest.ts +0 -46
- package/v1/model/AddAddressItemsUsingPostResponse.ts +0 -14
- package/v1/model/AddAddressSetDto.ts +0 -49
- package/v1/model/AddAddressSetInfoUsingPostRequest.ts +0 -46
- package/v1/model/AddAddressSetInfoUsingPostResponse.ts +0 -14
- package/v1/model/AddBlackWhiteListDto.ts +0 -66
- package/v1/model/AddBlackWhiteListUsingPostRequest.ts +0 -46
- package/v1/model/AddBlackWhiteListUsingPostResponse.ts +0 -14
- package/v1/model/AddRuleAclDto.ts +0 -41
- package/v1/model/AddRuleAclDtoRules.ts +0 -169
- package/v1/model/AddRuleAclUsingPostRequest.ts +0 -46
- package/v1/model/AddRuleAclUsingPostResponse.ts +0 -14
- package/v1/model/AddServiceItemsUsingPOSTRequestBody.ts +0 -31
- package/v1/model/AddServiceItemsUsingPOSTRequestBodyServiceItems.ts +0 -57
- package/v1/model/AddServiceItemsUsingPostRequest.ts +0 -46
- package/v1/model/AddServiceItemsUsingPostResponse.ts +0 -14
- package/v1/model/AddServiceSetUsingPOSTRequestBody.ts +0 -29
- package/v1/model/AddServiceSetUsingPostRequest.ts +0 -46
- package/v1/model/AddServiceSetUsingPostResponse.ts +0 -14
- package/v1/model/AddressItemListResponseDTOData.ts +0 -38
- package/v1/model/AddressItemListResponseDTODataRecords.ts +0 -43
- package/v1/model/AddressItems.ts +0 -12
- package/v1/model/AddressSetDetailResponseDTOData.ts +0 -41
- package/v1/model/AddressSetListResponseDTOData.ts +0 -27
- package/v1/model/AddressSetListResponseDTODataRecords.ts +0 -49
- package/v1/model/BlackWhiteListResponseData.ts +0 -38
- package/v1/model/BlackWhiteListResponseDataRecords.ts +0 -48
- package/v1/model/ChangeEwProtectStatusRequest.ts +0 -46
- package/v1/model/ChangeEwProtectStatusResponse.ts +0 -25
- package/v1/model/ChangeIpsProtectModeUsingPostRequest.ts +0 -46
- package/v1/model/ChangeIpsProtectModeUsingPostResponse.ts +0 -14
- package/v1/model/ChangeIpsSwitchUsingPostRequest.ts +0 -46
- package/v1/model/ChangeIpsSwitchUsingPostResponse.ts +0 -25
- package/v1/model/ChangeProtectEipRequest.ts +0 -46
- package/v1/model/ChangeProtectEipResponse.ts +0 -14
- package/v1/model/ChangeProtectStatusRequestBody.ts +0 -33
- package/v1/model/ClearAccessLogRuleHitCountsDto.ts +0 -18
- package/v1/model/CommonResponseDTOData.ts +0 -11
- package/v1/model/CountEipsRequest.ts +0 -52
- package/v1/model/CountEipsResponse.ts +0 -14
- package/v1/model/DeleteAclRuleCountRequest.ts +0 -46
- package/v1/model/DeleteAclRuleCountResponse.ts +0 -13
- package/v1/model/DeleteAddressItemUsingDeleteRequest.ts +0 -52
- package/v1/model/DeleteAddressItemUsingDeleteResponse.ts +0 -14
- package/v1/model/DeleteAddressSetInfoUsingDeleteRequest.ts +0 -52
- package/v1/model/DeleteAddressSetInfoUsingDeleteResponse.ts +0 -14
- package/v1/model/DeleteBlackWhiteListUsingDeleteRequest.ts +0 -52
- package/v1/model/DeleteBlackWhiteListUsingDeleteResponse.ts +0 -14
- package/v1/model/DeleteRuleAclUsingDeleteRequest.ts +0 -52
- package/v1/model/DeleteRuleAclUsingDeleteResponse.ts +0 -14
- package/v1/model/DeleteServiceItemUsingDeleteRequest.ts +0 -52
- package/v1/model/DeleteServiceItemUsingDeleteResponse.ts +0 -14
- package/v1/model/DeleteServiceSetUsingDeleteRequest.ts +0 -52
- package/v1/model/DeleteServiceSetUsingDeleteResponse.ts +0 -14
- package/v1/model/DnsServersResponseDTO.ts +0 -44
- package/v1/model/EipCountRespData.ts +0 -39
- package/v1/model/EipOperateProtectReq.ts +0 -37
- package/v1/model/EipOperateProtectReqIpInfos.ts +0 -33
- package/v1/model/EipResource.ts +0 -135
- package/v1/model/EipResponseData.ts +0 -27
- package/v1/model/ErInstance.ts +0 -54
- package/v1/model/EwProtectResourceInfo.ts +0 -75
- package/v1/model/FirewallInstanceResource.ts +0 -72
- package/v1/model/Flavor.ts +0 -60
- package/v1/model/GetEastWestFirewallResponseBody.ts +0 -101
- package/v1/model/GetFirewallInstanceData.ts +0 -27
- package/v1/model/GetFirewallInstanceResponseRecord.ts +0 -170
- package/v1/model/HttpQueryCfwAccessControllerLogsResponseDTOData.ts +0 -22
- package/v1/model/HttpQueryCfwAccessControllerLogsResponseDTODataRecords.ts +0 -109
- package/v1/model/HttpQueryCfwAttackLogsResponseDTOData.ts +0 -22
- package/v1/model/HttpQueryCfwAttackLogsResponseDTODataRecords.ts +0 -178
- package/v1/model/HttpQueryCfwFlowLogsResponseDTOData.ts +0 -22
- package/v1/model/HttpQueryCfwFlowLogsResponseDTODataRecords.ts +0 -117
- package/v1/model/IdObject.ts +0 -11
- package/v1/model/IpsProtectDTO.ts +0 -22
- package/v1/model/IpsProtectModeObject.ts +0 -16
- package/v1/model/IpsSwitchDTO.ts +0 -45
- package/v1/model/IpsSwitchResponseDTO.ts +0 -33
- package/v1/model/ListAccessControlLogsRequest.ts +0 -184
- package/v1/model/ListAccessControlLogsResponse.ts +0 -14
- package/v1/model/ListAddressItemsUsingGetRequest.ts +0 -80
- package/v1/model/ListAddressItemsUsingGetResponse.ts +0 -14
- package/v1/model/ListAddressSetDetailUsingGetRequest.ts +0 -52
- package/v1/model/ListAddressSetDetailUsingGetResponse.ts +0 -14
- package/v1/model/ListAddressSetListUsingGetRequest.ts +0 -100
- package/v1/model/ListAddressSetListUsingGetResponse.ts +0 -14
- package/v1/model/ListAttackLogsRequest.ts +0 -221
- package/v1/model/ListAttackLogsResponse.ts +0 -14
- package/v1/model/ListBlackWhiteListsUsingGetRequest.ts +0 -115
- package/v1/model/ListBlackWhiteListsUsingGetResponse.ts +0 -14
- package/v1/model/ListDnsServersRequest.ts +0 -50
- package/v1/model/ListDnsServersResponse.ts +0 -19
- package/v1/model/ListEastWestFirewallRequest.ts +0 -52
- package/v1/model/ListEastWestFirewallResponse.ts +0 -14
- package/v1/model/ListEipResourcesRequest.ts +0 -147
- package/v1/model/ListEipResourcesResponse.ts +0 -14
- package/v1/model/ListFirewallUsingGetRequest.ts +0 -73
- package/v1/model/ListFirewallUsingGetResponse.ts +0 -14
- package/v1/model/ListFlowLogsRequest.ts +0 -188
- package/v1/model/ListFlowLogsResponse.ts +0 -14
- package/v1/model/ListIpsProtectModeUsingPostRequest.ts +0 -52
- package/v1/model/ListIpsProtectModeUsingPostResponse.ts +0 -14
- package/v1/model/ListIpsSwitchStatusUsingGetRequest.ts +0 -52
- package/v1/model/ListIpsSwitchStatusUsingGetResponse.ts +0 -14
- package/v1/model/ListParseDomainDetailsRequest.ts +0 -52
- package/v1/model/ListParseDomainDetailsResponse.ts +0 -13
- package/v1/model/ListRuleAclUsingPutRequest.ts +0 -58
- package/v1/model/ListRuleAclUsingPutResponse.ts +0 -14
- package/v1/model/ListRuleAclsUsingGetRequest.ts +0 -161
- package/v1/model/ListRuleAclsUsingGetResponse.ts +0 -14
- package/v1/model/ListRuleHitCountDto.ts +0 -18
- package/v1/model/ListRuleHitCountRequest.ts +0 -46
- package/v1/model/ListRuleHitCountResponse.ts +0 -14
- package/v1/model/ListServiceItemsDetailsRequest.ts +0 -75
- package/v1/model/ListServiceItemsDetailsResponse.ts +0 -14
- package/v1/model/ListServiceSetDetailsRequest.ts +0 -52
- package/v1/model/ListServiceSetDetailsResponse.ts +0 -14
- package/v1/model/ListServiceSetRequest.ts +0 -75
- package/v1/model/ListServiceSetResponse.ts +0 -14
- package/v1/model/ListVpcProtectsRequest.ts +0 -52
- package/v1/model/ListVpcProtectsResponse.ts +0 -25
- package/v1/model/OrderRuleAclDto.ts +0 -22
- package/v1/model/Packet.ts +0 -33
- package/v1/model/PacketMessage.ts +0 -33
- package/v1/model/ProtectObjectVO.ts +0 -42
- package/v1/model/RuleAclListResponseDTOData.ts +0 -38
- package/v1/model/RuleAclListResponseDTODataRecords.ts +0 -160
- package/v1/model/RuleAddressDto.ts +0 -61
- package/v1/model/RuleHitCountObject.ts +0 -28
- package/v1/model/RuleHitCountRecords.ts +0 -27
- package/v1/model/RuleId.ts +0 -11
- package/v1/model/RuleIdList.ts +0 -12
- package/v1/model/RuleServiceDto.ts +0 -61
- package/v1/model/ServiceItemIds.ts +0 -12
- package/v1/model/ServiceItemListResponseDtoData.ts +0 -38
- package/v1/model/ServiceItemListResponseDtoDataRecords.ts +0 -54
- package/v1/model/ServiceSet.ts +0 -43
- package/v1/model/ServiceSetDetailResponseDto.ts +0 -22
- package/v1/model/ServiceSetRecords.ts +0 -27
- package/v1/model/SubnetInfo.ts +0 -61
- package/v1/model/SuccessRspData.ts +0 -11
- package/v1/model/Tag.ts +0 -16
- package/v1/model/UpdateAddressSetDto.ts +0 -37
- package/v1/model/UpdateAddressSetInfoUsingPutRequest.ts +0 -58
- package/v1/model/UpdateAddressSetInfoUsingPutResponse.ts +0 -14
- package/v1/model/UpdateBlackWhiteListDto.ts +0 -68
- package/v1/model/UpdateBlackWhiteListUsingPutRequest.ts +0 -58
- package/v1/model/UpdateBlackWhiteListUsingPutResponse.ts +0 -14
- package/v1/model/UpdateDnsServersRequest.ts +0 -46
- package/v1/model/UpdateDnsServersRequestBody.ts +0 -18
- package/v1/model/UpdateDnsServersRequestBodyDnsServer.ts +0 -39
- package/v1/model/UpdateDnsServersResponse.ts +0 -13
- package/v1/model/UpdateRuleAclDto.ts +0 -173
- package/v1/model/UpdateRuleAclUsingPutRequest.ts +0 -58
- package/v1/model/UpdateRuleAclUsingPutResponse.ts +0 -14
- package/v1/model/UpdateServiceSetUsingPUTRequestBody.ts +0 -16
- package/v1/model/UpdateServiceSetUsingPutRequest.ts +0 -58
- package/v1/model/UpdateServiceSetUsingPutResponse.ts +0 -14
- package/v1/model/VPCProtectsVo.ts +0 -67
- package/v1/model/VpcAttachmentDetail.ts +0 -109
- package/v1/model/VpcDetail.ts +0 -26
@@ -1,189 +1,64 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
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
|
-
import { DeleteAddressSetInfoUsingDeleteResponse } from './model/DeleteAddressSetInfoUsingDeleteResponse';
|
53
|
-
import { DeleteBlackWhiteListUsingDeleteRequest } from './model/DeleteBlackWhiteListUsingDeleteRequest';
|
54
|
-
import { DeleteBlackWhiteListUsingDeleteResponse } from './model/DeleteBlackWhiteListUsingDeleteResponse';
|
55
|
-
import { DeleteRuleAclUsingDeleteRequest } from './model/DeleteRuleAclUsingDeleteRequest';
|
56
|
-
import { DeleteRuleAclUsingDeleteResponse } from './model/DeleteRuleAclUsingDeleteResponse';
|
57
|
-
import { DeleteServiceItemUsingDeleteRequest } from './model/DeleteServiceItemUsingDeleteRequest';
|
58
|
-
import { DeleteServiceItemUsingDeleteResponse } from './model/DeleteServiceItemUsingDeleteResponse';
|
59
|
-
import { DeleteServiceSetUsingDeleteRequest } from './model/DeleteServiceSetUsingDeleteRequest';
|
60
|
-
import { DeleteServiceSetUsingDeleteResponse } from './model/DeleteServiceSetUsingDeleteResponse';
|
61
|
-
import { DnsServersResponseDTO } from './model/DnsServersResponseDTO';
|
62
|
-
import { EipCountRespData } from './model/EipCountRespData';
|
63
|
-
import { EipOperateProtectReq } from './model/EipOperateProtectReq';
|
64
|
-
import { EipOperateProtectReqIpInfos } from './model/EipOperateProtectReqIpInfos';
|
65
|
-
import { EipResource } from './model/EipResource';
|
66
|
-
import { EipResponseData } from './model/EipResponseData';
|
67
|
-
import { ErInstance } from './model/ErInstance';
|
68
|
-
import { EwProtectResourceInfo } from './model/EwProtectResourceInfo';
|
69
|
-
import { FirewallInstanceResource } from './model/FirewallInstanceResource';
|
70
|
-
import { Flavor } from './model/Flavor';
|
71
|
-
import { GetEastWestFirewallResponseBody } from './model/GetEastWestFirewallResponseBody';
|
72
|
-
import { GetFirewallInstanceData } from './model/GetFirewallInstanceData';
|
73
|
-
import { GetFirewallInstanceResponseRecord } from './model/GetFirewallInstanceResponseRecord';
|
74
|
-
import { HttpQueryCfwAccessControllerLogsResponseDTOData } from './model/HttpQueryCfwAccessControllerLogsResponseDTOData';
|
75
|
-
import { HttpQueryCfwAccessControllerLogsResponseDTODataRecords } from './model/HttpQueryCfwAccessControllerLogsResponseDTODataRecords';
|
76
|
-
import { HttpQueryCfwAttackLogsResponseDTOData } from './model/HttpQueryCfwAttackLogsResponseDTOData';
|
77
|
-
import { HttpQueryCfwAttackLogsResponseDTODataRecords } from './model/HttpQueryCfwAttackLogsResponseDTODataRecords';
|
78
|
-
import { HttpQueryCfwFlowLogsResponseDTOData } from './model/HttpQueryCfwFlowLogsResponseDTOData';
|
79
|
-
import { HttpQueryCfwFlowLogsResponseDTODataRecords } from './model/HttpQueryCfwFlowLogsResponseDTODataRecords';
|
80
|
-
import { IdObject } from './model/IdObject';
|
81
|
-
import { IpsProtectDTO } from './model/IpsProtectDTO';
|
82
|
-
import { IpsProtectModeObject } from './model/IpsProtectModeObject';
|
83
|
-
import { IpsSwitchDTO } from './model/IpsSwitchDTO';
|
84
|
-
import { IpsSwitchResponseDTO } from './model/IpsSwitchResponseDTO';
|
85
|
-
import { ListAccessControlLogsRequest } from './model/ListAccessControlLogsRequest';
|
86
|
-
import { ListAccessControlLogsResponse } from './model/ListAccessControlLogsResponse';
|
87
|
-
import { ListAddressItemsUsingGetRequest } from './model/ListAddressItemsUsingGetRequest';
|
88
|
-
import { ListAddressItemsUsingGetResponse } from './model/ListAddressItemsUsingGetResponse';
|
89
|
-
import { ListAddressSetDetailUsingGetRequest } from './model/ListAddressSetDetailUsingGetRequest';
|
90
|
-
import { ListAddressSetDetailUsingGetResponse } from './model/ListAddressSetDetailUsingGetResponse';
|
91
|
-
import { ListAddressSetListUsingGetRequest } from './model/ListAddressSetListUsingGetRequest';
|
92
|
-
import { ListAddressSetListUsingGetResponse } from './model/ListAddressSetListUsingGetResponse';
|
93
|
-
import { ListAttackLogsRequest } from './model/ListAttackLogsRequest';
|
94
|
-
import { ListAttackLogsResponse } from './model/ListAttackLogsResponse';
|
95
|
-
import { ListBlackWhiteListsUsingGetRequest } from './model/ListBlackWhiteListsUsingGetRequest';
|
96
|
-
import { ListBlackWhiteListsUsingGetResponse } from './model/ListBlackWhiteListsUsingGetResponse';
|
97
|
-
import { ListDnsServersRequest } from './model/ListDnsServersRequest';
|
98
|
-
import { ListDnsServersResponse } from './model/ListDnsServersResponse';
|
99
|
-
import { ListEastWestFirewallRequest } from './model/ListEastWestFirewallRequest';
|
100
|
-
import { ListEastWestFirewallResponse } from './model/ListEastWestFirewallResponse';
|
101
|
-
import { ListEipResourcesRequest } from './model/ListEipResourcesRequest';
|
102
|
-
import { ListEipResourcesResponse } from './model/ListEipResourcesResponse';
|
103
|
-
import { ListFirewallUsingGetRequest } from './model/ListFirewallUsingGetRequest';
|
104
|
-
import { ListFirewallUsingGetResponse } from './model/ListFirewallUsingGetResponse';
|
105
|
-
import { ListFlowLogsRequest } from './model/ListFlowLogsRequest';
|
106
|
-
import { ListFlowLogsResponse } from './model/ListFlowLogsResponse';
|
107
|
-
import { ListIpsProtectModeUsingPostRequest } from './model/ListIpsProtectModeUsingPostRequest';
|
108
|
-
import { ListIpsProtectModeUsingPostResponse } from './model/ListIpsProtectModeUsingPostResponse';
|
109
|
-
import { ListIpsSwitchStatusUsingGetRequest } from './model/ListIpsSwitchStatusUsingGetRequest';
|
110
|
-
import { ListIpsSwitchStatusUsingGetResponse } from './model/ListIpsSwitchStatusUsingGetResponse';
|
111
|
-
import { ListParseDomainDetailsRequest } from './model/ListParseDomainDetailsRequest';
|
112
|
-
import { ListParseDomainDetailsResponse } from './model/ListParseDomainDetailsResponse';
|
113
|
-
import { ListRuleAclUsingPutRequest } from './model/ListRuleAclUsingPutRequest';
|
114
|
-
import { ListRuleAclUsingPutResponse } from './model/ListRuleAclUsingPutResponse';
|
115
|
-
import { ListRuleAclsUsingGetRequest } from './model/ListRuleAclsUsingGetRequest';
|
116
|
-
import { ListRuleAclsUsingGetResponse } from './model/ListRuleAclsUsingGetResponse';
|
117
|
-
import { ListRuleHitCountDto } from './model/ListRuleHitCountDto';
|
118
|
-
import { ListRuleHitCountRequest } from './model/ListRuleHitCountRequest';
|
119
|
-
import { ListRuleHitCountResponse } from './model/ListRuleHitCountResponse';
|
120
|
-
import { ListServiceItemsDetailsRequest } from './model/ListServiceItemsDetailsRequest';
|
121
|
-
import { ListServiceItemsDetailsResponse } from './model/ListServiceItemsDetailsResponse';
|
122
|
-
import { ListServiceSetDetailsRequest } from './model/ListServiceSetDetailsRequest';
|
123
|
-
import { ListServiceSetDetailsResponse } from './model/ListServiceSetDetailsResponse';
|
124
|
-
import { ListServiceSetRequest } from './model/ListServiceSetRequest';
|
125
|
-
import { ListServiceSetResponse } from './model/ListServiceSetResponse';
|
126
|
-
import { ListVpcProtectsRequest } from './model/ListVpcProtectsRequest';
|
127
|
-
import { ListVpcProtectsResponse } from './model/ListVpcProtectsResponse';
|
128
|
-
import { OrderRuleAclDto } from './model/OrderRuleAclDto';
|
129
|
-
import { Packet } from './model/Packet';
|
130
|
-
import { PacketMessage } from './model/PacketMessage';
|
131
|
-
import { ProtectObjectVO } from './model/ProtectObjectVO';
|
132
|
-
import { RuleAclListResponseDTOData } from './model/RuleAclListResponseDTOData';
|
133
|
-
import { RuleAclListResponseDTODataRecords } from './model/RuleAclListResponseDTODataRecords';
|
134
|
-
import { RuleAddressDto } from './model/RuleAddressDto';
|
135
|
-
import { RuleHitCountObject } from './model/RuleHitCountObject';
|
136
|
-
import { RuleHitCountRecords } from './model/RuleHitCountRecords';
|
137
|
-
import { RuleId } from './model/RuleId';
|
138
|
-
import { RuleIdList } from './model/RuleIdList';
|
139
|
-
import { RuleServiceDto } from './model/RuleServiceDto';
|
140
|
-
import { ServiceItemIds } from './model/ServiceItemIds';
|
141
|
-
import { ServiceItemListResponseDtoData } from './model/ServiceItemListResponseDtoData';
|
142
|
-
import { ServiceItemListResponseDtoDataRecords } from './model/ServiceItemListResponseDtoDataRecords';
|
143
|
-
import { ServiceSet } from './model/ServiceSet';
|
144
|
-
import { ServiceSetDetailResponseDto } from './model/ServiceSetDetailResponseDto';
|
145
|
-
import { ServiceSetRecords } from './model/ServiceSetRecords';
|
146
|
-
import { SubnetInfo } from './model/SubnetInfo';
|
147
|
-
import { SuccessRspData } from './model/SuccessRspData';
|
148
|
-
import { Tag } from './model/Tag';
|
149
|
-
import { UpdateAddressSetDto } from './model/UpdateAddressSetDto';
|
150
|
-
import { UpdateAddressSetInfoUsingPutRequest } from './model/UpdateAddressSetInfoUsingPutRequest';
|
151
|
-
import { UpdateAddressSetInfoUsingPutResponse } from './model/UpdateAddressSetInfoUsingPutResponse';
|
152
|
-
import { UpdateBlackWhiteListDto } from './model/UpdateBlackWhiteListDto';
|
153
|
-
import { UpdateBlackWhiteListUsingPutRequest } from './model/UpdateBlackWhiteListUsingPutRequest';
|
154
|
-
import { UpdateBlackWhiteListUsingPutResponse } from './model/UpdateBlackWhiteListUsingPutResponse';
|
155
|
-
import { UpdateDnsServersRequest } from './model/UpdateDnsServersRequest';
|
156
|
-
import { UpdateDnsServersRequestBody } from './model/UpdateDnsServersRequestBody';
|
157
|
-
import { UpdateDnsServersRequestBodyDnsServer } from './model/UpdateDnsServersRequestBodyDnsServer';
|
158
|
-
import { UpdateDnsServersResponse } from './model/UpdateDnsServersResponse';
|
159
|
-
import { UpdateRuleAclDto } from './model/UpdateRuleAclDto';
|
160
|
-
import { UpdateRuleAclUsingPutRequest } from './model/UpdateRuleAclUsingPutRequest';
|
161
|
-
import { UpdateRuleAclUsingPutResponse } from './model/UpdateRuleAclUsingPutResponse';
|
162
|
-
import { UpdateServiceSetUsingPUTRequestBody } from './model/UpdateServiceSetUsingPUTRequestBody';
|
163
|
-
import { UpdateServiceSetUsingPutRequest } from './model/UpdateServiceSetUsingPutRequest';
|
164
|
-
import { UpdateServiceSetUsingPutResponse } from './model/UpdateServiceSetUsingPutResponse';
|
165
|
-
import { VPCProtectsVo } from './model/VPCProtectsVo';
|
166
|
-
import { VpcAttachmentDetail } from './model/VpcAttachmentDetail';
|
167
|
-
import { VpcDetail } from './model/VpcDetail';
|
168
|
-
|
169
|
-
export class CfwClient {
|
170
|
-
public static newBuilder(): ClientBuilder<CfwClient> {
|
171
|
-
return new ClientBuilder<CfwClient>(newClient);
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.RequiredError = exports.ParamCreater = exports.CfwClient = void 0;
|
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);
|
172
52
|
}
|
173
|
-
|
174
|
-
private hcClient: HcClient;
|
175
|
-
public constructor(client: HcClient) {
|
53
|
+
constructor(client) {
|
176
54
|
this.hcClient = client;
|
177
55
|
}
|
178
|
-
|
179
|
-
public getPath() {
|
56
|
+
getPath() {
|
180
57
|
return __dirname;
|
181
58
|
}
|
182
|
-
|
183
|
-
|
184
59
|
/**
|
185
60
|
* 添加地址组成员
|
186
|
-
*
|
61
|
+
*
|
187
62
|
* Please refer to HUAWEI cloud API Explorer for details.
|
188
63
|
*
|
189
64
|
* @summary 添加地址组成员
|
@@ -194,18 +69,15 @@ export class CfwClient {
|
|
194
69
|
* @param {*} [options] Override http request option.
|
195
70
|
* @throws {RequiredError}
|
196
71
|
*/
|
197
|
-
|
198
|
-
const options = ParamCreater().addAddressItemsUsingPost(addAddressItemsUsingPostRequest);
|
199
|
-
|
200
|
-
// @ts-ignore
|
72
|
+
addAddressItemsUsingPost(addAddressItemsUsingPostRequest) {
|
73
|
+
const options = (0, exports.ParamCreater)().addAddressItemsUsingPost(addAddressItemsUsingPostRequest);
|
74
|
+
// @ts-ignore
|
201
75
|
options['responseHeaders'] = [''];
|
202
|
-
|
203
76
|
return this.hcClient.sendRequest(options);
|
204
77
|
}
|
205
|
-
|
206
78
|
/**
|
207
79
|
* 添加地址组
|
208
|
-
*
|
80
|
+
*
|
209
81
|
* Please refer to HUAWEI cloud API Explorer for details.
|
210
82
|
*
|
211
83
|
* @summary 添加地址组
|
@@ -216,18 +88,15 @@ export class CfwClient {
|
|
216
88
|
* @param {*} [options] Override http request option.
|
217
89
|
* @throws {RequiredError}
|
218
90
|
*/
|
219
|
-
|
220
|
-
const options = ParamCreater().addAddressSetInfoUsingPost(addAddressSetInfoUsingPostRequest);
|
221
|
-
|
222
|
-
// @ts-ignore
|
91
|
+
addAddressSetInfoUsingPost(addAddressSetInfoUsingPostRequest) {
|
92
|
+
const options = (0, exports.ParamCreater)().addAddressSetInfoUsingPost(addAddressSetInfoUsingPostRequest);
|
93
|
+
// @ts-ignore
|
223
94
|
options['responseHeaders'] = [''];
|
224
|
-
|
225
95
|
return this.hcClient.sendRequest(options);
|
226
96
|
}
|
227
|
-
|
228
97
|
/**
|
229
98
|
* 创建黑白名单规则
|
230
|
-
*
|
99
|
+
*
|
231
100
|
* Please refer to HUAWEI cloud API Explorer for details.
|
232
101
|
*
|
233
102
|
* @summary 创建黑白名单规则
|
@@ -238,18 +107,15 @@ export class CfwClient {
|
|
238
107
|
* @param {*} [options] Override http request option.
|
239
108
|
* @throws {RequiredError}
|
240
109
|
*/
|
241
|
-
|
242
|
-
const options = ParamCreater().addBlackWhiteListUsingPost(addBlackWhiteListUsingPostRequest);
|
243
|
-
|
244
|
-
// @ts-ignore
|
110
|
+
addBlackWhiteListUsingPost(addBlackWhiteListUsingPostRequest) {
|
111
|
+
const options = (0, exports.ParamCreater)().addBlackWhiteListUsingPost(addBlackWhiteListUsingPostRequest);
|
112
|
+
// @ts-ignore
|
245
113
|
options['responseHeaders'] = [''];
|
246
|
-
|
247
114
|
return this.hcClient.sendRequest(options);
|
248
115
|
}
|
249
|
-
|
250
116
|
/**
|
251
117
|
* 批量添加服务组成员
|
252
|
-
*
|
118
|
+
*
|
253
119
|
* Please refer to HUAWEI cloud API Explorer for details.
|
254
120
|
*
|
255
121
|
* @summary 新建服务成员
|
@@ -260,18 +126,15 @@ export class CfwClient {
|
|
260
126
|
* @param {*} [options] Override http request option.
|
261
127
|
* @throws {RequiredError}
|
262
128
|
*/
|
263
|
-
|
264
|
-
const options = ParamCreater().addServiceItemsUsingPost(addServiceItemsUsingPostRequest);
|
265
|
-
|
266
|
-
// @ts-ignore
|
129
|
+
addServiceItemsUsingPost(addServiceItemsUsingPostRequest) {
|
130
|
+
const options = (0, exports.ParamCreater)().addServiceItemsUsingPost(addServiceItemsUsingPostRequest);
|
131
|
+
// @ts-ignore
|
267
132
|
options['responseHeaders'] = [''];
|
268
|
-
|
269
133
|
return this.hcClient.sendRequest(options);
|
270
134
|
}
|
271
|
-
|
272
135
|
/**
|
273
136
|
* 创建服务组
|
274
|
-
*
|
137
|
+
*
|
275
138
|
* Please refer to HUAWEI cloud API Explorer for details.
|
276
139
|
*
|
277
140
|
* @summary 新建服务组
|
@@ -282,18 +145,15 @@ export class CfwClient {
|
|
282
145
|
* @param {*} [options] Override http request option.
|
283
146
|
* @throws {RequiredError}
|
284
147
|
*/
|
285
|
-
|
286
|
-
const options = ParamCreater().addServiceSetUsingPost(addServiceSetUsingPostRequest);
|
287
|
-
|
288
|
-
// @ts-ignore
|
148
|
+
addServiceSetUsingPost(addServiceSetUsingPostRequest) {
|
149
|
+
const options = (0, exports.ParamCreater)().addServiceSetUsingPost(addServiceSetUsingPostRequest);
|
150
|
+
// @ts-ignore
|
289
151
|
options['responseHeaders'] = [''];
|
290
|
-
|
291
152
|
return this.hcClient.sendRequest(options);
|
292
153
|
}
|
293
|
-
|
294
154
|
/**
|
295
155
|
* 东西向防护资源防护开启/关闭
|
296
|
-
*
|
156
|
+
*
|
297
157
|
* Please refer to HUAWEI cloud API Explorer for details.
|
298
158
|
*
|
299
159
|
* @summary 修改东西向防火墙防护状态
|
@@ -304,18 +164,15 @@ export class CfwClient {
|
|
304
164
|
* @param {*} [options] Override http request option.
|
305
165
|
* @throws {RequiredError}
|
306
166
|
*/
|
307
|
-
|
308
|
-
const options = ParamCreater().changeEwProtectStatus(changeEwProtectStatusRequest);
|
309
|
-
|
310
|
-
// @ts-ignore
|
167
|
+
changeEwProtectStatus(changeEwProtectStatusRequest) {
|
168
|
+
const options = (0, exports.ParamCreater)().changeEwProtectStatus(changeEwProtectStatusRequest);
|
169
|
+
// @ts-ignore
|
311
170
|
options['responseHeaders'] = [''];
|
312
|
-
|
313
171
|
return this.hcClient.sendRequest(options);
|
314
172
|
}
|
315
|
-
|
316
173
|
/**
|
317
174
|
* 切换防护模式
|
318
|
-
*
|
175
|
+
*
|
319
176
|
* Please refer to HUAWEI cloud API Explorer for details.
|
320
177
|
*
|
321
178
|
* @summary 切换防护模式
|
@@ -326,18 +183,15 @@ export class CfwClient {
|
|
326
183
|
* @param {*} [options] Override http request option.
|
327
184
|
* @throws {RequiredError}
|
328
185
|
*/
|
329
|
-
|
330
|
-
const options = ParamCreater().changeIpsProtectModeUsingPost(changeIpsProtectModeUsingPostRequest);
|
331
|
-
|
332
|
-
// @ts-ignore
|
186
|
+
changeIpsProtectModeUsingPost(changeIpsProtectModeUsingPostRequest) {
|
187
|
+
const options = (0, exports.ParamCreater)().changeIpsProtectModeUsingPost(changeIpsProtectModeUsingPostRequest);
|
188
|
+
// @ts-ignore
|
333
189
|
options['responseHeaders'] = [''];
|
334
|
-
|
335
190
|
return this.hcClient.sendRequest(options);
|
336
191
|
}
|
337
|
-
|
338
192
|
/**
|
339
193
|
* 清除规则击中次数
|
340
|
-
*
|
194
|
+
*
|
341
195
|
* Please refer to HUAWEI cloud API Explorer for details.
|
342
196
|
*
|
343
197
|
* @summary 删除规则击中次数
|
@@ -348,18 +202,15 @@ export class CfwClient {
|
|
348
202
|
* @param {*} [options] Override http request option.
|
349
203
|
* @throws {RequiredError}
|
350
204
|
*/
|
351
|
-
|
352
|
-
const options = ParamCreater().deleteAclRuleCount(deleteAclRuleCountRequest);
|
353
|
-
|
354
|
-
// @ts-ignore
|
205
|
+
deleteAclRuleCount(deleteAclRuleCountRequest) {
|
206
|
+
const options = (0, exports.ParamCreater)().deleteAclRuleCount(deleteAclRuleCountRequest);
|
207
|
+
// @ts-ignore
|
355
208
|
options['responseHeaders'] = [''];
|
356
|
-
|
357
209
|
return this.hcClient.sendRequest(options);
|
358
210
|
}
|
359
|
-
|
360
211
|
/**
|
361
212
|
* 删除地址组成员
|
362
|
-
*
|
213
|
+
*
|
363
214
|
* Please refer to HUAWEI cloud API Explorer for details.
|
364
215
|
*
|
365
216
|
* @summary 删除地址组成员
|
@@ -370,18 +221,15 @@ export class CfwClient {
|
|
370
221
|
* @param {*} [options] Override http request option.
|
371
222
|
* @throws {RequiredError}
|
372
223
|
*/
|
373
|
-
|
374
|
-
const options = ParamCreater().deleteAddressItemUsingDelete(deleteAddressItemUsingDeleteRequest);
|
375
|
-
|
376
|
-
// @ts-ignore
|
224
|
+
deleteAddressItemUsingDelete(deleteAddressItemUsingDeleteRequest) {
|
225
|
+
const options = (0, exports.ParamCreater)().deleteAddressItemUsingDelete(deleteAddressItemUsingDeleteRequest);
|
226
|
+
// @ts-ignore
|
377
227
|
options['responseHeaders'] = [''];
|
378
|
-
|
379
228
|
return this.hcClient.sendRequest(options);
|
380
229
|
}
|
381
|
-
|
382
230
|
/**
|
383
231
|
* 删除地址组
|
384
|
-
*
|
232
|
+
*
|
385
233
|
* Please refer to HUAWEI cloud API Explorer for details.
|
386
234
|
*
|
387
235
|
* @summary 删除地址组
|
@@ -392,18 +240,15 @@ export class CfwClient {
|
|
392
240
|
* @param {*} [options] Override http request option.
|
393
241
|
* @throws {RequiredError}
|
394
242
|
*/
|
395
|
-
|
396
|
-
const options = ParamCreater().deleteAddressSetInfoUsingDelete(deleteAddressSetInfoUsingDeleteRequest);
|
397
|
-
|
398
|
-
// @ts-ignore
|
243
|
+
deleteAddressSetInfoUsingDelete(deleteAddressSetInfoUsingDeleteRequest) {
|
244
|
+
const options = (0, exports.ParamCreater)().deleteAddressSetInfoUsingDelete(deleteAddressSetInfoUsingDeleteRequest);
|
245
|
+
// @ts-ignore
|
399
246
|
options['responseHeaders'] = [''];
|
400
|
-
|
401
247
|
return this.hcClient.sendRequest(options);
|
402
248
|
}
|
403
|
-
|
404
249
|
/**
|
405
250
|
* 删除黑白名单规则
|
406
|
-
*
|
251
|
+
*
|
407
252
|
* Please refer to HUAWEI cloud API Explorer for details.
|
408
253
|
*
|
409
254
|
* @summary 删除黑白名单规则
|
@@ -414,18 +259,15 @@ export class CfwClient {
|
|
414
259
|
* @param {*} [options] Override http request option.
|
415
260
|
* @throws {RequiredError}
|
416
261
|
*/
|
417
|
-
|
418
|
-
const options = ParamCreater().deleteBlackWhiteListUsingDelete(deleteBlackWhiteListUsingDeleteRequest);
|
419
|
-
|
420
|
-
// @ts-ignore
|
262
|
+
deleteBlackWhiteListUsingDelete(deleteBlackWhiteListUsingDeleteRequest) {
|
263
|
+
const options = (0, exports.ParamCreater)().deleteBlackWhiteListUsingDelete(deleteBlackWhiteListUsingDeleteRequest);
|
264
|
+
// @ts-ignore
|
421
265
|
options['responseHeaders'] = [''];
|
422
|
-
|
423
266
|
return this.hcClient.sendRequest(options);
|
424
267
|
}
|
425
|
-
|
426
268
|
/**
|
427
269
|
* 删除服务组成员
|
428
|
-
*
|
270
|
+
*
|
429
271
|
* Please refer to HUAWEI cloud API Explorer for details.
|
430
272
|
*
|
431
273
|
* @summary 删除服务成员
|
@@ -436,18 +278,15 @@ export class CfwClient {
|
|
436
278
|
* @param {*} [options] Override http request option.
|
437
279
|
* @throws {RequiredError}
|
438
280
|
*/
|
439
|
-
|
440
|
-
const options = ParamCreater().deleteServiceItemUsingDelete(deleteServiceItemUsingDeleteRequest);
|
441
|
-
|
442
|
-
// @ts-ignore
|
281
|
+
deleteServiceItemUsingDelete(deleteServiceItemUsingDeleteRequest) {
|
282
|
+
const options = (0, exports.ParamCreater)().deleteServiceItemUsingDelete(deleteServiceItemUsingDeleteRequest);
|
283
|
+
// @ts-ignore
|
443
284
|
options['responseHeaders'] = [''];
|
444
|
-
|
445
285
|
return this.hcClient.sendRequest(options);
|
446
286
|
}
|
447
|
-
|
448
287
|
/**
|
449
288
|
* 删除服务组
|
450
|
-
*
|
289
|
+
*
|
451
290
|
* Please refer to HUAWEI cloud API Explorer for details.
|
452
291
|
*
|
453
292
|
* @summary 删除服务组
|
@@ -458,18 +297,15 @@ export class CfwClient {
|
|
458
297
|
* @param {*} [options] Override http request option.
|
459
298
|
* @throws {RequiredError}
|
460
299
|
*/
|
461
|
-
|
462
|
-
const options = ParamCreater().deleteServiceSetUsingDelete(deleteServiceSetUsingDeleteRequest);
|
463
|
-
|
464
|
-
// @ts-ignore
|
300
|
+
deleteServiceSetUsingDelete(deleteServiceSetUsingDeleteRequest) {
|
301
|
+
const options = (0, exports.ParamCreater)().deleteServiceSetUsingDelete(deleteServiceSetUsingDeleteRequest);
|
302
|
+
// @ts-ignore
|
465
303
|
options['responseHeaders'] = [''];
|
466
|
-
|
467
304
|
return this.hcClient.sendRequest(options);
|
468
305
|
}
|
469
|
-
|
470
306
|
/**
|
471
307
|
* 查询访问控制日志
|
472
|
-
*
|
308
|
+
*
|
473
309
|
* Please refer to HUAWEI cloud API Explorer for details.
|
474
310
|
*
|
475
311
|
* @summary 查询访问控制日志
|
@@ -493,18 +329,15 @@ export class CfwClient {
|
|
493
329
|
* @param {*} [options] Override http request option.
|
494
330
|
* @throws {RequiredError}
|
495
331
|
*/
|
496
|
-
|
497
|
-
const options = ParamCreater().listAccessControlLogs(listAccessControlLogsRequest);
|
498
|
-
|
499
|
-
// @ts-ignore
|
332
|
+
listAccessControlLogs(listAccessControlLogsRequest) {
|
333
|
+
const options = (0, exports.ParamCreater)().listAccessControlLogs(listAccessControlLogsRequest);
|
334
|
+
// @ts-ignore
|
500
335
|
options['responseHeaders'] = [''];
|
501
|
-
|
502
336
|
return this.hcClient.sendRequest(options);
|
503
337
|
}
|
504
|
-
|
505
338
|
/**
|
506
339
|
* 查询地址组成员
|
507
|
-
*
|
340
|
+
*
|
508
341
|
* Please refer to HUAWEI cloud API Explorer for details.
|
509
342
|
*
|
510
343
|
* @summary 查询地址组成员
|
@@ -519,18 +352,15 @@ export class CfwClient {
|
|
519
352
|
* @param {*} [options] Override http request option.
|
520
353
|
* @throws {RequiredError}
|
521
354
|
*/
|
522
|
-
|
523
|
-
const options = ParamCreater().listAddressItemsUsingGet(listAddressItemsUsingGetRequest);
|
524
|
-
|
525
|
-
// @ts-ignore
|
355
|
+
listAddressItemsUsingGet(listAddressItemsUsingGetRequest) {
|
356
|
+
const options = (0, exports.ParamCreater)().listAddressItemsUsingGet(listAddressItemsUsingGetRequest);
|
357
|
+
// @ts-ignore
|
526
358
|
options['responseHeaders'] = [''];
|
527
|
-
|
528
359
|
return this.hcClient.sendRequest(options);
|
529
360
|
}
|
530
|
-
|
531
361
|
/**
|
532
362
|
* 查询地址组详细
|
533
|
-
*
|
363
|
+
*
|
534
364
|
* Please refer to HUAWEI cloud API Explorer for details.
|
535
365
|
*
|
536
366
|
* @summary 查询地址组详细信息
|
@@ -541,18 +371,15 @@ export class CfwClient {
|
|
541
371
|
* @param {*} [options] Override http request option.
|
542
372
|
* @throws {RequiredError}
|
543
373
|
*/
|
544
|
-
|
545
|
-
const options = ParamCreater().listAddressSetDetailUsingGet(listAddressSetDetailUsingGetRequest);
|
546
|
-
|
547
|
-
// @ts-ignore
|
374
|
+
listAddressSetDetailUsingGet(listAddressSetDetailUsingGetRequest) {
|
375
|
+
const options = (0, exports.ParamCreater)().listAddressSetDetailUsingGet(listAddressSetDetailUsingGetRequest);
|
376
|
+
// @ts-ignore
|
548
377
|
options['responseHeaders'] = [''];
|
549
|
-
|
550
378
|
return this.hcClient.sendRequest(options);
|
551
379
|
}
|
552
|
-
|
553
380
|
/**
|
554
381
|
* 查询地址组列表
|
555
|
-
*
|
382
|
+
*
|
556
383
|
* Please refer to HUAWEI cloud API Explorer for details.
|
557
384
|
*
|
558
385
|
* @summary 查询地址组列表
|
@@ -568,18 +395,15 @@ export class CfwClient {
|
|
568
395
|
* @param {*} [options] Override http request option.
|
569
396
|
* @throws {RequiredError}
|
570
397
|
*/
|
571
|
-
|
572
|
-
const options = ParamCreater().listAddressSetListUsingGet(listAddressSetListUsingGetRequest);
|
573
|
-
|
574
|
-
// @ts-ignore
|
398
|
+
listAddressSetListUsingGet(listAddressSetListUsingGetRequest) {
|
399
|
+
const options = (0, exports.ParamCreater)().listAddressSetListUsingGet(listAddressSetListUsingGetRequest);
|
400
|
+
// @ts-ignore
|
575
401
|
options['responseHeaders'] = [''];
|
576
|
-
|
577
402
|
return this.hcClient.sendRequest(options);
|
578
403
|
}
|
579
|
-
|
580
404
|
/**
|
581
405
|
* 查询攻击日志
|
582
|
-
*
|
406
|
+
*
|
583
407
|
* Please refer to HUAWEI cloud API Explorer for details.
|
584
408
|
*
|
585
409
|
* @summary 查询攻击日志
|
@@ -607,18 +431,15 @@ export class CfwClient {
|
|
607
431
|
* @param {*} [options] Override http request option.
|
608
432
|
* @throws {RequiredError}
|
609
433
|
*/
|
610
|
-
|
611
|
-
const options = ParamCreater().listAttackLogs(listAttackLogsRequest);
|
612
|
-
|
613
|
-
// @ts-ignore
|
434
|
+
listAttackLogs(listAttackLogsRequest) {
|
435
|
+
const options = (0, exports.ParamCreater)().listAttackLogs(listAttackLogsRequest);
|
436
|
+
// @ts-ignore
|
614
437
|
options['responseHeaders'] = [''];
|
615
|
-
|
616
438
|
return this.hcClient.sendRequest(options);
|
617
439
|
}
|
618
|
-
|
619
440
|
/**
|
620
441
|
* 查询黑白名单列表
|
621
|
-
*
|
442
|
+
*
|
622
443
|
* Please refer to HUAWEI cloud API Explorer for details.
|
623
444
|
*
|
624
445
|
* @summary 查询黑白名单列表
|
@@ -635,18 +456,15 @@ export class CfwClient {
|
|
635
456
|
* @param {*} [options] Override http request option.
|
636
457
|
* @throws {RequiredError}
|
637
458
|
*/
|
638
|
-
|
639
|
-
const options = ParamCreater().listBlackWhiteListsUsingGet(listBlackWhiteListsUsingGetRequest);
|
640
|
-
|
641
|
-
// @ts-ignore
|
459
|
+
listBlackWhiteListsUsingGet(listBlackWhiteListsUsingGetRequest) {
|
460
|
+
const options = (0, exports.ParamCreater)().listBlackWhiteListsUsingGet(listBlackWhiteListsUsingGetRequest);
|
461
|
+
// @ts-ignore
|
642
462
|
options['responseHeaders'] = [''];
|
643
|
-
|
644
463
|
return this.hcClient.sendRequest(options);
|
645
464
|
}
|
646
|
-
|
647
465
|
/**
|
648
466
|
* 查询dns服务器列表
|
649
|
-
*
|
467
|
+
*
|
650
468
|
* Please refer to HUAWEI cloud API Explorer for details.
|
651
469
|
*
|
652
470
|
* @summary 查询dns服务器列表
|
@@ -658,18 +476,15 @@ export class CfwClient {
|
|
658
476
|
* @param {*} [options] Override http request option.
|
659
477
|
* @throws {RequiredError}
|
660
478
|
*/
|
661
|
-
|
662
|
-
const options = ParamCreater().listDnsServers(listDnsServersRequest);
|
663
|
-
|
664
|
-
// @ts-ignore
|
479
|
+
listDnsServers(listDnsServersRequest) {
|
480
|
+
const options = (0, exports.ParamCreater)().listDnsServers(listDnsServersRequest);
|
481
|
+
// @ts-ignore
|
665
482
|
options['responseHeaders'] = [''];
|
666
|
-
|
667
483
|
return this.hcClient.sendRequest(options);
|
668
484
|
}
|
669
|
-
|
670
485
|
/**
|
671
486
|
* 查询东西向防火墙信息
|
672
|
-
*
|
487
|
+
*
|
673
488
|
* Please refer to HUAWEI cloud API Explorer for details.
|
674
489
|
*
|
675
490
|
* @summary 获取东西向防火墙信息
|
@@ -681,18 +496,15 @@ export class CfwClient {
|
|
681
496
|
* @param {*} [options] Override http request option.
|
682
497
|
* @throws {RequiredError}
|
683
498
|
*/
|
684
|
-
|
685
|
-
const options = ParamCreater().listEastWestFirewall(listEastWestFirewallRequest);
|
686
|
-
|
687
|
-
// @ts-ignore
|
499
|
+
listEastWestFirewall(listEastWestFirewallRequest) {
|
500
|
+
const options = (0, exports.ParamCreater)().listEastWestFirewall(listEastWestFirewallRequest);
|
501
|
+
// @ts-ignore
|
688
502
|
options['responseHeaders'] = [''];
|
689
|
-
|
690
503
|
return this.hcClient.sendRequest(options);
|
691
504
|
}
|
692
|
-
|
693
505
|
/**
|
694
506
|
* 查询防火墙实例
|
695
|
-
*
|
507
|
+
*
|
696
508
|
* Please refer to HUAWEI cloud API Explorer for details.
|
697
509
|
*
|
698
510
|
* @summary 查询防火墙实例
|
@@ -705,18 +517,15 @@ export class CfwClient {
|
|
705
517
|
* @param {*} [options] Override http request option.
|
706
518
|
* @throws {RequiredError}
|
707
519
|
*/
|
708
|
-
|
709
|
-
const options = ParamCreater().listFirewallUsingGet(listFirewallUsingGetRequest);
|
710
|
-
|
711
|
-
// @ts-ignore
|
520
|
+
listFirewallUsingGet(listFirewallUsingGetRequest) {
|
521
|
+
const options = (0, exports.ParamCreater)().listFirewallUsingGet(listFirewallUsingGetRequest);
|
522
|
+
// @ts-ignore
|
712
523
|
options['responseHeaders'] = [''];
|
713
|
-
|
714
524
|
return this.hcClient.sendRequest(options);
|
715
525
|
}
|
716
|
-
|
717
526
|
/**
|
718
527
|
* 查询流日志
|
719
|
-
*
|
528
|
+
*
|
720
529
|
* Please refer to HUAWEI cloud API Explorer for details.
|
721
530
|
*
|
722
531
|
* @summary 查询流日志
|
@@ -740,18 +549,15 @@ export class CfwClient {
|
|
740
549
|
* @param {*} [options] Override http request option.
|
741
550
|
* @throws {RequiredError}
|
742
551
|
*/
|
743
|
-
|
744
|
-
const options = ParamCreater().listFlowLogs(listFlowLogsRequest);
|
745
|
-
|
746
|
-
// @ts-ignore
|
552
|
+
listFlowLogs(listFlowLogsRequest) {
|
553
|
+
const options = (0, exports.ParamCreater)().listFlowLogs(listFlowLogsRequest);
|
554
|
+
// @ts-ignore
|
747
555
|
options['responseHeaders'] = [''];
|
748
|
-
|
749
556
|
return this.hcClient.sendRequest(options);
|
750
557
|
}
|
751
|
-
|
752
558
|
/**
|
753
559
|
* 查询防护模式
|
754
|
-
*
|
560
|
+
*
|
755
561
|
* Please refer to HUAWEI cloud API Explorer for details.
|
756
562
|
*
|
757
563
|
* @summary 查询防护模式
|
@@ -762,18 +568,15 @@ export class CfwClient {
|
|
762
568
|
* @param {*} [options] Override http request option.
|
763
569
|
* @throws {RequiredError}
|
764
570
|
*/
|
765
|
-
|
766
|
-
const options = ParamCreater().listIpsProtectModeUsingPost(listIpsProtectModeUsingPostRequest);
|
767
|
-
|
768
|
-
// @ts-ignore
|
571
|
+
listIpsProtectModeUsingPost(listIpsProtectModeUsingPostRequest) {
|
572
|
+
const options = (0, exports.ParamCreater)().listIpsProtectModeUsingPost(listIpsProtectModeUsingPostRequest);
|
573
|
+
// @ts-ignore
|
769
574
|
options['responseHeaders'] = [''];
|
770
|
-
|
771
575
|
return this.hcClient.sendRequest(options);
|
772
576
|
}
|
773
|
-
|
774
577
|
/**
|
775
578
|
* 测试域名有效性
|
776
|
-
*
|
579
|
+
*
|
777
580
|
* Please refer to HUAWEI cloud API Explorer for details.
|
778
581
|
*
|
779
582
|
* @summary 查询域名解析ip地址
|
@@ -784,18 +587,15 @@ export class CfwClient {
|
|
784
587
|
* @param {*} [options] Override http request option.
|
785
588
|
* @throws {RequiredError}
|
786
589
|
*/
|
787
|
-
|
788
|
-
const options = ParamCreater().listParseDomainDetails(listParseDomainDetailsRequest);
|
789
|
-
|
790
|
-
// @ts-ignore
|
590
|
+
listParseDomainDetails(listParseDomainDetailsRequest) {
|
591
|
+
const options = (0, exports.ParamCreater)().listParseDomainDetails(listParseDomainDetailsRequest);
|
592
|
+
// @ts-ignore
|
791
593
|
options['responseHeaders'] = [''];
|
792
|
-
|
793
594
|
return this.hcClient.sendRequest(options);
|
794
595
|
}
|
795
|
-
|
796
596
|
/**
|
797
597
|
* 获取规则击中次数
|
798
|
-
*
|
598
|
+
*
|
799
599
|
* Please refer to HUAWEI cloud API Explorer for details.
|
800
600
|
*
|
801
601
|
* @summary 获取规则击中次数
|
@@ -806,18 +606,15 @@ export class CfwClient {
|
|
806
606
|
* @param {*} [options] Override http request option.
|
807
607
|
* @throws {RequiredError}
|
808
608
|
*/
|
809
|
-
|
810
|
-
const options = ParamCreater().listRuleHitCount(listRuleHitCountRequest);
|
811
|
-
|
812
|
-
// @ts-ignore
|
609
|
+
listRuleHitCount(listRuleHitCountRequest) {
|
610
|
+
const options = (0, exports.ParamCreater)().listRuleHitCount(listRuleHitCountRequest);
|
611
|
+
// @ts-ignore
|
813
612
|
options['responseHeaders'] = [''];
|
814
|
-
|
815
613
|
return this.hcClient.sendRequest(options);
|
816
614
|
}
|
817
|
-
|
818
615
|
/**
|
819
616
|
* 查询服务组成员列表
|
820
|
-
*
|
617
|
+
*
|
821
618
|
* Please refer to HUAWEI cloud API Explorer for details.
|
822
619
|
*
|
823
620
|
* @summary 查询服务成员列表
|
@@ -831,18 +628,15 @@ export class CfwClient {
|
|
831
628
|
* @param {*} [options] Override http request option.
|
832
629
|
* @throws {RequiredError}
|
833
630
|
*/
|
834
|
-
|
835
|
-
const options = ParamCreater().listServiceItemsDetails(listServiceItemsDetailsRequest);
|
836
|
-
|
837
|
-
// @ts-ignore
|
631
|
+
listServiceItemsDetails(listServiceItemsDetailsRequest) {
|
632
|
+
const options = (0, exports.ParamCreater)().listServiceItemsDetails(listServiceItemsDetailsRequest);
|
633
|
+
// @ts-ignore
|
838
634
|
options['responseHeaders'] = [''];
|
839
|
-
|
840
635
|
return this.hcClient.sendRequest(options);
|
841
636
|
}
|
842
|
-
|
843
637
|
/**
|
844
638
|
* 获取服务组列表
|
845
|
-
*
|
639
|
+
*
|
846
640
|
* Please refer to HUAWEI cloud API Explorer for details.
|
847
641
|
*
|
848
642
|
* @summary 获取服务组列表
|
@@ -856,18 +650,15 @@ export class CfwClient {
|
|
856
650
|
* @param {*} [options] Override http request option.
|
857
651
|
* @throws {RequiredError}
|
858
652
|
*/
|
859
|
-
|
860
|
-
const options = ParamCreater().listServiceSet(listServiceSetRequest);
|
861
|
-
|
862
|
-
// @ts-ignore
|
653
|
+
listServiceSet(listServiceSetRequest) {
|
654
|
+
const options = (0, exports.ParamCreater)().listServiceSet(listServiceSetRequest);
|
655
|
+
// @ts-ignore
|
863
656
|
options['responseHeaders'] = [''];
|
864
|
-
|
865
657
|
return this.hcClient.sendRequest(options);
|
866
658
|
}
|
867
|
-
|
868
659
|
/**
|
869
660
|
* 查询服务组细节
|
870
|
-
*
|
661
|
+
*
|
871
662
|
* Please refer to HUAWEI cloud API Explorer for details.
|
872
663
|
*
|
873
664
|
* @summary 查询服务组详情
|
@@ -878,18 +669,15 @@ export class CfwClient {
|
|
878
669
|
* @param {*} [options] Override http request option.
|
879
670
|
* @throws {RequiredError}
|
880
671
|
*/
|
881
|
-
|
882
|
-
const options = ParamCreater().listServiceSetDetails(listServiceSetDetailsRequest);
|
883
|
-
|
884
|
-
// @ts-ignore
|
672
|
+
listServiceSetDetails(listServiceSetDetailsRequest) {
|
673
|
+
const options = (0, exports.ParamCreater)().listServiceSetDetails(listServiceSetDetailsRequest);
|
674
|
+
// @ts-ignore
|
885
675
|
options['responseHeaders'] = [''];
|
886
|
-
|
887
676
|
return this.hcClient.sendRequest(options);
|
888
677
|
}
|
889
|
-
|
890
678
|
/**
|
891
679
|
* 更新地址组信息
|
892
|
-
*
|
680
|
+
*
|
893
681
|
* Please refer to HUAWEI cloud API Explorer for details.
|
894
682
|
*
|
895
683
|
* @summary 更新地址组信息
|
@@ -901,18 +689,15 @@ export class CfwClient {
|
|
901
689
|
* @param {*} [options] Override http request option.
|
902
690
|
* @throws {RequiredError}
|
903
691
|
*/
|
904
|
-
|
905
|
-
const options = ParamCreater().updateAddressSetInfoUsingPut(updateAddressSetInfoUsingPutRequest);
|
906
|
-
|
907
|
-
// @ts-ignore
|
692
|
+
updateAddressSetInfoUsingPut(updateAddressSetInfoUsingPutRequest) {
|
693
|
+
const options = (0, exports.ParamCreater)().updateAddressSetInfoUsingPut(updateAddressSetInfoUsingPutRequest);
|
694
|
+
// @ts-ignore
|
908
695
|
options['responseHeaders'] = [''];
|
909
|
-
|
910
696
|
return this.hcClient.sendRequest(options);
|
911
697
|
}
|
912
|
-
|
913
698
|
/**
|
914
699
|
* 更新黑白名单列表
|
915
|
-
*
|
700
|
+
*
|
916
701
|
* Please refer to HUAWEI cloud API Explorer for details.
|
917
702
|
*
|
918
703
|
* @summary 更新黑白名单列表
|
@@ -924,18 +709,15 @@ export class CfwClient {
|
|
924
709
|
* @param {*} [options] Override http request option.
|
925
710
|
* @throws {RequiredError}
|
926
711
|
*/
|
927
|
-
|
928
|
-
const options = ParamCreater().updateBlackWhiteListUsingPut(updateBlackWhiteListUsingPutRequest);
|
929
|
-
|
930
|
-
// @ts-ignore
|
712
|
+
updateBlackWhiteListUsingPut(updateBlackWhiteListUsingPutRequest) {
|
713
|
+
const options = (0, exports.ParamCreater)().updateBlackWhiteListUsingPut(updateBlackWhiteListUsingPutRequest);
|
714
|
+
// @ts-ignore
|
931
715
|
options['responseHeaders'] = [''];
|
932
|
-
|
933
716
|
return this.hcClient.sendRequest(options);
|
934
717
|
}
|
935
|
-
|
936
718
|
/**
|
937
719
|
* 更新dns服务器列表
|
938
|
-
*
|
720
|
+
*
|
939
721
|
* Please refer to HUAWEI cloud API Explorer for details.
|
940
722
|
*
|
941
723
|
* @summary 更新dns服务器列表
|
@@ -946,18 +728,15 @@ export class CfwClient {
|
|
946
728
|
* @param {*} [options] Override http request option.
|
947
729
|
* @throws {RequiredError}
|
948
730
|
*/
|
949
|
-
|
950
|
-
const options = ParamCreater().updateDnsServers(updateDnsServersRequest);
|
951
|
-
|
952
|
-
// @ts-ignore
|
731
|
+
updateDnsServers(updateDnsServersRequest) {
|
732
|
+
const options = (0, exports.ParamCreater)().updateDnsServers(updateDnsServersRequest);
|
733
|
+
// @ts-ignore
|
953
734
|
options['responseHeaders'] = [''];
|
954
|
-
|
955
735
|
return this.hcClient.sendRequest(options);
|
956
736
|
}
|
957
|
-
|
958
737
|
/**
|
959
738
|
* 更新服务组
|
960
|
-
*
|
739
|
+
*
|
961
740
|
* Please refer to HUAWEI cloud API Explorer for details.
|
962
741
|
*
|
963
742
|
* @summary 修改服务组
|
@@ -969,18 +748,15 @@ export class CfwClient {
|
|
969
748
|
* @param {*} [options] Override http request option.
|
970
749
|
* @throws {RequiredError}
|
971
750
|
*/
|
972
|
-
|
973
|
-
const options = ParamCreater().updateServiceSetUsingPut(updateServiceSetUsingPutRequest);
|
974
|
-
|
975
|
-
// @ts-ignore
|
751
|
+
updateServiceSetUsingPut(updateServiceSetUsingPutRequest) {
|
752
|
+
const options = (0, exports.ParamCreater)().updateServiceSetUsingPut(updateServiceSetUsingPutRequest);
|
753
|
+
// @ts-ignore
|
976
754
|
options['responseHeaders'] = [''];
|
977
|
-
|
978
755
|
return this.hcClient.sendRequest(options);
|
979
756
|
}
|
980
|
-
|
981
757
|
/**
|
982
758
|
* 创建ACL规则
|
983
|
-
*
|
759
|
+
*
|
984
760
|
* Please refer to HUAWEI cloud API Explorer for details.
|
985
761
|
*
|
986
762
|
* @summary 创建ACL规则
|
@@ -991,18 +767,15 @@ export class CfwClient {
|
|
991
767
|
* @param {*} [options] Override http request option.
|
992
768
|
* @throws {RequiredError}
|
993
769
|
*/
|
994
|
-
|
995
|
-
const options = ParamCreater().addRuleAclUsingPost(addRuleAclUsingPostRequest);
|
996
|
-
|
997
|
-
// @ts-ignore
|
770
|
+
addRuleAclUsingPost(addRuleAclUsingPostRequest) {
|
771
|
+
const options = (0, exports.ParamCreater)().addRuleAclUsingPost(addRuleAclUsingPostRequest);
|
772
|
+
// @ts-ignore
|
998
773
|
options['responseHeaders'] = [''];
|
999
|
-
|
1000
774
|
return this.hcClient.sendRequest(options);
|
1001
775
|
}
|
1002
|
-
|
1003
776
|
/**
|
1004
777
|
* 删除ACL规则组
|
1005
|
-
*
|
778
|
+
*
|
1006
779
|
* Please refer to HUAWEI cloud API Explorer for details.
|
1007
780
|
*
|
1008
781
|
* @summary 删除ACL规则组
|
@@ -1013,18 +786,15 @@ export class CfwClient {
|
|
1013
786
|
* @param {*} [options] Override http request option.
|
1014
787
|
* @throws {RequiredError}
|
1015
788
|
*/
|
1016
|
-
|
1017
|
-
const options = ParamCreater().deleteRuleAclUsingDelete(deleteRuleAclUsingDeleteRequest);
|
1018
|
-
|
1019
|
-
// @ts-ignore
|
789
|
+
deleteRuleAclUsingDelete(deleteRuleAclUsingDeleteRequest) {
|
790
|
+
const options = (0, exports.ParamCreater)().deleteRuleAclUsingDelete(deleteRuleAclUsingDeleteRequest);
|
791
|
+
// @ts-ignore
|
1020
792
|
options['responseHeaders'] = [''];
|
1021
|
-
|
1022
793
|
return this.hcClient.sendRequest(options);
|
1023
794
|
}
|
1024
|
-
|
1025
795
|
/**
|
1026
796
|
* ACL防护规则优先级设置
|
1027
|
-
*
|
797
|
+
*
|
1028
798
|
* Please refer to HUAWEI cloud API Explorer for details.
|
1029
799
|
*
|
1030
800
|
* @summary ACL防护规则优先级设置
|
@@ -1036,18 +806,15 @@ export class CfwClient {
|
|
1036
806
|
* @param {*} [options] Override http request option.
|
1037
807
|
* @throws {RequiredError}
|
1038
808
|
*/
|
1039
|
-
|
1040
|
-
const options = ParamCreater().listRuleAclUsingPut(listRuleAclUsingPutRequest);
|
1041
|
-
|
1042
|
-
// @ts-ignore
|
809
|
+
listRuleAclUsingPut(listRuleAclUsingPutRequest) {
|
810
|
+
const options = (0, exports.ParamCreater)().listRuleAclUsingPut(listRuleAclUsingPutRequest);
|
811
|
+
// @ts-ignore
|
1043
812
|
options['responseHeaders'] = [''];
|
1044
|
-
|
1045
813
|
return this.hcClient.sendRequest(options);
|
1046
814
|
}
|
1047
|
-
|
1048
815
|
/**
|
1049
816
|
* 查询防护规则
|
1050
|
-
*
|
817
|
+
*
|
1051
818
|
* Please refer to HUAWEI cloud API Explorer for details.
|
1052
819
|
*
|
1053
820
|
* @summary 查询防护规则
|
@@ -1068,18 +835,15 @@ export class CfwClient {
|
|
1068
835
|
* @param {*} [options] Override http request option.
|
1069
836
|
* @throws {RequiredError}
|
1070
837
|
*/
|
1071
|
-
|
1072
|
-
const options = ParamCreater().listRuleAclsUsingGet(listRuleAclsUsingGetRequest);
|
1073
|
-
|
1074
|
-
// @ts-ignore
|
838
|
+
listRuleAclsUsingGet(listRuleAclsUsingGetRequest) {
|
839
|
+
const options = (0, exports.ParamCreater)().listRuleAclsUsingGet(listRuleAclsUsingGetRequest);
|
840
|
+
// @ts-ignore
|
1075
841
|
options['responseHeaders'] = [''];
|
1076
|
-
|
1077
842
|
return this.hcClient.sendRequest(options);
|
1078
843
|
}
|
1079
|
-
|
1080
844
|
/**
|
1081
845
|
* 更新ACL规则
|
1082
|
-
*
|
846
|
+
*
|
1083
847
|
* Please refer to HUAWEI cloud API Explorer for details.
|
1084
848
|
*
|
1085
849
|
* @summary 更新ACL规则
|
@@ -1091,18 +855,15 @@ export class CfwClient {
|
|
1091
855
|
* @param {*} [options] Override http request option.
|
1092
856
|
* @throws {RequiredError}
|
1093
857
|
*/
|
1094
|
-
|
1095
|
-
const options = ParamCreater().updateRuleAclUsingPut(updateRuleAclUsingPutRequest);
|
1096
|
-
|
1097
|
-
// @ts-ignore
|
858
|
+
updateRuleAclUsingPut(updateRuleAclUsingPutRequest) {
|
859
|
+
const options = (0, exports.ParamCreater)().updateRuleAclUsingPut(updateRuleAclUsingPutRequest);
|
860
|
+
// @ts-ignore
|
1098
861
|
options['responseHeaders'] = [''];
|
1099
|
-
|
1100
862
|
return this.hcClient.sendRequest(options);
|
1101
863
|
}
|
1102
|
-
|
1103
864
|
/**
|
1104
865
|
* 开启关闭EIP
|
1105
|
-
*
|
866
|
+
*
|
1106
867
|
* Please refer to HUAWEI cloud API Explorer for details.
|
1107
868
|
*
|
1108
869
|
* @summary 弹性IP开启关闭
|
@@ -1113,18 +874,15 @@ export class CfwClient {
|
|
1113
874
|
* @param {*} [options] Override http request option.
|
1114
875
|
* @throws {RequiredError}
|
1115
876
|
*/
|
1116
|
-
|
1117
|
-
const options = ParamCreater().changeProtectEip(changeProtectEipRequest);
|
1118
|
-
|
1119
|
-
// @ts-ignore
|
877
|
+
changeProtectEip(changeProtectEipRequest) {
|
878
|
+
const options = (0, exports.ParamCreater)().changeProtectEip(changeProtectEipRequest);
|
879
|
+
// @ts-ignore
|
1120
880
|
options['responseHeaders'] = [''];
|
1121
|
-
|
1122
881
|
return this.hcClient.sendRequest(options);
|
1123
882
|
}
|
1124
|
-
|
1125
883
|
/**
|
1126
884
|
* 查询Eip个数
|
1127
|
-
*
|
885
|
+
*
|
1128
886
|
* Please refer to HUAWEI cloud API Explorer for details.
|
1129
887
|
*
|
1130
888
|
* @summary 查询Eip个数
|
@@ -1135,18 +893,15 @@ export class CfwClient {
|
|
1135
893
|
* @param {*} [options] Override http request option.
|
1136
894
|
* @throws {RequiredError}
|
1137
895
|
*/
|
1138
|
-
|
1139
|
-
const options = ParamCreater().countEips(countEipsRequest);
|
1140
|
-
|
1141
|
-
// @ts-ignore
|
896
|
+
countEips(countEipsRequest) {
|
897
|
+
const options = (0, exports.ParamCreater)().countEips(countEipsRequest);
|
898
|
+
// @ts-ignore
|
1142
899
|
options['responseHeaders'] = [''];
|
1143
|
-
|
1144
900
|
return this.hcClient.sendRequest(options);
|
1145
901
|
}
|
1146
|
-
|
1147
902
|
/**
|
1148
903
|
* 弹性IP列表查询
|
1149
|
-
*
|
904
|
+
*
|
1150
905
|
* Please refer to HUAWEI cloud API Explorer for details.
|
1151
906
|
*
|
1152
907
|
* @summary 弹性IP列表查询
|
@@ -1166,18 +921,15 @@ export class CfwClient {
|
|
1166
921
|
* @param {*} [options] Override http request option.
|
1167
922
|
* @throws {RequiredError}
|
1168
923
|
*/
|
1169
|
-
|
1170
|
-
const options = ParamCreater().listEipResources(listEipResourcesRequest);
|
1171
|
-
|
1172
|
-
// @ts-ignore
|
924
|
+
listEipResources(listEipResourcesRequest) {
|
925
|
+
const options = (0, exports.ParamCreater)().listEipResources(listEipResourcesRequest);
|
926
|
+
// @ts-ignore
|
1173
927
|
options['responseHeaders'] = [''];
|
1174
|
-
|
1175
928
|
return this.hcClient.sendRequest(options);
|
1176
929
|
}
|
1177
|
-
|
1178
930
|
/**
|
1179
931
|
* 切换开关状态
|
1180
|
-
*
|
932
|
+
*
|
1181
933
|
* Please refer to HUAWEI cloud API Explorer for details.
|
1182
934
|
*
|
1183
935
|
* @summary IPS特性开关操作
|
@@ -1188,18 +940,15 @@ export class CfwClient {
|
|
1188
940
|
* @param {*} [options] Override http request option.
|
1189
941
|
* @throws {RequiredError}
|
1190
942
|
*/
|
1191
|
-
|
1192
|
-
const options = ParamCreater().changeIpsSwitchUsingPost(changeIpsSwitchUsingPostRequest);
|
1193
|
-
|
1194
|
-
// @ts-ignore
|
943
|
+
changeIpsSwitchUsingPost(changeIpsSwitchUsingPostRequest) {
|
944
|
+
const options = (0, exports.ParamCreater)().changeIpsSwitchUsingPost(changeIpsSwitchUsingPostRequest);
|
945
|
+
// @ts-ignore
|
1195
946
|
options['responseHeaders'] = [''];
|
1196
|
-
|
1197
947
|
return this.hcClient.sendRequest(options);
|
1198
948
|
}
|
1199
|
-
|
1200
949
|
/**
|
1201
950
|
* 查询IPS特性开关状态
|
1202
|
-
*
|
951
|
+
*
|
1203
952
|
* Please refer to HUAWEI cloud API Explorer for details.
|
1204
953
|
*
|
1205
954
|
* @summary 查询IPS特性开关状态
|
@@ -1210,18 +959,15 @@ export class CfwClient {
|
|
1210
959
|
* @param {*} [options] Override http request option.
|
1211
960
|
* @throws {RequiredError}
|
1212
961
|
*/
|
1213
|
-
|
1214
|
-
const options = ParamCreater().listIpsSwitchStatusUsingGet(listIpsSwitchStatusUsingGetRequest);
|
1215
|
-
|
1216
|
-
// @ts-ignore
|
962
|
+
listIpsSwitchStatusUsingGet(listIpsSwitchStatusUsingGetRequest) {
|
963
|
+
const options = (0, exports.ParamCreater)().listIpsSwitchStatusUsingGet(listIpsSwitchStatusUsingGetRequest);
|
964
|
+
// @ts-ignore
|
1217
965
|
options['responseHeaders'] = [''];
|
1218
|
-
|
1219
966
|
return this.hcClient.sendRequest(options);
|
1220
967
|
}
|
1221
|
-
|
1222
968
|
/**
|
1223
969
|
* 查询防护vpc信息
|
1224
|
-
*
|
970
|
+
*
|
1225
971
|
* Please refer to HUAWEI cloud API Explorer for details.
|
1226
972
|
*
|
1227
973
|
* @summary 查询防护VPC数
|
@@ -1232,25 +978,22 @@ export class CfwClient {
|
|
1232
978
|
* @param {*} [options] Override http request option.
|
1233
979
|
* @throws {RequiredError}
|
1234
980
|
*/
|
1235
|
-
|
1236
|
-
const options = ParamCreater().listVpcProtects(listVpcProtectsRequest);
|
1237
|
-
|
1238
|
-
// @ts-ignore
|
981
|
+
listVpcProtects(listVpcProtectsRequest) {
|
982
|
+
const options = (0, exports.ParamCreater)().listVpcProtects(listVpcProtectsRequest);
|
983
|
+
// @ts-ignore
|
1239
984
|
options['responseHeaders'] = [''];
|
1240
|
-
|
1241
985
|
return this.hcClient.sendRequest(options);
|
1242
986
|
}
|
1243
987
|
}
|
1244
|
-
|
1245
|
-
|
988
|
+
exports.CfwClient = CfwClient;
|
989
|
+
const ParamCreater = function () {
|
1246
990
|
return {
|
1247
|
-
|
1248
991
|
/**
|
1249
992
|
* 添加地址组成员
|
1250
|
-
*
|
993
|
+
*
|
1251
994
|
* Please refer to HUAWEI cloud API Explorer for details.
|
1252
995
|
*/
|
1253
|
-
addAddressItemsUsingPost(addAddressItemsUsingPostRequest
|
996
|
+
addAddressItemsUsingPost(addAddressItemsUsingPostRequest) {
|
1254
997
|
const options = {
|
1255
998
|
method: "POST",
|
1256
999
|
url: "/v1/{project_id}/address-items",
|
@@ -1260,36 +1003,31 @@ export const ParamCreater = function () {
|
|
1260
1003
|
headers: {},
|
1261
1004
|
data: {}
|
1262
1005
|
};
|
1263
|
-
const localVarHeaderParameter = {}
|
1264
|
-
const localVarQueryParameter = {}
|
1265
|
-
let body
|
1266
|
-
|
1006
|
+
const localVarHeaderParameter = {};
|
1007
|
+
const localVarQueryParameter = {};
|
1008
|
+
let body;
|
1267
1009
|
let projectId;
|
1268
|
-
|
1269
1010
|
let enterpriseProjectId;
|
1270
|
-
|
1271
1011
|
let fwInstanceId;
|
1272
|
-
|
1273
1012
|
if (addAddressItemsUsingPostRequest !== null && addAddressItemsUsingPostRequest !== undefined) {
|
1274
|
-
if (addAddressItemsUsingPostRequest instanceof AddAddressItemsUsingPostRequest) {
|
1013
|
+
if (addAddressItemsUsingPostRequest instanceof AddAddressItemsUsingPostRequest_1.AddAddressItemsUsingPostRequest) {
|
1275
1014
|
projectId = addAddressItemsUsingPostRequest.projectId;
|
1276
|
-
body = addAddressItemsUsingPostRequest.body
|
1015
|
+
body = addAddressItemsUsingPostRequest.body;
|
1277
1016
|
enterpriseProjectId = addAddressItemsUsingPostRequest.enterpriseProjectId;
|
1278
1017
|
fwInstanceId = addAddressItemsUsingPostRequest.fwInstanceId;
|
1279
|
-
}
|
1018
|
+
}
|
1019
|
+
else {
|
1280
1020
|
projectId = addAddressItemsUsingPostRequest['project_id'];
|
1281
1021
|
body = addAddressItemsUsingPostRequest['body'];
|
1282
1022
|
enterpriseProjectId = addAddressItemsUsingPostRequest['enterprise_project_id'];
|
1283
1023
|
fwInstanceId = addAddressItemsUsingPostRequest['fw_instance_id'];
|
1284
1024
|
}
|
1285
1025
|
}
|
1286
|
-
|
1287
|
-
|
1288
1026
|
if (projectId === null || projectId === undefined) {
|
1289
|
-
|
1027
|
+
throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling addAddressItemsUsingPost.');
|
1290
1028
|
}
|
1291
1029
|
if (body === null || body === undefined) {
|
1292
|
-
throw new RequiredError('body','Required parameter body was null or undefined when calling body.');
|
1030
|
+
throw new RequiredError('body', 'Required parameter body was null or undefined when calling body.');
|
1293
1031
|
}
|
1294
1032
|
if (enterpriseProjectId !== null && enterpriseProjectId !== undefined) {
|
1295
1033
|
localVarQueryParameter['enterprise_project_id'] = enterpriseProjectId;
|
@@ -1298,20 +1036,18 @@ export const ParamCreater = function () {
|
|
1298
1036
|
localVarQueryParameter['fw_instance_id'] = fwInstanceId;
|
1299
1037
|
}
|
1300
1038
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
1301
|
-
|
1302
1039
|
options.data = body !== undefined ? body : {};
|
1303
1040
|
options.queryParams = localVarQueryParameter;
|
1304
1041
|
options.pathParams = { 'project_id': projectId, };
|
1305
1042
|
options.headers = localVarHeaderParameter;
|
1306
1043
|
return options;
|
1307
1044
|
},
|
1308
|
-
|
1309
1045
|
/**
|
1310
1046
|
* 添加地址组
|
1311
|
-
*
|
1047
|
+
*
|
1312
1048
|
* Please refer to HUAWEI cloud API Explorer for details.
|
1313
1049
|
*/
|
1314
|
-
addAddressSetInfoUsingPost(addAddressSetInfoUsingPostRequest
|
1050
|
+
addAddressSetInfoUsingPost(addAddressSetInfoUsingPostRequest) {
|
1315
1051
|
const options = {
|
1316
1052
|
method: "POST",
|
1317
1053
|
url: "/v1/{project_id}/address-set",
|
@@ -1321,36 +1057,31 @@ export const ParamCreater = function () {
|
|
1321
1057
|
headers: {},
|
1322
1058
|
data: {}
|
1323
1059
|
};
|
1324
|
-
const localVarHeaderParameter = {}
|
1325
|
-
const localVarQueryParameter = {}
|
1326
|
-
let body
|
1327
|
-
|
1060
|
+
const localVarHeaderParameter = {};
|
1061
|
+
const localVarQueryParameter = {};
|
1062
|
+
let body;
|
1328
1063
|
let projectId;
|
1329
|
-
|
1330
1064
|
let enterpriseProjectId;
|
1331
|
-
|
1332
1065
|
let fwInstanceId;
|
1333
|
-
|
1334
1066
|
if (addAddressSetInfoUsingPostRequest !== null && addAddressSetInfoUsingPostRequest !== undefined) {
|
1335
|
-
if (addAddressSetInfoUsingPostRequest instanceof AddAddressSetInfoUsingPostRequest) {
|
1067
|
+
if (addAddressSetInfoUsingPostRequest instanceof AddAddressSetInfoUsingPostRequest_1.AddAddressSetInfoUsingPostRequest) {
|
1336
1068
|
projectId = addAddressSetInfoUsingPostRequest.projectId;
|
1337
|
-
body = addAddressSetInfoUsingPostRequest.body
|
1069
|
+
body = addAddressSetInfoUsingPostRequest.body;
|
1338
1070
|
enterpriseProjectId = addAddressSetInfoUsingPostRequest.enterpriseProjectId;
|
1339
1071
|
fwInstanceId = addAddressSetInfoUsingPostRequest.fwInstanceId;
|
1340
|
-
}
|
1072
|
+
}
|
1073
|
+
else {
|
1341
1074
|
projectId = addAddressSetInfoUsingPostRequest['project_id'];
|
1342
1075
|
body = addAddressSetInfoUsingPostRequest['body'];
|
1343
1076
|
enterpriseProjectId = addAddressSetInfoUsingPostRequest['enterprise_project_id'];
|
1344
1077
|
fwInstanceId = addAddressSetInfoUsingPostRequest['fw_instance_id'];
|
1345
1078
|
}
|
1346
1079
|
}
|
1347
|
-
|
1348
|
-
|
1349
1080
|
if (projectId === null || projectId === undefined) {
|
1350
|
-
|
1081
|
+
throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling addAddressSetInfoUsingPost.');
|
1351
1082
|
}
|
1352
1083
|
if (body === null || body === undefined) {
|
1353
|
-
throw new RequiredError('body','Required parameter body was null or undefined when calling body.');
|
1084
|
+
throw new RequiredError('body', 'Required parameter body was null or undefined when calling body.');
|
1354
1085
|
}
|
1355
1086
|
if (enterpriseProjectId !== null && enterpriseProjectId !== undefined) {
|
1356
1087
|
localVarQueryParameter['enterprise_project_id'] = enterpriseProjectId;
|
@@ -1359,20 +1090,18 @@ export const ParamCreater = function () {
|
|
1359
1090
|
localVarQueryParameter['fw_instance_id'] = fwInstanceId;
|
1360
1091
|
}
|
1361
1092
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
1362
|
-
|
1363
1093
|
options.data = body !== undefined ? body : {};
|
1364
1094
|
options.queryParams = localVarQueryParameter;
|
1365
1095
|
options.pathParams = { 'project_id': projectId, };
|
1366
1096
|
options.headers = localVarHeaderParameter;
|
1367
1097
|
return options;
|
1368
1098
|
},
|
1369
|
-
|
1370
1099
|
/**
|
1371
1100
|
* 创建黑白名单规则
|
1372
|
-
*
|
1101
|
+
*
|
1373
1102
|
* Please refer to HUAWEI cloud API Explorer for details.
|
1374
1103
|
*/
|
1375
|
-
addBlackWhiteListUsingPost(addBlackWhiteListUsingPostRequest
|
1104
|
+
addBlackWhiteListUsingPost(addBlackWhiteListUsingPostRequest) {
|
1376
1105
|
const options = {
|
1377
1106
|
method: "POST",
|
1378
1107
|
url: "/v1/{project_id}/black-white-list",
|
@@ -1382,36 +1111,31 @@ export const ParamCreater = function () {
|
|
1382
1111
|
headers: {},
|
1383
1112
|
data: {}
|
1384
1113
|
};
|
1385
|
-
const localVarHeaderParameter = {}
|
1386
|
-
const localVarQueryParameter = {}
|
1387
|
-
let body
|
1388
|
-
|
1114
|
+
const localVarHeaderParameter = {};
|
1115
|
+
const localVarQueryParameter = {};
|
1116
|
+
let body;
|
1389
1117
|
let projectId;
|
1390
|
-
|
1391
1118
|
let enterpriseProjectId;
|
1392
|
-
|
1393
1119
|
let fwInstanceId;
|
1394
|
-
|
1395
1120
|
if (addBlackWhiteListUsingPostRequest !== null && addBlackWhiteListUsingPostRequest !== undefined) {
|
1396
|
-
if (addBlackWhiteListUsingPostRequest instanceof AddBlackWhiteListUsingPostRequest) {
|
1121
|
+
if (addBlackWhiteListUsingPostRequest instanceof AddBlackWhiteListUsingPostRequest_1.AddBlackWhiteListUsingPostRequest) {
|
1397
1122
|
projectId = addBlackWhiteListUsingPostRequest.projectId;
|
1398
|
-
body = addBlackWhiteListUsingPostRequest.body
|
1123
|
+
body = addBlackWhiteListUsingPostRequest.body;
|
1399
1124
|
enterpriseProjectId = addBlackWhiteListUsingPostRequest.enterpriseProjectId;
|
1400
1125
|
fwInstanceId = addBlackWhiteListUsingPostRequest.fwInstanceId;
|
1401
|
-
}
|
1126
|
+
}
|
1127
|
+
else {
|
1402
1128
|
projectId = addBlackWhiteListUsingPostRequest['project_id'];
|
1403
1129
|
body = addBlackWhiteListUsingPostRequest['body'];
|
1404
1130
|
enterpriseProjectId = addBlackWhiteListUsingPostRequest['enterprise_project_id'];
|
1405
1131
|
fwInstanceId = addBlackWhiteListUsingPostRequest['fw_instance_id'];
|
1406
1132
|
}
|
1407
1133
|
}
|
1408
|
-
|
1409
|
-
|
1410
1134
|
if (projectId === null || projectId === undefined) {
|
1411
|
-
|
1135
|
+
throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling addBlackWhiteListUsingPost.');
|
1412
1136
|
}
|
1413
1137
|
if (body === null || body === undefined) {
|
1414
|
-
throw new RequiredError('body','Required parameter body was null or undefined when calling body.');
|
1138
|
+
throw new RequiredError('body', 'Required parameter body was null or undefined when calling body.');
|
1415
1139
|
}
|
1416
1140
|
if (enterpriseProjectId !== null && enterpriseProjectId !== undefined) {
|
1417
1141
|
localVarQueryParameter['enterprise_project_id'] = enterpriseProjectId;
|
@@ -1420,20 +1144,18 @@ export const ParamCreater = function () {
|
|
1420
1144
|
localVarQueryParameter['fw_instance_id'] = fwInstanceId;
|
1421
1145
|
}
|
1422
1146
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
1423
|
-
|
1424
1147
|
options.data = body !== undefined ? body : {};
|
1425
1148
|
options.queryParams = localVarQueryParameter;
|
1426
1149
|
options.pathParams = { 'project_id': projectId, };
|
1427
1150
|
options.headers = localVarHeaderParameter;
|
1428
1151
|
return options;
|
1429
1152
|
},
|
1430
|
-
|
1431
1153
|
/**
|
1432
1154
|
* 批量添加服务组成员
|
1433
|
-
*
|
1155
|
+
*
|
1434
1156
|
* Please refer to HUAWEI cloud API Explorer for details.
|
1435
1157
|
*/
|
1436
|
-
addServiceItemsUsingPost(addServiceItemsUsingPostRequest
|
1158
|
+
addServiceItemsUsingPost(addServiceItemsUsingPostRequest) {
|
1437
1159
|
const options = {
|
1438
1160
|
method: "POST",
|
1439
1161
|
url: "/v1/{project_id}/service-items",
|
@@ -1443,36 +1165,31 @@ export const ParamCreater = function () {
|
|
1443
1165
|
headers: {},
|
1444
1166
|
data: {}
|
1445
1167
|
};
|
1446
|
-
const localVarHeaderParameter = {}
|
1447
|
-
const localVarQueryParameter = {}
|
1448
|
-
let body
|
1449
|
-
|
1168
|
+
const localVarHeaderParameter = {};
|
1169
|
+
const localVarQueryParameter = {};
|
1170
|
+
let body;
|
1450
1171
|
let projectId;
|
1451
|
-
|
1452
1172
|
let enterpriseProjectId;
|
1453
|
-
|
1454
1173
|
let fwInstanceId;
|
1455
|
-
|
1456
1174
|
if (addServiceItemsUsingPostRequest !== null && addServiceItemsUsingPostRequest !== undefined) {
|
1457
|
-
if (addServiceItemsUsingPostRequest instanceof AddServiceItemsUsingPostRequest) {
|
1175
|
+
if (addServiceItemsUsingPostRequest instanceof AddServiceItemsUsingPostRequest_1.AddServiceItemsUsingPostRequest) {
|
1458
1176
|
projectId = addServiceItemsUsingPostRequest.projectId;
|
1459
|
-
body = addServiceItemsUsingPostRequest.body
|
1177
|
+
body = addServiceItemsUsingPostRequest.body;
|
1460
1178
|
enterpriseProjectId = addServiceItemsUsingPostRequest.enterpriseProjectId;
|
1461
1179
|
fwInstanceId = addServiceItemsUsingPostRequest.fwInstanceId;
|
1462
|
-
}
|
1180
|
+
}
|
1181
|
+
else {
|
1463
1182
|
projectId = addServiceItemsUsingPostRequest['project_id'];
|
1464
1183
|
body = addServiceItemsUsingPostRequest['body'];
|
1465
1184
|
enterpriseProjectId = addServiceItemsUsingPostRequest['enterprise_project_id'];
|
1466
1185
|
fwInstanceId = addServiceItemsUsingPostRequest['fw_instance_id'];
|
1467
1186
|
}
|
1468
1187
|
}
|
1469
|
-
|
1470
|
-
|
1471
1188
|
if (projectId === null || projectId === undefined) {
|
1472
|
-
|
1189
|
+
throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling addServiceItemsUsingPost.');
|
1473
1190
|
}
|
1474
1191
|
if (body === null || body === undefined) {
|
1475
|
-
throw new RequiredError('body','Required parameter body was null or undefined when calling body.');
|
1192
|
+
throw new RequiredError('body', 'Required parameter body was null or undefined when calling body.');
|
1476
1193
|
}
|
1477
1194
|
if (enterpriseProjectId !== null && enterpriseProjectId !== undefined) {
|
1478
1195
|
localVarQueryParameter['enterprise_project_id'] = enterpriseProjectId;
|
@@ -1481,20 +1198,18 @@ export const ParamCreater = function () {
|
|
1481
1198
|
localVarQueryParameter['fw_instance_id'] = fwInstanceId;
|
1482
1199
|
}
|
1483
1200
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
1484
|
-
|
1485
1201
|
options.data = body !== undefined ? body : {};
|
1486
1202
|
options.queryParams = localVarQueryParameter;
|
1487
1203
|
options.pathParams = { 'project_id': projectId, };
|
1488
1204
|
options.headers = localVarHeaderParameter;
|
1489
1205
|
return options;
|
1490
1206
|
},
|
1491
|
-
|
1492
1207
|
/**
|
1493
1208
|
* 创建服务组
|
1494
|
-
*
|
1209
|
+
*
|
1495
1210
|
* Please refer to HUAWEI cloud API Explorer for details.
|
1496
1211
|
*/
|
1497
|
-
addServiceSetUsingPost(addServiceSetUsingPostRequest
|
1212
|
+
addServiceSetUsingPost(addServiceSetUsingPostRequest) {
|
1498
1213
|
const options = {
|
1499
1214
|
method: "POST",
|
1500
1215
|
url: "/v1/{project_id}/service-set",
|
@@ -1504,36 +1219,31 @@ export const ParamCreater = function () {
|
|
1504
1219
|
headers: {},
|
1505
1220
|
data: {}
|
1506
1221
|
};
|
1507
|
-
const localVarHeaderParameter = {}
|
1508
|
-
const localVarQueryParameter = {}
|
1509
|
-
let body
|
1510
|
-
|
1222
|
+
const localVarHeaderParameter = {};
|
1223
|
+
const localVarQueryParameter = {};
|
1224
|
+
let body;
|
1511
1225
|
let projectId;
|
1512
|
-
|
1513
1226
|
let enterpriseProjectId;
|
1514
|
-
|
1515
1227
|
let fwInstanceId;
|
1516
|
-
|
1517
1228
|
if (addServiceSetUsingPostRequest !== null && addServiceSetUsingPostRequest !== undefined) {
|
1518
|
-
if (addServiceSetUsingPostRequest instanceof AddServiceSetUsingPostRequest) {
|
1229
|
+
if (addServiceSetUsingPostRequest instanceof AddServiceSetUsingPostRequest_1.AddServiceSetUsingPostRequest) {
|
1519
1230
|
projectId = addServiceSetUsingPostRequest.projectId;
|
1520
|
-
body = addServiceSetUsingPostRequest.body
|
1231
|
+
body = addServiceSetUsingPostRequest.body;
|
1521
1232
|
enterpriseProjectId = addServiceSetUsingPostRequest.enterpriseProjectId;
|
1522
1233
|
fwInstanceId = addServiceSetUsingPostRequest.fwInstanceId;
|
1523
|
-
}
|
1234
|
+
}
|
1235
|
+
else {
|
1524
1236
|
projectId = addServiceSetUsingPostRequest['project_id'];
|
1525
1237
|
body = addServiceSetUsingPostRequest['body'];
|
1526
1238
|
enterpriseProjectId = addServiceSetUsingPostRequest['enterprise_project_id'];
|
1527
1239
|
fwInstanceId = addServiceSetUsingPostRequest['fw_instance_id'];
|
1528
1240
|
}
|
1529
1241
|
}
|
1530
|
-
|
1531
|
-
|
1532
1242
|
if (projectId === null || projectId === undefined) {
|
1533
|
-
|
1243
|
+
throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling addServiceSetUsingPost.');
|
1534
1244
|
}
|
1535
1245
|
if (body === null || body === undefined) {
|
1536
|
-
throw new RequiredError('body','Required parameter body was null or undefined when calling body.');
|
1246
|
+
throw new RequiredError('body', 'Required parameter body was null or undefined when calling body.');
|
1537
1247
|
}
|
1538
1248
|
if (enterpriseProjectId !== null && enterpriseProjectId !== undefined) {
|
1539
1249
|
localVarQueryParameter['enterprise_project_id'] = enterpriseProjectId;
|
@@ -1542,20 +1252,18 @@ export const ParamCreater = function () {
|
|
1542
1252
|
localVarQueryParameter['fw_instance_id'] = fwInstanceId;
|
1543
1253
|
}
|
1544
1254
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
1545
|
-
|
1546
1255
|
options.data = body !== undefined ? body : {};
|
1547
1256
|
options.queryParams = localVarQueryParameter;
|
1548
1257
|
options.pathParams = { 'project_id': projectId, };
|
1549
1258
|
options.headers = localVarHeaderParameter;
|
1550
1259
|
return options;
|
1551
1260
|
},
|
1552
|
-
|
1553
1261
|
/**
|
1554
1262
|
* 东西向防护资源防护开启/关闭
|
1555
|
-
*
|
1263
|
+
*
|
1556
1264
|
* Please refer to HUAWEI cloud API Explorer for details.
|
1557
1265
|
*/
|
1558
|
-
changeEwProtectStatus(changeEwProtectStatusRequest
|
1266
|
+
changeEwProtectStatus(changeEwProtectStatusRequest) {
|
1559
1267
|
const options = {
|
1560
1268
|
method: "POST",
|
1561
1269
|
url: "/v1/{project_id}/firewall/east-west/protect",
|
@@ -1565,36 +1273,31 @@ export const ParamCreater = function () {
|
|
1565
1273
|
headers: {},
|
1566
1274
|
data: {}
|
1567
1275
|
};
|
1568
|
-
const localVarHeaderParameter = {}
|
1569
|
-
const localVarQueryParameter = {}
|
1570
|
-
let body
|
1571
|
-
|
1276
|
+
const localVarHeaderParameter = {};
|
1277
|
+
const localVarQueryParameter = {};
|
1278
|
+
let body;
|
1572
1279
|
let projectId;
|
1573
|
-
|
1574
1280
|
let enterpriseProjectId;
|
1575
|
-
|
1576
1281
|
let fwInstanceId;
|
1577
|
-
|
1578
1282
|
if (changeEwProtectStatusRequest !== null && changeEwProtectStatusRequest !== undefined) {
|
1579
|
-
if (changeEwProtectStatusRequest instanceof ChangeEwProtectStatusRequest) {
|
1283
|
+
if (changeEwProtectStatusRequest instanceof ChangeEwProtectStatusRequest_1.ChangeEwProtectStatusRequest) {
|
1580
1284
|
projectId = changeEwProtectStatusRequest.projectId;
|
1581
|
-
body = changeEwProtectStatusRequest.body
|
1285
|
+
body = changeEwProtectStatusRequest.body;
|
1582
1286
|
enterpriseProjectId = changeEwProtectStatusRequest.enterpriseProjectId;
|
1583
1287
|
fwInstanceId = changeEwProtectStatusRequest.fwInstanceId;
|
1584
|
-
}
|
1288
|
+
}
|
1289
|
+
else {
|
1585
1290
|
projectId = changeEwProtectStatusRequest['project_id'];
|
1586
1291
|
body = changeEwProtectStatusRequest['body'];
|
1587
1292
|
enterpriseProjectId = changeEwProtectStatusRequest['enterprise_project_id'];
|
1588
1293
|
fwInstanceId = changeEwProtectStatusRequest['fw_instance_id'];
|
1589
1294
|
}
|
1590
1295
|
}
|
1591
|
-
|
1592
|
-
|
1593
1296
|
if (projectId === null || projectId === undefined) {
|
1594
|
-
|
1297
|
+
throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling changeEwProtectStatus.');
|
1595
1298
|
}
|
1596
1299
|
if (body === null || body === undefined) {
|
1597
|
-
throw new RequiredError('body','Required parameter body was null or undefined when calling body.');
|
1300
|
+
throw new RequiredError('body', 'Required parameter body was null or undefined when calling body.');
|
1598
1301
|
}
|
1599
1302
|
if (enterpriseProjectId !== null && enterpriseProjectId !== undefined) {
|
1600
1303
|
localVarQueryParameter['enterprise_project_id'] = enterpriseProjectId;
|
@@ -1603,20 +1306,18 @@ export const ParamCreater = function () {
|
|
1603
1306
|
localVarQueryParameter['fw_instance_id'] = fwInstanceId;
|
1604
1307
|
}
|
1605
1308
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
1606
|
-
|
1607
1309
|
options.data = body !== undefined ? body : {};
|
1608
1310
|
options.queryParams = localVarQueryParameter;
|
1609
1311
|
options.pathParams = { 'project_id': projectId, };
|
1610
1312
|
options.headers = localVarHeaderParameter;
|
1611
1313
|
return options;
|
1612
1314
|
},
|
1613
|
-
|
1614
1315
|
/**
|
1615
1316
|
* 切换防护模式
|
1616
|
-
*
|
1317
|
+
*
|
1617
1318
|
* Please refer to HUAWEI cloud API Explorer for details.
|
1618
1319
|
*/
|
1619
|
-
changeIpsProtectModeUsingPost(changeIpsProtectModeUsingPostRequest
|
1320
|
+
changeIpsProtectModeUsingPost(changeIpsProtectModeUsingPostRequest) {
|
1620
1321
|
const options = {
|
1621
1322
|
method: "POST",
|
1622
1323
|
url: "/v1/{project_id}/ips/protect",
|
@@ -1626,36 +1327,31 @@ export const ParamCreater = function () {
|
|
1626
1327
|
headers: {},
|
1627
1328
|
data: {}
|
1628
1329
|
};
|
1629
|
-
const localVarHeaderParameter = {}
|
1630
|
-
const localVarQueryParameter = {}
|
1631
|
-
let body
|
1632
|
-
|
1330
|
+
const localVarHeaderParameter = {};
|
1331
|
+
const localVarQueryParameter = {};
|
1332
|
+
let body;
|
1633
1333
|
let projectId;
|
1634
|
-
|
1635
1334
|
let enterpriseProjectId;
|
1636
|
-
|
1637
1335
|
let fwInstanceId;
|
1638
|
-
|
1639
1336
|
if (changeIpsProtectModeUsingPostRequest !== null && changeIpsProtectModeUsingPostRequest !== undefined) {
|
1640
|
-
if (changeIpsProtectModeUsingPostRequest instanceof ChangeIpsProtectModeUsingPostRequest) {
|
1337
|
+
if (changeIpsProtectModeUsingPostRequest instanceof ChangeIpsProtectModeUsingPostRequest_1.ChangeIpsProtectModeUsingPostRequest) {
|
1641
1338
|
projectId = changeIpsProtectModeUsingPostRequest.projectId;
|
1642
|
-
body = changeIpsProtectModeUsingPostRequest.body
|
1339
|
+
body = changeIpsProtectModeUsingPostRequest.body;
|
1643
1340
|
enterpriseProjectId = changeIpsProtectModeUsingPostRequest.enterpriseProjectId;
|
1644
1341
|
fwInstanceId = changeIpsProtectModeUsingPostRequest.fwInstanceId;
|
1645
|
-
}
|
1342
|
+
}
|
1343
|
+
else {
|
1646
1344
|
projectId = changeIpsProtectModeUsingPostRequest['project_id'];
|
1647
1345
|
body = changeIpsProtectModeUsingPostRequest['body'];
|
1648
1346
|
enterpriseProjectId = changeIpsProtectModeUsingPostRequest['enterprise_project_id'];
|
1649
1347
|
fwInstanceId = changeIpsProtectModeUsingPostRequest['fw_instance_id'];
|
1650
1348
|
}
|
1651
1349
|
}
|
1652
|
-
|
1653
|
-
|
1654
1350
|
if (projectId === null || projectId === undefined) {
|
1655
|
-
|
1351
|
+
throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling changeIpsProtectModeUsingPost.');
|
1656
1352
|
}
|
1657
1353
|
if (body === null || body === undefined) {
|
1658
|
-
throw new RequiredError('body','Required parameter body was null or undefined when calling body.');
|
1354
|
+
throw new RequiredError('body', 'Required parameter body was null or undefined when calling body.');
|
1659
1355
|
}
|
1660
1356
|
if (enterpriseProjectId !== null && enterpriseProjectId !== undefined) {
|
1661
1357
|
localVarQueryParameter['enterprise_project_id'] = enterpriseProjectId;
|
@@ -1664,20 +1360,18 @@ export const ParamCreater = function () {
|
|
1664
1360
|
localVarQueryParameter['fw_instance_id'] = fwInstanceId;
|
1665
1361
|
}
|
1666
1362
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
1667
|
-
|
1668
1363
|
options.data = body !== undefined ? body : {};
|
1669
1364
|
options.queryParams = localVarQueryParameter;
|
1670
1365
|
options.pathParams = { 'project_id': projectId, };
|
1671
1366
|
options.headers = localVarHeaderParameter;
|
1672
1367
|
return options;
|
1673
1368
|
},
|
1674
|
-
|
1675
1369
|
/**
|
1676
1370
|
* 清除规则击中次数
|
1677
|
-
*
|
1371
|
+
*
|
1678
1372
|
* Please refer to HUAWEI cloud API Explorer for details.
|
1679
1373
|
*/
|
1680
|
-
deleteAclRuleCount(deleteAclRuleCountRequest
|
1374
|
+
deleteAclRuleCount(deleteAclRuleCountRequest) {
|
1681
1375
|
const options = {
|
1682
1376
|
method: "DELETE",
|
1683
1377
|
url: "/v1/{project_id}/acl-rule/count",
|
@@ -1687,36 +1381,31 @@ export const ParamCreater = function () {
|
|
1687
1381
|
headers: {},
|
1688
1382
|
data: {}
|
1689
1383
|
};
|
1690
|
-
const localVarHeaderParameter = {}
|
1691
|
-
const localVarQueryParameter = {}
|
1692
|
-
let body
|
1693
|
-
|
1384
|
+
const localVarHeaderParameter = {};
|
1385
|
+
const localVarQueryParameter = {};
|
1386
|
+
let body;
|
1694
1387
|
let projectId;
|
1695
|
-
|
1696
1388
|
let enterpriseProjectId;
|
1697
|
-
|
1698
1389
|
let fwInstanceId;
|
1699
|
-
|
1700
1390
|
if (deleteAclRuleCountRequest !== null && deleteAclRuleCountRequest !== undefined) {
|
1701
|
-
if (deleteAclRuleCountRequest instanceof DeleteAclRuleCountRequest) {
|
1391
|
+
if (deleteAclRuleCountRequest instanceof DeleteAclRuleCountRequest_1.DeleteAclRuleCountRequest) {
|
1702
1392
|
projectId = deleteAclRuleCountRequest.projectId;
|
1703
|
-
body = deleteAclRuleCountRequest.body
|
1393
|
+
body = deleteAclRuleCountRequest.body;
|
1704
1394
|
enterpriseProjectId = deleteAclRuleCountRequest.enterpriseProjectId;
|
1705
1395
|
fwInstanceId = deleteAclRuleCountRequest.fwInstanceId;
|
1706
|
-
}
|
1396
|
+
}
|
1397
|
+
else {
|
1707
1398
|
projectId = deleteAclRuleCountRequest['project_id'];
|
1708
1399
|
body = deleteAclRuleCountRequest['body'];
|
1709
1400
|
enterpriseProjectId = deleteAclRuleCountRequest['enterprise_project_id'];
|
1710
1401
|
fwInstanceId = deleteAclRuleCountRequest['fw_instance_id'];
|
1711
1402
|
}
|
1712
1403
|
}
|
1713
|
-
|
1714
|
-
|
1715
1404
|
if (projectId === null || projectId === undefined) {
|
1716
|
-
|
1405
|
+
throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling deleteAclRuleCount.');
|
1717
1406
|
}
|
1718
1407
|
if (body === null || body === undefined) {
|
1719
|
-
throw new RequiredError('body','Required parameter body was null or undefined when calling body.');
|
1408
|
+
throw new RequiredError('body', 'Required parameter body was null or undefined when calling body.');
|
1720
1409
|
}
|
1721
1410
|
if (enterpriseProjectId !== null && enterpriseProjectId !== undefined) {
|
1722
1411
|
localVarQueryParameter['enterprise_project_id'] = enterpriseProjectId;
|
@@ -1725,20 +1414,18 @@ export const ParamCreater = function () {
|
|
1725
1414
|
localVarQueryParameter['fw_instance_id'] = fwInstanceId;
|
1726
1415
|
}
|
1727
1416
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
1728
|
-
|
1729
1417
|
options.data = body !== undefined ? body : {};
|
1730
1418
|
options.queryParams = localVarQueryParameter;
|
1731
1419
|
options.pathParams = { 'project_id': projectId, };
|
1732
1420
|
options.headers = localVarHeaderParameter;
|
1733
1421
|
return options;
|
1734
1422
|
},
|
1735
|
-
|
1736
1423
|
/**
|
1737
1424
|
* 删除地址组成员
|
1738
|
-
*
|
1425
|
+
*
|
1739
1426
|
* Please refer to HUAWEI cloud API Explorer for details.
|
1740
1427
|
*/
|
1741
|
-
deleteAddressItemUsingDelete(deleteAddressItemUsingDeleteRequest
|
1428
|
+
deleteAddressItemUsingDelete(deleteAddressItemUsingDeleteRequest) {
|
1742
1429
|
const options = {
|
1743
1430
|
method: "DELETE",
|
1744
1431
|
url: "/v1/{project_id}/address-items/{item_id}",
|
@@ -1747,37 +1434,31 @@ export const ParamCreater = function () {
|
|
1747
1434
|
pathParams: {},
|
1748
1435
|
headers: {}
|
1749
1436
|
};
|
1750
|
-
const localVarHeaderParameter = {}
|
1751
|
-
const localVarQueryParameter = {}
|
1752
|
-
|
1437
|
+
const localVarHeaderParameter = {};
|
1438
|
+
const localVarQueryParameter = {};
|
1753
1439
|
let itemId;
|
1754
|
-
|
1755
1440
|
let projectId;
|
1756
|
-
|
1757
1441
|
let enterpriseProjectId;
|
1758
|
-
|
1759
1442
|
let fwInstanceId;
|
1760
|
-
|
1761
1443
|
if (deleteAddressItemUsingDeleteRequest !== null && deleteAddressItemUsingDeleteRequest !== undefined) {
|
1762
|
-
if (deleteAddressItemUsingDeleteRequest instanceof DeleteAddressItemUsingDeleteRequest) {
|
1444
|
+
if (deleteAddressItemUsingDeleteRequest instanceof DeleteAddressItemUsingDeleteRequest_1.DeleteAddressItemUsingDeleteRequest) {
|
1763
1445
|
itemId = deleteAddressItemUsingDeleteRequest.itemId;
|
1764
1446
|
projectId = deleteAddressItemUsingDeleteRequest.projectId;
|
1765
1447
|
enterpriseProjectId = deleteAddressItemUsingDeleteRequest.enterpriseProjectId;
|
1766
1448
|
fwInstanceId = deleteAddressItemUsingDeleteRequest.fwInstanceId;
|
1767
|
-
}
|
1449
|
+
}
|
1450
|
+
else {
|
1768
1451
|
itemId = deleteAddressItemUsingDeleteRequest['item_id'];
|
1769
1452
|
projectId = deleteAddressItemUsingDeleteRequest['project_id'];
|
1770
1453
|
enterpriseProjectId = deleteAddressItemUsingDeleteRequest['enterprise_project_id'];
|
1771
1454
|
fwInstanceId = deleteAddressItemUsingDeleteRequest['fw_instance_id'];
|
1772
1455
|
}
|
1773
1456
|
}
|
1774
|
-
|
1775
|
-
|
1776
1457
|
if (itemId === null || itemId === undefined) {
|
1777
|
-
|
1458
|
+
throw new RequiredError('itemId', 'Required parameter itemId was null or undefined when calling deleteAddressItemUsingDelete.');
|
1778
1459
|
}
|
1779
1460
|
if (projectId === null || projectId === undefined) {
|
1780
|
-
|
1461
|
+
throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling deleteAddressItemUsingDelete.');
|
1781
1462
|
}
|
1782
1463
|
if (enterpriseProjectId !== null && enterpriseProjectId !== undefined) {
|
1783
1464
|
localVarQueryParameter['enterprise_project_id'] = enterpriseProjectId;
|
@@ -1785,19 +1466,17 @@ export const ParamCreater = function () {
|
|
1785
1466
|
if (fwInstanceId !== null && fwInstanceId !== undefined) {
|
1786
1467
|
localVarQueryParameter['fw_instance_id'] = fwInstanceId;
|
1787
1468
|
}
|
1788
|
-
|
1789
1469
|
options.queryParams = localVarQueryParameter;
|
1790
|
-
options.pathParams = { 'item_id': itemId,'project_id': projectId, };
|
1470
|
+
options.pathParams = { 'item_id': itemId, 'project_id': projectId, };
|
1791
1471
|
options.headers = localVarHeaderParameter;
|
1792
1472
|
return options;
|
1793
1473
|
},
|
1794
|
-
|
1795
1474
|
/**
|
1796
1475
|
* 删除地址组
|
1797
|
-
*
|
1476
|
+
*
|
1798
1477
|
* Please refer to HUAWEI cloud API Explorer for details.
|
1799
1478
|
*/
|
1800
|
-
deleteAddressSetInfoUsingDelete(deleteAddressSetInfoUsingDeleteRequest
|
1479
|
+
deleteAddressSetInfoUsingDelete(deleteAddressSetInfoUsingDeleteRequest) {
|
1801
1480
|
const options = {
|
1802
1481
|
method: "DELETE",
|
1803
1482
|
url: "/v1/{project_id}/address-sets/{set_id}",
|
@@ -1806,37 +1485,31 @@ export const ParamCreater = function () {
|
|
1806
1485
|
pathParams: {},
|
1807
1486
|
headers: {}
|
1808
1487
|
};
|
1809
|
-
const localVarHeaderParameter = {}
|
1810
|
-
const localVarQueryParameter = {}
|
1811
|
-
|
1488
|
+
const localVarHeaderParameter = {};
|
1489
|
+
const localVarQueryParameter = {};
|
1812
1490
|
let projectId;
|
1813
|
-
|
1814
1491
|
let setId;
|
1815
|
-
|
1816
1492
|
let enterpriseProjectId;
|
1817
|
-
|
1818
1493
|
let fwInstanceId;
|
1819
|
-
|
1820
1494
|
if (deleteAddressSetInfoUsingDeleteRequest !== null && deleteAddressSetInfoUsingDeleteRequest !== undefined) {
|
1821
|
-
if (deleteAddressSetInfoUsingDeleteRequest instanceof DeleteAddressSetInfoUsingDeleteRequest) {
|
1495
|
+
if (deleteAddressSetInfoUsingDeleteRequest instanceof DeleteAddressSetInfoUsingDeleteRequest_1.DeleteAddressSetInfoUsingDeleteRequest) {
|
1822
1496
|
projectId = deleteAddressSetInfoUsingDeleteRequest.projectId;
|
1823
1497
|
setId = deleteAddressSetInfoUsingDeleteRequest.setId;
|
1824
1498
|
enterpriseProjectId = deleteAddressSetInfoUsingDeleteRequest.enterpriseProjectId;
|
1825
1499
|
fwInstanceId = deleteAddressSetInfoUsingDeleteRequest.fwInstanceId;
|
1826
|
-
}
|
1500
|
+
}
|
1501
|
+
else {
|
1827
1502
|
projectId = deleteAddressSetInfoUsingDeleteRequest['project_id'];
|
1828
1503
|
setId = deleteAddressSetInfoUsingDeleteRequest['set_id'];
|
1829
1504
|
enterpriseProjectId = deleteAddressSetInfoUsingDeleteRequest['enterprise_project_id'];
|
1830
1505
|
fwInstanceId = deleteAddressSetInfoUsingDeleteRequest['fw_instance_id'];
|
1831
1506
|
}
|
1832
1507
|
}
|
1833
|
-
|
1834
|
-
|
1835
1508
|
if (projectId === null || projectId === undefined) {
|
1836
|
-
|
1509
|
+
throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling deleteAddressSetInfoUsingDelete.');
|
1837
1510
|
}
|
1838
1511
|
if (setId === null || setId === undefined) {
|
1839
|
-
|
1512
|
+
throw new RequiredError('setId', 'Required parameter setId was null or undefined when calling deleteAddressSetInfoUsingDelete.');
|
1840
1513
|
}
|
1841
1514
|
if (enterpriseProjectId !== null && enterpriseProjectId !== undefined) {
|
1842
1515
|
localVarQueryParameter['enterprise_project_id'] = enterpriseProjectId;
|
@@ -1844,19 +1517,17 @@ export const ParamCreater = function () {
|
|
1844
1517
|
if (fwInstanceId !== null && fwInstanceId !== undefined) {
|
1845
1518
|
localVarQueryParameter['fw_instance_id'] = fwInstanceId;
|
1846
1519
|
}
|
1847
|
-
|
1848
1520
|
options.queryParams = localVarQueryParameter;
|
1849
|
-
options.pathParams = { 'project_id': projectId,'set_id': setId, };
|
1521
|
+
options.pathParams = { 'project_id': projectId, 'set_id': setId, };
|
1850
1522
|
options.headers = localVarHeaderParameter;
|
1851
1523
|
return options;
|
1852
1524
|
},
|
1853
|
-
|
1854
1525
|
/**
|
1855
1526
|
* 删除黑白名单规则
|
1856
|
-
*
|
1527
|
+
*
|
1857
1528
|
* Please refer to HUAWEI cloud API Explorer for details.
|
1858
1529
|
*/
|
1859
|
-
deleteBlackWhiteListUsingDelete(deleteBlackWhiteListUsingDeleteRequest
|
1530
|
+
deleteBlackWhiteListUsingDelete(deleteBlackWhiteListUsingDeleteRequest) {
|
1860
1531
|
const options = {
|
1861
1532
|
method: "DELETE",
|
1862
1533
|
url: "/v1/{project_id}/black-white-list/{list_id}",
|
@@ -1865,37 +1536,31 @@ export const ParamCreater = function () {
|
|
1865
1536
|
pathParams: {},
|
1866
1537
|
headers: {}
|
1867
1538
|
};
|
1868
|
-
const localVarHeaderParameter = {}
|
1869
|
-
const localVarQueryParameter = {}
|
1870
|
-
|
1539
|
+
const localVarHeaderParameter = {};
|
1540
|
+
const localVarQueryParameter = {};
|
1871
1541
|
let projectId;
|
1872
|
-
|
1873
1542
|
let listId;
|
1874
|
-
|
1875
1543
|
let enterpriseProjectId;
|
1876
|
-
|
1877
1544
|
let fwInstanceId;
|
1878
|
-
|
1879
1545
|
if (deleteBlackWhiteListUsingDeleteRequest !== null && deleteBlackWhiteListUsingDeleteRequest !== undefined) {
|
1880
|
-
if (deleteBlackWhiteListUsingDeleteRequest instanceof DeleteBlackWhiteListUsingDeleteRequest) {
|
1546
|
+
if (deleteBlackWhiteListUsingDeleteRequest instanceof DeleteBlackWhiteListUsingDeleteRequest_1.DeleteBlackWhiteListUsingDeleteRequest) {
|
1881
1547
|
projectId = deleteBlackWhiteListUsingDeleteRequest.projectId;
|
1882
1548
|
listId = deleteBlackWhiteListUsingDeleteRequest.listId;
|
1883
1549
|
enterpriseProjectId = deleteBlackWhiteListUsingDeleteRequest.enterpriseProjectId;
|
1884
1550
|
fwInstanceId = deleteBlackWhiteListUsingDeleteRequest.fwInstanceId;
|
1885
|
-
}
|
1551
|
+
}
|
1552
|
+
else {
|
1886
1553
|
projectId = deleteBlackWhiteListUsingDeleteRequest['project_id'];
|
1887
1554
|
listId = deleteBlackWhiteListUsingDeleteRequest['list_id'];
|
1888
1555
|
enterpriseProjectId = deleteBlackWhiteListUsingDeleteRequest['enterprise_project_id'];
|
1889
1556
|
fwInstanceId = deleteBlackWhiteListUsingDeleteRequest['fw_instance_id'];
|
1890
1557
|
}
|
1891
1558
|
}
|
1892
|
-
|
1893
|
-
|
1894
1559
|
if (projectId === null || projectId === undefined) {
|
1895
|
-
|
1560
|
+
throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling deleteBlackWhiteListUsingDelete.');
|
1896
1561
|
}
|
1897
1562
|
if (listId === null || listId === undefined) {
|
1898
|
-
|
1563
|
+
throw new RequiredError('listId', 'Required parameter listId was null or undefined when calling deleteBlackWhiteListUsingDelete.');
|
1899
1564
|
}
|
1900
1565
|
if (enterpriseProjectId !== null && enterpriseProjectId !== undefined) {
|
1901
1566
|
localVarQueryParameter['enterprise_project_id'] = enterpriseProjectId;
|
@@ -1903,19 +1568,17 @@ export const ParamCreater = function () {
|
|
1903
1568
|
if (fwInstanceId !== null && fwInstanceId !== undefined) {
|
1904
1569
|
localVarQueryParameter['fw_instance_id'] = fwInstanceId;
|
1905
1570
|
}
|
1906
|
-
|
1907
1571
|
options.queryParams = localVarQueryParameter;
|
1908
|
-
options.pathParams = { 'project_id': projectId,'list_id': listId, };
|
1572
|
+
options.pathParams = { 'project_id': projectId, 'list_id': listId, };
|
1909
1573
|
options.headers = localVarHeaderParameter;
|
1910
1574
|
return options;
|
1911
1575
|
},
|
1912
|
-
|
1913
1576
|
/**
|
1914
1577
|
* 删除服务组成员
|
1915
|
-
*
|
1578
|
+
*
|
1916
1579
|
* Please refer to HUAWEI cloud API Explorer for details.
|
1917
1580
|
*/
|
1918
|
-
deleteServiceItemUsingDelete(deleteServiceItemUsingDeleteRequest
|
1581
|
+
deleteServiceItemUsingDelete(deleteServiceItemUsingDeleteRequest) {
|
1919
1582
|
const options = {
|
1920
1583
|
method: "DELETE",
|
1921
1584
|
url: "/v1/{project_id}/service-items/{item_id}",
|
@@ -1924,37 +1587,31 @@ export const ParamCreater = function () {
|
|
1924
1587
|
pathParams: {},
|
1925
1588
|
headers: {}
|
1926
1589
|
};
|
1927
|
-
const localVarHeaderParameter = {}
|
1928
|
-
const localVarQueryParameter = {}
|
1929
|
-
|
1590
|
+
const localVarHeaderParameter = {};
|
1591
|
+
const localVarQueryParameter = {};
|
1930
1592
|
let projectId;
|
1931
|
-
|
1932
1593
|
let itemId;
|
1933
|
-
|
1934
1594
|
let enterpriseProjectId;
|
1935
|
-
|
1936
1595
|
let fwInstanceId;
|
1937
|
-
|
1938
1596
|
if (deleteServiceItemUsingDeleteRequest !== null && deleteServiceItemUsingDeleteRequest !== undefined) {
|
1939
|
-
if (deleteServiceItemUsingDeleteRequest instanceof DeleteServiceItemUsingDeleteRequest) {
|
1597
|
+
if (deleteServiceItemUsingDeleteRequest instanceof DeleteServiceItemUsingDeleteRequest_1.DeleteServiceItemUsingDeleteRequest) {
|
1940
1598
|
projectId = deleteServiceItemUsingDeleteRequest.projectId;
|
1941
1599
|
itemId = deleteServiceItemUsingDeleteRequest.itemId;
|
1942
1600
|
enterpriseProjectId = deleteServiceItemUsingDeleteRequest.enterpriseProjectId;
|
1943
1601
|
fwInstanceId = deleteServiceItemUsingDeleteRequest.fwInstanceId;
|
1944
|
-
}
|
1602
|
+
}
|
1603
|
+
else {
|
1945
1604
|
projectId = deleteServiceItemUsingDeleteRequest['project_id'];
|
1946
1605
|
itemId = deleteServiceItemUsingDeleteRequest['item_id'];
|
1947
1606
|
enterpriseProjectId = deleteServiceItemUsingDeleteRequest['enterprise_project_id'];
|
1948
1607
|
fwInstanceId = deleteServiceItemUsingDeleteRequest['fw_instance_id'];
|
1949
1608
|
}
|
1950
1609
|
}
|
1951
|
-
|
1952
|
-
|
1953
1610
|
if (projectId === null || projectId === undefined) {
|
1954
|
-
|
1611
|
+
throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling deleteServiceItemUsingDelete.');
|
1955
1612
|
}
|
1956
1613
|
if (itemId === null || itemId === undefined) {
|
1957
|
-
|
1614
|
+
throw new RequiredError('itemId', 'Required parameter itemId was null or undefined when calling deleteServiceItemUsingDelete.');
|
1958
1615
|
}
|
1959
1616
|
if (enterpriseProjectId !== null && enterpriseProjectId !== undefined) {
|
1960
1617
|
localVarQueryParameter['enterprise_project_id'] = enterpriseProjectId;
|
@@ -1962,19 +1619,17 @@ export const ParamCreater = function () {
|
|
1962
1619
|
if (fwInstanceId !== null && fwInstanceId !== undefined) {
|
1963
1620
|
localVarQueryParameter['fw_instance_id'] = fwInstanceId;
|
1964
1621
|
}
|
1965
|
-
|
1966
1622
|
options.queryParams = localVarQueryParameter;
|
1967
|
-
options.pathParams = { 'project_id': projectId,'item_id': itemId, };
|
1623
|
+
options.pathParams = { 'project_id': projectId, 'item_id': itemId, };
|
1968
1624
|
options.headers = localVarHeaderParameter;
|
1969
1625
|
return options;
|
1970
1626
|
},
|
1971
|
-
|
1972
1627
|
/**
|
1973
1628
|
* 删除服务组
|
1974
|
-
*
|
1629
|
+
*
|
1975
1630
|
* Please refer to HUAWEI cloud API Explorer for details.
|
1976
1631
|
*/
|
1977
|
-
deleteServiceSetUsingDelete(deleteServiceSetUsingDeleteRequest
|
1632
|
+
deleteServiceSetUsingDelete(deleteServiceSetUsingDeleteRequest) {
|
1978
1633
|
const options = {
|
1979
1634
|
method: "DELETE",
|
1980
1635
|
url: "/v1/{project_id}/service-sets/{set_id}",
|
@@ -1983,37 +1638,31 @@ export const ParamCreater = function () {
|
|
1983
1638
|
pathParams: {},
|
1984
1639
|
headers: {}
|
1985
1640
|
};
|
1986
|
-
const localVarHeaderParameter = {}
|
1987
|
-
const localVarQueryParameter = {}
|
1988
|
-
|
1641
|
+
const localVarHeaderParameter = {};
|
1642
|
+
const localVarQueryParameter = {};
|
1989
1643
|
let projectId;
|
1990
|
-
|
1991
1644
|
let setId;
|
1992
|
-
|
1993
1645
|
let enterpriseProjectId;
|
1994
|
-
|
1995
1646
|
let fwInstanceId;
|
1996
|
-
|
1997
1647
|
if (deleteServiceSetUsingDeleteRequest !== null && deleteServiceSetUsingDeleteRequest !== undefined) {
|
1998
|
-
if (deleteServiceSetUsingDeleteRequest instanceof DeleteServiceSetUsingDeleteRequest) {
|
1648
|
+
if (deleteServiceSetUsingDeleteRequest instanceof DeleteServiceSetUsingDeleteRequest_1.DeleteServiceSetUsingDeleteRequest) {
|
1999
1649
|
projectId = deleteServiceSetUsingDeleteRequest.projectId;
|
2000
1650
|
setId = deleteServiceSetUsingDeleteRequest.setId;
|
2001
1651
|
enterpriseProjectId = deleteServiceSetUsingDeleteRequest.enterpriseProjectId;
|
2002
1652
|
fwInstanceId = deleteServiceSetUsingDeleteRequest.fwInstanceId;
|
2003
|
-
}
|
1653
|
+
}
|
1654
|
+
else {
|
2004
1655
|
projectId = deleteServiceSetUsingDeleteRequest['project_id'];
|
2005
1656
|
setId = deleteServiceSetUsingDeleteRequest['set_id'];
|
2006
1657
|
enterpriseProjectId = deleteServiceSetUsingDeleteRequest['enterprise_project_id'];
|
2007
1658
|
fwInstanceId = deleteServiceSetUsingDeleteRequest['fw_instance_id'];
|
2008
1659
|
}
|
2009
1660
|
}
|
2010
|
-
|
2011
|
-
|
2012
1661
|
if (projectId === null || projectId === undefined) {
|
2013
|
-
|
1662
|
+
throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling deleteServiceSetUsingDelete.');
|
2014
1663
|
}
|
2015
1664
|
if (setId === null || setId === undefined) {
|
2016
|
-
|
1665
|
+
throw new RequiredError('setId', 'Required parameter setId was null or undefined when calling deleteServiceSetUsingDelete.');
|
2017
1666
|
}
|
2018
1667
|
if (enterpriseProjectId !== null && enterpriseProjectId !== undefined) {
|
2019
1668
|
localVarQueryParameter['enterprise_project_id'] = enterpriseProjectId;
|
@@ -2021,19 +1670,17 @@ export const ParamCreater = function () {
|
|
2021
1670
|
if (fwInstanceId !== null && fwInstanceId !== undefined) {
|
2022
1671
|
localVarQueryParameter['fw_instance_id'] = fwInstanceId;
|
2023
1672
|
}
|
2024
|
-
|
2025
1673
|
options.queryParams = localVarQueryParameter;
|
2026
|
-
options.pathParams = { 'project_id': projectId,'set_id': setId, };
|
1674
|
+
options.pathParams = { 'project_id': projectId, 'set_id': setId, };
|
2027
1675
|
options.headers = localVarHeaderParameter;
|
2028
1676
|
return options;
|
2029
1677
|
},
|
2030
|
-
|
2031
1678
|
/**
|
2032
1679
|
* 查询访问控制日志
|
2033
|
-
*
|
1680
|
+
*
|
2034
1681
|
* Please refer to HUAWEI cloud API Explorer for details.
|
2035
1682
|
*/
|
2036
|
-
listAccessControlLogs(listAccessControlLogsRequest
|
1683
|
+
listAccessControlLogs(listAccessControlLogsRequest) {
|
2037
1684
|
const options = {
|
2038
1685
|
method: "GET",
|
2039
1686
|
url: "/v1/{project_id}/cfw/logs/access-control",
|
@@ -2042,45 +1689,27 @@ export const ParamCreater = function () {
|
|
2042
1689
|
pathParams: {},
|
2043
1690
|
headers: {}
|
2044
1691
|
};
|
2045
|
-
const localVarHeaderParameter = {}
|
2046
|
-
const localVarQueryParameter = {}
|
2047
|
-
|
1692
|
+
const localVarHeaderParameter = {};
|
1693
|
+
const localVarQueryParameter = {};
|
2048
1694
|
let projectId;
|
2049
|
-
|
2050
1695
|
let fwInstanceId;
|
2051
|
-
|
2052
1696
|
let startTime;
|
2053
|
-
|
2054
1697
|
let endTime;
|
2055
|
-
|
2056
1698
|
let limit;
|
2057
|
-
|
2058
1699
|
let ruleId;
|
2059
|
-
|
2060
1700
|
let srcIp;
|
2061
|
-
|
2062
1701
|
let srcPort;
|
2063
|
-
|
2064
1702
|
let dstIp;
|
2065
|
-
|
2066
1703
|
let dstPort;
|
2067
|
-
|
2068
1704
|
let protocol;
|
2069
|
-
|
2070
1705
|
let app;
|
2071
|
-
|
2072
1706
|
let logId;
|
2073
|
-
|
2074
1707
|
let nextDate;
|
2075
|
-
|
2076
1708
|
let offset;
|
2077
|
-
|
2078
1709
|
let logType;
|
2079
|
-
|
2080
1710
|
let enterpriseProjectId;
|
2081
|
-
|
2082
1711
|
if (listAccessControlLogsRequest !== null && listAccessControlLogsRequest !== undefined) {
|
2083
|
-
if (listAccessControlLogsRequest instanceof ListAccessControlLogsRequest) {
|
1712
|
+
if (listAccessControlLogsRequest instanceof ListAccessControlLogsRequest_1.ListAccessControlLogsRequest) {
|
2084
1713
|
projectId = listAccessControlLogsRequest.projectId;
|
2085
1714
|
fwInstanceId = listAccessControlLogsRequest.fwInstanceId;
|
2086
1715
|
startTime = listAccessControlLogsRequest.startTime;
|
@@ -2098,7 +1727,8 @@ export const ParamCreater = function () {
|
|
2098
1727
|
offset = listAccessControlLogsRequest.offset;
|
2099
1728
|
logType = listAccessControlLogsRequest.logType;
|
2100
1729
|
enterpriseProjectId = listAccessControlLogsRequest.enterpriseProjectId;
|
2101
|
-
}
|
1730
|
+
}
|
1731
|
+
else {
|
2102
1732
|
projectId = listAccessControlLogsRequest['project_id'];
|
2103
1733
|
fwInstanceId = listAccessControlLogsRequest['fw_instance_id'];
|
2104
1734
|
startTime = listAccessControlLogsRequest['start_time'];
|
@@ -2118,31 +1748,29 @@ export const ParamCreater = function () {
|
|
2118
1748
|
enterpriseProjectId = listAccessControlLogsRequest['enterprise_project_id'];
|
2119
1749
|
}
|
2120
1750
|
}
|
2121
|
-
|
2122
|
-
|
2123
1751
|
if (projectId === null || projectId === undefined) {
|
2124
|
-
|
1752
|
+
throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling listAccessControlLogs.');
|
2125
1753
|
}
|
2126
1754
|
if (fwInstanceId === null || fwInstanceId === undefined) {
|
2127
|
-
throw new RequiredError('fwInstanceId','Required parameter fwInstanceId was null or undefined when calling listAccessControlLogs.');
|
1755
|
+
throw new RequiredError('fwInstanceId', 'Required parameter fwInstanceId was null or undefined when calling listAccessControlLogs.');
|
2128
1756
|
}
|
2129
1757
|
if (fwInstanceId !== null && fwInstanceId !== undefined) {
|
2130
1758
|
localVarQueryParameter['fw_instance_id'] = fwInstanceId;
|
2131
1759
|
}
|
2132
1760
|
if (startTime === null || startTime === undefined) {
|
2133
|
-
throw new RequiredError('startTime','Required parameter startTime was null or undefined when calling listAccessControlLogs.');
|
1761
|
+
throw new RequiredError('startTime', 'Required parameter startTime was null or undefined when calling listAccessControlLogs.');
|
2134
1762
|
}
|
2135
1763
|
if (startTime !== null && startTime !== undefined) {
|
2136
1764
|
localVarQueryParameter['start_time'] = startTime;
|
2137
1765
|
}
|
2138
1766
|
if (endTime === null || endTime === undefined) {
|
2139
|
-
throw new RequiredError('endTime','Required parameter endTime was null or undefined when calling listAccessControlLogs.');
|
1767
|
+
throw new RequiredError('endTime', 'Required parameter endTime was null or undefined when calling listAccessControlLogs.');
|
2140
1768
|
}
|
2141
1769
|
if (endTime !== null && endTime !== undefined) {
|
2142
1770
|
localVarQueryParameter['end_time'] = endTime;
|
2143
1771
|
}
|
2144
1772
|
if (limit === null || limit === undefined) {
|
2145
|
-
throw new RequiredError('limit','Required parameter limit was null or undefined when calling listAccessControlLogs.');
|
1773
|
+
throw new RequiredError('limit', 'Required parameter limit was null or undefined when calling listAccessControlLogs.');
|
2146
1774
|
}
|
2147
1775
|
if (limit !== null && limit !== undefined) {
|
2148
1776
|
localVarQueryParameter['limit'] = limit;
|
@@ -2183,19 +1811,17 @@ export const ParamCreater = function () {
|
|
2183
1811
|
if (enterpriseProjectId !== null && enterpriseProjectId !== undefined) {
|
2184
1812
|
localVarQueryParameter['enterprise_project_id'] = enterpriseProjectId;
|
2185
1813
|
}
|
2186
|
-
|
2187
1814
|
options.queryParams = localVarQueryParameter;
|
2188
1815
|
options.pathParams = { 'project_id': projectId, };
|
2189
1816
|
options.headers = localVarHeaderParameter;
|
2190
1817
|
return options;
|
2191
1818
|
},
|
2192
|
-
|
2193
1819
|
/**
|
2194
1820
|
* 查询地址组成员
|
2195
|
-
*
|
1821
|
+
*
|
2196
1822
|
* Please refer to HUAWEI cloud API Explorer for details.
|
2197
1823
|
*/
|
2198
|
-
listAddressItemsUsingGet(listAddressItemsUsingGetRequest
|
1824
|
+
listAddressItemsUsingGet(listAddressItemsUsingGetRequest) {
|
2199
1825
|
const options = {
|
2200
1826
|
method: "GET",
|
2201
1827
|
url: "/v1/{project_id}/address-items",
|
@@ -2204,27 +1830,18 @@ export const ParamCreater = function () {
|
|
2204
1830
|
pathParams: {},
|
2205
1831
|
headers: {}
|
2206
1832
|
};
|
2207
|
-
const localVarHeaderParameter = {}
|
2208
|
-
const localVarQueryParameter = {}
|
2209
|
-
|
1833
|
+
const localVarHeaderParameter = {};
|
1834
|
+
const localVarQueryParameter = {};
|
2210
1835
|
let projectId;
|
2211
|
-
|
2212
1836
|
let setId;
|
2213
|
-
|
2214
1837
|
let limit;
|
2215
|
-
|
2216
1838
|
let offset;
|
2217
|
-
|
2218
1839
|
let keyWord;
|
2219
|
-
|
2220
1840
|
let address;
|
2221
|
-
|
2222
1841
|
let enterpriseProjectId;
|
2223
|
-
|
2224
1842
|
let fwInstanceId;
|
2225
|
-
|
2226
1843
|
if (listAddressItemsUsingGetRequest !== null && listAddressItemsUsingGetRequest !== undefined) {
|
2227
|
-
if (listAddressItemsUsingGetRequest instanceof ListAddressItemsUsingGetRequest) {
|
1844
|
+
if (listAddressItemsUsingGetRequest instanceof ListAddressItemsUsingGetRequest_1.ListAddressItemsUsingGetRequest) {
|
2228
1845
|
projectId = listAddressItemsUsingGetRequest.projectId;
|
2229
1846
|
setId = listAddressItemsUsingGetRequest.setId;
|
2230
1847
|
limit = listAddressItemsUsingGetRequest.limit;
|
@@ -2233,7 +1850,8 @@ export const ParamCreater = function () {
|
|
2233
1850
|
address = listAddressItemsUsingGetRequest.address;
|
2234
1851
|
enterpriseProjectId = listAddressItemsUsingGetRequest.enterpriseProjectId;
|
2235
1852
|
fwInstanceId = listAddressItemsUsingGetRequest.fwInstanceId;
|
2236
|
-
}
|
1853
|
+
}
|
1854
|
+
else {
|
2237
1855
|
projectId = listAddressItemsUsingGetRequest['project_id'];
|
2238
1856
|
setId = listAddressItemsUsingGetRequest['set_id'];
|
2239
1857
|
limit = listAddressItemsUsingGetRequest['limit'];
|
@@ -2244,25 +1862,23 @@ export const ParamCreater = function () {
|
|
2244
1862
|
fwInstanceId = listAddressItemsUsingGetRequest['fw_instance_id'];
|
2245
1863
|
}
|
2246
1864
|
}
|
2247
|
-
|
2248
|
-
|
2249
1865
|
if (projectId === null || projectId === undefined) {
|
2250
|
-
|
1866
|
+
throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling listAddressItemsUsingGet.');
|
2251
1867
|
}
|
2252
1868
|
if (setId === null || setId === undefined) {
|
2253
|
-
throw new RequiredError('setId','Required parameter setId was null or undefined when calling listAddressItemsUsingGet.');
|
1869
|
+
throw new RequiredError('setId', 'Required parameter setId was null or undefined when calling listAddressItemsUsingGet.');
|
2254
1870
|
}
|
2255
1871
|
if (setId !== null && setId !== undefined) {
|
2256
1872
|
localVarQueryParameter['set_id'] = setId;
|
2257
1873
|
}
|
2258
1874
|
if (limit === null || limit === undefined) {
|
2259
|
-
throw new RequiredError('limit','Required parameter limit was null or undefined when calling listAddressItemsUsingGet.');
|
1875
|
+
throw new RequiredError('limit', 'Required parameter limit was null or undefined when calling listAddressItemsUsingGet.');
|
2260
1876
|
}
|
2261
1877
|
if (limit !== null && limit !== undefined) {
|
2262
1878
|
localVarQueryParameter['limit'] = limit;
|
2263
1879
|
}
|
2264
1880
|
if (offset === null || offset === undefined) {
|
2265
|
-
throw new RequiredError('offset','Required parameter offset was null or undefined when calling listAddressItemsUsingGet.');
|
1881
|
+
throw new RequiredError('offset', 'Required parameter offset was null or undefined when calling listAddressItemsUsingGet.');
|
2266
1882
|
}
|
2267
1883
|
if (offset !== null && offset !== undefined) {
|
2268
1884
|
localVarQueryParameter['offset'] = offset;
|
@@ -2279,19 +1895,17 @@ export const ParamCreater = function () {
|
|
2279
1895
|
if (fwInstanceId !== null && fwInstanceId !== undefined) {
|
2280
1896
|
localVarQueryParameter['fw_instance_id'] = fwInstanceId;
|
2281
1897
|
}
|
2282
|
-
|
2283
1898
|
options.queryParams = localVarQueryParameter;
|
2284
1899
|
options.pathParams = { 'project_id': projectId, };
|
2285
1900
|
options.headers = localVarHeaderParameter;
|
2286
1901
|
return options;
|
2287
1902
|
},
|
2288
|
-
|
2289
1903
|
/**
|
2290
1904
|
* 查询地址组详细
|
2291
|
-
*
|
1905
|
+
*
|
2292
1906
|
* Please refer to HUAWEI cloud API Explorer for details.
|
2293
1907
|
*/
|
2294
|
-
listAddressSetDetailUsingGet(listAddressSetDetailUsingGetRequest
|
1908
|
+
listAddressSetDetailUsingGet(listAddressSetDetailUsingGetRequest) {
|
2295
1909
|
const options = {
|
2296
1910
|
method: "GET",
|
2297
1911
|
url: "/v1/{project_id}/address-sets/{set_id}",
|
@@ -2300,37 +1914,31 @@ export const ParamCreater = function () {
|
|
2300
1914
|
pathParams: {},
|
2301
1915
|
headers: {}
|
2302
1916
|
};
|
2303
|
-
const localVarHeaderParameter = {}
|
2304
|
-
const localVarQueryParameter = {}
|
2305
|
-
|
1917
|
+
const localVarHeaderParameter = {};
|
1918
|
+
const localVarQueryParameter = {};
|
2306
1919
|
let projectId;
|
2307
|
-
|
2308
1920
|
let setId;
|
2309
|
-
|
2310
1921
|
let enterpriseProjectId;
|
2311
|
-
|
2312
1922
|
let fwInstanceId;
|
2313
|
-
|
2314
1923
|
if (listAddressSetDetailUsingGetRequest !== null && listAddressSetDetailUsingGetRequest !== undefined) {
|
2315
|
-
if (listAddressSetDetailUsingGetRequest instanceof ListAddressSetDetailUsingGetRequest) {
|
1924
|
+
if (listAddressSetDetailUsingGetRequest instanceof ListAddressSetDetailUsingGetRequest_1.ListAddressSetDetailUsingGetRequest) {
|
2316
1925
|
projectId = listAddressSetDetailUsingGetRequest.projectId;
|
2317
1926
|
setId = listAddressSetDetailUsingGetRequest.setId;
|
2318
1927
|
enterpriseProjectId = listAddressSetDetailUsingGetRequest.enterpriseProjectId;
|
2319
1928
|
fwInstanceId = listAddressSetDetailUsingGetRequest.fwInstanceId;
|
2320
|
-
}
|
1929
|
+
}
|
1930
|
+
else {
|
2321
1931
|
projectId = listAddressSetDetailUsingGetRequest['project_id'];
|
2322
1932
|
setId = listAddressSetDetailUsingGetRequest['set_id'];
|
2323
1933
|
enterpriseProjectId = listAddressSetDetailUsingGetRequest['enterprise_project_id'];
|
2324
1934
|
fwInstanceId = listAddressSetDetailUsingGetRequest['fw_instance_id'];
|
2325
1935
|
}
|
2326
1936
|
}
|
2327
|
-
|
2328
|
-
|
2329
1937
|
if (projectId === null || projectId === undefined) {
|
2330
|
-
|
1938
|
+
throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling listAddressSetDetailUsingGet.');
|
2331
1939
|
}
|
2332
1940
|
if (setId === null || setId === undefined) {
|
2333
|
-
|
1941
|
+
throw new RequiredError('setId', 'Required parameter setId was null or undefined when calling listAddressSetDetailUsingGet.');
|
2334
1942
|
}
|
2335
1943
|
if (enterpriseProjectId !== null && enterpriseProjectId !== undefined) {
|
2336
1944
|
localVarQueryParameter['enterprise_project_id'] = enterpriseProjectId;
|
@@ -2338,19 +1946,17 @@ export const ParamCreater = function () {
|
|
2338
1946
|
if (fwInstanceId !== null && fwInstanceId !== undefined) {
|
2339
1947
|
localVarQueryParameter['fw_instance_id'] = fwInstanceId;
|
2340
1948
|
}
|
2341
|
-
|
2342
1949
|
options.queryParams = localVarQueryParameter;
|
2343
|
-
options.pathParams = { 'project_id': projectId,'set_id': setId, };
|
1950
|
+
options.pathParams = { 'project_id': projectId, 'set_id': setId, };
|
2344
1951
|
options.headers = localVarHeaderParameter;
|
2345
1952
|
return options;
|
2346
1953
|
},
|
2347
|
-
|
2348
1954
|
/**
|
2349
1955
|
* 查询地址组列表
|
2350
|
-
*
|
1956
|
+
*
|
2351
1957
|
* Please refer to HUAWEI cloud API Explorer for details.
|
2352
1958
|
*/
|
2353
|
-
listAddressSetListUsingGet(listAddressSetListUsingGetRequest
|
1959
|
+
listAddressSetListUsingGet(listAddressSetListUsingGetRequest) {
|
2354
1960
|
const options = {
|
2355
1961
|
method: "GET",
|
2356
1962
|
url: "/v1/{project_id}/address-sets",
|
@@ -2359,29 +1965,19 @@ export const ParamCreater = function () {
|
|
2359
1965
|
pathParams: {},
|
2360
1966
|
headers: {}
|
2361
1967
|
};
|
2362
|
-
const localVarHeaderParameter = {}
|
2363
|
-
const localVarQueryParameter = {}
|
2364
|
-
|
1968
|
+
const localVarHeaderParameter = {};
|
1969
|
+
const localVarQueryParameter = {};
|
2365
1970
|
let projectId;
|
2366
|
-
|
2367
1971
|
let objectId;
|
2368
|
-
|
2369
1972
|
let limit;
|
2370
|
-
|
2371
1973
|
let offset;
|
2372
|
-
|
2373
1974
|
let keyWord;
|
2374
|
-
|
2375
1975
|
let address;
|
2376
|
-
|
2377
1976
|
let addressType;
|
2378
|
-
|
2379
1977
|
let enterpriseProjectId;
|
2380
|
-
|
2381
1978
|
let fwInstanceId;
|
2382
|
-
|
2383
1979
|
if (listAddressSetListUsingGetRequest !== null && listAddressSetListUsingGetRequest !== undefined) {
|
2384
|
-
if (listAddressSetListUsingGetRequest instanceof ListAddressSetListUsingGetRequest) {
|
1980
|
+
if (listAddressSetListUsingGetRequest instanceof ListAddressSetListUsingGetRequest_1.ListAddressSetListUsingGetRequest) {
|
2385
1981
|
projectId = listAddressSetListUsingGetRequest.projectId;
|
2386
1982
|
objectId = listAddressSetListUsingGetRequest.objectId;
|
2387
1983
|
limit = listAddressSetListUsingGetRequest.limit;
|
@@ -2391,7 +1987,8 @@ export const ParamCreater = function () {
|
|
2391
1987
|
addressType = listAddressSetListUsingGetRequest.addressType;
|
2392
1988
|
enterpriseProjectId = listAddressSetListUsingGetRequest.enterpriseProjectId;
|
2393
1989
|
fwInstanceId = listAddressSetListUsingGetRequest.fwInstanceId;
|
2394
|
-
}
|
1990
|
+
}
|
1991
|
+
else {
|
2395
1992
|
projectId = listAddressSetListUsingGetRequest['project_id'];
|
2396
1993
|
objectId = listAddressSetListUsingGetRequest['object_id'];
|
2397
1994
|
limit = listAddressSetListUsingGetRequest['limit'];
|
@@ -2403,25 +2000,23 @@ export const ParamCreater = function () {
|
|
2403
2000
|
fwInstanceId = listAddressSetListUsingGetRequest['fw_instance_id'];
|
2404
2001
|
}
|
2405
2002
|
}
|
2406
|
-
|
2407
|
-
|
2408
2003
|
if (projectId === null || projectId === undefined) {
|
2409
|
-
|
2004
|
+
throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling listAddressSetListUsingGet.');
|
2410
2005
|
}
|
2411
2006
|
if (objectId === null || objectId === undefined) {
|
2412
|
-
throw new RequiredError('objectId','Required parameter objectId was null or undefined when calling listAddressSetListUsingGet.');
|
2007
|
+
throw new RequiredError('objectId', 'Required parameter objectId was null or undefined when calling listAddressSetListUsingGet.');
|
2413
2008
|
}
|
2414
2009
|
if (objectId !== null && objectId !== undefined) {
|
2415
2010
|
localVarQueryParameter['object_id'] = objectId;
|
2416
2011
|
}
|
2417
2012
|
if (limit === null || limit === undefined) {
|
2418
|
-
throw new RequiredError('limit','Required parameter limit was null or undefined when calling listAddressSetListUsingGet.');
|
2013
|
+
throw new RequiredError('limit', 'Required parameter limit was null or undefined when calling listAddressSetListUsingGet.');
|
2419
2014
|
}
|
2420
2015
|
if (limit !== null && limit !== undefined) {
|
2421
2016
|
localVarQueryParameter['limit'] = limit;
|
2422
2017
|
}
|
2423
2018
|
if (offset === null || offset === undefined) {
|
2424
|
-
throw new RequiredError('offset','Required parameter offset was null or undefined when calling listAddressSetListUsingGet.');
|
2019
|
+
throw new RequiredError('offset', 'Required parameter offset was null or undefined when calling listAddressSetListUsingGet.');
|
2425
2020
|
}
|
2426
2021
|
if (offset !== null && offset !== undefined) {
|
2427
2022
|
localVarQueryParameter['offset'] = offset;
|
@@ -2441,19 +2036,17 @@ export const ParamCreater = function () {
|
|
2441
2036
|
if (fwInstanceId !== null && fwInstanceId !== undefined) {
|
2442
2037
|
localVarQueryParameter['fw_instance_id'] = fwInstanceId;
|
2443
2038
|
}
|
2444
|
-
|
2445
2039
|
options.queryParams = localVarQueryParameter;
|
2446
2040
|
options.pathParams = { 'project_id': projectId, };
|
2447
2041
|
options.headers = localVarHeaderParameter;
|
2448
2042
|
return options;
|
2449
2043
|
},
|
2450
|
-
|
2451
2044
|
/**
|
2452
2045
|
* 查询攻击日志
|
2453
|
-
*
|
2046
|
+
*
|
2454
2047
|
* Please refer to HUAWEI cloud API Explorer for details.
|
2455
2048
|
*/
|
2456
|
-
listAttackLogs(listAttackLogsRequest
|
2049
|
+
listAttackLogs(listAttackLogsRequest) {
|
2457
2050
|
const options = {
|
2458
2051
|
method: "GET",
|
2459
2052
|
url: "/v1/{project_id}/cfw/logs/attack",
|
@@ -2462,53 +2055,31 @@ export const ParamCreater = function () {
|
|
2462
2055
|
pathParams: {},
|
2463
2056
|
headers: {}
|
2464
2057
|
};
|
2465
|
-
const localVarHeaderParameter = {}
|
2466
|
-
const localVarQueryParameter = {}
|
2467
|
-
|
2058
|
+
const localVarHeaderParameter = {};
|
2059
|
+
const localVarQueryParameter = {};
|
2468
2060
|
let projectId;
|
2469
|
-
|
2470
2061
|
let startTime;
|
2471
|
-
|
2472
2062
|
let endTime;
|
2473
|
-
|
2474
2063
|
let limit;
|
2475
|
-
|
2476
2064
|
let fwInstanceId;
|
2477
|
-
|
2478
2065
|
let srcIp;
|
2479
|
-
|
2480
2066
|
let srcPort;
|
2481
|
-
|
2482
2067
|
let dstIp;
|
2483
|
-
|
2484
2068
|
let dstPort;
|
2485
|
-
|
2486
2069
|
let protocol;
|
2487
|
-
|
2488
2070
|
let app;
|
2489
|
-
|
2490
2071
|
let logId;
|
2491
|
-
|
2492
2072
|
let nextDate;
|
2493
|
-
|
2494
2073
|
let offset;
|
2495
|
-
|
2496
2074
|
let action;
|
2497
|
-
|
2498
2075
|
let direction;
|
2499
|
-
|
2500
2076
|
let attackType;
|
2501
|
-
|
2502
2077
|
let attackRule;
|
2503
|
-
|
2504
2078
|
let level;
|
2505
|
-
|
2506
2079
|
let source;
|
2507
|
-
|
2508
2080
|
let enterpriseProjectId;
|
2509
|
-
|
2510
2081
|
if (listAttackLogsRequest !== null && listAttackLogsRequest !== undefined) {
|
2511
|
-
if (listAttackLogsRequest instanceof ListAttackLogsRequest) {
|
2082
|
+
if (listAttackLogsRequest instanceof ListAttackLogsRequest_1.ListAttackLogsRequest) {
|
2512
2083
|
projectId = listAttackLogsRequest.projectId;
|
2513
2084
|
startTime = listAttackLogsRequest.startTime;
|
2514
2085
|
endTime = listAttackLogsRequest.endTime;
|
@@ -2530,7 +2101,8 @@ export const ParamCreater = function () {
|
|
2530
2101
|
level = listAttackLogsRequest.level;
|
2531
2102
|
source = listAttackLogsRequest.source;
|
2532
2103
|
enterpriseProjectId = listAttackLogsRequest.enterpriseProjectId;
|
2533
|
-
}
|
2104
|
+
}
|
2105
|
+
else {
|
2534
2106
|
projectId = listAttackLogsRequest['project_id'];
|
2535
2107
|
startTime = listAttackLogsRequest['start_time'];
|
2536
2108
|
endTime = listAttackLogsRequest['end_time'];
|
@@ -2554,31 +2126,29 @@ export const ParamCreater = function () {
|
|
2554
2126
|
enterpriseProjectId = listAttackLogsRequest['enterprise_project_id'];
|
2555
2127
|
}
|
2556
2128
|
}
|
2557
|
-
|
2558
|
-
|
2559
2129
|
if (projectId === null || projectId === undefined) {
|
2560
|
-
|
2130
|
+
throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling listAttackLogs.');
|
2561
2131
|
}
|
2562
2132
|
if (startTime === null || startTime === undefined) {
|
2563
|
-
throw new RequiredError('startTime','Required parameter startTime was null or undefined when calling listAttackLogs.');
|
2133
|
+
throw new RequiredError('startTime', 'Required parameter startTime was null or undefined when calling listAttackLogs.');
|
2564
2134
|
}
|
2565
2135
|
if (startTime !== null && startTime !== undefined) {
|
2566
2136
|
localVarQueryParameter['start_time'] = startTime;
|
2567
2137
|
}
|
2568
2138
|
if (endTime === null || endTime === undefined) {
|
2569
|
-
throw new RequiredError('endTime','Required parameter endTime was null or undefined when calling listAttackLogs.');
|
2139
|
+
throw new RequiredError('endTime', 'Required parameter endTime was null or undefined when calling listAttackLogs.');
|
2570
2140
|
}
|
2571
2141
|
if (endTime !== null && endTime !== undefined) {
|
2572
2142
|
localVarQueryParameter['end_time'] = endTime;
|
2573
2143
|
}
|
2574
2144
|
if (limit === null || limit === undefined) {
|
2575
|
-
throw new RequiredError('limit','Required parameter limit was null or undefined when calling listAttackLogs.');
|
2145
|
+
throw new RequiredError('limit', 'Required parameter limit was null or undefined when calling listAttackLogs.');
|
2576
2146
|
}
|
2577
2147
|
if (limit !== null && limit !== undefined) {
|
2578
2148
|
localVarQueryParameter['limit'] = limit;
|
2579
2149
|
}
|
2580
2150
|
if (fwInstanceId === null || fwInstanceId === undefined) {
|
2581
|
-
throw new RequiredError('fwInstanceId','Required parameter fwInstanceId was null or undefined when calling listAttackLogs.');
|
2151
|
+
throw new RequiredError('fwInstanceId', 'Required parameter fwInstanceId was null or undefined when calling listAttackLogs.');
|
2582
2152
|
}
|
2583
2153
|
if (fwInstanceId !== null && fwInstanceId !== undefined) {
|
2584
2154
|
localVarQueryParameter['fw_instance_id'] = fwInstanceId;
|
@@ -2631,19 +2201,17 @@ export const ParamCreater = function () {
|
|
2631
2201
|
if (enterpriseProjectId !== null && enterpriseProjectId !== undefined) {
|
2632
2202
|
localVarQueryParameter['enterprise_project_id'] = enterpriseProjectId;
|
2633
2203
|
}
|
2634
|
-
|
2635
2204
|
options.queryParams = localVarQueryParameter;
|
2636
2205
|
options.pathParams = { 'project_id': projectId, };
|
2637
2206
|
options.headers = localVarHeaderParameter;
|
2638
2207
|
return options;
|
2639
2208
|
},
|
2640
|
-
|
2641
2209
|
/**
|
2642
2210
|
* 查询黑白名单列表
|
2643
|
-
*
|
2211
|
+
*
|
2644
2212
|
* Please refer to HUAWEI cloud API Explorer for details.
|
2645
2213
|
*/
|
2646
|
-
listBlackWhiteListsUsingGet(listBlackWhiteListsUsingGetRequest
|
2214
|
+
listBlackWhiteListsUsingGet(listBlackWhiteListsUsingGetRequest) {
|
2647
2215
|
const options = {
|
2648
2216
|
method: "GET",
|
2649
2217
|
url: "/v1/{project_id}/black-white-lists",
|
@@ -2652,31 +2220,20 @@ export const ParamCreater = function () {
|
|
2652
2220
|
pathParams: {},
|
2653
2221
|
headers: {}
|
2654
2222
|
};
|
2655
|
-
const localVarHeaderParameter = {}
|
2656
|
-
const localVarQueryParameter = {}
|
2657
|
-
|
2223
|
+
const localVarHeaderParameter = {};
|
2224
|
+
const localVarQueryParameter = {};
|
2658
2225
|
let projectId;
|
2659
|
-
|
2660
2226
|
let objectId;
|
2661
|
-
|
2662
2227
|
let listType;
|
2663
|
-
|
2664
2228
|
let limit;
|
2665
|
-
|
2666
2229
|
let offset;
|
2667
|
-
|
2668
2230
|
let addressType;
|
2669
|
-
|
2670
2231
|
let address;
|
2671
|
-
|
2672
2232
|
let port;
|
2673
|
-
|
2674
2233
|
let enterpriseProjectId;
|
2675
|
-
|
2676
2234
|
let fwInstanceId;
|
2677
|
-
|
2678
2235
|
if (listBlackWhiteListsUsingGetRequest !== null && listBlackWhiteListsUsingGetRequest !== undefined) {
|
2679
|
-
if (listBlackWhiteListsUsingGetRequest instanceof ListBlackWhiteListsUsingGetRequest) {
|
2236
|
+
if (listBlackWhiteListsUsingGetRequest instanceof ListBlackWhiteListsUsingGetRequest_1.ListBlackWhiteListsUsingGetRequest) {
|
2680
2237
|
projectId = listBlackWhiteListsUsingGetRequest.projectId;
|
2681
2238
|
objectId = listBlackWhiteListsUsingGetRequest.objectId;
|
2682
2239
|
listType = listBlackWhiteListsUsingGetRequest.listType;
|
@@ -2687,7 +2244,8 @@ export const ParamCreater = function () {
|
|
2687
2244
|
port = listBlackWhiteListsUsingGetRequest.port;
|
2688
2245
|
enterpriseProjectId = listBlackWhiteListsUsingGetRequest.enterpriseProjectId;
|
2689
2246
|
fwInstanceId = listBlackWhiteListsUsingGetRequest.fwInstanceId;
|
2690
|
-
}
|
2247
|
+
}
|
2248
|
+
else {
|
2691
2249
|
projectId = listBlackWhiteListsUsingGetRequest['project_id'];
|
2692
2250
|
objectId = listBlackWhiteListsUsingGetRequest['object_id'];
|
2693
2251
|
listType = listBlackWhiteListsUsingGetRequest['list_type'];
|
@@ -2700,31 +2258,29 @@ export const ParamCreater = function () {
|
|
2700
2258
|
fwInstanceId = listBlackWhiteListsUsingGetRequest['fw_instance_id'];
|
2701
2259
|
}
|
2702
2260
|
}
|
2703
|
-
|
2704
|
-
|
2705
2261
|
if (projectId === null || projectId === undefined) {
|
2706
|
-
|
2262
|
+
throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling listBlackWhiteListsUsingGet.');
|
2707
2263
|
}
|
2708
2264
|
if (objectId === null || objectId === undefined) {
|
2709
|
-
throw new RequiredError('objectId','Required parameter objectId was null or undefined when calling listBlackWhiteListsUsingGet.');
|
2265
|
+
throw new RequiredError('objectId', 'Required parameter objectId was null or undefined when calling listBlackWhiteListsUsingGet.');
|
2710
2266
|
}
|
2711
2267
|
if (objectId !== null && objectId !== undefined) {
|
2712
2268
|
localVarQueryParameter['object_id'] = objectId;
|
2713
2269
|
}
|
2714
2270
|
if (listType === null || listType === undefined) {
|
2715
|
-
throw new RequiredError('listType','Required parameter listType was null or undefined when calling listBlackWhiteListsUsingGet.');
|
2271
|
+
throw new RequiredError('listType', 'Required parameter listType was null or undefined when calling listBlackWhiteListsUsingGet.');
|
2716
2272
|
}
|
2717
2273
|
if (listType !== null && listType !== undefined) {
|
2718
2274
|
localVarQueryParameter['list_type'] = listType;
|
2719
2275
|
}
|
2720
2276
|
if (limit === null || limit === undefined) {
|
2721
|
-
throw new RequiredError('limit','Required parameter limit was null or undefined when calling listBlackWhiteListsUsingGet.');
|
2277
|
+
throw new RequiredError('limit', 'Required parameter limit was null or undefined when calling listBlackWhiteListsUsingGet.');
|
2722
2278
|
}
|
2723
2279
|
if (limit !== null && limit !== undefined) {
|
2724
2280
|
localVarQueryParameter['limit'] = limit;
|
2725
2281
|
}
|
2726
2282
|
if (offset === null || offset === undefined) {
|
2727
|
-
throw new RequiredError('offset','Required parameter offset was null or undefined when calling listBlackWhiteListsUsingGet.');
|
2283
|
+
throw new RequiredError('offset', 'Required parameter offset was null or undefined when calling listBlackWhiteListsUsingGet.');
|
2728
2284
|
}
|
2729
2285
|
if (offset !== null && offset !== undefined) {
|
2730
2286
|
localVarQueryParameter['offset'] = offset;
|
@@ -2744,19 +2300,17 @@ export const ParamCreater = function () {
|
|
2744
2300
|
if (fwInstanceId !== null && fwInstanceId !== undefined) {
|
2745
2301
|
localVarQueryParameter['fw_instance_id'] = fwInstanceId;
|
2746
2302
|
}
|
2747
|
-
|
2748
2303
|
options.queryParams = localVarQueryParameter;
|
2749
2304
|
options.pathParams = { 'project_id': projectId, };
|
2750
2305
|
options.headers = localVarHeaderParameter;
|
2751
2306
|
return options;
|
2752
2307
|
},
|
2753
|
-
|
2754
2308
|
/**
|
2755
2309
|
* 查询dns服务器列表
|
2756
|
-
*
|
2310
|
+
*
|
2757
2311
|
* Please refer to HUAWEI cloud API Explorer for details.
|
2758
2312
|
*/
|
2759
|
-
listDnsServers(listDnsServersRequest
|
2313
|
+
listDnsServers(listDnsServersRequest) {
|
2760
2314
|
const options = {
|
2761
2315
|
method: "GET",
|
2762
2316
|
url: "/v1/{project_id}/dns/servers",
|
@@ -2765,27 +2319,22 @@ export const ParamCreater = function () {
|
|
2765
2319
|
pathParams: {},
|
2766
2320
|
headers: {}
|
2767
2321
|
};
|
2768
|
-
const localVarHeaderParameter = {}
|
2769
|
-
const localVarQueryParameter = {}
|
2770
|
-
|
2322
|
+
const localVarHeaderParameter = {};
|
2323
|
+
const localVarQueryParameter = {};
|
2771
2324
|
let projectId;
|
2772
|
-
|
2773
2325
|
let limit;
|
2774
|
-
|
2775
2326
|
let offset;
|
2776
|
-
|
2777
2327
|
let fwInstanceId;
|
2778
|
-
|
2779
2328
|
let enterpriseProjectId;
|
2780
|
-
|
2781
2329
|
if (listDnsServersRequest !== null && listDnsServersRequest !== undefined) {
|
2782
|
-
if (listDnsServersRequest instanceof ListDnsServersRequest) {
|
2330
|
+
if (listDnsServersRequest instanceof ListDnsServersRequest_1.ListDnsServersRequest) {
|
2783
2331
|
projectId = listDnsServersRequest.projectId;
|
2784
2332
|
limit = listDnsServersRequest.limit;
|
2785
2333
|
offset = listDnsServersRequest.offset;
|
2786
2334
|
fwInstanceId = listDnsServersRequest.fwInstanceId;
|
2787
2335
|
enterpriseProjectId = listDnsServersRequest.enterpriseProjectId;
|
2788
|
-
}
|
2336
|
+
}
|
2337
|
+
else {
|
2789
2338
|
projectId = listDnsServersRequest['project_id'];
|
2790
2339
|
limit = listDnsServersRequest['limit'];
|
2791
2340
|
offset = listDnsServersRequest['offset'];
|
@@ -2793,10 +2342,8 @@ export const ParamCreater = function () {
|
|
2793
2342
|
enterpriseProjectId = listDnsServersRequest['enterprise_project_id'];
|
2794
2343
|
}
|
2795
2344
|
}
|
2796
|
-
|
2797
|
-
|
2798
2345
|
if (projectId === null || projectId === undefined) {
|
2799
|
-
|
2346
|
+
throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling listDnsServers.');
|
2800
2347
|
}
|
2801
2348
|
if (limit !== null && limit !== undefined) {
|
2802
2349
|
localVarQueryParameter['limit'] = limit;
|
@@ -2810,19 +2357,17 @@ export const ParamCreater = function () {
|
|
2810
2357
|
if (enterpriseProjectId !== null && enterpriseProjectId !== undefined) {
|
2811
2358
|
localVarQueryParameter['enterprise_project_id'] = enterpriseProjectId;
|
2812
2359
|
}
|
2813
|
-
|
2814
2360
|
options.queryParams = localVarQueryParameter;
|
2815
2361
|
options.pathParams = { 'project_id': projectId, };
|
2816
2362
|
options.headers = localVarHeaderParameter;
|
2817
2363
|
return options;
|
2818
2364
|
},
|
2819
|
-
|
2820
2365
|
/**
|
2821
2366
|
* 查询东西向防火墙信息
|
2822
|
-
*
|
2367
|
+
*
|
2823
2368
|
* Please refer to HUAWEI cloud API Explorer for details.
|
2824
2369
|
*/
|
2825
|
-
listEastWestFirewall(listEastWestFirewallRequest
|
2370
|
+
listEastWestFirewall(listEastWestFirewallRequest) {
|
2826
2371
|
const options = {
|
2827
2372
|
method: "GET",
|
2828
2373
|
url: "/v1/{project_id}/firewall/east-west",
|
@@ -2831,27 +2376,22 @@ export const ParamCreater = function () {
|
|
2831
2376
|
pathParams: {},
|
2832
2377
|
headers: {}
|
2833
2378
|
};
|
2834
|
-
const localVarHeaderParameter = {}
|
2835
|
-
const localVarQueryParameter = {}
|
2836
|
-
|
2379
|
+
const localVarHeaderParameter = {};
|
2380
|
+
const localVarQueryParameter = {};
|
2837
2381
|
let projectId;
|
2838
|
-
|
2839
2382
|
let limit;
|
2840
|
-
|
2841
2383
|
let offset;
|
2842
|
-
|
2843
2384
|
let enterpriseProjectId;
|
2844
|
-
|
2845
2385
|
let fwInstanceId;
|
2846
|
-
|
2847
2386
|
if (listEastWestFirewallRequest !== null && listEastWestFirewallRequest !== undefined) {
|
2848
|
-
if (listEastWestFirewallRequest instanceof ListEastWestFirewallRequest) {
|
2387
|
+
if (listEastWestFirewallRequest instanceof ListEastWestFirewallRequest_1.ListEastWestFirewallRequest) {
|
2849
2388
|
projectId = listEastWestFirewallRequest.projectId;
|
2850
2389
|
limit = listEastWestFirewallRequest.limit;
|
2851
2390
|
offset = listEastWestFirewallRequest.offset;
|
2852
2391
|
enterpriseProjectId = listEastWestFirewallRequest.enterpriseProjectId;
|
2853
2392
|
fwInstanceId = listEastWestFirewallRequest.fwInstanceId;
|
2854
|
-
}
|
2393
|
+
}
|
2394
|
+
else {
|
2855
2395
|
projectId = listEastWestFirewallRequest['project_id'];
|
2856
2396
|
limit = listEastWestFirewallRequest['limit'];
|
2857
2397
|
offset = listEastWestFirewallRequest['offset'];
|
@@ -2859,19 +2399,17 @@ export const ParamCreater = function () {
|
|
2859
2399
|
fwInstanceId = listEastWestFirewallRequest['fw_instance_id'];
|
2860
2400
|
}
|
2861
2401
|
}
|
2862
|
-
|
2863
|
-
|
2864
2402
|
if (projectId === null || projectId === undefined) {
|
2865
|
-
|
2403
|
+
throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling listEastWestFirewall.');
|
2866
2404
|
}
|
2867
2405
|
if (limit === null || limit === undefined) {
|
2868
|
-
throw new RequiredError('limit','Required parameter limit was null or undefined when calling listEastWestFirewall.');
|
2406
|
+
throw new RequiredError('limit', 'Required parameter limit was null or undefined when calling listEastWestFirewall.');
|
2869
2407
|
}
|
2870
2408
|
if (limit !== null && limit !== undefined) {
|
2871
2409
|
localVarQueryParameter['limit'] = limit;
|
2872
2410
|
}
|
2873
2411
|
if (offset === null || offset === undefined) {
|
2874
|
-
throw new RequiredError('offset','Required parameter offset was null or undefined when calling listEastWestFirewall.');
|
2412
|
+
throw new RequiredError('offset', 'Required parameter offset was null or undefined when calling listEastWestFirewall.');
|
2875
2413
|
}
|
2876
2414
|
if (offset !== null && offset !== undefined) {
|
2877
2415
|
localVarQueryParameter['offset'] = offset;
|
@@ -2882,19 +2420,17 @@ export const ParamCreater = function () {
|
|
2882
2420
|
if (fwInstanceId !== null && fwInstanceId !== undefined) {
|
2883
2421
|
localVarQueryParameter['fw_instance_id'] = fwInstanceId;
|
2884
2422
|
}
|
2885
|
-
|
2886
2423
|
options.queryParams = localVarQueryParameter;
|
2887
2424
|
options.pathParams = { 'project_id': projectId, };
|
2888
2425
|
options.headers = localVarHeaderParameter;
|
2889
2426
|
return options;
|
2890
2427
|
},
|
2891
|
-
|
2892
2428
|
/**
|
2893
2429
|
* 查询防火墙实例
|
2894
|
-
*
|
2430
|
+
*
|
2895
2431
|
* Please refer to HUAWEI cloud API Explorer for details.
|
2896
2432
|
*/
|
2897
|
-
listFirewallUsingGet(listFirewallUsingGetRequest
|
2433
|
+
listFirewallUsingGet(listFirewallUsingGetRequest) {
|
2898
2434
|
const options = {
|
2899
2435
|
method: "GET",
|
2900
2436
|
url: "/v1/{project_id}/firewall/exist",
|
@@ -2903,30 +2439,24 @@ export const ParamCreater = function () {
|
|
2903
2439
|
pathParams: {},
|
2904
2440
|
headers: {}
|
2905
2441
|
};
|
2906
|
-
const localVarHeaderParameter = {}
|
2907
|
-
const localVarQueryParameter = {}
|
2908
|
-
|
2442
|
+
const localVarHeaderParameter = {};
|
2443
|
+
const localVarQueryParameter = {};
|
2909
2444
|
let projectId;
|
2910
|
-
|
2911
2445
|
let offset;
|
2912
|
-
|
2913
2446
|
let limit;
|
2914
|
-
|
2915
2447
|
let serviceType;
|
2916
|
-
|
2917
2448
|
let enterpriseProjectId;
|
2918
|
-
|
2919
2449
|
let fwInstanceId;
|
2920
|
-
|
2921
2450
|
if (listFirewallUsingGetRequest !== null && listFirewallUsingGetRequest !== undefined) {
|
2922
|
-
if (listFirewallUsingGetRequest instanceof ListFirewallUsingGetRequest) {
|
2451
|
+
if (listFirewallUsingGetRequest instanceof ListFirewallUsingGetRequest_1.ListFirewallUsingGetRequest) {
|
2923
2452
|
projectId = listFirewallUsingGetRequest.projectId;
|
2924
2453
|
offset = listFirewallUsingGetRequest.offset;
|
2925
2454
|
limit = listFirewallUsingGetRequest.limit;
|
2926
2455
|
serviceType = listFirewallUsingGetRequest.serviceType;
|
2927
2456
|
enterpriseProjectId = listFirewallUsingGetRequest.enterpriseProjectId;
|
2928
2457
|
fwInstanceId = listFirewallUsingGetRequest.fwInstanceId;
|
2929
|
-
}
|
2458
|
+
}
|
2459
|
+
else {
|
2930
2460
|
projectId = listFirewallUsingGetRequest['project_id'];
|
2931
2461
|
offset = listFirewallUsingGetRequest['offset'];
|
2932
2462
|
limit = listFirewallUsingGetRequest['limit'];
|
@@ -2935,25 +2465,23 @@ export const ParamCreater = function () {
|
|
2935
2465
|
fwInstanceId = listFirewallUsingGetRequest['fw_instance_id'];
|
2936
2466
|
}
|
2937
2467
|
}
|
2938
|
-
|
2939
|
-
|
2940
2468
|
if (projectId === null || projectId === undefined) {
|
2941
|
-
|
2469
|
+
throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling listFirewallUsingGet.');
|
2942
2470
|
}
|
2943
2471
|
if (offset === null || offset === undefined) {
|
2944
|
-
throw new RequiredError('offset','Required parameter offset was null or undefined when calling listFirewallUsingGet.');
|
2472
|
+
throw new RequiredError('offset', 'Required parameter offset was null or undefined when calling listFirewallUsingGet.');
|
2945
2473
|
}
|
2946
2474
|
if (offset !== null && offset !== undefined) {
|
2947
2475
|
localVarQueryParameter['offset'] = offset;
|
2948
2476
|
}
|
2949
2477
|
if (limit === null || limit === undefined) {
|
2950
|
-
throw new RequiredError('limit','Required parameter limit was null or undefined when calling listFirewallUsingGet.');
|
2478
|
+
throw new RequiredError('limit', 'Required parameter limit was null or undefined when calling listFirewallUsingGet.');
|
2951
2479
|
}
|
2952
2480
|
if (limit !== null && limit !== undefined) {
|
2953
2481
|
localVarQueryParameter['limit'] = limit;
|
2954
2482
|
}
|
2955
2483
|
if (serviceType === null || serviceType === undefined) {
|
2956
|
-
throw new RequiredError('serviceType','Required parameter serviceType was null or undefined when calling listFirewallUsingGet.');
|
2484
|
+
throw new RequiredError('serviceType', 'Required parameter serviceType was null or undefined when calling listFirewallUsingGet.');
|
2957
2485
|
}
|
2958
2486
|
if (serviceType !== null && serviceType !== undefined) {
|
2959
2487
|
localVarQueryParameter['service_type'] = serviceType;
|
@@ -2964,19 +2492,17 @@ export const ParamCreater = function () {
|
|
2964
2492
|
if (fwInstanceId !== null && fwInstanceId !== undefined) {
|
2965
2493
|
localVarQueryParameter['fw_instance_id'] = fwInstanceId;
|
2966
2494
|
}
|
2967
|
-
|
2968
2495
|
options.queryParams = localVarQueryParameter;
|
2969
2496
|
options.pathParams = { 'project_id': projectId, };
|
2970
2497
|
options.headers = localVarHeaderParameter;
|
2971
2498
|
return options;
|
2972
2499
|
},
|
2973
|
-
|
2974
2500
|
/**
|
2975
2501
|
* 查询流日志
|
2976
|
-
*
|
2502
|
+
*
|
2977
2503
|
* Please refer to HUAWEI cloud API Explorer for details.
|
2978
2504
|
*/
|
2979
|
-
listFlowLogs(listFlowLogsRequest
|
2505
|
+
listFlowLogs(listFlowLogsRequest) {
|
2980
2506
|
const options = {
|
2981
2507
|
method: "GET",
|
2982
2508
|
url: "/v1/{project_id}/cfw/logs/flow",
|
@@ -2985,45 +2511,27 @@ export const ParamCreater = function () {
|
|
2985
2511
|
pathParams: {},
|
2986
2512
|
headers: {}
|
2987
2513
|
};
|
2988
|
-
const localVarHeaderParameter = {}
|
2989
|
-
const localVarQueryParameter = {}
|
2990
|
-
|
2514
|
+
const localVarHeaderParameter = {};
|
2515
|
+
const localVarQueryParameter = {};
|
2991
2516
|
let projectId;
|
2992
|
-
|
2993
2517
|
let fwInstanceId;
|
2994
|
-
|
2995
2518
|
let startTime;
|
2996
|
-
|
2997
2519
|
let endTime;
|
2998
|
-
|
2999
2520
|
let limit;
|
3000
|
-
|
3001
2521
|
let direction;
|
3002
|
-
|
3003
2522
|
let logType;
|
3004
|
-
|
3005
2523
|
let srcIp;
|
3006
|
-
|
3007
2524
|
let srcPort;
|
3008
|
-
|
3009
2525
|
let dstIp;
|
3010
|
-
|
3011
2526
|
let dstPort;
|
3012
|
-
|
3013
2527
|
let protocol;
|
3014
|
-
|
3015
2528
|
let app;
|
3016
|
-
|
3017
2529
|
let logId;
|
3018
|
-
|
3019
2530
|
let nextDate;
|
3020
|
-
|
3021
2531
|
let offset;
|
3022
|
-
|
3023
2532
|
let enterpriseProjectId;
|
3024
|
-
|
3025
2533
|
if (listFlowLogsRequest !== null && listFlowLogsRequest !== undefined) {
|
3026
|
-
if (listFlowLogsRequest instanceof ListFlowLogsRequest) {
|
2534
|
+
if (listFlowLogsRequest instanceof ListFlowLogsRequest_1.ListFlowLogsRequest) {
|
3027
2535
|
projectId = listFlowLogsRequest.projectId;
|
3028
2536
|
fwInstanceId = listFlowLogsRequest.fwInstanceId;
|
3029
2537
|
startTime = listFlowLogsRequest.startTime;
|
@@ -3041,7 +2549,8 @@ export const ParamCreater = function () {
|
|
3041
2549
|
nextDate = listFlowLogsRequest.nextDate;
|
3042
2550
|
offset = listFlowLogsRequest.offset;
|
3043
2551
|
enterpriseProjectId = listFlowLogsRequest.enterpriseProjectId;
|
3044
|
-
}
|
2552
|
+
}
|
2553
|
+
else {
|
3045
2554
|
projectId = listFlowLogsRequest['project_id'];
|
3046
2555
|
fwInstanceId = listFlowLogsRequest['fw_instance_id'];
|
3047
2556
|
startTime = listFlowLogsRequest['start_time'];
|
@@ -3061,31 +2570,29 @@ export const ParamCreater = function () {
|
|
3061
2570
|
enterpriseProjectId = listFlowLogsRequest['enterprise_project_id'];
|
3062
2571
|
}
|
3063
2572
|
}
|
3064
|
-
|
3065
|
-
|
3066
2573
|
if (projectId === null || projectId === undefined) {
|
3067
|
-
|
2574
|
+
throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling listFlowLogs.');
|
3068
2575
|
}
|
3069
2576
|
if (fwInstanceId === null || fwInstanceId === undefined) {
|
3070
|
-
throw new RequiredError('fwInstanceId','Required parameter fwInstanceId was null or undefined when calling listFlowLogs.');
|
2577
|
+
throw new RequiredError('fwInstanceId', 'Required parameter fwInstanceId was null or undefined when calling listFlowLogs.');
|
3071
2578
|
}
|
3072
2579
|
if (fwInstanceId !== null && fwInstanceId !== undefined) {
|
3073
2580
|
localVarQueryParameter['fw_instance_id'] = fwInstanceId;
|
3074
2581
|
}
|
3075
2582
|
if (startTime === null || startTime === undefined) {
|
3076
|
-
throw new RequiredError('startTime','Required parameter startTime was null or undefined when calling listFlowLogs.');
|
2583
|
+
throw new RequiredError('startTime', 'Required parameter startTime was null or undefined when calling listFlowLogs.');
|
3077
2584
|
}
|
3078
2585
|
if (startTime !== null && startTime !== undefined) {
|
3079
2586
|
localVarQueryParameter['start_time'] = startTime;
|
3080
2587
|
}
|
3081
2588
|
if (endTime === null || endTime === undefined) {
|
3082
|
-
throw new RequiredError('endTime','Required parameter endTime was null or undefined when calling listFlowLogs.');
|
2589
|
+
throw new RequiredError('endTime', 'Required parameter endTime was null or undefined when calling listFlowLogs.');
|
3083
2590
|
}
|
3084
2591
|
if (endTime !== null && endTime !== undefined) {
|
3085
2592
|
localVarQueryParameter['end_time'] = endTime;
|
3086
2593
|
}
|
3087
2594
|
if (limit === null || limit === undefined) {
|
3088
|
-
throw new RequiredError('limit','Required parameter limit was null or undefined when calling listFlowLogs.');
|
2595
|
+
throw new RequiredError('limit', 'Required parameter limit was null or undefined when calling listFlowLogs.');
|
3089
2596
|
}
|
3090
2597
|
if (limit !== null && limit !== undefined) {
|
3091
2598
|
localVarQueryParameter['limit'] = limit;
|
@@ -3126,19 +2633,17 @@ export const ParamCreater = function () {
|
|
3126
2633
|
if (enterpriseProjectId !== null && enterpriseProjectId !== undefined) {
|
3127
2634
|
localVarQueryParameter['enterprise_project_id'] = enterpriseProjectId;
|
3128
2635
|
}
|
3129
|
-
|
3130
2636
|
options.queryParams = localVarQueryParameter;
|
3131
2637
|
options.pathParams = { 'project_id': projectId, };
|
3132
2638
|
options.headers = localVarHeaderParameter;
|
3133
2639
|
return options;
|
3134
2640
|
},
|
3135
|
-
|
3136
2641
|
/**
|
3137
2642
|
* 查询防护模式
|
3138
|
-
*
|
2643
|
+
*
|
3139
2644
|
* Please refer to HUAWEI cloud API Explorer for details.
|
3140
2645
|
*/
|
3141
|
-
listIpsProtectModeUsingPost(listIpsProtectModeUsingPostRequest
|
2646
|
+
listIpsProtectModeUsingPost(listIpsProtectModeUsingPostRequest) {
|
3142
2647
|
const options = {
|
3143
2648
|
method: "GET",
|
3144
2649
|
url: "/v1/{project_id}/ips/protect",
|
@@ -3147,37 +2652,31 @@ export const ParamCreater = function () {
|
|
3147
2652
|
pathParams: {},
|
3148
2653
|
headers: {}
|
3149
2654
|
};
|
3150
|
-
const localVarHeaderParameter = {}
|
3151
|
-
const localVarQueryParameter = {}
|
3152
|
-
|
2655
|
+
const localVarHeaderParameter = {};
|
2656
|
+
const localVarQueryParameter = {};
|
3153
2657
|
let projectId;
|
3154
|
-
|
3155
2658
|
let objectId;
|
3156
|
-
|
3157
2659
|
let enterpriseProjectId;
|
3158
|
-
|
3159
2660
|
let fwInstanceId;
|
3160
|
-
|
3161
2661
|
if (listIpsProtectModeUsingPostRequest !== null && listIpsProtectModeUsingPostRequest !== undefined) {
|
3162
|
-
if (listIpsProtectModeUsingPostRequest instanceof ListIpsProtectModeUsingPostRequest) {
|
2662
|
+
if (listIpsProtectModeUsingPostRequest instanceof ListIpsProtectModeUsingPostRequest_1.ListIpsProtectModeUsingPostRequest) {
|
3163
2663
|
projectId = listIpsProtectModeUsingPostRequest.projectId;
|
3164
2664
|
objectId = listIpsProtectModeUsingPostRequest.objectId;
|
3165
2665
|
enterpriseProjectId = listIpsProtectModeUsingPostRequest.enterpriseProjectId;
|
3166
2666
|
fwInstanceId = listIpsProtectModeUsingPostRequest.fwInstanceId;
|
3167
|
-
}
|
2667
|
+
}
|
2668
|
+
else {
|
3168
2669
|
projectId = listIpsProtectModeUsingPostRequest['project_id'];
|
3169
2670
|
objectId = listIpsProtectModeUsingPostRequest['object_id'];
|
3170
2671
|
enterpriseProjectId = listIpsProtectModeUsingPostRequest['enterprise_project_id'];
|
3171
2672
|
fwInstanceId = listIpsProtectModeUsingPostRequest['fw_instance_id'];
|
3172
2673
|
}
|
3173
2674
|
}
|
3174
|
-
|
3175
|
-
|
3176
2675
|
if (projectId === null || projectId === undefined) {
|
3177
|
-
|
2676
|
+
throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling listIpsProtectModeUsingPost.');
|
3178
2677
|
}
|
3179
2678
|
if (objectId === null || objectId === undefined) {
|
3180
|
-
throw new RequiredError('objectId','Required parameter objectId was null or undefined when calling listIpsProtectModeUsingPost.');
|
2679
|
+
throw new RequiredError('objectId', 'Required parameter objectId was null or undefined when calling listIpsProtectModeUsingPost.');
|
3181
2680
|
}
|
3182
2681
|
if (objectId !== null && objectId !== undefined) {
|
3183
2682
|
localVarQueryParameter['object_id'] = objectId;
|
@@ -3188,19 +2687,17 @@ export const ParamCreater = function () {
|
|
3188
2687
|
if (fwInstanceId !== null && fwInstanceId !== undefined) {
|
3189
2688
|
localVarQueryParameter['fw_instance_id'] = fwInstanceId;
|
3190
2689
|
}
|
3191
|
-
|
3192
2690
|
options.queryParams = localVarQueryParameter;
|
3193
2691
|
options.pathParams = { 'project_id': projectId, };
|
3194
2692
|
options.headers = localVarHeaderParameter;
|
3195
2693
|
return options;
|
3196
2694
|
},
|
3197
|
-
|
3198
2695
|
/**
|
3199
2696
|
* 测试域名有效性
|
3200
|
-
*
|
2697
|
+
*
|
3201
2698
|
* Please refer to HUAWEI cloud API Explorer for details.
|
3202
2699
|
*/
|
3203
|
-
listParseDomainDetails(listParseDomainDetailsRequest
|
2700
|
+
listParseDomainDetails(listParseDomainDetailsRequest) {
|
3204
2701
|
const options = {
|
3205
2702
|
method: "GET",
|
3206
2703
|
url: "/v1/{project_id}/domain/parse/{domain_name}",
|
@@ -3209,37 +2706,31 @@ export const ParamCreater = function () {
|
|
3209
2706
|
pathParams: {},
|
3210
2707
|
headers: {}
|
3211
2708
|
};
|
3212
|
-
const localVarHeaderParameter = {}
|
3213
|
-
const localVarQueryParameter = {}
|
3214
|
-
|
2709
|
+
const localVarHeaderParameter = {};
|
2710
|
+
const localVarQueryParameter = {};
|
3215
2711
|
let projectId;
|
3216
|
-
|
3217
2712
|
let domainName;
|
3218
|
-
|
3219
2713
|
let enterpriseProjectId;
|
3220
|
-
|
3221
2714
|
let fwInstanceId;
|
3222
|
-
|
3223
2715
|
if (listParseDomainDetailsRequest !== null && listParseDomainDetailsRequest !== undefined) {
|
3224
|
-
if (listParseDomainDetailsRequest instanceof ListParseDomainDetailsRequest) {
|
2716
|
+
if (listParseDomainDetailsRequest instanceof ListParseDomainDetailsRequest_1.ListParseDomainDetailsRequest) {
|
3225
2717
|
projectId = listParseDomainDetailsRequest.projectId;
|
3226
2718
|
domainName = listParseDomainDetailsRequest.domainName;
|
3227
2719
|
enterpriseProjectId = listParseDomainDetailsRequest.enterpriseProjectId;
|
3228
2720
|
fwInstanceId = listParseDomainDetailsRequest.fwInstanceId;
|
3229
|
-
}
|
2721
|
+
}
|
2722
|
+
else {
|
3230
2723
|
projectId = listParseDomainDetailsRequest['project_id'];
|
3231
2724
|
domainName = listParseDomainDetailsRequest['domain_name'];
|
3232
2725
|
enterpriseProjectId = listParseDomainDetailsRequest['enterprise_project_id'];
|
3233
2726
|
fwInstanceId = listParseDomainDetailsRequest['fw_instance_id'];
|
3234
2727
|
}
|
3235
2728
|
}
|
3236
|
-
|
3237
|
-
|
3238
2729
|
if (projectId === null || projectId === undefined) {
|
3239
|
-
|
2730
|
+
throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling listParseDomainDetails.');
|
3240
2731
|
}
|
3241
2732
|
if (domainName === null || domainName === undefined) {
|
3242
|
-
|
2733
|
+
throw new RequiredError('domainName', 'Required parameter domainName was null or undefined when calling listParseDomainDetails.');
|
3243
2734
|
}
|
3244
2735
|
if (enterpriseProjectId !== null && enterpriseProjectId !== undefined) {
|
3245
2736
|
localVarQueryParameter['enterprise_project_id'] = enterpriseProjectId;
|
@@ -3247,19 +2738,17 @@ export const ParamCreater = function () {
|
|
3247
2738
|
if (fwInstanceId !== null && fwInstanceId !== undefined) {
|
3248
2739
|
localVarQueryParameter['fw_instance_id'] = fwInstanceId;
|
3249
2740
|
}
|
3250
|
-
|
3251
2741
|
options.queryParams = localVarQueryParameter;
|
3252
|
-
options.pathParams = { 'project_id': projectId,'domain_name': domainName, };
|
2742
|
+
options.pathParams = { 'project_id': projectId, 'domain_name': domainName, };
|
3253
2743
|
options.headers = localVarHeaderParameter;
|
3254
2744
|
return options;
|
3255
2745
|
},
|
3256
|
-
|
3257
2746
|
/**
|
3258
2747
|
* 获取规则击中次数
|
3259
|
-
*
|
2748
|
+
*
|
3260
2749
|
* Please refer to HUAWEI cloud API Explorer for details.
|
3261
2750
|
*/
|
3262
|
-
listRuleHitCount(listRuleHitCountRequest
|
2751
|
+
listRuleHitCount(listRuleHitCountRequest) {
|
3263
2752
|
const options = {
|
3264
2753
|
method: "POST",
|
3265
2754
|
url: "/v1/{project_id}/acl-rule/count",
|
@@ -3269,33 +2758,28 @@ export const ParamCreater = function () {
|
|
3269
2758
|
headers: {},
|
3270
2759
|
data: {}
|
3271
2760
|
};
|
3272
|
-
const localVarHeaderParameter = {}
|
3273
|
-
const localVarQueryParameter = {}
|
3274
|
-
let body
|
3275
|
-
|
2761
|
+
const localVarHeaderParameter = {};
|
2762
|
+
const localVarQueryParameter = {};
|
2763
|
+
let body;
|
3276
2764
|
let projectId;
|
3277
|
-
|
3278
2765
|
let enterpriseProjectId;
|
3279
|
-
|
3280
2766
|
let fwInstanceId;
|
3281
|
-
|
3282
2767
|
if (listRuleHitCountRequest !== null && listRuleHitCountRequest !== undefined) {
|
3283
|
-
if (listRuleHitCountRequest instanceof ListRuleHitCountRequest) {
|
2768
|
+
if (listRuleHitCountRequest instanceof ListRuleHitCountRequest_1.ListRuleHitCountRequest) {
|
3284
2769
|
projectId = listRuleHitCountRequest.projectId;
|
3285
2770
|
enterpriseProjectId = listRuleHitCountRequest.enterpriseProjectId;
|
3286
2771
|
fwInstanceId = listRuleHitCountRequest.fwInstanceId;
|
3287
|
-
body = listRuleHitCountRequest.body
|
3288
|
-
}
|
2772
|
+
body = listRuleHitCountRequest.body;
|
2773
|
+
}
|
2774
|
+
else {
|
3289
2775
|
projectId = listRuleHitCountRequest['project_id'];
|
3290
2776
|
enterpriseProjectId = listRuleHitCountRequest['enterprise_project_id'];
|
3291
2777
|
fwInstanceId = listRuleHitCountRequest['fw_instance_id'];
|
3292
2778
|
body = listRuleHitCountRequest['body'];
|
3293
2779
|
}
|
3294
2780
|
}
|
3295
|
-
|
3296
|
-
|
3297
2781
|
if (projectId === null || projectId === undefined) {
|
3298
|
-
|
2782
|
+
throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling listRuleHitCount.');
|
3299
2783
|
}
|
3300
2784
|
if (enterpriseProjectId !== null && enterpriseProjectId !== undefined) {
|
3301
2785
|
localVarQueryParameter['enterprise_project_id'] = enterpriseProjectId;
|
@@ -3304,20 +2788,18 @@ export const ParamCreater = function () {
|
|
3304
2788
|
localVarQueryParameter['fw_instance_id'] = fwInstanceId;
|
3305
2789
|
}
|
3306
2790
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
3307
|
-
|
3308
2791
|
options.data = body !== undefined ? body : {};
|
3309
2792
|
options.queryParams = localVarQueryParameter;
|
3310
2793
|
options.pathParams = { 'project_id': projectId, };
|
3311
2794
|
options.headers = localVarHeaderParameter;
|
3312
2795
|
return options;
|
3313
2796
|
},
|
3314
|
-
|
3315
2797
|
/**
|
3316
2798
|
* 查询服务组成员列表
|
3317
|
-
*
|
2799
|
+
*
|
3318
2800
|
* Please refer to HUAWEI cloud API Explorer for details.
|
3319
2801
|
*/
|
3320
|
-
listServiceItemsDetails(listServiceItemsDetailsRequest
|
2802
|
+
listServiceItemsDetails(listServiceItemsDetailsRequest) {
|
3321
2803
|
const options = {
|
3322
2804
|
method: "GET",
|
3323
2805
|
url: "/v1/{project_id}/service-items",
|
@@ -3326,25 +2808,17 @@ export const ParamCreater = function () {
|
|
3326
2808
|
pathParams: {},
|
3327
2809
|
headers: {}
|
3328
2810
|
};
|
3329
|
-
const localVarHeaderParameter = {}
|
3330
|
-
const localVarQueryParameter = {}
|
3331
|
-
|
2811
|
+
const localVarHeaderParameter = {};
|
2812
|
+
const localVarQueryParameter = {};
|
3332
2813
|
let projectId;
|
3333
|
-
|
3334
2814
|
let setId;
|
3335
|
-
|
3336
2815
|
let limit;
|
3337
|
-
|
3338
2816
|
let offset;
|
3339
|
-
|
3340
2817
|
let keyWord;
|
3341
|
-
|
3342
2818
|
let enterpriseProjectId;
|
3343
|
-
|
3344
2819
|
let fwInstanceId;
|
3345
|
-
|
3346
2820
|
if (listServiceItemsDetailsRequest !== null && listServiceItemsDetailsRequest !== undefined) {
|
3347
|
-
if (listServiceItemsDetailsRequest instanceof ListServiceItemsDetailsRequest) {
|
2821
|
+
if (listServiceItemsDetailsRequest instanceof ListServiceItemsDetailsRequest_1.ListServiceItemsDetailsRequest) {
|
3348
2822
|
projectId = listServiceItemsDetailsRequest.projectId;
|
3349
2823
|
setId = listServiceItemsDetailsRequest.setId;
|
3350
2824
|
limit = listServiceItemsDetailsRequest.limit;
|
@@ -3352,7 +2826,8 @@ export const ParamCreater = function () {
|
|
3352
2826
|
keyWord = listServiceItemsDetailsRequest.keyWord;
|
3353
2827
|
enterpriseProjectId = listServiceItemsDetailsRequest.enterpriseProjectId;
|
3354
2828
|
fwInstanceId = listServiceItemsDetailsRequest.fwInstanceId;
|
3355
|
-
}
|
2829
|
+
}
|
2830
|
+
else {
|
3356
2831
|
projectId = listServiceItemsDetailsRequest['project_id'];
|
3357
2832
|
setId = listServiceItemsDetailsRequest['set_id'];
|
3358
2833
|
limit = listServiceItemsDetailsRequest['limit'];
|
@@ -3362,25 +2837,23 @@ export const ParamCreater = function () {
|
|
3362
2837
|
fwInstanceId = listServiceItemsDetailsRequest['fw_instance_id'];
|
3363
2838
|
}
|
3364
2839
|
}
|
3365
|
-
|
3366
|
-
|
3367
2840
|
if (projectId === null || projectId === undefined) {
|
3368
|
-
|
2841
|
+
throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling listServiceItemsDetails.');
|
3369
2842
|
}
|
3370
2843
|
if (setId === null || setId === undefined) {
|
3371
|
-
throw new RequiredError('setId','Required parameter setId was null or undefined when calling listServiceItemsDetails.');
|
2844
|
+
throw new RequiredError('setId', 'Required parameter setId was null or undefined when calling listServiceItemsDetails.');
|
3372
2845
|
}
|
3373
2846
|
if (setId !== null && setId !== undefined) {
|
3374
2847
|
localVarQueryParameter['set_id'] = setId;
|
3375
2848
|
}
|
3376
2849
|
if (limit === null || limit === undefined) {
|
3377
|
-
throw new RequiredError('limit','Required parameter limit was null or undefined when calling listServiceItemsDetails.');
|
2850
|
+
throw new RequiredError('limit', 'Required parameter limit was null or undefined when calling listServiceItemsDetails.');
|
3378
2851
|
}
|
3379
2852
|
if (limit !== null && limit !== undefined) {
|
3380
2853
|
localVarQueryParameter['limit'] = limit;
|
3381
2854
|
}
|
3382
2855
|
if (offset === null || offset === undefined) {
|
3383
|
-
throw new RequiredError('offset','Required parameter offset was null or undefined when calling listServiceItemsDetails.');
|
2856
|
+
throw new RequiredError('offset', 'Required parameter offset was null or undefined when calling listServiceItemsDetails.');
|
3384
2857
|
}
|
3385
2858
|
if (offset !== null && offset !== undefined) {
|
3386
2859
|
localVarQueryParameter['offset'] = offset;
|
@@ -3394,19 +2867,17 @@ export const ParamCreater = function () {
|
|
3394
2867
|
if (fwInstanceId !== null && fwInstanceId !== undefined) {
|
3395
2868
|
localVarQueryParameter['fw_instance_id'] = fwInstanceId;
|
3396
2869
|
}
|
3397
|
-
|
3398
2870
|
options.queryParams = localVarQueryParameter;
|
3399
2871
|
options.pathParams = { 'project_id': projectId, };
|
3400
2872
|
options.headers = localVarHeaderParameter;
|
3401
2873
|
return options;
|
3402
2874
|
},
|
3403
|
-
|
3404
2875
|
/**
|
3405
2876
|
* 获取服务组列表
|
3406
|
-
*
|
2877
|
+
*
|
3407
2878
|
* Please refer to HUAWEI cloud API Explorer for details.
|
3408
2879
|
*/
|
3409
|
-
listServiceSet(listServiceSetRequest
|
2880
|
+
listServiceSet(listServiceSetRequest) {
|
3410
2881
|
const options = {
|
3411
2882
|
method: "GET",
|
3412
2883
|
url: "/v1/{project_id}/service-sets",
|
@@ -3415,25 +2886,17 @@ export const ParamCreater = function () {
|
|
3415
2886
|
pathParams: {},
|
3416
2887
|
headers: {}
|
3417
2888
|
};
|
3418
|
-
const localVarHeaderParameter = {}
|
3419
|
-
const localVarQueryParameter = {}
|
3420
|
-
|
2889
|
+
const localVarHeaderParameter = {};
|
2890
|
+
const localVarQueryParameter = {};
|
3421
2891
|
let projectId;
|
3422
|
-
|
3423
2892
|
let objectId;
|
3424
|
-
|
3425
2893
|
let limit;
|
3426
|
-
|
3427
2894
|
let offset;
|
3428
|
-
|
3429
2895
|
let keyWord;
|
3430
|
-
|
3431
2896
|
let enterpriseProjectId;
|
3432
|
-
|
3433
2897
|
let fwInstanceId;
|
3434
|
-
|
3435
2898
|
if (listServiceSetRequest !== null && listServiceSetRequest !== undefined) {
|
3436
|
-
if (listServiceSetRequest instanceof ListServiceSetRequest) {
|
2899
|
+
if (listServiceSetRequest instanceof ListServiceSetRequest_1.ListServiceSetRequest) {
|
3437
2900
|
projectId = listServiceSetRequest.projectId;
|
3438
2901
|
objectId = listServiceSetRequest.objectId;
|
3439
2902
|
limit = listServiceSetRequest.limit;
|
@@ -3441,7 +2904,8 @@ export const ParamCreater = function () {
|
|
3441
2904
|
keyWord = listServiceSetRequest.keyWord;
|
3442
2905
|
enterpriseProjectId = listServiceSetRequest.enterpriseProjectId;
|
3443
2906
|
fwInstanceId = listServiceSetRequest.fwInstanceId;
|
3444
|
-
}
|
2907
|
+
}
|
2908
|
+
else {
|
3445
2909
|
projectId = listServiceSetRequest['project_id'];
|
3446
2910
|
objectId = listServiceSetRequest['object_id'];
|
3447
2911
|
limit = listServiceSetRequest['limit'];
|
@@ -3451,25 +2915,23 @@ export const ParamCreater = function () {
|
|
3451
2915
|
fwInstanceId = listServiceSetRequest['fw_instance_id'];
|
3452
2916
|
}
|
3453
2917
|
}
|
3454
|
-
|
3455
|
-
|
3456
2918
|
if (projectId === null || projectId === undefined) {
|
3457
|
-
|
2919
|
+
throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling listServiceSet.');
|
3458
2920
|
}
|
3459
2921
|
if (objectId === null || objectId === undefined) {
|
3460
|
-
throw new RequiredError('objectId','Required parameter objectId was null or undefined when calling listServiceSet.');
|
2922
|
+
throw new RequiredError('objectId', 'Required parameter objectId was null or undefined when calling listServiceSet.');
|
3461
2923
|
}
|
3462
2924
|
if (objectId !== null && objectId !== undefined) {
|
3463
2925
|
localVarQueryParameter['object_id'] = objectId;
|
3464
2926
|
}
|
3465
2927
|
if (limit === null || limit === undefined) {
|
3466
|
-
throw new RequiredError('limit','Required parameter limit was null or undefined when calling listServiceSet.');
|
2928
|
+
throw new RequiredError('limit', 'Required parameter limit was null or undefined when calling listServiceSet.');
|
3467
2929
|
}
|
3468
2930
|
if (limit !== null && limit !== undefined) {
|
3469
2931
|
localVarQueryParameter['limit'] = limit;
|
3470
2932
|
}
|
3471
2933
|
if (offset === null || offset === undefined) {
|
3472
|
-
throw new RequiredError('offset','Required parameter offset was null or undefined when calling listServiceSet.');
|
2934
|
+
throw new RequiredError('offset', 'Required parameter offset was null or undefined when calling listServiceSet.');
|
3473
2935
|
}
|
3474
2936
|
if (offset !== null && offset !== undefined) {
|
3475
2937
|
localVarQueryParameter['offset'] = offset;
|
@@ -3483,19 +2945,17 @@ export const ParamCreater = function () {
|
|
3483
2945
|
if (fwInstanceId !== null && fwInstanceId !== undefined) {
|
3484
2946
|
localVarQueryParameter['fw_instance_id'] = fwInstanceId;
|
3485
2947
|
}
|
3486
|
-
|
3487
2948
|
options.queryParams = localVarQueryParameter;
|
3488
2949
|
options.pathParams = { 'project_id': projectId, };
|
3489
2950
|
options.headers = localVarHeaderParameter;
|
3490
2951
|
return options;
|
3491
2952
|
},
|
3492
|
-
|
3493
2953
|
/**
|
3494
2954
|
* 查询服务组细节
|
3495
|
-
*
|
2955
|
+
*
|
3496
2956
|
* Please refer to HUAWEI cloud API Explorer for details.
|
3497
2957
|
*/
|
3498
|
-
listServiceSetDetails(listServiceSetDetailsRequest
|
2958
|
+
listServiceSetDetails(listServiceSetDetailsRequest) {
|
3499
2959
|
const options = {
|
3500
2960
|
method: "GET",
|
3501
2961
|
url: "/v1/{project_id}/service-sets/{set_id}",
|
@@ -3504,37 +2964,31 @@ export const ParamCreater = function () {
|
|
3504
2964
|
pathParams: {},
|
3505
2965
|
headers: {}
|
3506
2966
|
};
|
3507
|
-
const localVarHeaderParameter = {}
|
3508
|
-
const localVarQueryParameter = {}
|
3509
|
-
|
2967
|
+
const localVarHeaderParameter = {};
|
2968
|
+
const localVarQueryParameter = {};
|
3510
2969
|
let projectId;
|
3511
|
-
|
3512
2970
|
let setId;
|
3513
|
-
|
3514
2971
|
let enterpriseProjectId;
|
3515
|
-
|
3516
2972
|
let fwInstanceId;
|
3517
|
-
|
3518
2973
|
if (listServiceSetDetailsRequest !== null && listServiceSetDetailsRequest !== undefined) {
|
3519
|
-
if (listServiceSetDetailsRequest instanceof ListServiceSetDetailsRequest) {
|
2974
|
+
if (listServiceSetDetailsRequest instanceof ListServiceSetDetailsRequest_1.ListServiceSetDetailsRequest) {
|
3520
2975
|
projectId = listServiceSetDetailsRequest.projectId;
|
3521
2976
|
setId = listServiceSetDetailsRequest.setId;
|
3522
2977
|
enterpriseProjectId = listServiceSetDetailsRequest.enterpriseProjectId;
|
3523
2978
|
fwInstanceId = listServiceSetDetailsRequest.fwInstanceId;
|
3524
|
-
}
|
2979
|
+
}
|
2980
|
+
else {
|
3525
2981
|
projectId = listServiceSetDetailsRequest['project_id'];
|
3526
2982
|
setId = listServiceSetDetailsRequest['set_id'];
|
3527
2983
|
enterpriseProjectId = listServiceSetDetailsRequest['enterprise_project_id'];
|
3528
2984
|
fwInstanceId = listServiceSetDetailsRequest['fw_instance_id'];
|
3529
2985
|
}
|
3530
2986
|
}
|
3531
|
-
|
3532
|
-
|
3533
2987
|
if (projectId === null || projectId === undefined) {
|
3534
|
-
|
2988
|
+
throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling listServiceSetDetails.');
|
3535
2989
|
}
|
3536
2990
|
if (setId === null || setId === undefined) {
|
3537
|
-
|
2991
|
+
throw new RequiredError('setId', 'Required parameter setId was null or undefined when calling listServiceSetDetails.');
|
3538
2992
|
}
|
3539
2993
|
if (enterpriseProjectId !== null && enterpriseProjectId !== undefined) {
|
3540
2994
|
localVarQueryParameter['enterprise_project_id'] = enterpriseProjectId;
|
@@ -3542,19 +2996,17 @@ export const ParamCreater = function () {
|
|
3542
2996
|
if (fwInstanceId !== null && fwInstanceId !== undefined) {
|
3543
2997
|
localVarQueryParameter['fw_instance_id'] = fwInstanceId;
|
3544
2998
|
}
|
3545
|
-
|
3546
2999
|
options.queryParams = localVarQueryParameter;
|
3547
|
-
options.pathParams = { 'project_id': projectId,'set_id': setId, };
|
3000
|
+
options.pathParams = { 'project_id': projectId, 'set_id': setId, };
|
3548
3001
|
options.headers = localVarHeaderParameter;
|
3549
3002
|
return options;
|
3550
3003
|
},
|
3551
|
-
|
3552
3004
|
/**
|
3553
3005
|
* 更新地址组信息
|
3554
|
-
*
|
3006
|
+
*
|
3555
3007
|
* Please refer to HUAWEI cloud API Explorer for details.
|
3556
3008
|
*/
|
3557
|
-
updateAddressSetInfoUsingPut(updateAddressSetInfoUsingPutRequest
|
3009
|
+
updateAddressSetInfoUsingPut(updateAddressSetInfoUsingPutRequest) {
|
3558
3010
|
const options = {
|
3559
3011
|
method: "PUT",
|
3560
3012
|
url: "/v1/{project_id}/address-sets/{set_id}",
|
@@ -3564,26 +3016,22 @@ export const ParamCreater = function () {
|
|
3564
3016
|
headers: {},
|
3565
3017
|
data: {}
|
3566
3018
|
};
|
3567
|
-
const localVarHeaderParameter = {}
|
3568
|
-
const localVarQueryParameter = {}
|
3569
|
-
let body
|
3570
|
-
|
3019
|
+
const localVarHeaderParameter = {};
|
3020
|
+
const localVarQueryParameter = {};
|
3021
|
+
let body;
|
3571
3022
|
let projectId;
|
3572
|
-
|
3573
3023
|
let setId;
|
3574
|
-
|
3575
3024
|
let enterpriseProjectId;
|
3576
|
-
|
3577
3025
|
let fwInstanceId;
|
3578
|
-
|
3579
3026
|
if (updateAddressSetInfoUsingPutRequest !== null && updateAddressSetInfoUsingPutRequest !== undefined) {
|
3580
|
-
if (updateAddressSetInfoUsingPutRequest instanceof UpdateAddressSetInfoUsingPutRequest) {
|
3027
|
+
if (updateAddressSetInfoUsingPutRequest instanceof UpdateAddressSetInfoUsingPutRequest_1.UpdateAddressSetInfoUsingPutRequest) {
|
3581
3028
|
projectId = updateAddressSetInfoUsingPutRequest.projectId;
|
3582
3029
|
setId = updateAddressSetInfoUsingPutRequest.setId;
|
3583
|
-
body = updateAddressSetInfoUsingPutRequest.body
|
3030
|
+
body = updateAddressSetInfoUsingPutRequest.body;
|
3584
3031
|
enterpriseProjectId = updateAddressSetInfoUsingPutRequest.enterpriseProjectId;
|
3585
3032
|
fwInstanceId = updateAddressSetInfoUsingPutRequest.fwInstanceId;
|
3586
|
-
}
|
3033
|
+
}
|
3034
|
+
else {
|
3587
3035
|
projectId = updateAddressSetInfoUsingPutRequest['project_id'];
|
3588
3036
|
setId = updateAddressSetInfoUsingPutRequest['set_id'];
|
3589
3037
|
body = updateAddressSetInfoUsingPutRequest['body'];
|
@@ -3591,16 +3039,14 @@ export const ParamCreater = function () {
|
|
3591
3039
|
fwInstanceId = updateAddressSetInfoUsingPutRequest['fw_instance_id'];
|
3592
3040
|
}
|
3593
3041
|
}
|
3594
|
-
|
3595
|
-
|
3596
3042
|
if (projectId === null || projectId === undefined) {
|
3597
|
-
|
3043
|
+
throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling updateAddressSetInfoUsingPut.');
|
3598
3044
|
}
|
3599
3045
|
if (setId === null || setId === undefined) {
|
3600
|
-
|
3046
|
+
throw new RequiredError('setId', 'Required parameter setId was null or undefined when calling updateAddressSetInfoUsingPut.');
|
3601
3047
|
}
|
3602
3048
|
if (body === null || body === undefined) {
|
3603
|
-
throw new RequiredError('body','Required parameter body was null or undefined when calling body.');
|
3049
|
+
throw new RequiredError('body', 'Required parameter body was null or undefined when calling body.');
|
3604
3050
|
}
|
3605
3051
|
if (enterpriseProjectId !== null && enterpriseProjectId !== undefined) {
|
3606
3052
|
localVarQueryParameter['enterprise_project_id'] = enterpriseProjectId;
|
@@ -3609,20 +3055,18 @@ export const ParamCreater = function () {
|
|
3609
3055
|
localVarQueryParameter['fw_instance_id'] = fwInstanceId;
|
3610
3056
|
}
|
3611
3057
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
3612
|
-
|
3613
3058
|
options.data = body !== undefined ? body : {};
|
3614
3059
|
options.queryParams = localVarQueryParameter;
|
3615
|
-
options.pathParams = { 'project_id': projectId,'set_id': setId, };
|
3060
|
+
options.pathParams = { 'project_id': projectId, 'set_id': setId, };
|
3616
3061
|
options.headers = localVarHeaderParameter;
|
3617
3062
|
return options;
|
3618
3063
|
},
|
3619
|
-
|
3620
3064
|
/**
|
3621
3065
|
* 更新黑白名单列表
|
3622
|
-
*
|
3066
|
+
*
|
3623
3067
|
* Please refer to HUAWEI cloud API Explorer for details.
|
3624
3068
|
*/
|
3625
|
-
updateBlackWhiteListUsingPut(updateBlackWhiteListUsingPutRequest
|
3069
|
+
updateBlackWhiteListUsingPut(updateBlackWhiteListUsingPutRequest) {
|
3626
3070
|
const options = {
|
3627
3071
|
method: "PUT",
|
3628
3072
|
url: "/v1/{project_id}/black-white-list/{list_id}",
|
@@ -3632,26 +3076,22 @@ export const ParamCreater = function () {
|
|
3632
3076
|
headers: {},
|
3633
3077
|
data: {}
|
3634
3078
|
};
|
3635
|
-
const localVarHeaderParameter = {}
|
3636
|
-
const localVarQueryParameter = {}
|
3637
|
-
let body
|
3638
|
-
|
3079
|
+
const localVarHeaderParameter = {};
|
3080
|
+
const localVarQueryParameter = {};
|
3081
|
+
let body;
|
3639
3082
|
let projectId;
|
3640
|
-
|
3641
3083
|
let listId;
|
3642
|
-
|
3643
3084
|
let enterpriseProjectId;
|
3644
|
-
|
3645
3085
|
let fwInstanceId;
|
3646
|
-
|
3647
3086
|
if (updateBlackWhiteListUsingPutRequest !== null && updateBlackWhiteListUsingPutRequest !== undefined) {
|
3648
|
-
if (updateBlackWhiteListUsingPutRequest instanceof UpdateBlackWhiteListUsingPutRequest) {
|
3087
|
+
if (updateBlackWhiteListUsingPutRequest instanceof UpdateBlackWhiteListUsingPutRequest_1.UpdateBlackWhiteListUsingPutRequest) {
|
3649
3088
|
projectId = updateBlackWhiteListUsingPutRequest.projectId;
|
3650
3089
|
listId = updateBlackWhiteListUsingPutRequest.listId;
|
3651
|
-
body = updateBlackWhiteListUsingPutRequest.body
|
3090
|
+
body = updateBlackWhiteListUsingPutRequest.body;
|
3652
3091
|
enterpriseProjectId = updateBlackWhiteListUsingPutRequest.enterpriseProjectId;
|
3653
3092
|
fwInstanceId = updateBlackWhiteListUsingPutRequest.fwInstanceId;
|
3654
|
-
}
|
3093
|
+
}
|
3094
|
+
else {
|
3655
3095
|
projectId = updateBlackWhiteListUsingPutRequest['project_id'];
|
3656
3096
|
listId = updateBlackWhiteListUsingPutRequest['list_id'];
|
3657
3097
|
body = updateBlackWhiteListUsingPutRequest['body'];
|
@@ -3659,16 +3099,14 @@ export const ParamCreater = function () {
|
|
3659
3099
|
fwInstanceId = updateBlackWhiteListUsingPutRequest['fw_instance_id'];
|
3660
3100
|
}
|
3661
3101
|
}
|
3662
|
-
|
3663
|
-
|
3664
3102
|
if (projectId === null || projectId === undefined) {
|
3665
|
-
|
3103
|
+
throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling updateBlackWhiteListUsingPut.');
|
3666
3104
|
}
|
3667
3105
|
if (listId === null || listId === undefined) {
|
3668
|
-
|
3106
|
+
throw new RequiredError('listId', 'Required parameter listId was null or undefined when calling updateBlackWhiteListUsingPut.');
|
3669
3107
|
}
|
3670
3108
|
if (body === null || body === undefined) {
|
3671
|
-
throw new RequiredError('body','Required parameter body was null or undefined when calling body.');
|
3109
|
+
throw new RequiredError('body', 'Required parameter body was null or undefined when calling body.');
|
3672
3110
|
}
|
3673
3111
|
if (enterpriseProjectId !== null && enterpriseProjectId !== undefined) {
|
3674
3112
|
localVarQueryParameter['enterprise_project_id'] = enterpriseProjectId;
|
@@ -3677,20 +3115,18 @@ export const ParamCreater = function () {
|
|
3677
3115
|
localVarQueryParameter['fw_instance_id'] = fwInstanceId;
|
3678
3116
|
}
|
3679
3117
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
3680
|
-
|
3681
3118
|
options.data = body !== undefined ? body : {};
|
3682
3119
|
options.queryParams = localVarQueryParameter;
|
3683
|
-
options.pathParams = { 'project_id': projectId,'list_id': listId, };
|
3120
|
+
options.pathParams = { 'project_id': projectId, 'list_id': listId, };
|
3684
3121
|
options.headers = localVarHeaderParameter;
|
3685
3122
|
return options;
|
3686
3123
|
},
|
3687
|
-
|
3688
3124
|
/**
|
3689
3125
|
* 更新dns服务器列表
|
3690
|
-
*
|
3126
|
+
*
|
3691
3127
|
* Please refer to HUAWEI cloud API Explorer for details.
|
3692
3128
|
*/
|
3693
|
-
updateDnsServers(updateDnsServersRequest
|
3129
|
+
updateDnsServers(updateDnsServersRequest) {
|
3694
3130
|
const options = {
|
3695
3131
|
method: "PUT",
|
3696
3132
|
url: "/v1/{project_id}/dns/servers",
|
@@ -3700,36 +3136,31 @@ export const ParamCreater = function () {
|
|
3700
3136
|
headers: {},
|
3701
3137
|
data: {}
|
3702
3138
|
};
|
3703
|
-
const localVarHeaderParameter = {}
|
3704
|
-
const localVarQueryParameter = {}
|
3705
|
-
let body
|
3706
|
-
|
3139
|
+
const localVarHeaderParameter = {};
|
3140
|
+
const localVarQueryParameter = {};
|
3141
|
+
let body;
|
3707
3142
|
let projectId;
|
3708
|
-
|
3709
3143
|
let fwInstanceId;
|
3710
|
-
|
3711
3144
|
let enterpriseProjectId;
|
3712
|
-
|
3713
3145
|
if (updateDnsServersRequest !== null && updateDnsServersRequest !== undefined) {
|
3714
|
-
if (updateDnsServersRequest instanceof UpdateDnsServersRequest) {
|
3146
|
+
if (updateDnsServersRequest instanceof UpdateDnsServersRequest_1.UpdateDnsServersRequest) {
|
3715
3147
|
projectId = updateDnsServersRequest.projectId;
|
3716
|
-
body = updateDnsServersRequest.body
|
3148
|
+
body = updateDnsServersRequest.body;
|
3717
3149
|
fwInstanceId = updateDnsServersRequest.fwInstanceId;
|
3718
3150
|
enterpriseProjectId = updateDnsServersRequest.enterpriseProjectId;
|
3719
|
-
}
|
3151
|
+
}
|
3152
|
+
else {
|
3720
3153
|
projectId = updateDnsServersRequest['project_id'];
|
3721
3154
|
body = updateDnsServersRequest['body'];
|
3722
3155
|
fwInstanceId = updateDnsServersRequest['fw_instance_id'];
|
3723
3156
|
enterpriseProjectId = updateDnsServersRequest['enterprise_project_id'];
|
3724
3157
|
}
|
3725
3158
|
}
|
3726
|
-
|
3727
|
-
|
3728
3159
|
if (projectId === null || projectId === undefined) {
|
3729
|
-
|
3160
|
+
throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling updateDnsServers.');
|
3730
3161
|
}
|
3731
3162
|
if (body === null || body === undefined) {
|
3732
|
-
throw new RequiredError('body','Required parameter body was null or undefined when calling body.');
|
3163
|
+
throw new RequiredError('body', 'Required parameter body was null or undefined when calling body.');
|
3733
3164
|
}
|
3734
3165
|
if (fwInstanceId !== null && fwInstanceId !== undefined) {
|
3735
3166
|
localVarQueryParameter['fw_instance_id'] = fwInstanceId;
|
@@ -3738,20 +3169,18 @@ export const ParamCreater = function () {
|
|
3738
3169
|
localVarQueryParameter['enterprise_project_id'] = enterpriseProjectId;
|
3739
3170
|
}
|
3740
3171
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
3741
|
-
|
3742
3172
|
options.data = body !== undefined ? body : {};
|
3743
3173
|
options.queryParams = localVarQueryParameter;
|
3744
3174
|
options.pathParams = { 'project_id': projectId, };
|
3745
3175
|
options.headers = localVarHeaderParameter;
|
3746
3176
|
return options;
|
3747
3177
|
},
|
3748
|
-
|
3749
3178
|
/**
|
3750
3179
|
* 更新服务组
|
3751
|
-
*
|
3180
|
+
*
|
3752
3181
|
* Please refer to HUAWEI cloud API Explorer for details.
|
3753
3182
|
*/
|
3754
|
-
updateServiceSetUsingPut(updateServiceSetUsingPutRequest
|
3183
|
+
updateServiceSetUsingPut(updateServiceSetUsingPutRequest) {
|
3755
3184
|
const options = {
|
3756
3185
|
method: "PUT",
|
3757
3186
|
url: "/v1/{project_id}/service-sets/{set_id}",
|
@@ -3761,26 +3190,22 @@ export const ParamCreater = function () {
|
|
3761
3190
|
headers: {},
|
3762
3191
|
data: {}
|
3763
3192
|
};
|
3764
|
-
const localVarHeaderParameter = {}
|
3765
|
-
const localVarQueryParameter = {}
|
3766
|
-
let body
|
3767
|
-
|
3193
|
+
const localVarHeaderParameter = {};
|
3194
|
+
const localVarQueryParameter = {};
|
3195
|
+
let body;
|
3768
3196
|
let projectId;
|
3769
|
-
|
3770
3197
|
let setId;
|
3771
|
-
|
3772
3198
|
let enterpriseProjectId;
|
3773
|
-
|
3774
3199
|
let fwInstanceId;
|
3775
|
-
|
3776
3200
|
if (updateServiceSetUsingPutRequest !== null && updateServiceSetUsingPutRequest !== undefined) {
|
3777
|
-
if (updateServiceSetUsingPutRequest instanceof UpdateServiceSetUsingPutRequest) {
|
3201
|
+
if (updateServiceSetUsingPutRequest instanceof UpdateServiceSetUsingPutRequest_1.UpdateServiceSetUsingPutRequest) {
|
3778
3202
|
projectId = updateServiceSetUsingPutRequest.projectId;
|
3779
3203
|
setId = updateServiceSetUsingPutRequest.setId;
|
3780
|
-
body = updateServiceSetUsingPutRequest.body
|
3204
|
+
body = updateServiceSetUsingPutRequest.body;
|
3781
3205
|
enterpriseProjectId = updateServiceSetUsingPutRequest.enterpriseProjectId;
|
3782
3206
|
fwInstanceId = updateServiceSetUsingPutRequest.fwInstanceId;
|
3783
|
-
}
|
3207
|
+
}
|
3208
|
+
else {
|
3784
3209
|
projectId = updateServiceSetUsingPutRequest['project_id'];
|
3785
3210
|
setId = updateServiceSetUsingPutRequest['set_id'];
|
3786
3211
|
body = updateServiceSetUsingPutRequest['body'];
|
@@ -3788,16 +3213,14 @@ export const ParamCreater = function () {
|
|
3788
3213
|
fwInstanceId = updateServiceSetUsingPutRequest['fw_instance_id'];
|
3789
3214
|
}
|
3790
3215
|
}
|
3791
|
-
|
3792
|
-
|
3793
3216
|
if (projectId === null || projectId === undefined) {
|
3794
|
-
|
3217
|
+
throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling updateServiceSetUsingPut.');
|
3795
3218
|
}
|
3796
3219
|
if (setId === null || setId === undefined) {
|
3797
|
-
|
3220
|
+
throw new RequiredError('setId', 'Required parameter setId was null or undefined when calling updateServiceSetUsingPut.');
|
3798
3221
|
}
|
3799
3222
|
if (body === null || body === undefined) {
|
3800
|
-
throw new RequiredError('body','Required parameter body was null or undefined when calling body.');
|
3223
|
+
throw new RequiredError('body', 'Required parameter body was null or undefined when calling body.');
|
3801
3224
|
}
|
3802
3225
|
if (enterpriseProjectId !== null && enterpriseProjectId !== undefined) {
|
3803
3226
|
localVarQueryParameter['enterprise_project_id'] = enterpriseProjectId;
|
@@ -3806,20 +3229,18 @@ export const ParamCreater = function () {
|
|
3806
3229
|
localVarQueryParameter['fw_instance_id'] = fwInstanceId;
|
3807
3230
|
}
|
3808
3231
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
3809
|
-
|
3810
3232
|
options.data = body !== undefined ? body : {};
|
3811
3233
|
options.queryParams = localVarQueryParameter;
|
3812
|
-
options.pathParams = { 'project_id': projectId,'set_id': setId, };
|
3234
|
+
options.pathParams = { 'project_id': projectId, 'set_id': setId, };
|
3813
3235
|
options.headers = localVarHeaderParameter;
|
3814
3236
|
return options;
|
3815
3237
|
},
|
3816
|
-
|
3817
3238
|
/**
|
3818
3239
|
* 创建ACL规则
|
3819
|
-
*
|
3240
|
+
*
|
3820
3241
|
* Please refer to HUAWEI cloud API Explorer for details.
|
3821
3242
|
*/
|
3822
|
-
addRuleAclUsingPost(addRuleAclUsingPostRequest
|
3243
|
+
addRuleAclUsingPost(addRuleAclUsingPostRequest) {
|
3823
3244
|
const options = {
|
3824
3245
|
method: "POST",
|
3825
3246
|
url: "/v1/{project_id}/acl-rule",
|
@@ -3829,36 +3250,31 @@ export const ParamCreater = function () {
|
|
3829
3250
|
headers: {},
|
3830
3251
|
data: {}
|
3831
3252
|
};
|
3832
|
-
const localVarHeaderParameter = {}
|
3833
|
-
const localVarQueryParameter = {}
|
3834
|
-
let body
|
3835
|
-
|
3253
|
+
const localVarHeaderParameter = {};
|
3254
|
+
const localVarQueryParameter = {};
|
3255
|
+
let body;
|
3836
3256
|
let projectId;
|
3837
|
-
|
3838
3257
|
let enterpriseProjectId;
|
3839
|
-
|
3840
3258
|
let fwInstanceId;
|
3841
|
-
|
3842
3259
|
if (addRuleAclUsingPostRequest !== null && addRuleAclUsingPostRequest !== undefined) {
|
3843
|
-
if (addRuleAclUsingPostRequest instanceof AddRuleAclUsingPostRequest) {
|
3260
|
+
if (addRuleAclUsingPostRequest instanceof AddRuleAclUsingPostRequest_1.AddRuleAclUsingPostRequest) {
|
3844
3261
|
projectId = addRuleAclUsingPostRequest.projectId;
|
3845
|
-
body = addRuleAclUsingPostRequest.body
|
3262
|
+
body = addRuleAclUsingPostRequest.body;
|
3846
3263
|
enterpriseProjectId = addRuleAclUsingPostRequest.enterpriseProjectId;
|
3847
3264
|
fwInstanceId = addRuleAclUsingPostRequest.fwInstanceId;
|
3848
|
-
}
|
3265
|
+
}
|
3266
|
+
else {
|
3849
3267
|
projectId = addRuleAclUsingPostRequest['project_id'];
|
3850
3268
|
body = addRuleAclUsingPostRequest['body'];
|
3851
3269
|
enterpriseProjectId = addRuleAclUsingPostRequest['enterprise_project_id'];
|
3852
3270
|
fwInstanceId = addRuleAclUsingPostRequest['fw_instance_id'];
|
3853
3271
|
}
|
3854
3272
|
}
|
3855
|
-
|
3856
|
-
|
3857
3273
|
if (projectId === null || projectId === undefined) {
|
3858
|
-
|
3274
|
+
throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling addRuleAclUsingPost.');
|
3859
3275
|
}
|
3860
3276
|
if (body === null || body === undefined) {
|
3861
|
-
throw new RequiredError('body','Required parameter body was null or undefined when calling body.');
|
3277
|
+
throw new RequiredError('body', 'Required parameter body was null or undefined when calling body.');
|
3862
3278
|
}
|
3863
3279
|
if (enterpriseProjectId !== null && enterpriseProjectId !== undefined) {
|
3864
3280
|
localVarQueryParameter['enterprise_project_id'] = enterpriseProjectId;
|
@@ -3867,20 +3283,18 @@ export const ParamCreater = function () {
|
|
3867
3283
|
localVarQueryParameter['fw_instance_id'] = fwInstanceId;
|
3868
3284
|
}
|
3869
3285
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
3870
|
-
|
3871
3286
|
options.data = body !== undefined ? body : {};
|
3872
3287
|
options.queryParams = localVarQueryParameter;
|
3873
3288
|
options.pathParams = { 'project_id': projectId, };
|
3874
3289
|
options.headers = localVarHeaderParameter;
|
3875
3290
|
return options;
|
3876
3291
|
},
|
3877
|
-
|
3878
3292
|
/**
|
3879
3293
|
* 删除ACL规则组
|
3880
|
-
*
|
3294
|
+
*
|
3881
3295
|
* Please refer to HUAWEI cloud API Explorer for details.
|
3882
3296
|
*/
|
3883
|
-
deleteRuleAclUsingDelete(deleteRuleAclUsingDeleteRequest
|
3297
|
+
deleteRuleAclUsingDelete(deleteRuleAclUsingDeleteRequest) {
|
3884
3298
|
const options = {
|
3885
3299
|
method: "DELETE",
|
3886
3300
|
url: "/v1/{project_id}/acl-rule/{acl_rule_id}",
|
@@ -3889,37 +3303,31 @@ export const ParamCreater = function () {
|
|
3889
3303
|
pathParams: {},
|
3890
3304
|
headers: {}
|
3891
3305
|
};
|
3892
|
-
const localVarHeaderParameter = {}
|
3893
|
-
const localVarQueryParameter = {}
|
3894
|
-
|
3306
|
+
const localVarHeaderParameter = {};
|
3307
|
+
const localVarQueryParameter = {};
|
3895
3308
|
let projectId;
|
3896
|
-
|
3897
3309
|
let aclRuleId;
|
3898
|
-
|
3899
3310
|
let enterpriseProjectId;
|
3900
|
-
|
3901
3311
|
let fwInstanceId;
|
3902
|
-
|
3903
3312
|
if (deleteRuleAclUsingDeleteRequest !== null && deleteRuleAclUsingDeleteRequest !== undefined) {
|
3904
|
-
if (deleteRuleAclUsingDeleteRequest instanceof DeleteRuleAclUsingDeleteRequest) {
|
3313
|
+
if (deleteRuleAclUsingDeleteRequest instanceof DeleteRuleAclUsingDeleteRequest_1.DeleteRuleAclUsingDeleteRequest) {
|
3905
3314
|
projectId = deleteRuleAclUsingDeleteRequest.projectId;
|
3906
3315
|
aclRuleId = deleteRuleAclUsingDeleteRequest.aclRuleId;
|
3907
3316
|
enterpriseProjectId = deleteRuleAclUsingDeleteRequest.enterpriseProjectId;
|
3908
3317
|
fwInstanceId = deleteRuleAclUsingDeleteRequest.fwInstanceId;
|
3909
|
-
}
|
3318
|
+
}
|
3319
|
+
else {
|
3910
3320
|
projectId = deleteRuleAclUsingDeleteRequest['project_id'];
|
3911
3321
|
aclRuleId = deleteRuleAclUsingDeleteRequest['acl_rule_id'];
|
3912
3322
|
enterpriseProjectId = deleteRuleAclUsingDeleteRequest['enterprise_project_id'];
|
3913
3323
|
fwInstanceId = deleteRuleAclUsingDeleteRequest['fw_instance_id'];
|
3914
3324
|
}
|
3915
3325
|
}
|
3916
|
-
|
3917
|
-
|
3918
3326
|
if (projectId === null || projectId === undefined) {
|
3919
|
-
|
3327
|
+
throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling deleteRuleAclUsingDelete.');
|
3920
3328
|
}
|
3921
3329
|
if (aclRuleId === null || aclRuleId === undefined) {
|
3922
|
-
|
3330
|
+
throw new RequiredError('aclRuleId', 'Required parameter aclRuleId was null or undefined when calling deleteRuleAclUsingDelete.');
|
3923
3331
|
}
|
3924
3332
|
if (enterpriseProjectId !== null && enterpriseProjectId !== undefined) {
|
3925
3333
|
localVarQueryParameter['enterprise_project_id'] = enterpriseProjectId;
|
@@ -3927,19 +3335,17 @@ export const ParamCreater = function () {
|
|
3927
3335
|
if (fwInstanceId !== null && fwInstanceId !== undefined) {
|
3928
3336
|
localVarQueryParameter['fw_instance_id'] = fwInstanceId;
|
3929
3337
|
}
|
3930
|
-
|
3931
3338
|
options.queryParams = localVarQueryParameter;
|
3932
|
-
options.pathParams = { 'project_id': projectId,'acl_rule_id': aclRuleId, };
|
3339
|
+
options.pathParams = { 'project_id': projectId, 'acl_rule_id': aclRuleId, };
|
3933
3340
|
options.headers = localVarHeaderParameter;
|
3934
3341
|
return options;
|
3935
3342
|
},
|
3936
|
-
|
3937
3343
|
/**
|
3938
3344
|
* ACL防护规则优先级设置
|
3939
|
-
*
|
3345
|
+
*
|
3940
3346
|
* Please refer to HUAWEI cloud API Explorer for details.
|
3941
3347
|
*/
|
3942
|
-
listRuleAclUsingPut(listRuleAclUsingPutRequest
|
3348
|
+
listRuleAclUsingPut(listRuleAclUsingPutRequest) {
|
3943
3349
|
const options = {
|
3944
3350
|
method: "PUT",
|
3945
3351
|
url: "/v1/{project_id}/acl-rule/order/{acl_rule_id}",
|
@@ -3949,26 +3355,22 @@ export const ParamCreater = function () {
|
|
3949
3355
|
headers: {},
|
3950
3356
|
data: {}
|
3951
3357
|
};
|
3952
|
-
const localVarHeaderParameter = {}
|
3953
|
-
const localVarQueryParameter = {}
|
3954
|
-
let body
|
3955
|
-
|
3358
|
+
const localVarHeaderParameter = {};
|
3359
|
+
const localVarQueryParameter = {};
|
3360
|
+
let body;
|
3956
3361
|
let projectId;
|
3957
|
-
|
3958
3362
|
let aclRuleId;
|
3959
|
-
|
3960
3363
|
let enterpriseProjectId;
|
3961
|
-
|
3962
3364
|
let fwInstanceId;
|
3963
|
-
|
3964
3365
|
if (listRuleAclUsingPutRequest !== null && listRuleAclUsingPutRequest !== undefined) {
|
3965
|
-
if (listRuleAclUsingPutRequest instanceof ListRuleAclUsingPutRequest) {
|
3366
|
+
if (listRuleAclUsingPutRequest instanceof ListRuleAclUsingPutRequest_1.ListRuleAclUsingPutRequest) {
|
3966
3367
|
projectId = listRuleAclUsingPutRequest.projectId;
|
3967
3368
|
aclRuleId = listRuleAclUsingPutRequest.aclRuleId;
|
3968
|
-
body = listRuleAclUsingPutRequest.body
|
3369
|
+
body = listRuleAclUsingPutRequest.body;
|
3969
3370
|
enterpriseProjectId = listRuleAclUsingPutRequest.enterpriseProjectId;
|
3970
3371
|
fwInstanceId = listRuleAclUsingPutRequest.fwInstanceId;
|
3971
|
-
}
|
3372
|
+
}
|
3373
|
+
else {
|
3972
3374
|
projectId = listRuleAclUsingPutRequest['project_id'];
|
3973
3375
|
aclRuleId = listRuleAclUsingPutRequest['acl_rule_id'];
|
3974
3376
|
body = listRuleAclUsingPutRequest['body'];
|
@@ -3976,16 +3378,14 @@ export const ParamCreater = function () {
|
|
3976
3378
|
fwInstanceId = listRuleAclUsingPutRequest['fw_instance_id'];
|
3977
3379
|
}
|
3978
3380
|
}
|
3979
|
-
|
3980
|
-
|
3981
3381
|
if (projectId === null || projectId === undefined) {
|
3982
|
-
|
3382
|
+
throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling listRuleAclUsingPut.');
|
3983
3383
|
}
|
3984
3384
|
if (aclRuleId === null || aclRuleId === undefined) {
|
3985
|
-
|
3385
|
+
throw new RequiredError('aclRuleId', 'Required parameter aclRuleId was null or undefined when calling listRuleAclUsingPut.');
|
3986
3386
|
}
|
3987
3387
|
if (body === null || body === undefined) {
|
3988
|
-
throw new RequiredError('body','Required parameter body was null or undefined when calling body.');
|
3388
|
+
throw new RequiredError('body', 'Required parameter body was null or undefined when calling body.');
|
3989
3389
|
}
|
3990
3390
|
if (enterpriseProjectId !== null && enterpriseProjectId !== undefined) {
|
3991
3391
|
localVarQueryParameter['enterprise_project_id'] = enterpriseProjectId;
|
@@ -3994,20 +3394,18 @@ export const ParamCreater = function () {
|
|
3994
3394
|
localVarQueryParameter['fw_instance_id'] = fwInstanceId;
|
3995
3395
|
}
|
3996
3396
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
3997
|
-
|
3998
3397
|
options.data = body !== undefined ? body : {};
|
3999
3398
|
options.queryParams = localVarQueryParameter;
|
4000
|
-
options.pathParams = { 'project_id': projectId,'acl_rule_id': aclRuleId, };
|
3399
|
+
options.pathParams = { 'project_id': projectId, 'acl_rule_id': aclRuleId, };
|
4001
3400
|
options.headers = localVarHeaderParameter;
|
4002
3401
|
return options;
|
4003
3402
|
},
|
4004
|
-
|
4005
3403
|
/**
|
4006
3404
|
* 查询防护规则
|
4007
|
-
*
|
3405
|
+
*
|
4008
3406
|
* Please refer to HUAWEI cloud API Explorer for details.
|
4009
3407
|
*/
|
4010
|
-
listRuleAclsUsingGet(listRuleAclsUsingGetRequest
|
3408
|
+
listRuleAclsUsingGet(listRuleAclsUsingGetRequest) {
|
4011
3409
|
const options = {
|
4012
3410
|
method: "GET",
|
4013
3411
|
url: "/v1/{project_id}/acl-rules",
|
@@ -4016,39 +3414,24 @@ export const ParamCreater = function () {
|
|
4016
3414
|
pathParams: {},
|
4017
3415
|
headers: {}
|
4018
3416
|
};
|
4019
|
-
const localVarHeaderParameter = {}
|
4020
|
-
const localVarQueryParameter = {}
|
4021
|
-
|
3417
|
+
const localVarHeaderParameter = {};
|
3418
|
+
const localVarQueryParameter = {};
|
4022
3419
|
let projectId;
|
4023
|
-
|
4024
3420
|
let objectId;
|
4025
|
-
|
4026
3421
|
let limit;
|
4027
|
-
|
4028
3422
|
let offset;
|
4029
|
-
|
4030
3423
|
let type;
|
4031
|
-
|
4032
3424
|
let protocol;
|
4033
|
-
|
4034
3425
|
let ip;
|
4035
|
-
|
4036
3426
|
let name;
|
4037
|
-
|
4038
3427
|
let direction;
|
4039
|
-
|
4040
3428
|
let status;
|
4041
|
-
|
4042
3429
|
let actionType;
|
4043
|
-
|
4044
3430
|
let addressType;
|
4045
|
-
|
4046
3431
|
let enterpriseProjectId;
|
4047
|
-
|
4048
3432
|
let fwInstanceId;
|
4049
|
-
|
4050
3433
|
if (listRuleAclsUsingGetRequest !== null && listRuleAclsUsingGetRequest !== undefined) {
|
4051
|
-
if (listRuleAclsUsingGetRequest instanceof ListRuleAclsUsingGetRequest) {
|
3434
|
+
if (listRuleAclsUsingGetRequest instanceof ListRuleAclsUsingGetRequest_1.ListRuleAclsUsingGetRequest) {
|
4052
3435
|
projectId = listRuleAclsUsingGetRequest.projectId;
|
4053
3436
|
objectId = listRuleAclsUsingGetRequest.objectId;
|
4054
3437
|
limit = listRuleAclsUsingGetRequest.limit;
|
@@ -4063,7 +3446,8 @@ export const ParamCreater = function () {
|
|
4063
3446
|
addressType = listRuleAclsUsingGetRequest.addressType;
|
4064
3447
|
enterpriseProjectId = listRuleAclsUsingGetRequest.enterpriseProjectId;
|
4065
3448
|
fwInstanceId = listRuleAclsUsingGetRequest.fwInstanceId;
|
4066
|
-
}
|
3449
|
+
}
|
3450
|
+
else {
|
4067
3451
|
projectId = listRuleAclsUsingGetRequest['project_id'];
|
4068
3452
|
objectId = listRuleAclsUsingGetRequest['object_id'];
|
4069
3453
|
limit = listRuleAclsUsingGetRequest['limit'];
|
@@ -4080,25 +3464,23 @@ export const ParamCreater = function () {
|
|
4080
3464
|
fwInstanceId = listRuleAclsUsingGetRequest['fw_instance_id'];
|
4081
3465
|
}
|
4082
3466
|
}
|
4083
|
-
|
4084
|
-
|
4085
3467
|
if (projectId === null || projectId === undefined) {
|
4086
|
-
|
3468
|
+
throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling listRuleAclsUsingGet.');
|
4087
3469
|
}
|
4088
3470
|
if (objectId === null || objectId === undefined) {
|
4089
|
-
throw new RequiredError('objectId','Required parameter objectId was null or undefined when calling listRuleAclsUsingGet.');
|
3471
|
+
throw new RequiredError('objectId', 'Required parameter objectId was null or undefined when calling listRuleAclsUsingGet.');
|
4090
3472
|
}
|
4091
3473
|
if (objectId !== null && objectId !== undefined) {
|
4092
3474
|
localVarQueryParameter['object_id'] = objectId;
|
4093
3475
|
}
|
4094
3476
|
if (limit === null || limit === undefined) {
|
4095
|
-
throw new RequiredError('limit','Required parameter limit was null or undefined when calling listRuleAclsUsingGet.');
|
3477
|
+
throw new RequiredError('limit', 'Required parameter limit was null or undefined when calling listRuleAclsUsingGet.');
|
4096
3478
|
}
|
4097
3479
|
if (limit !== null && limit !== undefined) {
|
4098
3480
|
localVarQueryParameter['limit'] = limit;
|
4099
3481
|
}
|
4100
3482
|
if (offset === null || offset === undefined) {
|
4101
|
-
throw new RequiredError('offset','Required parameter offset was null or undefined when calling listRuleAclsUsingGet.');
|
3483
|
+
throw new RequiredError('offset', 'Required parameter offset was null or undefined when calling listRuleAclsUsingGet.');
|
4102
3484
|
}
|
4103
3485
|
if (offset !== null && offset !== undefined) {
|
4104
3486
|
localVarQueryParameter['offset'] = offset;
|
@@ -4133,19 +3515,17 @@ export const ParamCreater = function () {
|
|
4133
3515
|
if (fwInstanceId !== null && fwInstanceId !== undefined) {
|
4134
3516
|
localVarQueryParameter['fw_instance_id'] = fwInstanceId;
|
4135
3517
|
}
|
4136
|
-
|
4137
3518
|
options.queryParams = localVarQueryParameter;
|
4138
3519
|
options.pathParams = { 'project_id': projectId, };
|
4139
3520
|
options.headers = localVarHeaderParameter;
|
4140
3521
|
return options;
|
4141
3522
|
},
|
4142
|
-
|
4143
3523
|
/**
|
4144
3524
|
* 更新ACL规则
|
4145
|
-
*
|
3525
|
+
*
|
4146
3526
|
* Please refer to HUAWEI cloud API Explorer for details.
|
4147
3527
|
*/
|
4148
|
-
updateRuleAclUsingPut(updateRuleAclUsingPutRequest
|
3528
|
+
updateRuleAclUsingPut(updateRuleAclUsingPutRequest) {
|
4149
3529
|
const options = {
|
4150
3530
|
method: "PUT",
|
4151
3531
|
url: "/v1/{project_id}/acl-rule/{acl_rule_id}",
|
@@ -4155,26 +3535,22 @@ export const ParamCreater = function () {
|
|
4155
3535
|
headers: {},
|
4156
3536
|
data: {}
|
4157
3537
|
};
|
4158
|
-
const localVarHeaderParameter = {}
|
4159
|
-
const localVarQueryParameter = {}
|
4160
|
-
let body
|
4161
|
-
|
3538
|
+
const localVarHeaderParameter = {};
|
3539
|
+
const localVarQueryParameter = {};
|
3540
|
+
let body;
|
4162
3541
|
let projectId;
|
4163
|
-
|
4164
3542
|
let aclRuleId;
|
4165
|
-
|
4166
3543
|
let enterpriseProjectId;
|
4167
|
-
|
4168
3544
|
let fwInstanceId;
|
4169
|
-
|
4170
3545
|
if (updateRuleAclUsingPutRequest !== null && updateRuleAclUsingPutRequest !== undefined) {
|
4171
|
-
if (updateRuleAclUsingPutRequest instanceof UpdateRuleAclUsingPutRequest) {
|
3546
|
+
if (updateRuleAclUsingPutRequest instanceof UpdateRuleAclUsingPutRequest_1.UpdateRuleAclUsingPutRequest) {
|
4172
3547
|
projectId = updateRuleAclUsingPutRequest.projectId;
|
4173
3548
|
aclRuleId = updateRuleAclUsingPutRequest.aclRuleId;
|
4174
|
-
body = updateRuleAclUsingPutRequest.body
|
3549
|
+
body = updateRuleAclUsingPutRequest.body;
|
4175
3550
|
enterpriseProjectId = updateRuleAclUsingPutRequest.enterpriseProjectId;
|
4176
3551
|
fwInstanceId = updateRuleAclUsingPutRequest.fwInstanceId;
|
4177
|
-
}
|
3552
|
+
}
|
3553
|
+
else {
|
4178
3554
|
projectId = updateRuleAclUsingPutRequest['project_id'];
|
4179
3555
|
aclRuleId = updateRuleAclUsingPutRequest['acl_rule_id'];
|
4180
3556
|
body = updateRuleAclUsingPutRequest['body'];
|
@@ -4182,16 +3558,14 @@ export const ParamCreater = function () {
|
|
4182
3558
|
fwInstanceId = updateRuleAclUsingPutRequest['fw_instance_id'];
|
4183
3559
|
}
|
4184
3560
|
}
|
4185
|
-
|
4186
|
-
|
4187
3561
|
if (projectId === null || projectId === undefined) {
|
4188
|
-
|
3562
|
+
throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling updateRuleAclUsingPut.');
|
4189
3563
|
}
|
4190
3564
|
if (aclRuleId === null || aclRuleId === undefined) {
|
4191
|
-
|
3565
|
+
throw new RequiredError('aclRuleId', 'Required parameter aclRuleId was null or undefined when calling updateRuleAclUsingPut.');
|
4192
3566
|
}
|
4193
3567
|
if (body === null || body === undefined) {
|
4194
|
-
throw new RequiredError('body','Required parameter body was null or undefined when calling body.');
|
3568
|
+
throw new RequiredError('body', 'Required parameter body was null or undefined when calling body.');
|
4195
3569
|
}
|
4196
3570
|
if (enterpriseProjectId !== null && enterpriseProjectId !== undefined) {
|
4197
3571
|
localVarQueryParameter['enterprise_project_id'] = enterpriseProjectId;
|
@@ -4200,20 +3574,18 @@ export const ParamCreater = function () {
|
|
4200
3574
|
localVarQueryParameter['fw_instance_id'] = fwInstanceId;
|
4201
3575
|
}
|
4202
3576
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
4203
|
-
|
4204
3577
|
options.data = body !== undefined ? body : {};
|
4205
3578
|
options.queryParams = localVarQueryParameter;
|
4206
|
-
options.pathParams = { 'project_id': projectId,'acl_rule_id': aclRuleId, };
|
3579
|
+
options.pathParams = { 'project_id': projectId, 'acl_rule_id': aclRuleId, };
|
4207
3580
|
options.headers = localVarHeaderParameter;
|
4208
3581
|
return options;
|
4209
3582
|
},
|
4210
|
-
|
4211
3583
|
/**
|
4212
3584
|
* 开启关闭EIP
|
4213
|
-
*
|
3585
|
+
*
|
4214
3586
|
* Please refer to HUAWEI cloud API Explorer for details.
|
4215
3587
|
*/
|
4216
|
-
changeProtectEip(changeProtectEipRequest
|
3588
|
+
changeProtectEip(changeProtectEipRequest) {
|
4217
3589
|
const options = {
|
4218
3590
|
method: "POST",
|
4219
3591
|
url: "/v1/{project_id}/eip/protect",
|
@@ -4223,36 +3595,31 @@ export const ParamCreater = function () {
|
|
4223
3595
|
headers: {},
|
4224
3596
|
data: {}
|
4225
3597
|
};
|
4226
|
-
const localVarHeaderParameter = {}
|
4227
|
-
const localVarQueryParameter = {}
|
4228
|
-
let body
|
4229
|
-
|
3598
|
+
const localVarHeaderParameter = {};
|
3599
|
+
const localVarQueryParameter = {};
|
3600
|
+
let body;
|
4230
3601
|
let projectId;
|
4231
|
-
|
4232
3602
|
let enterpriseProjectId;
|
4233
|
-
|
4234
3603
|
let fwInstanceId;
|
4235
|
-
|
4236
3604
|
if (changeProtectEipRequest !== null && changeProtectEipRequest !== undefined) {
|
4237
|
-
if (changeProtectEipRequest instanceof ChangeProtectEipRequest) {
|
3605
|
+
if (changeProtectEipRequest instanceof ChangeProtectEipRequest_1.ChangeProtectEipRequest) {
|
4238
3606
|
projectId = changeProtectEipRequest.projectId;
|
4239
|
-
body = changeProtectEipRequest.body
|
3607
|
+
body = changeProtectEipRequest.body;
|
4240
3608
|
enterpriseProjectId = changeProtectEipRequest.enterpriseProjectId;
|
4241
3609
|
fwInstanceId = changeProtectEipRequest.fwInstanceId;
|
4242
|
-
}
|
3610
|
+
}
|
3611
|
+
else {
|
4243
3612
|
projectId = changeProtectEipRequest['project_id'];
|
4244
3613
|
body = changeProtectEipRequest['body'];
|
4245
3614
|
enterpriseProjectId = changeProtectEipRequest['enterprise_project_id'];
|
4246
3615
|
fwInstanceId = changeProtectEipRequest['fw_instance_id'];
|
4247
3616
|
}
|
4248
3617
|
}
|
4249
|
-
|
4250
|
-
|
4251
3618
|
if (projectId === null || projectId === undefined) {
|
4252
|
-
|
3619
|
+
throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling changeProtectEip.');
|
4253
3620
|
}
|
4254
3621
|
if (body === null || body === undefined) {
|
4255
|
-
throw new RequiredError('body','Required parameter body was null or undefined when calling body.');
|
3622
|
+
throw new RequiredError('body', 'Required parameter body was null or undefined when calling body.');
|
4256
3623
|
}
|
4257
3624
|
if (enterpriseProjectId !== null && enterpriseProjectId !== undefined) {
|
4258
3625
|
localVarQueryParameter['enterprise_project_id'] = enterpriseProjectId;
|
@@ -4261,20 +3628,18 @@ export const ParamCreater = function () {
|
|
4261
3628
|
localVarQueryParameter['fw_instance_id'] = fwInstanceId;
|
4262
3629
|
}
|
4263
3630
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
4264
|
-
|
4265
3631
|
options.data = body !== undefined ? body : {};
|
4266
3632
|
options.queryParams = localVarQueryParameter;
|
4267
3633
|
options.pathParams = { 'project_id': projectId, };
|
4268
3634
|
options.headers = localVarHeaderParameter;
|
4269
3635
|
return options;
|
4270
3636
|
},
|
4271
|
-
|
4272
3637
|
/**
|
4273
3638
|
* 查询Eip个数
|
4274
|
-
*
|
3639
|
+
*
|
4275
3640
|
* Please refer to HUAWEI cloud API Explorer for details.
|
4276
3641
|
*/
|
4277
|
-
countEips(countEipsRequest
|
3642
|
+
countEips(countEipsRequest) {
|
4278
3643
|
const options = {
|
4279
3644
|
method: "GET",
|
4280
3645
|
url: "/v1/{project_id}/eip-count/{object_id}",
|
@@ -4283,37 +3648,31 @@ export const ParamCreater = function () {
|
|
4283
3648
|
pathParams: {},
|
4284
3649
|
headers: {}
|
4285
3650
|
};
|
4286
|
-
const localVarHeaderParameter = {}
|
4287
|
-
const localVarQueryParameter = {}
|
4288
|
-
|
3651
|
+
const localVarHeaderParameter = {};
|
3652
|
+
const localVarQueryParameter = {};
|
4289
3653
|
let projectId;
|
4290
|
-
|
4291
3654
|
let objectId;
|
4292
|
-
|
4293
3655
|
let enterpriseProjectId;
|
4294
|
-
|
4295
3656
|
let fwInstanceId;
|
4296
|
-
|
4297
3657
|
if (countEipsRequest !== null && countEipsRequest !== undefined) {
|
4298
|
-
if (countEipsRequest instanceof CountEipsRequest) {
|
3658
|
+
if (countEipsRequest instanceof CountEipsRequest_1.CountEipsRequest) {
|
4299
3659
|
projectId = countEipsRequest.projectId;
|
4300
3660
|
objectId = countEipsRequest.objectId;
|
4301
3661
|
enterpriseProjectId = countEipsRequest.enterpriseProjectId;
|
4302
3662
|
fwInstanceId = countEipsRequest.fwInstanceId;
|
4303
|
-
}
|
3663
|
+
}
|
3664
|
+
else {
|
4304
3665
|
projectId = countEipsRequest['project_id'];
|
4305
3666
|
objectId = countEipsRequest['object_id'];
|
4306
3667
|
enterpriseProjectId = countEipsRequest['enterprise_project_id'];
|
4307
3668
|
fwInstanceId = countEipsRequest['fw_instance_id'];
|
4308
3669
|
}
|
4309
3670
|
}
|
4310
|
-
|
4311
|
-
|
4312
3671
|
if (projectId === null || projectId === undefined) {
|
4313
|
-
|
3672
|
+
throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling countEips.');
|
4314
3673
|
}
|
4315
3674
|
if (objectId === null || objectId === undefined) {
|
4316
|
-
|
3675
|
+
throw new RequiredError('objectId', 'Required parameter objectId was null or undefined when calling countEips.');
|
4317
3676
|
}
|
4318
3677
|
if (enterpriseProjectId !== null && enterpriseProjectId !== undefined) {
|
4319
3678
|
localVarQueryParameter['enterprise_project_id'] = enterpriseProjectId;
|
@@ -4321,19 +3680,17 @@ export const ParamCreater = function () {
|
|
4321
3680
|
if (fwInstanceId !== null && fwInstanceId !== undefined) {
|
4322
3681
|
localVarQueryParameter['fw_instance_id'] = fwInstanceId;
|
4323
3682
|
}
|
4324
|
-
|
4325
3683
|
options.queryParams = localVarQueryParameter;
|
4326
|
-
options.pathParams = { 'project_id': projectId,'object_id': objectId, };
|
3684
|
+
options.pathParams = { 'project_id': projectId, 'object_id': objectId, };
|
4327
3685
|
options.headers = localVarHeaderParameter;
|
4328
3686
|
return options;
|
4329
3687
|
},
|
4330
|
-
|
4331
3688
|
/**
|
4332
3689
|
* 弹性IP列表查询
|
4333
|
-
*
|
3690
|
+
*
|
4334
3691
|
* Please refer to HUAWEI cloud API Explorer for details.
|
4335
3692
|
*/
|
4336
|
-
listEipResources(listEipResourcesRequest
|
3693
|
+
listEipResources(listEipResourcesRequest) {
|
4337
3694
|
const options = {
|
4338
3695
|
method: "GET",
|
4339
3696
|
url: "/v1/{project_id}/eips/protect",
|
@@ -4342,37 +3699,23 @@ export const ParamCreater = function () {
|
|
4342
3699
|
pathParams: {},
|
4343
3700
|
headers: {}
|
4344
3701
|
};
|
4345
|
-
const localVarHeaderParameter = {}
|
4346
|
-
const localVarQueryParameter = {}
|
4347
|
-
|
3702
|
+
const localVarHeaderParameter = {};
|
3703
|
+
const localVarQueryParameter = {};
|
4348
3704
|
let projectId;
|
4349
|
-
|
4350
3705
|
let objectId;
|
4351
|
-
|
4352
3706
|
let limit;
|
4353
|
-
|
4354
3707
|
let offset;
|
4355
|
-
|
4356
3708
|
let keyWord;
|
4357
|
-
|
4358
3709
|
let status;
|
4359
|
-
|
4360
3710
|
let sync;
|
4361
|
-
|
4362
3711
|
let enterpriseProjectId;
|
4363
|
-
|
4364
3712
|
let deviceKey;
|
4365
|
-
|
4366
3713
|
let addressType;
|
4367
|
-
|
4368
3714
|
let fwInstanceId;
|
4369
|
-
|
4370
3715
|
let fwKeyWord;
|
4371
|
-
|
4372
3716
|
let epsId;
|
4373
|
-
|
4374
3717
|
if (listEipResourcesRequest !== null && listEipResourcesRequest !== undefined) {
|
4375
|
-
if (listEipResourcesRequest instanceof ListEipResourcesRequest) {
|
3718
|
+
if (listEipResourcesRequest instanceof ListEipResourcesRequest_1.ListEipResourcesRequest) {
|
4376
3719
|
projectId = listEipResourcesRequest.projectId;
|
4377
3720
|
objectId = listEipResourcesRequest.objectId;
|
4378
3721
|
limit = listEipResourcesRequest.limit;
|
@@ -4386,7 +3729,8 @@ export const ParamCreater = function () {
|
|
4386
3729
|
fwInstanceId = listEipResourcesRequest.fwInstanceId;
|
4387
3730
|
fwKeyWord = listEipResourcesRequest.fwKeyWord;
|
4388
3731
|
epsId = listEipResourcesRequest.epsId;
|
4389
|
-
}
|
3732
|
+
}
|
3733
|
+
else {
|
4390
3734
|
projectId = listEipResourcesRequest['project_id'];
|
4391
3735
|
objectId = listEipResourcesRequest['object_id'];
|
4392
3736
|
limit = listEipResourcesRequest['limit'];
|
@@ -4402,25 +3746,23 @@ export const ParamCreater = function () {
|
|
4402
3746
|
epsId = listEipResourcesRequest['eps_id'];
|
4403
3747
|
}
|
4404
3748
|
}
|
4405
|
-
|
4406
|
-
|
4407
3749
|
if (projectId === null || projectId === undefined) {
|
4408
|
-
|
3750
|
+
throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling listEipResources.');
|
4409
3751
|
}
|
4410
3752
|
if (objectId === null || objectId === undefined) {
|
4411
|
-
throw new RequiredError('objectId','Required parameter objectId was null or undefined when calling listEipResources.');
|
3753
|
+
throw new RequiredError('objectId', 'Required parameter objectId was null or undefined when calling listEipResources.');
|
4412
3754
|
}
|
4413
3755
|
if (objectId !== null && objectId !== undefined) {
|
4414
3756
|
localVarQueryParameter['object_id'] = objectId;
|
4415
3757
|
}
|
4416
3758
|
if (limit === null || limit === undefined) {
|
4417
|
-
throw new RequiredError('limit','Required parameter limit was null or undefined when calling listEipResources.');
|
3759
|
+
throw new RequiredError('limit', 'Required parameter limit was null or undefined when calling listEipResources.');
|
4418
3760
|
}
|
4419
3761
|
if (limit !== null && limit !== undefined) {
|
4420
3762
|
localVarQueryParameter['limit'] = limit;
|
4421
3763
|
}
|
4422
3764
|
if (offset === null || offset === undefined) {
|
4423
|
-
throw new RequiredError('offset','Required parameter offset was null or undefined when calling listEipResources.');
|
3765
|
+
throw new RequiredError('offset', 'Required parameter offset was null or undefined when calling listEipResources.');
|
4424
3766
|
}
|
4425
3767
|
if (offset !== null && offset !== undefined) {
|
4426
3768
|
localVarQueryParameter['offset'] = offset;
|
@@ -4452,19 +3794,17 @@ export const ParamCreater = function () {
|
|
4452
3794
|
if (epsId !== null && epsId !== undefined) {
|
4453
3795
|
localVarQueryParameter['eps_id'] = epsId;
|
4454
3796
|
}
|
4455
|
-
|
4456
3797
|
options.queryParams = localVarQueryParameter;
|
4457
3798
|
options.pathParams = { 'project_id': projectId, };
|
4458
3799
|
options.headers = localVarHeaderParameter;
|
4459
3800
|
return options;
|
4460
3801
|
},
|
4461
|
-
|
4462
3802
|
/**
|
4463
3803
|
* 切换开关状态
|
4464
|
-
*
|
3804
|
+
*
|
4465
3805
|
* Please refer to HUAWEI cloud API Explorer for details.
|
4466
3806
|
*/
|
4467
|
-
changeIpsSwitchUsingPost(changeIpsSwitchUsingPostRequest
|
3807
|
+
changeIpsSwitchUsingPost(changeIpsSwitchUsingPostRequest) {
|
4468
3808
|
const options = {
|
4469
3809
|
method: "POST",
|
4470
3810
|
url: "/v1/{project_id}/ips/switch",
|
@@ -4474,36 +3814,31 @@ export const ParamCreater = function () {
|
|
4474
3814
|
headers: {},
|
4475
3815
|
data: {}
|
4476
3816
|
};
|
4477
|
-
const localVarHeaderParameter = {}
|
4478
|
-
const localVarQueryParameter = {}
|
4479
|
-
let body
|
4480
|
-
|
3817
|
+
const localVarHeaderParameter = {};
|
3818
|
+
const localVarQueryParameter = {};
|
3819
|
+
let body;
|
4481
3820
|
let projectId;
|
4482
|
-
|
4483
3821
|
let enterpriseProjectId;
|
4484
|
-
|
4485
3822
|
let fwInstanceId;
|
4486
|
-
|
4487
3823
|
if (changeIpsSwitchUsingPostRequest !== null && changeIpsSwitchUsingPostRequest !== undefined) {
|
4488
|
-
if (changeIpsSwitchUsingPostRequest instanceof ChangeIpsSwitchUsingPostRequest) {
|
3824
|
+
if (changeIpsSwitchUsingPostRequest instanceof ChangeIpsSwitchUsingPostRequest_1.ChangeIpsSwitchUsingPostRequest) {
|
4489
3825
|
projectId = changeIpsSwitchUsingPostRequest.projectId;
|
4490
|
-
body = changeIpsSwitchUsingPostRequest.body
|
3826
|
+
body = changeIpsSwitchUsingPostRequest.body;
|
4491
3827
|
enterpriseProjectId = changeIpsSwitchUsingPostRequest.enterpriseProjectId;
|
4492
3828
|
fwInstanceId = changeIpsSwitchUsingPostRequest.fwInstanceId;
|
4493
|
-
}
|
3829
|
+
}
|
3830
|
+
else {
|
4494
3831
|
projectId = changeIpsSwitchUsingPostRequest['project_id'];
|
4495
3832
|
body = changeIpsSwitchUsingPostRequest['body'];
|
4496
3833
|
enterpriseProjectId = changeIpsSwitchUsingPostRequest['enterprise_project_id'];
|
4497
3834
|
fwInstanceId = changeIpsSwitchUsingPostRequest['fw_instance_id'];
|
4498
3835
|
}
|
4499
3836
|
}
|
4500
|
-
|
4501
|
-
|
4502
3837
|
if (projectId === null || projectId === undefined) {
|
4503
|
-
|
3838
|
+
throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling changeIpsSwitchUsingPost.');
|
4504
3839
|
}
|
4505
3840
|
if (body === null || body === undefined) {
|
4506
|
-
throw new RequiredError('body','Required parameter body was null or undefined when calling body.');
|
3841
|
+
throw new RequiredError('body', 'Required parameter body was null or undefined when calling body.');
|
4507
3842
|
}
|
4508
3843
|
if (enterpriseProjectId !== null && enterpriseProjectId !== undefined) {
|
4509
3844
|
localVarQueryParameter['enterprise_project_id'] = enterpriseProjectId;
|
@@ -4512,20 +3847,18 @@ export const ParamCreater = function () {
|
|
4512
3847
|
localVarQueryParameter['fw_instance_id'] = fwInstanceId;
|
4513
3848
|
}
|
4514
3849
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
4515
|
-
|
4516
3850
|
options.data = body !== undefined ? body : {};
|
4517
3851
|
options.queryParams = localVarQueryParameter;
|
4518
3852
|
options.pathParams = { 'project_id': projectId, };
|
4519
3853
|
options.headers = localVarHeaderParameter;
|
4520
3854
|
return options;
|
4521
3855
|
},
|
4522
|
-
|
4523
3856
|
/**
|
4524
3857
|
* 查询IPS特性开关状态
|
4525
|
-
*
|
3858
|
+
*
|
4526
3859
|
* Please refer to HUAWEI cloud API Explorer for details.
|
4527
3860
|
*/
|
4528
|
-
listIpsSwitchStatusUsingGet(listIpsSwitchStatusUsingGetRequest
|
3861
|
+
listIpsSwitchStatusUsingGet(listIpsSwitchStatusUsingGetRequest) {
|
4529
3862
|
const options = {
|
4530
3863
|
method: "GET",
|
4531
3864
|
url: "/v1/{project_id}/ips/switch",
|
@@ -4534,37 +3867,31 @@ export const ParamCreater = function () {
|
|
4534
3867
|
pathParams: {},
|
4535
3868
|
headers: {}
|
4536
3869
|
};
|
4537
|
-
const localVarHeaderParameter = {}
|
4538
|
-
const localVarQueryParameter = {}
|
4539
|
-
|
3870
|
+
const localVarHeaderParameter = {};
|
3871
|
+
const localVarQueryParameter = {};
|
4540
3872
|
let projectId;
|
4541
|
-
|
4542
3873
|
let objectId;
|
4543
|
-
|
4544
3874
|
let enterpriseProjectId;
|
4545
|
-
|
4546
3875
|
let fwInstanceId;
|
4547
|
-
|
4548
3876
|
if (listIpsSwitchStatusUsingGetRequest !== null && listIpsSwitchStatusUsingGetRequest !== undefined) {
|
4549
|
-
if (listIpsSwitchStatusUsingGetRequest instanceof ListIpsSwitchStatusUsingGetRequest) {
|
3877
|
+
if (listIpsSwitchStatusUsingGetRequest instanceof ListIpsSwitchStatusUsingGetRequest_1.ListIpsSwitchStatusUsingGetRequest) {
|
4550
3878
|
projectId = listIpsSwitchStatusUsingGetRequest.projectId;
|
4551
3879
|
objectId = listIpsSwitchStatusUsingGetRequest.objectId;
|
4552
3880
|
enterpriseProjectId = listIpsSwitchStatusUsingGetRequest.enterpriseProjectId;
|
4553
3881
|
fwInstanceId = listIpsSwitchStatusUsingGetRequest.fwInstanceId;
|
4554
|
-
}
|
3882
|
+
}
|
3883
|
+
else {
|
4555
3884
|
projectId = listIpsSwitchStatusUsingGetRequest['project_id'];
|
4556
3885
|
objectId = listIpsSwitchStatusUsingGetRequest['object_id'];
|
4557
3886
|
enterpriseProjectId = listIpsSwitchStatusUsingGetRequest['enterprise_project_id'];
|
4558
3887
|
fwInstanceId = listIpsSwitchStatusUsingGetRequest['fw_instance_id'];
|
4559
3888
|
}
|
4560
3889
|
}
|
4561
|
-
|
4562
|
-
|
4563
3890
|
if (projectId === null || projectId === undefined) {
|
4564
|
-
|
3891
|
+
throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling listIpsSwitchStatusUsingGet.');
|
4565
3892
|
}
|
4566
3893
|
if (objectId === null || objectId === undefined) {
|
4567
|
-
throw new RequiredError('objectId','Required parameter objectId was null or undefined when calling listIpsSwitchStatusUsingGet.');
|
3894
|
+
throw new RequiredError('objectId', 'Required parameter objectId was null or undefined when calling listIpsSwitchStatusUsingGet.');
|
4568
3895
|
}
|
4569
3896
|
if (objectId !== null && objectId !== undefined) {
|
4570
3897
|
localVarQueryParameter['object_id'] = objectId;
|
@@ -4575,19 +3902,17 @@ export const ParamCreater = function () {
|
|
4575
3902
|
if (fwInstanceId !== null && fwInstanceId !== undefined) {
|
4576
3903
|
localVarQueryParameter['fw_instance_id'] = fwInstanceId;
|
4577
3904
|
}
|
4578
|
-
|
4579
3905
|
options.queryParams = localVarQueryParameter;
|
4580
3906
|
options.pathParams = { 'project_id': projectId, };
|
4581
3907
|
options.headers = localVarHeaderParameter;
|
4582
3908
|
return options;
|
4583
3909
|
},
|
4584
|
-
|
4585
3910
|
/**
|
4586
3911
|
* 查询防护vpc信息
|
4587
|
-
*
|
3912
|
+
*
|
4588
3913
|
* Please refer to HUAWEI cloud API Explorer for details.
|
4589
3914
|
*/
|
4590
|
-
listVpcProtects(listVpcProtectsRequest
|
3915
|
+
listVpcProtects(listVpcProtectsRequest) {
|
4591
3916
|
const options = {
|
4592
3917
|
method: "GET",
|
4593
3918
|
url: "/v1/{project_id}/vpcs/protection",
|
@@ -4596,37 +3921,31 @@ export const ParamCreater = function () {
|
|
4596
3921
|
pathParams: {},
|
4597
3922
|
headers: {}
|
4598
3923
|
};
|
4599
|
-
const localVarHeaderParameter = {}
|
4600
|
-
const localVarQueryParameter = {}
|
4601
|
-
|
3924
|
+
const localVarHeaderParameter = {};
|
3925
|
+
const localVarQueryParameter = {};
|
4602
3926
|
let projectId;
|
4603
|
-
|
4604
3927
|
let objectId;
|
4605
|
-
|
4606
3928
|
let enterpriseProjectId;
|
4607
|
-
|
4608
3929
|
let fwInstanceId;
|
4609
|
-
|
4610
3930
|
if (listVpcProtectsRequest !== null && listVpcProtectsRequest !== undefined) {
|
4611
|
-
if (listVpcProtectsRequest instanceof ListVpcProtectsRequest) {
|
3931
|
+
if (listVpcProtectsRequest instanceof ListVpcProtectsRequest_1.ListVpcProtectsRequest) {
|
4612
3932
|
projectId = listVpcProtectsRequest.projectId;
|
4613
3933
|
objectId = listVpcProtectsRequest.objectId;
|
4614
3934
|
enterpriseProjectId = listVpcProtectsRequest.enterpriseProjectId;
|
4615
3935
|
fwInstanceId = listVpcProtectsRequest.fwInstanceId;
|
4616
|
-
}
|
3936
|
+
}
|
3937
|
+
else {
|
4617
3938
|
projectId = listVpcProtectsRequest['project_id'];
|
4618
3939
|
objectId = listVpcProtectsRequest['object_id'];
|
4619
3940
|
enterpriseProjectId = listVpcProtectsRequest['enterprise_project_id'];
|
4620
3941
|
fwInstanceId = listVpcProtectsRequest['fw_instance_id'];
|
4621
3942
|
}
|
4622
3943
|
}
|
4623
|
-
|
4624
|
-
|
4625
3944
|
if (projectId === null || projectId === undefined) {
|
4626
|
-
|
3945
|
+
throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling listVpcProtects.');
|
4627
3946
|
}
|
4628
3947
|
if (objectId === null || objectId === undefined) {
|
4629
|
-
throw new RequiredError('objectId','Required parameter objectId was null or undefined when calling listVpcProtects.');
|
3948
|
+
throw new RequiredError('objectId', 'Required parameter objectId was null or undefined when calling listVpcProtects.');
|
4630
3949
|
}
|
4631
3950
|
if (objectId !== null && objectId !== undefined) {
|
4632
3951
|
localVarQueryParameter['object_id'] = objectId;
|
@@ -4637,29 +3956,29 @@ export const ParamCreater = function () {
|
|
4637
3956
|
if (fwInstanceId !== null && fwInstanceId !== undefined) {
|
4638
3957
|
localVarQueryParameter['fw_instance_id'] = fwInstanceId;
|
4639
3958
|
}
|
4640
|
-
|
4641
3959
|
options.queryParams = localVarQueryParameter;
|
4642
3960
|
options.pathParams = { 'project_id': projectId, };
|
4643
3961
|
options.headers = localVarHeaderParameter;
|
4644
3962
|
return options;
|
4645
3963
|
},
|
4646
|
-
|
4647
|
-
}
|
3964
|
+
};
|
4648
3965
|
};
|
4649
|
-
|
4650
|
-
function newClient(client
|
3966
|
+
exports.ParamCreater = ParamCreater;
|
3967
|
+
function newClient(client) {
|
4651
3968
|
return new CfwClient(client);
|
4652
3969
|
}
|
4653
|
-
|
4654
3970
|
/**
|
4655
3971
|
*
|
4656
3972
|
* @export
|
4657
3973
|
* @class RequiredError
|
4658
3974
|
* @extends {Error}
|
4659
3975
|
*/
|
4660
|
-
|
4661
|
-
|
4662
|
-
constructor(public field: string, msg?: string) {
|
3976
|
+
class RequiredError extends Error {
|
3977
|
+
constructor(field, msg) {
|
4663
3978
|
super(msg);
|
3979
|
+
this.field = field;
|
3980
|
+
this.name = "RequiredError";
|
4664
3981
|
}
|
4665
|
-
}
|
3982
|
+
}
|
3983
|
+
exports.RequiredError = RequiredError;
|
3984
|
+
//# sourceMappingURL=CfwClient.js.map
|