tencentcloud-sdk-dnspod 1.0.217 → 1.0.221

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: bc4bb3c1391e20ccf92a9754055169c515b1f139
4
- data.tar.gz: 2d655c52c9e66f913e42ff46425175ee33a5b8fb
3
+ metadata.gz: dbaf27b0eb7bc02bb989cf37151f5e9931df643d
4
+ data.tar.gz: 462f9b28ee3958b4fc7bf00cdc1ca07476a7fef1
5
5
  SHA512:
6
- metadata.gz: b0f92dffa1008e69b1280064eb0d0f51f2acfdf64225b76d6dd2c48e0d41dc8070bea772f81f3190ea2f824fc80afcc18578cb54f141b68c675cec437798c274
7
- data.tar.gz: ac0e4623d537fbbc3d7fcbe1b2f3dc96025219d2498bb19226af6dbec693c1e77a3acb0ac498362583a74633471fe5309374effa2f9e21a70e303f137346ea2c
6
+ metadata.gz: 7c1579918a7e67f7766df46f32f56885b3f3cf2d8f5247e2e2be71a4551cb417928da203479c55e020725d8e879ff8e2f2090a957dc350fe07ca47aef140e637
7
+ data.tar.gz: 6f6b7b8afedb534167424e7554233dda23633f0b1410f40f9883244df064ac584bd1cf7630b54279baed546911048c3f6fb60315985cec8b2c285a79c5b05fee
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.217
1
+ 1.0.221
@@ -317,6 +317,30 @@ module TencentCloud
317
317
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
318
318
  end
319
319
 
320
+ # 获取域名别名列表
321
+
322
+ # @param request: Request instance for DescribeDomainAliasList.
323
+ # @type request: :class:`Tencentcloud::dnspod::V20210323::DescribeDomainAliasListRequest`
324
+ # @rtype: :class:`Tencentcloud::dnspod::V20210323::DescribeDomainAliasListResponse`
325
+ def DescribeDomainAliasList(request)
326
+ body = send_request('DescribeDomainAliasList', request.serialize)
327
+ response = JSON.parse(body)
328
+ if response['Response'].key?('Error') == false
329
+ model = DescribeDomainAliasListResponse.new
330
+ model.deserialize(response['Response'])
331
+ model
332
+ else
333
+ code = response['Response']['Error']['Code']
334
+ message = response['Response']['Error']['Message']
335
+ reqid = response['Response']['RequestId']
336
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
337
+ end
338
+ rescue TencentCloud::Common::TencentCloudSDKException => e
339
+ raise e
340
+ rescue StandardError => e
341
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
342
+ end
343
+
320
344
  # 获取域名列表
321
345
 
322
346
  # @param request: Request instance for DescribeDomainList.
@@ -958,6 +958,53 @@ module TencentCloud
958
958
  end
959
959
  end
960
960
 
961
+ # DescribeDomainAliasList请求参数结构体
962
+ class DescribeDomainAliasListRequest < TencentCloud::Common::AbstractModel
963
+ # @param Domain: 域名
964
+ # @type Domain: String
965
+ # @param DomainId: 域名ID,域名ID,参数 DomainId 优先级比参数 Domain 高,如果传递参数 DomainId 将忽略参数 Domain
966
+ # @type DomainId: Integer
967
+
968
+ attr_accessor :Domain, :DomainId
969
+
970
+ def initialize(domain=nil, domainid=nil)
971
+ @Domain = domain
972
+ @DomainId = domainid
973
+ end
974
+
975
+ def deserialize(params)
976
+ @Domain = params['Domain']
977
+ @DomainId = params['DomainId']
978
+ end
979
+ end
980
+
981
+ # DescribeDomainAliasList返回参数结构体
982
+ class DescribeDomainAliasListResponse < TencentCloud::Common::AbstractModel
983
+ # @param DomainAliasList: 域名别名列表
984
+ # @type DomainAliasList: Array
985
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
986
+ # @type RequestId: String
987
+
988
+ attr_accessor :DomainAliasList, :RequestId
989
+
990
+ def initialize(domainaliaslist=nil, requestid=nil)
991
+ @DomainAliasList = domainaliaslist
992
+ @RequestId = requestid
993
+ end
994
+
995
+ def deserialize(params)
996
+ unless params['DomainAliasList'].nil?
997
+ @DomainAliasList = []
998
+ params['DomainAliasList'].each do |i|
999
+ domainaliasinfo_tmp = DomainAliasInfo.new
1000
+ domainaliasinfo_tmp.deserialize(i)
1001
+ @DomainAliasList << domainaliasinfo_tmp
1002
+ end
1003
+ end
1004
+ @RequestId = params['RequestId']
1005
+ end
1006
+ end
1007
+
961
1008
  # DescribeDomainList请求参数结构体
962
1009
  class DescribeDomainListRequest < TencentCloud::Common::AbstractModel
963
1010
  # @param Type: 域名分组类型,默认为ALL。可取值为ALL,MINE,SHARE,ISMARK,PAUSE,VIP,RECENT,SHARE_OUT。
@@ -1499,6 +1546,26 @@ module TencentCloud
1499
1546
  end
1500
1547
  end
1501
1548
 
1549
+ # 域名别名信息
1550
+ class DomainAliasInfo < TencentCloud::Common::AbstractModel
1551
+ # @param Id: 域名别名ID
1552
+ # @type Id: Integer
1553
+ # @param DomainAlias: 域名别名
1554
+ # @type DomainAlias: String
1555
+
1556
+ attr_accessor :Id, :DomainAlias
1557
+
1558
+ def initialize(id=nil, domainalias=nil)
1559
+ @Id = id
1560
+ @DomainAlias = domainalias
1561
+ end
1562
+
1563
+ def deserialize(params)
1564
+ @Id = params['Id']
1565
+ @DomainAlias = params['DomainAlias']
1566
+ end
1567
+ end
1568
+
1502
1569
  # 列表页分页统计信息
1503
1570
  class DomainCountInfo < TencentCloud::Common::AbstractModel
1504
1571
  # @param DomainTotal: 符合条件的域名数量
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-dnspod
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.217
4
+ version: 1.0.221
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-12-06 00:00:00.000000000 Z
11
+ date: 2021-12-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common