tencentcloud-sdk-cfw 1.0.242 → 1.0.243

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9874ebb20c010adc8b2c591f283623dfdd2be85e
4
- data.tar.gz: 42943a16322c090bfce428d54d2522360a8f947d
3
+ metadata.gz: 8cc27599d2774634323e7c39f40c2a1ed44584c5
4
+ data.tar.gz: 125016ca8a45803696a006c41d4080c3d34c0b27
5
5
  SHA512:
6
- metadata.gz: e94dc6bc46c1ef7dc2f75fda7179fd5cdf7d07d1d7b1852c031f969ca387700c88c593d876ab1b142b2fb2f1f7403176c40e44ef3be9cdf9ea375c88160b8984
7
- data.tar.gz: 35ccb54fc01135474e0df54d9864683b80a0f4631f05f103c4c80ea4ddcd7d6f256934e54e5a51f2e1984a6e5722020f944083b33770848ce35723e1469260f5
6
+ metadata.gz: 4e92af91921db1a858ec73d2ccf25f71f5fd8d5f0b18b4a55782be84d0cef8566cf20a8bf32f1f2284c2546abd82d47eb08a2f576fd0a601581b2666b03e0d29
7
+ data.tar.gz: df7c4d9f032f7246c71114d6d34149326295a3ad62018db0f8343d73d5f72bb2606eae75c76149f238ed712b1bf90d974022791bc3f3c7ec0ea856d1b7a6c7c5
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.242
1
+ 1.0.243
@@ -437,7 +437,7 @@ module TencentCloud
437
437
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
438
438
  end
439
439
 
440
- # 获取地址模版列表
440
+ # 获取地址模板列表
441
441
 
442
442
  # @param request: Request instance for DescribeAddrTemplateList.
443
443
  # @type request: :class:`Tencentcloud::cfw::V20190904::DescribeAddrTemplateListRequest`
@@ -1401,6 +1401,30 @@ module TencentCloud
1401
1401
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1402
1402
  end
1403
1403
 
1404
+ # 同步资产-互联网&VPC(新)
1405
+
1406
+ # @param request: Request instance for ModifyRunSyncAsset.
1407
+ # @type request: :class:`Tencentcloud::cfw::V20190904::ModifyRunSyncAssetRequest`
1408
+ # @rtype: :class:`Tencentcloud::cfw::V20190904::ModifyRunSyncAssetResponse`
1409
+ def ModifyRunSyncAsset(request)
1410
+ body = send_request('ModifyRunSyncAsset', request.serialize)
1411
+ response = JSON.parse(body)
1412
+ if response['Response'].key?('Error') == false
1413
+ model = ModifyRunSyncAssetResponse.new
1414
+ model.deserialize(response['Response'])
1415
+ model
1416
+ else
1417
+ code = response['Response']['Error']['Code']
1418
+ message = response['Response']['Error']['Message']
1419
+ reqid = response['Response']['RequestId']
1420
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1421
+ end
1422
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1423
+ raise e
1424
+ rescue StandardError => e
1425
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1426
+ end
1427
+
1404
1428
  # 启用停用全部规则
1405
1429
 
1406
1430
  # @param request: Request instance for ModifySecurityGroupAllRuleStatus.
@@ -3600,6 +3600,42 @@ module TencentCloud
3600
3600
  end
3601
3601
  end
3602
3602
 
3603
+ # ModifyRunSyncAsset请求参数结构体
3604
+ class ModifyRunSyncAssetRequest < TencentCloud::Common::AbstractModel
3605
+ # @param Type: 0: 互联网防火墙开关,1:vpc 防火墙开关
3606
+ # @type Type: Integer
3607
+
3608
+ attr_accessor :Type
3609
+
3610
+ def initialize(type=nil)
3611
+ @Type = type
3612
+ end
3613
+
3614
+ def deserialize(params)
3615
+ @Type = params['Type']
3616
+ end
3617
+ end
3618
+
3619
+ # ModifyRunSyncAsset返回参数结构体
3620
+ class ModifyRunSyncAssetResponse < TencentCloud::Common::AbstractModel
3621
+ # @param Status: 0:同步成功,1:资产更新中,2:后台同步调用失败
3622
+ # @type Status: Integer
3623
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3624
+ # @type RequestId: String
3625
+
3626
+ attr_accessor :Status, :RequestId
3627
+
3628
+ def initialize(status=nil, requestid=nil)
3629
+ @Status = status
3630
+ @RequestId = requestid
3631
+ end
3632
+
3633
+ def deserialize(params)
3634
+ @Status = params['Status']
3635
+ @RequestId = params['RequestId']
3636
+ end
3637
+ end
3638
+
3603
3639
  # ModifySecurityGroupAllRuleStatus请求参数结构体
3604
3640
  class ModifySecurityGroupAllRuleStatusRequest < TencentCloud::Common::AbstractModel
3605
3641
  # @param Status: 列表规则状态,0:全部停用,1:全部启用
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-cfw
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.242
4
+ version: 1.0.243
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-01-14 00:00:00.000000000 Z
11
+ date: 2022-01-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common