tencentcloud-sdk-vpc 1.0.247 → 1.0.248

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20170312/models.rb +68 -19
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f66c8e48200ec883756f003cecd2d9588bb2cdb0
4
- data.tar.gz: d3c9c6d07e5cf494d92a3fb714a1fec386cda613
3
+ metadata.gz: 34d3bdcc9878bbb29a991dd4cb9efbfbd3546d4d
4
+ data.tar.gz: 31ffb8237fb6de5300d8527faccfd5e9696c6ab7
5
5
  SHA512:
6
- metadata.gz: 0bc03261f71f101ba9ce214e2bfc49c71988599135854a9c3b97c25b1bfe21ab9d430151c3bf7dd8858503b296216770ea47675da7eddddd53315351b130e9e0
7
- data.tar.gz: 57a3f10b78b59ee632a4a1002141d8bab31bd8e7ca2bfb6bbe1004e936b53edb86f88b025da770a741cf9fb033034c34eb7b6500b2ea7b8a358b7109d41ea71f
6
+ metadata.gz: cdc486c9faa4491d1a75d6767c28905603bea584aa8370818f8f85ddc61f9158bd868fde65f1bb055b405d5db4acae0e475ca871f247b3b1599e8b7de5bd3f68
7
+ data.tar.gz: 696c9e9d48f9ccec6e6ee03da9cdbd11846844d249b146597e73b278270377f5ae4b49a3e681bd27bdb4d521c2f7f6cd215dc2d8d715038167ac19400ee71bcf
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.247
1
+ 1.0.248
@@ -2726,26 +2726,32 @@ module TencentCloud
2726
2726
  # @type ResourceId: String
2727
2727
  # @param TrafficType: 流日志采集类型,ACCEPT|REJECT|ALL
2728
2728
  # @type TrafficType: String
2729
- # @param CloudLogId: 流日志存储ID
2730
- # @type CloudLogId: String
2731
2729
  # @param VpcId: 私用网络ID或者统一ID,建议使用统一ID,当ResourceType为CCN时不填,其他类型必填。
2732
2730
  # @type VpcId: String
2733
2731
  # @param FlowLogDescription: 流日志实例描述
2734
2732
  # @type FlowLogDescription: String
2733
+ # @param CloudLogId: 流日志存储ID
2734
+ # @type CloudLogId: String
2735
2735
  # @param Tags: 指定绑定的标签列表,例如:[{"Key": "city", "Value": "shanghai"}]
2736
2736
  # @type Tags: Array
2737
+ # @param StorageType: 消费端类型:cls、ckafka
2738
+ # @type StorageType: String
2739
+ # @param FlowLogStorage: 流日志消费端信息,当消费端类型为ckafka时,必填。
2740
+ # @type FlowLogStorage: :class:`Tencentcloud::Vpc.v20170312.models.FlowLogStorage`
2737
2741
 
2738
- attr_accessor :FlowLogName, :ResourceType, :ResourceId, :TrafficType, :CloudLogId, :VpcId, :FlowLogDescription, :Tags
2742
+ attr_accessor :FlowLogName, :ResourceType, :ResourceId, :TrafficType, :VpcId, :FlowLogDescription, :CloudLogId, :Tags, :StorageType, :FlowLogStorage
2739
2743
 
2740
- def initialize(flowlogname=nil, resourcetype=nil, resourceid=nil, traffictype=nil, cloudlogid=nil, vpcid=nil, flowlogdescription=nil, tags=nil)
2744
+ def initialize(flowlogname=nil, resourcetype=nil, resourceid=nil, traffictype=nil, vpcid=nil, flowlogdescription=nil, cloudlogid=nil, tags=nil, storagetype=nil, flowlogstorage=nil)
2741
2745
  @FlowLogName = flowlogname
2742
2746
  @ResourceType = resourcetype
2743
2747
  @ResourceId = resourceid
2744
2748
  @TrafficType = traffictype
2745
- @CloudLogId = cloudlogid
2746
2749
  @VpcId = vpcid
2747
2750
  @FlowLogDescription = flowlogdescription
2751
+ @CloudLogId = cloudlogid
2748
2752
  @Tags = tags
2753
+ @StorageType = storagetype
2754
+ @FlowLogStorage = flowlogstorage
2749
2755
  end
2750
2756
 
2751
2757
  def deserialize(params)
@@ -2753,9 +2759,9 @@ module TencentCloud
2753
2759
  @ResourceType = params['ResourceType']
2754
2760
  @ResourceId = params['ResourceId']
2755
2761
  @TrafficType = params['TrafficType']
2756
- @CloudLogId = params['CloudLogId']
2757
2762
  @VpcId = params['VpcId']
2758
2763
  @FlowLogDescription = params['FlowLogDescription']
2764
+ @CloudLogId = params['CloudLogId']
2759
2765
  unless params['Tags'].nil?
2760
2766
  @Tags = []
2761
2767
  params['Tags'].each do |i|
@@ -2764,6 +2770,11 @@ module TencentCloud
2764
2770
  @Tags << tag_tmp
2765
2771
  end
2766
2772
  end
2773
+ @StorageType = params['StorageType']
2774
+ unless params['FlowLogStorage'].nil?
2775
+ @FlowLogStorage = FlowLogStorage.new
2776
+ @FlowLogStorage.deserialize(params['FlowLogStorage'])
2777
+ end
2767
2778
  end
2768
2779
  end
2769
2780
 
@@ -11004,32 +11015,40 @@ module TencentCloud
11004
11015
 
11005
11016
  # 流日志
11006
11017
  class FlowLog < TencentCloud::Common::AbstractModel
11007
- # @param VpcId: 私用网络ID或者统一ID,建议使用统一ID
11018
+ # @param VpcId: 私用网络ID或者统一ID,建议使用统一ID
11008
11019
  # @type VpcId: String
11009
- # @param FlowLogId: 流日志唯一ID
11020
+ # @param FlowLogId: 流日志唯一ID
11010
11021
  # @type FlowLogId: String
11011
- # @param FlowLogName: 流日志实例名字
11022
+ # @param FlowLogName: 流日志实例名字。
11012
11023
  # @type FlowLogName: String
11013
- # @param ResourceType: 流日志所属资源类型,VPC|SUBNET|NETWORKINTERFACE|CCN
11024
+ # @param ResourceType: 流日志所属资源类型,VPC|SUBNET|NETWORKINTERFACE|CCN
11014
11025
  # @type ResourceType: String
11015
- # @param ResourceId: 资源唯一ID
11026
+ # @param ResourceId: 资源唯一ID
11016
11027
  # @type ResourceId: String
11017
- # @param TrafficType: 流日志采集类型,ACCEPT|REJECT|ALL
11028
+ # @param TrafficType: 流日志采集类型,ACCEPT|REJECT|ALL
11018
11029
  # @type TrafficType: String
11019
- # @param CloudLogId: 流日志存储ID
11030
+ # @param CloudLogId: 流日志存储ID
11020
11031
  # @type CloudLogId: String
11021
- # @param CloudLogState: 流日志存储ID状态
11032
+ # @param CloudLogState: 流日志存储ID状态。
11022
11033
  # @type CloudLogState: String
11023
- # @param FlowLogDescription: 流日志描述信息
11034
+ # @param FlowLogDescription: 流日志描述信息。
11024
11035
  # @type FlowLogDescription: String
11025
- # @param CreatedTime: 流日志创建时间
11036
+ # @param CreatedTime: 流日志创建时间。
11026
11037
  # @type CreatedTime: String
11027
- # @param TagSet: 标签列表,例如:[{"Key": "city", "Value": "shanghai"}]
11038
+ # @param TagSet: 标签列表,例如:[{"Key": "city", "Value": "shanghai"}]
11028
11039
  # @type TagSet: Array
11040
+ # @param Enable: 是否启用,true-启用,false-停用。
11041
+ # @type Enable: Boolean
11042
+ # @param StorageType: 消费端类型:cls、ckafka。
11043
+ # 注意:此字段可能返回 null,表示取不到有效值。
11044
+ # @type StorageType: String
11045
+ # @param FlowLogStorage: 消费端信息,当消费端类型为ckafka时返回
11046
+ # 注意:此字段可能返回 null,表示取不到有效值。
11047
+ # @type FlowLogStorage: :class:`Tencentcloud::Vpc.v20170312.models.FlowLogStorage`
11029
11048
 
11030
- attr_accessor :VpcId, :FlowLogId, :FlowLogName, :ResourceType, :ResourceId, :TrafficType, :CloudLogId, :CloudLogState, :FlowLogDescription, :CreatedTime, :TagSet
11049
+ attr_accessor :VpcId, :FlowLogId, :FlowLogName, :ResourceType, :ResourceId, :TrafficType, :CloudLogId, :CloudLogState, :FlowLogDescription, :CreatedTime, :TagSet, :Enable, :StorageType, :FlowLogStorage
11031
11050
 
11032
- def initialize(vpcid=nil, flowlogid=nil, flowlogname=nil, resourcetype=nil, resourceid=nil, traffictype=nil, cloudlogid=nil, cloudlogstate=nil, flowlogdescription=nil, createdtime=nil, tagset=nil)
11051
+ def initialize(vpcid=nil, flowlogid=nil, flowlogname=nil, resourcetype=nil, resourceid=nil, traffictype=nil, cloudlogid=nil, cloudlogstate=nil, flowlogdescription=nil, createdtime=nil, tagset=nil, enable=nil, storagetype=nil, flowlogstorage=nil)
11033
11052
  @VpcId = vpcid
11034
11053
  @FlowLogId = flowlogid
11035
11054
  @FlowLogName = flowlogname
@@ -11041,6 +11060,9 @@ module TencentCloud
11041
11060
  @FlowLogDescription = flowlogdescription
11042
11061
  @CreatedTime = createdtime
11043
11062
  @TagSet = tagset
11063
+ @Enable = enable
11064
+ @StorageType = storagetype
11065
+ @FlowLogStorage = flowlogstorage
11044
11066
  end
11045
11067
 
11046
11068
  def deserialize(params)
@@ -11062,6 +11084,33 @@ module TencentCloud
11062
11084
  @TagSet << tag_tmp
11063
11085
  end
11064
11086
  end
11087
+ @Enable = params['Enable']
11088
+ @StorageType = params['StorageType']
11089
+ unless params['FlowLogStorage'].nil?
11090
+ @FlowLogStorage = FlowLogStorage.new
11091
+ @FlowLogStorage.deserialize(params['FlowLogStorage'])
11092
+ end
11093
+ end
11094
+ end
11095
+
11096
+ # 流日志存储信息
11097
+ class FlowLogStorage < TencentCloud::Common::AbstractModel
11098
+ # @param StorageId: 存储实例Id,当流日志存储类型为ckafka时,必填。
11099
+ # @type StorageId: String
11100
+ # @param StorageTopic: 主题Id,当流日志存储类型为ckafka时,必填。
11101
+ # 注意:此字段可能返回 null,表示取不到有效值。
11102
+ # @type StorageTopic: String
11103
+
11104
+ attr_accessor :StorageId, :StorageTopic
11105
+
11106
+ def initialize(storageid=nil, storagetopic=nil)
11107
+ @StorageId = storageid
11108
+ @StorageTopic = storagetopic
11109
+ end
11110
+
11111
+ def deserialize(params)
11112
+ @StorageId = params['StorageId']
11113
+ @StorageTopic = params['StorageTopic']
11065
11114
  end
11066
11115
  end
11067
11116
 
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.247
4
+ version: 1.0.248
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-21 00:00:00.000000000 Z
11
+ date: 2022-01-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common