lib/v20180416/models.rb in tencentcloud-sdk-es-1.0.347 vs lib/v20180416/models.rb in tencentcloud-sdk-es-1.0.348

- old
+ new

@@ -1990,22 +1990,30 @@ # @type LocalDiskInfo: :class:`Tencentcloud::Es.v20180416.models.LocalDiskInfo` # @param DiskCount: 节点磁盘块数 # @type DiskCount: Integer # @param DiskEncrypt: 节点磁盘是否加密 0: 不加密,1: 加密;默认不加密 # @type DiskEncrypt: Integer + # @param CpuNum: cpu数目 + # 注意:此字段可能返回 null,表示取不到有效值。 + # @type CpuNum: Integer + # @param MemSize: 内存大小,单位GB + # 注意:此字段可能返回 null,表示取不到有效值。 + # @type MemSize: Integer - attr_accessor :NodeNum, :NodeType, :Type, :DiskType, :DiskSize, :LocalDiskInfo, :DiskCount, :DiskEncrypt + attr_accessor :NodeNum, :NodeType, :Type, :DiskType, :DiskSize, :LocalDiskInfo, :DiskCount, :DiskEncrypt, :CpuNum, :MemSize - def initialize(nodenum=nil, nodetype=nil, type=nil, disktype=nil, disksize=nil, localdiskinfo=nil, diskcount=nil, diskencrypt=nil) + def initialize(nodenum=nil, nodetype=nil, type=nil, disktype=nil, disksize=nil, localdiskinfo=nil, diskcount=nil, diskencrypt=nil, cpunum=nil, memsize=nil) @NodeNum = nodenum @NodeType = nodetype @Type = type @DiskType = disktype @DiskSize = disksize @LocalDiskInfo = localdiskinfo @DiskCount = diskcount @DiskEncrypt = diskencrypt + @CpuNum = cpunum + @MemSize = memsize end def deserialize(params) @NodeNum = params['NodeNum'] @NodeType = params['NodeType'] @@ -2016,9 +2024,11 @@ @LocalDiskInfo = LocalDiskInfo.new @LocalDiskInfo.deserialize(params['LocalDiskInfo']) end @DiskCount = params['DiskCount'] @DiskEncrypt = params['DiskEncrypt'] + @CpuNum = params['CpuNum'] + @MemSize = params['MemSize'] end end # 节点维度视图数据 class NodeView < TencentCloud::Common::AbstractModel