tencentcloud-sdk-dnspod 3.0.620 → 3.0.621

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: 5e3efe481bfd3ea846896b0679d9b619239c8309
4
- data.tar.gz: efb6e5d3ae8e03c84a4686304f5a8cc7585569cb
3
+ metadata.gz: b051a85142085cf68b3ecb2714f07b4ed7f266d5
4
+ data.tar.gz: 99f13498cac4969040e5c7456cd3ee35699613f0
5
5
  SHA512:
6
- metadata.gz: 63d2739a9c67ce662d389d9d2f33f05e9e4b33fe5b2222563b0c3549081e4c2c45679459704b15c935a0028d26bf6e1815ba41711dfec8376b65f89d39fa95cf
7
- data.tar.gz: d7b4036df800c5f53d144f2dbd7b088f1b969abefc6e1018b066569903c47e3cdf6fb912daaff8bf7ec78b2c23d8a2640ea883a6725a4d2439a4d6726d66472d
6
+ metadata.gz: fe27e78ffcd2633c2095f9a587a6d184935f720c951372d461f28ae9b0adf6e3e5f10f899fe700486143a198c77c0fc67c17592d120eaea1a9476cdcc6d95b68
7
+ data.tar.gz: 3fa3fb9402213b0a926b1b7df157ddacf24a7b923d9a4b75252e44621f5e25d22b12aee49120cf9b0a3e25fd0fc31dec5d34f44b08064486b8791fd1eaa2740c
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.620
1
+ 3.0.621
@@ -845,6 +845,30 @@ module TencentCloud
845
845
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
846
846
  end
847
847
 
848
+ # 获取某个域名下的解析记录列表
849
+
850
+ # @param request: Request instance for DescribeRecordFilterList.
851
+ # @type request: :class:`Tencentcloud::dnspod::V20210323::DescribeRecordFilterListRequest`
852
+ # @rtype: :class:`Tencentcloud::dnspod::V20210323::DescribeRecordFilterListResponse`
853
+ def DescribeRecordFilterList(request)
854
+ body = send_request('DescribeRecordFilterList', request.serialize)
855
+ response = JSON.parse(body)
856
+ if response['Response'].key?('Error') == false
857
+ model = DescribeRecordFilterListResponse.new
858
+ model.deserialize(response['Response'])
859
+ model
860
+ else
861
+ code = response['Response']['Error']['Code']
862
+ message = response['Response']['Error']['Message']
863
+ reqid = response['Response']['RequestId']
864
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
865
+ end
866
+ rescue TencentCloud::Common::TencentCloudSDKException => e
867
+ raise e
868
+ rescue StandardError => e
869
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
870
+ end
871
+
848
872
  # 查询解析记录分组列表
849
873
 
850
874
  # @param request: Request instance for DescribeRecordGroupList.
@@ -2281,6 +2281,158 @@ module TencentCloud
2281
2281
  end
2282
2282
  end
2283
2283
 
2284
+ # DescribeRecordFilterList请求参数结构体
2285
+ class DescribeRecordFilterListRequest < TencentCloud::Common::AbstractModel
2286
+ # @param Domain: 要获取的解析记录所属的域名。
2287
+ # @type Domain: String
2288
+ # @param DomainId: 要获取的解析记录所属的域名 Id,如果传了 DomainId,系统将会忽略 Domain 参数。 可以通过接口 DescribeDomainList 查到所有的 Domain 以及 DomainId。
2289
+ # @type DomainId: Integer
2290
+ # @param SubDomain: 根据解析记录的主机头获取解析记录。默认模糊匹配。可以通过设置 IsExactSubdomain 参数为 true 进行精确查找。
2291
+ # @type SubDomain: String
2292
+ # @param RecordType: 获取某些类型的解析记录,如 A,CNAME,NS,AAAA,显性URL,隐性URL,CAA,SPF等。
2293
+ # @type RecordType: Array
2294
+ # @param RecordLine: 获取某些线路ID的解析记录。可以通过接口 DescribeRecordLineList 查看当前域名允许的线路信息。
2295
+ # @type RecordLine: Array
2296
+ # @param GroupId: 获取某些分组下的解析记录时,传这个分组 Id。可以通过接口 DescribeRecordGroupList 接口 GroupId 字段获取。
2297
+ # @type GroupId: Array
2298
+ # @param Keyword: 通过关键字搜索解析记录,当前支持搜索主机头和记录值
2299
+ # @type Keyword: String
2300
+ # @param SortField: 排序字段,支持 NAME,LINE,TYPE,VALUE,WEIGHT,MX,TTL,UPDATED_ON 几个字段。
2301
+ # NAME:解析记录的主机头
2302
+ # LINE:解析记录线路
2303
+ # TYPE:解析记录类型
2304
+ # VALUE:解析记录值
2305
+ # WEIGHT:权重
2306
+ # MX:MX 优先级
2307
+ # TTL:解析记录缓存时间
2308
+ # UPDATED_ON:解析记录更新时间
2309
+ # @type SortField: String
2310
+ # @param SortType: 排序方式,升序:ASC,降序:DESC。默认值为ASC。
2311
+ # @type SortType: String
2312
+ # @param Offset: 偏移量,默认值为0。
2313
+ # @type Offset: Integer
2314
+ # @param Limit: 限制数量,当前Limit最大支持3000。默认值为100。
2315
+ # @type Limit: Integer
2316
+ # @param RecordValue: 根据解析记录的值获取解析记录
2317
+ # @type RecordValue: String
2318
+ # @param RecordStatus: 根据解析记录的状态获取解析记录。可取值为 ENABLE,DISABLE。
2319
+ # ENABLE:正常
2320
+ # DISABLE:暂停
2321
+ # @type RecordStatus: Array
2322
+ # @param WeightBegin: 要获取解析记录权重查询区间起点。
2323
+ # @type WeightBegin: Integer
2324
+ # @param WeightEnd: 要获取解析记录权重查询区间终点。
2325
+ # @type WeightEnd: Integer
2326
+ # @param MXBegin: 要获取解析记录 MX 优先级查询区间起点。
2327
+ # @type MXBegin: Integer
2328
+ # @param MXEnd: 要获取解析记录 MX 优先级查询区间终点。
2329
+ # @type MXEnd: Integer
2330
+ # @param TTLBegin: 要获取解析记录 TTL 查询区间起点。
2331
+ # @type TTLBegin: Integer
2332
+ # @param TTLEnd: 要获取解析记录 TTL 查询区间终点。
2333
+ # @type TTLEnd: Integer
2334
+ # @param UpdatedAtBegin: 要获取解析记录更新时间查询区间起点。
2335
+ # @type UpdatedAtBegin: String
2336
+ # @param UpdatedAtEnd: 要获取解析记录更新时间查询区间终点。
2337
+ # @type UpdatedAtEnd: String
2338
+ # @param Remark: 根据解析记录的备注获取解析记录。
2339
+ # @type Remark: String
2340
+ # @param IsExactSubDomain: 是否根据 Subdomain 参数进行精确查找。
2341
+ # @type IsExactSubDomain: Boolean
2342
+ # @param ProjectId: 项目ID
2343
+ # @type ProjectId: Integer
2344
+
2345
+ attr_accessor :Domain, :DomainId, :SubDomain, :RecordType, :RecordLine, :GroupId, :Keyword, :SortField, :SortType, :Offset, :Limit, :RecordValue, :RecordStatus, :WeightBegin, :WeightEnd, :MXBegin, :MXEnd, :TTLBegin, :TTLEnd, :UpdatedAtBegin, :UpdatedAtEnd, :Remark, :IsExactSubDomain, :ProjectId
2346
+
2347
+ def initialize(domain=nil, domainid=nil, subdomain=nil, recordtype=nil, recordline=nil, groupid=nil, keyword=nil, sortfield=nil, sorttype=nil, offset=nil, limit=nil, recordvalue=nil, recordstatus=nil, weightbegin=nil, weightend=nil, mxbegin=nil, mxend=nil, ttlbegin=nil, ttlend=nil, updatedatbegin=nil, updatedatend=nil, remark=nil, isexactsubdomain=nil, projectid=nil)
2348
+ @Domain = domain
2349
+ @DomainId = domainid
2350
+ @SubDomain = subdomain
2351
+ @RecordType = recordtype
2352
+ @RecordLine = recordline
2353
+ @GroupId = groupid
2354
+ @Keyword = keyword
2355
+ @SortField = sortfield
2356
+ @SortType = sorttype
2357
+ @Offset = offset
2358
+ @Limit = limit
2359
+ @RecordValue = recordvalue
2360
+ @RecordStatus = recordstatus
2361
+ @WeightBegin = weightbegin
2362
+ @WeightEnd = weightend
2363
+ @MXBegin = mxbegin
2364
+ @MXEnd = mxend
2365
+ @TTLBegin = ttlbegin
2366
+ @TTLEnd = ttlend
2367
+ @UpdatedAtBegin = updatedatbegin
2368
+ @UpdatedAtEnd = updatedatend
2369
+ @Remark = remark
2370
+ @IsExactSubDomain = isexactsubdomain
2371
+ @ProjectId = projectid
2372
+ end
2373
+
2374
+ def deserialize(params)
2375
+ @Domain = params['Domain']
2376
+ @DomainId = params['DomainId']
2377
+ @SubDomain = params['SubDomain']
2378
+ @RecordType = params['RecordType']
2379
+ @RecordLine = params['RecordLine']
2380
+ @GroupId = params['GroupId']
2381
+ @Keyword = params['Keyword']
2382
+ @SortField = params['SortField']
2383
+ @SortType = params['SortType']
2384
+ @Offset = params['Offset']
2385
+ @Limit = params['Limit']
2386
+ @RecordValue = params['RecordValue']
2387
+ @RecordStatus = params['RecordStatus']
2388
+ @WeightBegin = params['WeightBegin']
2389
+ @WeightEnd = params['WeightEnd']
2390
+ @MXBegin = params['MXBegin']
2391
+ @MXEnd = params['MXEnd']
2392
+ @TTLBegin = params['TTLBegin']
2393
+ @TTLEnd = params['TTLEnd']
2394
+ @UpdatedAtBegin = params['UpdatedAtBegin']
2395
+ @UpdatedAtEnd = params['UpdatedAtEnd']
2396
+ @Remark = params['Remark']
2397
+ @IsExactSubDomain = params['IsExactSubDomain']
2398
+ @ProjectId = params['ProjectId']
2399
+ end
2400
+ end
2401
+
2402
+ # DescribeRecordFilterList返回参数结构体
2403
+ class DescribeRecordFilterListResponse < TencentCloud::Common::AbstractModel
2404
+ # @param RecordCountInfo: 记录的数量统计信息
2405
+ # @type RecordCountInfo: :class:`Tencentcloud::Dnspod.v20210323.models.RecordCountInfo`
2406
+ # @param RecordList: 获取的记录列表
2407
+ # @type RecordList: Array
2408
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2409
+ # @type RequestId: String
2410
+
2411
+ attr_accessor :RecordCountInfo, :RecordList, :RequestId
2412
+
2413
+ def initialize(recordcountinfo=nil, recordlist=nil, requestid=nil)
2414
+ @RecordCountInfo = recordcountinfo
2415
+ @RecordList = recordlist
2416
+ @RequestId = requestid
2417
+ end
2418
+
2419
+ def deserialize(params)
2420
+ unless params['RecordCountInfo'].nil?
2421
+ @RecordCountInfo = RecordCountInfo.new
2422
+ @RecordCountInfo.deserialize(params['RecordCountInfo'])
2423
+ end
2424
+ unless params['RecordList'].nil?
2425
+ @RecordList = []
2426
+ params['RecordList'].each do |i|
2427
+ recordlistitem_tmp = RecordListItem.new
2428
+ recordlistitem_tmp.deserialize(i)
2429
+ @RecordList << recordlistitem_tmp
2430
+ end
2431
+ end
2432
+ @RequestId = params['RequestId']
2433
+ end
2434
+ end
2435
+
2284
2436
  # DescribeRecordGroupList请求参数结构体
2285
2437
  class DescribeRecordGroupListRequest < TencentCloud::Common::AbstractModel
2286
2438
  # @param Domain: 域名
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.620
4
+ version: 3.0.621
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-07-25 00:00:00.000000000 Z
11
+ date: 2023-07-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common