tencentcloud-sdk-dnspod 3.0.586 → 3.0.587
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20210323/client.rb +24 -0
- data/lib/v20210323/models.rb +119 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f1345201e0097dfae00e77773e2f4953b9cf656d
|
4
|
+
data.tar.gz: 788748d0afee270bec0cfde891b0708bf18b4d11
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0d4ecea9d07b40dd22ac32bdd7698628f66650d925d21f02982a89833fc7fcf064bccbc7a989bf12012a2b3be1587cef2875790a91cf845c75922029475d5499
|
7
|
+
data.tar.gz: 701ed65d195f199ff801486c8ca2f77da3f257b5c95e3921c43f314bc8f71d5c1a77d24ea10ed94b81e55399ae25e0af047ee1922089d2cd422e6f0f5c284df5
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.587
|
data/lib/v20210323/client.rb
CHANGED
@@ -557,6 +557,30 @@ module TencentCloud
|
|
557
557
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
558
558
|
end
|
559
559
|
|
560
|
+
# 获取域名筛选列表
|
561
|
+
|
562
|
+
# @param request: Request instance for DescribeDomainFilterList.
|
563
|
+
# @type request: :class:`Tencentcloud::dnspod::V20210323::DescribeDomainFilterListRequest`
|
564
|
+
# @rtype: :class:`Tencentcloud::dnspod::V20210323::DescribeDomainFilterListResponse`
|
565
|
+
def DescribeDomainFilterList(request)
|
566
|
+
body = send_request('DescribeDomainFilterList', request.serialize)
|
567
|
+
response = JSON.parse(body)
|
568
|
+
if response['Response'].key?('Error') == false
|
569
|
+
model = DescribeDomainFilterListResponse.new
|
570
|
+
model.deserialize(response['Response'])
|
571
|
+
model
|
572
|
+
else
|
573
|
+
code = response['Response']['Error']['Code']
|
574
|
+
message = response['Response']['Error']['Message']
|
575
|
+
reqid = response['Response']['RequestId']
|
576
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
577
|
+
end
|
578
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
579
|
+
raise e
|
580
|
+
rescue StandardError => e
|
581
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
582
|
+
end
|
583
|
+
|
560
584
|
# 获取域名分组列表
|
561
585
|
|
562
586
|
# @param request: Request instance for DescribeDomainGroupList.
|
data/lib/v20210323/models.rb
CHANGED
@@ -1570,6 +1570,125 @@ module TencentCloud
|
|
1570
1570
|
end
|
1571
1571
|
end
|
1572
1572
|
|
1573
|
+
# DescribeDomainFilterList请求参数结构体
|
1574
|
+
class DescribeDomainFilterListRequest < TencentCloud::Common::AbstractModel
|
1575
|
+
# @param Type: 根据域名分组类型获取域名。可取值为 ALL,MINE,SHARE,RECENT。
|
1576
|
+
# ALL:全部
|
1577
|
+
# MINE:我的域名
|
1578
|
+
# SHARE:共享给我的域名
|
1579
|
+
# RECENT:最近操作过的域名
|
1580
|
+
# @type Type: String
|
1581
|
+
# @param Offset: 记录开始的偏移, 第一条记录为 0, 依次类推。默认值为 0。
|
1582
|
+
# @type Offset: Integer
|
1583
|
+
# @param Limit: 要获取的域名数量, 比如获取 20 个, 则为 20。默认值为 5000。如果账户中的域名数量超过了 5000, 将会强制分页并且只返回前 5000 条, 这时需要通过 Offset 和 Limit 参数去获取其它域名。
|
1584
|
+
# @type Limit: Integer
|
1585
|
+
# @param GroupId: 根据域名分组 id 获取域名,可通过 DescribeDomain 或 DescribeDomainList 接口 GroupId 字段获取。
|
1586
|
+
# @type GroupId: Array
|
1587
|
+
# @param Keyword: 根据关键字获取域名。
|
1588
|
+
# @type Keyword: String
|
1589
|
+
# @param SortField: 排序字段。可取值为 NAME,STATUS,RECORDS,GRADE,UPDATED_ON。
|
1590
|
+
# NAME:域名名称
|
1591
|
+
# STATUS:域名状态
|
1592
|
+
# RECORDS:记录数量
|
1593
|
+
# GRADE:套餐等级
|
1594
|
+
# UPDATED_ON:更新时间
|
1595
|
+
# @type SortField: String
|
1596
|
+
# @param SortType: 排序类型,升序:ASC,降序:DESC。
|
1597
|
+
# @type SortType: String
|
1598
|
+
# @param Status: 根据域名状态获取域名。可取值为 ENABLE,LOCK,PAUSE,SPAM。
|
1599
|
+
# ENABLE:正常
|
1600
|
+
# LOCK:锁定
|
1601
|
+
# PAUSE:暂停
|
1602
|
+
# SPAM:封禁
|
1603
|
+
# @type Status: Array
|
1604
|
+
# @param Package: 根据套餐获取域名,可通过 DescribeDomain 或 DescribeDomainList 接口 Grade 字段获取。
|
1605
|
+
# @type Package: Array
|
1606
|
+
# @param Remark: 根据备注信息获取域名。
|
1607
|
+
# @type Remark: String
|
1608
|
+
# @param UpdatedAtBegin: 要获取域名的更新时间起始时间点,如 '2021-05-01 03:00:00'。
|
1609
|
+
# @type UpdatedAtBegin: String
|
1610
|
+
# @param UpdatedAtEnd: 要获取域名的更新时间终止时间点,如 '2021-05-10 20:00:00'。
|
1611
|
+
# @type UpdatedAtEnd: String
|
1612
|
+
# @param RecordCountBegin: 要获取域名的记录数查询区间起点。
|
1613
|
+
# @type RecordCountBegin: Integer
|
1614
|
+
# @param RecordCountEnd: 要获取域名的记录数查询区间终点。
|
1615
|
+
# @type RecordCountEnd: Integer
|
1616
|
+
# @param ProjectId: 项目ID
|
1617
|
+
# @type ProjectId: Integer
|
1618
|
+
|
1619
|
+
attr_accessor :Type, :Offset, :Limit, :GroupId, :Keyword, :SortField, :SortType, :Status, :Package, :Remark, :UpdatedAtBegin, :UpdatedAtEnd, :RecordCountBegin, :RecordCountEnd, :ProjectId
|
1620
|
+
|
1621
|
+
def initialize(type=nil, offset=nil, limit=nil, groupid=nil, keyword=nil, sortfield=nil, sorttype=nil, status=nil, package=nil, remark=nil, updatedatbegin=nil, updatedatend=nil, recordcountbegin=nil, recordcountend=nil, projectid=nil)
|
1622
|
+
@Type = type
|
1623
|
+
@Offset = offset
|
1624
|
+
@Limit = limit
|
1625
|
+
@GroupId = groupid
|
1626
|
+
@Keyword = keyword
|
1627
|
+
@SortField = sortfield
|
1628
|
+
@SortType = sorttype
|
1629
|
+
@Status = status
|
1630
|
+
@Package = package
|
1631
|
+
@Remark = remark
|
1632
|
+
@UpdatedAtBegin = updatedatbegin
|
1633
|
+
@UpdatedAtEnd = updatedatend
|
1634
|
+
@RecordCountBegin = recordcountbegin
|
1635
|
+
@RecordCountEnd = recordcountend
|
1636
|
+
@ProjectId = projectid
|
1637
|
+
end
|
1638
|
+
|
1639
|
+
def deserialize(params)
|
1640
|
+
@Type = params['Type']
|
1641
|
+
@Offset = params['Offset']
|
1642
|
+
@Limit = params['Limit']
|
1643
|
+
@GroupId = params['GroupId']
|
1644
|
+
@Keyword = params['Keyword']
|
1645
|
+
@SortField = params['SortField']
|
1646
|
+
@SortType = params['SortType']
|
1647
|
+
@Status = params['Status']
|
1648
|
+
@Package = params['Package']
|
1649
|
+
@Remark = params['Remark']
|
1650
|
+
@UpdatedAtBegin = params['UpdatedAtBegin']
|
1651
|
+
@UpdatedAtEnd = params['UpdatedAtEnd']
|
1652
|
+
@RecordCountBegin = params['RecordCountBegin']
|
1653
|
+
@RecordCountEnd = params['RecordCountEnd']
|
1654
|
+
@ProjectId = params['ProjectId']
|
1655
|
+
end
|
1656
|
+
end
|
1657
|
+
|
1658
|
+
# DescribeDomainFilterList返回参数结构体
|
1659
|
+
class DescribeDomainFilterListResponse < TencentCloud::Common::AbstractModel
|
1660
|
+
# @param DomainCountInfo: 列表页统计信息
|
1661
|
+
# @type DomainCountInfo: :class:`Tencentcloud::Dnspod.v20210323.models.DomainCountInfo`
|
1662
|
+
# @param DomainList: 域名列表
|
1663
|
+
# @type DomainList: Array
|
1664
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1665
|
+
# @type RequestId: String
|
1666
|
+
|
1667
|
+
attr_accessor :DomainCountInfo, :DomainList, :RequestId
|
1668
|
+
|
1669
|
+
def initialize(domaincountinfo=nil, domainlist=nil, requestid=nil)
|
1670
|
+
@DomainCountInfo = domaincountinfo
|
1671
|
+
@DomainList = domainlist
|
1672
|
+
@RequestId = requestid
|
1673
|
+
end
|
1674
|
+
|
1675
|
+
def deserialize(params)
|
1676
|
+
unless params['DomainCountInfo'].nil?
|
1677
|
+
@DomainCountInfo = DomainCountInfo.new
|
1678
|
+
@DomainCountInfo.deserialize(params['DomainCountInfo'])
|
1679
|
+
end
|
1680
|
+
unless params['DomainList'].nil?
|
1681
|
+
@DomainList = []
|
1682
|
+
params['DomainList'].each do |i|
|
1683
|
+
domainlistitem_tmp = DomainListItem.new
|
1684
|
+
domainlistitem_tmp.deserialize(i)
|
1685
|
+
@DomainList << domainlistitem_tmp
|
1686
|
+
end
|
1687
|
+
end
|
1688
|
+
@RequestId = params['RequestId']
|
1689
|
+
end
|
1690
|
+
end
|
1691
|
+
|
1573
1692
|
# DescribeDomainGroupList请求参数结构体
|
1574
1693
|
class DescribeDomainGroupListRequest < TencentCloud::Common::AbstractModel
|
1575
1694
|
|
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.
|
4
|
+
version: 3.0.587
|
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-06-
|
11
|
+
date: 2023-06-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|