tencentcloud-sdk-domain 3.0.678 → 3.0.679
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20180808/client.rb +24 -0
- data/lib/v20180808/models.rb +44 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 196fcd50a31c6b17f8378a651fbffc2100bfcbc2
|
4
|
+
data.tar.gz: 44040af77b2c15f14c1b60e52fcdb534d07aa8a6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d48891f338e18b219df57c8c44d5db66b21129dfdba6465db341fdfe36b3f735b29b05c5f338946b40ba10090484ecd25d58e4d81a50d3619d6d7c745f3b885c
|
7
|
+
data.tar.gz: 19a8f8c4a459d1010ecf1cad123e9363c56e180d0571f909d4cdd4c276fa6a573cbd259369a20471ef2a40c6911c36007bdd7b481e56619239a6f30010a4c275
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.679
|
data/lib/v20180808/client.rb
CHANGED
@@ -101,6 +101,30 @@ module TencentCloud
|
|
101
101
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
102
102
|
end
|
103
103
|
|
104
|
+
# 创建自定义DNS Host
|
105
|
+
|
106
|
+
# @param request: Request instance for CreateCustomDnsHost.
|
107
|
+
# @type request: :class:`Tencentcloud::domain::V20180808::CreateCustomDnsHostRequest`
|
108
|
+
# @rtype: :class:`Tencentcloud::domain::V20180808::CreateCustomDnsHostResponse`
|
109
|
+
def CreateCustomDnsHost(request)
|
110
|
+
body = send_request('CreateCustomDnsHost', request.serialize)
|
111
|
+
response = JSON.parse(body)
|
112
|
+
if response['Response'].key?('Error') == false
|
113
|
+
model = CreateCustomDnsHostResponse.new
|
114
|
+
model.deserialize(response['Response'])
|
115
|
+
model
|
116
|
+
else
|
117
|
+
code = response['Response']['Error']['Code']
|
118
|
+
message = response['Response']['Error']['Message']
|
119
|
+
reqid = response['Response']['RequestId']
|
120
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
121
|
+
end
|
122
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
123
|
+
raise e
|
124
|
+
rescue StandardError => e
|
125
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
126
|
+
end
|
127
|
+
|
104
128
|
# 本接口 ( CreateDomainBatch ) 用于批量域名注册 。
|
105
129
|
|
106
130
|
# @param request: Request instance for CreateDomainBatch.
|
data/lib/v20180808/models.rb
CHANGED
@@ -398,6 +398,50 @@ module TencentCloud
|
|
398
398
|
end
|
399
399
|
end
|
400
400
|
|
401
|
+
# CreateCustomDnsHost请求参数结构体
|
402
|
+
class CreateCustomDnsHostRequest < TencentCloud::Common::AbstractModel
|
403
|
+
# @param DomainId: 域名实例ID
|
404
|
+
# @type DomainId: String
|
405
|
+
# @param DnsName: Dns名称
|
406
|
+
# @type DnsName: String
|
407
|
+
# @param IpSet: IP地址列表
|
408
|
+
# @type IpSet: Array
|
409
|
+
|
410
|
+
attr_accessor :DomainId, :DnsName, :IpSet
|
411
|
+
|
412
|
+
def initialize(domainid=nil, dnsname=nil, ipset=nil)
|
413
|
+
@DomainId = domainid
|
414
|
+
@DnsName = dnsname
|
415
|
+
@IpSet = ipset
|
416
|
+
end
|
417
|
+
|
418
|
+
def deserialize(params)
|
419
|
+
@DomainId = params['DomainId']
|
420
|
+
@DnsName = params['DnsName']
|
421
|
+
@IpSet = params['IpSet']
|
422
|
+
end
|
423
|
+
end
|
424
|
+
|
425
|
+
# CreateCustomDnsHost返回参数结构体
|
426
|
+
class CreateCustomDnsHostResponse < TencentCloud::Common::AbstractModel
|
427
|
+
# @param LogId: 异步任务ID
|
428
|
+
# @type LogId: Integer
|
429
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
430
|
+
# @type RequestId: String
|
431
|
+
|
432
|
+
attr_accessor :LogId, :RequestId
|
433
|
+
|
434
|
+
def initialize(logid=nil, requestid=nil)
|
435
|
+
@LogId = logid
|
436
|
+
@RequestId = requestid
|
437
|
+
end
|
438
|
+
|
439
|
+
def deserialize(params)
|
440
|
+
@LogId = params['LogId']
|
441
|
+
@RequestId = params['RequestId']
|
442
|
+
end
|
443
|
+
end
|
444
|
+
|
401
445
|
# CreateDomainBatch请求参数结构体
|
402
446
|
class CreateDomainBatchRequest < TencentCloud::Common::AbstractModel
|
403
447
|
# @param TemplateId: 模板ID。详情请查看:[获取模板列表](https://cloud.tencent.com/document/product/242/48940)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-domain
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.679
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-10-
|
11
|
+
date: 2023-10-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|
@@ -33,9 +33,9 @@ executables: []
|
|
33
33
|
extensions: []
|
34
34
|
extra_rdoc_files: []
|
35
35
|
files:
|
36
|
-
- lib/tencentcloud-sdk-domain.rb
|
37
36
|
- lib/v20180808/models.rb
|
38
37
|
- lib/v20180808/client.rb
|
38
|
+
- lib/tencentcloud-sdk-domain.rb
|
39
39
|
- lib/VERSION
|
40
40
|
homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
|
41
41
|
licenses:
|