@huaweicloud/huaweicloud-sdk-cfw 3.1.45 → 3.1.46
Sign up to get free protection for your applications and to get access to all the features.
- package/huaweicloud-sdk-cfw.ts +4 -0
- package/package.json +4 -4
- package/v1/{CfwClient.js → CfwClient.ts} +1741 -1078
- package/v1/CfwRegion.ts +54 -0
- package/v1/model/AddAddressItemsInfoDto.ts +29 -0
- package/v1/model/AddAddressItemsInfoDtoAddressItems.ts +33 -0
- package/v1/model/AddAddressItemsUsingPostRequest.ts +46 -0
- package/v1/model/AddAddressItemsUsingPostResponse.ts +14 -0
- package/v1/model/AddAddressSetDto.ts +49 -0
- package/v1/model/AddAddressSetInfoUsingPostRequest.ts +46 -0
- package/v1/model/AddAddressSetInfoUsingPostResponse.ts +14 -0
- package/v1/model/AddBlackWhiteListDto.ts +66 -0
- package/v1/model/AddBlackWhiteListUsingPostRequest.ts +46 -0
- package/v1/model/AddBlackWhiteListUsingPostResponse.ts +14 -0
- package/v1/model/AddRuleAclDto.ts +41 -0
- package/v1/model/AddRuleAclDtoRules.ts +169 -0
- package/v1/model/AddRuleAclUsingPostRequest.ts +46 -0
- package/v1/model/AddRuleAclUsingPostResponse.ts +14 -0
- package/v1/model/AddServiceItemsUsingPOSTRequestBody.ts +31 -0
- package/v1/model/AddServiceItemsUsingPOSTRequestBodyServiceItems.ts +57 -0
- package/v1/model/AddServiceItemsUsingPostRequest.ts +46 -0
- package/v1/model/AddServiceItemsUsingPostResponse.ts +14 -0
- package/v1/model/AddServiceSetUsingPOSTRequestBody.ts +29 -0
- package/v1/model/AddServiceSetUsingPostRequest.ts +46 -0
- package/v1/model/AddServiceSetUsingPostResponse.ts +14 -0
- package/v1/model/AddressItemListResponseDTOData.ts +38 -0
- package/v1/model/AddressItemListResponseDTODataRecords.ts +43 -0
- package/v1/model/AddressItems.ts +12 -0
- package/v1/model/AddressSetDetailResponseDTOData.ts +41 -0
- package/v1/model/AddressSetListResponseDTOData.ts +27 -0
- package/v1/model/AddressSetListResponseDTODataRecords.ts +49 -0
- package/v1/model/BlackWhiteListResponseData.ts +38 -0
- package/v1/model/BlackWhiteListResponseDataRecords.ts +48 -0
- package/v1/model/ChangeEwProtectStatusRequest.ts +46 -0
- package/v1/model/ChangeEwProtectStatusResponse.ts +25 -0
- package/v1/model/ChangeIpsProtectModeUsingPostRequest.ts +46 -0
- package/v1/model/ChangeIpsProtectModeUsingPostResponse.ts +14 -0
- package/v1/model/ChangeIpsSwitchUsingPostRequest.ts +46 -0
- package/v1/model/ChangeIpsSwitchUsingPostResponse.ts +25 -0
- package/v1/model/ChangeProtectEipRequest.ts +46 -0
- package/v1/model/ChangeProtectEipResponse.ts +14 -0
- package/v1/model/ChangeProtectStatusRequestBody.ts +33 -0
- package/v1/model/ClearAccessLogRuleHitCountsDto.ts +18 -0
- package/v1/model/CommonResponseDTOData.ts +11 -0
- package/v1/model/CountEipsRequest.ts +52 -0
- package/v1/model/CountEipsResponse.ts +14 -0
- package/v1/model/DeleteAclRuleCountRequest.ts +46 -0
- package/v1/model/DeleteAclRuleCountResponse.ts +13 -0
- package/v1/model/DeleteAddressItemUsingDeleteRequest.ts +52 -0
- package/v1/model/DeleteAddressItemUsingDeleteResponse.ts +14 -0
- package/v1/model/DeleteAddressSetInfoUsingDeleteRequest.ts +52 -0
- package/v1/model/DeleteAddressSetInfoUsingDeleteResponse.ts +14 -0
- package/v1/model/DeleteBlackWhiteListUsingDeleteRequest.ts +52 -0
- package/v1/model/DeleteBlackWhiteListUsingDeleteResponse.ts +14 -0
- package/v1/model/DeleteRuleAclUsingDeleteRequest.ts +52 -0
- package/v1/model/DeleteRuleAclUsingDeleteResponse.ts +14 -0
- package/v1/model/DeleteServiceItemUsingDeleteRequest.ts +52 -0
- package/v1/model/DeleteServiceItemUsingDeleteResponse.ts +14 -0
- package/v1/model/DeleteServiceSetUsingDeleteRequest.ts +52 -0
- package/v1/model/DeleteServiceSetUsingDeleteResponse.ts +14 -0
- package/v1/model/DnsServersResponseDTO.ts +44 -0
- package/v1/model/EipCountRespData.ts +39 -0
- package/v1/model/EipOperateProtectReq.ts +37 -0
- package/v1/model/EipOperateProtectReqIpInfos.ts +33 -0
- package/v1/model/EipResource.ts +135 -0
- package/v1/model/EipResponseData.ts +27 -0
- package/v1/model/ErInstance.ts +54 -0
- package/v1/model/EwProtectResourceInfo.ts +75 -0
- package/v1/model/FirewallInstanceResource.ts +72 -0
- package/v1/model/Flavor.ts +60 -0
- package/v1/model/GetEastWestFirewallResponseBody.ts +101 -0
- package/v1/model/GetFirewallInstanceData.ts +27 -0
- package/v1/model/GetFirewallInstanceResponseRecord.ts +170 -0
- package/v1/model/HttpQueryCfwAccessControllerLogsResponseDTOData.ts +22 -0
- package/v1/model/HttpQueryCfwAccessControllerLogsResponseDTODataRecords.ts +109 -0
- package/v1/model/HttpQueryCfwAttackLogsResponseDTOData.ts +22 -0
- package/v1/model/HttpQueryCfwAttackLogsResponseDTODataRecords.ts +178 -0
- package/v1/model/HttpQueryCfwFlowLogsResponseDTOData.ts +22 -0
- package/v1/model/HttpQueryCfwFlowLogsResponseDTODataRecords.ts +117 -0
- package/v1/model/IdObject.ts +11 -0
- package/v1/model/IpsProtectDTO.ts +22 -0
- package/v1/model/IpsProtectModeObject.ts +16 -0
- package/v1/model/IpsSwitchDTO.ts +45 -0
- package/v1/model/IpsSwitchResponseDTO.ts +33 -0
- package/v1/model/ListAccessControlLogsRequest.ts +184 -0
- package/v1/model/ListAccessControlLogsResponse.ts +14 -0
- package/v1/model/ListAddressItemsUsingGetRequest.ts +80 -0
- package/v1/model/ListAddressItemsUsingGetResponse.ts +14 -0
- package/v1/model/ListAddressSetDetailUsingGetRequest.ts +52 -0
- package/v1/model/ListAddressSetDetailUsingGetResponse.ts +14 -0
- package/v1/model/ListAddressSetListUsingGetRequest.ts +100 -0
- package/v1/model/ListAddressSetListUsingGetResponse.ts +14 -0
- package/v1/model/ListAttackLogsRequest.ts +221 -0
- package/v1/model/ListAttackLogsResponse.ts +14 -0
- package/v1/model/ListBlackWhiteListsUsingGetRequest.ts +115 -0
- package/v1/model/ListBlackWhiteListsUsingGetResponse.ts +14 -0
- package/v1/model/ListDnsServersRequest.ts +50 -0
- package/v1/model/ListDnsServersResponse.ts +19 -0
- package/v1/model/ListEastWestFirewallRequest.ts +52 -0
- package/v1/model/ListEastWestFirewallResponse.ts +14 -0
- package/v1/model/ListEipResourcesRequest.ts +147 -0
- package/v1/model/ListEipResourcesResponse.ts +14 -0
- package/v1/model/ListFirewallUsingGetRequest.ts +73 -0
- package/v1/model/ListFirewallUsingGetResponse.ts +14 -0
- package/v1/model/ListFlowLogsRequest.ts +188 -0
- package/v1/model/ListFlowLogsResponse.ts +14 -0
- package/v1/model/ListIpsProtectModeUsingPostRequest.ts +52 -0
- package/v1/model/ListIpsProtectModeUsingPostResponse.ts +14 -0
- package/v1/model/ListIpsSwitchStatusUsingGetRequest.ts +52 -0
- package/v1/model/ListIpsSwitchStatusUsingGetResponse.ts +14 -0
- package/v1/model/ListParseDomainDetailsRequest.ts +52 -0
- package/v1/model/ListParseDomainDetailsResponse.ts +13 -0
- package/v1/model/ListRuleAclUsingPutRequest.ts +58 -0
- package/v1/model/ListRuleAclUsingPutResponse.ts +14 -0
- package/v1/model/ListRuleAclsUsingGetRequest.ts +161 -0
- package/v1/model/ListRuleAclsUsingGetResponse.ts +14 -0
- package/v1/model/ListRuleHitCountDto.ts +18 -0
- package/v1/model/ListRuleHitCountRequest.ts +46 -0
- package/v1/model/ListRuleHitCountResponse.ts +14 -0
- package/v1/model/ListServiceItemsDetailsRequest.ts +75 -0
- package/v1/model/ListServiceItemsDetailsResponse.ts +14 -0
- package/v1/model/ListServiceSetDetailsRequest.ts +52 -0
- package/v1/model/ListServiceSetDetailsResponse.ts +14 -0
- package/v1/model/ListServiceSetRequest.ts +75 -0
- package/v1/model/ListServiceSetResponse.ts +14 -0
- package/v1/model/ListVpcProtectsRequest.ts +52 -0
- package/v1/model/ListVpcProtectsResponse.ts +25 -0
- package/v1/model/OrderRuleAclDto.ts +22 -0
- package/v1/model/Packet.ts +33 -0
- package/v1/model/PacketMessage.ts +33 -0
- package/v1/model/ProtectObjectVO.ts +42 -0
- package/v1/model/RuleAclListResponseDTOData.ts +38 -0
- package/v1/model/RuleAclListResponseDTODataRecords.ts +160 -0
- package/v1/model/RuleAddressDto.ts +61 -0
- package/v1/model/RuleHitCountObject.ts +28 -0
- package/v1/model/RuleHitCountRecords.ts +27 -0
- package/v1/model/RuleId.ts +11 -0
- package/v1/model/RuleIdList.ts +12 -0
- package/v1/model/RuleServiceDto.ts +61 -0
- package/v1/model/ServiceItemIds.ts +12 -0
- package/v1/model/ServiceItemListResponseDtoData.ts +38 -0
- package/v1/model/ServiceItemListResponseDtoDataRecords.ts +54 -0
- package/v1/model/ServiceSet.ts +43 -0
- package/v1/model/ServiceSetDetailResponseDto.ts +22 -0
- package/v1/model/ServiceSetRecords.ts +27 -0
- package/v1/model/SubnetInfo.ts +61 -0
- package/v1/model/SuccessRspData.ts +11 -0
- package/v1/model/Tag.ts +16 -0
- package/v1/model/UpdateAddressSetDto.ts +37 -0
- package/v1/model/UpdateAddressSetInfoUsingPutRequest.ts +58 -0
- package/v1/model/UpdateAddressSetInfoUsingPutResponse.ts +14 -0
- package/v1/model/UpdateBlackWhiteListDto.ts +68 -0
- package/v1/model/UpdateBlackWhiteListUsingPutRequest.ts +58 -0
- package/v1/model/UpdateBlackWhiteListUsingPutResponse.ts +14 -0
- package/v1/model/UpdateDnsServersRequest.ts +46 -0
- package/v1/model/UpdateDnsServersRequestBody.ts +18 -0
- package/v1/model/UpdateDnsServersRequestBodyDnsServer.ts +39 -0
- package/v1/model/UpdateDnsServersResponse.ts +13 -0
- package/v1/model/UpdateRuleAclDto.ts +173 -0
- package/v1/model/UpdateRuleAclUsingPutRequest.ts +58 -0
- package/v1/model/UpdateRuleAclUsingPutResponse.ts +14 -0
- package/v1/model/UpdateServiceSetUsingPUTRequestBody.ts +16 -0
- package/v1/model/UpdateServiceSetUsingPutRequest.ts +58 -0
- package/v1/model/UpdateServiceSetUsingPutResponse.ts +14 -0
- package/v1/model/VPCProtectsVo.ts +67 -0
- package/v1/model/VpcAttachmentDetail.ts +109 -0
- package/v1/model/VpcDetail.ts +26 -0
- package/v1/{public-api.d.ts → public-api.ts} +1 -0
- package/LICENSE +0 -13
- package/README.md +0 -1
- package/huaweicloud-sdk-cfw.d.ts +0 -2
- package/huaweicloud-sdk-cfw.js +0 -31
- package/v1/CfwClient.d.ts +0 -1407
- package/v1/CfwRegion.d.ts +0 -19
- package/v1/CfwRegion.js +0 -51
- package/v1/model/AddAddressItemsInfoDto.d.ts +0 -12
- package/v1/model/AddAddressItemsInfoDto.js +0 -37
- package/v1/model/AddAddressItemsInfoDtoAddressItems.d.ts +0 -13
- package/v1/model/AddAddressItemsInfoDtoAddressItems.js +0 -36
- package/v1/model/AddAddressItemsUsingPostRequest.d.ts +0 -18
- package/v1/model/AddAddressItemsUsingPostRequest.js +0 -56
- package/v1/model/AddAddressItemsUsingPostResponse.d.ts +0 -7
- package/v1/model/AddAddressItemsUsingPostResponse.js +0 -31
- package/v1/model/AddAddressSetDto.d.ts +0 -23
- package/v1/model/AddAddressSetDto.js +0 -56
- package/v1/model/AddAddressSetInfoUsingPostRequest.d.ts +0 -18
- package/v1/model/AddAddressSetInfoUsingPostRequest.js +0 -56
- package/v1/model/AddAddressSetInfoUsingPostResponse.d.ts +0 -7
- package/v1/model/AddAddressSetInfoUsingPostResponse.js +0 -31
- package/v1/model/AddBlackWhiteListDto.d.ts +0 -23
- package/v1/model/AddBlackWhiteListDto.js +0 -74
- package/v1/model/AddBlackWhiteListUsingPostRequest.d.ts +0 -18
- package/v1/model/AddBlackWhiteListUsingPostRequest.js +0 -56
- package/v1/model/AddBlackWhiteListUsingPostResponse.d.ts +0 -7
- package/v1/model/AddBlackWhiteListUsingPostResponse.js +0 -31
- package/v1/model/AddRuleAclDto.d.ts +0 -21
- package/v1/model/AddRuleAclDto.js +0 -44
- package/v1/model/AddRuleAclDtoRules.d.ts +0 -83
- package/v1/model/AddRuleAclDtoRules.js +0 -185
- package/v1/model/AddRuleAclUsingPostRequest.d.ts +0 -18
- package/v1/model/AddRuleAclUsingPostRequest.js +0 -56
- package/v1/model/AddRuleAclUsingPostResponse.d.ts +0 -7
- package/v1/model/AddRuleAclUsingPostResponse.js +0 -31
- package/v1/model/AddServiceItemsUsingPOSTRequestBody.d.ts +0 -12
- package/v1/model/AddServiceItemsUsingPOSTRequestBody.js +0 -39
- package/v1/model/AddServiceItemsUsingPOSTRequestBodyServiceItems.d.ts +0 -21
- package/v1/model/AddServiceItemsUsingPOSTRequestBodyServiceItems.js +0 -66
- package/v1/model/AddServiceItemsUsingPostRequest.d.ts +0 -18
- package/v1/model/AddServiceItemsUsingPostRequest.js +0 -56
- package/v1/model/AddServiceItemsUsingPostResponse.d.ts +0 -7
- package/v1/model/AddServiceItemsUsingPostResponse.js +0 -31
- package/v1/model/AddServiceSetUsingPOSTRequestBody.d.ts +0 -11
- package/v1/model/AddServiceSetUsingPOSTRequestBody.js +0 -33
- package/v1/model/AddServiceSetUsingPostRequest.d.ts +0 -18
- package/v1/model/AddServiceSetUsingPostRequest.js +0 -56
- package/v1/model/AddServiceSetUsingPostResponse.d.ts +0 -7
- package/v1/model/AddServiceSetUsingPostResponse.js +0 -31
- package/v1/model/AddressItemListResponseDTOData.d.ts +0 -16
- package/v1/model/AddressItemListResponseDTOData.js +0 -39
- package/v1/model/AddressItemListResponseDTODataRecords.d.ts +0 -17
- package/v1/model/AddressItemListResponseDTODataRecords.js +0 -49
- package/v1/model/AddressItems.d.ts +0 -6
- package/v1/model/AddressItems.js +0 -13
- package/v1/model/AddressSetDetailResponseDTOData.d.ts +0 -21
- package/v1/model/AddressSetDetailResponseDTOData.js +0 -44
- package/v1/model/AddressSetListResponseDTOData.d.ts +0 -12
- package/v1/model/AddressSetListResponseDTOData.js +0 -25
- package/v1/model/AddressSetListResponseDTODataRecords.d.ts +0 -19
- package/v1/model/AddressSetListResponseDTODataRecords.js +0 -59
- package/v1/model/BlackWhiteListResponseData.d.ts +0 -16
- package/v1/model/BlackWhiteListResponseData.js +0 -39
- package/v1/model/BlackWhiteListResponseDataRecords.d.ts +0 -19
- package/v1/model/BlackWhiteListResponseDataRecords.js +0 -53
- package/v1/model/ChangeEwProtectStatusRequest.d.ts +0 -18
- package/v1/model/ChangeEwProtectStatusRequest.js +0 -56
- package/v1/model/ChangeEwProtectStatusResponse.d.ts +0 -11
- package/v1/model/ChangeEwProtectStatusResponse.js +0 -45
- package/v1/model/ChangeIpsProtectModeUsingPostRequest.d.ts +0 -18
- package/v1/model/ChangeIpsProtectModeUsingPostRequest.js +0 -56
- package/v1/model/ChangeIpsProtectModeUsingPostResponse.d.ts +0 -7
- package/v1/model/ChangeIpsProtectModeUsingPostResponse.js +0 -31
- package/v1/model/ChangeIpsSwitchUsingPostRequest.d.ts +0 -18
- package/v1/model/ChangeIpsSwitchUsingPostRequest.js +0 -56
- package/v1/model/ChangeIpsSwitchUsingPostResponse.d.ts +0 -11
- package/v1/model/ChangeIpsSwitchUsingPostResponse.js +0 -45
- package/v1/model/ChangeProtectEipRequest.d.ts +0 -18
- package/v1/model/ChangeProtectEipRequest.js +0 -56
- package/v1/model/ChangeProtectEipResponse.d.ts +0 -7
- package/v1/model/ChangeProtectEipResponse.js +0 -31
- package/v1/model/ChangeProtectStatusRequestBody.d.ts +0 -17
- package/v1/model/ChangeProtectStatusRequestBody.js +0 -38
- package/v1/model/ClearAccessLogRuleHitCountsDto.d.ts +0 -7
- package/v1/model/ClearAccessLogRuleHitCountsDto.js +0 -24
- package/v1/model/CommonResponseDTOData.d.ts +0 -5
- package/v1/model/CommonResponseDTOData.js +0 -13
- package/v1/model/CountEipsRequest.d.ts +0 -19
- package/v1/model/CountEipsRequest.js +0 -67
- package/v1/model/CountEipsResponse.d.ts +0 -7
- package/v1/model/CountEipsResponse.js +0 -31
- package/v1/model/DeleteAclRuleCountRequest.d.ts +0 -18
- package/v1/model/DeleteAclRuleCountRequest.js +0 -56
- package/v1/model/DeleteAclRuleCountResponse.d.ts +0 -6
- package/v1/model/DeleteAclRuleCountResponse.js +0 -31
- package/v1/model/DeleteAddressItemUsingDeleteRequest.d.ts +0 -19
- package/v1/model/DeleteAddressItemUsingDeleteRequest.js +0 -67
- package/v1/model/DeleteAddressItemUsingDeleteResponse.d.ts +0 -7
- package/v1/model/DeleteAddressItemUsingDeleteResponse.js +0 -31
- package/v1/model/DeleteAddressSetInfoUsingDeleteRequest.d.ts +0 -19
- package/v1/model/DeleteAddressSetInfoUsingDeleteRequest.js +0 -67
- package/v1/model/DeleteAddressSetInfoUsingDeleteResponse.d.ts +0 -7
- package/v1/model/DeleteAddressSetInfoUsingDeleteResponse.js +0 -31
- package/v1/model/DeleteBlackWhiteListUsingDeleteRequest.d.ts +0 -19
- package/v1/model/DeleteBlackWhiteListUsingDeleteRequest.js +0 -67
- package/v1/model/DeleteBlackWhiteListUsingDeleteResponse.d.ts +0 -7
- package/v1/model/DeleteBlackWhiteListUsingDeleteResponse.js +0 -31
- package/v1/model/DeleteRuleAclUsingDeleteRequest.d.ts +0 -19
- package/v1/model/DeleteRuleAclUsingDeleteRequest.js +0 -67
- package/v1/model/DeleteRuleAclUsingDeleteResponse.d.ts +0 -7
- package/v1/model/DeleteRuleAclUsingDeleteResponse.js +0 -31
- package/v1/model/DeleteServiceItemUsingDeleteRequest.d.ts +0 -19
- package/v1/model/DeleteServiceItemUsingDeleteRequest.js +0 -67
- package/v1/model/DeleteServiceItemUsingDeleteResponse.d.ts +0 -7
- package/v1/model/DeleteServiceItemUsingDeleteResponse.js +0 -31
- package/v1/model/DeleteServiceSetUsingDeleteRequest.d.ts +0 -19
- package/v1/model/DeleteServiceSetUsingDeleteRequest.js +0 -67
- package/v1/model/DeleteServiceSetUsingDeleteResponse.d.ts +0 -7
- package/v1/model/DeleteServiceSetUsingDeleteResponse.js +0 -31
- package/v1/model/DnsServersResponseDTO.d.ts +0 -17
- package/v1/model/DnsServersResponseDTO.js +0 -55
- package/v1/model/EipCountRespData.d.ts +0 -15
- package/v1/model/EipCountRespData.js +0 -51
- package/v1/model/EipOperateProtectReq.d.ts +0 -14
- package/v1/model/EipOperateProtectReq.js +0 -44
- package/v1/model/EipOperateProtectReqIpInfos.d.ts +0 -13
- package/v1/model/EipOperateProtectReqIpInfos.js +0 -41
- package/v1/model/EipResource.d.ts +0 -55
- package/v1/model/EipResource.js +0 -166
- package/v1/model/EipResponseData.d.ts +0 -12
- package/v1/model/EipResponseData.js +0 -25
- package/v1/model/ErInstance.d.ts +0 -21
- package/v1/model/ErInstance.js +0 -63
- package/v1/model/EwProtectResourceInfo.d.ts +0 -27
- package/v1/model/EwProtectResourceInfo.js +0 -96
- package/v1/model/FirewallInstanceResource.d.ts +0 -27
- package/v1/model/FirewallInstanceResource.js +0 -93
- package/v1/model/Flavor.d.ts +0 -29
- package/v1/model/Flavor.js +0 -70
- package/v1/model/GetEastWestFirewallResponseBody.d.ts +0 -41
- package/v1/model/GetEastWestFirewallResponseBody.js +0 -113
- package/v1/model/GetFirewallInstanceData.d.ts +0 -12
- package/v1/model/GetFirewallInstanceData.js +0 -25
- package/v1/model/GetFirewallInstanceResponseRecord.d.ts +0 -83
- package/v1/model/GetFirewallInstanceResponseRecord.js +0 -199
- package/v1/model/HttpQueryCfwAccessControllerLogsResponseDTOData.d.ts +0 -10
- package/v1/model/HttpQueryCfwAccessControllerLogsResponseDTOData.js +0 -21
- package/v1/model/HttpQueryCfwAccessControllerLogsResponseDTODataRecords.d.ts +0 -41
- package/v1/model/HttpQueryCfwAccessControllerLogsResponseDTODataRecords.js +0 -133
- package/v1/model/HttpQueryCfwAttackLogsResponseDTOData.d.ts +0 -10
- package/v1/model/HttpQueryCfwAttackLogsResponseDTOData.js +0 -21
- package/v1/model/HttpQueryCfwAttackLogsResponseDTODataRecords.d.ts +0 -73
- package/v1/model/HttpQueryCfwAttackLogsResponseDTODataRecords.js +0 -204
- package/v1/model/HttpQueryCfwFlowLogsResponseDTOData.d.ts +0 -10
- package/v1/model/HttpQueryCfwFlowLogsResponseDTOData.js +0 -21
- package/v1/model/HttpQueryCfwFlowLogsResponseDTODataRecords.d.ts +0 -49
- package/v1/model/HttpQueryCfwFlowLogsResponseDTODataRecords.js +0 -136
- package/v1/model/IdObject.d.ts +0 -5
- package/v1/model/IdObject.js +0 -13
- package/v1/model/IpsProtectDTO.d.ts +0 -9
- package/v1/model/IpsProtectDTO.js +0 -27
- package/v1/model/IpsProtectModeObject.d.ts +0 -7
- package/v1/model/IpsProtectModeObject.js +0 -17
- package/v1/model/IpsSwitchDTO.d.ts +0 -21
- package/v1/model/IpsSwitchDTO.js +0 -53
- package/v1/model/IpsSwitchResponseDTO.d.ts +0 -13
- package/v1/model/IpsSwitchResponseDTO.js +0 -41
- package/v1/model/ListAccessControlLogsRequest.d.ts +0 -72
- package/v1/model/ListAccessControlLogsRequest.js +0 -222
- package/v1/model/ListAccessControlLogsResponse.d.ts +0 -7
- package/v1/model/ListAccessControlLogsResponse.js +0 -31
- package/v1/model/ListAddressItemsUsingGetRequest.d.ts +0 -29
- package/v1/model/ListAddressItemsUsingGetRequest.js +0 -95
- package/v1/model/ListAddressItemsUsingGetResponse.d.ts +0 -7
- package/v1/model/ListAddressItemsUsingGetResponse.js +0 -31
- package/v1/model/ListAddressSetDetailUsingGetRequest.d.ts +0 -19
- package/v1/model/ListAddressSetDetailUsingGetRequest.js +0 -67
- package/v1/model/ListAddressSetDetailUsingGetResponse.d.ts +0 -7
- package/v1/model/ListAddressSetDetailUsingGetResponse.js +0 -31
- package/v1/model/ListAddressSetListUsingGetRequest.d.ts +0 -41
- package/v1/model/ListAddressSetListUsingGetRequest.js +0 -118
- package/v1/model/ListAddressSetListUsingGetResponse.d.ts +0 -7
- package/v1/model/ListAddressSetListUsingGetResponse.js +0 -31
- package/v1/model/ListAttackLogsRequest.d.ts +0 -97
- package/v1/model/ListAttackLogsRequest.js +0 -257
- package/v1/model/ListAttackLogsResponse.d.ts +0 -7
- package/v1/model/ListAttackLogsResponse.js +0 -31
- package/v1/model/ListBlackWhiteListsUsingGetRequest.d.ts +0 -52
- package/v1/model/ListBlackWhiteListsUsingGetRequest.js +0 -133
- package/v1/model/ListBlackWhiteListsUsingGetResponse.d.ts +0 -7
- package/v1/model/ListBlackWhiteListsUsingGetResponse.js +0 -31
- package/v1/model/ListDnsServersRequest.d.ts +0 -19
- package/v1/model/ListDnsServersRequest.js +0 -60
- package/v1/model/ListDnsServersResponse.d.ts +0 -9
- package/v1/model/ListDnsServersResponse.js +0 -35
- package/v1/model/ListEastWestFirewallRequest.d.ts +0 -19
- package/v1/model/ListEastWestFirewallRequest.js +0 -62
- package/v1/model/ListEastWestFirewallResponse.d.ts +0 -7
- package/v1/model/ListEastWestFirewallResponse.js +0 -31
- package/v1/model/ListEipResourcesRequest.d.ts +0 -64
- package/v1/model/ListEipResourcesRequest.js +0 -174
- package/v1/model/ListEipResourcesResponse.d.ts +0 -7
- package/v1/model/ListEipResourcesResponse.js +0 -31
- package/v1/model/ListFirewallUsingGetRequest.d.ts +0 -31
- package/v1/model/ListFirewallUsingGetRequest.js +0 -86
- package/v1/model/ListFirewallUsingGetResponse.d.ts +0 -7
- package/v1/model/ListFirewallUsingGetResponse.js +0 -31
- package/v1/model/ListFlowLogsRequest.d.ts +0 -80
- package/v1/model/ListFlowLogsRequest.js +0 -223
- package/v1/model/ListFlowLogsResponse.d.ts +0 -7
- package/v1/model/ListFlowLogsResponse.js +0 -31
- package/v1/model/ListIpsProtectModeUsingPostRequest.d.ts +0 -19
- package/v1/model/ListIpsProtectModeUsingPostRequest.js +0 -67
- package/v1/model/ListIpsProtectModeUsingPostResponse.d.ts +0 -7
- package/v1/model/ListIpsProtectModeUsingPostResponse.js +0 -31
- package/v1/model/ListIpsSwitchStatusUsingGetRequest.d.ts +0 -19
- package/v1/model/ListIpsSwitchStatusUsingGetRequest.js +0 -67
- package/v1/model/ListIpsSwitchStatusUsingGetResponse.d.ts +0 -7
- package/v1/model/ListIpsSwitchStatusUsingGetResponse.js +0 -31
- package/v1/model/ListParseDomainDetailsRequest.d.ts +0 -19
- package/v1/model/ListParseDomainDetailsRequest.js +0 -67
- package/v1/model/ListParseDomainDetailsResponse.d.ts +0 -6
- package/v1/model/ListParseDomainDetailsResponse.js +0 -31
- package/v1/model/ListRuleAclUsingPutRequest.d.ts +0 -22
- package/v1/model/ListRuleAclUsingPutRequest.js +0 -71
- package/v1/model/ListRuleAclUsingPutResponse.d.ts +0 -7
- package/v1/model/ListRuleAclUsingPutResponse.js +0 -31
- package/v1/model/ListRuleAclsUsingGetRequest.d.ts +0 -87
- package/v1/model/ListRuleAclsUsingGetRequest.js +0 -178
- package/v1/model/ListRuleAclsUsingGetResponse.d.ts +0 -7
- package/v1/model/ListRuleAclsUsingGetResponse.js +0 -31
- package/v1/model/ListRuleHitCountDto.d.ts +0 -7
- package/v1/model/ListRuleHitCountDto.js +0 -24
- package/v1/model/ListRuleHitCountRequest.d.ts +0 -18
- package/v1/model/ListRuleHitCountRequest.js +0 -56
- package/v1/model/ListRuleHitCountResponse.d.ts +0 -7
- package/v1/model/ListRuleHitCountResponse.js +0 -31
- package/v1/model/ListServiceItemsDetailsRequest.d.ts +0 -27
- package/v1/model/ListServiceItemsDetailsRequest.js +0 -91
- package/v1/model/ListServiceItemsDetailsResponse.d.ts +0 -7
- package/v1/model/ListServiceItemsDetailsResponse.js +0 -31
- package/v1/model/ListServiceSetDetailsRequest.d.ts +0 -19
- package/v1/model/ListServiceSetDetailsRequest.js +0 -67
- package/v1/model/ListServiceSetDetailsResponse.d.ts +0 -7
- package/v1/model/ListServiceSetDetailsResponse.js +0 -31
- package/v1/model/ListServiceSetRequest.d.ts +0 -27
- package/v1/model/ListServiceSetRequest.js +0 -91
- package/v1/model/ListServiceSetResponse.d.ts +0 -7
- package/v1/model/ListServiceSetResponse.js +0 -31
- package/v1/model/ListVpcProtectsRequest.d.ts +0 -19
- package/v1/model/ListVpcProtectsRequest.js +0 -67
- package/v1/model/ListVpcProtectsResponse.d.ts +0 -11
- package/v1/model/ListVpcProtectsResponse.js +0 -45
- package/v1/model/OrderRuleAclDto.d.ts +0 -9
- package/v1/model/OrderRuleAclDto.js +0 -27
- package/v1/model/Packet.d.ts +0 -13
- package/v1/model/Packet.js +0 -41
- package/v1/model/PacketMessage.d.ts +0 -13
- package/v1/model/PacketMessage.js +0 -41
- package/v1/model/ProtectObjectVO.d.ts +0 -21
- package/v1/model/ProtectObjectVO.js +0 -50
- package/v1/model/RuleAclListResponseDTOData.d.ts +0 -16
- package/v1/model/RuleAclListResponseDTOData.js +0 -39
- package/v1/model/RuleAclListResponseDTODataRecords.d.ts +0 -73
- package/v1/model/RuleAclListResponseDTODataRecords.js +0 -176
- package/v1/model/RuleAddressDto.d.ts +0 -23
- package/v1/model/RuleAddressDto.js +0 -74
- package/v1/model/RuleHitCountObject.d.ts +0 -11
- package/v1/model/RuleHitCountObject.js +0 -37
- package/v1/model/RuleHitCountRecords.d.ts +0 -12
- package/v1/model/RuleHitCountRecords.js +0 -25
- package/v1/model/RuleId.d.ts +0 -5
- package/v1/model/RuleId.js +0 -13
- package/v1/model/RuleIdList.d.ts +0 -6
- package/v1/model/RuleIdList.js +0 -13
- package/v1/model/RuleServiceDto.d.ts +0 -23
- package/v1/model/RuleServiceDto.js +0 -74
- package/v1/model/ServiceItemIds.d.ts +0 -6
- package/v1/model/ServiceItemIds.js +0 -13
- package/v1/model/ServiceItemListResponseDtoData.d.ts +0 -16
- package/v1/model/ServiceItemListResponseDtoData.js +0 -39
- package/v1/model/ServiceItemListResponseDtoDataRecords.d.ts +0 -21
- package/v1/model/ServiceItemListResponseDtoDataRecords.js +0 -63
- package/v1/model/ServiceSet.d.ts +0 -17
- package/v1/model/ServiceSet.js +0 -49
- package/v1/model/ServiceSetDetailResponseDto.d.ts +0 -9
- package/v1/model/ServiceSetDetailResponseDto.js +0 -22
- package/v1/model/ServiceSetRecords.d.ts +0 -12
- package/v1/model/ServiceSetRecords.js +0 -25
- package/v1/model/SubnetInfo.d.ts +0 -23
- package/v1/model/SubnetInfo.js +0 -69
- package/v1/model/SuccessRspData.d.ts +0 -5
- package/v1/model/SuccessRspData.js +0 -13
- package/v1/model/Tag.d.ts +0 -7
- package/v1/model/Tag.js +0 -17
- package/v1/model/UpdateAddressSetDto.d.ts +0 -20
- package/v1/model/UpdateAddressSetDto.js +0 -41
- package/v1/model/UpdateAddressSetInfoUsingPutRequest.d.ts +0 -22
- package/v1/model/UpdateAddressSetInfoUsingPutRequest.js +0 -71
- package/v1/model/UpdateAddressSetInfoUsingPutResponse.d.ts +0 -7
- package/v1/model/UpdateAddressSetInfoUsingPutResponse.js +0 -31
- package/v1/model/UpdateBlackWhiteListDto.d.ts +0 -31
- package/v1/model/UpdateBlackWhiteListDto.js +0 -76
- package/v1/model/UpdateBlackWhiteListUsingPutRequest.d.ts +0 -22
- package/v1/model/UpdateBlackWhiteListUsingPutRequest.js +0 -71
- package/v1/model/UpdateBlackWhiteListUsingPutResponse.d.ts +0 -7
- package/v1/model/UpdateBlackWhiteListUsingPutResponse.js +0 -31
- package/v1/model/UpdateDnsServersRequest.d.ts +0 -18
- package/v1/model/UpdateDnsServersRequest.js +0 -56
- package/v1/model/UpdateDnsServersRequestBody.d.ts +0 -8
- package/v1/model/UpdateDnsServersRequestBody.js +0 -23
- package/v1/model/UpdateDnsServersRequestBodyDnsServer.d.ts +0 -15
- package/v1/model/UpdateDnsServersRequestBodyDnsServer.js +0 -51
- package/v1/model/UpdateDnsServersResponse.d.ts +0 -6
- package/v1/model/UpdateDnsServersResponse.js +0 -31
- package/v1/model/UpdateRuleAclDto.d.ts +0 -93
- package/v1/model/UpdateRuleAclDto.js +0 -189
- package/v1/model/UpdateRuleAclUsingPutRequest.d.ts +0 -22
- package/v1/model/UpdateRuleAclUsingPutRequest.js +0 -71
- package/v1/model/UpdateRuleAclUsingPutResponse.d.ts +0 -7
- package/v1/model/UpdateRuleAclUsingPutResponse.js +0 -31
- package/v1/model/UpdateServiceSetUsingPUTRequestBody.d.ts +0 -7
- package/v1/model/UpdateServiceSetUsingPUTRequestBody.js +0 -17
- package/v1/model/UpdateServiceSetUsingPutRequest.d.ts +0 -22
- package/v1/model/UpdateServiceSetUsingPutRequest.js +0 -71
- package/v1/model/UpdateServiceSetUsingPutResponse.d.ts +0 -7
- package/v1/model/UpdateServiceSetUsingPutResponse.js +0 -31
- package/v1/model/VPCProtectsVo.d.ts +0 -26
- package/v1/model/VPCProtectsVo.js +0 -83
- package/v1/model/VpcAttachmentDetail.d.ts +0 -42
- package/v1/model/VpcAttachmentDetail.js +0 -127
- package/v1/model/VpcDetail.d.ts +0 -11
- package/v1/model/VpcDetail.js +0 -25
- package/v1/public-api.js +0 -181
package/v1/CfwRegion.ts
ADDED
@@ -0,0 +1,54 @@
|
|
1
|
+
import { Region } from "@huaweicloud/huaweicloud-sdk-core/region/region";
|
2
|
+
|
3
|
+
|
4
|
+
interface RegionMap {
|
5
|
+
[key: string]: Region;
|
6
|
+
}
|
7
|
+
|
8
|
+
export class CfwRegion {
|
9
|
+
public static CN_SOUTH_4 = new Region("cn-south-4", ["https://cfw.cn-south-4.myhuaweicloud.com"]);
|
10
|
+
public static CN_SOUTHWEST_2 = new Region("cn-southwest-2", ["https://cfw.cn-southwest-2.myhuaweicloud.com"]);
|
11
|
+
public static CN_SOUTH_1 = new Region("cn-south-1", ["https://cfw.cn-south-1.myhuaweicloud.com"]);
|
12
|
+
public static CN_EAST_3 = new Region("cn-east-3", ["https://cfw.cn-east-3.myhuaweicloud.com"]);
|
13
|
+
public static CN_NORTH_4 = new Region("cn-north-4", ["https://cfw.cn-north-4.myhuaweicloud.com"]);
|
14
|
+
public static AP_SOUTHEAST_1 = new Region("ap-southeast-1", ["https://cfw.ap-southeast-1.myhuaweicloud.com"]);
|
15
|
+
public static AP_SOUTHEAST_3 = new Region("ap-southeast-3", ["https://cfw.ap-southeast-3.myhuaweicloud.com"]);
|
16
|
+
public static LA_NORTH_2 = new Region("la-north-2", ["https://cfw.la-north-2.myhuaweicloud.com"]);
|
17
|
+
public static AP_SOUTHEAST_2 = new Region("ap-southeast-2", ["https://cfw.ap-southeast-2.myhuaweicloud.com"]);
|
18
|
+
public static AP_SOUTHEAST_4 = new Region("ap-southeast-4", ["https://cfw.ap-southeast-4.myhuaweicloud.com"]);
|
19
|
+
public static LA_SOUTH_2 = new Region("la-south-2", ["https://cfw.la-south-2.myhuaweicloud.com"]);
|
20
|
+
public static CN_NORTH_9 = new Region("cn-north-9", ["https://cfw.cn-north-9.myhuaweicloud.com"]);
|
21
|
+
public static CN_EAST_2 = new Region("cn-east-2", ["https://cfw.cn-east-2.myhuaweicloud.com"]);
|
22
|
+
public static AF_SOUTH_1 = new Region("af-south-1", ["https://cfw.af-south-1.myhuaweicloud.com"]);
|
23
|
+
public static SA_BRAZIL_1 = new Region("sa-brazil-1", ["https://cfw.sa-brazil-1.myhuaweicloud.com"]);
|
24
|
+
|
25
|
+
|
26
|
+
private static REGION_MAP: RegionMap = {
|
27
|
+
"cn-south-4":CfwRegion.CN_SOUTH_4,
|
28
|
+
"cn-southwest-2":CfwRegion.CN_SOUTHWEST_2,
|
29
|
+
"cn-south-1":CfwRegion.CN_SOUTH_1,
|
30
|
+
"cn-east-3":CfwRegion.CN_EAST_3,
|
31
|
+
"cn-north-4":CfwRegion.CN_NORTH_4,
|
32
|
+
"ap-southeast-1":CfwRegion.AP_SOUTHEAST_1,
|
33
|
+
"ap-southeast-3":CfwRegion.AP_SOUTHEAST_3,
|
34
|
+
"la-north-2":CfwRegion.LA_NORTH_2,
|
35
|
+
"ap-southeast-2":CfwRegion.AP_SOUTHEAST_2,
|
36
|
+
"ap-southeast-4":CfwRegion.AP_SOUTHEAST_4,
|
37
|
+
"la-south-2":CfwRegion.LA_SOUTH_2,
|
38
|
+
"cn-north-9":CfwRegion.CN_NORTH_9,
|
39
|
+
"cn-east-2":CfwRegion.CN_EAST_2,
|
40
|
+
"af-south-1":CfwRegion.AF_SOUTH_1,
|
41
|
+
"sa-brazil-1":CfwRegion.SA_BRAZIL_1
|
42
|
+
};
|
43
|
+
|
44
|
+
public static valueOf(regionId: string) {
|
45
|
+
if (!regionId) {
|
46
|
+
throw new Error("Unexpected empty parameter: regionId.");
|
47
|
+
}
|
48
|
+
const result = this.REGION_MAP[regionId];
|
49
|
+
if (result) {
|
50
|
+
return result;
|
51
|
+
}
|
52
|
+
throw new Error(`Unexpected regionId: ${regionId}.`)
|
53
|
+
}
|
54
|
+
}
|
@@ -0,0 +1,29 @@
|
|
1
|
+
import { AddAddressItemsInfoDtoAddressItems } from './AddAddressItemsInfoDtoAddressItems';
|
2
|
+
|
3
|
+
|
4
|
+
export class AddAddressItemsInfoDto {
|
5
|
+
private 'set_id'?: string | undefined;
|
6
|
+
private 'address_items'?: Array<AddAddressItemsInfoDtoAddressItems> | undefined;
|
7
|
+
public constructor() {
|
8
|
+
}
|
9
|
+
public withSetId(setId: string): AddAddressItemsInfoDto {
|
10
|
+
this['set_id'] = setId;
|
11
|
+
return this;
|
12
|
+
}
|
13
|
+
public set setId(setId: string | undefined) {
|
14
|
+
this['set_id'] = setId;
|
15
|
+
}
|
16
|
+
public get setId() {
|
17
|
+
return this['set_id'];
|
18
|
+
}
|
19
|
+
public withAddressItems(addressItems: Array<AddAddressItemsInfoDtoAddressItems>): AddAddressItemsInfoDto {
|
20
|
+
this['address_items'] = addressItems;
|
21
|
+
return this;
|
22
|
+
}
|
23
|
+
public set addressItems(addressItems: Array<AddAddressItemsInfoDtoAddressItems> | undefined) {
|
24
|
+
this['address_items'] = addressItems;
|
25
|
+
}
|
26
|
+
public get addressItems() {
|
27
|
+
return this['address_items'];
|
28
|
+
}
|
29
|
+
}
|
@@ -0,0 +1,33 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
export class AddAddressItemsInfoDtoAddressItems {
|
4
|
+
public name: string;
|
5
|
+
private 'address_type'?: number | undefined;
|
6
|
+
public address?: string;
|
7
|
+
public description?: string;
|
8
|
+
public constructor(name?: any) {
|
9
|
+
this['name'] = name;
|
10
|
+
}
|
11
|
+
public withName(name: string): AddAddressItemsInfoDtoAddressItems {
|
12
|
+
this['name'] = name;
|
13
|
+
return this;
|
14
|
+
}
|
15
|
+
public withAddressType(addressType: number): AddAddressItemsInfoDtoAddressItems {
|
16
|
+
this['address_type'] = addressType;
|
17
|
+
return this;
|
18
|
+
}
|
19
|
+
public set addressType(addressType: number | undefined) {
|
20
|
+
this['address_type'] = addressType;
|
21
|
+
}
|
22
|
+
public get addressType() {
|
23
|
+
return this['address_type'];
|
24
|
+
}
|
25
|
+
public withAddress(address: string): AddAddressItemsInfoDtoAddressItems {
|
26
|
+
this['address'] = address;
|
27
|
+
return this;
|
28
|
+
}
|
29
|
+
public withDescription(description: string): AddAddressItemsInfoDtoAddressItems {
|
30
|
+
this['description'] = description;
|
31
|
+
return this;
|
32
|
+
}
|
33
|
+
}
|
@@ -0,0 +1,46 @@
|
|
1
|
+
import { AddAddressItemsInfoDto } from './AddAddressItemsInfoDto';
|
2
|
+
|
3
|
+
|
4
|
+
export class AddAddressItemsUsingPostRequest {
|
5
|
+
private 'project_id': string | undefined;
|
6
|
+
private 'enterprise_project_id'?: string | undefined;
|
7
|
+
private 'fw_instance_id'?: string | undefined;
|
8
|
+
public body?: AddAddressItemsInfoDto;
|
9
|
+
public constructor(projectId?: any) {
|
10
|
+
this['project_id'] = projectId;
|
11
|
+
}
|
12
|
+
public withProjectId(projectId: string): AddAddressItemsUsingPostRequest {
|
13
|
+
this['project_id'] = projectId;
|
14
|
+
return this;
|
15
|
+
}
|
16
|
+
public set projectId(projectId: string | undefined) {
|
17
|
+
this['project_id'] = projectId;
|
18
|
+
}
|
19
|
+
public get projectId() {
|
20
|
+
return this['project_id'];
|
21
|
+
}
|
22
|
+
public withEnterpriseProjectId(enterpriseProjectId: string): AddAddressItemsUsingPostRequest {
|
23
|
+
this['enterprise_project_id'] = enterpriseProjectId;
|
24
|
+
return this;
|
25
|
+
}
|
26
|
+
public set enterpriseProjectId(enterpriseProjectId: string | undefined) {
|
27
|
+
this['enterprise_project_id'] = enterpriseProjectId;
|
28
|
+
}
|
29
|
+
public get enterpriseProjectId() {
|
30
|
+
return this['enterprise_project_id'];
|
31
|
+
}
|
32
|
+
public withFwInstanceId(fwInstanceId: string): AddAddressItemsUsingPostRequest {
|
33
|
+
this['fw_instance_id'] = fwInstanceId;
|
34
|
+
return this;
|
35
|
+
}
|
36
|
+
public set fwInstanceId(fwInstanceId: string | undefined) {
|
37
|
+
this['fw_instance_id'] = fwInstanceId;
|
38
|
+
}
|
39
|
+
public get fwInstanceId() {
|
40
|
+
return this['fw_instance_id'];
|
41
|
+
}
|
42
|
+
public withBody(body: AddAddressItemsInfoDto): AddAddressItemsUsingPostRequest {
|
43
|
+
this['body'] = body;
|
44
|
+
return this;
|
45
|
+
}
|
46
|
+
}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import { AddressItems } from './AddressItems';
|
2
|
+
|
3
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
4
|
+
|
5
|
+
export class AddAddressItemsUsingPostResponse extends SdkResponse {
|
6
|
+
public data?: AddressItems;
|
7
|
+
public constructor() {
|
8
|
+
super();
|
9
|
+
}
|
10
|
+
public withData(data: AddressItems): AddAddressItemsUsingPostResponse {
|
11
|
+
this['data'] = data;
|
12
|
+
return this;
|
13
|
+
}
|
14
|
+
}
|
@@ -0,0 +1,49 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
export class AddAddressSetDto {
|
4
|
+
private 'object_id': string | undefined;
|
5
|
+
public name: string;
|
6
|
+
public description?: string;
|
7
|
+
private 'address_type'?: AddAddressSetDtoAddressTypeEnum | undefined;
|
8
|
+
public constructor(objectId?: any, name?: any) {
|
9
|
+
this['object_id'] = objectId;
|
10
|
+
this['name'] = name;
|
11
|
+
}
|
12
|
+
public withObjectId(objectId: string): AddAddressSetDto {
|
13
|
+
this['object_id'] = objectId;
|
14
|
+
return this;
|
15
|
+
}
|
16
|
+
public set objectId(objectId: string | undefined) {
|
17
|
+
this['object_id'] = objectId;
|
18
|
+
}
|
19
|
+
public get objectId() {
|
20
|
+
return this['object_id'];
|
21
|
+
}
|
22
|
+
public withName(name: string): AddAddressSetDto {
|
23
|
+
this['name'] = name;
|
24
|
+
return this;
|
25
|
+
}
|
26
|
+
public withDescription(description: string): AddAddressSetDto {
|
27
|
+
this['description'] = description;
|
28
|
+
return this;
|
29
|
+
}
|
30
|
+
public withAddressType(addressType: AddAddressSetDtoAddressTypeEnum): AddAddressSetDto {
|
31
|
+
this['address_type'] = addressType;
|
32
|
+
return this;
|
33
|
+
}
|
34
|
+
public set addressType(addressType: AddAddressSetDtoAddressTypeEnum | undefined) {
|
35
|
+
this['address_type'] = addressType;
|
36
|
+
}
|
37
|
+
public get addressType() {
|
38
|
+
return this['address_type'];
|
39
|
+
}
|
40
|
+
}
|
41
|
+
|
42
|
+
/**
|
43
|
+
* @export
|
44
|
+
* @enum {string}
|
45
|
+
*/
|
46
|
+
export enum AddAddressSetDtoAddressTypeEnum {
|
47
|
+
NUMBER_0 = 0,
|
48
|
+
NUMBER_1 = 1
|
49
|
+
}
|
@@ -0,0 +1,46 @@
|
|
1
|
+
import { AddAddressSetDto } from './AddAddressSetDto';
|
2
|
+
|
3
|
+
|
4
|
+
export class AddAddressSetInfoUsingPostRequest {
|
5
|
+
private 'project_id': string | undefined;
|
6
|
+
private 'enterprise_project_id'?: string | undefined;
|
7
|
+
private 'fw_instance_id'?: string | undefined;
|
8
|
+
public body?: AddAddressSetDto;
|
9
|
+
public constructor(projectId?: any) {
|
10
|
+
this['project_id'] = projectId;
|
11
|
+
}
|
12
|
+
public withProjectId(projectId: string): AddAddressSetInfoUsingPostRequest {
|
13
|
+
this['project_id'] = projectId;
|
14
|
+
return this;
|
15
|
+
}
|
16
|
+
public set projectId(projectId: string | undefined) {
|
17
|
+
this['project_id'] = projectId;
|
18
|
+
}
|
19
|
+
public get projectId() {
|
20
|
+
return this['project_id'];
|
21
|
+
}
|
22
|
+
public withEnterpriseProjectId(enterpriseProjectId: string): AddAddressSetInfoUsingPostRequest {
|
23
|
+
this['enterprise_project_id'] = enterpriseProjectId;
|
24
|
+
return this;
|
25
|
+
}
|
26
|
+
public set enterpriseProjectId(enterpriseProjectId: string | undefined) {
|
27
|
+
this['enterprise_project_id'] = enterpriseProjectId;
|
28
|
+
}
|
29
|
+
public get enterpriseProjectId() {
|
30
|
+
return this['enterprise_project_id'];
|
31
|
+
}
|
32
|
+
public withFwInstanceId(fwInstanceId: string): AddAddressSetInfoUsingPostRequest {
|
33
|
+
this['fw_instance_id'] = fwInstanceId;
|
34
|
+
return this;
|
35
|
+
}
|
36
|
+
public set fwInstanceId(fwInstanceId: string | undefined) {
|
37
|
+
this['fw_instance_id'] = fwInstanceId;
|
38
|
+
}
|
39
|
+
public get fwInstanceId() {
|
40
|
+
return this['fw_instance_id'];
|
41
|
+
}
|
42
|
+
public withBody(body: AddAddressSetDto): AddAddressSetInfoUsingPostRequest {
|
43
|
+
this['body'] = body;
|
44
|
+
return this;
|
45
|
+
}
|
46
|
+
}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import { IdObject } from './IdObject';
|
2
|
+
|
3
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
4
|
+
|
5
|
+
export class AddAddressSetInfoUsingPostResponse extends SdkResponse {
|
6
|
+
public data?: IdObject;
|
7
|
+
public constructor() {
|
8
|
+
super();
|
9
|
+
}
|
10
|
+
public withData(data: IdObject): AddAddressSetInfoUsingPostResponse {
|
11
|
+
this['data'] = data;
|
12
|
+
return this;
|
13
|
+
}
|
14
|
+
}
|
@@ -0,0 +1,66 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
export class AddBlackWhiteListDto {
|
4
|
+
private 'object_id': string | undefined;
|
5
|
+
private 'list_type': number | undefined;
|
6
|
+
public direction: number;
|
7
|
+
private 'address_type': number | undefined;
|
8
|
+
public address: string;
|
9
|
+
public protocol: number;
|
10
|
+
public port: string;
|
11
|
+
public constructor(objectId?: any, listType?: any, direction?: any, addressType?: any, address?: any, protocol?: any, port?: any) {
|
12
|
+
this['object_id'] = objectId;
|
13
|
+
this['list_type'] = listType;
|
14
|
+
this['direction'] = direction;
|
15
|
+
this['address_type'] = addressType;
|
16
|
+
this['address'] = address;
|
17
|
+
this['protocol'] = protocol;
|
18
|
+
this['port'] = port;
|
19
|
+
}
|
20
|
+
public withObjectId(objectId: string): AddBlackWhiteListDto {
|
21
|
+
this['object_id'] = objectId;
|
22
|
+
return this;
|
23
|
+
}
|
24
|
+
public set objectId(objectId: string | undefined) {
|
25
|
+
this['object_id'] = objectId;
|
26
|
+
}
|
27
|
+
public get objectId() {
|
28
|
+
return this['object_id'];
|
29
|
+
}
|
30
|
+
public withListType(listType: number): AddBlackWhiteListDto {
|
31
|
+
this['list_type'] = listType;
|
32
|
+
return this;
|
33
|
+
}
|
34
|
+
public set listType(listType: number | undefined) {
|
35
|
+
this['list_type'] = listType;
|
36
|
+
}
|
37
|
+
public get listType() {
|
38
|
+
return this['list_type'];
|
39
|
+
}
|
40
|
+
public withDirection(direction: number): AddBlackWhiteListDto {
|
41
|
+
this['direction'] = direction;
|
42
|
+
return this;
|
43
|
+
}
|
44
|
+
public withAddressType(addressType: number): AddBlackWhiteListDto {
|
45
|
+
this['address_type'] = addressType;
|
46
|
+
return this;
|
47
|
+
}
|
48
|
+
public set addressType(addressType: number | undefined) {
|
49
|
+
this['address_type'] = addressType;
|
50
|
+
}
|
51
|
+
public get addressType() {
|
52
|
+
return this['address_type'];
|
53
|
+
}
|
54
|
+
public withAddress(address: string): AddBlackWhiteListDto {
|
55
|
+
this['address'] = address;
|
56
|
+
return this;
|
57
|
+
}
|
58
|
+
public withProtocol(protocol: number): AddBlackWhiteListDto {
|
59
|
+
this['protocol'] = protocol;
|
60
|
+
return this;
|
61
|
+
}
|
62
|
+
public withPort(port: string): AddBlackWhiteListDto {
|
63
|
+
this['port'] = port;
|
64
|
+
return this;
|
65
|
+
}
|
66
|
+
}
|
@@ -0,0 +1,46 @@
|
|
1
|
+
import { AddBlackWhiteListDto } from './AddBlackWhiteListDto';
|
2
|
+
|
3
|
+
|
4
|
+
export class AddBlackWhiteListUsingPostRequest {
|
5
|
+
private 'project_id': string | undefined;
|
6
|
+
private 'enterprise_project_id'?: string | undefined;
|
7
|
+
private 'fw_instance_id'?: string | undefined;
|
8
|
+
public body?: AddBlackWhiteListDto;
|
9
|
+
public constructor(projectId?: any) {
|
10
|
+
this['project_id'] = projectId;
|
11
|
+
}
|
12
|
+
public withProjectId(projectId: string): AddBlackWhiteListUsingPostRequest {
|
13
|
+
this['project_id'] = projectId;
|
14
|
+
return this;
|
15
|
+
}
|
16
|
+
public set projectId(projectId: string | undefined) {
|
17
|
+
this['project_id'] = projectId;
|
18
|
+
}
|
19
|
+
public get projectId() {
|
20
|
+
return this['project_id'];
|
21
|
+
}
|
22
|
+
public withEnterpriseProjectId(enterpriseProjectId: string): AddBlackWhiteListUsingPostRequest {
|
23
|
+
this['enterprise_project_id'] = enterpriseProjectId;
|
24
|
+
return this;
|
25
|
+
}
|
26
|
+
public set enterpriseProjectId(enterpriseProjectId: string | undefined) {
|
27
|
+
this['enterprise_project_id'] = enterpriseProjectId;
|
28
|
+
}
|
29
|
+
public get enterpriseProjectId() {
|
30
|
+
return this['enterprise_project_id'];
|
31
|
+
}
|
32
|
+
public withFwInstanceId(fwInstanceId: string): AddBlackWhiteListUsingPostRequest {
|
33
|
+
this['fw_instance_id'] = fwInstanceId;
|
34
|
+
return this;
|
35
|
+
}
|
36
|
+
public set fwInstanceId(fwInstanceId: string | undefined) {
|
37
|
+
this['fw_instance_id'] = fwInstanceId;
|
38
|
+
}
|
39
|
+
public get fwInstanceId() {
|
40
|
+
return this['fw_instance_id'];
|
41
|
+
}
|
42
|
+
public withBody(body: AddBlackWhiteListDto): AddBlackWhiteListUsingPostRequest {
|
43
|
+
this['body'] = body;
|
44
|
+
return this;
|
45
|
+
}
|
46
|
+
}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import { IdObject } from './IdObject';
|
2
|
+
|
3
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
4
|
+
|
5
|
+
export class AddBlackWhiteListUsingPostResponse extends SdkResponse {
|
6
|
+
public data?: IdObject;
|
7
|
+
public constructor() {
|
8
|
+
super();
|
9
|
+
}
|
10
|
+
public withData(data: IdObject): AddBlackWhiteListUsingPostResponse {
|
11
|
+
this['data'] = data;
|
12
|
+
return this;
|
13
|
+
}
|
14
|
+
}
|
@@ -0,0 +1,41 @@
|
|
1
|
+
import { AddRuleAclDtoRules } from './AddRuleAclDtoRules';
|
2
|
+
|
3
|
+
|
4
|
+
export class AddRuleAclDto {
|
5
|
+
private 'object_id': string | undefined;
|
6
|
+
public type: AddRuleAclDtoTypeEnum;
|
7
|
+
public rules: Array<AddRuleAclDtoRules>;
|
8
|
+
public constructor(objectId?: any, type?: any, rules?: any) {
|
9
|
+
this['object_id'] = objectId;
|
10
|
+
this['type'] = type;
|
11
|
+
this['rules'] = rules;
|
12
|
+
}
|
13
|
+
public withObjectId(objectId: string): AddRuleAclDto {
|
14
|
+
this['object_id'] = objectId;
|
15
|
+
return this;
|
16
|
+
}
|
17
|
+
public set objectId(objectId: string | undefined) {
|
18
|
+
this['object_id'] = objectId;
|
19
|
+
}
|
20
|
+
public get objectId() {
|
21
|
+
return this['object_id'];
|
22
|
+
}
|
23
|
+
public withType(type: AddRuleAclDtoTypeEnum): AddRuleAclDto {
|
24
|
+
this['type'] = type;
|
25
|
+
return this;
|
26
|
+
}
|
27
|
+
public withRules(rules: Array<AddRuleAclDtoRules>): AddRuleAclDto {
|
28
|
+
this['rules'] = rules;
|
29
|
+
return this;
|
30
|
+
}
|
31
|
+
}
|
32
|
+
|
33
|
+
/**
|
34
|
+
* @export
|
35
|
+
* @enum {string}
|
36
|
+
*/
|
37
|
+
export enum AddRuleAclDtoTypeEnum {
|
38
|
+
NUMBER_0 = 0,
|
39
|
+
NUMBER_1 = 1,
|
40
|
+
NUMBER_2 = 2
|
41
|
+
}
|
@@ -0,0 +1,169 @@
|
|
1
|
+
import { OrderRuleAclDto } from './OrderRuleAclDto';
|
2
|
+
import { RuleAddressDto } from './RuleAddressDto';
|
3
|
+
import { RuleServiceDto } from './RuleServiceDto';
|
4
|
+
|
5
|
+
|
6
|
+
export class AddRuleAclDtoRules {
|
7
|
+
public name: string;
|
8
|
+
public sequence: OrderRuleAclDto;
|
9
|
+
private 'address_type': AddRuleAclDtoRulesAddressTypeEnum | undefined;
|
10
|
+
private 'action_type': number | undefined;
|
11
|
+
public status: AddRuleAclDtoRulesStatusEnum;
|
12
|
+
private 'long_connect_time'?: number | undefined;
|
13
|
+
private 'long_connect_time_hour'?: number | undefined;
|
14
|
+
private 'long_connect_time_minute'?: number | undefined;
|
15
|
+
private 'long_connect_time_second'?: number | undefined;
|
16
|
+
private 'long_connect_enable': AddRuleAclDtoRulesLongConnectEnableEnum | undefined;
|
17
|
+
public description?: string;
|
18
|
+
public direction?: AddRuleAclDtoRulesDirectionEnum;
|
19
|
+
public source: RuleAddressDto;
|
20
|
+
public destination: RuleAddressDto;
|
21
|
+
public service: RuleServiceDto;
|
22
|
+
public constructor(name?: any, sequence?: any, addressType?: any, actionType?: any, status?: any, longConnectEnable?: any, source?: any, destination?: any, service?: any) {
|
23
|
+
this['name'] = name;
|
24
|
+
this['sequence'] = sequence;
|
25
|
+
this['address_type'] = addressType;
|
26
|
+
this['action_type'] = actionType;
|
27
|
+
this['status'] = status;
|
28
|
+
this['long_connect_enable'] = longConnectEnable;
|
29
|
+
this['source'] = source;
|
30
|
+
this['destination'] = destination;
|
31
|
+
this['service'] = service;
|
32
|
+
}
|
33
|
+
public withName(name: string): AddRuleAclDtoRules {
|
34
|
+
this['name'] = name;
|
35
|
+
return this;
|
36
|
+
}
|
37
|
+
public withSequence(sequence: OrderRuleAclDto): AddRuleAclDtoRules {
|
38
|
+
this['sequence'] = sequence;
|
39
|
+
return this;
|
40
|
+
}
|
41
|
+
public withAddressType(addressType: AddRuleAclDtoRulesAddressTypeEnum): AddRuleAclDtoRules {
|
42
|
+
this['address_type'] = addressType;
|
43
|
+
return this;
|
44
|
+
}
|
45
|
+
public set addressType(addressType: AddRuleAclDtoRulesAddressTypeEnum | undefined) {
|
46
|
+
this['address_type'] = addressType;
|
47
|
+
}
|
48
|
+
public get addressType() {
|
49
|
+
return this['address_type'];
|
50
|
+
}
|
51
|
+
public withActionType(actionType: number): AddRuleAclDtoRules {
|
52
|
+
this['action_type'] = actionType;
|
53
|
+
return this;
|
54
|
+
}
|
55
|
+
public set actionType(actionType: number | undefined) {
|
56
|
+
this['action_type'] = actionType;
|
57
|
+
}
|
58
|
+
public get actionType() {
|
59
|
+
return this['action_type'];
|
60
|
+
}
|
61
|
+
public withStatus(status: AddRuleAclDtoRulesStatusEnum): AddRuleAclDtoRules {
|
62
|
+
this['status'] = status;
|
63
|
+
return this;
|
64
|
+
}
|
65
|
+
public withLongConnectTime(longConnectTime: number): AddRuleAclDtoRules {
|
66
|
+
this['long_connect_time'] = longConnectTime;
|
67
|
+
return this;
|
68
|
+
}
|
69
|
+
public set longConnectTime(longConnectTime: number | undefined) {
|
70
|
+
this['long_connect_time'] = longConnectTime;
|
71
|
+
}
|
72
|
+
public get longConnectTime() {
|
73
|
+
return this['long_connect_time'];
|
74
|
+
}
|
75
|
+
public withLongConnectTimeHour(longConnectTimeHour: number): AddRuleAclDtoRules {
|
76
|
+
this['long_connect_time_hour'] = longConnectTimeHour;
|
77
|
+
return this;
|
78
|
+
}
|
79
|
+
public set longConnectTimeHour(longConnectTimeHour: number | undefined) {
|
80
|
+
this['long_connect_time_hour'] = longConnectTimeHour;
|
81
|
+
}
|
82
|
+
public get longConnectTimeHour() {
|
83
|
+
return this['long_connect_time_hour'];
|
84
|
+
}
|
85
|
+
public withLongConnectTimeMinute(longConnectTimeMinute: number): AddRuleAclDtoRules {
|
86
|
+
this['long_connect_time_minute'] = longConnectTimeMinute;
|
87
|
+
return this;
|
88
|
+
}
|
89
|
+
public set longConnectTimeMinute(longConnectTimeMinute: number | undefined) {
|
90
|
+
this['long_connect_time_minute'] = longConnectTimeMinute;
|
91
|
+
}
|
92
|
+
public get longConnectTimeMinute() {
|
93
|
+
return this['long_connect_time_minute'];
|
94
|
+
}
|
95
|
+
public withLongConnectTimeSecond(longConnectTimeSecond: number): AddRuleAclDtoRules {
|
96
|
+
this['long_connect_time_second'] = longConnectTimeSecond;
|
97
|
+
return this;
|
98
|
+
}
|
99
|
+
public set longConnectTimeSecond(longConnectTimeSecond: number | undefined) {
|
100
|
+
this['long_connect_time_second'] = longConnectTimeSecond;
|
101
|
+
}
|
102
|
+
public get longConnectTimeSecond() {
|
103
|
+
return this['long_connect_time_second'];
|
104
|
+
}
|
105
|
+
public withLongConnectEnable(longConnectEnable: AddRuleAclDtoRulesLongConnectEnableEnum): AddRuleAclDtoRules {
|
106
|
+
this['long_connect_enable'] = longConnectEnable;
|
107
|
+
return this;
|
108
|
+
}
|
109
|
+
public set longConnectEnable(longConnectEnable: AddRuleAclDtoRulesLongConnectEnableEnum | undefined) {
|
110
|
+
this['long_connect_enable'] = longConnectEnable;
|
111
|
+
}
|
112
|
+
public get longConnectEnable() {
|
113
|
+
return this['long_connect_enable'];
|
114
|
+
}
|
115
|
+
public withDescription(description: string): AddRuleAclDtoRules {
|
116
|
+
this['description'] = description;
|
117
|
+
return this;
|
118
|
+
}
|
119
|
+
public withDirection(direction: AddRuleAclDtoRulesDirectionEnum): AddRuleAclDtoRules {
|
120
|
+
this['direction'] = direction;
|
121
|
+
return this;
|
122
|
+
}
|
123
|
+
public withSource(source: RuleAddressDto): AddRuleAclDtoRules {
|
124
|
+
this['source'] = source;
|
125
|
+
return this;
|
126
|
+
}
|
127
|
+
public withDestination(destination: RuleAddressDto): AddRuleAclDtoRules {
|
128
|
+
this['destination'] = destination;
|
129
|
+
return this;
|
130
|
+
}
|
131
|
+
public withService(service: RuleServiceDto): AddRuleAclDtoRules {
|
132
|
+
this['service'] = service;
|
133
|
+
return this;
|
134
|
+
}
|
135
|
+
}
|
136
|
+
|
137
|
+
/**
|
138
|
+
* @export
|
139
|
+
* @enum {string}
|
140
|
+
*/
|
141
|
+
export enum AddRuleAclDtoRulesAddressTypeEnum {
|
142
|
+
NUMBER_0 = 0,
|
143
|
+
NUMBER_1 = 1,
|
144
|
+
NUMBER_2 = 2
|
145
|
+
}
|
146
|
+
/**
|
147
|
+
* @export
|
148
|
+
* @enum {string}
|
149
|
+
*/
|
150
|
+
export enum AddRuleAclDtoRulesStatusEnum {
|
151
|
+
NUMBER_0 = 0,
|
152
|
+
NUMBER_1 = 1
|
153
|
+
}
|
154
|
+
/**
|
155
|
+
* @export
|
156
|
+
* @enum {string}
|
157
|
+
*/
|
158
|
+
export enum AddRuleAclDtoRulesLongConnectEnableEnum {
|
159
|
+
NUMBER_0 = 0,
|
160
|
+
NUMBER_1 = 1
|
161
|
+
}
|
162
|
+
/**
|
163
|
+
* @export
|
164
|
+
* @enum {string}
|
165
|
+
*/
|
166
|
+
export enum AddRuleAclDtoRulesDirectionEnum {
|
167
|
+
NUMBER_0 = 0,
|
168
|
+
NUMBER_1 = 1
|
169
|
+
}
|
@@ -0,0 +1,46 @@
|
|
1
|
+
import { AddRuleAclDto } from './AddRuleAclDto';
|
2
|
+
|
3
|
+
|
4
|
+
export class AddRuleAclUsingPostRequest {
|
5
|
+
private 'project_id': string | undefined;
|
6
|
+
private 'enterprise_project_id'?: string | undefined;
|
7
|
+
private 'fw_instance_id'?: string | undefined;
|
8
|
+
public body?: AddRuleAclDto;
|
9
|
+
public constructor(projectId?: any) {
|
10
|
+
this['project_id'] = projectId;
|
11
|
+
}
|
12
|
+
public withProjectId(projectId: string): AddRuleAclUsingPostRequest {
|
13
|
+
this['project_id'] = projectId;
|
14
|
+
return this;
|
15
|
+
}
|
16
|
+
public set projectId(projectId: string | undefined) {
|
17
|
+
this['project_id'] = projectId;
|
18
|
+
}
|
19
|
+
public get projectId() {
|
20
|
+
return this['project_id'];
|
21
|
+
}
|
22
|
+
public withEnterpriseProjectId(enterpriseProjectId: string): AddRuleAclUsingPostRequest {
|
23
|
+
this['enterprise_project_id'] = enterpriseProjectId;
|
24
|
+
return this;
|
25
|
+
}
|
26
|
+
public set enterpriseProjectId(enterpriseProjectId: string | undefined) {
|
27
|
+
this['enterprise_project_id'] = enterpriseProjectId;
|
28
|
+
}
|
29
|
+
public get enterpriseProjectId() {
|
30
|
+
return this['enterprise_project_id'];
|
31
|
+
}
|
32
|
+
public withFwInstanceId(fwInstanceId: string): AddRuleAclUsingPostRequest {
|
33
|
+
this['fw_instance_id'] = fwInstanceId;
|
34
|
+
return this;
|
35
|
+
}
|
36
|
+
public set fwInstanceId(fwInstanceId: string | undefined) {
|
37
|
+
this['fw_instance_id'] = fwInstanceId;
|
38
|
+
}
|
39
|
+
public get fwInstanceId() {
|
40
|
+
return this['fw_instance_id'];
|
41
|
+
}
|
42
|
+
public withBody(body: AddRuleAclDto): AddRuleAclUsingPostRequest {
|
43
|
+
this['body'] = body;
|
44
|
+
return this;
|
45
|
+
}
|
46
|
+
}
|