Class: TencentCloud::Es::V20180416::DiSourceTke
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Es::V20180416::DiSourceTke
- Defined in:
- lib/v20180416/models.rb
Overview
数据接入tke数据源
Instance Attribute Summary collapse
- #ConfigContent ⇒ Object
- #ContainerName ⇒ Object
- #ExcludeNamespaces ⇒ Object
- #IncludeNamespaces ⇒ Object
- #InputPath ⇒ Object
- #InputType ⇒ Object
- #LogFilters ⇒ Object
- #PodLabel ⇒ Object
- #TkeId ⇒ Object
- #VpcId ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(vpcid = nil, tkeid = nil, includenamespaces = nil, excludenamespaces = nil, containername = nil, logfilters = nil, configcontent = nil, podlabel = nil, inputtype = nil, inputpath = nil) ⇒ DiSourceTke
constructor
A new instance of DiSourceTke.
Constructor Details
#initialize(vpcid = nil, tkeid = nil, includenamespaces = nil, excludenamespaces = nil, containername = nil, logfilters = nil, configcontent = nil, podlabel = nil, inputtype = nil, inputpath = nil) ⇒ DiSourceTke
Returns a new instance of DiSourceTke.
3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 |
# File 'lib/v20180416/models.rb', line 3041 def initialize(vpcid=nil, tkeid=nil, includenamespaces=nil, excludenamespaces=nil, containername=nil, logfilters=nil, configcontent=nil, podlabel=nil, inputtype=nil, inputpath=nil) @VpcId = vpcid @TkeId = tkeid @IncludeNamespaces = includenamespaces @ExcludeNamespaces = excludenamespaces @ContainerName = containername @LogFilters = logfilters @ConfigContent = configcontent @PodLabel = podlabel @InputType = inputtype @InputPath = inputpath end |
Instance Attribute Details
#ConfigContent ⇒ Object
3039 3040 3041 |
# File 'lib/v20180416/models.rb', line 3039 def ConfigContent @ConfigContent end |
#ContainerName ⇒ Object
3039 3040 3041 |
# File 'lib/v20180416/models.rb', line 3039 def ContainerName @ContainerName end |
#ExcludeNamespaces ⇒ Object
3039 3040 3041 |
# File 'lib/v20180416/models.rb', line 3039 def ExcludeNamespaces @ExcludeNamespaces end |
#IncludeNamespaces ⇒ Object
3039 3040 3041 |
# File 'lib/v20180416/models.rb', line 3039 def IncludeNamespaces @IncludeNamespaces end |
#InputPath ⇒ Object
3039 3040 3041 |
# File 'lib/v20180416/models.rb', line 3039 def InputPath @InputPath end |
#InputType ⇒ Object
3039 3040 3041 |
# File 'lib/v20180416/models.rb', line 3039 def InputType @InputType end |
#LogFilters ⇒ Object
3039 3040 3041 |
# File 'lib/v20180416/models.rb', line 3039 def LogFilters @LogFilters end |
#PodLabel ⇒ Object
3039 3040 3041 |
# File 'lib/v20180416/models.rb', line 3039 def PodLabel @PodLabel end |
#TkeId ⇒ Object
3039 3040 3041 |
# File 'lib/v20180416/models.rb', line 3039 def TkeId @TkeId end |
#VpcId ⇒ Object
3039 3040 3041 |
# File 'lib/v20180416/models.rb', line 3039 def VpcId @VpcId end |
Instance Method Details
#deserialize(params) ⇒ Object
3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 |
# File 'lib/v20180416/models.rb', line 3054 def deserialize(params) @VpcId = params['VpcId'] @TkeId = params['TkeId'] @IncludeNamespaces = params['IncludeNamespaces'] @ExcludeNamespaces = params['ExcludeNamespaces'] @ContainerName = params['ContainerName'] @LogFilters = params['LogFilters'] @ConfigContent = params['ConfigContent'] unless params['PodLabel'].nil? @PodLabel = [] params['PodLabel'].each do |i| disourcetkepodlabel_tmp = DiSourceTkePodLabel.new disourcetkepodlabel_tmp.deserialize(i) @PodLabel << disourcetkepodlabel_tmp end end @InputType = params['InputType'] @InputPath = params['InputPath'] end |