/* * Copyright (c) 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. */ namespace TencentCloud.Gaap.V20180529 { using Newtonsoft.Json; using System.Threading.Tasks; using TencentCloud.Common; using TencentCloud.Common.Profile; using TencentCloud.Gaap.V20180529.Models; public class GaapClient : AbstractClient{ private const string endpoint = "gaap.tencentcloudapi.com"; private const string version = "2018-05-29"; /// /// Client constructor. /// /// Credentials. /// Region name, such as "ap-guangzhou". public GaapClient(Credential credential, string region) : this(credential, region, new ClientProfile()) { } /// /// Client Constructor. /// /// Credentials. /// Region name, such as "ap-guangzhou". /// Client profiles. public GaapClient(Credential credential, string region, ClientProfile profile) : base(endpoint, version, credential, region, profile) { } /// /// 添加源站(服务器)信息,支持IP或域名 /// /// /// public async Task AddRealServers(AddRealServersRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "AddRealServers"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 添加源站(服务器)信息,支持IP或域名 /// /// /// public AddRealServersResponse AddRealServersSync(AddRealServersRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "AddRealServers"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口(BindListenerRealServers)用于TCP/UDP监听器绑定解绑源站。 /// 注意:本接口会解绑之前绑定的源站,绑定本次调用所选择的源站。例如:原来绑定的源站为A,B,C,本次调用的选择绑定的源站为C,D,E,那么调用后所绑定的源站为C,D,E。 /// /// /// public async Task BindListenerRealServers(BindListenerRealServersRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "BindListenerRealServers"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口(BindListenerRealServers)用于TCP/UDP监听器绑定解绑源站。 /// 注意:本接口会解绑之前绑定的源站,绑定本次调用所选择的源站。例如:原来绑定的源站为A,B,C,本次调用的选择绑定的源站为C,D,E,那么调用后所绑定的源站为C,D,E。 /// /// /// public BindListenerRealServersResponse BindListenerRealServersSync(BindListenerRealServersRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "BindListenerRealServers"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 该接口用于7层监听器的转发规则绑定源站。注意:本接口会解绑之前绑定的源站,绑定本次调用所选择的源站。 /// /// /// public async Task BindRuleRealServers(BindRuleRealServersRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "BindRuleRealServers"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 该接口用于7层监听器的转发规则绑定源站。注意:本接口会解绑之前绑定的源站,绑定本次调用所选择的源站。 /// /// /// public BindRuleRealServersResponse BindRuleRealServersSync(BindRuleRealServersRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "BindRuleRealServers"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口(CheckProxyCreate)用于查询能否创建指定配置的加速通道。 /// /// /// public async Task CheckProxyCreate(CheckProxyCreateRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "CheckProxyCreate"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口(CheckProxyCreate)用于查询能否创建指定配置的加速通道。 /// /// /// public CheckProxyCreateResponse CheckProxyCreateSync(CheckProxyCreateRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "CheckProxyCreate"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口(CloseProxies)用于关闭通道。通道关闭后,不再产生流量,但每天仍然收取通道基础配置费用。 /// /// /// public async Task CloseProxies(CloseProxiesRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "CloseProxies"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口(CloseProxies)用于关闭通道。通道关闭后,不再产生流量,但每天仍然收取通道基础配置费用。 /// /// /// public CloseProxiesResponse CloseProxiesSync(CloseProxiesRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "CloseProxies"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 关闭安全策略 /// /// /// public async Task CloseSecurityPolicy(CloseSecurityPolicyRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "CloseSecurityPolicy"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 关闭安全策略 /// /// /// public CloseSecurityPolicyResponse CloseSecurityPolicySync(CloseSecurityPolicyRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "CloseSecurityPolicy"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口(CreateCertificate)用于创建Gaap相关证书和配置文件,包括基础认证配置文件,客户端CA证书,服务器SSL证书,Gaap SSL证书以及源站CA证书。 /// /// /// public async Task CreateCertificate(CreateCertificateRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "CreateCertificate"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口(CreateCertificate)用于创建Gaap相关证书和配置文件,包括基础认证配置文件,客户端CA证书,服务器SSL证书,Gaap SSL证书以及源站CA证书。 /// /// /// public CreateCertificateResponse CreateCertificateSync(CreateCertificateRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "CreateCertificate"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口(CreateDomain)用于创建HTTP/HTTPS监听器的访问域名,客户端请求通过访问该域名来请求后端业务。 /// 该接口仅支持version3.0的通道。 /// /// /// public async Task CreateDomain(CreateDomainRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "CreateDomain"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口(CreateDomain)用于创建HTTP/HTTPS监听器的访问域名,客户端请求通过访问该域名来请求后端业务。 /// 该接口仅支持version3.0的通道。 /// /// /// public CreateDomainResponse CreateDomainSync(CreateDomainRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "CreateDomain"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 定制域名指定错误码的错误响应 /// /// /// public async Task CreateDomainErrorPageInfo(CreateDomainErrorPageInfoRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "CreateDomainErrorPageInfo"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 定制域名指定错误码的错误响应 /// /// /// public CreateDomainErrorPageInfoResponse CreateDomainErrorPageInfoSync(CreateDomainErrorPageInfoRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "CreateDomainErrorPageInfo"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 该接口(CreateHTTPListener)用于在通道实例下创建HTTP协议类型的监听器。 /// /// /// public async Task CreateHTTPListener(CreateHTTPListenerRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "CreateHTTPListener"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 该接口(CreateHTTPListener)用于在通道实例下创建HTTP协议类型的监听器。 /// /// /// public CreateHTTPListenerResponse CreateHTTPListenerSync(CreateHTTPListenerRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "CreateHTTPListener"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 该接口(CreateHTTPSListener)用于在通道实例下创建HTTPS协议类型的监听器。 /// /// /// public async Task CreateHTTPSListener(CreateHTTPSListenerRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "CreateHTTPSListener"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 该接口(CreateHTTPSListener)用于在通道实例下创建HTTPS协议类型的监听器。 /// /// /// public CreateHTTPSListenerResponse CreateHTTPSListenerSync(CreateHTTPSListenerRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "CreateHTTPSListener"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口(CreateProxy)用于创建/复制一个指定配置的加速通道。当复制通道时,需要设置新通道的基本配置参数,并设置ClonedProxyId来指定被复制的通道。 /// /// /// public async Task CreateProxy(CreateProxyRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "CreateProxy"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口(CreateProxy)用于创建/复制一个指定配置的加速通道。当复制通道时,需要设置新通道的基本配置参数,并设置ClonedProxyId来指定被复制的通道。 /// /// /// public CreateProxyResponse CreateProxySync(CreateProxyRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "CreateProxy"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口(CreateProxyGroup)用于创建通道组。 /// /// /// public async Task CreateProxyGroup(CreateProxyGroupRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "CreateProxyGroup"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口(CreateProxyGroup)用于创建通道组。 /// /// /// public CreateProxyGroupResponse CreateProxyGroupSync(CreateProxyGroupRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "CreateProxyGroup"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口(CreateProxyGroupDomain)用于创建通道组域名,并开启域名解析。 /// /// /// public async Task CreateProxyGroupDomain(CreateProxyGroupDomainRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "CreateProxyGroupDomain"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口(CreateProxyGroupDomain)用于创建通道组域名,并开启域名解析。 /// /// /// public CreateProxyGroupDomainResponse CreateProxyGroupDomainSync(CreateProxyGroupDomainRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "CreateProxyGroupDomain"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 该接口(CreateRule)用于创建HTTP/HTTPS监听器转发规则。 /// /// /// public async Task CreateRule(CreateRuleRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "CreateRule"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 该接口(CreateRule)用于创建HTTP/HTTPS监听器转发规则。 /// /// /// public CreateRuleResponse CreateRuleSync(CreateRuleRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "CreateRule"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 创建安全策略 /// /// /// public async Task CreateSecurityPolicy(CreateSecurityPolicyRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "CreateSecurityPolicy"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 创建安全策略 /// /// /// public CreateSecurityPolicyResponse CreateSecurityPolicySync(CreateSecurityPolicyRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "CreateSecurityPolicy"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 添加安全策略规则 /// /// /// public async Task CreateSecurityRules(CreateSecurityRulesRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "CreateSecurityRules"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 添加安全策略规则 /// /// /// public CreateSecurityRulesResponse CreateSecurityRulesSync(CreateSecurityRulesRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "CreateSecurityRules"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 该接口(CreateTCPListeners)用于批量创建单通道或者通道组的TCP协议类型的监听器。 /// /// /// public async Task CreateTCPListeners(CreateTCPListenersRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "CreateTCPListeners"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 该接口(CreateTCPListeners)用于批量创建单通道或者通道组的TCP协议类型的监听器。 /// /// /// public CreateTCPListenersResponse CreateTCPListenersSync(CreateTCPListenersRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "CreateTCPListeners"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 该接口(CreateUDPListeners)用于批量创建单通道或者通道组的UDP协议类型的监听器。 /// /// /// public async Task CreateUDPListeners(CreateUDPListenersRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "CreateUDPListeners"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 该接口(CreateUDPListeners)用于批量创建单通道或者通道组的UDP协议类型的监听器。 /// /// /// public CreateUDPListenersResponse CreateUDPListenersSync(CreateUDPListenersRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "CreateUDPListeners"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口(DeleteCertificate)用于删除证书。 /// /// /// public async Task DeleteCertificate(DeleteCertificateRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "DeleteCertificate"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口(DeleteCertificate)用于删除证书。 /// /// /// public DeleteCertificateResponse DeleteCertificateSync(DeleteCertificateRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "DeleteCertificate"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口(DeleteDomain)仅适用于7层监听器,用于删除该监听器下对应域名及域名下的所有规则,所有已绑定源站的规则将自动解绑。 /// /// /// public async Task DeleteDomain(DeleteDomainRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "DeleteDomain"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口(DeleteDomain)仅适用于7层监听器,用于删除该监听器下对应域名及域名下的所有规则,所有已绑定源站的规则将自动解绑。 /// /// /// public DeleteDomainResponse DeleteDomainSync(DeleteDomainRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "DeleteDomain"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 删除域名的定制错误 /// /// /// public async Task DeleteDomainErrorPageInfo(DeleteDomainErrorPageInfoRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "DeleteDomainErrorPageInfo"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 删除域名的定制错误 /// /// /// public DeleteDomainErrorPageInfoResponse DeleteDomainErrorPageInfoSync(DeleteDomainErrorPageInfoRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "DeleteDomainErrorPageInfo"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 该接口(DeleteListeners)用于批量删除通道或通道组的监听器,包括4/7层监听器。 /// /// /// public async Task DeleteListeners(DeleteListenersRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "DeleteListeners"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 该接口(DeleteListeners)用于批量删除通道或通道组的监听器,包括4/7层监听器。 /// /// /// public DeleteListenersResponse DeleteListenersSync(DeleteListenersRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "DeleteListeners"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口(DeleteProxyGroup)用于删除通道组。 /// /// /// public async Task DeleteProxyGroup(DeleteProxyGroupRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "DeleteProxyGroup"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口(DeleteProxyGroup)用于删除通道组。 /// /// /// public DeleteProxyGroupResponse DeleteProxyGroupSync(DeleteProxyGroupRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "DeleteProxyGroup"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 该接口(DeleteRule)用于删除HTTP/HTTPS监听器的转发规则。 /// /// /// public async Task DeleteRule(DeleteRuleRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "DeleteRule"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 该接口(DeleteRule)用于删除HTTP/HTTPS监听器的转发规则。 /// /// /// public DeleteRuleResponse DeleteRuleSync(DeleteRuleRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "DeleteRule"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 删除安全策略 /// /// /// public async Task DeleteSecurityPolicy(DeleteSecurityPolicyRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "DeleteSecurityPolicy"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 删除安全策略 /// /// /// public DeleteSecurityPolicyResponse DeleteSecurityPolicySync(DeleteSecurityPolicyRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "DeleteSecurityPolicy"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 删除安全策略规则 /// /// /// public async Task DeleteSecurityRules(DeleteSecurityRulesRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "DeleteSecurityRules"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 删除安全策略规则 /// /// /// public DeleteSecurityRulesResponse DeleteSecurityRulesSync(DeleteSecurityRulesRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "DeleteSecurityRules"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口(DescribeAccessRegions)用于查询加速区域,即客户端接入区域。 /// /// /// public async Task DescribeAccessRegions(DescribeAccessRegionsRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "DescribeAccessRegions"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口(DescribeAccessRegions)用于查询加速区域,即客户端接入区域。 /// /// /// public DescribeAccessRegionsResponse DescribeAccessRegionsSync(DescribeAccessRegionsRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "DescribeAccessRegions"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口(DescribeAccessRegionsByDestRegion)根据源站区域查询可用的加速区域列表 /// /// /// public async Task DescribeAccessRegionsByDestRegion(DescribeAccessRegionsByDestRegionRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "DescribeAccessRegionsByDestRegion"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口(DescribeAccessRegionsByDestRegion)根据源站区域查询可用的加速区域列表 /// /// /// public DescribeAccessRegionsByDestRegionResponse DescribeAccessRegionsByDestRegionSync(DescribeAccessRegionsByDestRegionRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "DescribeAccessRegionsByDestRegion"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口(DescribeCertificateDetail)用于查询证书详情,包括证书ID,证书名字,证书类型,证书内容以及密钥等信息。 /// /// /// public async Task DescribeCertificateDetail(DescribeCertificateDetailRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "DescribeCertificateDetail"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口(DescribeCertificateDetail)用于查询证书详情,包括证书ID,证书名字,证书类型,证书内容以及密钥等信息。 /// /// /// public DescribeCertificateDetailResponse DescribeCertificateDetailSync(DescribeCertificateDetailRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "DescribeCertificateDetail"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口(DescribeCertificates)用来查询可以使用的证书列表。 /// /// /// public async Task DescribeCertificates(DescribeCertificatesRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "DescribeCertificates"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口(DescribeCertificates)用来查询可以使用的证书列表。 /// /// /// public DescribeCertificatesResponse DescribeCertificatesSync(DescribeCertificatesRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "DescribeCertificates"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口(DescribeCountryAreaMapping)用于获取国家地区编码映射表。 /// /// /// public async Task DescribeCountryAreaMapping(DescribeCountryAreaMappingRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "DescribeCountryAreaMapping"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口(DescribeCountryAreaMapping)用于获取国家地区编码映射表。 /// /// /// public DescribeCountryAreaMappingResponse DescribeCountryAreaMappingSync(DescribeCountryAreaMappingRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "DescribeCountryAreaMapping"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口(DescribeDestRegions)用于查询源站区域,即源站服务器所在区域。 /// /// /// public async Task DescribeDestRegions(DescribeDestRegionsRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "DescribeDestRegions"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口(DescribeDestRegions)用于查询源站区域,即源站服务器所在区域。 /// /// /// public DescribeDestRegionsResponse DescribeDestRegionsSync(DescribeDestRegionsRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "DescribeDestRegions"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 查询目前定制域名的错误响应 /// /// /// public async Task DescribeDomainErrorPageInfo(DescribeDomainErrorPageInfoRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "DescribeDomainErrorPageInfo"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 查询目前定制域名的错误响应 /// /// /// public DescribeDomainErrorPageInfoResponse DescribeDomainErrorPageInfoSync(DescribeDomainErrorPageInfoRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "DescribeDomainErrorPageInfo"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 根据定制错误ID查询错误响应 /// /// /// public async Task DescribeDomainErrorPageInfoByIds(DescribeDomainErrorPageInfoByIdsRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "DescribeDomainErrorPageInfoByIds"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 根据定制错误ID查询错误响应 /// /// /// public DescribeDomainErrorPageInfoByIdsResponse DescribeDomainErrorPageInfoByIdsSync(DescribeDomainErrorPageInfoByIdsRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "DescribeDomainErrorPageInfoByIds"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 该接口为内部接口,用于查询可以获取统计数据的通道组和通道信息 /// /// /// public async Task DescribeGroupAndStatisticsProxy(DescribeGroupAndStatisticsProxyRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "DescribeGroupAndStatisticsProxy"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 该接口为内部接口,用于查询可以获取统计数据的通道组和通道信息 /// /// /// public DescribeGroupAndStatisticsProxyResponse DescribeGroupAndStatisticsProxySync(DescribeGroupAndStatisticsProxyRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "DescribeGroupAndStatisticsProxy"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口(DescribeGroupDomainConfig)用于获取通道组域名解析配置详情。 /// /// /// public async Task DescribeGroupDomainConfig(DescribeGroupDomainConfigRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "DescribeGroupDomainConfig"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口(DescribeGroupDomainConfig)用于获取通道组域名解析配置详情。 /// /// /// public DescribeGroupDomainConfigResponse DescribeGroupDomainConfigSync(DescribeGroupDomainConfigRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "DescribeGroupDomainConfig"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 该接口(DescribeHTTPListeners)用来查询HTTP监听器信息。 /// /// /// public async Task DescribeHTTPListeners(DescribeHTTPListenersRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "DescribeHTTPListeners"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 该接口(DescribeHTTPListeners)用来查询HTTP监听器信息。 /// /// /// public DescribeHTTPListenersResponse DescribeHTTPListenersSync(DescribeHTTPListenersRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "DescribeHTTPListeners"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口(DescribeHTTPSListeners)用来查询HTTPS监听器信息。 /// /// /// public async Task DescribeHTTPSListeners(DescribeHTTPSListenersRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "DescribeHTTPSListeners"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口(DescribeHTTPSListeners)用来查询HTTPS监听器信息。 /// /// /// public DescribeHTTPSListenersResponse DescribeHTTPSListenersSync(DescribeHTTPSListenersRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "DescribeHTTPSListeners"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 该接口(DescribeListenerRealServers)用于查询TCP/UDP监听器源站列表,包括该监听器已经绑定的源站列表以及可以绑定的源站列表。 /// /// /// public async Task DescribeListenerRealServers(DescribeListenerRealServersRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "DescribeListenerRealServers"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 该接口(DescribeListenerRealServers)用于查询TCP/UDP监听器源站列表,包括该监听器已经绑定的源站列表以及可以绑定的源站列表。 /// /// /// public DescribeListenerRealServersResponse DescribeListenerRealServersSync(DescribeListenerRealServersRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "DescribeListenerRealServers"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 该接口用于查询监听器统计数据,包括出入带宽,出入包量,并发数据。支持300秒, 3600秒和86400秒的细粒度,取值为细粒度范围内最大值。 /// /// /// public async Task DescribeListenerStatistics(DescribeListenerStatisticsRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "DescribeListenerStatistics"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 该接口用于查询监听器统计数据,包括出入带宽,出入包量,并发数据。支持300秒, 3600秒和86400秒的细粒度,取值为细粒度范围内最大值。 /// /// /// public DescribeListenerStatisticsResponse DescribeListenerStatisticsSync(DescribeListenerStatisticsRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "DescribeListenerStatistics"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口(DescribeProxies)用于查询通道实例列表。 /// /// /// public async Task DescribeProxies(DescribeProxiesRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "DescribeProxies"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口(DescribeProxies)用于查询通道实例列表。 /// /// /// public DescribeProxiesResponse DescribeProxiesSync(DescribeProxiesRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "DescribeProxies"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口(DescribeProxiesStatus)用于查询通道状态列表。 /// /// /// public async Task DescribeProxiesStatus(DescribeProxiesStatusRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "DescribeProxiesStatus"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口(DescribeProxiesStatus)用于查询通道状态列表。 /// /// /// public DescribeProxiesStatusResponse DescribeProxiesStatusSync(DescribeProxiesStatusRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "DescribeProxiesStatus"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 该接口为内部接口,用于查询可以获取统计数据的通道和监听器信息 /// /// /// public async Task DescribeProxyAndStatisticsListeners(DescribeProxyAndStatisticsListenersRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "DescribeProxyAndStatisticsListeners"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 该接口为内部接口,用于查询可以获取统计数据的通道和监听器信息 /// /// /// public DescribeProxyAndStatisticsListenersResponse DescribeProxyAndStatisticsListenersSync(DescribeProxyAndStatisticsListenersRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "DescribeProxyAndStatisticsListeners"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口(DescribeProxyDetail)用于查询通道详情。 /// /// /// public async Task DescribeProxyDetail(DescribeProxyDetailRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "DescribeProxyDetail"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口(DescribeProxyDetail)用于查询通道详情。 /// /// /// public DescribeProxyDetailResponse DescribeProxyDetailSync(DescribeProxyDetailRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "DescribeProxyDetail"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口(DescribeProxyGroupDetails)用于查询通道组详情。 /// /// /// public async Task DescribeProxyGroupDetails(DescribeProxyGroupDetailsRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "DescribeProxyGroupDetails"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口(DescribeProxyGroupDetails)用于查询通道组详情。 /// /// /// public DescribeProxyGroupDetailsResponse DescribeProxyGroupDetailsSync(DescribeProxyGroupDetailsRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "DescribeProxyGroupDetails"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口(DescribeProxyGroupList)用于拉取通道组列表及各通道组基本信息。 /// /// /// public async Task DescribeProxyGroupList(DescribeProxyGroupListRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "DescribeProxyGroupList"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口(DescribeProxyGroupList)用于拉取通道组列表及各通道组基本信息。 /// /// /// public DescribeProxyGroupListResponse DescribeProxyGroupListSync(DescribeProxyGroupListRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "DescribeProxyGroupList"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 该接口用于查询监听器统计数据,包括出入带宽,出入包量,并发数据。支持300, 3600和86400的细粒度,取值为细粒度范围内最大值。 /// /// /// public async Task DescribeProxyGroupStatistics(DescribeProxyGroupStatisticsRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "DescribeProxyGroupStatistics"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 该接口用于查询监听器统计数据,包括出入带宽,出入包量,并发数据。支持300, 3600和86400的细粒度,取值为细粒度范围内最大值。 /// /// /// public DescribeProxyGroupStatisticsResponse DescribeProxyGroupStatisticsSync(DescribeProxyGroupStatisticsRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "DescribeProxyGroupStatistics"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 该接口用于查询监听器统计数据,包括出入带宽,出入包量,并发,丢包和时延数据。支持300, 3600和86400的细粒度,取值为细粒度范围内最大值。 /// /// /// public async Task DescribeProxyStatistics(DescribeProxyStatisticsRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "DescribeProxyStatistics"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 该接口用于查询监听器统计数据,包括出入带宽,出入包量,并发,丢包和时延数据。支持300, 3600和86400的细粒度,取值为细粒度范围内最大值。 /// /// /// public DescribeProxyStatisticsResponse DescribeProxyStatisticsSync(DescribeProxyStatisticsRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "DescribeProxyStatistics"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 该接口(DescribeRealServerStatistics)用于查询源站健康检查结果的统计数据。源站状态展示位为1:正常或者0:异常。查询的源站需要在监听器或者规则上进行了绑定,查询时需指定绑定的监听器或者规则ID。该接口支持最近1,3,6,12,24小时内1分钟细粒度的源站状态统计数据展示。 /// /// /// public async Task DescribeRealServerStatistics(DescribeRealServerStatisticsRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "DescribeRealServerStatistics"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 该接口(DescribeRealServerStatistics)用于查询源站健康检查结果的统计数据。源站状态展示位为1:正常或者0:异常。查询的源站需要在监听器或者规则上进行了绑定,查询时需指定绑定的监听器或者规则ID。该接口支持最近1,3,6,12,24小时内1分钟细粒度的源站状态统计数据展示。 /// /// /// public DescribeRealServerStatisticsResponse DescribeRealServerStatisticsSync(DescribeRealServerStatisticsRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "DescribeRealServerStatistics"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口(DescribeRealServers)用于查询源站信息,可以根据项目名查询所有的源站信息,此外支持指定IP机或者域名的源站模糊查询。 /// /// /// public async Task DescribeRealServers(DescribeRealServersRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "DescribeRealServers"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口(DescribeRealServers)用于查询源站信息,可以根据项目名查询所有的源站信息,此外支持指定IP机或者域名的源站模糊查询。 /// /// /// public DescribeRealServersResponse DescribeRealServersSync(DescribeRealServersRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "DescribeRealServers"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口(DescribeRealServersStatus)用于查询源站是否已被规则或者监听器绑定 /// /// /// public async Task DescribeRealServersStatus(DescribeRealServersStatusRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "DescribeRealServersStatus"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口(DescribeRealServersStatus)用于查询源站是否已被规则或者监听器绑定 /// /// /// public DescribeRealServersStatusResponse DescribeRealServersStatusSync(DescribeRealServersStatusRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "DescribeRealServersStatus"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 该接口(DescribeRegionAndPrice)用于获取源站区域和带宽梯度价格 /// /// /// public async Task DescribeRegionAndPrice(DescribeRegionAndPriceRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "DescribeRegionAndPrice"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 该接口(DescribeRegionAndPrice)用于获取源站区域和带宽梯度价格 /// /// /// public DescribeRegionAndPriceResponse DescribeRegionAndPriceSync(DescribeRegionAndPriceRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "DescribeRegionAndPrice"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口(DescribeResourcesByTag)用于根据标签来查询对应的资源信息,包括通道,通道组和源站。 /// /// /// public async Task DescribeResourcesByTag(DescribeResourcesByTagRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "DescribeResourcesByTag"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口(DescribeResourcesByTag)用于根据标签来查询对应的资源信息,包括通道,通道组和源站。 /// /// /// public DescribeResourcesByTagResponse DescribeResourcesByTagSync(DescribeResourcesByTagRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "DescribeResourcesByTag"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口(DescribeRuleRealServers)用于查询转发规则相关的源站信息, 包括该规则可绑定的源站信息和已绑定的源站信息。 /// /// /// public async Task DescribeRuleRealServers(DescribeRuleRealServersRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "DescribeRuleRealServers"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口(DescribeRuleRealServers)用于查询转发规则相关的源站信息, 包括该规则可绑定的源站信息和已绑定的源站信息。 /// /// /// public DescribeRuleRealServersResponse DescribeRuleRealServersSync(DescribeRuleRealServersRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "DescribeRuleRealServers"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口(DescribeRules)用于查询监听器下的所有规则信息,包括规则域名,路径以及该规则下所绑定的源站列表。当通道版本为3.0时,该接口会返回该域名对应的高级认证配置信息。 /// /// /// public async Task DescribeRules(DescribeRulesRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "DescribeRules"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口(DescribeRules)用于查询监听器下的所有规则信息,包括规则域名,路径以及该规则下所绑定的源站列表。当通道版本为3.0时,该接口会返回该域名对应的高级认证配置信息。 /// /// /// public DescribeRulesResponse DescribeRulesSync(DescribeRulesRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "DescribeRules"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口(DescribeRulesByRuleIds)用于根据规则ID拉取规则信息列表。支持一个或者多个规则信息的拉取。一次最多支持10个规则信息的拉取。 /// /// /// public async Task DescribeRulesByRuleIds(DescribeRulesByRuleIdsRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "DescribeRulesByRuleIds"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口(DescribeRulesByRuleIds)用于根据规则ID拉取规则信息列表。支持一个或者多个规则信息的拉取。一次最多支持10个规则信息的拉取。 /// /// /// public DescribeRulesByRuleIdsResponse DescribeRulesByRuleIdsSync(DescribeRulesByRuleIdsRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "DescribeRulesByRuleIds"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 获取安全策略详情 /// /// /// public async Task DescribeSecurityPolicyDetail(DescribeSecurityPolicyDetailRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "DescribeSecurityPolicyDetail"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 获取安全策略详情 /// /// /// public DescribeSecurityPolicyDetailResponse DescribeSecurityPolicyDetailSync(DescribeSecurityPolicyDetailRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "DescribeSecurityPolicyDetail"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口(DescribeSecurityRules)用于根据安全规则ID查询安全规则详情列表。支持一个或多个安全规则的查询。一次最多支持20个安全规则的查询。 /// /// /// public async Task DescribeSecurityRules(DescribeSecurityRulesRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "DescribeSecurityRules"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口(DescribeSecurityRules)用于根据安全规则ID查询安全规则详情列表。支持一个或多个安全规则的查询。一次最多支持20个安全规则的查询。 /// /// /// public DescribeSecurityRulesResponse DescribeSecurityRulesSync(DescribeSecurityRulesRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "DescribeSecurityRules"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 该接口(DescribeTCPListeners)用于查询单通道或者通道组下的TCP监听器信息。 /// /// /// public async Task DescribeTCPListeners(DescribeTCPListenersRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "DescribeTCPListeners"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 该接口(DescribeTCPListeners)用于查询单通道或者通道组下的TCP监听器信息。 /// /// /// public DescribeTCPListenersResponse DescribeTCPListenersSync(DescribeTCPListenersRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "DescribeTCPListeners"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 该接口(DescribeUDPListeners)用于查询单通道或者通道组下的UDP监听器信息 /// /// /// public async Task DescribeUDPListeners(DescribeUDPListenersRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "DescribeUDPListeners"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 该接口(DescribeUDPListeners)用于查询单通道或者通道组下的UDP监听器信息 /// /// /// public DescribeUDPListenersResponse DescribeUDPListenersSync(DescribeUDPListenersRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "DescribeUDPListeners"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口(DestroyProxies)用于销毁。通道销毁后,不再产生任何费用。 /// /// /// public async Task DestroyProxies(DestroyProxiesRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "DestroyProxies"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口(DestroyProxies)用于销毁。通道销毁后,不再产生任何费用。 /// /// /// public DestroyProxiesResponse DestroyProxiesSync(DestroyProxiesRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "DestroyProxies"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口(InquiryPriceCreateProxy)用于创建加速通道询价。 /// /// /// public async Task InquiryPriceCreateProxy(InquiryPriceCreateProxyRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "InquiryPriceCreateProxy"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口(InquiryPriceCreateProxy)用于创建加速通道询价。 /// /// /// public InquiryPriceCreateProxyResponse InquiryPriceCreateProxySync(InquiryPriceCreateProxyRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "InquiryPriceCreateProxy"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口(ModifyCertificate)用于修改监听器下的域名对应的证书。该接口仅适用于version3.0的通道。 /// /// /// public async Task ModifyCertificate(ModifyCertificateRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "ModifyCertificate"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口(ModifyCertificate)用于修改监听器下的域名对应的证书。该接口仅适用于version3.0的通道。 /// /// /// public ModifyCertificateResponse ModifyCertificateSync(ModifyCertificateRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "ModifyCertificate"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口(ModifyCertificateAttributes)用于修改证书,包括证明名字以及证书内容。 /// /// /// public async Task ModifyCertificateAttributes(ModifyCertificateAttributesRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "ModifyCertificateAttributes"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口(ModifyCertificateAttributes)用于修改证书,包括证明名字以及证书内容。 /// /// /// public ModifyCertificateAttributesResponse ModifyCertificateAttributesSync(ModifyCertificateAttributesRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "ModifyCertificateAttributes"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口(ModifyDomain)用于监听器下的域名。当通道版本为3.0时,支持对该域名所对应的证书修改。 /// /// /// public async Task ModifyDomain(ModifyDomainRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "ModifyDomain"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口(ModifyDomain)用于监听器下的域名。当通道版本为3.0时,支持对该域名所对应的证书修改。 /// /// /// public ModifyDomainResponse ModifyDomainSync(ModifyDomainRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "ModifyDomain"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口(ModifyGroupDomainConfig)用于配置通道组就近接入域名。 /// /// /// public async Task ModifyGroupDomainConfig(ModifyGroupDomainConfigRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "ModifyGroupDomainConfig"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口(ModifyGroupDomainConfig)用于配置通道组就近接入域名。 /// /// /// public ModifyGroupDomainConfigResponse ModifyGroupDomainConfigSync(ModifyGroupDomainConfigRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "ModifyGroupDomainConfig"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 该接口(ModifyHTTPListenerAttribute)用于修改通道的HTTP监听器配置信息,目前仅支持修改监听器的名称。 /// 注意:通道组通道暂时不支持HTTP/HTTPS监听器。 /// /// /// public async Task ModifyHTTPListenerAttribute(ModifyHTTPListenerAttributeRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "ModifyHTTPListenerAttribute"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 该接口(ModifyHTTPListenerAttribute)用于修改通道的HTTP监听器配置信息,目前仅支持修改监听器的名称。 /// 注意:通道组通道暂时不支持HTTP/HTTPS监听器。 /// /// /// public ModifyHTTPListenerAttributeResponse ModifyHTTPListenerAttributeSync(ModifyHTTPListenerAttributeRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "ModifyHTTPListenerAttribute"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 该接口(ModifyHTTPSListenerAttribute)用于修改HTTPS监听器配置,当前不支持通道组和v1版本通道。 /// /// /// public async Task ModifyHTTPSListenerAttribute(ModifyHTTPSListenerAttributeRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "ModifyHTTPSListenerAttribute"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 该接口(ModifyHTTPSListenerAttribute)用于修改HTTPS监听器配置,当前不支持通道组和v1版本通道。 /// /// /// public ModifyHTTPSListenerAttributeResponse ModifyHTTPSListenerAttributeSync(ModifyHTTPSListenerAttributeRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "ModifyHTTPSListenerAttribute"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口(ModifyProxiesAttribute)用于修改实例的属性(目前只支持修改通道的名称)。 /// /// /// public async Task ModifyProxiesAttribute(ModifyProxiesAttributeRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "ModifyProxiesAttribute"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口(ModifyProxiesAttribute)用于修改实例的属性(目前只支持修改通道的名称)。 /// /// /// public ModifyProxiesAttributeResponse ModifyProxiesAttributeSync(ModifyProxiesAttributeRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "ModifyProxiesAttribute"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口(ModifyProxiesProject)用于修改通道所属项目。 /// /// /// public async Task ModifyProxiesProject(ModifyProxiesProjectRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "ModifyProxiesProject"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口(ModifyProxiesProject)用于修改通道所属项目。 /// /// /// public ModifyProxiesProjectResponse ModifyProxiesProjectSync(ModifyProxiesProjectRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "ModifyProxiesProject"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口(ModifyProxyConfiguration)用于修改通道的配置。根据当前业务的容量需求,扩容或缩容相关通道的配置。仅支持Scalarable为1的通道,Scalarable可通过接口DescribeProxies获取。 /// /// /// public async Task ModifyProxyConfiguration(ModifyProxyConfigurationRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "ModifyProxyConfiguration"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口(ModifyProxyConfiguration)用于修改通道的配置。根据当前业务的容量需求,扩容或缩容相关通道的配置。仅支持Scalarable为1的通道,Scalarable可通过接口DescribeProxies获取。 /// /// /// public ModifyProxyConfigurationResponse ModifyProxyConfigurationSync(ModifyProxyConfigurationRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "ModifyProxyConfiguration"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口(ModifyProxyGroupAttribute)用于修改通道组属性,目前仅支持修改通道组名称。 /// /// /// public async Task ModifyProxyGroupAttribute(ModifyProxyGroupAttributeRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "ModifyProxyGroupAttribute"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口(ModifyProxyGroupAttribute)用于修改通道组属性,目前仅支持修改通道组名称。 /// /// /// public ModifyProxyGroupAttributeResponse ModifyProxyGroupAttributeSync(ModifyProxyGroupAttributeRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "ModifyProxyGroupAttribute"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口(ModifyRealServerName)用于修改源站的名称 /// /// /// public async Task ModifyRealServerName(ModifyRealServerNameRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "ModifyRealServerName"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口(ModifyRealServerName)用于修改源站的名称 /// /// /// public ModifyRealServerNameResponse ModifyRealServerNameSync(ModifyRealServerNameRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "ModifyRealServerName"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口(ModifyRuleAttribute)用于修改转发规则的信息,包括健康检查的配置以及转发策略。 /// /// /// public async Task ModifyRuleAttribute(ModifyRuleAttributeRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "ModifyRuleAttribute"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口(ModifyRuleAttribute)用于修改转发规则的信息,包括健康检查的配置以及转发策略。 /// /// /// public ModifyRuleAttributeResponse ModifyRuleAttributeSync(ModifyRuleAttributeRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "ModifyRuleAttribute"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 修改安全策略规则名 /// /// /// public async Task ModifySecurityRule(ModifySecurityRuleRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "ModifySecurityRule"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 修改安全策略规则名 /// /// /// public ModifySecurityRuleResponse ModifySecurityRuleSync(ModifySecurityRuleRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "ModifySecurityRule"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口(ModifyTCPListenerAttribute)用于修改通道实例下TCP监听器配置,包括健康检查的配置,调度策略。 /// /// /// public async Task ModifyTCPListenerAttribute(ModifyTCPListenerAttributeRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "ModifyTCPListenerAttribute"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口(ModifyTCPListenerAttribute)用于修改通道实例下TCP监听器配置,包括健康检查的配置,调度策略。 /// /// /// public ModifyTCPListenerAttributeResponse ModifyTCPListenerAttributeSync(ModifyTCPListenerAttributeRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "ModifyTCPListenerAttribute"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口(ModifyUDPListenerAttribute)用于修改通道实例下UDP监听器配置,包括监听器名称和调度策略的修改。 /// /// /// public async Task ModifyUDPListenerAttribute(ModifyUDPListenerAttributeRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "ModifyUDPListenerAttribute"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口(ModifyUDPListenerAttribute)用于修改通道实例下UDP监听器配置,包括监听器名称和调度策略的修改。 /// /// /// public ModifyUDPListenerAttributeResponse ModifyUDPListenerAttributeSync(ModifyUDPListenerAttributeRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "ModifyUDPListenerAttribute"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 该接口(OpenProxies)用于开启一条或者多条通道。 /// /// /// public async Task OpenProxies(OpenProxiesRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "OpenProxies"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 该接口(OpenProxies)用于开启一条或者多条通道。 /// /// /// public OpenProxiesResponse OpenProxiesSync(OpenProxiesRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "OpenProxies"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 开启安全策略 /// /// /// public async Task OpenSecurityPolicy(OpenSecurityPolicyRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "OpenSecurityPolicy"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 开启安全策略 /// /// /// public OpenSecurityPolicyResponse OpenSecurityPolicySync(OpenSecurityPolicyRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "OpenSecurityPolicy"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 删除已添加的源站(服务器)IP或域名 /// /// /// public async Task RemoveRealServers(RemoveRealServersRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "RemoveRealServers"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 删除已添加的源站(服务器)IP或域名 /// /// /// public RemoveRealServersResponse RemoveRealServersSync(RemoveRealServersRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "RemoveRealServers"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口(SetAuthentication)用于通道的高级认证配置,包括认证方式选择,以及各种认证方式对应的证书选择。仅支持Version3.0的通道。 /// /// /// public async Task SetAuthentication(SetAuthenticationRequest req) { JsonResponseModel rsp = null; try { var strResp = await this.InternalRequest(req, "SetAuthentication"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } /// /// 本接口(SetAuthentication)用于通道的高级认证配置,包括认证方式选择,以及各种认证方式对应的证书选择。仅支持Version3.0的通道。 /// /// /// public SetAuthenticationResponse SetAuthenticationSync(SetAuthenticationRequest req) { JsonResponseModel rsp = null; try { var strResp = this.InternalRequestSync(req, "SetAuthentication"); rsp = JsonConvert.DeserializeObject>(strResp); } catch (JsonSerializationException e) { throw new TencentCloudSDKException(e.Message); } return rsp.Response; } } }