@huaweicloud/huaweicloud-sdk-cfw 3.1.102 → 3.1.103
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +2 -2
- package/v1/CfwClient.d.ts +323 -107
- package/v1/CfwClient.d.ts.map +1 -1
- package/v1/CfwClient.js +749 -158
- package/v1/CfwClient.js.map +1 -1
- package/v1/model/AddDomainSetInfoDto.d.ts +1 -1
- package/v1/model/AddDomainSetInfoDto.d.ts.map +1 -1
- package/v1/model/AddDomainSetInfoDto.js +2 -1
- package/v1/model/AddDomainSetInfoDto.js.map +1 -1
- package/v1/model/AddRuleAclDtoRules.d.ts +0 -3
- package/v1/model/AddRuleAclDtoRules.d.ts.map +1 -1
- package/v1/model/AddRuleAclDtoRules.js +0 -4
- package/v1/model/AddRuleAclDtoRules.js.map +1 -1
- package/v1/model/AddServiceItemsUsingPOSTRequestBodyServiceItems.d.ts +0 -6
- package/v1/model/AddServiceItemsUsingPOSTRequestBodyServiceItems.d.ts.map +1 -1
- package/v1/model/AddServiceItemsUsingPOSTRequestBodyServiceItems.js +0 -14
- package/v1/model/AddServiceItemsUsingPOSTRequestBodyServiceItems.js.map +1 -1
- package/v1/model/AddServiceSetResponse.d.ts +3 -3
- package/v1/model/AddServiceSetResponse.d.ts.map +1 -1
- package/v1/model/AddServiceSetResponse.js.map +1 -1
- package/v1/model/AddressGroupVO.d.ts +6 -8
- package/v1/model/AddressGroupVO.d.ts.map +1 -1
- package/v1/model/AddressGroupVO.js +12 -16
- package/v1/model/AddressGroupVO.js.map +1 -1
- package/v1/model/BlackWhiteListResponseData.d.ts +0 -4
- package/v1/model/BlackWhiteListResponseData.d.ts.map +1 -1
- package/v1/model/BlackWhiteListResponseData.js +0 -10
- package/v1/model/BlackWhiteListResponseData.js.map +1 -1
- package/v1/model/CancelCaptureTaskDto.d.ts +8 -0
- package/v1/model/CancelCaptureTaskDto.d.ts.map +1 -0
- package/v1/model/CancelCaptureTaskDto.js +19 -0
- package/v1/model/CancelCaptureTaskDto.js.map +1 -0
- package/v1/model/CancelCaptureTaskRequest.d.ts +19 -0
- package/v1/model/CancelCaptureTaskRequest.d.ts.map +1 -0
- package/v1/model/CancelCaptureTaskRequest.js +45 -0
- package/v1/model/CancelCaptureTaskRequest.js.map +1 -0
- package/v1/model/CancelCaptureTaskResponse.d.ts +8 -0
- package/v1/model/CancelCaptureTaskResponse.d.ts.map +1 -0
- package/v1/model/CancelCaptureTaskResponse.js +15 -0
- package/v1/model/CancelCaptureTaskResponse.js.map +1 -0
- package/v1/model/CaptureFile.d.ts +14 -0
- package/v1/model/CaptureFile.d.ts.map +1 -0
- package/v1/model/CaptureFile.js +33 -0
- package/v1/model/CaptureFile.js.map +1 -0
- package/v1/model/CaptureResultUrlVO.d.ts +20 -0
- package/v1/model/CaptureResultUrlVO.d.ts.map +1 -0
- package/v1/model/CaptureResultUrlVO.js +41 -0
- package/v1/model/CaptureResultUrlVO.js.map +1 -0
- package/v1/model/CaptureRuleAddressDto.d.ts +12 -0
- package/v1/model/CaptureRuleAddressDto.d.ts.map +1 -0
- package/v1/model/CaptureRuleAddressDto.js +30 -0
- package/v1/model/CaptureRuleAddressDto.js.map +1 -0
- package/v1/model/CaptureServiceDto.d.ts +14 -0
- package/v1/model/CaptureServiceDto.d.ts.map +1 -0
- package/v1/model/CaptureServiceDto.js +34 -0
- package/v1/model/CaptureServiceDto.js.map +1 -0
- package/v1/model/CaptureTaskDto.d.ts +20 -0
- package/v1/model/CaptureTaskDto.d.ts.map +1 -0
- package/v1/model/CaptureTaskDto.js +45 -0
- package/v1/model/CaptureTaskDto.js.map +1 -0
- package/v1/model/CaptureTaskVO.d.ts +64 -0
- package/v1/model/CaptureTaskVO.d.ts.map +1 -0
- package/v1/model/CaptureTaskVO.js +155 -0
- package/v1/model/CaptureTaskVO.js.map +1 -0
- package/v1/model/ChangeIpsProtectModeResponse.d.ts +3 -3
- package/v1/model/ChangeIpsProtectModeResponse.d.ts.map +1 -1
- package/v1/model/ChangeIpsProtectModeResponse.js.map +1 -1
- package/v1/model/ChangeIpsSwitchStatusResponse.d.ts +0 -4
- package/v1/model/ChangeIpsSwitchStatusResponse.d.ts.map +1 -1
- package/v1/model/ChangeIpsSwitchStatusResponse.js +0 -10
- package/v1/model/ChangeIpsSwitchStatusResponse.js.map +1 -1
- package/v1/model/CreateCaptureTaskRequest.d.ts +19 -0
- package/v1/model/CreateCaptureTaskRequest.d.ts.map +1 -0
- package/v1/model/CreateCaptureTaskRequest.js +45 -0
- package/v1/model/CreateCaptureTaskRequest.js.map +1 -0
- package/v1/model/CreateCaptureTaskResponse.d.ts +8 -0
- package/v1/model/CreateCaptureTaskResponse.d.ts.map +1 -0
- package/v1/model/CreateCaptureTaskResponse.js +15 -0
- package/v1/model/CreateCaptureTaskResponse.js.map +1 -0
- package/v1/model/CreateEWFirewallInspectVpcResp.d.ts +12 -0
- package/v1/model/CreateEWFirewallInspectVpcResp.d.ts.map +1 -0
- package/v1/model/CreateEWFirewallInspectVpcResp.js +29 -0
- package/v1/model/CreateEWFirewallInspectVpcResp.js.map +1 -0
- package/v1/model/CreateEWFirewallResp.d.ts +14 -0
- package/v1/model/CreateEWFirewallResp.d.ts.map +1 -0
- package/v1/model/CreateEWFirewallResp.js +27 -0
- package/v1/model/CreateEWFirewallResp.js.map +1 -0
- package/v1/model/CreateEastWestFirewallResponse.d.ts +3 -3
- package/v1/model/CreateEastWestFirewallResponse.d.ts.map +1 -1
- package/v1/model/CreateEastWestFirewallResponse.js.map +1 -1
- package/v1/model/CreateFirewallReq.d.ts +1 -1
- package/v1/model/CreateFirewallReq.d.ts.map +1 -1
- package/v1/model/CreateFirewallReq.js +2 -1
- package/v1/model/CreateFirewallReq.js.map +1 -1
- package/v1/model/CreateFirewallReqFlavor.d.ts +1 -1
- package/v1/model/CreateFirewallReqFlavor.d.ts.map +1 -1
- package/v1/model/CreateFirewallReqFlavor.js +2 -1
- package/v1/model/CreateFirewallReqFlavor.js.map +1 -1
- package/v1/model/CreateFirewallReqTags.d.ts +1 -1
- package/v1/model/CreateFirewallReqTags.d.ts.map +1 -1
- package/v1/model/CreateFirewallReqTags.js +1 -3
- package/v1/model/CreateFirewallReqTags.js.map +1 -1
- package/v1/model/CreateFirewallRequest.d.ts +0 -4
- package/v1/model/CreateFirewallRequest.d.ts.map +1 -1
- package/v1/model/CreateFirewallRequest.js +0 -10
- package/v1/model/CreateFirewallRequest.js.map +1 -1
- package/v1/model/CreateTag.d.ts +8 -0
- package/v1/model/CreateTag.d.ts.map +1 -0
- package/v1/model/{Tag.js → CreateTag.js} +4 -4
- package/v1/model/CreateTag.js.map +1 -0
- package/v1/model/CreateTagRequest.d.ts +15 -0
- package/v1/model/CreateTagRequest.d.ts.map +1 -0
- package/v1/model/CreateTagRequest.js +35 -0
- package/v1/model/CreateTagRequest.js.map +1 -0
- package/v1/model/CreateTagResponse.d.ts +7 -0
- package/v1/model/CreateTagResponse.d.ts.map +1 -0
- package/v1/model/CreateTagResponse.js +15 -0
- package/v1/model/CreateTagResponse.js.map +1 -0
- package/v1/model/CreateTagsDto.d.ts +7 -0
- package/v1/model/CreateTagsDto.d.ts.map +1 -0
- package/v1/model/CreateTagsDto.js +13 -0
- package/v1/model/CreateTagsDto.js.map +1 -0
- package/v1/model/DeleteCaptureTaskDto.d.ts +8 -0
- package/v1/model/DeleteCaptureTaskDto.d.ts.map +1 -0
- package/v1/model/DeleteCaptureTaskDto.js +20 -0
- package/v1/model/DeleteCaptureTaskDto.js.map +1 -0
- package/v1/model/DeleteCaptureTaskRequest.d.ts +19 -0
- package/v1/model/DeleteCaptureTaskRequest.d.ts.map +1 -0
- package/v1/model/DeleteCaptureTaskRequest.js +45 -0
- package/v1/model/DeleteCaptureTaskRequest.js.map +1 -0
- package/v1/model/DeleteCaptureTaskResponse.d.ts +8 -0
- package/v1/model/DeleteCaptureTaskResponse.d.ts.map +1 -0
- package/v1/model/DeleteCaptureTaskResponse.js +15 -0
- package/v1/model/DeleteCaptureTaskResponse.js.map +1 -0
- package/v1/model/DeleteTagRequest.d.ts +15 -0
- package/v1/model/DeleteTagRequest.d.ts.map +1 -0
- package/v1/model/DeleteTagRequest.js +35 -0
- package/v1/model/DeleteTagRequest.js.map +1 -0
- package/v1/model/DeleteTagResponse.d.ts +7 -0
- package/v1/model/DeleteTagResponse.d.ts.map +1 -0
- package/v1/model/DeleteTagResponse.js +15 -0
- package/v1/model/DeleteTagResponse.js.map +1 -0
- package/v1/model/DeleteTagsDto.d.ts +7 -0
- package/v1/model/DeleteTagsDto.d.ts.map +1 -0
- package/v1/model/DeleteTagsDto.js +13 -0
- package/v1/model/DeleteTagsDto.js.map +1 -0
- package/v1/model/DomainSetInfoDto.d.ts +1 -1
- package/v1/model/DomainSetInfoDto.d.ts.map +1 -1
- package/v1/model/DomainSetInfoDto.js +2 -1
- package/v1/model/DomainSetInfoDto.js.map +1 -1
- package/v1/model/Er.d.ts +12 -0
- package/v1/model/Er.d.ts.map +1 -0
- package/v1/model/Er.js +29 -0
- package/v1/model/Er.js.map +1 -0
- package/v1/model/ErInstance.d.ts +4 -0
- package/v1/model/ErInstance.d.ts.map +1 -1
- package/v1/model/ErInstance.js +10 -0
- package/v1/model/ErInstance.js.map +1 -1
- package/v1/model/Flavor.d.ts +0 -20
- package/v1/model/Flavor.d.ts.map +1 -1
- package/v1/model/Flavor.js +0 -50
- package/v1/model/Flavor.js.map +1 -1
- package/v1/model/HostHeaderInfo.d.ts +8 -0
- package/v1/model/HostHeaderInfo.d.ts.map +1 -0
- package/v1/model/HostHeaderInfo.js +19 -0
- package/v1/model/HostHeaderInfo.js.map +1 -0
- package/v1/model/HttpQueryCaptureTaskResponseData.d.ts +21 -0
- package/v1/model/HttpQueryCaptureTaskResponseData.d.ts.map +1 -0
- package/v1/model/HttpQueryCaptureTaskResponseData.js +45 -0
- package/v1/model/HttpQueryCaptureTaskResponseData.js.map +1 -0
- package/v1/model/HttpQueryCfwAccessControllerLogsResponseDTODataRecords.d.ts +32 -0
- package/v1/model/HttpQueryCfwAccessControllerLogsResponseDTODataRecords.d.ts.map +1 -1
- package/v1/model/HttpQueryCfwAccessControllerLogsResponseDTODataRecords.js +80 -0
- package/v1/model/HttpQueryCfwAccessControllerLogsResponseDTODataRecords.js.map +1 -1
- package/v1/model/HttpQueryCfwAttackLogsResponseDTODataRecords.d.ts +32 -4
- package/v1/model/HttpQueryCfwAttackLogsResponseDTODataRecords.d.ts.map +1 -1
- package/v1/model/HttpQueryCfwAttackLogsResponseDTODataRecords.js +80 -10
- package/v1/model/HttpQueryCfwAttackLogsResponseDTODataRecords.js.map +1 -1
- package/v1/model/HttpQueryCfwFlowLogsResponseDTODataRecords.d.ts +32 -0
- package/v1/model/HttpQueryCfwFlowLogsResponseDTODataRecords.d.ts.map +1 -1
- package/v1/model/HttpQueryCfwFlowLogsResponseDTODataRecords.js +80 -0
- package/v1/model/HttpQueryCfwFlowLogsResponseDTODataRecords.js.map +1 -1
- package/v1/model/ListAccessControlLogsRequest.d.ts +16 -0
- package/v1/model/ListAccessControlLogsRequest.d.ts.map +1 -1
- package/v1/model/ListAccessControlLogsRequest.js +40 -0
- package/v1/model/ListAccessControlLogsRequest.js.map +1 -1
- package/v1/model/ListAclRulesRequest.d.ts +0 -12
- package/v1/model/ListAclRulesRequest.d.ts.map +1 -1
- package/v1/model/ListAclRulesRequest.js +1 -16
- package/v1/model/ListAclRulesRequest.js.map +1 -1
- package/v1/model/ListAttackLogsRequest.d.ts +22 -34
- package/v1/model/ListAttackLogsRequest.d.ts.map +1 -1
- package/v1/model/ListAttackLogsRequest.js +41 -34
- package/v1/model/ListAttackLogsRequest.js.map +1 -1
- package/v1/model/ListBlackWhiteListsRequest.d.ts +3 -12
- package/v1/model/ListBlackWhiteListsRequest.d.ts.map +1 -1
- package/v1/model/ListBlackWhiteListsRequest.js +1 -11
- package/v1/model/ListBlackWhiteListsRequest.js.map +1 -1
- package/v1/model/ListCaptureResultRequest.d.ts +24 -0
- package/v1/model/ListCaptureResultRequest.d.ts.map +1 -0
- package/v1/model/ListCaptureResultRequest.js +60 -0
- package/v1/model/ListCaptureResultRequest.js.map +1 -0
- package/v1/model/ListCaptureResultResponse.d.ts +8 -0
- package/v1/model/ListCaptureResultResponse.d.ts.map +1 -0
- package/v1/model/ListCaptureResultResponse.js +15 -0
- package/v1/model/ListCaptureResultResponse.js.map +1 -0
- package/v1/model/ListCaptureTaskRequest.d.ts +20 -0
- package/v1/model/ListCaptureTaskRequest.d.ts.map +1 -0
- package/v1/model/ListCaptureTaskRequest.js +50 -0
- package/v1/model/ListCaptureTaskRequest.js.map +1 -0
- package/v1/model/ListCaptureTaskResponse.d.ts +8 -0
- package/v1/model/ListCaptureTaskResponse.d.ts.map +1 -0
- package/v1/model/ListCaptureTaskResponse.js +15 -0
- package/v1/model/ListCaptureTaskResponse.js.map +1 -0
- package/v1/model/ListDnsServersRequest.d.ts +1 -1
- package/v1/model/ListDnsServersRequest.d.ts.map +1 -1
- package/v1/model/ListDnsServersRequest.js +2 -1
- package/v1/model/ListDnsServersRequest.js.map +1 -1
- package/v1/model/ListDomainParseDetailRequest.d.ts +3 -3
- package/v1/model/ListDomainsRequest.d.ts +0 -6
- package/v1/model/ListDomainsRequest.d.ts.map +1 -1
- package/v1/model/ListDomainsRequest.js +0 -14
- package/v1/model/ListDomainsRequest.js.map +1 -1
- package/v1/model/ListEastWestFirewallRequest.d.ts +1 -1
- package/v1/model/ListEastWestFirewallRequest.d.ts.map +1 -1
- package/v1/model/ListEastWestFirewallRequest.js +2 -1
- package/v1/model/ListEastWestFirewallRequest.js.map +1 -1
- package/v1/model/ListFlowLogsRequest.d.ts +18 -12
- package/v1/model/ListFlowLogsRequest.d.ts.map +1 -1
- package/v1/model/ListFlowLogsRequest.js +41 -12
- package/v1/model/ListFlowLogsRequest.js.map +1 -1
- package/v1/model/ListProtectedVpcsResponse.d.ts +0 -4
- package/v1/model/ListProtectedVpcsResponse.d.ts.map +1 -1
- package/v1/model/ListProtectedVpcsResponse.js +0 -10
- package/v1/model/ListProtectedVpcsResponse.js.map +1 -1
- package/v1/model/ResourceTag.d.ts +12 -0
- package/v1/model/ResourceTag.d.ts.map +1 -0
- package/v1/model/ResourceTag.js +27 -0
- package/v1/model/ResourceTag.js.map +1 -0
- package/v1/model/RuleAclListResponseDTODataRecords.d.ts +16 -19
- package/v1/model/RuleAclListResponseDTODataRecords.d.ts.map +1 -1
- package/v1/model/RuleAclListResponseDTODataRecords.js +20 -24
- package/v1/model/RuleAclListResponseDTODataRecords.js.map +1 -1
- package/v1/model/RuleAddressDtoForRequest.d.ts +4 -0
- package/v1/model/RuleAddressDtoForRequest.d.ts.map +1 -1
- package/v1/model/RuleAddressDtoForRequest.js +10 -0
- package/v1/model/RuleAddressDtoForRequest.js.map +1 -1
- package/v1/model/RuleAddressDtoForResponse.d.ts +58 -0
- package/v1/model/RuleAddressDtoForResponse.d.ts.map +1 -0
- package/v1/model/RuleAddressDtoForResponse.js +138 -0
- package/v1/model/RuleAddressDtoForResponse.js.map +1 -0
- package/v1/model/RuleServiceDto.d.ts +4 -4
- package/v1/model/RuleServiceDtoForResponse.d.ts +44 -0
- package/v1/model/RuleServiceDtoForResponse.d.ts.map +1 -0
- package/v1/model/RuleServiceDtoForResponse.js +102 -0
- package/v1/model/RuleServiceDtoForResponse.js.map +1 -0
- package/v1/model/ServiceGroupVO.d.ts +16 -0
- package/v1/model/ServiceGroupVO.d.ts.map +1 -0
- package/v1/model/ServiceGroupVO.js +37 -0
- package/v1/model/ServiceGroupVO.js.map +1 -0
- package/v1/model/ServiceItemIds.d.ts +3 -3
- package/v1/model/ServiceItemIds.d.ts.map +1 -1
- package/v1/model/ServiceItemIds.js.map +1 -1
- package/v1/model/ServiceItemIdsItems.d.ts +6 -0
- package/v1/model/ServiceItemIdsItems.d.ts.map +1 -0
- package/v1/model/ServiceItemIdsItems.js +13 -0
- package/v1/model/ServiceItemIdsItems.js.map +1 -0
- package/v1/model/ServiceItemListResponseDtoDataRecords.d.ts +0 -2
- package/v1/model/ServiceItemListResponseDtoDataRecords.d.ts.map +1 -1
- package/v1/model/ServiceItemListResponseDtoDataRecords.js +0 -4
- package/v1/model/ServiceItemListResponseDtoDataRecords.js.map +1 -1
- package/v1/model/ServiceSet.d.ts +0 -2
- package/v1/model/ServiceSet.d.ts.map +1 -1
- package/v1/model/ServiceSet.js +0 -4
- package/v1/model/ServiceSet.js.map +1 -1
- package/v1/model/UpdateAddressSetDto.d.ts +0 -13
- package/v1/model/UpdateAddressSetDto.d.ts.map +1 -1
- package/v1/model/UpdateAddressSetDto.js +1 -21
- package/v1/model/UpdateAddressSetDto.js.map +1 -1
- package/v1/model/UpdateBlackWhiteListDto.d.ts +1 -17
- package/v1/model/UpdateBlackWhiteListDto.d.ts.map +1 -1
- package/v1/model/UpdateBlackWhiteListDto.js +3 -31
- package/v1/model/UpdateBlackWhiteListDto.js.map +1 -1
- package/v1/model/UpdateDnsServersRequest.d.ts +1 -1
- package/v1/model/UpdateDnsServersRequest.d.ts.map +1 -1
- package/v1/model/UpdateDnsServersRequest.js +2 -1
- package/v1/model/UpdateDnsServersRequest.js.map +1 -1
- package/v1/model/UpdateDnsServersRequestBody.d.ts +1 -1
- package/v1/model/UpdateDnsServersRequestBody.d.ts.map +1 -1
- package/v1/model/UpdateDnsServersRequestBody.js +2 -1
- package/v1/model/UpdateDnsServersRequestBody.js.map +1 -1
- package/v1/model/UpdateDomainSetInfoDto.d.ts +0 -8
- package/v1/model/UpdateDomainSetInfoDto.d.ts.map +1 -1
- package/v1/model/UpdateDomainSetInfoDto.js +0 -20
- package/v1/model/UpdateDomainSetInfoDto.js.map +1 -1
- package/v1/model/UpdateDomainSetRequest.d.ts +1 -1
- package/v1/model/UpdateDomainSetRequest.d.ts.map +1 -1
- package/v1/model/UpdateDomainSetRequest.js +2 -1
- package/v1/model/UpdateDomainSetRequest.js.map +1 -1
- package/v1/model/UpdateRuleAclDto.d.ts +0 -3
- package/v1/model/UpdateRuleAclDto.d.ts.map +1 -1
- package/v1/model/UpdateRuleAclDto.js +0 -4
- package/v1/model/UpdateRuleAclDto.js.map +1 -1
- package/v1/model/UpdateServiceSetResponse.d.ts +3 -3
- package/v1/model/UpdateServiceSetResponse.d.ts.map +1 -1
- package/v1/model/UpdateServiceSetResponse.js.map +1 -1
- package/v1/model/VpcAttachmentDetail.d.ts +0 -35
- package/v1/model/VpcAttachmentDetail.d.ts.map +1 -1
- package/v1/model/VpcAttachmentDetail.js +0 -80
- package/v1/model/VpcAttachmentDetail.js.map +1 -1
- package/v1/public-api.d.ts +35 -2
- package/v1/public-api.d.ts.map +1 -1
- package/v1/public-api.js +35 -2
- package/v1/public-api.js.map +1 -1
- package/v1/model/RuleProfileDto.d.ts +0 -6
- package/v1/model/RuleProfileDto.d.ts.map +0 -1
- package/v1/model/RuleProfileDto.js +0 -13
- package/v1/model/RuleProfileDto.js.map +0 -1
- package/v1/model/Tag.d.ts +0 -8
- package/v1/model/Tag.d.ts.map +0 -1
- package/v1/model/Tag.js.map +0 -1
package/v1/CfwClient.js
CHANGED
@@ -15,22 +15,27 @@ const BatchDeleteAclRulesRequest_1 = require("./model/BatchDeleteAclRulesRequest
|
|
15
15
|
const BatchDeleteAddressItemsRequest_1 = require("./model/BatchDeleteAddressItemsRequest");
|
16
16
|
const BatchDeleteServiceItemsRequest_1 = require("./model/BatchDeleteServiceItemsRequest");
|
17
17
|
const BatchUpdateAclRuleActionsRequest_1 = require("./model/BatchUpdateAclRuleActionsRequest");
|
18
|
+
const CancelCaptureTaskRequest_1 = require("./model/CancelCaptureTaskRequest");
|
18
19
|
const ChangeEastWestFirewallStatusRequest_1 = require("./model/ChangeEastWestFirewallStatusRequest");
|
19
20
|
const ChangeEipStatusRequest_1 = require("./model/ChangeEipStatusRequest");
|
20
21
|
const ChangeIpsProtectModeRequest_1 = require("./model/ChangeIpsProtectModeRequest");
|
21
22
|
const ChangeIpsSwitchStatusRequest_1 = require("./model/ChangeIpsSwitchStatusRequest");
|
23
|
+
const CreateCaptureTaskRequest_1 = require("./model/CreateCaptureTaskRequest");
|
22
24
|
const CreateEastWestFirewallRequest_1 = require("./model/CreateEastWestFirewallRequest");
|
23
25
|
const CreateFirewallRequest_1 = require("./model/CreateFirewallRequest");
|
26
|
+
const CreateTagRequest_1 = require("./model/CreateTagRequest");
|
24
27
|
const DeleteAclRuleHitCountRequest_1 = require("./model/DeleteAclRuleHitCountRequest");
|
25
28
|
const DeleteAclRuleRequest_1 = require("./model/DeleteAclRuleRequest");
|
26
29
|
const DeleteAddressItemRequest_1 = require("./model/DeleteAddressItemRequest");
|
27
30
|
const DeleteAddressSetRequest_1 = require("./model/DeleteAddressSetRequest");
|
28
31
|
const DeleteBlackWhiteListRequest_1 = require("./model/DeleteBlackWhiteListRequest");
|
32
|
+
const DeleteCaptureTaskRequest_1 = require("./model/DeleteCaptureTaskRequest");
|
29
33
|
const DeleteDomainSetRequest_1 = require("./model/DeleteDomainSetRequest");
|
30
34
|
const DeleteDomainsRequest_1 = require("./model/DeleteDomainsRequest");
|
31
35
|
const DeleteFirewallRequest_1 = require("./model/DeleteFirewallRequest");
|
32
36
|
const DeleteServiceItemRequest_1 = require("./model/DeleteServiceItemRequest");
|
33
37
|
const DeleteServiceSetRequest_1 = require("./model/DeleteServiceSetRequest");
|
38
|
+
const DeleteTagRequest_1 = require("./model/DeleteTagRequest");
|
34
39
|
const ListAccessControlLogsRequest_1 = require("./model/ListAccessControlLogsRequest");
|
35
40
|
const ListAclRuleHitCountRequest_1 = require("./model/ListAclRuleHitCountRequest");
|
36
41
|
const ListAclRulesRequest_1 = require("./model/ListAclRulesRequest");
|
@@ -39,6 +44,8 @@ const ListAddressSetDetailRequest_1 = require("./model/ListAddressSetDetailReque
|
|
39
44
|
const ListAddressSetsRequest_1 = require("./model/ListAddressSetsRequest");
|
40
45
|
const ListAttackLogsRequest_1 = require("./model/ListAttackLogsRequest");
|
41
46
|
const ListBlackWhiteListsRequest_1 = require("./model/ListBlackWhiteListsRequest");
|
47
|
+
const ListCaptureResultRequest_1 = require("./model/ListCaptureResultRequest");
|
48
|
+
const ListCaptureTaskRequest_1 = require("./model/ListCaptureTaskRequest");
|
42
49
|
const ListDnsServersRequest_1 = require("./model/ListDnsServersRequest");
|
43
50
|
const ListDomainParseDetailRequest_1 = require("./model/ListDomainParseDetailRequest");
|
44
51
|
const ListDomainSetsRequest_1 = require("./model/ListDomainSetsRequest");
|
@@ -85,7 +92,7 @@ class CfwClient {
|
|
85
92
|
* @param {string} projectId 租户项目id
|
86
93
|
* @param {AddAddressItemsInfoDto} addAddressItemsUsingPOSTRequestBody 添加地址组成员请求体
|
87
94
|
* @param {string} [enterpriseProjectId] 企业项目id,用户支持企业项目后,由企业项目生成的id。
|
88
|
-
* @param {string} [fwInstanceId] 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id
|
95
|
+
* @param {string} [fwInstanceId] 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用[查询防火墙实例接口](ListFirewallDetail.xml),默认情况下,fw_instance_Id为空时,返回账号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
|
89
96
|
* @param {*} [options] Override http request option.
|
90
97
|
* @throws {RequiredError}
|
91
98
|
*/
|
@@ -104,7 +111,7 @@ class CfwClient {
|
|
104
111
|
* @param {string} projectId 租户项目id
|
105
112
|
* @param {AddAddressSetDto} addAddressSetInfoUsingPOSTRequestBody 添加地址组请求体
|
106
113
|
* @param {string} [enterpriseProjectId] 企业项目id,用户支持企业项目后,由企业项目生成的id。
|
107
|
-
* @param {string} [fwInstanceId] 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id
|
114
|
+
* @param {string} [fwInstanceId] 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用[查询防火墙实例接口](ListFirewallDetail.xml),默认情况下,fw_instance_Id为空时,返回账号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
|
108
115
|
* @param {*} [options] Override http request option.
|
109
116
|
* @throws {RequiredError}
|
110
117
|
*/
|
@@ -123,7 +130,7 @@ class CfwClient {
|
|
123
130
|
* @param {string} projectId 租户项目id
|
124
131
|
* @param {AddBlackWhiteListDto} addBlackWhiteListUsingPOSTRequestBody 添加黑白名单请求体
|
125
132
|
* @param {string} [enterpriseProjectId] 企业项目id,用户支持企业项目后,由企业项目生成的id。
|
126
|
-
* @param {string} [fwInstanceId] 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id
|
133
|
+
* @param {string} [fwInstanceId] 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用[查询防火墙实例接口](ListFirewallDetail.xml)接口获得,默认情况下,fw_instance_Id为空时,返回账号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
|
127
134
|
* @param {*} [options] Override http request option.
|
128
135
|
* @throws {RequiredError}
|
129
136
|
*/
|
@@ -142,7 +149,7 @@ class CfwClient {
|
|
142
149
|
* @param {string} projectId 租户项目id
|
143
150
|
* @param {AddDomainSetInfoDto} addDomainSetInfoDto 添加域名组Dto
|
144
151
|
* @param {string} [enterpriseProjectId] 企业项目id,用户支持企业项目后,由企业项目生成的id。
|
145
|
-
* @param {string} [fwInstanceId] 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id
|
152
|
+
* @param {string} [fwInstanceId] 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用[查询防火墙实例接口](ListFirewallDetail.xml),默认情况下,fw_instance_Id为空时,返回账号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
|
146
153
|
* @param {*} [options] Override http request option.
|
147
154
|
* @throws {RequiredError}
|
148
155
|
*/
|
@@ -162,7 +169,7 @@ class CfwClient {
|
|
162
169
|
* @param {string} setId 域名组id
|
163
170
|
* @param {AddDomainListDto} addDomainListDto 添加域名列表Dto
|
164
171
|
* @param {string} [enterpriseProjectId] 企业项目id,用户支持企业项目后,由企业项目生成的id。
|
165
|
-
* @param {string} [fwInstanceId] 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id
|
172
|
+
* @param {string} [fwInstanceId] 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用[查询防火墙实例接口](ListFirewallDetail.xml),默认情况下,fw_instance_Id为空时,返回账号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
|
166
173
|
* @param {*} [options] Override http request option.
|
167
174
|
* @throws {RequiredError}
|
168
175
|
*/
|
@@ -179,7 +186,7 @@ class CfwClient {
|
|
179
186
|
*
|
180
187
|
* @summary 创建日志配置
|
181
188
|
* @param {string} projectId 租户项目id
|
182
|
-
* @param {string} fwInstanceId 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id
|
189
|
+
* @param {string} fwInstanceId 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用[查询防火墙实例接口](ListFirewallDetail.xml)。
|
183
190
|
* @param {LogConfigDto} logConfigDto 日志配置Dto
|
184
191
|
* @param {string} [enterpriseProjectId] 企业项目id,用户支持企业项目后,由企业项目生成的id。
|
185
192
|
* @param {*} [options] Override http request option.
|
@@ -200,7 +207,7 @@ class CfwClient {
|
|
200
207
|
* @param {string} projectId 租户项目id
|
201
208
|
* @param {AddServiceItemsUsingPOSTRequestBody} addServiceItemsUsingPOSTRequestBody 创建服务组成员请求体
|
202
209
|
* @param {string} [enterpriseProjectId] 企业项目id,用户支持企业项目后,由企业项目生成的id。
|
203
|
-
* @param {string} [fwInstanceId] 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id
|
210
|
+
* @param {string} [fwInstanceId] 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用[查询防火墙实例接口](ListFirewallDetail.xml),默认情况下,fw_instance_Id为空时,返回账号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
|
204
211
|
* @param {*} [options] Override http request option.
|
205
212
|
* @throws {RequiredError}
|
206
213
|
*/
|
@@ -219,7 +226,7 @@ class CfwClient {
|
|
219
226
|
* @param {string} projectId 租户项目id
|
220
227
|
* @param {AddServiceSetUsingPOSTRequestBody} addServiceSetUsingPOSTRequestBody 创建服务组请求体
|
221
228
|
* @param {string} [enterpriseProjectId] 企业项目id,用户支持企业项目后,由企业项目生成的id。
|
222
|
-
* @param {string} [fwInstanceId] 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id
|
229
|
+
* @param {string} [fwInstanceId] 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用[查询防火墙实例接口](ListFirewallDetail.xml),默认情况下,fw_instance_Id为空时,返回账号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
|
223
230
|
* @param {*} [options] Override http request option.
|
224
231
|
* @throws {RequiredError}
|
225
232
|
*/
|
@@ -238,7 +245,7 @@ class CfwClient {
|
|
238
245
|
* @param {string} projectId 租户项目id
|
239
246
|
* @param {DeleteAddressItemsInfoDto} deleteAddressItemsInfoDto 批量删除地址组成员DTO
|
240
247
|
* @param {string} [enterpriseProjectId] 企业项目id,用户支持企业项目后,由企业项目生成的id。
|
241
|
-
* @param {string} [fwInstanceId] 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id
|
248
|
+
* @param {string} [fwInstanceId] 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用[查询防火墙实例接口](ListFirewallDetail.xml),默认情况下,fw_instance_Id为空时,返回账号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
|
242
249
|
* @param {*} [options] Override http request option.
|
243
250
|
* @throws {RequiredError}
|
244
251
|
*/
|
@@ -257,7 +264,7 @@ class CfwClient {
|
|
257
264
|
* @param {string} projectId 租户项目id
|
258
265
|
* @param {DeleteServiceItemDto} deleteServiceItemDto 批量删除服务组成员Dto
|
259
266
|
* @param {string} [enterpriseProjectId] 企业项目id,用户支持企业项目后,由企业项目生成的id。
|
260
|
-
* @param {string} [fwInstanceId] 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id
|
267
|
+
* @param {string} [fwInstanceId] 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用[查询防火墙实例接口](ListFirewallDetail.xml),默认情况下,fw_instance_Id为空时,返回账号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
|
261
268
|
* @param {*} [options] Override http request option.
|
262
269
|
* @throws {RequiredError}
|
263
270
|
*/
|
@@ -267,6 +274,25 @@ class CfwClient {
|
|
267
274
|
options['responseHeaders'] = [''];
|
268
275
|
return this.hcClient.sendRequest(options);
|
269
276
|
}
|
277
|
+
/**
|
278
|
+
* 取消抓包任务
|
279
|
+
*
|
280
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
281
|
+
*
|
282
|
+
* @summary 取消抓包任务
|
283
|
+
* @param {string} projectId 租户项目id
|
284
|
+
* @param {string} fwInstanceId 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用[查询防火墙实例接口](ListFirewallDetail.xml),默认情况下,fw_instance_Id为空时,返回账号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
|
285
|
+
* @param {CancelCaptureTaskDto} cancelCaptureTaskDto 停止抓包任务请求体
|
286
|
+
* @param {string} [enterpriseProjectId] 企业项目id,用户支持企业项目后,由企业项目生成的id。
|
287
|
+
* @param {*} [options] Override http request option.
|
288
|
+
* @throws {RequiredError}
|
289
|
+
*/
|
290
|
+
cancelCaptureTask(cancelCaptureTaskRequest) {
|
291
|
+
const options = (0, exports.ParamCreater)().cancelCaptureTask(cancelCaptureTaskRequest);
|
292
|
+
// @ts-ignore
|
293
|
+
options['responseHeaders'] = [''];
|
294
|
+
return this.hcClient.sendRequest(options);
|
295
|
+
}
|
270
296
|
/**
|
271
297
|
* 东西向防护资源防护开启/关闭
|
272
298
|
*
|
@@ -276,7 +302,7 @@ class CfwClient {
|
|
276
302
|
* @param {string} projectId 租户项目id
|
277
303
|
* @param {ChangeProtectStatusRequestBody} changeEwProtectStatusRequestBody 修改东西向防护状态请求体
|
278
304
|
* @param {string} [enterpriseProjectId] 企业项目id,用户支持企业项目后,由企业项目生成的id。
|
279
|
-
* @param {string} [fwInstanceId] 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id
|
305
|
+
* @param {string} [fwInstanceId] 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用[查询防火墙实例接口](ListFirewallDetail.xml),默认情况下,fw_instance_Id为空时,返回账号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
|
280
306
|
* @param {*} [options] Override http request option.
|
281
307
|
* @throws {RequiredError}
|
282
308
|
*/
|
@@ -286,6 +312,25 @@ class CfwClient {
|
|
286
312
|
options['responseHeaders'] = [''];
|
287
313
|
return this.hcClient.sendRequest(options);
|
288
314
|
}
|
315
|
+
/**
|
316
|
+
* 创建抓包任务
|
317
|
+
*
|
318
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
319
|
+
*
|
320
|
+
* @summary 创建抓包任务
|
321
|
+
* @param {string} projectId 租户项目id
|
322
|
+
* @param {string} fwInstanceId 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用[查询防火墙实例接口](ListFirewallDetail.xml),默认情况下,fw_instance_Id为空时,返回账号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
|
323
|
+
* @param {CaptureTaskDto} captureTaskDto 抓包任务请求体
|
324
|
+
* @param {string} [enterpriseProjectId] 企业项目id,用户支持企业项目后,由企业项目生成的id。
|
325
|
+
* @param {*} [options] Override http request option.
|
326
|
+
* @throws {RequiredError}
|
327
|
+
*/
|
328
|
+
createCaptureTask(createCaptureTaskRequest) {
|
329
|
+
const options = (0, exports.ParamCreater)().createCaptureTask(createCaptureTaskRequest);
|
330
|
+
// @ts-ignore
|
331
|
+
options['responseHeaders'] = [''];
|
332
|
+
return this.hcClient.sendRequest(options);
|
333
|
+
}
|
289
334
|
/**
|
290
335
|
* 创建东西向防火墙
|
291
336
|
*
|
@@ -293,7 +338,7 @@ class CfwClient {
|
|
293
338
|
*
|
294
339
|
* @summary 创建东西向防火墙
|
295
340
|
* @param {string} projectId 租户项目id
|
296
|
-
* @param {string} fwInstanceId 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id
|
341
|
+
* @param {string} fwInstanceId 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用[查询防火墙实例接口](ListFirewallDetail.xml),默认情况下,fw_instance_Id为空时,返回账号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
|
297
342
|
* @param {CreateEastWestFirewallRequestBody} createEastWestFirewallRequestBody CreateEastWestFirewallRequestBody
|
298
343
|
* @param {string} [enterpriseProjectId] 企业项目id,用户支持企业项目后,由企业项目生成的id。
|
299
344
|
* @param {*} [options] Override http request option.
|
@@ -314,7 +359,6 @@ class CfwClient {
|
|
314
359
|
* @param {string} projectId 租户项目id
|
315
360
|
* @param {CreateFirewallReq} createFirewallRequest 创建防火墙请求参数
|
316
361
|
* @param {string} [xClientToken] 保证客户端请求幂等性的标识。 该标识为32位UUID格式,由客户端生成,且需确保不同请求之间该标识具有唯一性。
|
317
|
-
* @param {string} [xTraceId]
|
318
362
|
* @param {*} [options] Override http request option.
|
319
363
|
* @throws {RequiredError}
|
320
364
|
*/
|
@@ -324,6 +368,24 @@ class CfwClient {
|
|
324
368
|
options['responseHeaders'] = [''];
|
325
369
|
return this.hcClient.sendRequest(options);
|
326
370
|
}
|
371
|
+
/**
|
372
|
+
* 创建标签
|
373
|
+
*
|
374
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
375
|
+
*
|
376
|
+
* @summary 标签创建接口
|
377
|
+
* @param {string} projectId 租户项目id
|
378
|
+
* @param {string} fwInstanceId 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用[查询防火墙实例接口](ListFirewallDetail.xml),默认情况下,fw_instance_Id为空时,返回账号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
|
379
|
+
* @param {CreateTagsDto} [createTagsDto] 创建标签DTO
|
380
|
+
* @param {*} [options] Override http request option.
|
381
|
+
* @throws {RequiredError}
|
382
|
+
*/
|
383
|
+
createTag(createTagRequest) {
|
384
|
+
const options = (0, exports.ParamCreater)().createTag(createTagRequest);
|
385
|
+
// @ts-ignore
|
386
|
+
options['responseHeaders'] = [''];
|
387
|
+
return this.hcClient.sendRequest(options);
|
388
|
+
}
|
327
389
|
/**
|
328
390
|
* 删除地址组成员
|
329
391
|
*
|
@@ -333,7 +395,7 @@ class CfwClient {
|
|
333
395
|
* @param {string} itemId 地址组成员id
|
334
396
|
* @param {string} projectId 租户项目id
|
335
397
|
* @param {string} [enterpriseProjectId] 企业项目id,用户支持企业项目后,由企业项目生成的id。
|
336
|
-
* @param {string} [fwInstanceId] 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id
|
398
|
+
* @param {string} [fwInstanceId] 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用[查询防火墙实例接口](ListFirewallDetail.xml),默认情况下,fw_instance_Id为空时,返回账号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
|
337
399
|
* @param {*} [options] Override http request option.
|
338
400
|
* @throws {RequiredError}
|
339
401
|
*/
|
@@ -352,7 +414,7 @@ class CfwClient {
|
|
352
414
|
* @param {string} projectId 租户项目id
|
353
415
|
* @param {string} setId 地址组id
|
354
416
|
* @param {string} [enterpriseProjectId] 企业项目id,用户支持企业项目后,由企业项目生成的id。
|
355
|
-
* @param {string} [fwInstanceId] 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id
|
417
|
+
* @param {string} [fwInstanceId] 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用[查询防火墙实例接口](ListFirewallDetail.xml),默认情况下,fw_instance_Id为空时,返回账号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
|
356
418
|
* @param {*} [options] Override http request option.
|
357
419
|
* @throws {RequiredError}
|
358
420
|
*/
|
@@ -371,7 +433,7 @@ class CfwClient {
|
|
371
433
|
* @param {string} projectId 租户项目id
|
372
434
|
* @param {string} listId 黑白名单id
|
373
435
|
* @param {string} [enterpriseProjectId] 企业项目id,用户支持企业项目后,由企业项目生成的id。
|
374
|
-
* @param {string} [fwInstanceId] 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id
|
436
|
+
* @param {string} [fwInstanceId] 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用[查询防火墙实例接口](ListFirewallDetail.xml),默认情况下,fw_instance_Id为空时,返回账号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
|
375
437
|
* @param {*} [options] Override http request option.
|
376
438
|
* @throws {RequiredError}
|
377
439
|
*/
|
@@ -381,6 +443,25 @@ class CfwClient {
|
|
381
443
|
options['responseHeaders'] = [''];
|
382
444
|
return this.hcClient.sendRequest(options);
|
383
445
|
}
|
446
|
+
/**
|
447
|
+
* 删除抓包任务
|
448
|
+
*
|
449
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
450
|
+
*
|
451
|
+
* @summary 删除抓包任务
|
452
|
+
* @param {string} projectId 租户项目id
|
453
|
+
* @param {string} fwInstanceId 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用[查询防火墙实例接口](ListFirewallDetail.xml),默认情况下,fw_instance_Id为空时,返回账号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
|
454
|
+
* @param {DeleteCaptureTaskDto} deleteCaptureTaskDto 删除抓包任务请求体
|
455
|
+
* @param {string} [enterpriseProjectId] 企业项目id,用户支持企业项目后,由企业项目生成的id。
|
456
|
+
* @param {*} [options] Override http request option.
|
457
|
+
* @throws {RequiredError}
|
458
|
+
*/
|
459
|
+
deleteCaptureTask(deleteCaptureTaskRequest) {
|
460
|
+
const options = (0, exports.ParamCreater)().deleteCaptureTask(deleteCaptureTaskRequest);
|
461
|
+
// @ts-ignore
|
462
|
+
options['responseHeaders'] = [''];
|
463
|
+
return this.hcClient.sendRequest(options);
|
464
|
+
}
|
384
465
|
/**
|
385
466
|
* 删除域名组
|
386
467
|
*
|
@@ -389,7 +470,7 @@ class CfwClient {
|
|
389
470
|
* @summary 删除域名组
|
390
471
|
* @param {string} projectId 租户项目id
|
391
472
|
* @param {string} setId 域名组id
|
392
|
-
* @param {string} fwInstanceId 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id
|
473
|
+
* @param {string} fwInstanceId 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用[查询防火墙实例接口](ListFirewallDetail.xml),默认情况下,fw_instance_Id为空时,返回账号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
|
393
474
|
* @param {string} [enterpriseProjectId] 企业项目id,用户支持企业项目后,由企业项目生成的id。
|
394
475
|
* @param {*} [options] Override http request option.
|
395
476
|
* @throws {RequiredError}
|
@@ -445,7 +526,7 @@ class CfwClient {
|
|
445
526
|
* @param {string} projectId 租户项目id
|
446
527
|
* @param {string} itemId 服务组成员id
|
447
528
|
* @param {string} [enterpriseProjectId] 企业项目id,用户支持企业项目后,由企业项目生成的id。
|
448
|
-
* @param {string} [fwInstanceId] 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id
|
529
|
+
* @param {string} [fwInstanceId] 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用[查询防火墙实例接口](ListFirewallDetail.xml),默认情况下,fw_instance_Id为空时,返回账号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
|
449
530
|
* @param {*} [options] Override http request option.
|
450
531
|
* @throws {RequiredError}
|
451
532
|
*/
|
@@ -464,7 +545,7 @@ class CfwClient {
|
|
464
545
|
* @param {string} projectId 租户项目id
|
465
546
|
* @param {string} setId 服务集合id
|
466
547
|
* @param {string} [enterpriseProjectId] 企业项目id,用户支持企业项目后,由企业项目生成的id。
|
467
|
-
* @param {string} [fwInstanceId] 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id
|
548
|
+
* @param {string} [fwInstanceId] 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用[查询防火墙实例接口](ListFirewallDetail.xml),默认情况下,fw_instance_Id为空时,返回账号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
|
468
549
|
* @param {*} [options] Override http request option.
|
469
550
|
* @throws {RequiredError}
|
470
551
|
*/
|
@@ -474,6 +555,24 @@ class CfwClient {
|
|
474
555
|
options['responseHeaders'] = [''];
|
475
556
|
return this.hcClient.sendRequest(options);
|
476
557
|
}
|
558
|
+
/**
|
559
|
+
* 删除标签
|
560
|
+
*
|
561
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
562
|
+
*
|
563
|
+
* @summary 删除标签
|
564
|
+
* @param {string} projectId 租户项目id
|
565
|
+
* @param {string} fwInstanceId 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用[查询防火墙实例接口](ListFirewallDetail.xml),默认情况下,fw_instance_Id为空时,返回账号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
|
566
|
+
* @param {DeleteTagsDto} [deleteTagsDto] 删除标签dto
|
567
|
+
* @param {*} [options] Override http request option.
|
568
|
+
* @throws {RequiredError}
|
569
|
+
*/
|
570
|
+
deleteTag(deleteTagRequest) {
|
571
|
+
const options = (0, exports.ParamCreater)().deleteTag(deleteTagRequest);
|
572
|
+
// @ts-ignore
|
573
|
+
options['responseHeaders'] = [''];
|
574
|
+
return this.hcClient.sendRequest(options);
|
575
|
+
}
|
477
576
|
/**
|
478
577
|
* 查询访问控制日志
|
479
578
|
*
|
@@ -481,27 +580,31 @@ class CfwClient {
|
|
481
580
|
*
|
482
581
|
* @summary 查询访问控制日志
|
483
582
|
* @param {string} projectId 租户项目id
|
484
|
-
* @param {string} fwInstanceId 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id
|
485
|
-
* @param {number} startTime
|
486
|
-
* @param {number} endTime
|
583
|
+
* @param {string} fwInstanceId 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用[查询防火墙实例接口](ListFirewallDetail.xml)。
|
584
|
+
* @param {number} startTime 开始时间,以毫秒为单位的时间戳,如1718936272648
|
585
|
+
* @param {number} endTime 结束时间,以毫秒为单位的时间戳,如1718936272648
|
487
586
|
* @param {number} limit 每页显示个数,范围为1-1024
|
488
587
|
* @param {string} [ruleId] 规则ID
|
489
588
|
* @param {string} [srcIp] 源IP
|
490
589
|
* @param {number} [srcPort] 源端口
|
491
590
|
* @param {string} [dstIp] 目的IP
|
492
591
|
* @param {number} [dstPort] 目的端口
|
493
|
-
* @param {string} [protocol]
|
592
|
+
* @param {string} [protocol] 协议类型,包含TCP, UDP,ICMP,ICMPV6等。
|
494
593
|
* @param {string} [app] 应用协议
|
495
|
-
* @param {string} [logId] 文档ID
|
496
|
-
* @param {number} [nextDate]
|
497
|
-
* @param {number} [offset]
|
498
|
-
* @param {'internet' | 'nat' | 'vpc'} [logType]
|
594
|
+
* @param {string} [logId] 文档ID,第一页为空,其他页不为空,其他页可取上一次查询最后一条数据的log_id
|
595
|
+
* @param {number} [nextDate] 下个日期,当是第一页时为空,不是第一页时不为空,其他页可取上一次查询最后一条数据的start_time
|
596
|
+
* @param {number} [offset] 偏移量:指定返回记录的开始位置,必须为数字,取值范围为大于0,首页时为空,非首页时不为空
|
597
|
+
* @param {'internet' | 'nat' | 'vpc'} [logType] 日志类型包括:internet,vpc,nat
|
499
598
|
* @param {string} [enterpriseProjectId] 企业项目id,用户支持企业项目后,由企业项目生成的id。
|
500
599
|
* @param {string} [dstHost] 目标主机
|
501
600
|
* @param {string} [ruleName] 规则名称
|
502
|
-
* @param {string} [action]
|
601
|
+
* @param {string} [action] 动作包含permit,deny
|
503
602
|
* @param {string} [srcRegionName] 源region名称
|
504
603
|
* @param {string} [dstRegionName] 目的region名称
|
604
|
+
* @param {string} [srcProvinceName] 源省份名称
|
605
|
+
* @param {string} [dstProvinceName] 目的省份名称
|
606
|
+
* @param {string} [srcCityName] 源城市名称
|
607
|
+
* @param {string} [dstCityName] 目的城市名称
|
505
608
|
* @param {*} [options] Override http request option.
|
506
609
|
* @throws {RequiredError}
|
507
610
|
*/
|
@@ -524,7 +627,7 @@ class CfwClient {
|
|
524
627
|
* @param {string} [keyWord] 关键字
|
525
628
|
* @param {string} [address] ip地址
|
526
629
|
* @param {string} [enterpriseProjectId] 企业项目id,用户支持企业项目后,由企业项目生成的id。
|
527
|
-
* @param {string} [fwInstanceId] 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id
|
630
|
+
* @param {string} [fwInstanceId] 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用[查询防火墙实例接口](ListFirewallDetail.xml),默认情况下,fw_instance_Id为空时,返回账号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
|
528
631
|
* @param {number} [queryAddressSetType] 查询地址组类型,0表示自定义地址组,1表示预定义地址组
|
529
632
|
* @param {*} [options] Override http request option.
|
530
633
|
* @throws {RequiredError}
|
@@ -544,7 +647,7 @@ class CfwClient {
|
|
544
647
|
* @param {string} projectId 租户项目id
|
545
648
|
* @param {string} setId 地址组id
|
546
649
|
* @param {string} [enterpriseProjectId] 企业项目id,用户支持企业项目后,由企业项目生成的id。
|
547
|
-
* @param {string} [fwInstanceId] 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id
|
650
|
+
* @param {string} [fwInstanceId] 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用[查询防火墙实例接口](ListFirewallDetail.xml),默认情况下,fw_instance_Id为空时,返回账号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
|
548
651
|
* @param {number} [queryAddressSetType] 查询地址组类型,0表示自定义地址组,1表示预定义地址组
|
549
652
|
* @param {*} [options] Override http request option.
|
550
653
|
* @throws {RequiredError}
|
@@ -562,14 +665,14 @@ class CfwClient {
|
|
562
665
|
*
|
563
666
|
* @summary 查询地址组列表
|
564
667
|
* @param {string} projectId 租户项目id
|
565
|
-
* @param {string} objectId
|
668
|
+
* @param {string} objectId 互联网边界防护对象id,可通过调用[查询防火墙实例接口](ListFirewallDetail.xml),type为0的为互联网边界防护对象id。
|
566
669
|
* @param {number} limit 每页显示个数,范围为1-1024
|
567
670
|
* @param {number} offset 偏移量:指定返回记录的开始位置,必须为数字,取值范围为大于或等于0,默认0
|
568
671
|
* @param {string} [keyWord] 关键字
|
569
672
|
* @param {string} [address] ip地址
|
570
673
|
* @param {0 | 1} [addressType] 地址类型0 ipv4,1 ipv6
|
571
674
|
* @param {string} [enterpriseProjectId] 企业项目id,用户支持企业项目后,由企业项目生成的id。
|
572
|
-
* @param {string} [fwInstanceId] 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id
|
675
|
+
* @param {string} [fwInstanceId] 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用[查询防火墙实例接口](ListFirewallDetail.xml),默认情况下,fw_instance_Id为空时,返回账号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
|
573
676
|
* @param {number} [queryAddressSetType] 查询地址组类型,0表示自定义地址组,1表示预定义地址组
|
574
677
|
* @param {number} [addressSetType] 地址组类型,0表示自定义地址组,1表示WAF回源IP地址组,2表示DDoS回源IP地址组,3表示NAT64转换地址组
|
575
678
|
* @param {*} [options] Override http request option.
|
@@ -588,31 +691,34 @@ class CfwClient {
|
|
588
691
|
*
|
589
692
|
* @summary 查询攻击日志
|
590
693
|
* @param {string} projectId 租户项目id
|
591
|
-
* @param {number} startTime
|
592
|
-
* @param {number} endTime
|
694
|
+
* @param {number} startTime 开始时间,以毫秒为单位的时间戳,如1718936272648
|
695
|
+
* @param {number} endTime 结束时间,以毫秒为单位的时间戳,如1718936272648
|
593
696
|
* @param {number} limit 每页显示个数,范围为1-1024
|
594
|
-
* @param {string} fwInstanceId 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id
|
697
|
+
* @param {string} fwInstanceId 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用[查询防火墙实例接口](ListFirewallDetail.xml)。
|
595
698
|
* @param {string} [srcIp] 源IP
|
596
699
|
* @param {number} [srcPort] 源端口号
|
597
700
|
* @param {string} [dstIp] 目的IP
|
598
701
|
* @param {number} [dstPort] 目的端口号
|
599
|
-
* @param {
|
702
|
+
* @param {string} [protocol] 协议类型,包含TCP, UDP,ICMP,ICMPV6等。
|
600
703
|
* @param {string} [app] 应用协议
|
601
|
-
* @param {string} [logId]
|
602
|
-
* @param {number} [nextDate]
|
603
|
-
* @param {number} [offset]
|
604
|
-
* @param {
|
605
|
-
* @param {
|
704
|
+
* @param {string} [logId] 文档ID,第一页为空,其他页不为空,其他页可取上一次查询最后一条数据的log_id
|
705
|
+
* @param {number} [nextDate] 下个日期,当是第一页时为空,不是第一页时不为空,其他页可取上一次查询最后一条数据的event_time
|
706
|
+
* @param {number} [offset] 偏移量:指定返回记录的开始位置,必须为数字,取值范围为大于0,首页时为空,非首页时不为空
|
707
|
+
* @param {string} [action] 动作包含permit,deny
|
708
|
+
* @param {string} [direction] 方向,包含in2out,out2in
|
606
709
|
* @param {string} [attackType] 入侵事件类型
|
607
710
|
* @param {string} [attackRule] 入侵事件规则
|
608
|
-
* @param {string} [level]
|
609
|
-
* @param {string} [source] 判断来源
|
711
|
+
* @param {string} [level] 威胁等级,包括CRITICAL、HIGH、MEDIUM、LOW
|
610
712
|
* @param {string} [enterpriseProjectId] 企业项目id,用户支持企业项目后,由企业项目生成的id。
|
611
713
|
* @param {string} [dstHost] 目标主机
|
612
|
-
* @param {'internet' | 'nat' | 'vpc'} [logType]
|
714
|
+
* @param {'internet' | 'nat' | 'vpc'} [logType] 日志类型包括:internet,vpc,nat
|
613
715
|
* @param {string} [attackRuleId] 入侵事件id
|
614
716
|
* @param {string} [srcRegionName] 源region名称
|
615
717
|
* @param {string} [dstRegionName] 目的region名称
|
718
|
+
* @param {string} [srcProvinceName] 源省份名称
|
719
|
+
* @param {string} [dstProvinceName] 目的省份名称
|
720
|
+
* @param {string} [srcCityName] 源城市名称
|
721
|
+
* @param {string} [dstCityName] 目的城市名称
|
616
722
|
* @param {*} [options] Override http request option.
|
617
723
|
* @throws {RequiredError}
|
618
724
|
*/
|
@@ -629,15 +735,15 @@ class CfwClient {
|
|
629
735
|
*
|
630
736
|
* @summary 查询黑白名单列表
|
631
737
|
* @param {string} projectId 租户项目id
|
632
|
-
* @param {string} objectId
|
738
|
+
* @param {string} objectId 互联网边界防护对象id,可通过调用[查询防火墙实例接口](ListFirewallDetail.xml),type为0的为互联网边界防护对象id。
|
633
739
|
* @param {4 | 5} listType 黑白名单类型4:黑名单,5:白名单
|
634
740
|
* @param {number} limit 每页显示个数,范围为1-1024
|
635
741
|
* @param {number} offset 偏移量:指定返回记录的开始位置,必须为数字,取值范围为大于或等于0,默认0
|
636
|
-
* @param {
|
742
|
+
* @param {number} [addressType] IP地址类型0:ipv4,1:ipv6
|
637
743
|
* @param {string} [address] ip地址
|
638
744
|
* @param {string} [port] 端口
|
639
745
|
* @param {string} [enterpriseProjectId] 企业项目id,用户支持企业项目后,由企业项目生成的id。
|
640
|
-
* @param {string} [fwInstanceId] 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id
|
746
|
+
* @param {string} [fwInstanceId] 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用[查询防火墙实例接口](ListFirewallDetail.xml),默认情况下,fw_instance_Id为空时,返回账号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
|
641
747
|
* @param {*} [options] Override http request option.
|
642
748
|
* @throws {RequiredError}
|
643
749
|
*/
|
@@ -647,6 +753,47 @@ class CfwClient {
|
|
647
753
|
options['responseHeaders'] = [''];
|
648
754
|
return this.hcClient.sendRequest(options);
|
649
755
|
}
|
756
|
+
/**
|
757
|
+
* 获取抓包任务结果
|
758
|
+
*
|
759
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
760
|
+
*
|
761
|
+
* @summary 获取抓包任务结果
|
762
|
+
* @param {string} projectId 租户项目id
|
763
|
+
* @param {string} fwInstanceId 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用[查询防火墙实例接口](ListFirewallDetail.xml),默认情况下,fw_instance_Id为空时,返回账号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
|
764
|
+
* @param {string} taskId 抓包任务id
|
765
|
+
* @param {number} [type] 是否指定公网ip下载,0:无限制,1:指定公网ip下载
|
766
|
+
* @param {Array<string>} [ip] 指定公网ip
|
767
|
+
* @param {string} [enterpriseProjectId] 企业项目id,用户支持企业项目后,由企业项目生成的id。
|
768
|
+
* @param {*} [options] Override http request option.
|
769
|
+
* @throws {RequiredError}
|
770
|
+
*/
|
771
|
+
listCaptureResult(listCaptureResultRequest) {
|
772
|
+
const options = (0, exports.ParamCreater)().listCaptureResult(listCaptureResultRequest);
|
773
|
+
// @ts-ignore
|
774
|
+
options['responseHeaders'] = [''];
|
775
|
+
return this.hcClient.sendRequest(options);
|
776
|
+
}
|
777
|
+
/**
|
778
|
+
* 查询抓包任务
|
779
|
+
*
|
780
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
781
|
+
*
|
782
|
+
* @summary 查询抓包任务
|
783
|
+
* @param {string} projectId 租户项目id
|
784
|
+
* @param {number} limit 每页显示个数,范围为1-1024
|
785
|
+
* @param {number} offset 偏移量:指定返回记录的开始位置,必须为数字,取值范围为大于或等于0,默认0
|
786
|
+
* @param {string} [enterpriseProjectId] 企业项目id,用户支持企业项目后,由企业项目生成的id。
|
787
|
+
* @param {string} [fwInstanceId] 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用[查询防火墙实例接口](ListFirewallDetail.xml),默认情况下,fw_instance_Id为空时,返回账号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
|
788
|
+
* @param {*} [options] Override http request option.
|
789
|
+
* @throws {RequiredError}
|
790
|
+
*/
|
791
|
+
listCaptureTask(listCaptureTaskRequest) {
|
792
|
+
const options = (0, exports.ParamCreater)().listCaptureTask(listCaptureTaskRequest);
|
793
|
+
// @ts-ignore
|
794
|
+
options['responseHeaders'] = [''];
|
795
|
+
return this.hcClient.sendRequest(options);
|
796
|
+
}
|
650
797
|
/**
|
651
798
|
* 查询dns服务器列表
|
652
799
|
*
|
@@ -654,9 +801,9 @@ class CfwClient {
|
|
654
801
|
*
|
655
802
|
* @summary 查询dns服务器列表
|
656
803
|
* @param {string} projectId 租户项目id
|
804
|
+
* @param {string} fwInstanceId 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用[查询防火墙实例接口](ListFirewallDetail.xml)接口获得,默认情况下,fw_instance_Id为空时,返回账号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。若object_Id非空,默认返回object_Id对应墙的信息;填写时object_Id需要属于fw_instance_Id对应的墙。
|
657
805
|
* @param {number} [limit] 每页显示个数,范围为1-1024
|
658
806
|
* @param {number} [offset] 偏移量:指定返回记录的开始位置,必须为数字,取值范围为大于或等于0,默认0
|
659
|
-
* @param {string} [fwInstanceId] 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用查询防火墙实例接口获得。具体可参考APIExlorer和帮助中心FAQ。默认情况下,fw_instance_Id为空时,返回帐号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。若object_Id非空,默认返回object_Id对应墙的信息;填写时object_Id需要属于fw_instance_Id对应的墙。
|
660
807
|
* @param {string} [enterpriseProjectId] 企业项目id,用户支持企业项目后,由企业项目生成的id。
|
661
808
|
* @param {*} [options] Override http request option.
|
662
809
|
* @throws {RequiredError}
|
@@ -676,8 +823,8 @@ class CfwClient {
|
|
676
823
|
* @param {string} projectId 租户项目id
|
677
824
|
* @param {string} domainName 域名
|
678
825
|
* @param {string} [enterpriseProjectId] 企业项目id,用户支持企业项目后,由企业项目生成的id。
|
679
|
-
* @param {string} [fwInstanceId] 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id
|
680
|
-
* @param {
|
826
|
+
* @param {string} [fwInstanceId] 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用[查询防火墙实例接口](ListFirewallDetail.xml),默认情况下,fw_instance_Id为空时,返回账号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
|
827
|
+
* @param {number} [addressType] 地址类型,0 ipv4,1 ipv6
|
681
828
|
* @param {*} [options] Override http request option.
|
682
829
|
* @throws {RequiredError}
|
683
830
|
*/
|
@@ -693,14 +840,14 @@ class CfwClient {
|
|
693
840
|
* Please refer to HUAWEI cloud API Explorer for details.
|
694
841
|
*
|
695
842
|
* @summary 查询域名组列表
|
696
|
-
* @param {string} projectId 租户项目id
|
697
|
-
* @param {string} fwInstanceId 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id
|
843
|
+
* @param {string} projectId 租户项目id
|
844
|
+
* @param {string} fwInstanceId 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用[查询防火墙实例接口](ListFirewallDetail.xml),默认情况下,fw_instance_Id为空时,返回账号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
|
698
845
|
* @param {number} limit 每页显示个数,范围为1-1024
|
699
846
|
* @param {number} offset 偏移量:指定返回记录的开始位置,必须为数字,取值范围为大于或等于0,默认0
|
700
|
-
* @param {string} objectId
|
847
|
+
* @param {string} objectId 互联网边界防护对象id,可通过调用[查询防火墙实例接口](ListFirewallDetail.xml),type为0的为互联网边界防护对象id。
|
701
848
|
* @param {string} [enterpriseProjectId] 企业项目id,用户支持企业项目后,由企业项目生成的id。
|
702
849
|
* @param {string} [keyWord] 关键字
|
703
|
-
* @param {number} [domainSetType] 域名组类型,0
|
850
|
+
* @param {number} [domainSetType] 域名组类型,0表示应用域名组,1表示网络域名组
|
704
851
|
* @param {number} [configStatus] 配置状态
|
705
852
|
* @param {*} [options] Override http request option.
|
706
853
|
* @throws {RequiredError}
|
@@ -719,14 +866,12 @@ class CfwClient {
|
|
719
866
|
* @summary 获取域名组下域名列表
|
720
867
|
* @param {string} projectId 租户项目ID
|
721
868
|
* @param {string} domainSetId 域名组id
|
722
|
-
* @param {string} fwInstanceId 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id
|
869
|
+
* @param {string} fwInstanceId 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用[查询防火墙实例接口](ListFirewallDetail.xml),默认情况下,fw_instance_Id为空时,返回账号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
|
723
870
|
* @param {number} limit 每页显示个数,范围为1-1024
|
724
871
|
* @param {number} offset 偏移量:指定返回记录的开始位置,必须为数字,取值范围为大于或等于0,默认0
|
725
872
|
* @param {string} [enterpriseProjectId] 企业项目id,用户支持企业项目后,由企业项目生成的id。
|
726
873
|
* @param {string} [domainName] 域名名称
|
727
|
-
* @param {string} [
|
728
|
-
* @param {string} [setId] 域名组id
|
729
|
-
* @param {string} [objectId] 防护对象id,是创建云防火墙后用于区分互联网边界防护和VPC边界防护的标志id,可通过调用查询防火墙实例接口获得,注意type为0的为互联网边界防护对象id,type为1的为VPC边界防护对象id。具体可参考APIExlorer和帮助中心FAQ。
|
874
|
+
* @param {string} [objectId] 互联网边界防护对象id,可通过调用[查询防火墙实例接口](ListFirewallDetail.xml),type为0的为互联网边界防护对象id。
|
730
875
|
* @param {*} [options] Override http request option.
|
731
876
|
* @throws {RequiredError}
|
732
877
|
*/
|
@@ -745,8 +890,8 @@ class CfwClient {
|
|
745
890
|
* @param {string} projectId 租户项目id
|
746
891
|
* @param {number} limit 每页显示个数,范围为1-1024
|
747
892
|
* @param {number} offset 偏移量:指定返回记录的开始位置,必须为数字,取值范围为大于或等于0,默认0
|
893
|
+
* @param {string} fwInstanceId 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用[查询防火墙实例接口](ListFirewallDetail.xml),默认情况下,fw_instance_Id为空时,返回账号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
|
748
894
|
* @param {string} [enterpriseProjectId] 企业项目id,用户支持企业项目后,由企业项目生成的id。
|
749
|
-
* @param {string} [fwInstanceId] 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用查询防火墙实例接口获得。具体可参考APIExlorer和帮助中心FAQ。默认情况下,fw_instance_Id为空时,返回帐号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
|
750
895
|
* @param {*} [options] Override http request option.
|
751
896
|
* @throws {RequiredError}
|
752
897
|
*/
|
@@ -767,7 +912,7 @@ class CfwClient {
|
|
767
912
|
* @param {number} limit 每页显示个数,范围为1-1024
|
768
913
|
* @param {0 | 1} serviceType 服务类型 0 南北向防火墙 1 东西向防火墙
|
769
914
|
* @param {string} [enterpriseProjectId] 企业项目id,用户支持企业项目后,由企业项目生成的id。
|
770
|
-
* @param {string} [fwInstanceId] 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id
|
915
|
+
* @param {string} [fwInstanceId] 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用[查询防火墙实例接口](ListFirewallDetail.xml),默认情况下,fw_instance_Id为空时,返回账号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
|
771
916
|
* @param {string} [name] 防火墙名称
|
772
917
|
* @param {*} [options] Override http request option.
|
773
918
|
* @throws {RequiredError}
|
@@ -803,25 +948,29 @@ class CfwClient {
|
|
803
948
|
*
|
804
949
|
* @summary 查询流日志
|
805
950
|
* @param {string} projectId 租户项目id
|
806
|
-
* @param {string} fwInstanceId 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id
|
807
|
-
* @param {number} startTime
|
808
|
-
* @param {number} endTime
|
951
|
+
* @param {string} fwInstanceId 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用[查询防火墙实例接口](ListFirewallDetail.xml)。
|
952
|
+
* @param {number} startTime 开始时间,以毫秒为单位的时间戳,如1718936272648
|
953
|
+
* @param {number} endTime 结束时间,以毫秒为单位的时间戳,如1718936272648
|
809
954
|
* @param {number} limit 每页显示个数,范围为1-1024
|
810
|
-
* @param {string} [direction]
|
811
|
-
* @param {'internet' | 'vpc' | 'nat'} [logType]
|
955
|
+
* @param {string} [direction] 方向,包含in2out,out2in
|
956
|
+
* @param {'internet' | 'vpc' | 'nat'} [logType] 日志类型包括:internet,vpc,nat
|
812
957
|
* @param {string} [srcIp] 源IP
|
813
958
|
* @param {number} [srcPort] 源端口
|
814
959
|
* @param {string} [dstIp] 目的IP
|
815
960
|
* @param {number} [dstPort] 目的端口
|
816
|
-
* @param {
|
961
|
+
* @param {string} [protocol] 协议类型,包含TCP, UDP,ICMP,ICMPV6等。
|
817
962
|
* @param {string} [app] 应用协议
|
818
|
-
* @param {string} [logId] 文档ID
|
819
|
-
* @param {number} [nextDate]
|
820
|
-
* @param {number} [offset]
|
963
|
+
* @param {string} [logId] 文档ID,第一页为空,其他页不为空,其他页可取上一次查询最后一条数据的log_id
|
964
|
+
* @param {number} [nextDate] 下个日期,当是第一页时为空,不是第一页时不为空,其他页可取上一次查询最后一条数据的start_time
|
965
|
+
* @param {number} [offset] 偏移量:指定返回记录的开始位置,必须为数字,取值范围为大于0,首页时为空,非首页时不为空
|
821
966
|
* @param {string} [enterpriseProjectId] 企业项目id,用户支持企业项目后,由企业项目生成的id。
|
822
967
|
* @param {string} [dstHost] 目的主机
|
823
968
|
* @param {string} [srcRegionName] 源region名称
|
824
969
|
* @param {string} [dstRegionName] 目的region名称
|
970
|
+
* @param {string} [srcProvinceName] 源省份名称
|
971
|
+
* @param {string} [dstProvinceName] 目的省份名称
|
972
|
+
* @param {string} [srcCityName] 源城市名称
|
973
|
+
* @param {string} [dstCityName] 目的城市名称
|
825
974
|
* @param {*} [options] Override http request option.
|
826
975
|
* @throws {RequiredError}
|
827
976
|
*/
|
@@ -855,7 +1004,7 @@ class CfwClient {
|
|
855
1004
|
*
|
856
1005
|
* @summary 获取日志配置
|
857
1006
|
* @param {string} projectId 租户项目id
|
858
|
-
* @param {string} fwInstanceId 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id
|
1007
|
+
* @param {string} fwInstanceId 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用[查询防火墙实例接口](ListFirewallDetail.xml)。
|
859
1008
|
* @param {string} [enterpriseProjectId] 企业项目id,用户支持企业项目后,由企业项目生成的id。
|
860
1009
|
* @param {*} [options] Override http request option.
|
861
1010
|
* @throws {RequiredError}
|
@@ -873,9 +1022,9 @@ class CfwClient {
|
|
873
1022
|
*
|
874
1023
|
* @summary 查询防护VPC数
|
875
1024
|
* @param {string} projectId 租户项目id
|
876
|
-
* @param {string} objectId 防护对象id,是创建云防火墙后用于区分互联网边界防护和VPC边界防护的标志id
|
1025
|
+
* @param {string} objectId 防护对象id,是创建云防火墙后用于区分互联网边界防护和VPC边界防护的标志id,可通过调用[查询防火墙实例接口](ListFirewallDetail.xml)获得,注意type为0的为互联网边界防护对象id,type为1的为VPC边界防护对象id。
|
877
1026
|
* @param {string} [enterpriseProjectId] 企业项目id,用户支持企业项目后,由企业项目生成的id。
|
878
|
-
* @param {string} [fwInstanceId] 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id
|
1027
|
+
* @param {string} [fwInstanceId] 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用[查询防火墙实例接口](ListFirewallDetail.xml)获得,默认情况下,fw_instance_Id为空时,返回账号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
|
879
1028
|
* @param {*} [options] Override http request option.
|
880
1029
|
* @throws {RequiredError}
|
881
1030
|
*/
|
@@ -897,8 +1046,8 @@ class CfwClient {
|
|
897
1046
|
* @param {number} offset 偏移量:指定返回记录的开始位置,必须为数字,取值范围为大于或等于0,默认0
|
898
1047
|
* @param {string} [keyWord] 查询字段
|
899
1048
|
* @param {string} [enterpriseProjectId] 企业项目id,用户支持企业项目后,由企业项目生成的id。
|
900
|
-
* @param {string} [fwInstanceId] 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id
|
901
|
-
* @param {number} [queryServiceSetType] 查询服务组类型,0表示自定义服务组,1
|
1049
|
+
* @param {string} [fwInstanceId] 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用[查询防火墙实例接口](ListFirewallDetail.xml),默认情况下,fw_instance_Id为空时,返回账号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
|
1050
|
+
* @param {number} [queryServiceSetType] 查询服务组类型,0表示自定义服务组,1表示预定义服务组。仅当set_id为预定义服务组id时生效
|
902
1051
|
* @param {*} [options] Override http request option.
|
903
1052
|
* @throws {RequiredError}
|
904
1053
|
*/
|
@@ -917,7 +1066,7 @@ class CfwClient {
|
|
917
1066
|
* @param {string} projectId 租户项目id
|
918
1067
|
* @param {string} setId 服务组id
|
919
1068
|
* @param {string} [enterpriseProjectId] 企业项目id,用户支持企业项目后,由企业项目生成的id。
|
920
|
-
* @param {string} [fwInstanceId] 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id
|
1069
|
+
* @param {string} [fwInstanceId] 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用[查询防火墙实例接口](ListFirewallDetail.xml),默认情况下,fw_instance_Id为空时,返回账号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
|
921
1070
|
* @param {number} [queryServiceSetType] 查询服务组类型,0表示自定义服务组,1表示预定义服务组
|
922
1071
|
* @param {*} [options] Override http request option.
|
923
1072
|
* @throws {RequiredError}
|
@@ -935,12 +1084,12 @@ class CfwClient {
|
|
935
1084
|
*
|
936
1085
|
* @summary 获取服务组列表
|
937
1086
|
* @param {string} projectId 租户项目id
|
938
|
-
* @param {string} objectId
|
1087
|
+
* @param {string} objectId 互联网边界防护对象id,可通过调用[查询防火墙实例接口](ListFirewallDetail.xml),type为0的为互联网边界防护对象id。
|
939
1088
|
* @param {number} limit 每页查询个数,范围为1-1024
|
940
1089
|
* @param {number} offset 偏移量:指定返回记录的开始位置,必须为数字,取值范围为大于或等于0,默认0
|
941
1090
|
* @param {string} [keyWord] 关键字
|
942
1091
|
* @param {string} [enterpriseProjectId] 企业项目id,用户支持企业项目后,由企业项目生成的id。
|
943
|
-
* @param {string} [fwInstanceId] 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id
|
1092
|
+
* @param {string} [fwInstanceId] 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用[查询防火墙实例接口](ListFirewallDetail.xml),默认情况下,fw_instance_Id为空时,返回账号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
|
944
1093
|
* @param {number} [queryServiceSetType] 查询服务组类型,0表示自定义服务组,1表示预定义服务组
|
945
1094
|
* @param {*} [options] Override http request option.
|
946
1095
|
* @throws {RequiredError}
|
@@ -961,7 +1110,7 @@ class CfwClient {
|
|
961
1110
|
* @param {string} setId 地址组id
|
962
1111
|
* @param {UpdateAddressSetDto} updateAddressSetInfoUsingPUTRequestBody UpdateAddressSetInfoUsingPUTRequestBody
|
963
1112
|
* @param {string} [enterpriseProjectId] 企业项目id,用户支持企业项目后,由企业项目生成的id。
|
964
|
-
* @param {string} [fwInstanceId] 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id
|
1113
|
+
* @param {string} [fwInstanceId] 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用[查询防火墙实例接口](ListFirewallDetail.xml),默认情况下,fw_instance_Id为空时,返回账号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
|
965
1114
|
* @param {*} [options] Override http request option.
|
966
1115
|
* @throws {RequiredError}
|
967
1116
|
*/
|
@@ -981,7 +1130,7 @@ class CfwClient {
|
|
981
1130
|
* @param {string} listId 黑白名单列表id
|
982
1131
|
* @param {UpdateBlackWhiteListDto} updateBlackWhiteListUsingPUTRequestBody 更新黑白名单请求体
|
983
1132
|
* @param {string} [enterpriseProjectId] 企业项目id,用户支持企业项目后,由企业项目生成的id。
|
984
|
-
* @param {string} [fwInstanceId] 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id
|
1133
|
+
* @param {string} [fwInstanceId] 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用[查询防火墙实例接口](ListFirewallDetail.xml),默认情况下,fw_instance_Id为空时,返回账号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
|
985
1134
|
* @param {*} [options] Override http request option.
|
986
1135
|
* @throws {RequiredError}
|
987
1136
|
*/
|
@@ -998,8 +1147,8 @@ class CfwClient {
|
|
998
1147
|
*
|
999
1148
|
* @summary 更新dns服务器列表
|
1000
1149
|
* @param {string} projectId 租户项目id
|
1150
|
+
* @param {string} fwInstanceId 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用[查询防火墙实例接口](ListFirewallDetail.xml)获得,默认情况下,fw_instance_Id为空时,返回账号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。若object_Id非空,默认返回object_Id对应墙的信息;填写时object_Id需要属于fw_instance_Id对应的墙。
|
1001
1151
|
* @param {UpdateDnsServersRequestBody} updateDnsServersRequestBody 更新dns服务器列表请求体
|
1002
|
-
* @param {string} [fwInstanceId] 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用查询防火墙实例接口获得。具体可参考APIExlorer和帮助中心FAQ。默认情况下,fw_instance_Id为空时,返回帐号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。若object_Id非空,默认返回object_Id对应墙的信息;填写时object_Id需要属于fw_instance_Id对应的墙。
|
1003
1152
|
* @param {string} [enterpriseProjectId] 企业项目id,用户支持企业项目后,由企业项目生成的id。
|
1004
1153
|
* @param {*} [options] Override http request option.
|
1005
1154
|
* @throws {RequiredError}
|
@@ -1017,10 +1166,10 @@ class CfwClient {
|
|
1017
1166
|
*
|
1018
1167
|
* @summary 更新域名组
|
1019
1168
|
* @param {string} projectId 租户项目id
|
1020
|
-
* @param {string} setId
|
1169
|
+
* @param {string} setId 域名组id
|
1170
|
+
* @param {string} fwInstanceId 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用[查询防火墙实例接口](ListFirewallDetail.xml)。
|
1021
1171
|
* @param {UpdateDomainSetInfoDto} updateDomainSetInfoDto 更新域名组Dto
|
1022
1172
|
* @param {string} [enterpriseProjectId] 企业项目id,用户支持企业项目后,由企业项目生成的id。
|
1023
|
-
* @param {string} [fwInstanceId] 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用查询防火墙实例接口获得。具体可参考APIExlorer和帮助中心FAQ。默认情况下,fw_instance_Id为空时,返回帐号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
|
1024
1173
|
* @param {*} [options] Override http request option.
|
1025
1174
|
* @throws {RequiredError}
|
1026
1175
|
*/
|
@@ -1037,7 +1186,7 @@ class CfwClient {
|
|
1037
1186
|
*
|
1038
1187
|
* @summary 更新日志配置
|
1039
1188
|
* @param {string} projectId 租户项目id
|
1040
|
-
* @param {string} fwInstanceId 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id
|
1189
|
+
* @param {string} fwInstanceId 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用[查询防火墙实例接口](ListFirewallDetail.xml)。
|
1041
1190
|
* @param {LogConfigDto} logConfigDto 日志配置DTO
|
1042
1191
|
* @param {string} [enterpriseProjectId] 企业项目id,用户支持企业项目后,由企业项目生成的id。
|
1043
1192
|
* @param {*} [options] Override http request option.
|
@@ -1059,7 +1208,7 @@ class CfwClient {
|
|
1059
1208
|
* @param {string} setId 服务组id
|
1060
1209
|
* @param {UpdateServiceSetUsingPUTRequestBody} updateServiceSetUsingPUTRequestBody 更新服务组的请求体
|
1061
1210
|
* @param {string} [enterpriseProjectId] 企业项目id,用户支持企业项目后,由企业项目生成的id。
|
1062
|
-
* @param {string} [fwInstanceId] 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id
|
1211
|
+
* @param {string} [fwInstanceId] 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用[查询防火墙实例接口](ListFirewallDetail.xml),默认情况下,fw_instance_Id为空时,返回账号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
|
1063
1212
|
* @param {*} [options] Override http request option.
|
1064
1213
|
* @throws {RequiredError}
|
1065
1214
|
*/
|
@@ -1078,7 +1227,7 @@ class CfwClient {
|
|
1078
1227
|
* @param {string} projectId 租户项目id
|
1079
1228
|
* @param {AddRuleAclDto} addRuleAclUsingPOSTRequestBody 添加aclDto
|
1080
1229
|
* @param {string} [enterpriseProjectId] 企业项目id,用户支持企业项目后,由企业项目生成的id。
|
1081
|
-
* @param {string} [fwInstanceId] 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id
|
1230
|
+
* @param {string} [fwInstanceId] 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用[查询防火墙实例接口](ListFirewallDetail.xml),默认情况下,fw_instance_Id为空时,返回账号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
|
1082
1231
|
* @param {*} [options] Override http request option.
|
1083
1232
|
* @throws {RequiredError}
|
1084
1233
|
*/
|
@@ -1097,7 +1246,7 @@ class CfwClient {
|
|
1097
1246
|
* @param {string} projectId 租户项目ID
|
1098
1247
|
* @param {DeleteRuleAclDto} deleteRuleAclDto 删除规则DTO
|
1099
1248
|
* @param {string} [enterpriseProjectId] 企业项目id,用户支持企业项目后,由企业项目生成的id。
|
1100
|
-
* @param {string} [fwInstanceId] 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id
|
1249
|
+
* @param {string} [fwInstanceId] 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用[查询防火墙实例接口](ListFirewallDetail.xml),默认情况下,fw_instance_Id为空时,返回账号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
|
1101
1250
|
* @param {*} [options] Override http request option.
|
1102
1251
|
* @throws {RequiredError}
|
1103
1252
|
*/
|
@@ -1134,7 +1283,7 @@ class CfwClient {
|
|
1134
1283
|
* @param {string} projectId 租户项目Id
|
1135
1284
|
* @param {string} aclRuleId 规则Id
|
1136
1285
|
* @param {string} [enterpriseProjectId] 企业项目id,用户支持企业项目后,由企业项目生成的id。
|
1137
|
-
* @param {string} [fwInstanceId] 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id
|
1286
|
+
* @param {string} [fwInstanceId] 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用[查询防火墙实例接口](ListFirewallDetail.xml),默认情况下,fw_instance_Id为空时,返回账号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
|
1138
1287
|
* @param {*} [options] Override http request option.
|
1139
1288
|
* @throws {RequiredError}
|
1140
1289
|
*/
|
@@ -1153,7 +1302,7 @@ class CfwClient {
|
|
1153
1302
|
* @param {string} projectId project id
|
1154
1303
|
* @param {ClearAccessLogRuleHitCountsDto} deleteAclRuleCountRequestBody clear access log rule hit counts dto
|
1155
1304
|
* @param {string} [enterpriseProjectId] 企业项目id,用户支持企业项目后,由企业项目生成的id。
|
1156
|
-
* @param {string} [fwInstanceId] 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id
|
1305
|
+
* @param {string} [fwInstanceId] 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用[查询防火墙实例接口](ListFirewallDetail.xml),默认情况下,fw_instance_Id为空时,返回账号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
|
1157
1306
|
* @param {*} [options] Override http request option.
|
1158
1307
|
* @throws {RequiredError}
|
1159
1308
|
*/
|
@@ -1171,7 +1320,7 @@ class CfwClient {
|
|
1171
1320
|
* @summary 获取规则击中次数
|
1172
1321
|
* @param {string} projectId 租户项目id
|
1173
1322
|
* @param {string} [enterpriseProjectId] 企业项目id,用户支持企业项目后,由企业项目生成的id。
|
1174
|
-
* @param {string} [fwInstanceId] 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id
|
1323
|
+
* @param {string} [fwInstanceId] 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用[查询防火墙实例接口](ListFirewallDetail.xml),默认情况下,fw_instance_Id为空时,返回账号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
|
1175
1324
|
* @param {ListRuleHitCountDto} [listRuleHitCountRequestBody] 获取规则击中次数DTO
|
1176
1325
|
* @param {*} [options] Override http request option.
|
1177
1326
|
* @throws {RequiredError}
|
@@ -1189,19 +1338,18 @@ class CfwClient {
|
|
1189
1338
|
*
|
1190
1339
|
* @summary 查询防护规则
|
1191
1340
|
* @param {string} projectId 租户项目id
|
1192
|
-
* @param {string} objectId 防护对象id,是创建云防火墙后用于区分互联网边界防护和VPC边界防护的标志id
|
1341
|
+
* @param {string} objectId 防护对象id,是创建云防火墙后用于区分互联网边界防护和VPC边界防护的标志id,可通过调用[查询防火墙实例接口](ListFirewallDetail.xml),注意type为0的为互联网边界防护对象id,type为1的为VPC边界防护对象id。
|
1193
1342
|
* @param {number} limit 每页显示个数,范围为1-1024
|
1194
1343
|
* @param {number} offset 偏移量:指定返回记录的开始位置,必须为数字,取值范围为大于或等于0,默认0
|
1195
1344
|
* @param {0 | 1 | 2} [type] 规则Type0:互联网规则,1:vpc规则, 2:nat规则
|
1196
|
-
* @param {6 | 17 | 1 | 58} [protocol] 协议类型:TCP为6, UDP为17,ICMP为1,ICMPV6为58,ANY为-1
|
1197
1345
|
* @param {string} [ip] ip地址
|
1198
1346
|
* @param {string} [name] 名称
|
1199
1347
|
* @param {number} [direction] 方向0:外到内1:内到外
|
1200
1348
|
* @param {0 | 1} [status] 规则下发状态 0:禁用,1:启用
|
1201
1349
|
* @param {0 | 1} [actionType] 动作0:permit,1:deny
|
1202
|
-
* @param {0 | 1 | 2} [addressType] 地址类型0 ipv4
|
1350
|
+
* @param {0 | 1 | 2} [addressType] 地址类型0 ipv4
|
1203
1351
|
* @param {string} [enterpriseProjectId] 企业项目id,用户支持企业项目后,由企业项目生成的id。
|
1204
|
-
* @param {string} [fwInstanceId] 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id
|
1352
|
+
* @param {string} [fwInstanceId] 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用[查询防火墙实例接口](ListFirewallDetail.xml),默认情况下,fw_instance_Id为空时,返回账号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
|
1205
1353
|
* @param {string} [tagsId] 标签id
|
1206
1354
|
* @param {string} [source] 源地址
|
1207
1355
|
* @param {string} [destination] 目的地址
|
@@ -1223,7 +1371,7 @@ class CfwClient {
|
|
1223
1371
|
*
|
1224
1372
|
* @summary 查询规则标签
|
1225
1373
|
* @param {string} projectId 租户项目id
|
1226
|
-
* @param {string} fwInstanceId 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id
|
1374
|
+
* @param {string} fwInstanceId 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用[查询防火墙实例接口](ListFirewallDetail.xml),默认情况下,fw_instance_Id为空时,返回账号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
|
1227
1375
|
* @param {number} offset 偏移量:指定返回记录的开始位置,必须为数字,取值范围为大于或等于0,默认0
|
1228
1376
|
* @param {number} limit 每页显示个数,范围为1-1024
|
1229
1377
|
* @param {string} [enterpriseProjectId] 企业项目id,用户支持企业项目后,由企业项目生成的id。
|
@@ -1246,7 +1394,7 @@ class CfwClient {
|
|
1246
1394
|
* @param {string} aclRuleId 规则Id
|
1247
1395
|
* @param {UpdateRuleAclDto} updateRuleAclUsingPUTRequestBody 更新规则请求体
|
1248
1396
|
* @param {string} [enterpriseProjectId] 企业项目id,用户支持企业项目后,由企业项目生成的id。
|
1249
|
-
* @param {string} [fwInstanceId] 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id
|
1397
|
+
* @param {string} [fwInstanceId] 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用[查询防火墙实例接口](ListFirewallDetail.xml),默认情况下,fw_instance_Id为空时,返回账号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
|
1250
1398
|
* @param {*} [options] Override http request option.
|
1251
1399
|
* @throws {RequiredError}
|
1252
1400
|
*/
|
@@ -1266,7 +1414,7 @@ class CfwClient {
|
|
1266
1414
|
* @param {string} aclRuleId 规则id
|
1267
1415
|
* @param {OrderRuleAclDto} listRuleAclUsingPUTRequestBody 规则排序请求体
|
1268
1416
|
* @param {string} [enterpriseProjectId] 企业项目id,用户支持企业项目后,由企业项目生成的id。
|
1269
|
-
* @param {string} [fwInstanceId] 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id
|
1417
|
+
* @param {string} [fwInstanceId] 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用[查询防火墙实例接口](ListFirewallDetail.xml)获得,默认情况下,fw_instance_Id为空时,返回账号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
|
1270
1418
|
* @param {*} [options] Override http request option.
|
1271
1419
|
* @throws {RequiredError}
|
1272
1420
|
*/
|
@@ -1285,7 +1433,7 @@ class CfwClient {
|
|
1285
1433
|
* @param {string} projectId 租户项目ID
|
1286
1434
|
* @param {EipOperateProtectReq} changeProtectEipRequestBody 开启关闭EIP请求体
|
1287
1435
|
* @param {string} [enterpriseProjectId] 企业项目id,用户支持企业项目后,由企业项目生成的id。
|
1288
|
-
* @param {string} [fwInstanceId] 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id
|
1436
|
+
* @param {string} [fwInstanceId] 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用[查询防火墙实例接口](ListFirewallDetail.xml),默认情况下,fw_instance_Id为空时,返回账号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
|
1289
1437
|
* @param {*} [options] Override http request option.
|
1290
1438
|
* @throws {RequiredError}
|
1291
1439
|
*/
|
@@ -1302,9 +1450,9 @@ class CfwClient {
|
|
1302
1450
|
*
|
1303
1451
|
* @summary 查询Eip个数
|
1304
1452
|
* @param {string} projectId 租户项目ID
|
1305
|
-
* @param {string} objectId 防护对象id,是创建云防火墙后用于区分互联网边界防护和VPC边界防护的标志id
|
1453
|
+
* @param {string} objectId 防护对象id,是创建云防火墙后用于区分互联网边界防护和VPC边界防护的标志id,可通过调用[查询防火墙实例接口](ListFirewallDetail.xml),注意type为0的为互联网边界防护对象id,type为1的为VPC边界防护对象id。
|
1306
1454
|
* @param {string} [enterpriseProjectId] 企业项目id,用户支持企业项目后,由企业项目生成的id。
|
1307
|
-
* @param {string} [fwInstanceId] 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id
|
1455
|
+
* @param {string} [fwInstanceId] 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用[查询防火墙实例接口](ListFirewallDetail.xml),默认情况下,fw_instance_Id为空时,返回账号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
|
1308
1456
|
* @param {*} [options] Override http request option.
|
1309
1457
|
* @throws {RequiredError}
|
1310
1458
|
*/
|
@@ -1321,7 +1469,7 @@ class CfwClient {
|
|
1321
1469
|
*
|
1322
1470
|
* @summary 弹性IP列表查询
|
1323
1471
|
* @param {string} projectId 租户项目ID
|
1324
|
-
* @param {string} objectId 防护对象id,是创建云防火墙后用于区分互联网边界防护和VPC边界防护的标志id
|
1472
|
+
* @param {string} objectId 防护对象id,是创建云防火墙后用于区分互联网边界防护和VPC边界防护的标志id,可通过调用[查询防火墙实例接口](ListFirewallDetail.xml),注意type为0的为互联网边界防护对象id,type为1的为VPC边界防护对象id。
|
1325
1473
|
* @param {number} limit 每页显示个数,范围为1-1024
|
1326
1474
|
* @param {number} offset 偏移量:指定返回记录的开始位置,必须为数字,取值范围为大于或等于0,默认0
|
1327
1475
|
* @param {string} [keyWord] 弹性公网ID/弹性公网IP
|
@@ -1330,7 +1478,7 @@ class CfwClient {
|
|
1330
1478
|
* @param {string} [enterpriseProjectId] 企业项目id,用户支持企业项目后,由企业项目生成的id。
|
1331
1479
|
* @param {string} [deviceKey] 设备键
|
1332
1480
|
* @param {number} [addressType] 地址类型0 ipv4,1 ipv6
|
1333
|
-
* @param {string} [fwInstanceId] 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id
|
1481
|
+
* @param {string} [fwInstanceId] 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用[查询防火墙实例接口](ListFirewallDetail.xml),默认情况下,fw_instance_Id为空时,返回账号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
|
1334
1482
|
* @param {string} [fwKeyWord] 所绑定防火墙id防火墙名称
|
1335
1483
|
* @param {string} [epsId] 弹性公网ip的企业项目id
|
1336
1484
|
* @param {string} [tags] 标签列表信息
|
@@ -1352,7 +1500,7 @@ class CfwClient {
|
|
1352
1500
|
* @param {string} projectId 租户项目id
|
1353
1501
|
* @param {IpsProtectDTO} changeIpsProtectModeUsingPOSTRequestBody ChangeIpsProtectModeUsingPOSTRequestBody
|
1354
1502
|
* @param {string} [enterpriseProjectId] 企业项目id,用户支持企业项目后,由企业项目生成的id。
|
1355
|
-
* @param {string} [fwInstanceId] 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id
|
1503
|
+
* @param {string} [fwInstanceId] 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用[查询防火墙实例接口](ListFirewallDetail.xml),默认情况下,fw_instance_Id为空时,返回账号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
|
1356
1504
|
* @param {*} [options] Override http request option.
|
1357
1505
|
* @throws {RequiredError}
|
1358
1506
|
*/
|
@@ -1371,7 +1519,7 @@ class CfwClient {
|
|
1371
1519
|
* @param {string} projectId project_id
|
1372
1520
|
* @param {IpsSwitchDTO} changeIpsSwitchUsingPOSTRequestBody ChangeIpsSwitchUsingPOSTRequestBody
|
1373
1521
|
* @param {string} [enterpriseProjectId] 企业项目id,用户支持企业项目后,由企业项目生成的id。
|
1374
|
-
* @param {string} [fwInstanceId] 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id
|
1522
|
+
* @param {string} [fwInstanceId] 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用[查询防火墙实例接口](ListFirewallDetail.xml),默认情况下,fw_instance_Id为空时,返回账号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
|
1375
1523
|
* @param {string} [xLanguage] 语言头部,默认为zh-cn,如需使用英文,请选择en-us
|
1376
1524
|
* @param {*} [options] Override http request option.
|
1377
1525
|
* @throws {RequiredError}
|
@@ -1389,9 +1537,9 @@ class CfwClient {
|
|
1389
1537
|
*
|
1390
1538
|
* @summary 查询防护模式
|
1391
1539
|
* @param {string} projectId 租户项目id
|
1392
|
-
* @param {string} objectId 防护对象id,是创建云防火墙后用于区分互联网边界防护和VPC边界防护的标志id
|
1540
|
+
* @param {string} objectId 防护对象id,是创建云防火墙后用于区分互联网边界防护和VPC边界防护的标志id,可通过调用[查询防火墙实例接口](ListFirewallDetail.xml),注意type为0的为互联网边界防护对象id,type为1的为VPC边界防护对象id。
|
1393
1541
|
* @param {string} [enterpriseProjectId] 企业项目id,用户支持企业项目后,由企业项目生成的id。
|
1394
|
-
* @param {string} [fwInstanceId] 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id
|
1542
|
+
* @param {string} [fwInstanceId] 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用[查询防火墙实例接口](ListFirewallDetail.xml),默认情况下,fw_instance_Id为空时,返回账号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
|
1395
1543
|
* @param {*} [options] Override http request option.
|
1396
1544
|
* @throws {RequiredError}
|
1397
1545
|
*/
|
@@ -1408,9 +1556,9 @@ class CfwClient {
|
|
1408
1556
|
*
|
1409
1557
|
* @summary 查询IPS特性开关状态
|
1410
1558
|
* @param {string} projectId 租户项目ID
|
1411
|
-
* @param {string} objectId 防护对象id,是创建云防火墙后用于区分互联网边界防护和VPC边界防护的标志id
|
1559
|
+
* @param {string} objectId 防护对象id,是创建云防火墙后用于区分互联网边界防护和VPC边界防护的标志id,可通过调用[查询防火墙实例接口](ListFirewallDetail.xml),注意type为0的为互联网边界防护对象id,type为1的为VPC边界防护对象id。
|
1412
1560
|
* @param {string} [enterpriseProjectId] 企业项目id,用户支持企业项目后,由企业项目生成的id。
|
1413
|
-
* @param {string} [fwInstanceId] 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id
|
1561
|
+
* @param {string} [fwInstanceId] 防火墙实例id,创建云防火墙后用于标志防火墙由系统自动生成的标志id,可通过调用[查询防火墙实例接口](ListFirewallDetail.xml),默认情况下,fw_instance_Id为空时,返回账号下第一个墙的信息;fw_instance_Id非空时,返回与fw_instance_Id对应墙的信息。
|
1414
1562
|
* @param {*} [options] Override http request option.
|
1415
1563
|
* @throws {RequiredError}
|
1416
1564
|
*/
|
@@ -1973,6 +2121,63 @@ const ParamCreater = function () {
|
|
1973
2121
|
options.headers = localVarHeaderParameter;
|
1974
2122
|
return options;
|
1975
2123
|
},
|
2124
|
+
/**
|
2125
|
+
* 取消抓包任务
|
2126
|
+
*
|
2127
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
2128
|
+
*/
|
2129
|
+
cancelCaptureTask(cancelCaptureTaskRequest) {
|
2130
|
+
const options = {
|
2131
|
+
method: "POST",
|
2132
|
+
url: "/v1/{project_id}/capture-task/stop",
|
2133
|
+
contentType: "application/json",
|
2134
|
+
queryParams: {},
|
2135
|
+
pathParams: {},
|
2136
|
+
headers: {},
|
2137
|
+
data: {}
|
2138
|
+
};
|
2139
|
+
const localVarHeaderParameter = {};
|
2140
|
+
const localVarQueryParameter = {};
|
2141
|
+
let body;
|
2142
|
+
let projectId;
|
2143
|
+
let fwInstanceId;
|
2144
|
+
let enterpriseProjectId;
|
2145
|
+
if (cancelCaptureTaskRequest !== null && cancelCaptureTaskRequest !== undefined) {
|
2146
|
+
if (cancelCaptureTaskRequest instanceof CancelCaptureTaskRequest_1.CancelCaptureTaskRequest) {
|
2147
|
+
projectId = cancelCaptureTaskRequest.projectId;
|
2148
|
+
fwInstanceId = cancelCaptureTaskRequest.fwInstanceId;
|
2149
|
+
body = cancelCaptureTaskRequest.body;
|
2150
|
+
enterpriseProjectId = cancelCaptureTaskRequest.enterpriseProjectId;
|
2151
|
+
}
|
2152
|
+
else {
|
2153
|
+
projectId = cancelCaptureTaskRequest['project_id'];
|
2154
|
+
fwInstanceId = cancelCaptureTaskRequest['fw_instance_id'];
|
2155
|
+
body = cancelCaptureTaskRequest['body'];
|
2156
|
+
enterpriseProjectId = cancelCaptureTaskRequest['enterprise_project_id'];
|
2157
|
+
}
|
2158
|
+
}
|
2159
|
+
if (projectId === null || projectId === undefined) {
|
2160
|
+
throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling cancelCaptureTask.');
|
2161
|
+
}
|
2162
|
+
if (fwInstanceId === null || fwInstanceId === undefined) {
|
2163
|
+
throw new RequiredError('fwInstanceId', 'Required parameter fwInstanceId was null or undefined when calling cancelCaptureTask.');
|
2164
|
+
}
|
2165
|
+
if (fwInstanceId !== null && fwInstanceId !== undefined) {
|
2166
|
+
localVarQueryParameter['fw_instance_id'] = fwInstanceId;
|
2167
|
+
}
|
2168
|
+
if (body === null || body === undefined) {
|
2169
|
+
throw new RequiredError('body', 'Required parameter body was null or undefined when calling body.');
|
2170
|
+
}
|
2171
|
+
if (enterpriseProjectId !== null && enterpriseProjectId !== undefined) {
|
2172
|
+
localVarQueryParameter['enterprise_project_id'] = enterpriseProjectId;
|
2173
|
+
}
|
2174
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
2175
|
+
options.data = body !== undefined ? body : {};
|
2176
|
+
options.queryParams = localVarQueryParameter;
|
2177
|
+
options.pathParams = { 'project_id': projectId, };
|
2178
|
+
options.headers = localVarHeaderParameter;
|
2179
|
+
return options;
|
2180
|
+
},
|
1976
2181
|
/**
|
1977
2182
|
* 东西向防护资源防护开启/关闭
|
1978
2183
|
*
|
@@ -2027,6 +2232,63 @@ const ParamCreater = function () {
|
|
2027
2232
|
options.headers = localVarHeaderParameter;
|
2028
2233
|
return options;
|
2029
2234
|
},
|
2235
|
+
/**
|
2236
|
+
* 创建抓包任务
|
2237
|
+
*
|
2238
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
2239
|
+
*/
|
2240
|
+
createCaptureTask(createCaptureTaskRequest) {
|
2241
|
+
const options = {
|
2242
|
+
method: "POST",
|
2243
|
+
url: "/v1/{project_id}/capture-task",
|
2244
|
+
contentType: "application/json",
|
2245
|
+
queryParams: {},
|
2246
|
+
pathParams: {},
|
2247
|
+
headers: {},
|
2248
|
+
data: {}
|
2249
|
+
};
|
2250
|
+
const localVarHeaderParameter = {};
|
2251
|
+
const localVarQueryParameter = {};
|
2252
|
+
let body;
|
2253
|
+
let projectId;
|
2254
|
+
let fwInstanceId;
|
2255
|
+
let enterpriseProjectId;
|
2256
|
+
if (createCaptureTaskRequest !== null && createCaptureTaskRequest !== undefined) {
|
2257
|
+
if (createCaptureTaskRequest instanceof CreateCaptureTaskRequest_1.CreateCaptureTaskRequest) {
|
2258
|
+
projectId = createCaptureTaskRequest.projectId;
|
2259
|
+
fwInstanceId = createCaptureTaskRequest.fwInstanceId;
|
2260
|
+
body = createCaptureTaskRequest.body;
|
2261
|
+
enterpriseProjectId = createCaptureTaskRequest.enterpriseProjectId;
|
2262
|
+
}
|
2263
|
+
else {
|
2264
|
+
projectId = createCaptureTaskRequest['project_id'];
|
2265
|
+
fwInstanceId = createCaptureTaskRequest['fw_instance_id'];
|
2266
|
+
body = createCaptureTaskRequest['body'];
|
2267
|
+
enterpriseProjectId = createCaptureTaskRequest['enterprise_project_id'];
|
2268
|
+
}
|
2269
|
+
}
|
2270
|
+
if (projectId === null || projectId === undefined) {
|
2271
|
+
throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling createCaptureTask.');
|
2272
|
+
}
|
2273
|
+
if (fwInstanceId === null || fwInstanceId === undefined) {
|
2274
|
+
throw new RequiredError('fwInstanceId', 'Required parameter fwInstanceId was null or undefined when calling createCaptureTask.');
|
2275
|
+
}
|
2276
|
+
if (fwInstanceId !== null && fwInstanceId !== undefined) {
|
2277
|
+
localVarQueryParameter['fw_instance_id'] = fwInstanceId;
|
2278
|
+
}
|
2279
|
+
if (body === null || body === undefined) {
|
2280
|
+
throw new RequiredError('body', 'Required parameter body was null or undefined when calling body.');
|
2281
|
+
}
|
2282
|
+
if (enterpriseProjectId !== null && enterpriseProjectId !== undefined) {
|
2283
|
+
localVarQueryParameter['enterprise_project_id'] = enterpriseProjectId;
|
2284
|
+
}
|
2285
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
2286
|
+
options.data = body !== undefined ? body : {};
|
2287
|
+
options.queryParams = localVarQueryParameter;
|
2288
|
+
options.pathParams = { 'project_id': projectId, };
|
2289
|
+
options.headers = localVarHeaderParameter;
|
2290
|
+
return options;
|
2291
|
+
},
|
2030
2292
|
/**
|
2031
2293
|
* 创建东西向防火墙
|
2032
2294
|
*
|
@@ -2103,19 +2365,16 @@ const ParamCreater = function () {
|
|
2103
2365
|
let body;
|
2104
2366
|
let projectId;
|
2105
2367
|
let xClientToken;
|
2106
|
-
let xTraceId;
|
2107
2368
|
if (createFirewallRequest !== null && createFirewallRequest !== undefined) {
|
2108
2369
|
if (createFirewallRequest instanceof CreateFirewallRequest_1.CreateFirewallRequest) {
|
2109
2370
|
projectId = createFirewallRequest.projectId;
|
2110
2371
|
body = createFirewallRequest.body;
|
2111
2372
|
xClientToken = createFirewallRequest.xClientToken;
|
2112
|
-
xTraceId = createFirewallRequest.xTraceId;
|
2113
2373
|
}
|
2114
2374
|
else {
|
2115
2375
|
projectId = createFirewallRequest['project_id'];
|
2116
2376
|
body = createFirewallRequest['body'];
|
2117
2377
|
xClientToken = createFirewallRequest['X-Client-Token'];
|
2118
|
-
xTraceId = createFirewallRequest['X-Trace-Id'];
|
2119
2378
|
}
|
2120
2379
|
}
|
2121
2380
|
if (projectId === null || projectId === undefined) {
|
@@ -2127,15 +2386,55 @@ const ParamCreater = function () {
|
|
2127
2386
|
if (xClientToken !== undefined && xClientToken !== null) {
|
2128
2387
|
localVarHeaderParameter['X-Client-Token'] = String(xClientToken);
|
2129
2388
|
}
|
2130
|
-
if (xTraceId !== undefined && xTraceId !== null) {
|
2131
|
-
localVarHeaderParameter['X-Trace-Id'] = String(xTraceId);
|
2132
|
-
}
|
2133
2389
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
2134
2390
|
options.data = body !== undefined ? body : {};
|
2135
2391
|
options.pathParams = { 'project_id': projectId, };
|
2136
2392
|
options.headers = localVarHeaderParameter;
|
2137
2393
|
return options;
|
2138
2394
|
},
|
2395
|
+
/**
|
2396
|
+
* 创建标签
|
2397
|
+
*
|
2398
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
2399
|
+
*/
|
2400
|
+
createTag(createTagRequest) {
|
2401
|
+
const options = {
|
2402
|
+
method: "POST",
|
2403
|
+
url: "/v2/{project_id}/cfw-cfw/{fw_instance_id}/tags/create",
|
2404
|
+
contentType: "application/json",
|
2405
|
+
queryParams: {},
|
2406
|
+
pathParams: {},
|
2407
|
+
headers: {},
|
2408
|
+
data: {}
|
2409
|
+
};
|
2410
|
+
const localVarHeaderParameter = {};
|
2411
|
+
let body;
|
2412
|
+
let projectId;
|
2413
|
+
let fwInstanceId;
|
2414
|
+
if (createTagRequest !== null && createTagRequest !== undefined) {
|
2415
|
+
if (createTagRequest instanceof CreateTagRequest_1.CreateTagRequest) {
|
2416
|
+
projectId = createTagRequest.projectId;
|
2417
|
+
fwInstanceId = createTagRequest.fwInstanceId;
|
2418
|
+
body = createTagRequest.body;
|
2419
|
+
}
|
2420
|
+
else {
|
2421
|
+
projectId = createTagRequest['project_id'];
|
2422
|
+
fwInstanceId = createTagRequest['fw_instance_id'];
|
2423
|
+
body = createTagRequest['body'];
|
2424
|
+
}
|
2425
|
+
}
|
2426
|
+
if (projectId === null || projectId === undefined) {
|
2427
|
+
throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling createTag.');
|
2428
|
+
}
|
2429
|
+
if (fwInstanceId === null || fwInstanceId === undefined) {
|
2430
|
+
throw new RequiredError('fwInstanceId', 'Required parameter fwInstanceId was null or undefined when calling createTag.');
|
2431
|
+
}
|
2432
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
2433
|
+
options.data = body !== undefined ? body : {};
|
2434
|
+
options.pathParams = { 'project_id': projectId, 'fw_instance_id': fwInstanceId, };
|
2435
|
+
options.headers = localVarHeaderParameter;
|
2436
|
+
return options;
|
2437
|
+
},
|
2139
2438
|
/**
|
2140
2439
|
* 删除地址组成员
|
2141
2440
|
*
|
@@ -2289,6 +2588,63 @@ const ParamCreater = function () {
|
|
2289
2588
|
options.headers = localVarHeaderParameter;
|
2290
2589
|
return options;
|
2291
2590
|
},
|
2591
|
+
/**
|
2592
|
+
* 删除抓包任务
|
2593
|
+
*
|
2594
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
2595
|
+
*/
|
2596
|
+
deleteCaptureTask(deleteCaptureTaskRequest) {
|
2597
|
+
const options = {
|
2598
|
+
method: "POST",
|
2599
|
+
url: "/v1/{project_id}/capture-task/batch-delete",
|
2600
|
+
contentType: "application/json",
|
2601
|
+
queryParams: {},
|
2602
|
+
pathParams: {},
|
2603
|
+
headers: {},
|
2604
|
+
data: {}
|
2605
|
+
};
|
2606
|
+
const localVarHeaderParameter = {};
|
2607
|
+
const localVarQueryParameter = {};
|
2608
|
+
let body;
|
2609
|
+
let projectId;
|
2610
|
+
let fwInstanceId;
|
2611
|
+
let enterpriseProjectId;
|
2612
|
+
if (deleteCaptureTaskRequest !== null && deleteCaptureTaskRequest !== undefined) {
|
2613
|
+
if (deleteCaptureTaskRequest instanceof DeleteCaptureTaskRequest_1.DeleteCaptureTaskRequest) {
|
2614
|
+
projectId = deleteCaptureTaskRequest.projectId;
|
2615
|
+
fwInstanceId = deleteCaptureTaskRequest.fwInstanceId;
|
2616
|
+
body = deleteCaptureTaskRequest.body;
|
2617
|
+
enterpriseProjectId = deleteCaptureTaskRequest.enterpriseProjectId;
|
2618
|
+
}
|
2619
|
+
else {
|
2620
|
+
projectId = deleteCaptureTaskRequest['project_id'];
|
2621
|
+
fwInstanceId = deleteCaptureTaskRequest['fw_instance_id'];
|
2622
|
+
body = deleteCaptureTaskRequest['body'];
|
2623
|
+
enterpriseProjectId = deleteCaptureTaskRequest['enterprise_project_id'];
|
2624
|
+
}
|
2625
|
+
}
|
2626
|
+
if (projectId === null || projectId === undefined) {
|
2627
|
+
throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling deleteCaptureTask.');
|
2628
|
+
}
|
2629
|
+
if (fwInstanceId === null || fwInstanceId === undefined) {
|
2630
|
+
throw new RequiredError('fwInstanceId', 'Required parameter fwInstanceId was null or undefined when calling deleteCaptureTask.');
|
2631
|
+
}
|
2632
|
+
if (fwInstanceId !== null && fwInstanceId !== undefined) {
|
2633
|
+
localVarQueryParameter['fw_instance_id'] = fwInstanceId;
|
2634
|
+
}
|
2635
|
+
if (body === null || body === undefined) {
|
2636
|
+
throw new RequiredError('body', 'Required parameter body was null or undefined when calling body.');
|
2637
|
+
}
|
2638
|
+
if (enterpriseProjectId !== null && enterpriseProjectId !== undefined) {
|
2639
|
+
localVarQueryParameter['enterprise_project_id'] = enterpriseProjectId;
|
2640
|
+
}
|
2641
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
2642
|
+
options.data = body !== undefined ? body : {};
|
2643
|
+
options.queryParams = localVarQueryParameter;
|
2644
|
+
options.pathParams = { 'project_id': projectId, };
|
2645
|
+
options.headers = localVarHeaderParameter;
|
2646
|
+
return options;
|
2647
|
+
},
|
2292
2648
|
/**
|
2293
2649
|
* 删除域名组
|
2294
2650
|
*
|
@@ -2533,6 +2889,49 @@ const ParamCreater = function () {
|
|
2533
2889
|
options.headers = localVarHeaderParameter;
|
2534
2890
|
return options;
|
2535
2891
|
},
|
2892
|
+
/**
|
2893
|
+
* 删除标签
|
2894
|
+
*
|
2895
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
2896
|
+
*/
|
2897
|
+
deleteTag(deleteTagRequest) {
|
2898
|
+
const options = {
|
2899
|
+
method: "DELETE",
|
2900
|
+
url: "/v2/{project_id}/cfw-cfw/{fw_instance_id}/tags/delete",
|
2901
|
+
contentType: "application/json",
|
2902
|
+
queryParams: {},
|
2903
|
+
pathParams: {},
|
2904
|
+
headers: {},
|
2905
|
+
data: {}
|
2906
|
+
};
|
2907
|
+
const localVarHeaderParameter = {};
|
2908
|
+
let body;
|
2909
|
+
let projectId;
|
2910
|
+
let fwInstanceId;
|
2911
|
+
if (deleteTagRequest !== null && deleteTagRequest !== undefined) {
|
2912
|
+
if (deleteTagRequest instanceof DeleteTagRequest_1.DeleteTagRequest) {
|
2913
|
+
projectId = deleteTagRequest.projectId;
|
2914
|
+
fwInstanceId = deleteTagRequest.fwInstanceId;
|
2915
|
+
body = deleteTagRequest.body;
|
2916
|
+
}
|
2917
|
+
else {
|
2918
|
+
projectId = deleteTagRequest['project_id'];
|
2919
|
+
fwInstanceId = deleteTagRequest['fw_instance_id'];
|
2920
|
+
body = deleteTagRequest['body'];
|
2921
|
+
}
|
2922
|
+
}
|
2923
|
+
if (projectId === null || projectId === undefined) {
|
2924
|
+
throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling deleteTag.');
|
2925
|
+
}
|
2926
|
+
if (fwInstanceId === null || fwInstanceId === undefined) {
|
2927
|
+
throw new RequiredError('fwInstanceId', 'Required parameter fwInstanceId was null or undefined when calling deleteTag.');
|
2928
|
+
}
|
2929
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
2930
|
+
options.data = body !== undefined ? body : {};
|
2931
|
+
options.pathParams = { 'project_id': projectId, 'fw_instance_id': fwInstanceId, };
|
2932
|
+
options.headers = localVarHeaderParameter;
|
2933
|
+
return options;
|
2934
|
+
},
|
2536
2935
|
/**
|
2537
2936
|
* 查询访问控制日志
|
2538
2937
|
*
|
@@ -2571,6 +2970,10 @@ const ParamCreater = function () {
|
|
2571
2970
|
let action;
|
2572
2971
|
let srcRegionName;
|
2573
2972
|
let dstRegionName;
|
2973
|
+
let srcProvinceName;
|
2974
|
+
let dstProvinceName;
|
2975
|
+
let srcCityName;
|
2976
|
+
let dstCityName;
|
2574
2977
|
if (listAccessControlLogsRequest !== null && listAccessControlLogsRequest !== undefined) {
|
2575
2978
|
if (listAccessControlLogsRequest instanceof ListAccessControlLogsRequest_1.ListAccessControlLogsRequest) {
|
2576
2979
|
projectId = listAccessControlLogsRequest.projectId;
|
@@ -2595,6 +2998,10 @@ const ParamCreater = function () {
|
|
2595
2998
|
action = listAccessControlLogsRequest.action;
|
2596
2999
|
srcRegionName = listAccessControlLogsRequest.srcRegionName;
|
2597
3000
|
dstRegionName = listAccessControlLogsRequest.dstRegionName;
|
3001
|
+
srcProvinceName = listAccessControlLogsRequest.srcProvinceName;
|
3002
|
+
dstProvinceName = listAccessControlLogsRequest.dstProvinceName;
|
3003
|
+
srcCityName = listAccessControlLogsRequest.srcCityName;
|
3004
|
+
dstCityName = listAccessControlLogsRequest.dstCityName;
|
2598
3005
|
}
|
2599
3006
|
else {
|
2600
3007
|
projectId = listAccessControlLogsRequest['project_id'];
|
@@ -2619,6 +3026,10 @@ const ParamCreater = function () {
|
|
2619
3026
|
action = listAccessControlLogsRequest['action'];
|
2620
3027
|
srcRegionName = listAccessControlLogsRequest['src_region_name'];
|
2621
3028
|
dstRegionName = listAccessControlLogsRequest['dst_region_name'];
|
3029
|
+
srcProvinceName = listAccessControlLogsRequest['src_province_name'];
|
3030
|
+
dstProvinceName = listAccessControlLogsRequest['dst_province_name'];
|
3031
|
+
srcCityName = listAccessControlLogsRequest['src_city_name'];
|
3032
|
+
dstCityName = listAccessControlLogsRequest['dst_city_name'];
|
2622
3033
|
}
|
2623
3034
|
}
|
2624
3035
|
if (projectId === null || projectId === undefined) {
|
@@ -2699,6 +3110,18 @@ const ParamCreater = function () {
|
|
2699
3110
|
if (dstRegionName !== null && dstRegionName !== undefined) {
|
2700
3111
|
localVarQueryParameter['dst_region_name'] = dstRegionName;
|
2701
3112
|
}
|
3113
|
+
if (srcProvinceName !== null && srcProvinceName !== undefined) {
|
3114
|
+
localVarQueryParameter['src_province_name'] = srcProvinceName;
|
3115
|
+
}
|
3116
|
+
if (dstProvinceName !== null && dstProvinceName !== undefined) {
|
3117
|
+
localVarQueryParameter['dst_province_name'] = dstProvinceName;
|
3118
|
+
}
|
3119
|
+
if (srcCityName !== null && srcCityName !== undefined) {
|
3120
|
+
localVarQueryParameter['src_city_name'] = srcCityName;
|
3121
|
+
}
|
3122
|
+
if (dstCityName !== null && dstCityName !== undefined) {
|
3123
|
+
localVarQueryParameter['dst_city_name'] = dstCityName;
|
3124
|
+
}
|
2702
3125
|
options.queryParams = localVarQueryParameter;
|
2703
3126
|
options.pathParams = { 'project_id': projectId, };
|
2704
3127
|
options.headers = localVarHeaderParameter;
|
@@ -2988,13 +3411,16 @@ const ParamCreater = function () {
|
|
2988
3411
|
let attackType;
|
2989
3412
|
let attackRule;
|
2990
3413
|
let level;
|
2991
|
-
let source;
|
2992
3414
|
let enterpriseProjectId;
|
2993
3415
|
let dstHost;
|
2994
3416
|
let logType;
|
2995
3417
|
let attackRuleId;
|
2996
3418
|
let srcRegionName;
|
2997
3419
|
let dstRegionName;
|
3420
|
+
let srcProvinceName;
|
3421
|
+
let dstProvinceName;
|
3422
|
+
let srcCityName;
|
3423
|
+
let dstCityName;
|
2998
3424
|
if (listAttackLogsRequest !== null && listAttackLogsRequest !== undefined) {
|
2999
3425
|
if (listAttackLogsRequest instanceof ListAttackLogsRequest_1.ListAttackLogsRequest) {
|
3000
3426
|
projectId = listAttackLogsRequest.projectId;
|
@@ -3016,13 +3442,16 @@ const ParamCreater = function () {
|
|
3016
3442
|
attackType = listAttackLogsRequest.attackType;
|
3017
3443
|
attackRule = listAttackLogsRequest.attackRule;
|
3018
3444
|
level = listAttackLogsRequest.level;
|
3019
|
-
source = listAttackLogsRequest.source;
|
3020
3445
|
enterpriseProjectId = listAttackLogsRequest.enterpriseProjectId;
|
3021
3446
|
dstHost = listAttackLogsRequest.dstHost;
|
3022
3447
|
logType = listAttackLogsRequest.logType;
|
3023
3448
|
attackRuleId = listAttackLogsRequest.attackRuleId;
|
3024
3449
|
srcRegionName = listAttackLogsRequest.srcRegionName;
|
3025
3450
|
dstRegionName = listAttackLogsRequest.dstRegionName;
|
3451
|
+
srcProvinceName = listAttackLogsRequest.srcProvinceName;
|
3452
|
+
dstProvinceName = listAttackLogsRequest.dstProvinceName;
|
3453
|
+
srcCityName = listAttackLogsRequest.srcCityName;
|
3454
|
+
dstCityName = listAttackLogsRequest.dstCityName;
|
3026
3455
|
}
|
3027
3456
|
else {
|
3028
3457
|
projectId = listAttackLogsRequest['project_id'];
|
@@ -3044,13 +3473,16 @@ const ParamCreater = function () {
|
|
3044
3473
|
attackType = listAttackLogsRequest['attack_type'];
|
3045
3474
|
attackRule = listAttackLogsRequest['attack_rule'];
|
3046
3475
|
level = listAttackLogsRequest['level'];
|
3047
|
-
source = listAttackLogsRequest['source'];
|
3048
3476
|
enterpriseProjectId = listAttackLogsRequest['enterprise_project_id'];
|
3049
3477
|
dstHost = listAttackLogsRequest['dst_host'];
|
3050
3478
|
logType = listAttackLogsRequest['log_type'];
|
3051
3479
|
attackRuleId = listAttackLogsRequest['attack_rule_id'];
|
3052
3480
|
srcRegionName = listAttackLogsRequest['src_region_name'];
|
3053
3481
|
dstRegionName = listAttackLogsRequest['dst_region_name'];
|
3482
|
+
srcProvinceName = listAttackLogsRequest['src_province_name'];
|
3483
|
+
dstProvinceName = listAttackLogsRequest['dst_province_name'];
|
3484
|
+
srcCityName = listAttackLogsRequest['src_city_name'];
|
3485
|
+
dstCityName = listAttackLogsRequest['dst_city_name'];
|
3054
3486
|
}
|
3055
3487
|
}
|
3056
3488
|
if (projectId === null || projectId === undefined) {
|
@@ -3122,9 +3554,6 @@ const ParamCreater = function () {
|
|
3122
3554
|
if (level !== null && level !== undefined) {
|
3123
3555
|
localVarQueryParameter['level'] = level;
|
3124
3556
|
}
|
3125
|
-
if (source !== null && source !== undefined) {
|
3126
|
-
localVarQueryParameter['source'] = source;
|
3127
|
-
}
|
3128
3557
|
if (enterpriseProjectId !== null && enterpriseProjectId !== undefined) {
|
3129
3558
|
localVarQueryParameter['enterprise_project_id'] = enterpriseProjectId;
|
3130
3559
|
}
|
@@ -3143,6 +3572,18 @@ const ParamCreater = function () {
|
|
3143
3572
|
if (dstRegionName !== null && dstRegionName !== undefined) {
|
3144
3573
|
localVarQueryParameter['dst_region_name'] = dstRegionName;
|
3145
3574
|
}
|
3575
|
+
if (srcProvinceName !== null && srcProvinceName !== undefined) {
|
3576
|
+
localVarQueryParameter['src_province_name'] = srcProvinceName;
|
3577
|
+
}
|
3578
|
+
if (dstProvinceName !== null && dstProvinceName !== undefined) {
|
3579
|
+
localVarQueryParameter['dst_province_name'] = dstProvinceName;
|
3580
|
+
}
|
3581
|
+
if (srcCityName !== null && srcCityName !== undefined) {
|
3582
|
+
localVarQueryParameter['src_city_name'] = srcCityName;
|
3583
|
+
}
|
3584
|
+
if (dstCityName !== null && dstCityName !== undefined) {
|
3585
|
+
localVarQueryParameter['dst_city_name'] = dstCityName;
|
3586
|
+
}
|
3146
3587
|
options.queryParams = localVarQueryParameter;
|
3147
3588
|
options.pathParams = { 'project_id': projectId, };
|
3148
3589
|
options.headers = localVarHeaderParameter;
|
@@ -3247,6 +3688,138 @@ const ParamCreater = function () {
|
|
3247
3688
|
options.headers = localVarHeaderParameter;
|
3248
3689
|
return options;
|
3249
3690
|
},
|
3691
|
+
/**
|
3692
|
+
* 获取抓包任务结果
|
3693
|
+
*
|
3694
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
3695
|
+
*/
|
3696
|
+
listCaptureResult(listCaptureResultRequest) {
|
3697
|
+
const options = {
|
3698
|
+
method: "GET",
|
3699
|
+
url: "/v1/{project_id}/capture-task/capture-result",
|
3700
|
+
contentType: "application/json",
|
3701
|
+
queryParams: {},
|
3702
|
+
pathParams: {},
|
3703
|
+
headers: {}
|
3704
|
+
};
|
3705
|
+
const localVarHeaderParameter = {};
|
3706
|
+
const localVarQueryParameter = {};
|
3707
|
+
let projectId;
|
3708
|
+
let fwInstanceId;
|
3709
|
+
let taskId;
|
3710
|
+
let type;
|
3711
|
+
let ip;
|
3712
|
+
let enterpriseProjectId;
|
3713
|
+
if (listCaptureResultRequest !== null && listCaptureResultRequest !== undefined) {
|
3714
|
+
if (listCaptureResultRequest instanceof ListCaptureResultRequest_1.ListCaptureResultRequest) {
|
3715
|
+
projectId = listCaptureResultRequest.projectId;
|
3716
|
+
fwInstanceId = listCaptureResultRequest.fwInstanceId;
|
3717
|
+
taskId = listCaptureResultRequest.taskId;
|
3718
|
+
type = listCaptureResultRequest.type;
|
3719
|
+
ip = listCaptureResultRequest.ip;
|
3720
|
+
enterpriseProjectId = listCaptureResultRequest.enterpriseProjectId;
|
3721
|
+
}
|
3722
|
+
else {
|
3723
|
+
projectId = listCaptureResultRequest['project_id'];
|
3724
|
+
fwInstanceId = listCaptureResultRequest['fw_instance_id'];
|
3725
|
+
taskId = listCaptureResultRequest['task_id'];
|
3726
|
+
type = listCaptureResultRequest['type'];
|
3727
|
+
ip = listCaptureResultRequest['ip'];
|
3728
|
+
enterpriseProjectId = listCaptureResultRequest['enterprise_project_id'];
|
3729
|
+
}
|
3730
|
+
}
|
3731
|
+
if (projectId === null || projectId === undefined) {
|
3732
|
+
throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling listCaptureResult.');
|
3733
|
+
}
|
3734
|
+
if (fwInstanceId === null || fwInstanceId === undefined) {
|
3735
|
+
throw new RequiredError('fwInstanceId', 'Required parameter fwInstanceId was null or undefined when calling listCaptureResult.');
|
3736
|
+
}
|
3737
|
+
if (fwInstanceId !== null && fwInstanceId !== undefined) {
|
3738
|
+
localVarQueryParameter['fw_instance_id'] = fwInstanceId;
|
3739
|
+
}
|
3740
|
+
if (taskId === null || taskId === undefined) {
|
3741
|
+
throw new RequiredError('taskId', 'Required parameter taskId was null or undefined when calling listCaptureResult.');
|
3742
|
+
}
|
3743
|
+
if (taskId !== null && taskId !== undefined) {
|
3744
|
+
localVarQueryParameter['task_id'] = taskId;
|
3745
|
+
}
|
3746
|
+
if (type !== null && type !== undefined) {
|
3747
|
+
localVarQueryParameter['type'] = type;
|
3748
|
+
}
|
3749
|
+
if (ip !== null && ip !== undefined) {
|
3750
|
+
localVarQueryParameter['ip'] = ip;
|
3751
|
+
}
|
3752
|
+
if (enterpriseProjectId !== null && enterpriseProjectId !== undefined) {
|
3753
|
+
localVarQueryParameter['enterprise_project_id'] = enterpriseProjectId;
|
3754
|
+
}
|
3755
|
+
options.queryParams = localVarQueryParameter;
|
3756
|
+
options.pathParams = { 'project_id': projectId, };
|
3757
|
+
options.headers = localVarHeaderParameter;
|
3758
|
+
return options;
|
3759
|
+
},
|
3760
|
+
/**
|
3761
|
+
* 查询抓包任务
|
3762
|
+
*
|
3763
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
3764
|
+
*/
|
3765
|
+
listCaptureTask(listCaptureTaskRequest) {
|
3766
|
+
const options = {
|
3767
|
+
method: "GET",
|
3768
|
+
url: "/v1/{project_id}/capture-task",
|
3769
|
+
contentType: "application/json",
|
3770
|
+
queryParams: {},
|
3771
|
+
pathParams: {},
|
3772
|
+
headers: {}
|
3773
|
+
};
|
3774
|
+
const localVarHeaderParameter = {};
|
3775
|
+
const localVarQueryParameter = {};
|
3776
|
+
let projectId;
|
3777
|
+
let limit;
|
3778
|
+
let offset;
|
3779
|
+
let enterpriseProjectId;
|
3780
|
+
let fwInstanceId;
|
3781
|
+
if (listCaptureTaskRequest !== null && listCaptureTaskRequest !== undefined) {
|
3782
|
+
if (listCaptureTaskRequest instanceof ListCaptureTaskRequest_1.ListCaptureTaskRequest) {
|
3783
|
+
projectId = listCaptureTaskRequest.projectId;
|
3784
|
+
limit = listCaptureTaskRequest.limit;
|
3785
|
+
offset = listCaptureTaskRequest.offset;
|
3786
|
+
enterpriseProjectId = listCaptureTaskRequest.enterpriseProjectId;
|
3787
|
+
fwInstanceId = listCaptureTaskRequest.fwInstanceId;
|
3788
|
+
}
|
3789
|
+
else {
|
3790
|
+
projectId = listCaptureTaskRequest['project_id'];
|
3791
|
+
limit = listCaptureTaskRequest['limit'];
|
3792
|
+
offset = listCaptureTaskRequest['offset'];
|
3793
|
+
enterpriseProjectId = listCaptureTaskRequest['enterprise_project_id'];
|
3794
|
+
fwInstanceId = listCaptureTaskRequest['fw_instance_id'];
|
3795
|
+
}
|
3796
|
+
}
|
3797
|
+
if (projectId === null || projectId === undefined) {
|
3798
|
+
throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling listCaptureTask.');
|
3799
|
+
}
|
3800
|
+
if (limit === null || limit === undefined) {
|
3801
|
+
throw new RequiredError('limit', 'Required parameter limit was null or undefined when calling listCaptureTask.');
|
3802
|
+
}
|
3803
|
+
if (limit !== null && limit !== undefined) {
|
3804
|
+
localVarQueryParameter['limit'] = limit;
|
3805
|
+
}
|
3806
|
+
if (offset === null || offset === undefined) {
|
3807
|
+
throw new RequiredError('offset', 'Required parameter offset was null or undefined when calling listCaptureTask.');
|
3808
|
+
}
|
3809
|
+
if (offset !== null && offset !== undefined) {
|
3810
|
+
localVarQueryParameter['offset'] = offset;
|
3811
|
+
}
|
3812
|
+
if (enterpriseProjectId !== null && enterpriseProjectId !== undefined) {
|
3813
|
+
localVarQueryParameter['enterprise_project_id'] = enterpriseProjectId;
|
3814
|
+
}
|
3815
|
+
if (fwInstanceId !== null && fwInstanceId !== undefined) {
|
3816
|
+
localVarQueryParameter['fw_instance_id'] = fwInstanceId;
|
3817
|
+
}
|
3818
|
+
options.queryParams = localVarQueryParameter;
|
3819
|
+
options.pathParams = { 'project_id': projectId, };
|
3820
|
+
options.headers = localVarHeaderParameter;
|
3821
|
+
return options;
|
3822
|
+
},
|
3250
3823
|
/**
|
3251
3824
|
* 查询dns服务器列表
|
3252
3825
|
*
|
@@ -3264,38 +3837,41 @@ const ParamCreater = function () {
|
|
3264
3837
|
const localVarHeaderParameter = {};
|
3265
3838
|
const localVarQueryParameter = {};
|
3266
3839
|
let projectId;
|
3840
|
+
let fwInstanceId;
|
3267
3841
|
let limit;
|
3268
3842
|
let offset;
|
3269
|
-
let fwInstanceId;
|
3270
3843
|
let enterpriseProjectId;
|
3271
3844
|
if (listDnsServersRequest !== null && listDnsServersRequest !== undefined) {
|
3272
3845
|
if (listDnsServersRequest instanceof ListDnsServersRequest_1.ListDnsServersRequest) {
|
3273
3846
|
projectId = listDnsServersRequest.projectId;
|
3847
|
+
fwInstanceId = listDnsServersRequest.fwInstanceId;
|
3274
3848
|
limit = listDnsServersRequest.limit;
|
3275
3849
|
offset = listDnsServersRequest.offset;
|
3276
|
-
fwInstanceId = listDnsServersRequest.fwInstanceId;
|
3277
3850
|
enterpriseProjectId = listDnsServersRequest.enterpriseProjectId;
|
3278
3851
|
}
|
3279
3852
|
else {
|
3280
3853
|
projectId = listDnsServersRequest['project_id'];
|
3854
|
+
fwInstanceId = listDnsServersRequest['fw_instance_id'];
|
3281
3855
|
limit = listDnsServersRequest['limit'];
|
3282
3856
|
offset = listDnsServersRequest['offset'];
|
3283
|
-
fwInstanceId = listDnsServersRequest['fw_instance_id'];
|
3284
3857
|
enterpriseProjectId = listDnsServersRequest['enterprise_project_id'];
|
3285
3858
|
}
|
3286
3859
|
}
|
3287
3860
|
if (projectId === null || projectId === undefined) {
|
3288
3861
|
throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling listDnsServers.');
|
3289
3862
|
}
|
3863
|
+
if (fwInstanceId === null || fwInstanceId === undefined) {
|
3864
|
+
throw new RequiredError('fwInstanceId', 'Required parameter fwInstanceId was null or undefined when calling listDnsServers.');
|
3865
|
+
}
|
3866
|
+
if (fwInstanceId !== null && fwInstanceId !== undefined) {
|
3867
|
+
localVarQueryParameter['fw_instance_id'] = fwInstanceId;
|
3868
|
+
}
|
3290
3869
|
if (limit !== null && limit !== undefined) {
|
3291
3870
|
localVarQueryParameter['limit'] = limit;
|
3292
3871
|
}
|
3293
3872
|
if (offset !== null && offset !== undefined) {
|
3294
3873
|
localVarQueryParameter['offset'] = offset;
|
3295
3874
|
}
|
3296
|
-
if (fwInstanceId !== null && fwInstanceId !== undefined) {
|
3297
|
-
localVarQueryParameter['fw_instance_id'] = fwInstanceId;
|
3298
|
-
}
|
3299
3875
|
if (enterpriseProjectId !== null && enterpriseProjectId !== undefined) {
|
3300
3876
|
localVarQueryParameter['enterprise_project_id'] = enterpriseProjectId;
|
3301
3877
|
}
|
@@ -3477,8 +4053,6 @@ const ParamCreater = function () {
|
|
3477
4053
|
let offset;
|
3478
4054
|
let enterpriseProjectId;
|
3479
4055
|
let domainName;
|
3480
|
-
let description;
|
3481
|
-
let setId;
|
3482
4056
|
let objectId;
|
3483
4057
|
if (listDomainsRequest !== null && listDomainsRequest !== undefined) {
|
3484
4058
|
if (listDomainsRequest instanceof ListDomainsRequest_1.ListDomainsRequest) {
|
@@ -3489,8 +4063,6 @@ const ParamCreater = function () {
|
|
3489
4063
|
offset = listDomainsRequest.offset;
|
3490
4064
|
enterpriseProjectId = listDomainsRequest.enterpriseProjectId;
|
3491
4065
|
domainName = listDomainsRequest.domainName;
|
3492
|
-
description = listDomainsRequest.description;
|
3493
|
-
setId = listDomainsRequest.setId;
|
3494
4066
|
objectId = listDomainsRequest.objectId;
|
3495
4067
|
}
|
3496
4068
|
else {
|
@@ -3501,8 +4073,6 @@ const ParamCreater = function () {
|
|
3501
4073
|
offset = listDomainsRequest['offset'];
|
3502
4074
|
enterpriseProjectId = listDomainsRequest['enterprise_project_id'];
|
3503
4075
|
domainName = listDomainsRequest['domain_name'];
|
3504
|
-
description = listDomainsRequest['description'];
|
3505
|
-
setId = listDomainsRequest['set_id'];
|
3506
4076
|
objectId = listDomainsRequest['object_Id'];
|
3507
4077
|
}
|
3508
4078
|
}
|
@@ -3536,12 +4106,6 @@ const ParamCreater = function () {
|
|
3536
4106
|
if (domainName !== null && domainName !== undefined) {
|
3537
4107
|
localVarQueryParameter['domain_name'] = domainName;
|
3538
4108
|
}
|
3539
|
-
if (description !== null && description !== undefined) {
|
3540
|
-
localVarQueryParameter['description'] = description;
|
3541
|
-
}
|
3542
|
-
if (setId !== null && setId !== undefined) {
|
3543
|
-
localVarQueryParameter['set_id'] = setId;
|
3544
|
-
}
|
3545
4109
|
if (objectId !== null && objectId !== undefined) {
|
3546
4110
|
localVarQueryParameter['object_Id'] = objectId;
|
3547
4111
|
}
|
@@ -3569,22 +4133,22 @@ const ParamCreater = function () {
|
|
3569
4133
|
let projectId;
|
3570
4134
|
let limit;
|
3571
4135
|
let offset;
|
3572
|
-
let enterpriseProjectId;
|
3573
4136
|
let fwInstanceId;
|
4137
|
+
let enterpriseProjectId;
|
3574
4138
|
if (listEastWestFirewallRequest !== null && listEastWestFirewallRequest !== undefined) {
|
3575
4139
|
if (listEastWestFirewallRequest instanceof ListEastWestFirewallRequest_1.ListEastWestFirewallRequest) {
|
3576
4140
|
projectId = listEastWestFirewallRequest.projectId;
|
3577
4141
|
limit = listEastWestFirewallRequest.limit;
|
3578
4142
|
offset = listEastWestFirewallRequest.offset;
|
3579
|
-
enterpriseProjectId = listEastWestFirewallRequest.enterpriseProjectId;
|
3580
4143
|
fwInstanceId = listEastWestFirewallRequest.fwInstanceId;
|
4144
|
+
enterpriseProjectId = listEastWestFirewallRequest.enterpriseProjectId;
|
3581
4145
|
}
|
3582
4146
|
else {
|
3583
4147
|
projectId = listEastWestFirewallRequest['project_id'];
|
3584
4148
|
limit = listEastWestFirewallRequest['limit'];
|
3585
4149
|
offset = listEastWestFirewallRequest['offset'];
|
3586
|
-
enterpriseProjectId = listEastWestFirewallRequest['enterprise_project_id'];
|
3587
4150
|
fwInstanceId = listEastWestFirewallRequest['fw_instance_id'];
|
4151
|
+
enterpriseProjectId = listEastWestFirewallRequest['enterprise_project_id'];
|
3588
4152
|
}
|
3589
4153
|
}
|
3590
4154
|
if (projectId === null || projectId === undefined) {
|
@@ -3602,12 +4166,15 @@ const ParamCreater = function () {
|
|
3602
4166
|
if (offset !== null && offset !== undefined) {
|
3603
4167
|
localVarQueryParameter['offset'] = offset;
|
3604
4168
|
}
|
3605
|
-
if (
|
3606
|
-
|
4169
|
+
if (fwInstanceId === null || fwInstanceId === undefined) {
|
4170
|
+
throw new RequiredError('fwInstanceId', 'Required parameter fwInstanceId was null or undefined when calling listEastWestFirewall.');
|
3607
4171
|
}
|
3608
4172
|
if (fwInstanceId !== null && fwInstanceId !== undefined) {
|
3609
4173
|
localVarQueryParameter['fw_instance_id'] = fwInstanceId;
|
3610
4174
|
}
|
4175
|
+
if (enterpriseProjectId !== null && enterpriseProjectId !== undefined) {
|
4176
|
+
localVarQueryParameter['enterprise_project_id'] = enterpriseProjectId;
|
4177
|
+
}
|
3611
4178
|
options.queryParams = localVarQueryParameter;
|
3612
4179
|
options.pathParams = { 'project_id': projectId, };
|
3613
4180
|
options.headers = localVarHeaderParameter;
|
@@ -3775,6 +4342,10 @@ const ParamCreater = function () {
|
|
3775
4342
|
let dstHost;
|
3776
4343
|
let srcRegionName;
|
3777
4344
|
let dstRegionName;
|
4345
|
+
let srcProvinceName;
|
4346
|
+
let dstProvinceName;
|
4347
|
+
let srcCityName;
|
4348
|
+
let dstCityName;
|
3778
4349
|
if (listFlowLogsRequest !== null && listFlowLogsRequest !== undefined) {
|
3779
4350
|
if (listFlowLogsRequest instanceof ListFlowLogsRequest_1.ListFlowLogsRequest) {
|
3780
4351
|
projectId = listFlowLogsRequest.projectId;
|
@@ -3797,6 +4368,10 @@ const ParamCreater = function () {
|
|
3797
4368
|
dstHost = listFlowLogsRequest.dstHost;
|
3798
4369
|
srcRegionName = listFlowLogsRequest.srcRegionName;
|
3799
4370
|
dstRegionName = listFlowLogsRequest.dstRegionName;
|
4371
|
+
srcProvinceName = listFlowLogsRequest.srcProvinceName;
|
4372
|
+
dstProvinceName = listFlowLogsRequest.dstProvinceName;
|
4373
|
+
srcCityName = listFlowLogsRequest.srcCityName;
|
4374
|
+
dstCityName = listFlowLogsRequest.dstCityName;
|
3800
4375
|
}
|
3801
4376
|
else {
|
3802
4377
|
projectId = listFlowLogsRequest['project_id'];
|
@@ -3819,6 +4394,10 @@ const ParamCreater = function () {
|
|
3819
4394
|
dstHost = listFlowLogsRequest['dst_host'];
|
3820
4395
|
srcRegionName = listFlowLogsRequest['src_region_name'];
|
3821
4396
|
dstRegionName = listFlowLogsRequest['dst_region_name'];
|
4397
|
+
srcProvinceName = listFlowLogsRequest['src_province_name'];
|
4398
|
+
dstProvinceName = listFlowLogsRequest['dst_province_name'];
|
4399
|
+
srcCityName = listFlowLogsRequest['src_city_name'];
|
4400
|
+
dstCityName = listFlowLogsRequest['dst_city_name'];
|
3822
4401
|
}
|
3823
4402
|
}
|
3824
4403
|
if (projectId === null || projectId === undefined) {
|
@@ -3893,6 +4472,18 @@ const ParamCreater = function () {
|
|
3893
4472
|
if (dstRegionName !== null && dstRegionName !== undefined) {
|
3894
4473
|
localVarQueryParameter['dst_region_name'] = dstRegionName;
|
3895
4474
|
}
|
4475
|
+
if (srcProvinceName !== null && srcProvinceName !== undefined) {
|
4476
|
+
localVarQueryParameter['src_province_name'] = srcProvinceName;
|
4477
|
+
}
|
4478
|
+
if (dstProvinceName !== null && dstProvinceName !== undefined) {
|
4479
|
+
localVarQueryParameter['dst_province_name'] = dstProvinceName;
|
4480
|
+
}
|
4481
|
+
if (srcCityName !== null && srcCityName !== undefined) {
|
4482
|
+
localVarQueryParameter['src_city_name'] = srcCityName;
|
4483
|
+
}
|
4484
|
+
if (dstCityName !== null && dstCityName !== undefined) {
|
4485
|
+
localVarQueryParameter['dst_city_name'] = dstCityName;
|
4486
|
+
}
|
3896
4487
|
options.queryParams = localVarQueryParameter;
|
3897
4488
|
options.pathParams = { 'project_id': projectId, };
|
3898
4489
|
options.headers = localVarHeaderParameter;
|
@@ -4406,26 +4997,29 @@ const ParamCreater = function () {
|
|
4406
4997
|
if (updateDnsServersRequest !== null && updateDnsServersRequest !== undefined) {
|
4407
4998
|
if (updateDnsServersRequest instanceof UpdateDnsServersRequest_1.UpdateDnsServersRequest) {
|
4408
4999
|
projectId = updateDnsServersRequest.projectId;
|
4409
|
-
body = updateDnsServersRequest.body;
|
4410
5000
|
fwInstanceId = updateDnsServersRequest.fwInstanceId;
|
5001
|
+
body = updateDnsServersRequest.body;
|
4411
5002
|
enterpriseProjectId = updateDnsServersRequest.enterpriseProjectId;
|
4412
5003
|
}
|
4413
5004
|
else {
|
4414
5005
|
projectId = updateDnsServersRequest['project_id'];
|
4415
|
-
body = updateDnsServersRequest['body'];
|
4416
5006
|
fwInstanceId = updateDnsServersRequest['fw_instance_id'];
|
5007
|
+
body = updateDnsServersRequest['body'];
|
4417
5008
|
enterpriseProjectId = updateDnsServersRequest['enterprise_project_id'];
|
4418
5009
|
}
|
4419
5010
|
}
|
4420
5011
|
if (projectId === null || projectId === undefined) {
|
4421
5012
|
throw new RequiredError('projectId', 'Required parameter projectId was null or undefined when calling updateDnsServers.');
|
4422
5013
|
}
|
4423
|
-
if (
|
4424
|
-
throw new RequiredError('
|
5014
|
+
if (fwInstanceId === null || fwInstanceId === undefined) {
|
5015
|
+
throw new RequiredError('fwInstanceId', 'Required parameter fwInstanceId was null or undefined when calling updateDnsServers.');
|
4425
5016
|
}
|
4426
5017
|
if (fwInstanceId !== null && fwInstanceId !== undefined) {
|
4427
5018
|
localVarQueryParameter['fw_instance_id'] = fwInstanceId;
|
4428
5019
|
}
|
5020
|
+
if (body === null || body === undefined) {
|
5021
|
+
throw new RequiredError('body', 'Required parameter body was null or undefined when calling body.');
|
5022
|
+
}
|
4429
5023
|
if (enterpriseProjectId !== null && enterpriseProjectId !== undefined) {
|
4430
5024
|
localVarQueryParameter['enterprise_project_id'] = enterpriseProjectId;
|
4431
5025
|
}
|
@@ -4456,22 +5050,22 @@ const ParamCreater = function () {
|
|
4456
5050
|
let body;
|
4457
5051
|
let projectId;
|
4458
5052
|
let setId;
|
4459
|
-
let enterpriseProjectId;
|
4460
5053
|
let fwInstanceId;
|
5054
|
+
let enterpriseProjectId;
|
4461
5055
|
if (updateDomainSetRequest !== null && updateDomainSetRequest !== undefined) {
|
4462
5056
|
if (updateDomainSetRequest instanceof UpdateDomainSetRequest_1.UpdateDomainSetRequest) {
|
4463
5057
|
projectId = updateDomainSetRequest.projectId;
|
4464
5058
|
setId = updateDomainSetRequest.setId;
|
5059
|
+
fwInstanceId = updateDomainSetRequest.fwInstanceId;
|
4465
5060
|
body = updateDomainSetRequest.body;
|
4466
5061
|
enterpriseProjectId = updateDomainSetRequest.enterpriseProjectId;
|
4467
|
-
fwInstanceId = updateDomainSetRequest.fwInstanceId;
|
4468
5062
|
}
|
4469
5063
|
else {
|
4470
5064
|
projectId = updateDomainSetRequest['project_id'];
|
4471
5065
|
setId = updateDomainSetRequest['set_id'];
|
5066
|
+
fwInstanceId = updateDomainSetRequest['fw_instance_id'];
|
4472
5067
|
body = updateDomainSetRequest['body'];
|
4473
5068
|
enterpriseProjectId = updateDomainSetRequest['enterprise_project_id'];
|
4474
|
-
fwInstanceId = updateDomainSetRequest['fw_instance_id'];
|
4475
5069
|
}
|
4476
5070
|
}
|
4477
5071
|
if (projectId === null || projectId === undefined) {
|
@@ -4480,15 +5074,18 @@ const ParamCreater = function () {
|
|
4480
5074
|
if (setId === null || setId === undefined) {
|
4481
5075
|
throw new RequiredError('setId', 'Required parameter setId was null or undefined when calling updateDomainSet.');
|
4482
5076
|
}
|
5077
|
+
if (fwInstanceId === null || fwInstanceId === undefined) {
|
5078
|
+
throw new RequiredError('fwInstanceId', 'Required parameter fwInstanceId was null or undefined when calling updateDomainSet.');
|
5079
|
+
}
|
5080
|
+
if (fwInstanceId !== null && fwInstanceId !== undefined) {
|
5081
|
+
localVarQueryParameter['fw_instance_id'] = fwInstanceId;
|
5082
|
+
}
|
4483
5083
|
if (body === null || body === undefined) {
|
4484
5084
|
throw new RequiredError('body', 'Required parameter body was null or undefined when calling body.');
|
4485
5085
|
}
|
4486
5086
|
if (enterpriseProjectId !== null && enterpriseProjectId !== undefined) {
|
4487
5087
|
localVarQueryParameter['enterprise_project_id'] = enterpriseProjectId;
|
4488
5088
|
}
|
4489
|
-
if (fwInstanceId !== null && fwInstanceId !== undefined) {
|
4490
|
-
localVarQueryParameter['fw_instance_id'] = fwInstanceId;
|
4491
|
-
}
|
4492
5089
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
4493
5090
|
options.data = body !== undefined ? body : {};
|
4494
5091
|
options.queryParams = localVarQueryParameter;
|
@@ -4946,7 +5543,6 @@ const ParamCreater = function () {
|
|
4946
5543
|
let limit;
|
4947
5544
|
let offset;
|
4948
5545
|
let type;
|
4949
|
-
let protocol;
|
4950
5546
|
let ip;
|
4951
5547
|
let name;
|
4952
5548
|
let direction;
|
@@ -4967,7 +5563,6 @@ const ParamCreater = function () {
|
|
4967
5563
|
limit = listAclRulesRequest.limit;
|
4968
5564
|
offset = listAclRulesRequest.offset;
|
4969
5565
|
type = listAclRulesRequest.type;
|
4970
|
-
protocol = listAclRulesRequest.protocol;
|
4971
5566
|
ip = listAclRulesRequest.ip;
|
4972
5567
|
name = listAclRulesRequest.name;
|
4973
5568
|
direction = listAclRulesRequest.direction;
|
@@ -4988,7 +5583,6 @@ const ParamCreater = function () {
|
|
4988
5583
|
limit = listAclRulesRequest['limit'];
|
4989
5584
|
offset = listAclRulesRequest['offset'];
|
4990
5585
|
type = listAclRulesRequest['type'];
|
4991
|
-
protocol = listAclRulesRequest['protocol'];
|
4992
5586
|
ip = listAclRulesRequest['ip'];
|
4993
5587
|
name = listAclRulesRequest['name'];
|
4994
5588
|
direction = listAclRulesRequest['direction'];
|
@@ -5028,9 +5622,6 @@ const ParamCreater = function () {
|
|
5028
5622
|
if (type !== null && type !== undefined) {
|
5029
5623
|
localVarQueryParameter['type'] = type;
|
5030
5624
|
}
|
5031
|
-
if (protocol !== null && protocol !== undefined) {
|
5032
|
-
localVarQueryParameter['protocol'] = protocol;
|
5033
|
-
}
|
5034
5625
|
if (ip !== null && ip !== undefined) {
|
5035
5626
|
localVarQueryParameter['ip'] = ip;
|
5036
5627
|
}
|