tencentcloud-sdk-dnspod 3.0.1058 → 3.0.1059
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 +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20210323/client.rb +24 -0
- data/lib/v20210323/models.rb +175 -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: df3e6bede0ad3f08cb5c60eb1522a808faac857a
|
4
|
+
data.tar.gz: c28f1b92ab2749cede0df7ccfbd9db9ddfc8860e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1a19d7845605df778ac97686a93eb25cec5bab28199957fc1fd7c52d40120b16f86eae64cdbf6e558d481fdaa720b1ae8b6832a4e212df290f8391c5a5c2b554
|
7
|
+
data.tar.gz: e622cdff71153b0175655583e7b29f481701eabdb009e57d3331f9b720cefc773922066f1e856f901148b04f27fb388dfac02ce0be92c927ef35b599eb68b2a2
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1059
|
data/lib/v20210323/client.rb
CHANGED
@@ -802,6 +802,30 @@ module TencentCloud
|
|
802
802
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
803
803
|
end
|
804
804
|
|
805
|
+
# 批量操作中搜索域名
|
806
|
+
|
807
|
+
# @param request: Request instance for DescribeDomainAndRecordList.
|
808
|
+
# @type request: :class:`Tencentcloud::dnspod::V20210323::DescribeDomainAndRecordListRequest`
|
809
|
+
# @rtype: :class:`Tencentcloud::dnspod::V20210323::DescribeDomainAndRecordListResponse`
|
810
|
+
def DescribeDomainAndRecordList(request)
|
811
|
+
body = send_request('DescribeDomainAndRecordList', request.serialize)
|
812
|
+
response = JSON.parse(body)
|
813
|
+
if response['Response'].key?('Error') == false
|
814
|
+
model = DescribeDomainAndRecordListResponse.new
|
815
|
+
model.deserialize(response['Response'])
|
816
|
+
model
|
817
|
+
else
|
818
|
+
code = response['Response']['Error']['Code']
|
819
|
+
message = response['Response']['Error']['Message']
|
820
|
+
reqid = response['Response']['RequestId']
|
821
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
822
|
+
end
|
823
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
824
|
+
raise e
|
825
|
+
rescue StandardError => e
|
826
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
827
|
+
end
|
828
|
+
|
805
829
|
# 获取域名的自定义线路列表
|
806
830
|
|
807
831
|
# @param request: Request instance for DescribeDomainCustomLineList.
|
data/lib/v20210323/models.rb
CHANGED
@@ -150,6 +150,100 @@ module TencentCloud
|
|
150
150
|
end
|
151
151
|
end
|
152
152
|
|
153
|
+
# 批量操作筛选域名信息
|
154
|
+
class BatchSearchDomainInfo < TencentCloud::Common::AbstractModel
|
155
|
+
# @param Domain: 域名
|
156
|
+
# @type Domain: String
|
157
|
+
# @param DomainId: 域名 ID
|
158
|
+
# @type DomainId: Integer
|
159
|
+
# @param DomainGrade: 域名套餐等级
|
160
|
+
# @type DomainGrade: String
|
161
|
+
# @param RecordList: 记录信息列表
|
162
|
+
# @type RecordList: Array
|
163
|
+
|
164
|
+
attr_accessor :Domain, :DomainId, :DomainGrade, :RecordList
|
165
|
+
|
166
|
+
def initialize(domain=nil, domainid=nil, domaingrade=nil, recordlist=nil)
|
167
|
+
@Domain = domain
|
168
|
+
@DomainId = domainid
|
169
|
+
@DomainGrade = domaingrade
|
170
|
+
@RecordList = recordlist
|
171
|
+
end
|
172
|
+
|
173
|
+
def deserialize(params)
|
174
|
+
@Domain = params['Domain']
|
175
|
+
@DomainId = params['DomainId']
|
176
|
+
@DomainGrade = params['DomainGrade']
|
177
|
+
unless params['RecordList'].nil?
|
178
|
+
@RecordList = []
|
179
|
+
params['RecordList'].each do |i|
|
180
|
+
batchsearchrecordinfo_tmp = BatchSearchRecordInfo.new
|
181
|
+
batchsearchrecordinfo_tmp.deserialize(i)
|
182
|
+
@RecordList << batchsearchrecordinfo_tmp
|
183
|
+
end
|
184
|
+
end
|
185
|
+
end
|
186
|
+
end
|
187
|
+
|
188
|
+
# 批量操作筛选记录信息
|
189
|
+
class BatchSearchRecordInfo < TencentCloud::Common::AbstractModel
|
190
|
+
# @param RecordId: 解析记录 ID
|
191
|
+
# @type RecordId: Integer
|
192
|
+
# @param Area: 解析线路
|
193
|
+
# @type Area: String
|
194
|
+
# @param Remark: 记录备注
|
195
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
196
|
+
# @type Remark: String
|
197
|
+
# @param TTL: TTL(秒)
|
198
|
+
# @type TTL: Integer
|
199
|
+
# @param RecordType: 记录类型
|
200
|
+
# @type RecordType: String
|
201
|
+
# @param Enabled: 记录是否启用
|
202
|
+
# @type Enabled: Integer
|
203
|
+
# @param Weight: 权重
|
204
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
205
|
+
# @type Weight: Integer
|
206
|
+
# @param GroupId: 记录分组 ID
|
207
|
+
# @type GroupId: Integer
|
208
|
+
# @param SubDomain: 子域名
|
209
|
+
# @type SubDomain: String
|
210
|
+
# @param Value: 解析值
|
211
|
+
# @type Value: String
|
212
|
+
# @param MX: MX优先级
|
213
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
214
|
+
# @type MX: Integer
|
215
|
+
|
216
|
+
attr_accessor :RecordId, :Area, :Remark, :TTL, :RecordType, :Enabled, :Weight, :GroupId, :SubDomain, :Value, :MX
|
217
|
+
|
218
|
+
def initialize(recordid=nil, area=nil, remark=nil, ttl=nil, recordtype=nil, enabled=nil, weight=nil, groupid=nil, subdomain=nil, value=nil, mx=nil)
|
219
|
+
@RecordId = recordid
|
220
|
+
@Area = area
|
221
|
+
@Remark = remark
|
222
|
+
@TTL = ttl
|
223
|
+
@RecordType = recordtype
|
224
|
+
@Enabled = enabled
|
225
|
+
@Weight = weight
|
226
|
+
@GroupId = groupid
|
227
|
+
@SubDomain = subdomain
|
228
|
+
@Value = value
|
229
|
+
@MX = mx
|
230
|
+
end
|
231
|
+
|
232
|
+
def deserialize(params)
|
233
|
+
@RecordId = params['RecordId']
|
234
|
+
@Area = params['Area']
|
235
|
+
@Remark = params['Remark']
|
236
|
+
@TTL = params['TTL']
|
237
|
+
@RecordType = params['RecordType']
|
238
|
+
@Enabled = params['Enabled']
|
239
|
+
@Weight = params['Weight']
|
240
|
+
@GroupId = params['GroupId']
|
241
|
+
@SubDomain = params['SubDomain']
|
242
|
+
@Value = params['Value']
|
243
|
+
@MX = params['MX']
|
244
|
+
end
|
245
|
+
end
|
246
|
+
|
153
247
|
# CheckRecordSnapshotRollback请求参数结构体
|
154
248
|
class CheckRecordSnapshotRollbackRequest < TencentCloud::Common::AbstractModel
|
155
249
|
# @param Domain: 域名
|
@@ -2135,6 +2229,87 @@ module TencentCloud
|
|
2135
2229
|
end
|
2136
2230
|
end
|
2137
2231
|
|
2232
|
+
# DescribeDomainAndRecordList请求参数结构体
|
2233
|
+
class DescribeDomainAndRecordListRequest < TencentCloud::Common::AbstractModel
|
2234
|
+
# @param AllDomain: 搜索所有域名。AllDomain、GroupIdList、DomainList、DomainIdList 参数传任一个即可。优先级为:AllDomain > GroupIdList > DomainList > DomainIdList。
|
2235
|
+
# @type AllDomain: String
|
2236
|
+
# @param DomainList: 要搜索的域名列表。
|
2237
|
+
# @type DomainList: Array
|
2238
|
+
# @param DomainIdList: 要搜索的域名 ID 列表。
|
2239
|
+
# @type DomainIdList: Array
|
2240
|
+
# @param GroupIdList: 要搜索的域名分组 ID 列表。
|
2241
|
+
# @type GroupIdList: Array
|
2242
|
+
# @param RecordType: 记录类型筛选
|
2243
|
+
# @type RecordType: String
|
2244
|
+
# @param SubKeyword: 子域名筛选
|
2245
|
+
# @type SubKeyword: String
|
2246
|
+
# @param ValueKeyword: 记录值筛选
|
2247
|
+
# @type ValueKeyword: String
|
2248
|
+
# @param Area: 线路筛选
|
2249
|
+
# @type Area: String
|
2250
|
+
# @param Remark: 备注筛选
|
2251
|
+
# @type Remark: String
|
2252
|
+
# @param Enabled: 记录状态筛选
|
2253
|
+
# 1:正常
|
2254
|
+
# 0:暂停
|
2255
|
+
# @type Enabled: String
|
2256
|
+
|
2257
|
+
attr_accessor :AllDomain, :DomainList, :DomainIdList, :GroupIdList, :RecordType, :SubKeyword, :ValueKeyword, :Area, :Remark, :Enabled
|
2258
|
+
|
2259
|
+
def initialize(alldomain=nil, domainlist=nil, domainidlist=nil, groupidlist=nil, recordtype=nil, subkeyword=nil, valuekeyword=nil, area=nil, remark=nil, enabled=nil)
|
2260
|
+
@AllDomain = alldomain
|
2261
|
+
@DomainList = domainlist
|
2262
|
+
@DomainIdList = domainidlist
|
2263
|
+
@GroupIdList = groupidlist
|
2264
|
+
@RecordType = recordtype
|
2265
|
+
@SubKeyword = subkeyword
|
2266
|
+
@ValueKeyword = valuekeyword
|
2267
|
+
@Area = area
|
2268
|
+
@Remark = remark
|
2269
|
+
@Enabled = enabled
|
2270
|
+
end
|
2271
|
+
|
2272
|
+
def deserialize(params)
|
2273
|
+
@AllDomain = params['AllDomain']
|
2274
|
+
@DomainList = params['DomainList']
|
2275
|
+
@DomainIdList = params['DomainIdList']
|
2276
|
+
@GroupIdList = params['GroupIdList']
|
2277
|
+
@RecordType = params['RecordType']
|
2278
|
+
@SubKeyword = params['SubKeyword']
|
2279
|
+
@ValueKeyword = params['ValueKeyword']
|
2280
|
+
@Area = params['Area']
|
2281
|
+
@Remark = params['Remark']
|
2282
|
+
@Enabled = params['Enabled']
|
2283
|
+
end
|
2284
|
+
end
|
2285
|
+
|
2286
|
+
# DescribeDomainAndRecordList返回参数结构体
|
2287
|
+
class DescribeDomainAndRecordListResponse < TencentCloud::Common::AbstractModel
|
2288
|
+
# @param DetailList: 域名列表
|
2289
|
+
# @type DetailList: Array
|
2290
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2291
|
+
# @type RequestId: String
|
2292
|
+
|
2293
|
+
attr_accessor :DetailList, :RequestId
|
2294
|
+
|
2295
|
+
def initialize(detaillist=nil, requestid=nil)
|
2296
|
+
@DetailList = detaillist
|
2297
|
+
@RequestId = requestid
|
2298
|
+
end
|
2299
|
+
|
2300
|
+
def deserialize(params)
|
2301
|
+
unless params['DetailList'].nil?
|
2302
|
+
@DetailList = []
|
2303
|
+
params['DetailList'].each do |i|
|
2304
|
+
batchsearchdomaininfo_tmp = BatchSearchDomainInfo.new
|
2305
|
+
batchsearchdomaininfo_tmp.deserialize(i)
|
2306
|
+
@DetailList << batchsearchdomaininfo_tmp
|
2307
|
+
end
|
2308
|
+
end
|
2309
|
+
@RequestId = params['RequestId']
|
2310
|
+
end
|
2311
|
+
end
|
2312
|
+
|
2138
2313
|
# DescribeDomainCustomLineList请求参数结构体
|
2139
2314
|
class DescribeDomainCustomLineListRequest < TencentCloud::Common::AbstractModel
|
2140
2315
|
# @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.
|
4
|
+
version: 3.0.1059
|
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-05-
|
11
|
+
date: 2025-05-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|