Class: TencentCloud::Tke::V20180525::SubnetInfos

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

Overview

子网信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(subnetid = nil, name = nil, securitygroups = nil, os = nil, arch = nil) ⇒ SubnetInfos

Returns a new instance of SubnetInfos.



18273
18274
18275
18276
18277
18278
18279
# File 'lib/v20180525/models.rb', line 18273

def initialize(subnetid=nil, name=nil, securitygroups=nil, os=nil, arch=nil)
  @SubnetId = subnetid
  @Name = name
  @SecurityGroups = securitygroups
  @Os = os
  @Arch = arch
end

Instance Attribute Details

#ArchObject

Parameters:

  • SubnetId:

    子网id

  • Name:

    子网节点名称

  • SecurityGroups:

    安全组id

  • Os:

    系统,默认linux

  • Arch:

    硬件架构,默认amd64



18271
18272
18273
# File 'lib/v20180525/models.rb', line 18271

def Arch
  @Arch
end

#NameObject

Parameters:

  • SubnetId:

    子网id

  • Name:

    子网节点名称

  • SecurityGroups:

    安全组id

  • Os:

    系统,默认linux

  • Arch:

    硬件架构,默认amd64



18271
18272
18273
# File 'lib/v20180525/models.rb', line 18271

def Name
  @Name
end

#OsObject

Parameters:

  • SubnetId:

    子网id

  • Name:

    子网节点名称

  • SecurityGroups:

    安全组id

  • Os:

    系统,默认linux

  • Arch:

    硬件架构,默认amd64



18271
18272
18273
# File 'lib/v20180525/models.rb', line 18271

def Os
  @Os
end

#SecurityGroupsObject

Parameters:

  • SubnetId:

    子网id

  • Name:

    子网节点名称

  • SecurityGroups:

    安全组id

  • Os:

    系统,默认linux

  • Arch:

    硬件架构,默认amd64



18271
18272
18273
# File 'lib/v20180525/models.rb', line 18271

def SecurityGroups
  @SecurityGroups
end

#SubnetIdObject

Parameters:

  • SubnetId:

    子网id

  • Name:

    子网节点名称

  • SecurityGroups:

    安全组id

  • Os:

    系统,默认linux

  • Arch:

    硬件架构,默认amd64



18271
18272
18273
# File 'lib/v20180525/models.rb', line 18271

def SubnetId
  @SubnetId
end

Instance Method Details

#deserialize(params) ⇒ Object



18281
18282
18283
18284
18285
18286
18287
# File 'lib/v20180525/models.rb', line 18281

def deserialize(params)
  @SubnetId = params['SubnetId']
  @Name = params['Name']
  @SecurityGroups = params['SecurityGroups']
  @Os = params['Os']
  @Arch = params['Arch']
end