Class: TencentCloud::Iecp::V20210914::GridPodInfo

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20210914/models.rb

Overview

GridPod信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name = nil, namespace = nil, status = nil, nodename = nil, nodeip = nil, podip = nil, starttime = nil, runsec = nil, restartcount = nil, clusterid = nil) ⇒ GridPodInfo

Returns a new instance of GridPodInfo.



4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
# File 'lib/v20210914/models.rb', line 4815

def initialize(name=nil, namespace=nil, status=nil, nodename=nil, nodeip=nil, podip=nil, starttime=nil, runsec=nil, restartcount=nil, clusterid=nil)
  @Name = name
  @NameSpace = namespace
  @Status = status
  @NodeName = nodename
  @NodeIP = nodeip
  @PodIP = podip
  @StartTime = starttime
  @RunSec = runsec
  @RestartCount = restartcount
  @ClusterID = clusterid
end

Instance Attribute Details

#ClusterIDObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Name:

    Pod名称

  • NameSpace:

    命名空间

  • Status:

    状态(Pending|Running|Succeeded|Failed|Unknown)

  • NodeName:

    节点名

  • NodeIP:

    节点IP

  • PodIP:

    Pod的IP

  • StartTime:

    启动时间

  • RunSec:

    运行时长(秒)

  • RestartCount:

    重启次数

  • ClusterID:

    集群名称ID



4813
4814
4815
# File 'lib/v20210914/models.rb', line 4813

def ClusterID
  @ClusterID
end

#NameObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Name:

    Pod名称

  • NameSpace:

    命名空间

  • Status:

    状态(Pending|Running|Succeeded|Failed|Unknown)

  • NodeName:

    节点名

  • NodeIP:

    节点IP

  • PodIP:

    Pod的IP

  • StartTime:

    启动时间

  • RunSec:

    运行时长(秒)

  • RestartCount:

    重启次数

  • ClusterID:

    集群名称ID



4813
4814
4815
# File 'lib/v20210914/models.rb', line 4813

def Name
  @Name
end

#NameSpaceObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Name:

    Pod名称

  • NameSpace:

    命名空间

  • Status:

    状态(Pending|Running|Succeeded|Failed|Unknown)

  • NodeName:

    节点名

  • NodeIP:

    节点IP

  • PodIP:

    Pod的IP

  • StartTime:

    启动时间

  • RunSec:

    运行时长(秒)

  • RestartCount:

    重启次数

  • ClusterID:

    集群名称ID



4813
4814
4815
# File 'lib/v20210914/models.rb', line 4813

def NameSpace
  @NameSpace
end

#NodeIPObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Name:

    Pod名称

  • NameSpace:

    命名空间

  • Status:

    状态(Pending|Running|Succeeded|Failed|Unknown)

  • NodeName:

    节点名

  • NodeIP:

    节点IP

  • PodIP:

    Pod的IP

  • StartTime:

    启动时间

  • RunSec:

    运行时长(秒)

  • RestartCount:

    重启次数

  • ClusterID:

    集群名称ID



4813
4814
4815
# File 'lib/v20210914/models.rb', line 4813

def NodeIP
  @NodeIP
end

#NodeNameObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Name:

    Pod名称

  • NameSpace:

    命名空间

  • Status:

    状态(Pending|Running|Succeeded|Failed|Unknown)

  • NodeName:

    节点名

  • NodeIP:

    节点IP

  • PodIP:

    Pod的IP

  • StartTime:

    启动时间

  • RunSec:

    运行时长(秒)

  • RestartCount:

    重启次数

  • ClusterID:

    集群名称ID



4813
4814
4815
# File 'lib/v20210914/models.rb', line 4813

def NodeName
  @NodeName
end

#PodIPObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Name:

    Pod名称

  • NameSpace:

    命名空间

  • Status:

    状态(Pending|Running|Succeeded|Failed|Unknown)

  • NodeName:

    节点名

  • NodeIP:

    节点IP

  • PodIP:

    Pod的IP

  • StartTime:

    启动时间

  • RunSec:

    运行时长(秒)

  • RestartCount:

    重启次数

  • ClusterID:

    集群名称ID



4813
4814
4815
# File 'lib/v20210914/models.rb', line 4813

def PodIP
  @PodIP
end

#RestartCountObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Name:

    Pod名称

  • NameSpace:

    命名空间

  • Status:

    状态(Pending|Running|Succeeded|Failed|Unknown)

  • NodeName:

    节点名

  • NodeIP:

    节点IP

  • PodIP:

    Pod的IP

  • StartTime:

    启动时间

  • RunSec:

    运行时长(秒)

  • RestartCount:

    重启次数

  • ClusterID:

    集群名称ID



4813
4814
4815
# File 'lib/v20210914/models.rb', line 4813

def RestartCount
  @RestartCount
end

#RunSecObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Name:

    Pod名称

  • NameSpace:

    命名空间

  • Status:

    状态(Pending|Running|Succeeded|Failed|Unknown)

  • NodeName:

    节点名

  • NodeIP:

    节点IP

  • PodIP:

    Pod的IP

  • StartTime:

    启动时间

  • RunSec:

    运行时长(秒)

  • RestartCount:

    重启次数

  • ClusterID:

    集群名称ID



4813
4814
4815
# File 'lib/v20210914/models.rb', line 4813

def RunSec
  @RunSec
end

#StartTimeObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Name:

    Pod名称

  • NameSpace:

    命名空间

  • Status:

    状态(Pending|Running|Succeeded|Failed|Unknown)

  • NodeName:

    节点名

  • NodeIP:

    节点IP

  • PodIP:

    Pod的IP

  • StartTime:

    启动时间

  • RunSec:

    运行时长(秒)

  • RestartCount:

    重启次数

  • ClusterID:

    集群名称ID



4813
4814
4815
# File 'lib/v20210914/models.rb', line 4813

def StartTime
  @StartTime
end

#StatusObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Name:

    Pod名称

  • NameSpace:

    命名空间

  • Status:

    状态(Pending|Running|Succeeded|Failed|Unknown)

  • NodeName:

    节点名

  • NodeIP:

    节点IP

  • PodIP:

    Pod的IP

  • StartTime:

    启动时间

  • RunSec:

    运行时长(秒)

  • RestartCount:

    重启次数

  • ClusterID:

    集群名称ID



4813
4814
4815
# File 'lib/v20210914/models.rb', line 4813

def Status
  @Status
end

Instance Method Details

#deserialize(params) ⇒ Object



4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
# File 'lib/v20210914/models.rb', line 4828

def deserialize(params)
  @Name = params['Name']
  @NameSpace = params['NameSpace']
  @Status = params['Status']
  @NodeName = params['NodeName']
  @NodeIP = params['NodeIP']
  @PodIP = params['PodIP']
  @StartTime = params['StartTime']
  @RunSec = params['RunSec']
  @RestartCount = params['RestartCount']
  @ClusterID = params['ClusterID']
end