Class: TencentCloud::Cls::V20201016::ContainerFileInfo
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cls::V20201016::ContainerFileInfo
- Defined in:
- lib/v20201016/models.rb
Overview
自建k8s-容器文件路径信息
Instance Attribute Summary collapse
-
#Container ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#CustomLabels ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#ExcludeLabels ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#ExcludeNamespace ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#FilePaths ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#FilePattern ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#IncludeLabels ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#LogPath ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Namespace ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#WorkLoad ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(namespace = nil, container = nil, logpath = nil, filepattern = nil, filepaths = nil, includelabels = nil, workload = nil, excludenamespace = nil, excludelabels = nil, customlabels = nil) ⇒ ContainerFileInfo
constructor
A new instance of ContainerFileInfo.
Constructor Details
#initialize(namespace = nil, container = nil, logpath = nil, filepattern = nil, filepaths = nil, includelabels = nil, workload = nil, excludenamespace = nil, excludelabels = nil, customlabels = nil) ⇒ ContainerFileInfo
Returns a new instance of ContainerFileInfo.
2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 |
# File 'lib/v20201016/models.rb', line 2058 def initialize(namespace=nil, container=nil, logpath=nil, filepattern=nil, filepaths=nil, includelabels=nil, workload=nil, excludenamespace=nil, excludelabels=nil, customlabels=nil) @Namespace = namespace @Container = container @LogPath = logpath @FilePattern = filepattern @FilePaths = filepaths @IncludeLabels = includelabels @WorkLoad = workload @ExcludeNamespace = excludenamespace @ExcludeLabels = excludelabels @CustomLabels = customlabels end |
Instance Attribute Details
#Container ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
2056 2057 2058 |
# File 'lib/v20201016/models.rb', line 2056 def Container @Container end |
#CustomLabels ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
2056 2057 2058 |
# File 'lib/v20201016/models.rb', line 2056 def CustomLabels @CustomLabels end |
#ExcludeLabels ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
2056 2057 2058 |
# File 'lib/v20201016/models.rb', line 2056 def ExcludeLabels @ExcludeLabels end |
#ExcludeNamespace ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
2056 2057 2058 |
# File 'lib/v20201016/models.rb', line 2056 def ExcludeNamespace @ExcludeNamespace end |
#FilePaths ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
2056 2057 2058 |
# File 'lib/v20201016/models.rb', line 2056 def FilePaths @FilePaths end |
#FilePattern ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
2056 2057 2058 |
# File 'lib/v20201016/models.rb', line 2056 def FilePattern @FilePattern end |
#IncludeLabels ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
2056 2057 2058 |
# File 'lib/v20201016/models.rb', line 2056 def IncludeLabels @IncludeLabels end |
#LogPath ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
2056 2057 2058 |
# File 'lib/v20201016/models.rb', line 2056 def LogPath @LogPath end |
#Namespace ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
2056 2057 2058 |
# File 'lib/v20201016/models.rb', line 2056 def Namespace @Namespace end |
#WorkLoad ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
2056 2057 2058 |
# File 'lib/v20201016/models.rb', line 2056 def WorkLoad @WorkLoad end |
Instance Method Details
#deserialize(params) ⇒ Object
2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 |
# File 'lib/v20201016/models.rb', line 2071 def deserialize(params) @Namespace = params['Namespace'] @Container = params['Container'] @LogPath = params['LogPath'] @FilePattern = params['FilePattern'] unless params['FilePaths'].nil? @FilePaths = [] params['FilePaths'].each do |i| filepathinfo_tmp = FilePathInfo.new filepathinfo_tmp.deserialize(i) @FilePaths << filepathinfo_tmp end end @IncludeLabels = params['IncludeLabels'] unless params['WorkLoad'].nil? @WorkLoad = ContainerWorkLoadInfo.new @WorkLoad.deserialize(params['WorkLoad']) end @ExcludeNamespace = params['ExcludeNamespace'] @ExcludeLabels = params['ExcludeLabels'] @CustomLabels = params['CustomLabels'] end |