Class: TencentCloud::Tke::V20180525::CreateClusterRouteRequest

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

Overview

CreateClusterRoute请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(routetablename = nil, destinationcidrblock = nil, gatewayip = nil) ⇒ CreateClusterRouteRequest

Returns a new instance of CreateClusterRouteRequest.



2434
2435
2436
2437
2438
# File 'lib/v20180525/models.rb', line 2434

def initialize(routetablename=nil, destinationcidrblock=nil, gatewayip=nil)
  @RouteTableName = routetablename
  @DestinationCidrBlock = destinationcidrblock
  @GatewayIp = gatewayip
end

Instance Attribute Details

#DestinationCidrBlockObject

Parameters:

  • RouteTableName:

    路由表名称。

  • DestinationCidrBlock:

    目的节点的 PodCIDR

  • GatewayIp:

    下一跳地址,即目的节点的内网 IP 地址



2432
2433
2434
# File 'lib/v20180525/models.rb', line 2432

def DestinationCidrBlock
  @DestinationCidrBlock
end

#GatewayIpObject

Parameters:

  • RouteTableName:

    路由表名称。

  • DestinationCidrBlock:

    目的节点的 PodCIDR

  • GatewayIp:

    下一跳地址,即目的节点的内网 IP 地址



2432
2433
2434
# File 'lib/v20180525/models.rb', line 2432

def GatewayIp
  @GatewayIp
end

#RouteTableNameObject

Parameters:

  • RouteTableName:

    路由表名称。

  • DestinationCidrBlock:

    目的节点的 PodCIDR

  • GatewayIp:

    下一跳地址,即目的节点的内网 IP 地址



2432
2433
2434
# File 'lib/v20180525/models.rb', line 2432

def RouteTableName
  @RouteTableName
end

Instance Method Details

#deserialize(params) ⇒ Object



2440
2441
2442
2443
2444
# File 'lib/v20180525/models.rb', line 2440

def deserialize(params)
  @RouteTableName = params['RouteTableName']
  @DestinationCidrBlock = params['DestinationCidrBlock']
  @GatewayIp = params['GatewayIp']
end