com.tencentcloudapi.teo.v20220901.TeoClient Maven / Gradle / Ivy
/*
* 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.teo.v20220901;
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.teo.v20220901.models.*;
public class TeoClient extends AbstractClient{
private static String endpoint = "teo.tencentcloudapi.com";
private static String service = "teo";
private static String version = "2022-09-01";
public TeoClient(Credential credential, String region) {
this(credential, region, new ClientProfile());
}
public TeoClient(Credential credential, String region, ClientProfile profile) {
super(TeoClient.endpoint, TeoClient.version, credential, region, profile);
}
/**
*This API is used to bind/unbind a domain name to/from a specific policy template.
* @param req BindSecurityTemplateToEntityRequest
* @return BindSecurityTemplateToEntityResponse
* @throws TencentCloudSDKException
*/
public BindSecurityTemplateToEntityResponse BindSecurityTemplateToEntity(BindSecurityTemplateToEntityRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "BindSecurityTemplateToEntity", BindSecurityTemplateToEntityResponse.class);
}
/**
*This API is used to bind/unbind a domain name to/from a shared CNAME. It is now only available to beta users.
* @param req BindSharedCNAMERequest
* @return BindSharedCNAMEResponse
* @throws TencentCloudSDKException
*/
public BindSharedCNAMEResponse BindSharedCNAME(BindSharedCNAMERequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "BindSharedCNAME", BindSharedCNAMEResponse.class);
}
/**
*This API is used to bind a site to a plan.
* @param req BindZoneToPlanRequest
* @return BindZoneToPlanResponse
* @throws TencentCloudSDKException
*/
public BindZoneToPlanResponse BindZoneToPlan(BindZoneToPlanRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "BindZoneToPlan", BindZoneToPlanResponse.class);
}
/**
*This API is used to query the CNAME status of a domain name.
* @param req CheckCnameStatusRequest
* @return CheckCnameStatusResponse
* @throws TencentCloudSDKException
*/
public CheckCnameStatusResponse CheckCnameStatus(CheckCnameStatusRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CheckCnameStatus", CheckCnameStatusResponse.class);
}
/**
*This API is used to create an acceleration domain name.
For sites connected via the CNAME, if you have not verified the ownership of the domain name, the ownership verification information of the domain name is returned. To verify your ownership of the domain name, see [Ownership Verification](https://intl.cloud.tencent.com/document/product/1552/70789?from_cn_redirect=1).
* @param req CreateAccelerationDomainRequest
* @return CreateAccelerationDomainResponse
* @throws TencentCloudSDKException
*/
public CreateAccelerationDomainResponse CreateAccelerationDomain(CreateAccelerationDomainRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateAccelerationDomain", CreateAccelerationDomainResponse.class);
}
/**
*This API is used to create an alias domain name.
* @param req CreateAliasDomainRequest
* @return CreateAliasDomainResponse
* @throws TencentCloudSDKException
*/
public CreateAliasDomainResponse CreateAliasDomain(CreateAliasDomainRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateAliasDomain", CreateAliasDomainResponse.class);
}
/**
*This API is used to create an application proxy.
* @param req CreateApplicationProxyRequest
* @return CreateApplicationProxyResponse
* @throws TencentCloudSDKException
*/
public CreateApplicationProxyResponse CreateApplicationProxy(CreateApplicationProxyRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateApplicationProxy", CreateApplicationProxyResponse.class);
}
/**
*This API is used to create an application proxy rule.
* @param req CreateApplicationProxyRuleRequest
* @return CreateApplicationProxyRuleResponse
* @throws TencentCloudSDKException
*/
public CreateApplicationProxyRuleResponse CreateApplicationProxyRule(CreateApplicationProxyRuleRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateApplicationProxyRule", CreateApplicationProxyRuleResponse.class);
}
/**
*This API is used to create a new version for the specified configuration group in version management mode. The version management feature is currently undergoing beta testing and is accessible only to users on the whitelist.
* @param req CreateConfigGroupVersionRequest
* @return CreateConfigGroupVersionResponse
* @throws TencentCloudSDKException
*/
public CreateConfigGroupVersionResponse CreateConfigGroupVersion(CreateConfigGroupVersionRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateConfigGroupVersion", CreateConfigGroupVersionResponse.class);
}
/**
*This API is used to create an origin group for easy management. The created origin server group can be used for **adding acceleration domain names** and **layer-4 proxy configuration**.
* @param req CreateOriginGroupRequest
* @return CreateOriginGroupResponse
* @throws TencentCloudSDKException
*/
public CreateOriginGroupResponse CreateOriginGroup(CreateOriginGroupRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateOriginGroup", CreateOriginGroupResponse.class);
}
/**
*This API is used to purchase a plan for a new site.
* @param req CreatePlanForZoneRequest
* @return CreatePlanForZoneResponse
* @throws TencentCloudSDKException
*/
public CreatePlanForZoneResponse CreatePlanForZone(CreatePlanForZoneRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreatePlanForZone", CreatePlanForZoneResponse.class);
}
/**
*This API is used to create a pre-warming task.
* @param req CreatePrefetchTaskRequest
* @return CreatePrefetchTaskResponse
* @throws TencentCloudSDKException
*/
public CreatePrefetchTaskResponse CreatePrefetchTask(CreatePrefetchTaskRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreatePrefetchTask", CreatePrefetchTaskResponse.class);
}
/**
*When there are resources updated on the origin with the TTL remaining valid, users cannot access the latest resources. In this case, you can purge the cache using this API. There are two methods: Delete: This method deletes the node cache without verification and retrieves the latest resources from the origin when receiving a request. Invalidate: This method marks the node cache as invalid and sends a request with the If-None-Match and If-Modified-Since headers to the origin. If the origin responses with 200, the latest resources are retrieved to be cached on the node. If a 304 response is returned, the latest resources are not cached on the node.
For more details, see [Cache Purge](https://intl.cloud.tencent.com/document/product/1552/70759?from_cn_redirect=1).
* @param req CreatePurgeTaskRequest
* @return CreatePurgeTaskResponse
* @throws TencentCloudSDKException
*/
public CreatePurgeTaskResponse CreatePurgeTask(CreatePurgeTaskRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreatePurgeTask", CreatePurgeTaskResponse.class);
}
/**
*This API is used to create a rule in the rule engine.
* @param req CreateRuleRequest
* @return CreateRuleResponse
* @throws TencentCloudSDKException
*/
public CreateRuleResponse CreateRule(CreateRuleRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateRule", CreateRuleResponse.class);
}
/**
*This API is used to create a security IP group.
* @param req CreateSecurityIPGroupRequest
* @return CreateSecurityIPGroupResponse
* @throws TencentCloudSDKException
*/
public CreateSecurityIPGroupResponse CreateSecurityIPGroup(CreateSecurityIPGroupRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateSecurityIPGroup", CreateSecurityIPGroupResponse.class);
}
/**
*This API is used to create a shared CNAME. It is now only available to beta users.
* @param req CreateSharedCNAMERequest
* @return CreateSharedCNAMEResponse
* @throws TencentCloudSDKException
*/
public CreateSharedCNAMEResponse CreateSharedCNAME(CreateSharedCNAMERequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateSharedCNAME", CreateSharedCNAMEResponse.class);
}
/**
*This API is used to create a site. After you create the site, you can connect it to EdgeOne via the CNAME or NS (see [Quick Start](https://intl.cloud.tencent.com/document/product/1552/87601?from_cn_redirect=1)), or connect it without a domain name (see [Quick Access to L4 Proxy Service](https://intl.cloud.tencent.com/document/product/1552/96051?from_cn_redirect=1)).
If there are already EdgeOne plans under the current account, it is recommended to pass in the `PlanId` to bind the site with the plan directly. If `PlanId` is not passed in, the created site is not activated. You need to call [BindZoneToPlan](https://intl.cloud.tencent.com/document/product/1552/83042?from_cn_redirect=1) to bind the site with a plan. To purchase a plan, please go to the EdgeOne console.
* @param req CreateZoneRequest
* @return CreateZoneResponse
* @throws TencentCloudSDKException
*/
public CreateZoneResponse CreateZone(CreateZoneRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "CreateZone", CreateZoneResponse.class);
}
/**
*This API is used to batch remove accelerated domain names.
* @param req DeleteAccelerationDomainsRequest
* @return DeleteAccelerationDomainsResponse
* @throws TencentCloudSDKException
*/
public DeleteAccelerationDomainsResponse DeleteAccelerationDomains(DeleteAccelerationDomainsRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DeleteAccelerationDomains", DeleteAccelerationDomainsResponse.class);
}
/**
*This API is used to delete an alias domain name.
* @param req DeleteAliasDomainRequest
* @return DeleteAliasDomainResponse
* @throws TencentCloudSDKException
*/
public DeleteAliasDomainResponse DeleteAliasDomain(DeleteAliasDomainRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DeleteAliasDomain", DeleteAliasDomainResponse.class);
}
/**
*This API is used to delete an application proxy.
* @param req DeleteApplicationProxyRequest
* @return DeleteApplicationProxyResponse
* @throws TencentCloudSDKException
*/
public DeleteApplicationProxyResponse DeleteApplicationProxy(DeleteApplicationProxyRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DeleteApplicationProxy", DeleteApplicationProxyResponse.class);
}
/**
*This API is used to delete an application proxy rule.
* @param req DeleteApplicationProxyRuleRequest
* @return DeleteApplicationProxyRuleResponse
* @throws TencentCloudSDKException
*/
public DeleteApplicationProxyRuleResponse DeleteApplicationProxyRule(DeleteApplicationProxyRuleRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DeleteApplicationProxyRule", DeleteApplicationProxyRuleResponse.class);
}
/**
*This API is used to delete an origin group. Note that an origin group can not be deleted if it is referenced by services (e.g. L4 Proxy, domain name service, load balancing, rule engines).
* @param req DeleteOriginGroupRequest
* @return DeleteOriginGroupResponse
* @throws TencentCloudSDKException
*/
public DeleteOriginGroupResponse DeleteOriginGroup(DeleteOriginGroupRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DeleteOriginGroup", DeleteOriginGroupResponse.class);
}
/**
*This API is used to batch delete rules from the rule engine.
* @param req DeleteRulesRequest
* @return DeleteRulesResponse
* @throws TencentCloudSDKException
*/
public DeleteRulesResponse DeleteRules(DeleteRulesRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DeleteRules", DeleteRulesResponse.class);
}
/**
*This API is used to delete a specified security IP group. Note that the security IP group cannot be deleted if it is referenced in a rule.
* @param req DeleteSecurityIPGroupRequest
* @return DeleteSecurityIPGroupResponse
* @throws TencentCloudSDKException
*/
public DeleteSecurityIPGroupResponse DeleteSecurityIPGroup(DeleteSecurityIPGroupRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DeleteSecurityIPGroup", DeleteSecurityIPGroupResponse.class);
}
/**
*This API is used to delete a shared CNAME. It is now only available to beta users.
* @param req DeleteSharedCNAMERequest
* @return DeleteSharedCNAMEResponse
* @throws TencentCloudSDKException
*/
public DeleteSharedCNAMEResponse DeleteSharedCNAME(DeleteSharedCNAMERequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DeleteSharedCNAME", DeleteSharedCNAMEResponse.class);
}
/**
*This API is used to delete a site.
* @param req DeleteZoneRequest
* @return DeleteZoneResponse
* @throws TencentCloudSDKException
*/
public DeleteZoneResponse DeleteZone(DeleteZoneRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DeleteZone", DeleteZoneResponse.class);
}
/**
*This API is used to release versions in version management mode. Users can deploy the version to either the testing environment or the production environment by specifying the EnvId parameter. The version management feature is currently undergoing beta testing and is accessible only to users on the whitelist.
* @param req DeployConfigGroupVersionRequest
* @return DeployConfigGroupVersionResponse
* @throws TencentCloudSDKException
*/
public DeployConfigGroupVersionResponse DeployConfigGroupVersion(DeployConfigGroupVersionRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DeployConfigGroupVersion", DeployConfigGroupVersionResponse.class);
}
/**
*This API is used to query domain name information of a site, including the acceleration domain name, origin, and domain name status. You can query the information of all domain names, or specific domain names by specifying filters information.
* @param req DescribeAccelerationDomainsRequest
* @return DescribeAccelerationDomainsResponse
* @throws TencentCloudSDKException
*/
public DescribeAccelerationDomainsResponse DescribeAccelerationDomains(DescribeAccelerationDomainsRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeAccelerationDomains", DescribeAccelerationDomainsResponse.class);
}
/**
*This API is used to query the information of alias domain names.
* @param req DescribeAliasDomainsRequest
* @return DescribeAliasDomainsResponse
* @throws TencentCloudSDKException
*/
public DescribeAliasDomainsResponse DescribeAliasDomains(DescribeAliasDomainsRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeAliasDomains", DescribeAliasDomainsResponse.class);
}
/**
*This API is used to query the list of application proxies.
* @param req DescribeApplicationProxiesRequest
* @return DescribeApplicationProxiesResponse
* @throws TencentCloudSDKException
*/
public DescribeApplicationProxiesResponse DescribeApplicationProxies(DescribeApplicationProxiesRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeApplicationProxies", DescribeApplicationProxiesResponse.class);
}
/**
*This API is used to query plan options available for purchase.
* @param req DescribeAvailablePlansRequest
* @return DescribeAvailablePlansResponse
* @throws TencentCloudSDKException
*/
public DescribeAvailablePlansResponse DescribeAvailablePlans(DescribeAvailablePlansRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeAvailablePlans", DescribeAvailablePlansResponse.class);
}
/**
*This API is used to obtain detailed information about a version in version management mode. The response includes the version ID, description, status, creation time, configuration group information, and the content of the version configuration file. The version management feature is currently undergoing beta testing and is accessible only to users on the whitelist.
* @param req DescribeConfigGroupVersionDetailRequest
* @return DescribeConfigGroupVersionDetailResponse
* @throws TencentCloudSDKException
*/
public DescribeConfigGroupVersionDetailResponse DescribeConfigGroupVersionDetail(DescribeConfigGroupVersionDetailRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeConfigGroupVersionDetail", DescribeConfigGroupVersionDetailResponse.class);
}
/**
*This API is used to query the version list for the specified configuration group in version management mode. The version management feature is currently undergoing beta testing and is accessible only to users on the whitelist.
* @param req DescribeConfigGroupVersionsRequest
* @return DescribeConfigGroupVersionsResponse
* @throws TencentCloudSDKException
*/
public DescribeConfigGroupVersionsResponse DescribeConfigGroupVersions(DescribeConfigGroupVersionsRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeConfigGroupVersions", DescribeConfigGroupVersionsResponse.class);
}
/**
*This API is used to query content management quotas.
* @param req DescribeContentQuotaRequest
* @return DescribeContentQuotaResponse
* @throws TencentCloudSDKException
*/
public DescribeContentQuotaResponse DescribeContentQuota(DescribeContentQuotaRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeContentQuota", DescribeContentQuotaResponse.class);
}
/**
*This API is used to query the time-series data of DDoS attacks.
* @param req DescribeDDoSAttackDataRequest
* @return DescribeDDoSAttackDataResponse
* @throws TencentCloudSDKException
*/
public DescribeDDoSAttackDataResponse DescribeDDoSAttackData(DescribeDDoSAttackDataRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeDDoSAttackData", DescribeDDoSAttackDataResponse.class);
}
/**
*This API is used to query DDoS attack events.
* @param req DescribeDDoSAttackEventRequest
* @return DescribeDDoSAttackEventResponse
* @throws TencentCloudSDKException
*/
public DescribeDDoSAttackEventResponse DescribeDDoSAttackEvent(DescribeDDoSAttackEventRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeDDoSAttackEvent", DescribeDDoSAttackEventResponse.class);
}
/**
*This API is used to query the top-ranked DDoS attack data.
* @param req DescribeDDoSAttackTopDataRequest
* @return DescribeDDoSAttackTopDataResponse
* @throws TencentCloudSDKException
*/
public DescribeDDoSAttackTopDataResponse DescribeDDoSAttackTopData(DescribeDDoSAttackTopDataRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeDDoSAttackTopData", DescribeDDoSAttackTopDataResponse.class);
}
/**
*This API is used to query a list of default certificates.
* @param req DescribeDefaultCertificatesRequest
* @return DescribeDefaultCertificatesResponse
* @throws TencentCloudSDKException
*/
public DescribeDefaultCertificatesResponse DescribeDefaultCertificates(DescribeDefaultCertificatesRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeDefaultCertificates", DescribeDefaultCertificatesResponse.class);
}
/**
*This API is used to query the release history of versions in the production or test environment in version management mode. The version management feature is currently undergoing beta testing and is accessible only to users on the whitelist.
* @param req DescribeDeployHistoryRequest
* @return DescribeDeployHistoryResponse
* @throws TencentCloudSDKException
*/
public DescribeDeployHistoryResponse DescribeDeployHistory(DescribeDeployHistoryRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeDeployHistory", DescribeDeployHistoryResponse.class);
}
/**
*This API is used to query environment information in version management mode. The response includes the environment ID, type, and current effective version. The version management feature is currently undergoing beta testing and is accessible only to users on the whitelist.
* @param req DescribeEnvironmentsRequest
* @return DescribeEnvironmentsResponse
* @throws TencentCloudSDKException
*/
public DescribeEnvironmentsResponse DescribeEnvironments(DescribeEnvironmentsRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeEnvironments", DescribeEnvironmentsResponse.class);
}
/**
*This API is used to query detailed domain name configuration.
* @param req DescribeHostsSettingRequest
* @return DescribeHostsSettingResponse
* @throws TencentCloudSDKException
*/
public DescribeHostsSettingResponse DescribeHostsSetting(DescribeHostsSettingRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeHostsSetting", DescribeHostsSettingResponse.class);
}
/**
*This API is used to query the verification information of a site.
* @param req DescribeIdentificationsRequest
* @return DescribeIdentificationsResponse
* @throws TencentCloudSDKException
*/
public DescribeIdentificationsResponse DescribeIdentifications(DescribeIdentificationsRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeIdentifications", DescribeIdentificationsResponse.class);
}
/**
*This API is used to obtain a list of origin groups.
* @param req DescribeOriginGroupRequest
* @return DescribeOriginGroupResponse
* @throws TencentCloudSDKException
*/
public DescribeOriginGroupResponse DescribeOriginGroup(DescribeOriginGroupRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeOriginGroup", DescribeOriginGroupResponse.class);
}
/**
*This API is used to query the origin protection configuration.
* @param req DescribeOriginProtectionRequest
* @return DescribeOriginProtectionResponse
* @throws TencentCloudSDKException
*/
public DescribeOriginProtectionResponse DescribeOriginProtection(DescribeOriginProtectionRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeOriginProtection", DescribeOriginProtectionResponse.class);
}
/**
*This API is used to query the time sequence traffic data of the monitoring category in L7. This API is to be discarded. Please use the API DescribeTimingL7AnalysisData.
* @param req DescribeOverviewL7DataRequest
* @return DescribeOverviewL7DataResponse
* @throws TencentCloudSDKException
*/
public DescribeOverviewL7DataResponse DescribeOverviewL7Data(DescribeOverviewL7DataRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeOverviewL7Data", DescribeOverviewL7DataResponse.class);
}
/**
*DescribePrefetchTasks is used to query the submission history and execution progress of preheating tasks. This interface can be used to query the tasks submitted by the CreatePrefetchTasks interface.
* @param req DescribePrefetchTasksRequest
* @return DescribePrefetchTasksResponse
* @throws TencentCloudSDKException
*/
public DescribePrefetchTasksResponse DescribePrefetchTasks(DescribePrefetchTasksRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribePrefetchTasks", DescribePrefetchTasksResponse.class);
}
/**
*DescribePurgeTasks is used to query the submitted URL refreshing and directory refreshing records and execution progress. This interface can be used to query the tasks submitted by the CreatePurgeTasks API.
* @param req DescribePurgeTasksRequest
* @return DescribePurgeTasksResponse
* @throws TencentCloudSDKException
*/
public DescribePurgeTasksResponse DescribePurgeTasks(DescribePurgeTasksRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribePurgeTasks", DescribePurgeTasksResponse.class);
}
/**
*This API is used to query the rules in the rule engine.
* @param req DescribeRulesRequest
* @return DescribeRulesResponse
* @throws TencentCloudSDKException
*/
public DescribeRulesResponse DescribeRules(DescribeRulesRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeRules", DescribeRulesResponse.class);
}
/**
*This API is used to return the list of the settings of the rule engine that can be used for request match and their detailed recommended configuration information.
* @param req DescribeRulesSettingRequest
* @return DescribeRulesSettingResponse
* @throws TencentCloudSDKException
*/
public DescribeRulesSettingResponse DescribeRulesSetting(DescribeRulesSettingRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeRulesSetting", DescribeRulesSettingResponse.class);
}
/**
*This API is used to query bindings of a policy template.
* @param req DescribeSecurityTemplateBindingsRequest
* @return DescribeSecurityTemplateBindingsResponse
* @throws TencentCloudSDKException
*/
public DescribeSecurityTemplateBindingsResponse DescribeSecurityTemplateBindings(DescribeSecurityTemplateBindingsRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeSecurityTemplateBindings", DescribeSecurityTemplateBindingsResponse.class);
}
/**
*This API is used to query the list of L4 traffic data recorded over time.
* @param req DescribeTimingL4DataRequest
* @return DescribeTimingL4DataResponse
* @throws TencentCloudSDKException
*/
public DescribeTimingL4DataResponse DescribeTimingL4Data(DescribeTimingL4DataRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeTimingL4Data", DescribeTimingL4DataResponse.class);
}
/**
*This API is used to query the L7 data recorded over time.
* @param req DescribeTimingL7AnalysisDataRequest
* @return DescribeTimingL7AnalysisDataResponse
* @throws TencentCloudSDKException
*/
public DescribeTimingL7AnalysisDataResponse DescribeTimingL7AnalysisData(DescribeTimingL7AnalysisDataRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeTimingL7AnalysisData", DescribeTimingL7AnalysisDataResponse.class);
}
/**
*This API is used to query the time-series L7 cached data.
* @param req DescribeTimingL7CacheDataRequest
* @return DescribeTimingL7CacheDataResponse
* @throws TencentCloudSDKException
*/
public DescribeTimingL7CacheDataResponse DescribeTimingL7CacheData(DescribeTimingL7CacheDataRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeTimingL7CacheData", DescribeTimingL7CacheDataResponse.class);
}
/**
*This API is used to query the top-ranked L7 traffic data.
* @param req DescribeTopL7AnalysisDataRequest
* @return DescribeTopL7AnalysisDataResponse
* @throws TencentCloudSDKException
*/
public DescribeTopL7AnalysisDataResponse DescribeTopL7AnalysisData(DescribeTopL7AnalysisDataRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeTopL7AnalysisData", DescribeTopL7AnalysisDataResponse.class);
}
/**
*This API is used to query the cached L7 top-ranked data.
* @param req DescribeTopL7CacheDataRequest
* @return DescribeTopL7CacheDataResponse
* @throws TencentCloudSDKException
*/
public DescribeTopL7CacheDataResponse DescribeTopL7CacheData(DescribeTopL7CacheDataRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeTopL7CacheData", DescribeTopL7CacheDataResponse.class);
}
/**
*This API is used to query the site configuration.
* @param req DescribeZoneSettingRequest
* @return DescribeZoneSettingResponse
* @throws TencentCloudSDKException
*/
public DescribeZoneSettingResponse DescribeZoneSetting(DescribeZoneSettingRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeZoneSetting", DescribeZoneSettingResponse.class);
}
/**
*This API is used to query the information of sites that you have access to. You can filter sites based on different query criteria.
* @param req DescribeZonesRequest
* @return DescribeZonesResponse
* @throws TencentCloudSDKException
*/
public DescribeZonesResponse DescribeZones(DescribeZonesRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DescribeZones", DescribeZonesResponse.class);
}
/**
*This API is used to download L4 logs.
* @param req DownloadL4LogsRequest
* @return DownloadL4LogsResponse
* @throws TencentCloudSDKException
*/
public DownloadL4LogsResponse DownloadL4Logs(DownloadL4LogsRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DownloadL4Logs", DownloadL4LogsResponse.class);
}
/**
*This API is used to download L7 logs.
* @param req DownloadL7LogsRequest
* @return DownloadL7LogsResponse
* @throws TencentCloudSDKException
*/
public DownloadL7LogsResponse DownloadL7Logs(DownloadL7LogsRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "DownloadL7Logs", DownloadL7LogsResponse.class);
}
/**
*This API is used to verify ownership of the site.
* @param req IdentifyZoneRequest
* @return IdentifyZoneResponse
* @throws TencentCloudSDKException
*/
public IdentifyZoneResponse IdentifyZone(IdentifyZoneRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "IdentifyZone", IdentifyZoneResponse.class);
}
/**
*This API is used to modify an accelerated domain name.
* @param req ModifyAccelerationDomainRequest
* @return ModifyAccelerationDomainResponse
* @throws TencentCloudSDKException
*/
public ModifyAccelerationDomainResponse ModifyAccelerationDomain(ModifyAccelerationDomainRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "ModifyAccelerationDomain", ModifyAccelerationDomainResponse.class);
}
/**
*This API is used to batch modify the status of accelerated domains.
* @param req ModifyAccelerationDomainStatusesRequest
* @return ModifyAccelerationDomainStatusesResponse
* @throws TencentCloudSDKException
*/
public ModifyAccelerationDomainStatusesResponse ModifyAccelerationDomainStatuses(ModifyAccelerationDomainStatusesRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "ModifyAccelerationDomainStatuses", ModifyAccelerationDomainStatusesResponse.class);
}
/**
*This API is used to modify an alias domain name.
* @param req ModifyAliasDomainRequest
* @return ModifyAliasDomainResponse
* @throws TencentCloudSDKException
*/
public ModifyAliasDomainResponse ModifyAliasDomain(ModifyAliasDomainRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "ModifyAliasDomain", ModifyAliasDomainResponse.class);
}
/**
*This API is used to modify the status of an alias domain name.
* @param req ModifyAliasDomainStatusRequest
* @return ModifyAliasDomainStatusResponse
* @throws TencentCloudSDKException
*/
public ModifyAliasDomainStatusResponse ModifyAliasDomainStatus(ModifyAliasDomainStatusRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "ModifyAliasDomainStatus", ModifyAliasDomainStatusResponse.class);
}
/**
*This API is used to modify an application proxy.
* @param req ModifyApplicationProxyRequest
* @return ModifyApplicationProxyResponse
* @throws TencentCloudSDKException
*/
public ModifyApplicationProxyResponse ModifyApplicationProxy(ModifyApplicationProxyRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "ModifyApplicationProxy", ModifyApplicationProxyResponse.class);
}
/**
*This API is used to modify an application proxy rule.
* @param req ModifyApplicationProxyRuleRequest
* @return ModifyApplicationProxyRuleResponse
* @throws TencentCloudSDKException
*/
public ModifyApplicationProxyRuleResponse ModifyApplicationProxyRule(ModifyApplicationProxyRuleRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "ModifyApplicationProxyRule", ModifyApplicationProxyRuleResponse.class);
}
/**
*This API is used to modify the status of an application proxy rule.
* @param req ModifyApplicationProxyRuleStatusRequest
* @return ModifyApplicationProxyRuleStatusResponse
* @throws TencentCloudSDKException
*/
public ModifyApplicationProxyRuleStatusResponse ModifyApplicationProxyRuleStatus(ModifyApplicationProxyRuleStatusRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "ModifyApplicationProxyRuleStatus", ModifyApplicationProxyRuleStatusResponse.class);
}
/**
*This API is used to modify the status of an application proxy.
* @param req ModifyApplicationProxyStatusRequest
* @return ModifyApplicationProxyStatusResponse
* @throws TencentCloudSDKException
*/
public ModifyApplicationProxyStatusResponse ModifyApplicationProxyStatus(ModifyApplicationProxyStatusRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "ModifyApplicationProxyStatus", ModifyApplicationProxyStatusResponse.class);
}
/**
*This API is used to configure the certificate of a site. You can use your own certificate or [apply for a free certificate](https://intl.cloud.tencent.com/document/product/1552/90437?from_cn_redirect=1).
To use an external certificate, upload the certificate to [SSL Certificates Console](https://console.cloud.tencent.com/certoview) first, and then input the certificate ID in this API. For details, see [Deploying Own Certificates to EdgeOne Domains](https://intl.cloud.tencent.com/document/product/1552/88874?from_cn_redirect=1).
* @param req ModifyHostsCertificateRequest
* @return ModifyHostsCertificateResponse
* @throws TencentCloudSDKException
*/
public ModifyHostsCertificateResponse ModifyHostsCertificate(ModifyHostsCertificateRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "ModifyHostsCertificate", ModifyHostsCertificateResponse.class);
}
/**
*This API is used to modify the configuration of an origin group. The original configuration will be overwritten.
* @param req ModifyOriginGroupRequest
* @return ModifyOriginGroupResponse
* @throws TencentCloudSDKException
*/
public ModifyOriginGroupResponse ModifyOriginGroup(ModifyOriginGroupRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "ModifyOriginGroup", ModifyOriginGroupResponse.class);
}
/**
*This API is used to modify a rule in the rule engine.
* @param req ModifyRuleRequest
* @return ModifyRuleResponse
* @throws TencentCloudSDKException
*/
public ModifyRuleResponse ModifyRule(ModifyRuleRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "ModifyRule", ModifyRuleResponse.class);
}
/**
*This API is used to modify a security IP group.
* @param req ModifySecurityIPGroupRequest
* @return ModifySecurityIPGroupResponse
* @throws TencentCloudSDKException
*/
public ModifySecurityIPGroupResponse ModifySecurityIPGroup(ModifySecurityIPGroupRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "ModifySecurityIPGroup", ModifySecurityIPGroupResponse.class);
}
/**
*This API is used to modify the web and bot security configurations.
* @param req ModifySecurityPolicyRequest
* @return ModifySecurityPolicyResponse
* @throws TencentCloudSDKException
*/
public ModifySecurityPolicyResponse ModifySecurityPolicy(ModifySecurityPolicyRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "ModifySecurityPolicy", ModifySecurityPolicyResponse.class);
}
/**
*This API is used to modify a site.
* @param req ModifyZoneRequest
* @return ModifyZoneResponse
* @throws TencentCloudSDKException
*/
public ModifyZoneResponse ModifyZone(ModifyZoneRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "ModifyZone", ModifyZoneResponse.class);
}
/**
*This API is used to modify the site configuration.
* @param req ModifyZoneSettingRequest
* @return ModifyZoneSettingResponse
* @throws TencentCloudSDKException
*/
public ModifyZoneSettingResponse ModifyZoneSetting(ModifyZoneSettingRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "ModifyZoneSetting", ModifyZoneSettingResponse.class);
}
/**
*This API is used to change the site status.
* @param req ModifyZoneStatusRequest
* @return ModifyZoneStatusResponse
* @throws TencentCloudSDKException
*/
public ModifyZoneStatusResponse ModifyZoneStatus(ModifyZoneStatusRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "ModifyZoneStatus", ModifyZoneStatusResponse.class);
}
/**
*This API is used to verify your ownership of a site or domain name. It's required in the CNAME access mode. After a site is verified, you don't need to verify the ownership again for domain names added to it in the future. For details, see [Ownership Verification](https://intl.cloud.tencent.com/document/product/1552/70789?from_cn_redirect=1).
For sites connected via the NS, you can query whether the NS is successfully switched through this API. For details, see [Modifying DNS Servers](https://intl.cloud.tencent.com/document/product/1552/90452?from_cn_redirect=1).
* @param req VerifyOwnershipRequest
* @return VerifyOwnershipResponse
* @throws TencentCloudSDKException
*/
public VerifyOwnershipResponse VerifyOwnership(VerifyOwnershipRequest req) throws TencentCloudSDKException{
req.setSkipSign(false);
return this.internalRequest(req, "VerifyOwnership", VerifyOwnershipResponse.class);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy