tencentcloud-sdk-privatedns 3.0.435 → 3.0.437
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/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: e3196d61716fc51c08d11bb775886f4ef1ed0ecd
|
4
|
+
data.tar.gz: 058c3c926019bc80b486756ff0adfd21c2d210d9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 26473cbb9dc32d2a62d98135a6a21109ee536dba659ba5d035fe11b8e6ba074acc69e95fc663c1039f49e08cc6ae4ad7db9cfd896a4d4b6a03056f9301727766
|
7
|
+
data.tar.gz: 00ac9139d5e68efc347ac53d6405fe7f3a8cbac877da9fd78ae3b1224cdc7028c19ff86b496d8fd0ff96fdba6ed5a54774a1a36e8426dd1a02b4a79d451a28ad
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.437
|
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.437
|
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-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|