tencentcloud-sdk-dnspod 3.0.1177 → 3.0.1186

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 26f731d3eef65324b12a691d2307a46421d17e69
4
- data.tar.gz: be29aa07d2b722e89926650273eb1ce62bfe422d
3
+ metadata.gz: 55b5c7a7c7b9eaead575991898e906948c6a3336
4
+ data.tar.gz: 6e01a78e535960821a8894021c990073fbfcc6f4
5
5
  SHA512:
6
- metadata.gz: febed41021ca70619247efebbcb95672640c116eb87967c11f67f5b132b9d45ddf1f09079da8559b8af4b219775683f8d30f98690c63f394335d0ebdb893b78c
7
- data.tar.gz: e798bb12665b877116945d6d7b0adce054c7335f9cb2a072fbb3d9df6b8732e98a1ddd279a53625518648b42905c58c3876abdf98ff08b5dd08ecd385a8492b2
6
+ metadata.gz: 3b9829957b3cd6655dc7c07abc4f6e1b6c58a2baa979b9d4dd7938eefa479bbe0cbfd251d9b2fa5256ecaba887bda935649d27124f388d431ca168c9781611a7
7
+ data.tar.gz: 6fe1a1aefe43476541503d85d52fff2448c9ec8187698d26c1d685c184816b237a763290f10d3f3923dc520568fe67c2ac3a2070487527c2065bd39b0d861b22
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1177
1
+ 3.0.1186
@@ -1935,6 +1935,30 @@ module TencentCloud
1935
1935
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1936
1936
  end
1937
1937
 
1938
+ # 套餐绑定、解绑、更换域名
1939
+
1940
+ # @param request: Request instance for ModifyPackageDomain.
1941
+ # @type request: :class:`Tencentcloud::dnspod::V20210323::ModifyPackageDomainRequest`
1942
+ # @rtype: :class:`Tencentcloud::dnspod::V20210323::ModifyPackageDomainResponse`
1943
+ def ModifyPackageDomain(request)
1944
+ body = send_request('ModifyPackageDomain', request.serialize)
1945
+ response = JSON.parse(body)
1946
+ if response['Response'].key?('Error') == false
1947
+ model = ModifyPackageDomainResponse.new
1948
+ model.deserialize(response['Response'])
1949
+ model
1950
+ else
1951
+ code = response['Response']['Error']['Code']
1952
+ message = response['Response']['Error']['Message']
1953
+ reqid = response['Response']['RequestId']
1954
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1955
+ end
1956
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1957
+ raise e
1958
+ rescue StandardError => e
1959
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1960
+ end
1961
+
1938
1962
  # 修改记录
1939
1963
 
1940
1964
  # @param request: Request instance for ModifyRecord.
@@ -2395,7 +2395,7 @@ module TencentCloud
2395
2395
  # @type RecordCountBegin: Integer
2396
2396
  # @param RecordCountEnd: 要获取域名的记录数查询区间终点。
2397
2397
  # @type RecordCountEnd: Integer
2398
- # @param ProjectId: 项目ID
2398
+ # @param ProjectId: 项目ID,"帐号中心-项目管理"拿到项目ID
2399
2399
  # @type ProjectId: Integer
2400
2400
  # @param Tags: 标签过滤
2401
2401
  # @type Tags: Array
@@ -4711,7 +4711,7 @@ module TencentCloud
4711
4711
  # @type Name: String
4712
4712
  # @param Status: 域名的状态,正常:ENABLE,暂停:PAUSE,封禁:SPAM
4713
4713
  # @type Status: String
4714
- # @param TTL: 域名默认的解析记录默认TTL
4714
+ # @param TTL: 域名默认的解析记录默认TTL值,单位:秒
4715
4715
  # @type TTL: Integer
4716
4716
  # @param CNAMESpeedup: 是否开启CNAME加速,开启:ENABLE,未开启:DISABLE
4717
4717
  # @type CNAMESpeedup: String
@@ -5786,6 +5786,50 @@ module TencentCloud
5786
5786
  end
5787
5787
  end
5788
5788
 
5789
+ # ModifyPackageDomain请求参数结构体
5790
+ class ModifyPackageDomainRequest < TencentCloud::Common::AbstractModel
5791
+ # @param Operation: 操作类型:change: 套餐换域名;unbind: 解绑套餐域名;bind: 套餐绑定域名。
5792
+ # @type Operation: String
5793
+ # @param DomainId: 域名ID。Operation为change时必传,代表更换前的域名。
5794
+ # @type DomainId: Integer
5795
+ # @param NewDomainId: 域名ID。Operation为change或bind时必传,代表更换后或要绑定的域名。
5796
+ # @type NewDomainId: Integer
5797
+ # @param ResourceId: 套餐资源ID。Operation为bind或unbind时必传,代表将要操作的套餐资源。
5798
+ # @type ResourceId: String
5799
+
5800
+ attr_accessor :Operation, :DomainId, :NewDomainId, :ResourceId
5801
+
5802
+ def initialize(operation=nil, domainid=nil, newdomainid=nil, resourceid=nil)
5803
+ @Operation = operation
5804
+ @DomainId = domainid
5805
+ @NewDomainId = newdomainid
5806
+ @ResourceId = resourceid
5807
+ end
5808
+
5809
+ def deserialize(params)
5810
+ @Operation = params['Operation']
5811
+ @DomainId = params['DomainId']
5812
+ @NewDomainId = params['NewDomainId']
5813
+ @ResourceId = params['ResourceId']
5814
+ end
5815
+ end
5816
+
5817
+ # ModifyPackageDomain返回参数结构体
5818
+ class ModifyPackageDomainResponse < TencentCloud::Common::AbstractModel
5819
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5820
+ # @type RequestId: String
5821
+
5822
+ attr_accessor :RequestId
5823
+
5824
+ def initialize(requestid=nil)
5825
+ @RequestId = requestid
5826
+ end
5827
+
5828
+ def deserialize(params)
5829
+ @RequestId = params['RequestId']
5830
+ end
5831
+ end
5832
+
5789
5833
  # 批量添加记录返回结构
5790
5834
  class ModifyRecordBatchDetail < TencentCloud::Common::AbstractModel
5791
5835
  # @param RecordList: 见RecordInfoBatchModify
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: 3.0.1177
4
+ version: 3.0.1186
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-12-04 00:00:00.000000000 Z
11
+ date: 2025-12-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common