tencentcloud-sdk-privatedns 3.0.435 → 3.0.436
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/v20201028/client.rb +24 -0
- data/lib/v20201028/models.rb +52 -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: 901dd026f976fcee80ac0c340b17aff4a0c76623
|
4
|
+
data.tar.gz: c973be6d3c294fdb6d8823ce0254f49aa3a17b85
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: da4f7e12afdcef3d206abb7b41606dc8d0af11645a0ce40af179a1491a5bc0916b70fb8e1d97205a0bbdd1bfa0886f828e0d510e67a249f0e651c9dbcfee8209
|
7
|
+
data.tar.gz: 3af6764a435a9b14bdb18fcb140b456bbe30fbd0207cf756c90b75ff73d2154c48222c61efa77ee85d02d379f625cefc81a94d6017e0674a5a7fcc3b4be3fbab
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.436
|
data/lib/v20201028/client.rb
CHANGED
@@ -485,6 +485,30 @@ module TencentCloud
|
|
485
485
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
486
486
|
end
|
487
487
|
|
488
|
+
# 修改解析记录状态
|
489
|
+
|
490
|
+
# @param request: Request instance for ModifyRecordsStatus.
|
491
|
+
# @type request: :class:`Tencentcloud::privatedns::V20201028::ModifyRecordsStatusRequest`
|
492
|
+
# @rtype: :class:`Tencentcloud::privatedns::V20201028::ModifyRecordsStatusResponse`
|
493
|
+
def ModifyRecordsStatus(request)
|
494
|
+
body = send_request('ModifyRecordsStatus', request.serialize)
|
495
|
+
response = JSON.parse(body)
|
496
|
+
if response['Response'].key?('Error') == false
|
497
|
+
model = ModifyRecordsStatusResponse.new
|
498
|
+
model.deserialize(response['Response'])
|
499
|
+
model
|
500
|
+
else
|
501
|
+
code = response['Response']['Error']['Code']
|
502
|
+
message = response['Response']['Error']['Message']
|
503
|
+
reqid = response['Response']['RequestId']
|
504
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
505
|
+
end
|
506
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
507
|
+
raise e
|
508
|
+
rescue StandardError => e
|
509
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
510
|
+
end
|
511
|
+
|
488
512
|
# 开通私有域解析
|
489
513
|
|
490
514
|
# @param request: Request instance for SubscribePrivateZoneService.
|
data/lib/v20201028/models.rb
CHANGED
@@ -1283,6 +1283,58 @@ module TencentCloud
|
|
1283
1283
|
end
|
1284
1284
|
end
|
1285
1285
|
|
1286
|
+
# ModifyRecordsStatus请求参数结构体
|
1287
|
+
class ModifyRecordsStatusRequest < TencentCloud::Common::AbstractModel
|
1288
|
+
# @param ZoneId: 私有域ID
|
1289
|
+
# @type ZoneId: String
|
1290
|
+
# @param RecordIds: 解析记录ID列表
|
1291
|
+
# @type RecordIds: Array
|
1292
|
+
# @param Status: enabled:生效,disabled:失效
|
1293
|
+
# @type Status: String
|
1294
|
+
|
1295
|
+
attr_accessor :ZoneId, :RecordIds, :Status
|
1296
|
+
|
1297
|
+
def initialize(zoneid=nil, recordids=nil, status=nil)
|
1298
|
+
@ZoneId = zoneid
|
1299
|
+
@RecordIds = recordids
|
1300
|
+
@Status = status
|
1301
|
+
end
|
1302
|
+
|
1303
|
+
def deserialize(params)
|
1304
|
+
@ZoneId = params['ZoneId']
|
1305
|
+
@RecordIds = params['RecordIds']
|
1306
|
+
@Status = params['Status']
|
1307
|
+
end
|
1308
|
+
end
|
1309
|
+
|
1310
|
+
# ModifyRecordsStatus返回参数结构体
|
1311
|
+
class ModifyRecordsStatusResponse < TencentCloud::Common::AbstractModel
|
1312
|
+
# @param ZoneId: 私有域ID
|
1313
|
+
# @type ZoneId: String
|
1314
|
+
# @param RecordIds: 解析记录ID列表
|
1315
|
+
# @type RecordIds: Array
|
1316
|
+
# @param Status: enabled:生效,disabled:失效
|
1317
|
+
# @type Status: String
|
1318
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1319
|
+
# @type RequestId: String
|
1320
|
+
|
1321
|
+
attr_accessor :ZoneId, :RecordIds, :Status, :RequestId
|
1322
|
+
|
1323
|
+
def initialize(zoneid=nil, recordids=nil, status=nil, requestid=nil)
|
1324
|
+
@ZoneId = zoneid
|
1325
|
+
@RecordIds = recordids
|
1326
|
+
@Status = status
|
1327
|
+
@RequestId = requestid
|
1328
|
+
end
|
1329
|
+
|
1330
|
+
def deserialize(params)
|
1331
|
+
@ZoneId = params['ZoneId']
|
1332
|
+
@RecordIds = params['RecordIds']
|
1333
|
+
@Status = params['Status']
|
1334
|
+
@RequestId = params['RequestId']
|
1335
|
+
end
|
1336
|
+
end
|
1337
|
+
|
1286
1338
|
# 私有域解析账号
|
1287
1339
|
class PrivateDNSAccount < TencentCloud::Common::AbstractModel
|
1288
1340
|
# @param Uin: 主账号Uin
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-privatedns
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.436
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-10-
|
11
|
+
date: 2022-10-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|