Class: TencentCloud::Thpc::V20220401::NodeOverview

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

Overview

节点概览信息。

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(instanceid = nil, zone = nil, nodestate = nil, imageid = nil, queuename = nil, noderole = nil, nodetype = nil) ⇒ NodeOverview

Returns a new instance of NodeOverview.



1671
1672
1673
1674
1675
1676
1677
1678
1679
# File 'lib/v20220401/models.rb', line 1671

def initialize(instanceid=nil, zone=nil, nodestate=nil, imageid=nil, queuename=nil, noderole=nil, nodetype=nil)
  @InstanceId = instanceid
  @Zone = zone
  @NodeState = nodestate
  @ImageId = imageid
  @QueueName = queuename
  @NodeRole = noderole
  @NodeType = nodetype
end

Instance Attribute Details

#ImageIdObject

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

Parameters:

  • 节点实例ID。

  • 节点所在可用区信息。

  • 节点状态。

  • SUBMITTED:已完成提交。
  • CREATING:创建中。
  • CREATED:完成创建。
  • INITING:初始化中。
  • INIT_FAILED:初始化失败。
  • RUNNING:运行中。
  • DELETING:销毁中。

  • 镜像ID。

  • 节点所属队列名称。

  • 节点角色。

  • Manager:管控节点。
  • Compute:计算节点。
  • Login:登录节点。
  • ManagerBackup:备用管控节点。

  • 节点类型。

  • STATIC:静态节点。
  • DYNAMIC:弹性节点。

  • 
    
    1669
    1670
    1671
    # File 'lib/v20220401/models.rb', line 1669
    
    def ImageId
      @ImageId
    end

    #InstanceIdObject

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

    Parameters:

  • 镜像ID。

  • 节点所属队列名称。

  • 节点角色。

  • Manager:管控节点。
  • Compute:计算节点。
  • Login:登录节点。
  • ManagerBackup:备用管控节点。

  • 节点类型。

  • STATIC:静态节点。
  • DYNAMIC:弹性节点。

  • 
    
    1669
    1670
    1671
    # File 'lib/v20220401/models.rb', line 1669
    
    def InstanceId
      @InstanceId
    end

    #NodeRoleObject

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

    Parameters:

  • 镜像ID。

  • 节点所属队列名称。

  • 节点角色。

  • Manager:管控节点。
  • Compute:计算节点。
  • Login:登录节点。
  • ManagerBackup:备用管控节点。

  • 节点类型。

  • STATIC:静态节点。
  • DYNAMIC:弹性节点。

  • 
    
    1669
    1670
    1671
    # File 'lib/v20220401/models.rb', line 1669
    
    def NodeRole
      @NodeRole
    end

    #NodeStateObject

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

    Parameters:

  • 镜像ID。

  • 节点所属队列名称。

  • 节点角色。

  • Manager:管控节点。
  • Compute:计算节点。
  • Login:登录节点。
  • ManagerBackup:备用管控节点。

  • 节点类型。

  • STATIC:静态节点。
  • DYNAMIC:弹性节点。

  • 
    
    1669
    1670
    1671
    # File 'lib/v20220401/models.rb', line 1669
    
    def NodeState
      @NodeState
    end

    #NodeTypeObject

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

    Parameters:

  • 镜像ID。

  • 节点所属队列名称。

  • 节点角色。

  • Manager:管控节点。
  • Compute:计算节点。
  • Login:登录节点。
  • ManagerBackup:备用管控节点。

  • 节点类型。

  • STATIC:静态节点。
  • DYNAMIC:弹性节点。

  • 
    
    1669
    1670
    1671
    # File 'lib/v20220401/models.rb', line 1669
    
    def NodeType
      @NodeType
    end

    #QueueNameObject

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

    Parameters:

  • 镜像ID。

  • 节点所属队列名称。

  • 节点角色。

  • Manager:管控节点。
  • Compute:计算节点。
  • Login:登录节点。
  • ManagerBackup:备用管控节点。

  • 节点类型。

  • STATIC:静态节点。
  • DYNAMIC:弹性节点。

  • 
    
    1669
    1670
    1671
    # File 'lib/v20220401/models.rb', line 1669
    
    def QueueName
      @QueueName
    end

    #ZoneObject

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

    Parameters:

  • 镜像ID。

  • 节点所属队列名称。

  • 节点角色。

  • Manager:管控节点。
  • Compute:计算节点。
  • Login:登录节点。
  • ManagerBackup:备用管控节点。

  • 节点类型。

  • STATIC:静态节点。
  • DYNAMIC:弹性节点。

  • 
    
    1669
    1670
    1671
    # File 'lib/v20220401/models.rb', line 1669
    
    def Zone
      @Zone
    end

    Instance Method Details

    #deserialize(params) ⇒ Object

    
    
    1681
    1682
    1683
    1684
    1685
    1686
    1687
    1688
    1689
    # File 'lib/v20220401/models.rb', line 1681
    
    def deserialize(params)
      @InstanceId = params['InstanceId']
      @Zone = params['Zone']
      @NodeState = params['NodeState']
      @ImageId = params['ImageId']
      @QueueName = params['QueueName']
      @NodeRole = params['NodeRole']
      @NodeType = params['NodeType']
    end