Class: TencentCloud::Gaap::V20180529::Client
- Inherits:
-
Common::AbstractClient
- Object
- Common::AbstractClient
- TencentCloud::Gaap::V20180529::Client
- Defined in:
- lib/v20180529/client.rb
Instance Method Summary collapse
-
#AddRealServers(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::AddRealServersResponse`.
-
#BanAndRecoverProxy(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::BanAndRecoverProxyResponse`.
-
#BindListenerRealServers(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::BindListenerRealServersResponse`.
-
#BindRuleRealServers(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::BindRuleRealServersResponse`.
-
#CheckProxyCreate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::CheckProxyCreateResponse`.
-
#CloseProxies(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::CloseProxiesResponse`.
-
#CloseProxyGroup(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::CloseProxyGroupResponse`.
-
#CloseSecurityPolicy(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::CloseSecurityPolicyResponse`.
-
#CreateCertificate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::CreateCertificateResponse`.
-
#CreateCustomHeader(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::CreateCustomHeaderResponse`.
-
#CreateDomain(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::CreateDomainResponse`.
-
#CreateDomainErrorPageInfo(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::CreateDomainErrorPageInfoResponse`.
-
#CreateGlobalDomain(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::CreateGlobalDomainResponse`.
-
#CreateGlobalDomainDns(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::CreateGlobalDomainDnsResponse`.
-
#CreateHTTPListener(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::CreateHTTPListenerResponse`.
-
#CreateHTTPSListener(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::CreateHTTPSListenerResponse`.
-
#CreateProxy(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::CreateProxyResponse`.
-
#CreateProxyGroup(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::CreateProxyGroupResponse`.
-
#CreateProxyGroupDomain(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::CreateProxyGroupDomainResponse`.
-
#CreateRule(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::CreateRuleResponse`.
-
#CreateSecurityPolicy(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::CreateSecurityPolicyResponse`.
-
#CreateSecurityRules(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::CreateSecurityRulesResponse`.
-
#CreateTCPListeners(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::CreateTCPListenersResponse`.
-
#CreateUDPListeners(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::CreateUDPListenersResponse`.
-
#DeleteCertificate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::DeleteCertificateResponse`.
-
#DeleteDomain(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::DeleteDomainResponse`.
-
#DeleteDomainErrorPageInfo(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::DeleteDomainErrorPageInfoResponse`.
-
#DeleteGlobalDomain(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::DeleteGlobalDomainResponse`.
-
#DeleteGlobalDomainDns(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::DeleteGlobalDomainDnsResponse`.
-
#DeleteListeners(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::DeleteListenersResponse`.
-
#DeleteProxyGroup(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::DeleteProxyGroupResponse`.
-
#DeleteRule(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::DeleteRuleResponse`.
-
#DeleteSecurityPolicy(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::DeleteSecurityPolicyResponse`.
-
#DeleteSecurityRules(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::DeleteSecurityRulesResponse`.
-
#DescribeAccessRegions(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::DescribeAccessRegionsResponse`.
-
#DescribeAccessRegionsByDestRegion(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::DescribeAccessRegionsByDestRegionResponse`.
-
#DescribeAuthSignature(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::DescribeAuthSignatureResponse`.
-
#DescribeBlackHeader(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::DescribeBlackHeaderResponse`.
-
#DescribeCertificateDetail(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::DescribeCertificateDetailResponse`.
-
#DescribeCertificates(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::DescribeCertificatesResponse`.
-
#DescribeCountryAreaMapping(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::DescribeCountryAreaMappingResponse`.
-
#DescribeCrossBorderProxies(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::DescribeCrossBorderProxiesResponse`.
-
#DescribeCustomHeader(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::DescribeCustomHeaderResponse`.
-
#DescribeDestRegions(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::DescribeDestRegionsResponse`.
-
#DescribeDomainErrorPageInfo(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::DescribeDomainErrorPageInfoResponse`.
-
#DescribeDomainErrorPageInfoByIds(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::DescribeDomainErrorPageInfoByIdsResponse`.
-
#DescribeGlobalDomainDns(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::DescribeGlobalDomainDnsResponse`.
-
#DescribeGlobalDomains(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::DescribeGlobalDomainsResponse`.
-
#DescribeGroupAndStatisticsProxy(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::DescribeGroupAndStatisticsProxyResponse`.
-
#DescribeGroupDomainConfig(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::DescribeGroupDomainConfigResponse`.
-
#DescribeHTTPListeners(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::DescribeHTTPListenersResponse`.
-
#DescribeHTTPSListeners(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::DescribeHTTPSListenersResponse`.
-
#DescribeListenerRealServers(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::DescribeListenerRealServersResponse`.
-
#DescribeListenerStatistics(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::DescribeListenerStatisticsResponse`.
-
#DescribeProxies(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::DescribeProxiesResponse`.
-
#DescribeProxiesStatus(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::DescribeProxiesStatusResponse`.
-
#DescribeProxyAndStatisticsListeners(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::DescribeProxyAndStatisticsListenersResponse`.
-
#DescribeProxyDetail(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::DescribeProxyDetailResponse`.
-
#DescribeProxyGroupDetails(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::DescribeProxyGroupDetailsResponse`.
-
#DescribeProxyGroupList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::DescribeProxyGroupListResponse`.
-
#DescribeProxyGroupStatistics(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::DescribeProxyGroupStatisticsResponse`.
-
#DescribeProxyStatistics(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::DescribeProxyStatisticsResponse`.
-
#DescribeRealServers(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::DescribeRealServersResponse`.
-
#DescribeRealServersStatus(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::DescribeRealServersStatusResponse`.
-
#DescribeRealServerStatistics(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::DescribeRealServerStatisticsResponse`.
-
#DescribeRegionAndPrice(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::DescribeRegionAndPriceResponse`.
-
#DescribeResourcesByTag(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::DescribeResourcesByTagResponse`.
-
#DescribeRuleRealServers(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::DescribeRuleRealServersResponse`.
-
#DescribeRules(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::DescribeRulesResponse`.
-
#DescribeRulesByRuleIds(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::DescribeRulesByRuleIdsResponse`.
-
#DescribeSecurityPolicyDetail(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::DescribeSecurityPolicyDetailResponse`.
-
#DescribeSecurityRules(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::DescribeSecurityRulesResponse`.
-
#DescribeTaskStatus(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::DescribeTaskStatusResponse`.
-
#DescribeTCPListeners(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::DescribeTCPListenersResponse`.
-
#DescribeUDPListeners(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::DescribeUDPListenersResponse`.
-
#DestroyProxies(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::DestroyProxiesResponse`.
-
#DisableGlobalDomain(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::DisableGlobalDomainResponse`.
-
#EnableGlobalDomain(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::EnableGlobalDomainResponse`.
-
#initialize(credential, region, profile = nil) ⇒ Client
constructor
A new instance of Client.
-
#InquiryPriceCreateProxy(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::InquiryPriceCreateProxyResponse`.
-
#ModifyCertificate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::ModifyCertificateResponse`.
-
#ModifyCertificateAttributes(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::ModifyCertificateAttributesResponse`.
-
#ModifyDomain(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::ModifyDomainResponse`.
-
#ModifyGlobalDomainAttribute(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::ModifyGlobalDomainAttributeResponse`.
-
#ModifyGlobalDomainDns(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::ModifyGlobalDomainDnsResponse`.
-
#ModifyGroupDomainConfig(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::ModifyGroupDomainConfigResponse`.
-
#ModifyHTTPListenerAttribute(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::ModifyHTTPListenerAttributeResponse`.
-
#ModifyHTTPSListenerAttribute(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::ModifyHTTPSListenerAttributeResponse`.
-
#ModifyProxiesAttribute(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::ModifyProxiesAttributeResponse`.
-
#ModifyProxiesProject(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::ModifyProxiesProjectResponse`.
-
#ModifyProxyConfiguration(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::ModifyProxyConfigurationResponse`.
-
#ModifyProxyGroupAttribute(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::ModifyProxyGroupAttributeResponse`.
-
#ModifyRealServerName(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::ModifyRealServerNameResponse`.
-
#ModifyRuleAttribute(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::ModifyRuleAttributeResponse`.
-
#ModifySecurityRule(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::ModifySecurityRuleResponse`.
-
#ModifyTCPListenerAttribute(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::ModifyTCPListenerAttributeResponse`.
-
#ModifyUDPListenerAttribute(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::ModifyUDPListenerAttributeResponse`.
-
#OpenProxies(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::OpenProxiesResponse`.
-
#OpenProxyGroup(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::OpenProxyGroupResponse`.
-
#OpenSecurityPolicy(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::OpenSecurityPolicyResponse`.
-
#RemoveRealServers(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::RemoveRealServersResponse`.
-
#SetAuthentication(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::SetAuthenticationResponse`.
-
#SetTlsVersion(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::SetTlsVersionResponse`.
Constructor Details
#initialize(credential, region, profile = nil) ⇒ Client
24 25 26 27 28 29 |
# File 'lib/v20180529/client.rb', line 24 def initialize(credential, region, profile = nil) api_version = '2018-05-29' api_endpoint = 'gaap.tencentcloudapi.com' sdk_version = 'GAAP_' + File.read(File.('../VERSION', __dir__)).strip super(credential, region, api_version, api_endpoint, sdk_version, profile) end |
Instance Method Details
#AddRealServers(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::AddRealServersResponse`
37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 |
# File 'lib/v20180529/client.rb', line 37 def AddRealServers(request) body = send_request('AddRealServers', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = AddRealServersResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#BanAndRecoverProxy(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::BanAndRecoverProxyResponse`
61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 |
# File 'lib/v20180529/client.rb', line 61 def BanAndRecoverProxy(request) body = send_request('BanAndRecoverProxy', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = BanAndRecoverProxyResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#BindListenerRealServers(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::BindListenerRealServersResponse`
86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 |
# File 'lib/v20180529/client.rb', line 86 def BindListenerRealServers(request) body = send_request('BindListenerRealServers', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = BindListenerRealServersResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#BindRuleRealServers(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::BindRuleRealServersResponse`
110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 |
# File 'lib/v20180529/client.rb', line 110 def BindRuleRealServers(request) body = send_request('BindRuleRealServers', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = BindRuleRealServersResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CheckProxyCreate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::CheckProxyCreateResponse`
134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 |
# File 'lib/v20180529/client.rb', line 134 def CheckProxyCreate(request) body = send_request('CheckProxyCreate', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CheckProxyCreateResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CloseProxies(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::CloseProxiesResponse`
158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 |
# File 'lib/v20180529/client.rb', line 158 def CloseProxies(request) body = send_request('CloseProxies', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CloseProxiesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CloseProxyGroup(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::CloseProxyGroupResponse`
182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 |
# File 'lib/v20180529/client.rb', line 182 def CloseProxyGroup(request) body = send_request('CloseProxyGroup', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CloseProxyGroupResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CloseSecurityPolicy(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::CloseSecurityPolicyResponse`
206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 |
# File 'lib/v20180529/client.rb', line 206 def CloseSecurityPolicy(request) body = send_request('CloseSecurityPolicy', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CloseSecurityPolicyResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateCertificate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::CreateCertificateResponse`
230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 |
# File 'lib/v20180529/client.rb', line 230 def CreateCertificate(request) body = send_request('CreateCertificate', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateCertificateResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateCustomHeader(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::CreateCustomHeaderResponse`
254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 |
# File 'lib/v20180529/client.rb', line 254 def CreateCustomHeader(request) body = send_request('CreateCustomHeader', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateCustomHeaderResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateDomain(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::CreateDomainResponse`
279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 |
# File 'lib/v20180529/client.rb', line 279 def CreateDomain(request) body = send_request('CreateDomain', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateDomainResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateDomainErrorPageInfo(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::CreateDomainErrorPageInfoResponse`
303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 |
# File 'lib/v20180529/client.rb', line 303 def CreateDomainErrorPageInfo(request) body = send_request('CreateDomainErrorPageInfo', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateDomainErrorPageInfoResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateGlobalDomain(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::CreateGlobalDomainResponse`
327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 |
# File 'lib/v20180529/client.rb', line 327 def CreateGlobalDomain(request) body = send_request('CreateGlobalDomain', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateGlobalDomainResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateGlobalDomainDns(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::CreateGlobalDomainDnsResponse`
351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 |
# File 'lib/v20180529/client.rb', line 351 def CreateGlobalDomainDns(request) body = send_request('CreateGlobalDomainDns', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateGlobalDomainDnsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateHTTPListener(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::CreateHTTPListenerResponse`
375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 |
# File 'lib/v20180529/client.rb', line 375 def CreateHTTPListener(request) body = send_request('CreateHTTPListener', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateHTTPListenerResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateHTTPSListener(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::CreateHTTPSListenerResponse`
399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 |
# File 'lib/v20180529/client.rb', line 399 def CreateHTTPSListener(request) body = send_request('CreateHTTPSListener', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateHTTPSListenerResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateProxy(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::CreateProxyResponse`
423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 |
# File 'lib/v20180529/client.rb', line 423 def CreateProxy(request) body = send_request('CreateProxy', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateProxyResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateProxyGroup(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::CreateProxyGroupResponse`
447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 |
# File 'lib/v20180529/client.rb', line 447 def CreateProxyGroup(request) body = send_request('CreateProxyGroup', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateProxyGroupResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateProxyGroupDomain(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::CreateProxyGroupDomainResponse`
471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 |
# File 'lib/v20180529/client.rb', line 471 def CreateProxyGroupDomain(request) body = send_request('CreateProxyGroupDomain', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateProxyGroupDomainResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateRule(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::CreateRuleResponse`
495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 |
# File 'lib/v20180529/client.rb', line 495 def CreateRule(request) body = send_request('CreateRule', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateRuleResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateSecurityPolicy(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::CreateSecurityPolicyResponse`
519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 |
# File 'lib/v20180529/client.rb', line 519 def CreateSecurityPolicy(request) body = send_request('CreateSecurityPolicy', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateSecurityPolicyResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateSecurityRules(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::CreateSecurityRulesResponse`
543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 |
# File 'lib/v20180529/client.rb', line 543 def CreateSecurityRules(request) body = send_request('CreateSecurityRules', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateSecurityRulesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateTCPListeners(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::CreateTCPListenersResponse`
567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 |
# File 'lib/v20180529/client.rb', line 567 def CreateTCPListeners(request) body = send_request('CreateTCPListeners', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateTCPListenersResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateUDPListeners(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::CreateUDPListenersResponse`
591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 |
# File 'lib/v20180529/client.rb', line 591 def CreateUDPListeners(request) body = send_request('CreateUDPListeners', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateUDPListenersResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteCertificate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::DeleteCertificateResponse`
615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 |
# File 'lib/v20180529/client.rb', line 615 def DeleteCertificate(request) body = send_request('DeleteCertificate', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteCertificateResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteDomain(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::DeleteDomainResponse`
639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 |
# File 'lib/v20180529/client.rb', line 639 def DeleteDomain(request) body = send_request('DeleteDomain', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteDomainResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteDomainErrorPageInfo(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::DeleteDomainErrorPageInfoResponse`
663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 |
# File 'lib/v20180529/client.rb', line 663 def DeleteDomainErrorPageInfo(request) body = send_request('DeleteDomainErrorPageInfo', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteDomainErrorPageInfoResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteGlobalDomain(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::DeleteGlobalDomainResponse`
687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 |
# File 'lib/v20180529/client.rb', line 687 def DeleteGlobalDomain(request) body = send_request('DeleteGlobalDomain', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteGlobalDomainResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteGlobalDomainDns(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::DeleteGlobalDomainDnsResponse`
711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 |
# File 'lib/v20180529/client.rb', line 711 def DeleteGlobalDomainDns(request) body = send_request('DeleteGlobalDomainDns', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteGlobalDomainDnsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteListeners(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::DeleteListenersResponse`
735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 |
# File 'lib/v20180529/client.rb', line 735 def DeleteListeners(request) body = send_request('DeleteListeners', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteListenersResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteProxyGroup(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::DeleteProxyGroupResponse`
759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 |
# File 'lib/v20180529/client.rb', line 759 def DeleteProxyGroup(request) body = send_request('DeleteProxyGroup', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteProxyGroupResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteRule(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::DeleteRuleResponse`
783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 |
# File 'lib/v20180529/client.rb', line 783 def DeleteRule(request) body = send_request('DeleteRule', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteRuleResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteSecurityPolicy(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::DeleteSecurityPolicyResponse`
807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 |
# File 'lib/v20180529/client.rb', line 807 def DeleteSecurityPolicy(request) body = send_request('DeleteSecurityPolicy', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteSecurityPolicyResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteSecurityRules(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::DeleteSecurityRulesResponse`
831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 |
# File 'lib/v20180529/client.rb', line 831 def DeleteSecurityRules(request) body = send_request('DeleteSecurityRules', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteSecurityRulesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeAccessRegions(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::DescribeAccessRegionsResponse`
855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 |
# File 'lib/v20180529/client.rb', line 855 def DescribeAccessRegions(request) body = send_request('DescribeAccessRegions', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeAccessRegionsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeAccessRegionsByDestRegion(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::DescribeAccessRegionsByDestRegionResponse`
879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 |
# File 'lib/v20180529/client.rb', line 879 def DescribeAccessRegionsByDestRegion(request) body = send_request('DescribeAccessRegionsByDestRegion', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeAccessRegionsByDestRegionResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeAuthSignature(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::DescribeAuthSignatureResponse`
903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 |
# File 'lib/v20180529/client.rb', line 903 def DescribeAuthSignature(request) body = send_request('DescribeAuthSignature', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeAuthSignatureResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeBlackHeader(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::DescribeBlackHeaderResponse`
927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 |
# File 'lib/v20180529/client.rb', line 927 def DescribeBlackHeader(request) body = send_request('DescribeBlackHeader', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeBlackHeaderResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeCertificateDetail(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::DescribeCertificateDetailResponse`
951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 |
# File 'lib/v20180529/client.rb', line 951 def DescribeCertificateDetail(request) body = send_request('DescribeCertificateDetail', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeCertificateDetailResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeCertificates(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::DescribeCertificatesResponse`
975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 |
# File 'lib/v20180529/client.rb', line 975 def DescribeCertificates(request) body = send_request('DescribeCertificates', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeCertificatesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeCountryAreaMapping(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::DescribeCountryAreaMappingResponse`
999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 |
# File 'lib/v20180529/client.rb', line 999 def DescribeCountryAreaMapping(request) body = send_request('DescribeCountryAreaMapping', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeCountryAreaMappingResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeCrossBorderProxies(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::DescribeCrossBorderProxiesResponse`
1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 |
# File 'lib/v20180529/client.rb', line 1023 def DescribeCrossBorderProxies(request) body = send_request('DescribeCrossBorderProxies', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeCrossBorderProxiesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeCustomHeader(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::DescribeCustomHeaderResponse`
1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 |
# File 'lib/v20180529/client.rb', line 1047 def DescribeCustomHeader(request) body = send_request('DescribeCustomHeader', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeCustomHeaderResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeDestRegions(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::DescribeDestRegionsResponse`
1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 |
# File 'lib/v20180529/client.rb', line 1071 def DescribeDestRegions(request) body = send_request('DescribeDestRegions', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeDestRegionsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeDomainErrorPageInfo(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::DescribeDomainErrorPageInfoResponse`
1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 |
# File 'lib/v20180529/client.rb', line 1095 def DescribeDomainErrorPageInfo(request) body = send_request('DescribeDomainErrorPageInfo', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeDomainErrorPageInfoResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeDomainErrorPageInfoByIds(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::DescribeDomainErrorPageInfoByIdsResponse`
1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 |
# File 'lib/v20180529/client.rb', line 1119 def DescribeDomainErrorPageInfoByIds(request) body = send_request('DescribeDomainErrorPageInfoByIds', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeDomainErrorPageInfoByIdsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeGlobalDomainDns(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::DescribeGlobalDomainDnsResponse`
1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 |
# File 'lib/v20180529/client.rb', line 1143 def DescribeGlobalDomainDns(request) body = send_request('DescribeGlobalDomainDns', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeGlobalDomainDnsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeGlobalDomains(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::DescribeGlobalDomainsResponse`
1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 |
# File 'lib/v20180529/client.rb', line 1167 def DescribeGlobalDomains(request) body = send_request('DescribeGlobalDomains', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeGlobalDomainsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeGroupAndStatisticsProxy(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::DescribeGroupAndStatisticsProxyResponse`
1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 |
# File 'lib/v20180529/client.rb', line 1191 def DescribeGroupAndStatisticsProxy(request) body = send_request('DescribeGroupAndStatisticsProxy', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeGroupAndStatisticsProxyResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeGroupDomainConfig(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::DescribeGroupDomainConfigResponse`
1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 |
# File 'lib/v20180529/client.rb', line 1215 def DescribeGroupDomainConfig(request) body = send_request('DescribeGroupDomainConfig', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeGroupDomainConfigResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeHTTPListeners(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::DescribeHTTPListenersResponse`
1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 |
# File 'lib/v20180529/client.rb', line 1239 def DescribeHTTPListeners(request) body = send_request('DescribeHTTPListeners', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeHTTPListenersResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeHTTPSListeners(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::DescribeHTTPSListenersResponse`
1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 |
# File 'lib/v20180529/client.rb', line 1263 def DescribeHTTPSListeners(request) body = send_request('DescribeHTTPSListeners', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeHTTPSListenersResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeListenerRealServers(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::DescribeListenerRealServersResponse`
1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 |
# File 'lib/v20180529/client.rb', line 1287 def DescribeListenerRealServers(request) body = send_request('DescribeListenerRealServers', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeListenerRealServersResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeListenerStatistics(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::DescribeListenerStatisticsResponse`
1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 |
# File 'lib/v20180529/client.rb', line 1311 def DescribeListenerStatistics(request) body = send_request('DescribeListenerStatistics', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeListenerStatisticsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeProxies(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::DescribeProxiesResponse`
1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 |
# File 'lib/v20180529/client.rb', line 1335 def DescribeProxies(request) body = send_request('DescribeProxies', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeProxiesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeProxiesStatus(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::DescribeProxiesStatusResponse`
1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 |
# File 'lib/v20180529/client.rb', line 1359 def DescribeProxiesStatus(request) body = send_request('DescribeProxiesStatus', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeProxiesStatusResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeProxyAndStatisticsListeners(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::DescribeProxyAndStatisticsListenersResponse`
1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 |
# File 'lib/v20180529/client.rb', line 1383 def DescribeProxyAndStatisticsListeners(request) body = send_request('DescribeProxyAndStatisticsListeners', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeProxyAndStatisticsListenersResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeProxyDetail(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::DescribeProxyDetailResponse`
1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 |
# File 'lib/v20180529/client.rb', line 1407 def DescribeProxyDetail(request) body = send_request('DescribeProxyDetail', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeProxyDetailResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeProxyGroupDetails(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::DescribeProxyGroupDetailsResponse`
1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 |
# File 'lib/v20180529/client.rb', line 1431 def DescribeProxyGroupDetails(request) body = send_request('DescribeProxyGroupDetails', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeProxyGroupDetailsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeProxyGroupList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::DescribeProxyGroupListResponse`
1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 |
# File 'lib/v20180529/client.rb', line 1455 def DescribeProxyGroupList(request) body = send_request('DescribeProxyGroupList', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeProxyGroupListResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeProxyGroupStatistics(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::DescribeProxyGroupStatisticsResponse`
1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 |
# File 'lib/v20180529/client.rb', line 1479 def DescribeProxyGroupStatistics(request) body = send_request('DescribeProxyGroupStatistics', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeProxyGroupStatisticsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeProxyStatistics(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::DescribeProxyStatisticsResponse`
1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 |
# File 'lib/v20180529/client.rb', line 1503 def DescribeProxyStatistics(request) body = send_request('DescribeProxyStatistics', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeProxyStatisticsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeRealServers(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::DescribeRealServersResponse`
1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 |
# File 'lib/v20180529/client.rb', line 1551 def DescribeRealServers(request) body = send_request('DescribeRealServers', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeRealServersResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeRealServersStatus(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::DescribeRealServersStatusResponse`
1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 |
# File 'lib/v20180529/client.rb', line 1575 def DescribeRealServersStatus(request) body = send_request('DescribeRealServersStatus', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeRealServersStatusResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeRealServerStatistics(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::DescribeRealServerStatisticsResponse`
1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 |
# File 'lib/v20180529/client.rb', line 1527 def DescribeRealServerStatistics(request) body = send_request('DescribeRealServerStatistics', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeRealServerStatisticsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeRegionAndPrice(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::DescribeRegionAndPriceResponse`
1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 |
# File 'lib/v20180529/client.rb', line 1599 def DescribeRegionAndPrice(request) body = send_request('DescribeRegionAndPrice', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeRegionAndPriceResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeResourcesByTag(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::DescribeResourcesByTagResponse`
1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 |
# File 'lib/v20180529/client.rb', line 1623 def DescribeResourcesByTag(request) body = send_request('DescribeResourcesByTag', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeResourcesByTagResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeRuleRealServers(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::DescribeRuleRealServersResponse`
1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 |
# File 'lib/v20180529/client.rb', line 1647 def DescribeRuleRealServers(request) body = send_request('DescribeRuleRealServers', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeRuleRealServersResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeRules(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::DescribeRulesResponse`
1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 |
# File 'lib/v20180529/client.rb', line 1671 def DescribeRules(request) body = send_request('DescribeRules', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeRulesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeRulesByRuleIds(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::DescribeRulesByRuleIdsResponse`
1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 |
# File 'lib/v20180529/client.rb', line 1695 def DescribeRulesByRuleIds(request) body = send_request('DescribeRulesByRuleIds', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeRulesByRuleIdsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeSecurityPolicyDetail(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::DescribeSecurityPolicyDetailResponse`
1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 |
# File 'lib/v20180529/client.rb', line 1719 def DescribeSecurityPolicyDetail(request) body = send_request('DescribeSecurityPolicyDetail', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeSecurityPolicyDetailResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeSecurityRules(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::DescribeSecurityRulesResponse`
1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 |
# File 'lib/v20180529/client.rb', line 1743 def DescribeSecurityRules(request) body = send_request('DescribeSecurityRules', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeSecurityRulesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeTaskStatus(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::DescribeTaskStatusResponse`
1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 |
# File 'lib/v20180529/client.rb', line 1791 def DescribeTaskStatus(request) body = send_request('DescribeTaskStatus', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeTaskStatusResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeTCPListeners(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::DescribeTCPListenersResponse`
1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 |
# File 'lib/v20180529/client.rb', line 1767 def DescribeTCPListeners(request) body = send_request('DescribeTCPListeners', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeTCPListenersResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeUDPListeners(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::DescribeUDPListenersResponse`
1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 |
# File 'lib/v20180529/client.rb', line 1815 def DescribeUDPListeners(request) body = send_request('DescribeUDPListeners', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeUDPListenersResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DestroyProxies(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::DestroyProxiesResponse`
1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 |
# File 'lib/v20180529/client.rb', line 1839 def DestroyProxies(request) body = send_request('DestroyProxies', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DestroyProxiesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DisableGlobalDomain(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::DisableGlobalDomainResponse`
1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 |
# File 'lib/v20180529/client.rb', line 1863 def DisableGlobalDomain(request) body = send_request('DisableGlobalDomain', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DisableGlobalDomainResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#EnableGlobalDomain(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::EnableGlobalDomainResponse`
1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 |
# File 'lib/v20180529/client.rb', line 1887 def EnableGlobalDomain(request) body = send_request('EnableGlobalDomain', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = EnableGlobalDomainResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#InquiryPriceCreateProxy(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::InquiryPriceCreateProxyResponse`
1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 |
# File 'lib/v20180529/client.rb', line 1911 def InquiryPriceCreateProxy(request) body = send_request('InquiryPriceCreateProxy', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = InquiryPriceCreateProxyResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyCertificate(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::ModifyCertificateResponse`
1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 |
# File 'lib/v20180529/client.rb', line 1935 def ModifyCertificate(request) body = send_request('ModifyCertificate', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyCertificateResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyCertificateAttributes(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::ModifyCertificateAttributesResponse`
1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 |
# File 'lib/v20180529/client.rb', line 1959 def ModifyCertificateAttributes(request) body = send_request('ModifyCertificateAttributes', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyCertificateAttributesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyDomain(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::ModifyDomainResponse`
1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 |
# File 'lib/v20180529/client.rb', line 1983 def ModifyDomain(request) body = send_request('ModifyDomain', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyDomainResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyGlobalDomainAttribute(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::ModifyGlobalDomainAttributeResponse`
2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 |
# File 'lib/v20180529/client.rb', line 2007 def ModifyGlobalDomainAttribute(request) body = send_request('ModifyGlobalDomainAttribute', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyGlobalDomainAttributeResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyGlobalDomainDns(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::ModifyGlobalDomainDnsResponse`
2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 |
# File 'lib/v20180529/client.rb', line 2031 def ModifyGlobalDomainDns(request) body = send_request('ModifyGlobalDomainDns', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyGlobalDomainDnsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyGroupDomainConfig(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::ModifyGroupDomainConfigResponse`
2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 |
# File 'lib/v20180529/client.rb', line 2055 def ModifyGroupDomainConfig(request) body = send_request('ModifyGroupDomainConfig', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyGroupDomainConfigResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyHTTPListenerAttribute(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::ModifyHTTPListenerAttributeResponse`
2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 |
# File 'lib/v20180529/client.rb', line 2080 def ModifyHTTPListenerAttribute(request) body = send_request('ModifyHTTPListenerAttribute', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyHTTPListenerAttributeResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyHTTPSListenerAttribute(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::ModifyHTTPSListenerAttributeResponse`
2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 |
# File 'lib/v20180529/client.rb', line 2104 def ModifyHTTPSListenerAttribute(request) body = send_request('ModifyHTTPSListenerAttribute', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyHTTPSListenerAttributeResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyProxiesAttribute(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::ModifyProxiesAttributeResponse`
2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 |
# File 'lib/v20180529/client.rb', line 2128 def ModifyProxiesAttribute(request) body = send_request('ModifyProxiesAttribute', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyProxiesAttributeResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyProxiesProject(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::ModifyProxiesProjectResponse`
2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 |
# File 'lib/v20180529/client.rb', line 2152 def ModifyProxiesProject(request) body = send_request('ModifyProxiesProject', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyProxiesProjectResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyProxyConfiguration(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::ModifyProxyConfigurationResponse`
2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 |
# File 'lib/v20180529/client.rb', line 2176 def ModifyProxyConfiguration(request) body = send_request('ModifyProxyConfiguration', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyProxyConfigurationResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyProxyGroupAttribute(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::ModifyProxyGroupAttributeResponse`
2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 |
# File 'lib/v20180529/client.rb', line 2200 def ModifyProxyGroupAttribute(request) body = send_request('ModifyProxyGroupAttribute', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyProxyGroupAttributeResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyRealServerName(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::ModifyRealServerNameResponse`
2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 |
# File 'lib/v20180529/client.rb', line 2224 def ModifyRealServerName(request) body = send_request('ModifyRealServerName', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyRealServerNameResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyRuleAttribute(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::ModifyRuleAttributeResponse`
2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 |
# File 'lib/v20180529/client.rb', line 2248 def ModifyRuleAttribute(request) body = send_request('ModifyRuleAttribute', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyRuleAttributeResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifySecurityRule(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::ModifySecurityRuleResponse`
2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 |
# File 'lib/v20180529/client.rb', line 2272 def ModifySecurityRule(request) body = send_request('ModifySecurityRule', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifySecurityRuleResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyTCPListenerAttribute(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::ModifyTCPListenerAttributeResponse`
2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 |
# File 'lib/v20180529/client.rb', line 2296 def ModifyTCPListenerAttribute(request) body = send_request('ModifyTCPListenerAttribute', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyTCPListenerAttributeResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyUDPListenerAttribute(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::ModifyUDPListenerAttributeResponse`
2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 |
# File 'lib/v20180529/client.rb', line 2320 def ModifyUDPListenerAttribute(request) body = send_request('ModifyUDPListenerAttribute', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyUDPListenerAttributeResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#OpenProxies(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::OpenProxiesResponse`
2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 |
# File 'lib/v20180529/client.rb', line 2344 def OpenProxies(request) body = send_request('OpenProxies', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = OpenProxiesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#OpenProxyGroup(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::OpenProxyGroupResponse`
2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 |
# File 'lib/v20180529/client.rb', line 2368 def OpenProxyGroup(request) body = send_request('OpenProxyGroup', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = OpenProxyGroupResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#OpenSecurityPolicy(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::OpenSecurityPolicyResponse`
2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 |
# File 'lib/v20180529/client.rb', line 2392 def OpenSecurityPolicy(request) body = send_request('OpenSecurityPolicy', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = OpenSecurityPolicyResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#RemoveRealServers(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::RemoveRealServersResponse`
2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 |
# File 'lib/v20180529/client.rb', line 2416 def RemoveRealServers(request) body = send_request('RemoveRealServers', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = RemoveRealServersResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#SetAuthentication(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::SetAuthenticationResponse`
2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 |
# File 'lib/v20180529/client.rb', line 2440 def SetAuthentication(request) body = send_request('SetAuthentication', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = SetAuthenticationResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#SetTlsVersion(request) ⇒ Object
@rtype: :class:‘Tencentcloud::gaap::V20180529::SetTlsVersionResponse`
2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 |
# File 'lib/v20180529/client.rb', line 2464 def SetTlsVersion(request) body = send_request('SetTlsVersion', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = SetTlsVersionResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |