tencentcloud-sdk-dnspod 3.0.1074 → 3.0.1079

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: 8ad45fd7d1b683ed3fd0242e64c40f28cbf0e5fd
4
- data.tar.gz: 23e0429b70448dfacb18e5b6fddd0b0fba9da0d3
3
+ metadata.gz: 60524d25a21c4922c9c265232816448a149c8da0
4
+ data.tar.gz: 7a8b190209803ab2a6cf877f5a0a58938f39107a
5
5
  SHA512:
6
- metadata.gz: d66d088b71f198c5e089bcddf71d3233531c64c67175154439a7862d31c69c939fc1e6aa571e588566ac00a9adf4ecfd2acd436d091c96abdd417d7a439f8a64
7
- data.tar.gz: 4dc9b37661fb9e91ec5f2ab1e485eadf9507782f54b5fbab6bd84ca5fec15d3e3138acbf1d312971ba7cda8ff2c8bc90b1c31c22cff06eb7fe821d661225e219
6
+ metadata.gz: 1b68ec3f33175286354331d848b797eea5aec8729cbb5a8406e31e5217d0a20e67febb006a3064e60912344b69d45e8ce9d3793415edcd7823497810fd3ea845
7
+ data.tar.gz: 929a9eaec20fdabfb895068325e1ef6e781e8e02a16ca327783e6c3605a612cf3031bbe1bec0ababc0760fabd184560e97f5d27d0f24d0f48c50239c3780bbeb
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1074
1
+ 3.0.1079
@@ -1043,6 +1043,30 @@ module TencentCloud
1043
1043
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1044
1044
  end
1045
1045
 
1046
+ # 获取套餐列表
1047
+
1048
+ # @param request: Request instance for DescribeDomainVipList.
1049
+ # @type request: :class:`Tencentcloud::dnspod::V20210323::DescribeDomainVipListRequest`
1050
+ # @rtype: :class:`Tencentcloud::dnspod::V20210323::DescribeDomainVipListResponse`
1051
+ def DescribeDomainVipList(request)
1052
+ body = send_request('DescribeDomainVipList', request.serialize)
1053
+ response = JSON.parse(body)
1054
+ if response['Response'].key?('Error') == false
1055
+ model = DescribeDomainVipListResponse.new
1056
+ model.deserialize(response['Response'])
1057
+ model
1058
+ else
1059
+ code = response['Response']['Error']['Code']
1060
+ message = response['Response']['Error']['Message']
1061
+ reqid = response['Response']['RequestId']
1062
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1063
+ end
1064
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1065
+ raise e
1066
+ rescue StandardError => e
1067
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1068
+ end
1069
+
1046
1070
  # 获取域名Whois信息
1047
1071
 
1048
1072
  # @param request: Request instance for DescribeDomainWhois.
@@ -1553,6 +1577,30 @@ module TencentCloud
1553
1577
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1554
1578
  end
1555
1579
 
1580
+ # 获取增值服务列表
1581
+
1582
+ # @param request: Request instance for DescribeVasList.
1583
+ # @type request: :class:`Tencentcloud::dnspod::V20210323::DescribeVasListRequest`
1584
+ # @rtype: :class:`Tencentcloud::dnspod::V20210323::DescribeVasListResponse`
1585
+ def DescribeVasList(request)
1586
+ body = send_request('DescribeVasList', request.serialize)
1587
+ response = JSON.parse(body)
1588
+ if response['Response'].key?('Error') == false
1589
+ model = DescribeVasListResponse.new
1590
+ model.deserialize(response['Response'])
1591
+ model
1592
+ else
1593
+ code = response['Response']['Error']['Code']
1594
+ message = response['Response']['Error']['Message']
1595
+ reqid = response['Response']['RequestId']
1596
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1597
+ end
1598
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1599
+ raise e
1600
+ rescue StandardError => e
1601
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1602
+ end
1603
+
1556
1604
  # 下载快照
1557
1605
 
1558
1606
  # @param request: Request instance for DownloadSnapshot.
@@ -1340,7 +1340,7 @@ module TencentCloud
1340
1340
 
1341
1341
  # CreateSubdomainValidateTXTValue返回参数结构体
1342
1342
  class CreateSubdomainValidateTXTValueResponse < TencentCloud::Common::AbstractModel
1343
- # @param Domain: 需要添加 TXT 记录的域名。
1343
+ # @param Domain: 需要添加 TXT 记录的主域名。
1344
1344
  # @type Domain: String
1345
1345
  # @param Subdomain: 需要添加 TXT 记录的主机记录。
1346
1346
  # @type Subdomain: String
@@ -1348,16 +1348,19 @@ module TencentCloud
1348
1348
  # @type RecordType: String
1349
1349
  # @param Value: 需要添加 TXT 记录的记录值。
1350
1350
  # @type Value: String
1351
+ # @param ParentDomain: 需要添加 TXT 记录的上级域名(可选,主域名和上级域名任选一个添加即可)。
1352
+ # @type ParentDomain: String
1351
1353
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1352
1354
  # @type RequestId: String
1353
1355
 
1354
- attr_accessor :Domain, :Subdomain, :RecordType, :Value, :RequestId
1356
+ attr_accessor :Domain, :Subdomain, :RecordType, :Value, :ParentDomain, :RequestId
1355
1357
 
1356
- def initialize(domain=nil, subdomain=nil, recordtype=nil, value=nil, requestid=nil)
1358
+ def initialize(domain=nil, subdomain=nil, recordtype=nil, value=nil, parentdomain=nil, requestid=nil)
1357
1359
  @Domain = domain
1358
1360
  @Subdomain = subdomain
1359
1361
  @RecordType = recordtype
1360
1362
  @Value = value
1363
+ @ParentDomain = parentdomain
1361
1364
  @RequestId = requestid
1362
1365
  end
1363
1366
 
@@ -1366,6 +1369,7 @@ module TencentCloud
1366
1369
  @Subdomain = params['Subdomain']
1367
1370
  @RecordType = params['RecordType']
1368
1371
  @Value = params['Value']
1372
+ @ParentDomain = params['ParentDomain']
1369
1373
  @RequestId = params['RequestId']
1370
1374
  end
1371
1375
  end
@@ -2880,6 +2884,73 @@ module TencentCloud
2880
2884
  end
2881
2885
  end
2882
2886
 
2887
+ # DescribeDomainVipList请求参数结构体
2888
+ class DescribeDomainVipListRequest < TencentCloud::Common::AbstractModel
2889
+ # @param Offset: 偏移量,默认值为0。
2890
+ # @type Offset: Integer
2891
+ # @param Limit: 限制数量,默认值为20。
2892
+ # @type Limit: Integer
2893
+ # @param Keyword: 通过关键字搜索域名关联的套餐,默认值为空,为空时不作为筛选条件。
2894
+ # @type Keyword: String
2895
+ # @param ResourceIdList: 使用资源ID列表查询
2896
+ # @type ResourceIdList: Array
2897
+ # @param GradeList: 需要筛选的套餐版本
2898
+ # @type GradeList: Array
2899
+ # @param GetUnbindResource: 是否只获取未绑定域名套餐
2900
+ # @type GetUnbindResource: Boolean
2901
+
2902
+ attr_accessor :Offset, :Limit, :Keyword, :ResourceIdList, :GradeList, :GetUnbindResource
2903
+
2904
+ def initialize(offset=nil, limit=nil, keyword=nil, resourceidlist=nil, gradelist=nil, getunbindresource=nil)
2905
+ @Offset = offset
2906
+ @Limit = limit
2907
+ @Keyword = keyword
2908
+ @ResourceIdList = resourceidlist
2909
+ @GradeList = gradelist
2910
+ @GetUnbindResource = getunbindresource
2911
+ end
2912
+
2913
+ def deserialize(params)
2914
+ @Offset = params['Offset']
2915
+ @Limit = params['Limit']
2916
+ @Keyword = params['Keyword']
2917
+ @ResourceIdList = params['ResourceIdList']
2918
+ @GradeList = params['GradeList']
2919
+ @GetUnbindResource = params['GetUnbindResource']
2920
+ end
2921
+ end
2922
+
2923
+ # DescribeDomainVipList返回参数结构体
2924
+ class DescribeDomainVipListResponse < TencentCloud::Common::AbstractModel
2925
+ # @param TotalCount: 符合筛选条件的套餐总数
2926
+ # @type TotalCount: Integer
2927
+ # @param PackageList: 套餐信息列表
2928
+ # @type PackageList: Array
2929
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2930
+ # @type RequestId: String
2931
+
2932
+ attr_accessor :TotalCount, :PackageList, :RequestId
2933
+
2934
+ def initialize(totalcount=nil, packagelist=nil, requestid=nil)
2935
+ @TotalCount = totalcount
2936
+ @PackageList = packagelist
2937
+ @RequestId = requestid
2938
+ end
2939
+
2940
+ def deserialize(params)
2941
+ @TotalCount = params['TotalCount']
2942
+ unless params['PackageList'].nil?
2943
+ @PackageList = []
2944
+ params['PackageList'].each do |i|
2945
+ packagelistitem_tmp = PackageListItem.new
2946
+ packagelistitem_tmp.deserialize(i)
2947
+ @PackageList << packagelistitem_tmp
2948
+ end
2949
+ end
2950
+ @RequestId = params['RequestId']
2951
+ end
2952
+ end
2953
+
2883
2954
  # DescribeDomainWhois请求参数结构体
2884
2955
  class DescribeDomainWhoisRequest < TencentCloud::Common::AbstractModel
2885
2956
  # @param Domain: 域名
@@ -4138,6 +4209,69 @@ module TencentCloud
4138
4209
  end
4139
4210
  end
4140
4211
 
4212
+ # DescribeVasList请求参数结构体
4213
+ class DescribeVasListRequest < TencentCloud::Common::AbstractModel
4214
+ # @param Offset: 偏移量,默认值为0。
4215
+ # @type Offset: Integer
4216
+ # @param Limit: 限制数量,默认值为20。
4217
+ # @type Limit: Integer
4218
+ # @param DomainId: 域名ID
4219
+ # @type DomainId: Integer
4220
+ # @param ResourceIdList: 使用资源 ID 列表查询
4221
+ # @type ResourceIdList: Array
4222
+ # @param LimitType: 增值服务类型
4223
+ # @type LimitType: String
4224
+
4225
+ attr_accessor :Offset, :Limit, :DomainId, :ResourceIdList, :LimitType
4226
+
4227
+ def initialize(offset=nil, limit=nil, domainid=nil, resourceidlist=nil, limittype=nil)
4228
+ @Offset = offset
4229
+ @Limit = limit
4230
+ @DomainId = domainid
4231
+ @ResourceIdList = resourceidlist
4232
+ @LimitType = limittype
4233
+ end
4234
+
4235
+ def deserialize(params)
4236
+ @Offset = params['Offset']
4237
+ @Limit = params['Limit']
4238
+ @DomainId = params['DomainId']
4239
+ @ResourceIdList = params['ResourceIdList']
4240
+ @LimitType = params['LimitType']
4241
+ end
4242
+ end
4243
+
4244
+ # DescribeVasList返回参数结构体
4245
+ class DescribeVasListResponse < TencentCloud::Common::AbstractModel
4246
+ # @param TotalCount: 符合筛选条件的套餐总数
4247
+ # @type TotalCount: Integer
4248
+ # @param VasList: 增值服务信息列表
4249
+ # @type VasList: Array
4250
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4251
+ # @type RequestId: String
4252
+
4253
+ attr_accessor :TotalCount, :VasList, :RequestId
4254
+
4255
+ def initialize(totalcount=nil, vaslist=nil, requestid=nil)
4256
+ @TotalCount = totalcount
4257
+ @VasList = vaslist
4258
+ @RequestId = requestid
4259
+ end
4260
+
4261
+ def deserialize(params)
4262
+ @TotalCount = params['TotalCount']
4263
+ unless params['VasList'].nil?
4264
+ @VasList = []
4265
+ params['VasList'].each do |i|
4266
+ vaslistitem_tmp = VasListItem.new
4267
+ vaslistitem_tmp.deserialize(i)
4268
+ @VasList << vaslistitem_tmp
4269
+ end
4270
+ end
4271
+ @RequestId = params['RequestId']
4272
+ end
4273
+ end
4274
+
4141
4275
  # 域名别名解析量统计信息
4142
4276
  class DomainAliasAnalyticsItem < TencentCloud::Common::AbstractModel
4143
4277
  # @param Info: 域名解析量统计查询信息
@@ -6190,6 +6324,85 @@ module TencentCloud
6190
6324
  end
6191
6325
  end
6192
6326
 
6327
+ # 套餐列表元素
6328
+ class PackageListItem < TencentCloud::Common::AbstractModel
6329
+ # @param DomainId: 域名ID
6330
+ # 注意:此字段可能返回 null,表示取不到有效值。
6331
+ # @type DomainId: Integer
6332
+ # @param Domain: 域名的原始格式
6333
+ # 注意:此字段可能返回 null,表示取不到有效值。
6334
+ # @type Domain: String
6335
+ # @param Grade: 套餐等级代码
6336
+ # @type Grade: String
6337
+ # @param GradeTitle: 套餐名称
6338
+ # @type GradeTitle: String
6339
+ # @param VipStartAt: 付费套餐开通时间
6340
+ # @type VipStartAt: String
6341
+ # @param VipEndAt: 付费套餐到期时间
6342
+ # @type VipEndAt: String
6343
+ # @param VipAutoRenew: 域名是否开通VIP自动续费,是:YES,否:NO,默认:DEFAULT
6344
+ # @type VipAutoRenew: String
6345
+ # @param RemainTimes: 套餐剩余换绑/绑定域名次数
6346
+ # @type RemainTimes: Integer
6347
+ # @param ResourceId: 套餐资源ID
6348
+ # @type ResourceId: String
6349
+ # @param GradeLevel: 域名等级代号
6350
+ # @type GradeLevel: Integer
6351
+ # @param Status: 套餐绑定的域名的状态
6352
+ # @type Status: String
6353
+ # @param IsGracePeriod: 套餐是否处于宽限期
6354
+ # @type IsGracePeriod: String
6355
+ # @param Downgrade: 是否降级
6356
+ # @type Downgrade: Boolean
6357
+ # @param SecurityInfo: 关联安全防护信息
6358
+ # 注意:此字段可能返回 null,表示取不到有效值。
6359
+ # @type SecurityInfo: :class:`Tencentcloud::Dnspod.v20210323.models.SecurityInfo`
6360
+ # @param IsSubDomain: 套餐绑定的域名是否为子域名
6361
+ # 注意:此字段可能返回 null,表示取不到有效值。
6362
+ # @type IsSubDomain: Boolean
6363
+
6364
+ attr_accessor :DomainId, :Domain, :Grade, :GradeTitle, :VipStartAt, :VipEndAt, :VipAutoRenew, :RemainTimes, :ResourceId, :GradeLevel, :Status, :IsGracePeriod, :Downgrade, :SecurityInfo, :IsSubDomain
6365
+
6366
+ def initialize(domainid=nil, domain=nil, grade=nil, gradetitle=nil, vipstartat=nil, vipendat=nil, vipautorenew=nil, remaintimes=nil, resourceid=nil, gradelevel=nil, status=nil, isgraceperiod=nil, downgrade=nil, securityinfo=nil, issubdomain=nil)
6367
+ @DomainId = domainid
6368
+ @Domain = domain
6369
+ @Grade = grade
6370
+ @GradeTitle = gradetitle
6371
+ @VipStartAt = vipstartat
6372
+ @VipEndAt = vipendat
6373
+ @VipAutoRenew = vipautorenew
6374
+ @RemainTimes = remaintimes
6375
+ @ResourceId = resourceid
6376
+ @GradeLevel = gradelevel
6377
+ @Status = status
6378
+ @IsGracePeriod = isgraceperiod
6379
+ @Downgrade = downgrade
6380
+ @SecurityInfo = securityinfo
6381
+ @IsSubDomain = issubdomain
6382
+ end
6383
+
6384
+ def deserialize(params)
6385
+ @DomainId = params['DomainId']
6386
+ @Domain = params['Domain']
6387
+ @Grade = params['Grade']
6388
+ @GradeTitle = params['GradeTitle']
6389
+ @VipStartAt = params['VipStartAt']
6390
+ @VipEndAt = params['VipEndAt']
6391
+ @VipAutoRenew = params['VipAutoRenew']
6392
+ @RemainTimes = params['RemainTimes']
6393
+ @ResourceId = params['ResourceId']
6394
+ @GradeLevel = params['GradeLevel']
6395
+ @Status = params['Status']
6396
+ @IsGracePeriod = params['IsGracePeriod']
6397
+ @Downgrade = params['Downgrade']
6398
+ unless params['SecurityInfo'].nil?
6399
+ @SecurityInfo = SecurityInfo.new
6400
+ @SecurityInfo.deserialize(params['SecurityInfo'])
6401
+ end
6402
+ @IsSubDomain = params['IsSubDomain']
6403
+ end
6404
+ end
6405
+
6193
6406
  # PayOrderWithBalance请求参数结构体
6194
6407
  class PayOrderWithBalanceRequest < TencentCloud::Common::AbstractModel
6195
6408
  # @param BigDealIdList: 需要支付的大订单号数组
@@ -6618,6 +6831,30 @@ module TencentCloud
6618
6831
  end
6619
6832
  end
6620
6833
 
6834
+ # 套餐中安全防护信息
6835
+ class SecurityInfo < TencentCloud::Common::AbstractModel
6836
+ # @param IsDefendFree: 是否是免费赠送:yes-是;no-不是
6837
+ # @type IsDefendFree: String
6838
+ # @param Key: 防护类型
6839
+ # @type Key: String
6840
+ # @param ResourceId: 资源 ID
6841
+ # @type ResourceId: String
6842
+
6843
+ attr_accessor :IsDefendFree, :Key, :ResourceId
6844
+
6845
+ def initialize(isdefendfree=nil, key=nil, resourceid=nil)
6846
+ @IsDefendFree = isdefendfree
6847
+ @Key = key
6848
+ @ResourceId = resourceid
6849
+ end
6850
+
6851
+ def deserialize(params)
6852
+ @IsDefendFree = params['IsDefendFree']
6853
+ @Key = params['Key']
6854
+ @ResourceId = params['ResourceId']
6855
+ end
6856
+ end
6857
+
6621
6858
  # 域名解析快照配置
6622
6859
  class SnapshotConfig < TencentCloud::Common::AbstractModel
6623
6860
  # @param Config: 配置类型:空字符串-不备份,half_hour-每半小时,hourly-每小时,daily-每天,monthly-每月
@@ -6983,6 +7220,62 @@ module TencentCloud
6983
7220
  end
6984
7221
  end
6985
7222
 
7223
+ # 增值服务信息
7224
+ class VasListItem < TencentCloud::Common::AbstractModel
7225
+ # @param LimitNumber: 规格总数
7226
+ # @type LimitNumber: Integer
7227
+ # @param StartedAt: 购买时间
7228
+ # @type StartedAt: String
7229
+ # @param EndedAt: 到期时间
7230
+ # @type EndedAt: String
7231
+ # @param ResourceId: 资源唯一 ID
7232
+ # @type ResourceId: String
7233
+ # @param AutoRenew: 自动续费标识
7234
+ # @type AutoRenew: String
7235
+ # @param Domain: 已绑定的域名
7236
+ # @type Domain: String
7237
+ # @param BindType: 绑定类型
7238
+ # @type BindType: String
7239
+ # @param Key: 增值服务类型
7240
+ # @type Key: String
7241
+ # @param Name: 增值服务名
7242
+ # @type Name: String
7243
+ # @param CanRenew: 是否可续费
7244
+ # @type CanRenew: Boolean
7245
+ # @param VipDomain: 是否只允许付费套餐域名可购买
7246
+ # @type VipDomain: Boolean
7247
+
7248
+ attr_accessor :LimitNumber, :StartedAt, :EndedAt, :ResourceId, :AutoRenew, :Domain, :BindType, :Key, :Name, :CanRenew, :VipDomain
7249
+
7250
+ def initialize(limitnumber=nil, startedat=nil, endedat=nil, resourceid=nil, autorenew=nil, domain=nil, bindtype=nil, key=nil, name=nil, canrenew=nil, vipdomain=nil)
7251
+ @LimitNumber = limitnumber
7252
+ @StartedAt = startedat
7253
+ @EndedAt = endedat
7254
+ @ResourceId = resourceid
7255
+ @AutoRenew = autorenew
7256
+ @Domain = domain
7257
+ @BindType = bindtype
7258
+ @Key = key
7259
+ @Name = name
7260
+ @CanRenew = canrenew
7261
+ @VipDomain = vipdomain
7262
+ end
7263
+
7264
+ def deserialize(params)
7265
+ @LimitNumber = params['LimitNumber']
7266
+ @StartedAt = params['StartedAt']
7267
+ @EndedAt = params['EndedAt']
7268
+ @ResourceId = params['ResourceId']
7269
+ @AutoRenew = params['AutoRenew']
7270
+ @Domain = params['Domain']
7271
+ @BindType = params['BindType']
7272
+ @Key = params['Key']
7273
+ @Name = params['Name']
7274
+ @CanRenew = params['CanRenew']
7275
+ @VipDomain = params['VipDomain']
7276
+ end
7277
+ end
7278
+
6986
7279
  # Whois联系信息
6987
7280
  class WhoisContact < TencentCloud::Common::AbstractModel
6988
7281
  # @param Admin: 无
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.1074
4
+ version: 3.0.1079
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-06-04 00:00:00.000000000 Z
11
+ date: 2025-06-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common