tencentcloud-sdk-vpc 1.0.313 → 1.0.314

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: 4cf38a77d2bc2ed1f7d44a6d9ac2fcbe87507a5c
4
- data.tar.gz: 9ec4bf69a0ffb5a94e95550a9a23d5e4808c721e
3
+ metadata.gz: 119ab899a0e42b45191cedc49f6ff0575c288a4c
4
+ data.tar.gz: 62b59e03ba45c923052ab2364cf957e008344247
5
5
  SHA512:
6
- metadata.gz: aa78d01fc529e0cb4d1ecf4693f22494faab424a834e473f5a1c0780635c5f4d54a9b470aa32584572908e924db0b9dc99148595d490499937e6dec59010e924
7
- data.tar.gz: 91786d13744769ebc52d446c2359ab45e7e6f627b73b33d523ae32b73445ad837fef2b7e7b3f09906113f03ed72d9111bb50247f19264f850b3cab5434d2334b
6
+ metadata.gz: fafea7cff51a0bc7c8a085b0ce6bf9c05a15a616865631060d3be65baead8dfabd367f793adc545b264cb434af647b27766844a876754cd5ca0b3cfec3202945
7
+ data.tar.gz: 7258c2e15c803bd310af7d928d0a8c4ee1cb8607e748468a0bde0e608da02f0664d1240927227b6c91416a907652a0eed1a490a24eb7d1d800398620c2d14d6b
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.313
1
+ 1.0.314
@@ -4444,6 +4444,30 @@ module TencentCloud
4444
4444
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
4445
4445
  end
4446
4446
 
4447
+ # 本接口(DisableFlowLogs)用于停止流日志。
4448
+
4449
+ # @param request: Request instance for DisableFlowLogs.
4450
+ # @type request: :class:`Tencentcloud::vpc::V20170312::DisableFlowLogsRequest`
4451
+ # @rtype: :class:`Tencentcloud::vpc::V20170312::DisableFlowLogsResponse`
4452
+ def DisableFlowLogs(request)
4453
+ body = send_request('DisableFlowLogs', request.serialize)
4454
+ response = JSON.parse(body)
4455
+ if response['Response'].key?('Error') == false
4456
+ model = DisableFlowLogsResponse.new
4457
+ model.deserialize(response['Response'])
4458
+ model
4459
+ else
4460
+ code = response['Response']['Error']['Code']
4461
+ message = response['Response']['Error']['Message']
4462
+ reqid = response['Response']['RequestId']
4463
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
4464
+ end
4465
+ rescue TencentCloud::Common::TencentCloudSDKException => e
4466
+ raise e
4467
+ rescue StandardError => e
4468
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
4469
+ end
4470
+
4447
4471
  # 本接口(DisableGatewayFlowMonitor)用于关闭网关流量监控。
4448
4472
 
4449
4473
  # @param request: Request instance for DisableGatewayFlowMonitor.
@@ -4763,6 +4787,30 @@ module TencentCloud
4763
4787
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
4764
4788
  end
4765
4789
 
4790
+ # 本接口(EnableFlowLogs)用于启动流日志。
4791
+
4792
+ # @param request: Request instance for EnableFlowLogs.
4793
+ # @type request: :class:`Tencentcloud::vpc::V20170312::EnableFlowLogsRequest`
4794
+ # @rtype: :class:`Tencentcloud::vpc::V20170312::EnableFlowLogsResponse`
4795
+ def EnableFlowLogs(request)
4796
+ body = send_request('EnableFlowLogs', request.serialize)
4797
+ response = JSON.parse(body)
4798
+ if response['Response'].key?('Error') == false
4799
+ model = EnableFlowLogsResponse.new
4800
+ model.deserialize(response['Response'])
4801
+ model
4802
+ else
4803
+ code = response['Response']['Error']['Code']
4804
+ message = response['Response']['Error']['Message']
4805
+ reqid = response['Response']['RequestId']
4806
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
4807
+ end
4808
+ rescue TencentCloud::Common::TencentCloudSDKException => e
4809
+ raise e
4810
+ rescue StandardError => e
4811
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
4812
+ end
4813
+
4766
4814
  # 本接口(EnableGatewayFlowMonitor)用于开启网关流量监控。
4767
4815
 
4768
4816
  # @param request: Request instance for EnableGatewayFlowMonitor.
@@ -10727,6 +10727,38 @@ module TencentCloud
10727
10727
  end
10728
10728
  end
10729
10729
 
10730
+ # DisableFlowLogs请求参数结构体
10731
+ class DisableFlowLogsRequest < TencentCloud::Common::AbstractModel
10732
+ # @param FlowLogIds: 流日志Id。
10733
+ # @type FlowLogIds: Array
10734
+
10735
+ attr_accessor :FlowLogIds
10736
+
10737
+ def initialize(flowlogids=nil)
10738
+ @FlowLogIds = flowlogids
10739
+ end
10740
+
10741
+ def deserialize(params)
10742
+ @FlowLogIds = params['FlowLogIds']
10743
+ end
10744
+ end
10745
+
10746
+ # DisableFlowLogs返回参数结构体
10747
+ class DisableFlowLogsResponse < TencentCloud::Common::AbstractModel
10748
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
10749
+ # @type RequestId: String
10750
+
10751
+ attr_accessor :RequestId
10752
+
10753
+ def initialize(requestid=nil)
10754
+ @RequestId = requestid
10755
+ end
10756
+
10757
+ def deserialize(params)
10758
+ @RequestId = params['RequestId']
10759
+ end
10760
+ end
10761
+
10730
10762
  # DisableGatewayFlowMonitor请求参数结构体
10731
10763
  class DisableGatewayFlowMonitorRequest < TencentCloud::Common::AbstractModel
10732
10764
  # @param GatewayId: 网关实例ID,目前我们支持的网关实例类型有,
@@ -11217,6 +11249,38 @@ module TencentCloud
11217
11249
  end
11218
11250
  end
11219
11251
 
11252
+ # EnableFlowLogs请求参数结构体
11253
+ class EnableFlowLogsRequest < TencentCloud::Common::AbstractModel
11254
+ # @param FlowLogIds: 流日志Id。
11255
+ # @type FlowLogIds: Array
11256
+
11257
+ attr_accessor :FlowLogIds
11258
+
11259
+ def initialize(flowlogids=nil)
11260
+ @FlowLogIds = flowlogids
11261
+ end
11262
+
11263
+ def deserialize(params)
11264
+ @FlowLogIds = params['FlowLogIds']
11265
+ end
11266
+ end
11267
+
11268
+ # EnableFlowLogs返回参数结构体
11269
+ class EnableFlowLogsResponse < TencentCloud::Common::AbstractModel
11270
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
11271
+ # @type RequestId: String
11272
+
11273
+ attr_accessor :RequestId
11274
+
11275
+ def initialize(requestid=nil)
11276
+ @RequestId = requestid
11277
+ end
11278
+
11279
+ def deserialize(params)
11280
+ @RequestId = params['RequestId']
11281
+ end
11282
+ end
11283
+
11220
11284
  # EnableGatewayFlowMonitor请求参数结构体
11221
11285
  class EnableGatewayFlowMonitorRequest < TencentCloud::Common::AbstractModel
11222
11286
  # @param GatewayId: 网关实例ID,目前我们支持的网关实例有,
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-vpc
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.313
4
+ version: 1.0.314
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-05-16 00:00:00.000000000 Z
11
+ date: 2022-05-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common