com.tencentcloudapi.cfw.v20190904.CfwClient Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tencentcloud-sdk-java-intl-en Show documentation
Show all versions of tencentcloud-sdk-java-intl-en Show documentation
Tencent Cloud API SDK for Java
/*
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.tencentcloudapi.cfw.v20190904;
import java.lang.reflect.Type;
import com.google.gson.JsonSyntaxException;
import com.google.gson.reflect.TypeToken;
import com.tencentcloudapi.common.exception.TencentCloudSDKException;
import com.tencentcloudapi.common.AbstractClient;
import com.tencentcloudapi.common.profile.ClientProfile;
import com.tencentcloudapi.common.JsonResponseModel;
import com.tencentcloudapi.common.Credential;
import com.tencentcloudapi.cfw.v20190904.models.*;
public class CfwClient extends AbstractClient{
private static String endpoint = "cfw.tencentcloudapi.com";
private static String service = "cfw";
private static String version = "2019-09-04";
public CfwClient(Credential credential, String region) {
this(credential, region, new ClientProfile());
}
public CfwClient(Credential credential, String region, ClientProfile profile) {
super(CfwClient.endpoint, CfwClient.version, credential, region, profile);
}
/**
*This API is used to add edge firewall rules.
* @param req AddAcRuleRequest
* @return AddAcRuleResponse
* @throws TencentCloudSDKException
*/
public AddAcRuleResponse AddAcRule(AddAcRuleRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "AddAcRule", AddAcRuleResponse.class);
}
/**
*This API is used to create enterprise security group rules (new).
* @param req AddEnterpriseSecurityGroupRulesRequest
* @return AddEnterpriseSecurityGroupRulesResponse
* @throws TencentCloudSDKException
*/
public AddEnterpriseSecurityGroupRulesResponse AddEnterpriseSecurityGroupRules(AddEnterpriseSecurityGroupRulesRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "AddEnterpriseSecurityGroupRules", AddEnterpriseSecurityGroupRulesResponse.class);
}
/**
*This API is used to add NAT access control rules.
* @param req AddNatAcRuleRequest
* @return AddNatAcRuleResponse
* @throws TencentCloudSDKException
*/
public AddNatAcRuleResponse AddNatAcRule(AddNatAcRuleRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "AddNatAcRule", AddNatAcRuleResponse.class);
}
/**
*This API is used to create access control rules.
* @param req CreateAcRulesRequest
* @return CreateAcRulesResponse
* @throws TencentCloudSDKException
*/
public CreateAcRulesResponse CreateAcRules(CreateAcRulesRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateAcRules", CreateAcRulesResponse.class);
}
/**
*This API is used to create a NAT firewall instance (The Region parameter is required).
* @param req CreateNatFwInstanceRequest
* @return CreateNatFwInstanceResponse
* @throws TencentCloudSDKException
*/
public CreateNatFwInstanceResponse CreateNatFwInstance(CreateNatFwInstanceRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateNatFwInstance", CreateNatFwInstanceResponse.class);
}
/**
*This API is used to create a firewall instance with domain name (The Region parameter is required).
* @param req CreateNatFwInstanceWithDomainRequest
* @return CreateNatFwInstanceWithDomainResponse
* @throws TencentCloudSDKException
*/
public CreateNatFwInstanceWithDomainResponse CreateNatFwInstanceWithDomain(CreateNatFwInstanceWithDomainRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateNatFwInstanceWithDomain", CreateNatFwInstanceWithDomainResponse.class);
}
/**
*This API is used to create enterprise security group rules.
* @param req CreateSecurityGroupRulesRequest
* @return CreateSecurityGroupRulesResponse
* @throws TencentCloudSDKException
*/
public CreateSecurityGroupRulesResponse CreateSecurityGroupRules(CreateSecurityGroupRulesRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateSecurityGroupRules", CreateSecurityGroupRulesResponse.class);
}
/**
*This API is used to delete a rule.
* @param req DeleteAcRuleRequest
* @return DeleteAcRuleResponse
* @throws TencentCloudSDKException
*/
public DeleteAcRuleResponse DeleteAcRule(DeleteAcRuleRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DeleteAcRule", DeleteAcRuleResponse.class);
}
/**
*This API is used to delete all rules.
* @param req DeleteAllAccessControlRuleRequest
* @return DeleteAllAccessControlRuleResponse
* @throws TencentCloudSDKException
*/
public DeleteAllAccessControlRuleResponse DeleteAllAccessControlRule(DeleteAllAccessControlRuleRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DeleteAllAccessControlRule", DeleteAllAccessControlRuleResponse.class);
}
/**
*This API is used to delete asset groups in Asset Management.
* @param req DeleteResourceGroupRequest
* @return DeleteResourceGroupResponse
* @throws TencentCloudSDKException
*/
public DeleteResourceGroupResponse DeleteResourceGroup(DeleteResourceGroupRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DeleteResourceGroup", DeleteResourceGroupResponse.class);
}
/**
*This API is used to delete security group rules.
* @param req DeleteSecurityGroupRuleRequest
* @return DeleteSecurityGroupRuleResponse
* @throws TencentCloudSDKException
*/
public DeleteSecurityGroupRuleResponse DeleteSecurityGroupRule(DeleteSecurityGroupRuleRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DeleteSecurityGroupRule", DeleteSecurityGroupRuleResponse.class);
}
/**
*This API is used to delete firewall instance.
* @param req DeleteVpcInstanceRequest
* @return DeleteVpcInstanceResponse
* @throws TencentCloudSDKException
*/
public DeleteVpcInstanceResponse DeleteVpcInstance(DeleteVpcInstanceRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DeleteVpcInstance", DeleteVpcInstanceResponse.class);
}
/**
*This API is used to get the access control list.
* @param req DescribeAcListsRequest
* @return DescribeAcListsResponse
* @throws TencentCloudSDKException
*/
public DescribeAcListsResponse DescribeAcLists(DescribeAcListsRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeAcLists", DescribeAcListsResponse.class);
}
/**
*This API is used to get the list of instances associated with a security group.
* @param req DescribeAssociatedInstanceListRequest
* @return DescribeAssociatedInstanceListResponse
* @throws TencentCloudSDKException
*/
public DescribeAssociatedInstanceListResponse DescribeAssociatedInstanceList(DescribeAssociatedInstanceListRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeAssociatedInstanceList", DescribeAssociatedInstanceListResponse.class);
}
/**
*This API is used to get blocked IP data.
* @param req DescribeBlockByIpTimesListRequest
* @return DescribeBlockByIpTimesListResponse
* @throws TencentCloudSDKException
*/
public DescribeBlockByIpTimesListResponse DescribeBlockByIpTimesList(DescribeBlockByIpTimesListRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeBlockByIpTimesList", DescribeBlockByIpTimesListResponse.class);
}
/**
*This API is used to get allowlists or blocklists for intrusion prevention.
* @param req DescribeBlockIgnoreListRequest
* @return DescribeBlockIgnoreListResponse
* @throws TencentCloudSDKException
*/
public DescribeBlockIgnoreListResponse DescribeBlockIgnoreList(DescribeBlockIgnoreListRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeBlockIgnoreList", DescribeBlockIgnoreListResponse.class);
}
/**
*This API is used to get the most frequent attacker.
* @param req DescribeBlockStaticListRequest
* @return DescribeBlockStaticListResponse
* @throws TencentCloudSDKException
*/
public DescribeBlockStaticListResponse DescribeBlockStaticList(DescribeBlockStaticListRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeBlockStaticList", DescribeBlockStaticListResponse.class);
}
/**
*This API is used to query the list of firewall toggles with Intrusion Defense enabled.
* @param req DescribeDefenseSwitchRequest
* @return DescribeDefenseSwitchResponse
* @throws TencentCloudSDKException
*/
public DescribeDefenseSwitchResponse DescribeDefenseSwitch(DescribeDefenseSwitchRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeDefenseSwitch", DescribeDefenseSwitchResponse.class);
}
/**
*This API is used to get enterprise security group rules (new).
* @param req DescribeEnterpriseSecurityGroupRuleRequest
* @return DescribeEnterpriseSecurityGroupRuleResponse
* @throws TencentCloudSDKException
*/
public DescribeEnterpriseSecurityGroupRuleResponse DescribeEnterpriseSecurityGroupRule(DescribeEnterpriseSecurityGroupRuleRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeEnterpriseSecurityGroupRule", DescribeEnterpriseSecurityGroupRuleResponse.class);
}
/**
*This API is used to get the scan interface information in Get Started.
* @param req DescribeGuideScanInfoRequest
* @return DescribeGuideScanInfoResponse
* @throws TencentCloudSDKException
*/
public DescribeGuideScanInfoResponse DescribeGuideScanInfo(DescribeGuideScanInfoRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeGuideScanInfo", DescribeGuideScanInfoResponse.class);
}
/**
*This API is used to get the IP protection status.
* @param req DescribeIPStatusListRequest
* @return DescribeIPStatusListResponse
* @throws TencentCloudSDKException
*/
public DescribeIPStatusListResponse DescribeIPStatusList(DescribeIPStatusListRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeIPStatusList", DescribeIPStatusListResponse.class);
}
/**
*This API is used to get the NAT access control list.
* @param req DescribeNatAcRuleRequest
* @return DescribeNatAcRuleResponse
* @throws TencentCloudSDKException
*/
public DescribeNatAcRuleResponse DescribeNatAcRule(DescribeNatAcRuleRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeNatAcRule", DescribeNatAcRuleResponse.class);
}
/**
*This API is used to get the number of a user's subnets connected to NAT firewall and the number of NAT firewall instances.
* @param req DescribeNatFwInfoCountRequest
* @return DescribeNatFwInfoCountResponse
* @throws TencentCloudSDKException
*/
public DescribeNatFwInfoCountResponse DescribeNatFwInfoCount(DescribeNatFwInfoCountRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeNatFwInfoCount", DescribeNatFwInfoCountResponse.class);
}
/**
*This API is used to get all NAT instances of a tenant.
* @param req DescribeNatFwInstanceRequest
* @return DescribeNatFwInstanceResponse
* @throws TencentCloudSDKException
*/
public DescribeNatFwInstanceResponse DescribeNatFwInstance(DescribeNatFwInstanceRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeNatFwInstance", DescribeNatFwInstanceResponse.class);
}
/**
*This API is used to get the NAT instance with the region that is newly maintained by the tenant.
* @param req DescribeNatFwInstanceWithRegionRequest
* @return DescribeNatFwInstanceWithRegionResponse
* @throws TencentCloudSDKException
*/
public DescribeNatFwInstanceWithRegionResponse DescribeNatFwInstanceWithRegion(DescribeNatFwInstanceWithRegionRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeNatFwInstanceWithRegion", DescribeNatFwInstanceWithRegionResponse.class);
}
/**
*This API is used to get all NAT instances and instance card information of a tenant.
* @param req DescribeNatFwInstancesInfoRequest
* @return DescribeNatFwInstancesInfoResponse
* @throws TencentCloudSDKException
*/
public DescribeNatFwInstancesInfoResponse DescribeNatFwInstancesInfo(DescribeNatFwInstancesInfoRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeNatFwInstancesInfo", DescribeNatFwInstancesInfoResponse.class);
}
/**
*This API is used to get the VPC DNS status of NAT firewall instances.
* @param req DescribeNatFwVpcDnsLstRequest
* @return DescribeNatFwVpcDnsLstResponse
* @throws TencentCloudSDKException
*/
public DescribeNatFwVpcDnsLstResponse DescribeNatFwVpcDnsLst(DescribeNatFwVpcDnsLstRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeNatFwVpcDnsLst", DescribeNatFwVpcDnsLstResponse.class);
}
/**
*This API is used to get the asset tree information in Asset Management.
* @param req DescribeResourceGroupNewRequest
* @return DescribeResourceGroupNewResponse
* @throws TencentCloudSDKException
*/
public DescribeResourceGroupNewResponse DescribeResourceGroupNew(DescribeResourceGroupNewRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeResourceGroupNew", DescribeResourceGroupNewResponse.class);
}
/**
*This API is used to get the rule list overview.
* @param req DescribeRuleOverviewRequest
* @return DescribeRuleOverviewResponse
* @throws TencentCloudSDKException
*/
public DescribeRuleOverviewResponse DescribeRuleOverview(DescribeRuleOverviewRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeRuleOverview", DescribeRuleOverviewResponse.class);
}
/**
*This API is used to get the security group rule list.
* @param req DescribeSecurityGroupListRequest
* @return DescribeSecurityGroupListResponse
* @throws TencentCloudSDKException
*/
public DescribeSecurityGroupListResponse DescribeSecurityGroupList(DescribeSecurityGroupListRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeSecurityGroupList", DescribeSecurityGroupListResponse.class);
}
/**
*This API is used to get all asset information of an asset group.
* @param req DescribeSourceAssetRequest
* @return DescribeSourceAssetResponse
* @throws TencentCloudSDKException
*/
public DescribeSourceAssetResponse DescribeSourceAsset(DescribeSourceAssetRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeSourceAsset", DescribeSourceAssetResponse.class);
}
/**
*This API is used to get the firewall status list.
* @param req DescribeSwitchListsRequest
* @return DescribeSwitchListsResponse
* @throws TencentCloudSDKException
*/
public DescribeSwitchListsResponse DescribeSwitchLists(DescribeSwitchListsRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeSwitchLists", DescribeSwitchListsResponse.class);
}
/**
*This API is used to get the current alert monitoring data.
* @param req DescribeTLogInfoRequest
* @return DescribeTLogInfoResponse
* @throws TencentCloudSDKException
*/
public DescribeTLogInfoResponse DescribeTLogInfo(DescribeTLogInfoRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeTLogInfo", DescribeTLogInfoResponse.class);
}
/**
*This API is used to get the most frequent attacker IP.
* @param req DescribeTLogIpListRequest
* @return DescribeTLogIpListResponse
* @throws TencentCloudSDKException
*/
public DescribeTLogIpListResponse DescribeTLogIpList(DescribeTLogIpListRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeTLogIpList", DescribeTLogIpListResponse.class);
}
/**
*This API is used to get the rule list status.
* @param req DescribeTableStatusRequest
* @return DescribeTableStatusResponse
* @throws TencentCloudSDKException
*/
public DescribeTableStatusResponse DescribeTableStatus(DescribeTableStatusRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeTableStatus", DescribeTableStatusResponse.class);
}
/**
*This API is used to get unhandled security events.
* @param req DescribeUnHandleEventTabListRequest
* @return DescribeUnHandleEventTabListResponse
* @throws TencentCloudSDKException
*/
public DescribeUnHandleEventTabListResponse DescribeUnHandleEventTabList(DescribeUnHandleEventTabListRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeUnHandleEventTabList", DescribeUnHandleEventTabListResponse.class);
}
/**
*This API is used to increase the firewall bandwidth.
* @param req ExpandCfwVerticalRequest
* @return ExpandCfwVerticalResponse
* @throws TencentCloudSDKException
*/
public ExpandCfwVerticalResponse ExpandCfwVertical(ExpandCfwVerticalRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "ExpandCfwVertical", ExpandCfwVerticalResponse.class);
}
/**
*This API is used to modify rules.
* @param req ModifyAcRuleRequest
* @return ModifyAcRuleResponse
* @throws TencentCloudSDKException
*/
public ModifyAcRuleResponse ModifyAcRule(ModifyAcRuleRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "ModifyAcRule", ModifyAcRuleResponse.class);
}
/**
*This API is used to enable or disable one or multiple edge firewalls.
* @param req ModifyAllPublicIPSwitchStatusRequest
* @return ModifyAllPublicIPSwitchStatusResponse
* @throws TencentCloudSDKException
*/
public ModifyAllPublicIPSwitchStatusResponse ModifyAllPublicIPSwitchStatus(ModifyAllPublicIPSwitchStatusRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "ModifyAllPublicIPSwitchStatus", ModifyAllPublicIPSwitchStatusResponse.class);
}
/**
*This API is used to enable or disable all rules.
* @param req ModifyAllRuleStatusRequest
* @return ModifyAllRuleStatusResponse
* @throws TencentCloudSDKException
*/
public ModifyAllRuleStatusResponse ModifyAllRuleStatus(ModifyAllRuleStatusRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "ModifyAllRuleStatus", ModifyAllRuleStatusResponse.class);
}
/**
*This API is used to enable or disable one or multiple VPC firewalls.
* @param req ModifyAllVPCSwitchStatusRequest
* @return ModifyAllVPCSwitchStatusResponse
* @throws TencentCloudSDKException
*/
public ModifyAllVPCSwitchStatusResponse ModifyAllVPCSwitchStatus(ModifyAllVPCSwitchStatusRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "ModifyAllVPCSwitchStatus", ModifyAllVPCSwitchStatusResponse.class);
}
/**
*This API is used to modify asset scan settings.
* @param req ModifyAssetScanRequest
* @return ModifyAssetScanResponse
* @throws TencentCloudSDKException
*/
public ModifyAssetScanResponse ModifyAssetScan(ModifyAssetScanRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "ModifyAssetScan", ModifyAssetScanResponse.class);
}
/**
*This API is used to manage blocked/allowed IPs and domains.
Add IPs/domains to the blocked/allowed list
Remove IPs/domains from the blocked/allowed list
Modify events related with the IPs/domains in the blocked/allowed list
* @param req ModifyBlockIgnoreListRequest
* @return ModifyBlockIgnoreListResponse
* @throws TencentCloudSDKException
*/
public ModifyBlockIgnoreListResponse ModifyBlockIgnoreList(ModifyBlockIgnoreListRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "ModifyBlockIgnoreList", ModifyBlockIgnoreListResponse.class);
}
/**
*This API is used to pin or unpin a blocking log.
* @param req ModifyBlockTopRequest
* @return ModifyBlockTopResponse
* @throws TencentCloudSDKException
*/
public ModifyBlockTopResponse ModifyBlockTop(ModifyBlockTopRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "ModifyBlockTop", ModifyBlockTopResponse.class);
}
/**
*This API is used to modify the publishing status of an enterprise security group.
* @param req ModifyEnterpriseSecurityDispatchStatusRequest
* @return ModifyEnterpriseSecurityDispatchStatusResponse
* @throws TencentCloudSDKException
*/
public ModifyEnterpriseSecurityDispatchStatusResponse ModifyEnterpriseSecurityDispatchStatus(ModifyEnterpriseSecurityDispatchStatusRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "ModifyEnterpriseSecurityDispatchStatus", ModifyEnterpriseSecurityDispatchStatusResponse.class);
}
/**
*This API is used to modify a new enterprise security group rule.
* @param req ModifyEnterpriseSecurityGroupRuleRequest
* @return ModifyEnterpriseSecurityGroupRuleResponse
* @throws TencentCloudSDKException
*/
public ModifyEnterpriseSecurityGroupRuleResponse ModifyEnterpriseSecurityGroupRule(ModifyEnterpriseSecurityGroupRuleRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "ModifyEnterpriseSecurityGroupRule", ModifyEnterpriseSecurityGroupRuleResponse.class);
}
/**
*This API is used to modify NAT access control rules.
* @param req ModifyNatAcRuleRequest
* @return ModifyNatAcRuleResponse
* @throws TencentCloudSDKException
*/
public ModifyNatAcRuleResponse ModifyNatAcRule(ModifyNatAcRuleRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "ModifyNatAcRule", ModifyNatAcRuleResponse.class);
}
/**
*This API is used to get the VPC or NAT list for changing associated firewall instances.
* @param req ModifyNatFwReSelectRequest
* @return ModifyNatFwReSelectResponse
* @throws TencentCloudSDKException
*/
public ModifyNatFwReSelectResponse ModifyNatFwReSelect(ModifyNatFwReSelectRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "ModifyNatFwReSelect", ModifyNatFwReSelectResponse.class);
}
/**
*This API is used to enable or disable a NAT firewall.
* @param req ModifyNatFwSwitchRequest
* @return ModifyNatFwSwitchResponse
* @throws TencentCloudSDKException
*/
public ModifyNatFwSwitchResponse ModifyNatFwSwitch(ModifyNatFwSwitchRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "ModifyNatFwSwitch", ModifyNatFwSwitchResponse.class);
}
/**
*This API is used to modify the VPC DNS status of NAT firewall instances.
* @param req ModifyNatFwVpcDnsSwitchRequest
* @return ModifyNatFwVpcDnsSwitchResponse
* @throws TencentCloudSDKException
*/
public ModifyNatFwVpcDnsSwitchResponse ModifyNatFwVpcDnsSwitch(ModifyNatFwVpcDnsSwitchRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "ModifyNatFwVpcDnsSwitch", ModifyNatFwVpcDnsSwitchResponse.class);
}
/**
*This API is used to change the sequence number of NAT firewall rules.
* @param req ModifyNatSequenceRulesRequest
* @return ModifyNatSequenceRulesResponse
* @throws TencentCloudSDKException
*/
public ModifyNatSequenceRulesResponse ModifyNatSequenceRules(ModifyNatSequenceRulesRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "ModifyNatSequenceRules", ModifyNatSequenceRulesResponse.class);
}
/**
*This API is used to enable or disable an edge firewall.
* @param req ModifyPublicIPSwitchStatusRequest
* @return ModifyPublicIPSwitchStatusResponse
* @throws TencentCloudSDKException
*/
public ModifyPublicIPSwitchStatusResponse ModifyPublicIPSwitchStatus(ModifyPublicIPSwitchStatusRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "ModifyPublicIPSwitchStatus", ModifyPublicIPSwitchStatusResponse.class);
}
/**
*This API is used to modify the asset group information in Asset Management.
* @param req ModifyResourceGroupRequest
* @return ModifyResourceGroupResponse
* @throws TencentCloudSDKException
*/
public ModifyResourceGroupResponse ModifyResourceGroup(ModifyResourceGroupRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "ModifyResourceGroup", ModifyResourceGroupResponse.class);
}
/**
*This API is used to sync assets - Internet & VPC (new).
* @param req ModifyRunSyncAssetRequest
* @return ModifyRunSyncAssetResponse
* @throws TencentCloudSDKException
*/
public ModifyRunSyncAssetResponse ModifyRunSyncAsset(ModifyRunSyncAssetRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "ModifyRunSyncAsset", ModifyRunSyncAssetResponse.class);
}
/**
*This API is used to enable or disable an enterprise security group rule.
* @param req ModifySecurityGroupItemRuleStatusRequest
* @return ModifySecurityGroupItemRuleStatusResponse
* @throws TencentCloudSDKException
*/
public ModifySecurityGroupItemRuleStatusResponse ModifySecurityGroupItemRuleStatus(ModifySecurityGroupItemRuleStatusRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "ModifySecurityGroupItemRuleStatus", ModifySecurityGroupItemRuleStatusResponse.class);
}
/**
*This API is used to sort enterprise security group rules.
* @param req ModifySecurityGroupSequenceRulesRequest
* @return ModifySecurityGroupSequenceRulesResponse
* @throws TencentCloudSDKException
*/
public ModifySecurityGroupSequenceRulesResponse ModifySecurityGroupSequenceRules(ModifySecurityGroupSequenceRulesRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "ModifySecurityGroupSequenceRules", ModifySecurityGroupSequenceRulesResponse.class);
}
/**
*This API is used to modify rule priority.
* @param req ModifySequenceRulesRequest
* @return ModifySequenceRulesResponse
* @throws TencentCloudSDKException
*/
public ModifySequenceRulesResponse ModifySequenceRules(ModifySequenceRulesRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "ModifySequenceRules", ModifySequenceRulesResponse.class);
}
/**
*This API is used to modify the log retention period or to clear logs.
* @param req ModifyStorageSettingRequest
* @return ModifyStorageSettingResponse
* @throws TencentCloudSDKException
*/
public ModifyStorageSettingResponse ModifyStorageSetting(ModifyStorageSettingRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "ModifyStorageSetting", ModifyStorageSettingResponse.class);
}
/**
*This API is used to modify rule list status.
* @param req ModifyTableStatusRequest
* @return ModifyTableStatusResponse
* @throws TencentCloudSDKException
*/
public ModifyTableStatusResponse ModifyTableStatus(ModifyTableStatusRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "ModifyTableStatus", ModifyTableStatusResponse.class);
}
/**
*This API is used to delete edge firewall rules.
* @param req RemoveAcRuleRequest
* @return RemoveAcRuleResponse
* @throws TencentCloudSDKException
*/
public RemoveAcRuleResponse RemoveAcRule(RemoveAcRuleRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "RemoveAcRule", RemoveAcRuleResponse.class);
}
/**
*This API is used to delete enterprise security group rules (new).
* @param req RemoveEnterpriseSecurityGroupRuleRequest
* @return RemoveEnterpriseSecurityGroupRuleResponse
* @throws TencentCloudSDKException
*/
public RemoveEnterpriseSecurityGroupRuleResponse RemoveEnterpriseSecurityGroupRule(RemoveEnterpriseSecurityGroupRuleRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "RemoveEnterpriseSecurityGroupRule", RemoveEnterpriseSecurityGroupRuleResponse.class);
}
/**
*This API is used to delete NAT access control rules.
* @param req RemoveNatAcRuleRequest
* @return RemoveNatAcRuleResponse
* @throws TencentCloudSDKException
*/
public RemoveNatAcRuleResponse RemoveNatAcRule(RemoveNatAcRuleRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "RemoveNatAcRule", RemoveNatAcRuleResponse.class);
}
/**
*This API is used to configure firewall DNAT rules.
* @param req SetNatFwDnatRuleRequest
* @return SetNatFwDnatRuleResponse
* @throws TencentCloudSDKException
*/
public SetNatFwDnatRuleResponse SetNatFwDnatRule(SetNatFwDnatRuleRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "SetNatFwDnatRule", SetNatFwDnatRuleResponse.class);
}
/**
*This API is used to set the firewall instance EIP. (Available for firewall instances in the "Create new" mode. only)
* @param req SetNatFwEipRequest
* @return SetNatFwEipResponse
* @throws TencentCloudSDKException
*/
public SetNatFwEipResponse SetNatFwEip(SetNatFwEipRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "SetNatFwEip", SetNatFwEipResponse.class);
}
/**
*This API is used to stop publishing security group rules.
* @param req StopSecurityGroupRuleDispatchRequest
* @return StopSecurityGroupRuleDispatchResponse
* @throws TencentCloudSDKException
*/
public StopSecurityGroupRuleDispatchResponse StopSecurityGroupRuleDispatch(StopSecurityGroupRuleDispatchRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "StopSecurityGroupRuleDispatch", StopSecurityGroupRuleDispatchResponse.class);
}
}