tencentcloud-sdk-domain 3.0.677 → 3.0.679

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ed990b4384a796ae11f4b33db356df040fab04e7
4
- data.tar.gz: 1729876cebae1d28a1295d1dbc2e9f17951a0b37
3
+ metadata.gz: 196fcd50a31c6b17f8378a651fbffc2100bfcbc2
4
+ data.tar.gz: 44040af77b2c15f14c1b60e52fcdb534d07aa8a6
5
5
  SHA512:
6
- metadata.gz: c8689a54575a46ab21ead63ebf2d2d92d7b138191eb064c1a56f6b50d599fe0951d6ae51115850f0b2b8c7adfcebe884dbe265a07ecc452c2d8fbbc9b757b976
7
- data.tar.gz: f57287a18408275e1a70be81da961676fb69b29af71991d5faf1866fcc0f5bf6e0bdb42e7326896184a574e7ca4210b38fc5c93223fdc3ae068b390135294864
6
+ metadata.gz: d48891f338e18b219df57c8c44d5db66b21129dfdba6465db341fdfe36b3f735b29b05c5f338946b40ba10090484ecd25d58e4d81a50d3619d6d7c745f3b885c
7
+ data.tar.gz: 19a8f8c4a459d1010ecf1cad123e9363c56e180d0571f909d4cdd4c276fa6a573cbd259369a20471ef2a40c6911c36007bdd7b481e56619239a6f30010a4c275
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.677
1
+ 3.0.679
@@ -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.
@@ -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.677
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-16 00:00:00.000000000 Z
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,8 +33,8 @@ executables: []
33
33
  extensions: []
34
34
  extra_rdoc_files: []
35
35
  files:
36
- - lib/v20180808/client.rb
37
36
  - lib/v20180808/models.rb
37
+ - lib/v20180808/client.rb
38
38
  - lib/tencentcloud-sdk-domain.rb
39
39
  - lib/VERSION
40
40
  homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby