tencentcloud-sdk-cwp 3.0.406 → 3.0.407

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: ffe70698cb7ee6b7649f97f290981f296b47f800
4
- data.tar.gz: afadb7c5470b003981611d28adc9c8dc291acf24
3
+ metadata.gz: 2af2cce4e3f6e99fa25bd6612dd5320cab9af9eb
4
+ data.tar.gz: 20e90f50e6007046c27ec08d4e2eee8b40f612bd
5
5
  SHA512:
6
- metadata.gz: 604b6ce10a6d9f4254a2e285aa1569c32b8daf7c97ae68a780810e6d1bceb6a7c919797b36667d30a97888f14c0a626a2e84b6e9aab67be9443f5f91d4dc153e
7
- data.tar.gz: f54c6a89f275f4f6dfae8cb511f0292099d71222100f1dfcec6ec80e35bf2313d7440c18d5ea81d3a9bc42ccfffadc987104e92100e29bd4c58d61197f031d99
6
+ metadata.gz: f1ed2ff2b1d1678ed0c7d817670a4d7d6b0f54e08e22d99f2691bb325ce74e08cdca19a54efd941b82b934256f1f9ae93ad23666bc28fdfb577c5aec8f2fb56e
7
+ data.tar.gz: f9f8fcee5913cb213761b1d343bfef55e6d0bf83fcc5e77de7198e9a9dee6fc71b028a975f1260a3f042a43d83ee1b7af82e6ff599b34ef722bb030498780990
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.406
1
+ 3.0.407
@@ -149,6 +149,33 @@ module TencentCloud
149
149
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
150
150
  end
151
151
 
152
+ # CreateLicenseOrder 该接口可以创建专业版/旗舰版订单
153
+ # 支持预付费后付费创建
154
+ # 后付费订单直接闯将成功
155
+ # 预付费订单仅下单不支付,需要调用计费支付接口进行支付
156
+
157
+ # @param request: Request instance for CreateLicenseOrder.
158
+ # @type request: :class:`Tencentcloud::cwp::V20180228::CreateLicenseOrderRequest`
159
+ # @rtype: :class:`Tencentcloud::cwp::V20180228::CreateLicenseOrderResponse`
160
+ def CreateLicenseOrder(request)
161
+ body = send_request('CreateLicenseOrder', request.serialize)
162
+ response = JSON.parse(body)
163
+ if response['Response'].key?('Error') == false
164
+ model = CreateLicenseOrderResponse.new
165
+ model.deserialize(response['Response'])
166
+ model
167
+ else
168
+ code = response['Response']['Error']['Code']
169
+ message = response['Response']['Error']['Message']
170
+ reqid = response['Response']['RequestId']
171
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
172
+ end
173
+ rescue TencentCloud::Common::TencentCloudSDKException => e
174
+ raise e
175
+ rescue StandardError => e
176
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
177
+ end
178
+
152
179
  # 添加网站防护服务器
153
180
 
154
181
  # @param request: Request instance for CreateProtectServer.
@@ -365,6 +392,30 @@ module TencentCloud
365
392
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
366
393
  end
367
394
 
395
+ # 对授权管理-订单列表内已过期的订单进行删除.(删除后的订单不在统计范畴内)
396
+
397
+ # @param request: Request instance for DeleteLicenseRecord.
398
+ # @type request: :class:`Tencentcloud::cwp::V20180228::DeleteLicenseRecordRequest`
399
+ # @rtype: :class:`Tencentcloud::cwp::V20180228::DeleteLicenseRecordResponse`
400
+ def DeleteLicenseRecord(request)
401
+ body = send_request('DeleteLicenseRecord', request.serialize)
402
+ response = JSON.parse(body)
403
+ if response['Response'].key?('Error') == false
404
+ model = DeleteLicenseRecordResponse.new
405
+ model.deserialize(response['Response'])
406
+ model
407
+ else
408
+ code = response['Response']['Error']['Code']
409
+ message = response['Response']['Error']['Message']
410
+ reqid = response['Response']['RequestId']
411
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
412
+ end
413
+ rescue TencentCloud::Common::TencentCloudSDKException => e
414
+ raise e
415
+ rescue StandardError => e
416
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
417
+ end
418
+
368
419
  # 本接口用于删除异地登录白名单规则。
369
420
 
370
421
  # @param request: Request instance for DeleteLoginWhiteList.
@@ -2333,6 +2384,102 @@ module TencentCloud
2333
2384
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2334
2385
  end
2335
2386
 
2387
+ # 该接口可以获取设置中心-授权管理,某个授权下已绑定的授权机器列表
2388
+
2389
+ # @param request: Request instance for DescribeLicenseBindList.
2390
+ # @type request: :class:`Tencentcloud::cwp::V20180228::DescribeLicenseBindListRequest`
2391
+ # @rtype: :class:`Tencentcloud::cwp::V20180228::DescribeLicenseBindListResponse`
2392
+ def DescribeLicenseBindList(request)
2393
+ body = send_request('DescribeLicenseBindList', request.serialize)
2394
+ response = JSON.parse(body)
2395
+ if response['Response'].key?('Error') == false
2396
+ model = DescribeLicenseBindListResponse.new
2397
+ model.deserialize(response['Response'])
2398
+ model
2399
+ else
2400
+ code = response['Response']['Error']['Code']
2401
+ message = response['Response']['Error']['Message']
2402
+ reqid = response['Response']['RequestId']
2403
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2404
+ end
2405
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2406
+ raise e
2407
+ rescue StandardError => e
2408
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2409
+ end
2410
+
2411
+ # 查询授权绑定任务的进度
2412
+
2413
+ # @param request: Request instance for DescribeLicenseBindSchedule.
2414
+ # @type request: :class:`Tencentcloud::cwp::V20180228::DescribeLicenseBindScheduleRequest`
2415
+ # @rtype: :class:`Tencentcloud::cwp::V20180228::DescribeLicenseBindScheduleResponse`
2416
+ def DescribeLicenseBindSchedule(request)
2417
+ body = send_request('DescribeLicenseBindSchedule', request.serialize)
2418
+ response = JSON.parse(body)
2419
+ if response['Response'].key?('Error') == false
2420
+ model = DescribeLicenseBindScheduleResponse.new
2421
+ model.deserialize(response['Response'])
2422
+ model
2423
+ else
2424
+ code = response['Response']['Error']['Code']
2425
+ message = response['Response']['Error']['Message']
2426
+ reqid = response['Response']['RequestId']
2427
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2428
+ end
2429
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2430
+ raise e
2431
+ rescue StandardError => e
2432
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2433
+ end
2434
+
2435
+ # 授权管理-授权概览信息
2436
+
2437
+ # @param request: Request instance for DescribeLicenseGeneral.
2438
+ # @type request: :class:`Tencentcloud::cwp::V20180228::DescribeLicenseGeneralRequest`
2439
+ # @rtype: :class:`Tencentcloud::cwp::V20180228::DescribeLicenseGeneralResponse`
2440
+ def DescribeLicenseGeneral(request)
2441
+ body = send_request('DescribeLicenseGeneral', request.serialize)
2442
+ response = JSON.parse(body)
2443
+ if response['Response'].key?('Error') == false
2444
+ model = DescribeLicenseGeneralResponse.new
2445
+ model.deserialize(response['Response'])
2446
+ model
2447
+ else
2448
+ code = response['Response']['Error']['Code']
2449
+ message = response['Response']['Error']['Message']
2450
+ reqid = response['Response']['RequestId']
2451
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2452
+ end
2453
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2454
+ raise e
2455
+ rescue StandardError => e
2456
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2457
+ end
2458
+
2459
+ # 获取用户所有授权订单信息
2460
+
2461
+ # @param request: Request instance for DescribeLicenseList.
2462
+ # @type request: :class:`Tencentcloud::cwp::V20180228::DescribeLicenseListRequest`
2463
+ # @rtype: :class:`Tencentcloud::cwp::V20180228::DescribeLicenseListResponse`
2464
+ def DescribeLicenseList(request)
2465
+ body = send_request('DescribeLicenseList', request.serialize)
2466
+ response = JSON.parse(body)
2467
+ if response['Response'].key?('Error') == false
2468
+ model = DescribeLicenseListResponse.new
2469
+ model.deserialize(response['Response'])
2470
+ model
2471
+ else
2472
+ code = response['Response']['Error']['Code']
2473
+ message = response['Response']['Error']['Message']
2474
+ reqid = response['Response']['RequestId']
2475
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2476
+ end
2477
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2478
+ raise e
2479
+ rescue StandardError => e
2480
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2481
+ end
2482
+
2336
2483
  # 获取日志检索容量使用统计
2337
2484
 
2338
2485
  # @param request: Request instance for DescribeLogStorageStatistic.
@@ -3845,6 +3992,30 @@ module TencentCloud
3845
3992
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
3846
3993
  end
3847
3994
 
3995
+ # DestroyOrder 该接口可以对资源销毁.
3996
+
3997
+ # @param request: Request instance for DestroyOrder.
3998
+ # @type request: :class:`Tencentcloud::cwp::V20180228::DestroyOrderRequest`
3999
+ # @rtype: :class:`Tencentcloud::cwp::V20180228::DestroyOrderResponse`
4000
+ def DestroyOrder(request)
4001
+ body = send_request('DestroyOrder', request.serialize)
4002
+ response = JSON.parse(body)
4003
+ if response['Response'].key?('Error') == false
4004
+ model = DestroyOrderResponse.new
4005
+ model.deserialize(response['Response'])
4006
+ model
4007
+ else
4008
+ code = response['Response']['Error']['Code']
4009
+ message = response['Response']['Error']['Message']
4010
+ reqid = response['Response']['RequestId']
4011
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
4012
+ end
4013
+ rescue TencentCloud::Common::TencentCloudSDKException => e
4014
+ raise e
4015
+ rescue StandardError => e
4016
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
4017
+ end
4018
+
3848
4019
  # 新增或修改高危命令规则
3849
4020
 
3850
4021
  # @param request: Request instance for EditBashRules.
@@ -4109,6 +4280,30 @@ module TencentCloud
4109
4280
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
4110
4281
  end
4111
4282
 
4283
+ # 导出授权列表对应的绑定信息
4284
+
4285
+ # @param request: Request instance for ExportLicenseDetail.
4286
+ # @type request: :class:`Tencentcloud::cwp::V20180228::ExportLicenseDetailRequest`
4287
+ # @rtype: :class:`Tencentcloud::cwp::V20180228::ExportLicenseDetailResponse`
4288
+ def ExportLicenseDetail(request)
4289
+ body = send_request('ExportLicenseDetail', request.serialize)
4290
+ response = JSON.parse(body)
4291
+ if response['Response'].key?('Error') == false
4292
+ model = ExportLicenseDetailResponse.new
4293
+ model.deserialize(response['Response'])
4294
+ model
4295
+ else
4296
+ code = response['Response']['Error']['Code']
4297
+ message = response['Response']['Error']['Message']
4298
+ reqid = response['Response']['RequestId']
4299
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
4300
+ end
4301
+ rescue TencentCloud::Common::TencentCloudSDKException => e
4302
+ raise e
4303
+ rescue StandardError => e
4304
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
4305
+ end
4306
+
4112
4307
  # 本接口 (ExportMaliciousRequests) 用于导出下载恶意请求文件。
4113
4308
 
4114
4309
  # @param request: Request instance for ExportMaliciousRequests.
@@ -4565,6 +4760,54 @@ module TencentCloud
4565
4760
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
4566
4761
  end
4567
4762
 
4763
+ # 设置中心-授权管理 对某个授权批量绑定机器
4764
+
4765
+ # @param request: Request instance for ModifyLicenseBinds.
4766
+ # @type request: :class:`Tencentcloud::cwp::V20180228::ModifyLicenseBindsRequest`
4767
+ # @rtype: :class:`Tencentcloud::cwp::V20180228::ModifyLicenseBindsResponse`
4768
+ def ModifyLicenseBinds(request)
4769
+ body = send_request('ModifyLicenseBinds', request.serialize)
4770
+ response = JSON.parse(body)
4771
+ if response['Response'].key?('Error') == false
4772
+ model = ModifyLicenseBindsResponse.new
4773
+ model.deserialize(response['Response'])
4774
+ model
4775
+ else
4776
+ code = response['Response']['Error']['Code']
4777
+ message = response['Response']['Error']['Message']
4778
+ reqid = response['Response']['RequestId']
4779
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
4780
+ end
4781
+ rescue TencentCloud::Common::TencentCloudSDKException => e
4782
+ raise e
4783
+ rescue StandardError => e
4784
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
4785
+ end
4786
+
4787
+ # 设置中心-授权管理 对某个授权批量解绑机器
4788
+
4789
+ # @param request: Request instance for ModifyLicenseUnBinds.
4790
+ # @type request: :class:`Tencentcloud::cwp::V20180228::ModifyLicenseUnBindsRequest`
4791
+ # @rtype: :class:`Tencentcloud::cwp::V20180228::ModifyLicenseUnBindsResponse`
4792
+ def ModifyLicenseUnBinds(request)
4793
+ body = send_request('ModifyLicenseUnBinds', request.serialize)
4794
+ response = JSON.parse(body)
4795
+ if response['Response'].key?('Error') == false
4796
+ model = ModifyLicenseUnBindsResponse.new
4797
+ model.deserialize(response['Response'])
4798
+ model
4799
+ else
4800
+ code = response['Response']['Error']['Code']
4801
+ message = response['Response']['Error']['Message']
4802
+ reqid = response['Response']['RequestId']
4803
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
4804
+ end
4805
+ rescue TencentCloud::Common::TencentCloudSDKException => e
4806
+ raise e
4807
+ rescue StandardError => e
4808
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
4809
+ end
4810
+
4568
4811
  # 定时扫描设置
4569
4812
 
4570
4813
  # @param request: Request instance for ModifyMalwareTimingScanSettings.
@@ -4589,6 +4832,30 @@ module TencentCloud
4589
4832
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
4590
4833
  end
4591
4834
 
4835
+ # 对订单属性编辑
4836
+
4837
+ # @param request: Request instance for ModifyOrderAttribute.
4838
+ # @type request: :class:`Tencentcloud::cwp::V20180228::ModifyOrderAttributeRequest`
4839
+ # @rtype: :class:`Tencentcloud::cwp::V20180228::ModifyOrderAttributeResponse`
4840
+ def ModifyOrderAttribute(request)
4841
+ body = send_request('ModifyOrderAttribute', request.serialize)
4842
+ response = JSON.parse(body)
4843
+ if response['Response'].key?('Error') == false
4844
+ model = ModifyOrderAttributeResponse.new
4845
+ model.deserialize(response['Response'])
4846
+ model
4847
+ else
4848
+ code = response['Response']['Error']['Code']
4849
+ message = response['Response']['Error']['Message']
4850
+ reqid = response['Response']['RequestId']
4851
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
4852
+ end
4853
+ rescue TencentCloud::Common::TencentCloudSDKException => e
4854
+ raise e
4855
+ rescue StandardError => e
4856
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
4857
+ end
4858
+
4592
4859
  # 修改告警设置
4593
4860
 
4594
4861
  # @param request: Request instance for ModifyWarningSetting.