Class: TencentCloud::Tke::V20180525::RouteTableInfo

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

Overview

集群路由表对象

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(routetablename = nil, routetablecidrblock = nil, vpcid = nil) ⇒ RouteTableInfo

Returns a new instance of RouteTableInfo.



17830
17831
17832
17833
17834
# File 'lib/v20180525/models.rb', line 17830

def initialize(routetablename=nil, routetablecidrblock=nil, vpcid=nil)
  @RouteTableName = routetablename
  @RouteTableCidrBlock = routetablecidrblock
  @VpcId = vpcid
end

Instance Attribute Details

#RouteTableCidrBlockObject

Parameters:

  • RouteTableName:

    路由表名称。

  • RouteTableCidrBlock:

    路由表CIDR。

  • VpcId:

    VPC实例ID。



17828
17829
17830
# File 'lib/v20180525/models.rb', line 17828

def RouteTableCidrBlock
  @RouteTableCidrBlock
end

#RouteTableNameObject

Parameters:

  • RouteTableName:

    路由表名称。

  • RouteTableCidrBlock:

    路由表CIDR。

  • VpcId:

    VPC实例ID。



17828
17829
17830
# File 'lib/v20180525/models.rb', line 17828

def RouteTableName
  @RouteTableName
end

#VpcIdObject

Parameters:

  • RouteTableName:

    路由表名称。

  • RouteTableCidrBlock:

    路由表CIDR。

  • VpcId:

    VPC实例ID。



17828
17829
17830
# File 'lib/v20180525/models.rb', line 17828

def VpcId
  @VpcId
end

Instance Method Details

#deserialize(params) ⇒ Object



17836
17837
17838
17839
17840
# File 'lib/v20180525/models.rb', line 17836

def deserialize(params)
  @RouteTableName = params['RouteTableName']
  @RouteTableCidrBlock = params['RouteTableCidrBlock']
  @VpcId = params['VpcId']
end