Class: TencentCloud::Cdwch::V20200915::InstanceNode

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

Overview

实例节点描述信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(ip = nil, spec = nil, core = nil, memory = nil, disktype = nil, disksize = nil, cluster = nil, nodegroups = nil, rip = nil, ischproxy = nil, status = nil, uuid = nil, zone = nil, zonedesc = nil, realresourceid = nil, subnetid = nil) ⇒ InstanceNode

Returns a new instance of InstanceNode.



2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
# File 'lib/v20200915/models.rb', line 2321

def initialize(ip=nil, spec=nil, core=nil, memory=nil, disktype=nil, disksize=nil, cluster=nil, nodegroups=nil, rip=nil, ischproxy=nil, status=nil, uuid=nil, zone=nil, zonedesc=nil, realresourceid=nil, subnetid=nil)
  @Ip = ip
  @Spec = spec
  @Core = core
  @Memory = memory
  @DiskType = disktype
  @DiskSize = disksize
  @Cluster = cluster
  @NodeGroups = nodegroups
  @Rip = rip
  @IsCHProxy = ischproxy
  @Status = status
  @UUID = uuid
  @Zone = zone
  @ZoneDesc = zonedesc
  @RealResourceId = realresourceid
  @SubnetId = subnetid
end

Instance Attribute Details

#ClusterObject

Parameters:

  • Ip:

    IP地址

  • Spec:

    机型,如 S1

  • Core:

    cpu核数

  • Memory:

    内存大小

  • DiskType:

    磁盘类型

  • DiskSize:

    磁盘大小

  • Cluster:

    所属clickhouse cluster名称

  • NodeGroups:

    节点所属的分组信息

  • Rip:

    VPC IP

  • IsCHProxy:

    ture的时候表示该节点上部署了chPROXY进程

  • Status:

    节点状态

  • UUID:

    节点uuid

  • Zone:

  • ZoneDesc:

    去描述

  • RealResourceId:

    真实资源id

  • SubnetId:

    子网信息



2319
2320
2321
# File 'lib/v20200915/models.rb', line 2319

def Cluster
  @Cluster
end

#CoreObject

Parameters:

  • Ip:

    IP地址

  • Spec:

    机型,如 S1

  • Core:

    cpu核数

  • Memory:

    内存大小

  • DiskType:

    磁盘类型

  • DiskSize:

    磁盘大小

  • Cluster:

    所属clickhouse cluster名称

  • NodeGroups:

    节点所属的分组信息

  • Rip:

    VPC IP

  • IsCHProxy:

    ture的时候表示该节点上部署了chPROXY进程

  • Status:

    节点状态

  • UUID:

    节点uuid

  • Zone:

  • ZoneDesc:

    去描述

  • RealResourceId:

    真实资源id

  • SubnetId:

    子网信息



2319
2320
2321
# File 'lib/v20200915/models.rb', line 2319

def Core
  @Core
end

#DiskSizeObject

Parameters:

  • Ip:

    IP地址

  • Spec:

    机型,如 S1

  • Core:

    cpu核数

  • Memory:

    内存大小

  • DiskType:

    磁盘类型

  • DiskSize:

    磁盘大小

  • Cluster:

    所属clickhouse cluster名称

  • NodeGroups:

    节点所属的分组信息

  • Rip:

    VPC IP

  • IsCHProxy:

    ture的时候表示该节点上部署了chPROXY进程

  • Status:

    节点状态

  • UUID:

    节点uuid

  • Zone:

  • ZoneDesc:

    去描述

  • RealResourceId:

    真实资源id

  • SubnetId:

    子网信息



2319
2320
2321
# File 'lib/v20200915/models.rb', line 2319

def DiskSize
  @DiskSize
end

#DiskTypeObject

Parameters:

  • Ip:

    IP地址

  • Spec:

    机型,如 S1

  • Core:

    cpu核数

  • Memory:

    内存大小

  • DiskType:

    磁盘类型

  • DiskSize:

    磁盘大小

  • Cluster:

    所属clickhouse cluster名称

  • NodeGroups:

    节点所属的分组信息

  • Rip:

    VPC IP

  • IsCHProxy:

    ture的时候表示该节点上部署了chPROXY进程

  • Status:

    节点状态

  • UUID:

    节点uuid

  • Zone:

  • ZoneDesc:

    去描述

  • RealResourceId:

    真实资源id

  • SubnetId:

    子网信息



2319
2320
2321
# File 'lib/v20200915/models.rb', line 2319

def DiskType
  @DiskType
end

#IpObject

Parameters:

  • Ip:

    IP地址

  • Spec:

    机型,如 S1

  • Core:

    cpu核数

  • Memory:

    内存大小

  • DiskType:

    磁盘类型

  • DiskSize:

    磁盘大小

  • Cluster:

    所属clickhouse cluster名称

  • NodeGroups:

    节点所属的分组信息

  • Rip:

    VPC IP

  • IsCHProxy:

    ture的时候表示该节点上部署了chPROXY进程

  • Status:

    节点状态

  • UUID:

    节点uuid

  • Zone:

  • ZoneDesc:

    去描述

  • RealResourceId:

    真实资源id

  • SubnetId:

    子网信息



2319
2320
2321
# File 'lib/v20200915/models.rb', line 2319

def Ip
  @Ip
end

#IsCHProxyObject

Parameters:

  • Ip:

    IP地址

  • Spec:

    机型,如 S1

  • Core:

    cpu核数

  • Memory:

    内存大小

  • DiskType:

    磁盘类型

  • DiskSize:

    磁盘大小

  • Cluster:

    所属clickhouse cluster名称

  • NodeGroups:

    节点所属的分组信息

  • Rip:

    VPC IP

  • IsCHProxy:

    ture的时候表示该节点上部署了chPROXY进程

  • Status:

    节点状态

  • UUID:

    节点uuid

  • Zone:

  • ZoneDesc:

    去描述

  • RealResourceId:

    真实资源id

  • SubnetId:

    子网信息



2319
2320
2321
# File 'lib/v20200915/models.rb', line 2319

def IsCHProxy
  @IsCHProxy
end

#MemoryObject

Parameters:

  • Ip:

    IP地址

  • Spec:

    机型,如 S1

  • Core:

    cpu核数

  • Memory:

    内存大小

  • DiskType:

    磁盘类型

  • DiskSize:

    磁盘大小

  • Cluster:

    所属clickhouse cluster名称

  • NodeGroups:

    节点所属的分组信息

  • Rip:

    VPC IP

  • IsCHProxy:

    ture的时候表示该节点上部署了chPROXY进程

  • Status:

    节点状态

  • UUID:

    节点uuid

  • Zone:

  • ZoneDesc:

    去描述

  • RealResourceId:

    真实资源id

  • SubnetId:

    子网信息



2319
2320
2321
# File 'lib/v20200915/models.rb', line 2319

def Memory
  @Memory
end

#NodeGroupsObject

Parameters:

  • Ip:

    IP地址

  • Spec:

    机型,如 S1

  • Core:

    cpu核数

  • Memory:

    内存大小

  • DiskType:

    磁盘类型

  • DiskSize:

    磁盘大小

  • Cluster:

    所属clickhouse cluster名称

  • NodeGroups:

    节点所属的分组信息

  • Rip:

    VPC IP

  • IsCHProxy:

    ture的时候表示该节点上部署了chPROXY进程

  • Status:

    节点状态

  • UUID:

    节点uuid

  • Zone:

  • ZoneDesc:

    去描述

  • RealResourceId:

    真实资源id

  • SubnetId:

    子网信息



2319
2320
2321
# File 'lib/v20200915/models.rb', line 2319

def NodeGroups
  @NodeGroups
end

#RealResourceIdObject

Parameters:

  • Ip:

    IP地址

  • Spec:

    机型,如 S1

  • Core:

    cpu核数

  • Memory:

    内存大小

  • DiskType:

    磁盘类型

  • DiskSize:

    磁盘大小

  • Cluster:

    所属clickhouse cluster名称

  • NodeGroups:

    节点所属的分组信息

  • Rip:

    VPC IP

  • IsCHProxy:

    ture的时候表示该节点上部署了chPROXY进程

  • Status:

    节点状态

  • UUID:

    节点uuid

  • Zone:

  • ZoneDesc:

    去描述

  • RealResourceId:

    真实资源id

  • SubnetId:

    子网信息



2319
2320
2321
# File 'lib/v20200915/models.rb', line 2319

def RealResourceId
  @RealResourceId
end

#RipObject

Parameters:

  • Ip:

    IP地址

  • Spec:

    机型,如 S1

  • Core:

    cpu核数

  • Memory:

    内存大小

  • DiskType:

    磁盘类型

  • DiskSize:

    磁盘大小

  • Cluster:

    所属clickhouse cluster名称

  • NodeGroups:

    节点所属的分组信息

  • Rip:

    VPC IP

  • IsCHProxy:

    ture的时候表示该节点上部署了chPROXY进程

  • Status:

    节点状态

  • UUID:

    节点uuid

  • Zone:

  • ZoneDesc:

    去描述

  • RealResourceId:

    真实资源id

  • SubnetId:

    子网信息



2319
2320
2321
# File 'lib/v20200915/models.rb', line 2319

def Rip
  @Rip
end

#SpecObject

Parameters:

  • Ip:

    IP地址

  • Spec:

    机型,如 S1

  • Core:

    cpu核数

  • Memory:

    内存大小

  • DiskType:

    磁盘类型

  • DiskSize:

    磁盘大小

  • Cluster:

    所属clickhouse cluster名称

  • NodeGroups:

    节点所属的分组信息

  • Rip:

    VPC IP

  • IsCHProxy:

    ture的时候表示该节点上部署了chPROXY进程

  • Status:

    节点状态

  • UUID:

    节点uuid

  • Zone:

  • ZoneDesc:

    去描述

  • RealResourceId:

    真实资源id

  • SubnetId:

    子网信息



2319
2320
2321
# File 'lib/v20200915/models.rb', line 2319

def Spec
  @Spec
end

#StatusObject

Parameters:

  • Ip:

    IP地址

  • Spec:

    机型,如 S1

  • Core:

    cpu核数

  • Memory:

    内存大小

  • DiskType:

    磁盘类型

  • DiskSize:

    磁盘大小

  • Cluster:

    所属clickhouse cluster名称

  • NodeGroups:

    节点所属的分组信息

  • Rip:

    VPC IP

  • IsCHProxy:

    ture的时候表示该节点上部署了chPROXY进程

  • Status:

    节点状态

  • UUID:

    节点uuid

  • Zone:

  • ZoneDesc:

    去描述

  • RealResourceId:

    真实资源id

  • SubnetId:

    子网信息



2319
2320
2321
# File 'lib/v20200915/models.rb', line 2319

def Status
  @Status
end

#SubnetIdObject

Parameters:

  • Ip:

    IP地址

  • Spec:

    机型,如 S1

  • Core:

    cpu核数

  • Memory:

    内存大小

  • DiskType:

    磁盘类型

  • DiskSize:

    磁盘大小

  • Cluster:

    所属clickhouse cluster名称

  • NodeGroups:

    节点所属的分组信息

  • Rip:

    VPC IP

  • IsCHProxy:

    ture的时候表示该节点上部署了chPROXY进程

  • Status:

    节点状态

  • UUID:

    节点uuid

  • Zone:

  • ZoneDesc:

    去描述

  • RealResourceId:

    真实资源id

  • SubnetId:

    子网信息



2319
2320
2321
# File 'lib/v20200915/models.rb', line 2319

def SubnetId
  @SubnetId
end

#UUIDObject

Parameters:

  • Ip:

    IP地址

  • Spec:

    机型,如 S1

  • Core:

    cpu核数

  • Memory:

    内存大小

  • DiskType:

    磁盘类型

  • DiskSize:

    磁盘大小

  • Cluster:

    所属clickhouse cluster名称

  • NodeGroups:

    节点所属的分组信息

  • Rip:

    VPC IP

  • IsCHProxy:

    ture的时候表示该节点上部署了chPROXY进程

  • Status:

    节点状态

  • UUID:

    节点uuid

  • Zone:

  • ZoneDesc:

    去描述

  • RealResourceId:

    真实资源id

  • SubnetId:

    子网信息



2319
2320
2321
# File 'lib/v20200915/models.rb', line 2319

def UUID
  @UUID
end

#ZoneObject

Parameters:

  • Ip:

    IP地址

  • Spec:

    机型,如 S1

  • Core:

    cpu核数

  • Memory:

    内存大小

  • DiskType:

    磁盘类型

  • DiskSize:

    磁盘大小

  • Cluster:

    所属clickhouse cluster名称

  • NodeGroups:

    节点所属的分组信息

  • Rip:

    VPC IP

  • IsCHProxy:

    ture的时候表示该节点上部署了chPROXY进程

  • Status:

    节点状态

  • UUID:

    节点uuid

  • Zone:

  • ZoneDesc:

    去描述

  • RealResourceId:

    真实资源id

  • SubnetId:

    子网信息



2319
2320
2321
# File 'lib/v20200915/models.rb', line 2319

def Zone
  @Zone
end

#ZoneDescObject

Parameters:

  • Ip:

    IP地址

  • Spec:

    机型,如 S1

  • Core:

    cpu核数

  • Memory:

    内存大小

  • DiskType:

    磁盘类型

  • DiskSize:

    磁盘大小

  • Cluster:

    所属clickhouse cluster名称

  • NodeGroups:

    节点所属的分组信息

  • Rip:

    VPC IP

  • IsCHProxy:

    ture的时候表示该节点上部署了chPROXY进程

  • Status:

    节点状态

  • UUID:

    节点uuid

  • Zone:

  • ZoneDesc:

    去描述

  • RealResourceId:

    真实资源id

  • SubnetId:

    子网信息



2319
2320
2321
# File 'lib/v20200915/models.rb', line 2319

def ZoneDesc
  @ZoneDesc
end

Instance Method Details

#deserialize(params) ⇒ Object



2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
# File 'lib/v20200915/models.rb', line 2340

def deserialize(params)
  @Ip = params['Ip']
  @Spec = params['Spec']
  @Core = params['Core']
  @Memory = params['Memory']
  @DiskType = params['DiskType']
  @DiskSize = params['DiskSize']
  @Cluster = params['Cluster']
  unless params['NodeGroups'].nil?
    @NodeGroups = []
    params['NodeGroups'].each do |i|
      groupinfo_tmp = GroupInfo.new
      groupinfo_tmp.deserialize(i)
      @NodeGroups << groupinfo_tmp
    end
  end
  @Rip = params['Rip']
  @IsCHProxy = params['IsCHProxy']
  @Status = params['Status']
  @UUID = params['UUID']
  @Zone = params['Zone']
  @ZoneDesc = params['ZoneDesc']
  @RealResourceId = params['RealResourceId']
  @SubnetId = params['SubnetId']
end