Class: TencentCloud::Iecp::V20210914::NodeGroupInfo

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

Overview

NodeGroup信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(description = nil, createtime = nil, nodegroupname = nil, deploymentgridlist = nil, statefulsetgridlist = nil, protect = nil) ⇒ NodeGroupInfo

Returns a new instance of NodeGroupInfo.



5859
5860
5861
5862
5863
5864
5865
5866
# File 'lib/v20210914/models.rb', line 5859

def initialize(description=nil, createtime=nil, nodegroupname=nil, deploymentgridlist=nil, statefulsetgridlist=nil, protect=nil)
  @Description = description
  @CreateTime = createtime
  @NodeGroupName = nodegroupname
  @DeploymentGridList = deploymentgridlist
  @StatefulSetGridList = statefulsetgridlist
  @Protect = protect
end

Instance Attribute Details

#CreateTimeObject

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

Parameters:

  • Description:

    描述

  • CreateTime:

    创建时间

  • NodeGroupName:

    NodeGroup名称

  • DeploymentGridList:

    DeploymentGrid数组

  • StatefulSetGridList:

    StatefulSetGrid数组

  • Protect:

    是否平台保护



5857
5858
5859
# File 'lib/v20210914/models.rb', line 5857

def CreateTime
  @CreateTime
end

#DeploymentGridListObject

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

Parameters:

  • Description:

    描述

  • CreateTime:

    创建时间

  • NodeGroupName:

    NodeGroup名称

  • DeploymentGridList:

    DeploymentGrid数组

  • StatefulSetGridList:

    StatefulSetGrid数组

  • Protect:

    是否平台保护



5857
5858
5859
# File 'lib/v20210914/models.rb', line 5857

def DeploymentGridList
  @DeploymentGridList
end

#DescriptionObject

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

Parameters:

  • Description:

    描述

  • CreateTime:

    创建时间

  • NodeGroupName:

    NodeGroup名称

  • DeploymentGridList:

    DeploymentGrid数组

  • StatefulSetGridList:

    StatefulSetGrid数组

  • Protect:

    是否平台保护



5857
5858
5859
# File 'lib/v20210914/models.rb', line 5857

def Description
  @Description
end

#NodeGroupNameObject

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

Parameters:

  • Description:

    描述

  • CreateTime:

    创建时间

  • NodeGroupName:

    NodeGroup名称

  • DeploymentGridList:

    DeploymentGrid数组

  • StatefulSetGridList:

    StatefulSetGrid数组

  • Protect:

    是否平台保护



5857
5858
5859
# File 'lib/v20210914/models.rb', line 5857

def NodeGroupName
  @NodeGroupName
end

#ProtectObject

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

Parameters:

  • Description:

    描述

  • CreateTime:

    创建时间

  • NodeGroupName:

    NodeGroup名称

  • DeploymentGridList:

    DeploymentGrid数组

  • StatefulSetGridList:

    StatefulSetGrid数组

  • Protect:

    是否平台保护



5857
5858
5859
# File 'lib/v20210914/models.rb', line 5857

def Protect
  @Protect
end

#StatefulSetGridListObject

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

Parameters:

  • Description:

    描述

  • CreateTime:

    创建时间

  • NodeGroupName:

    NodeGroup名称

  • DeploymentGridList:

    DeploymentGrid数组

  • StatefulSetGridList:

    StatefulSetGrid数组

  • Protect:

    是否平台保护



5857
5858
5859
# File 'lib/v20210914/models.rb', line 5857

def StatefulSetGridList
  @StatefulSetGridList
end

Instance Method Details

#deserialize(params) ⇒ Object



5868
5869
5870
5871
5872
5873
5874
5875
5876
5877
5878
5879
5880
5881
5882
5883
5884
5885
5886
5887
5888
5889
# File 'lib/v20210914/models.rb', line 5868

def deserialize(params)
  @Description = params['Description']
  @CreateTime = params['CreateTime']
  @NodeGroupName = params['NodeGroupName']
  unless params['DeploymentGridList'].nil?
    @DeploymentGridList = []
    params['DeploymentGridList'].each do |i|
      griddetail_tmp = GridDetail.new
      griddetail_tmp.deserialize(i)
      @DeploymentGridList << griddetail_tmp
    end
  end
  unless params['StatefulSetGridList'].nil?
    @StatefulSetGridList = []
    params['StatefulSetGridList'].each do |i|
      griddetail_tmp = GridDetail.new
      griddetail_tmp.deserialize(i)
      @StatefulSetGridList << griddetail_tmp
    end
  end
  @Protect = params['Protect']
end