tencentcloud-sdk-dnspod 3.0.949 → 3.0.950

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: 52c2e1c3df166dde28b4edb5ced4fcf313dad35a
4
- data.tar.gz: 3e1f92ba3d72a84ae5ba904a38dad7c35c2e008a
3
+ metadata.gz: 1fe7adc58ea908ea7a1e322e6f7de62d20444a2a
4
+ data.tar.gz: 0c8d449daee74df3295f4e4037e4b89e7a943ac7
5
5
  SHA512:
6
- metadata.gz: d2d5f9bec18aa9142fdaa0ef580ae0c15c167ceb1b914193322d746d70f3b8c070812dbb7d38f537a4536524d29c8e399b08d0ebeb858731dfccdc415000c935
7
- data.tar.gz: c93e913d06402d20d3598c90705a5a60d2ba18971d6452645b8a3c9ba116c719ad45513114eeaf843991c6f9f9b877662b758e77805615e308f6d19c84ef922a
6
+ metadata.gz: 242f676d81ce8a2ea999c20f1f0b402ff93f36ce980e09ba68b2032da311ad1ad9f46d396e0924430f24bf5ad9fd7f81c9aecbb9367e3b920b74f10d0f5873a2
7
+ data.tar.gz: 24b852948f0c2dd26249700ff01df80ca30058f441f21df657c9bdbb41253909091e395cb55168e7599d1b098a29320021bd4c90e7ad58fd54d43643d6efda0b
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.949
1
+ 3.0.950
@@ -368,6 +368,30 @@ module TencentCloud
368
368
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
369
369
  end
370
370
 
371
+ # 创建添加子域名 Zone 域解析时所需要的 TXT 记录值
372
+
373
+ # @param request: Request instance for CreateSubdomainValidateTXTValue.
374
+ # @type request: :class:`Tencentcloud::dnspod::V20210323::CreateSubdomainValidateTXTValueRequest`
375
+ # @rtype: :class:`Tencentcloud::dnspod::V20210323::CreateSubdomainValidateTXTValueResponse`
376
+ def CreateSubdomainValidateTXTValue(request)
377
+ body = send_request('CreateSubdomainValidateTXTValue', request.serialize)
378
+ response = JSON.parse(body)
379
+ if response['Response'].key?('Error') == false
380
+ model = CreateSubdomainValidateTXTValueResponse.new
381
+ model.deserialize(response['Response'])
382
+ model
383
+ else
384
+ code = response['Response']['Error']['Code']
385
+ message = response['Response']['Error']['Message']
386
+ reqid = response['Response']['RequestId']
387
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
388
+ end
389
+ rescue TencentCloud::Common::TencentCloudSDKException => e
390
+ raise e
391
+ rescue StandardError => e
392
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
393
+ end
394
+
371
395
  # 添加TXT记录
372
396
  # 备注:新添加的解析记录存在短暂的索引延迟,如果查询不到新增记录,请在 30 秒后重试
373
397
 
@@ -1361,6 +1385,30 @@ module TencentCloud
1361
1385
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1362
1386
  end
1363
1387
 
1388
+ # 查看添加子域名 Zone 域解析 TXT 记录值验证状态
1389
+
1390
+ # @param request: Request instance for DescribeSubdomainValidateStatus.
1391
+ # @type request: :class:`Tencentcloud::dnspod::V20210323::DescribeSubdomainValidateStatusRequest`
1392
+ # @rtype: :class:`Tencentcloud::dnspod::V20210323::DescribeSubdomainValidateStatusResponse`
1393
+ def DescribeSubdomainValidateStatus(request)
1394
+ body = send_request('DescribeSubdomainValidateStatus', request.serialize)
1395
+ response = JSON.parse(body)
1396
+ if response['Response'].key?('Error') == false
1397
+ model = DescribeSubdomainValidateStatusResponse.new
1398
+ model.deserialize(response['Response'])
1399
+ model
1400
+ else
1401
+ code = response['Response']['Error']['Code']
1402
+ message = response['Response']['Error']['Message']
1403
+ reqid = response['Response']['RequestId']
1404
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1405
+ end
1406
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1407
+ raise e
1408
+ rescue StandardError => e
1409
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1410
+ end
1411
+
1364
1412
  # 获取账户信息
1365
1413
 
1366
1414
  # @param request: Request instance for DescribeUserDetail.
@@ -1156,6 +1156,54 @@ module TencentCloud
1156
1156
  end
1157
1157
  end
1158
1158
 
1159
+ # CreateSubdomainValidateTXTValue请求参数结构体
1160
+ class CreateSubdomainValidateTXTValueRequest < TencentCloud::Common::AbstractModel
1161
+ # @param DomainZone: 要添加的子域名 Zone 域。
1162
+ # @type DomainZone: String
1163
+
1164
+ attr_accessor :DomainZone
1165
+
1166
+ def initialize(domainzone=nil)
1167
+ @DomainZone = domainzone
1168
+ end
1169
+
1170
+ def deserialize(params)
1171
+ @DomainZone = params['DomainZone']
1172
+ end
1173
+ end
1174
+
1175
+ # CreateSubdomainValidateTXTValue返回参数结构体
1176
+ class CreateSubdomainValidateTXTValueResponse < TencentCloud::Common::AbstractModel
1177
+ # @param Domain: 需要添加 TXT 记录的域名。
1178
+ # @type Domain: String
1179
+ # @param Subdomain: 需要添加 TXT 记录的主机记录。
1180
+ # @type Subdomain: String
1181
+ # @param RecordType: 需要添加记录类型。
1182
+ # @type RecordType: String
1183
+ # @param Value: 需要添加 TXT 记录的记录值。
1184
+ # @type Value: String
1185
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1186
+ # @type RequestId: String
1187
+
1188
+ attr_accessor :Domain, :Subdomain, :RecordType, :Value, :RequestId
1189
+
1190
+ def initialize(domain=nil, subdomain=nil, recordtype=nil, value=nil, requestid=nil)
1191
+ @Domain = domain
1192
+ @Subdomain = subdomain
1193
+ @RecordType = recordtype
1194
+ @Value = value
1195
+ @RequestId = requestid
1196
+ end
1197
+
1198
+ def deserialize(params)
1199
+ @Domain = params['Domain']
1200
+ @Subdomain = params['Subdomain']
1201
+ @RecordType = params['RecordType']
1202
+ @Value = params['Value']
1203
+ @RequestId = params['RequestId']
1204
+ end
1205
+ end
1206
+
1159
1207
  # CreateTXTRecord请求参数结构体
1160
1208
  class CreateTXTRecordRequest < TencentCloud::Common::AbstractModel
1161
1209
  # @param Domain: 域名
@@ -3700,6 +3748,38 @@ module TencentCloud
3700
3748
  end
3701
3749
  end
3702
3750
 
3751
+ # DescribeSubdomainValidateStatus请求参数结构体
3752
+ class DescribeSubdomainValidateStatusRequest < TencentCloud::Common::AbstractModel
3753
+ # @param DomainZone: 要查看 TXT 记录校验状态的子域名 Zone 域。
3754
+ # @type DomainZone: String
3755
+
3756
+ attr_accessor :DomainZone
3757
+
3758
+ def initialize(domainzone=nil)
3759
+ @DomainZone = domainzone
3760
+ end
3761
+
3762
+ def deserialize(params)
3763
+ @DomainZone = params['DomainZone']
3764
+ end
3765
+ end
3766
+
3767
+ # DescribeSubdomainValidateStatus返回参数结构体
3768
+ class DescribeSubdomainValidateStatusResponse < TencentCloud::Common::AbstractModel
3769
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3770
+ # @type RequestId: String
3771
+
3772
+ attr_accessor :RequestId
3773
+
3774
+ def initialize(requestid=nil)
3775
+ @RequestId = requestid
3776
+ end
3777
+
3778
+ def deserialize(params)
3779
+ @RequestId = params['RequestId']
3780
+ end
3781
+ end
3782
+
3703
3783
  # DescribeUserDetail请求参数结构体
3704
3784
  class DescribeUserDetailRequest < TencentCloud::Common::AbstractModel
3705
3785
 
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.949
4
+ version: 3.0.950
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-11-26 00:00:00.000000000 Z
11
+ date: 2024-11-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common