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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: dbd3621040b86fd9bdae8c338a29a19a80a7c8ff
4
- data.tar.gz: 7fb01e9196b982bdde539da324f70ac08837a87c
3
+ metadata.gz: e3196d61716fc51c08d11bb775886f4ef1ed0ecd
4
+ data.tar.gz: 058c3c926019bc80b486756ff0adfd21c2d210d9
5
5
  SHA512:
6
- metadata.gz: 6af2463c2ac0af6aa0919bd40fa9c015e528fd75fd6fb1c550a1b4b51ab67d3d6c1bfd61689687d461d62ab0290be227cc0a3fa7cc64dd8343bc61839c4a715b
7
- data.tar.gz: 2172e3a78ce72dd84ae82f26cb54ff010a0fbaeeea2adebb91d1be0716f0912a461185818522db0b9fce1d4c7e21075d4c9b73491c1499a7d6d841749733c2fc
6
+ metadata.gz: 26473cbb9dc32d2a62d98135a6a21109ee536dba659ba5d035fe11b8e6ba074acc69e95fc663c1039f49e08cc6ae4ad7db9cfd896a4d4b6a03056f9301727766
7
+ data.tar.gz: 00ac9139d5e68efc347ac53d6405fe7f3a8cbac877da9fd78ae3b1224cdc7028c19ff86b496d8fd0ff96fdba6ed5a54774a1a36e8426dd1a02b4a79d451a28ad
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.435
1
+ 3.0.437
@@ -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.
@@ -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.435
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-25 00:00:00.000000000 Z
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