Class: TencentCloud::Tke::V20180525::VirtualNode

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

Overview

虚拟节点

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name = nil, subnetid = nil, phase = nil, createdtime = nil) ⇒ VirtualNode

Returns a new instance of VirtualNode.



19568
19569
19570
19571
19572
19573
# File 'lib/v20180525/models.rb', line 19568

def initialize(name=nil, subnetid=nil, phase=nil, createdtime=nil)
  @Name = name
  @SubnetId = subnetid
  @Phase = phase
  @CreatedTime = createdtime
end

Instance Attribute Details

#CreatedTimeObject

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

Parameters:

  • Name:

    虚拟节点名称

  • SubnetId:

    虚拟节点所属子网

  • Phase:

    虚拟节点状态

  • CreatedTime:

    创建时间



19566
19567
19568
# File 'lib/v20180525/models.rb', line 19566

def CreatedTime
  @CreatedTime
end

#NameObject

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

Parameters:

  • Name:

    虚拟节点名称

  • SubnetId:

    虚拟节点所属子网

  • Phase:

    虚拟节点状态

  • CreatedTime:

    创建时间



19566
19567
19568
# File 'lib/v20180525/models.rb', line 19566

def Name
  @Name
end

#PhaseObject

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

Parameters:

  • Name:

    虚拟节点名称

  • SubnetId:

    虚拟节点所属子网

  • Phase:

    虚拟节点状态

  • CreatedTime:

    创建时间



19566
19567
19568
# File 'lib/v20180525/models.rb', line 19566

def Phase
  @Phase
end

#SubnetIdObject

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

Parameters:

  • Name:

    虚拟节点名称

  • SubnetId:

    虚拟节点所属子网

  • Phase:

    虚拟节点状态

  • CreatedTime:

    创建时间



19566
19567
19568
# File 'lib/v20180525/models.rb', line 19566

def SubnetId
  @SubnetId
end

Instance Method Details

#deserialize(params) ⇒ Object



19575
19576
19577
19578
19579
19580
# File 'lib/v20180525/models.rb', line 19575

def deserialize(params)
  @Name = params['Name']
  @SubnetId = params['SubnetId']
  @Phase = params['Phase']
  @CreatedTime = params['CreatedTime']
end