Class: TencentCloud::Tke::V20180525::CreateClusterRouteTableRequest

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

Overview

CreateClusterRouteTable请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(routetablename = nil, routetablecidrblock = nil, vpcid = nil, ignoreclustercidrconflict = nil) ⇒ CreateClusterRouteTableRequest

Returns a new instance of CreateClusterRouteTableRequest.



2476
2477
2478
2479
2480
2481
# File 'lib/v20180525/models.rb', line 2476

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

Instance Attribute Details

#IgnoreClusterCidrConflictObject

Parameters:

  • RouteTableName:

    路由表名称,一般为集群ID

  • RouteTableCidrBlock:

    路由表CIDR

  • VpcId:

    路由表绑定的VPC

  • IgnoreClusterCidrConflict:

    是否忽略CIDR与 vpc 路由表的冲突, 0 表示不忽略,1表示忽略。默认不忽略



2474
2475
2476
# File 'lib/v20180525/models.rb', line 2474

def IgnoreClusterCidrConflict
  @IgnoreClusterCidrConflict
end

#RouteTableCidrBlockObject

Parameters:

  • RouteTableName:

    路由表名称,一般为集群ID

  • RouteTableCidrBlock:

    路由表CIDR

  • VpcId:

    路由表绑定的VPC

  • IgnoreClusterCidrConflict:

    是否忽略CIDR与 vpc 路由表的冲突, 0 表示不忽略,1表示忽略。默认不忽略



2474
2475
2476
# File 'lib/v20180525/models.rb', line 2474

def RouteTableCidrBlock
  @RouteTableCidrBlock
end

#RouteTableNameObject

Parameters:

  • RouteTableName:

    路由表名称,一般为集群ID

  • RouteTableCidrBlock:

    路由表CIDR

  • VpcId:

    路由表绑定的VPC

  • IgnoreClusterCidrConflict:

    是否忽略CIDR与 vpc 路由表的冲突, 0 表示不忽略,1表示忽略。默认不忽略



2474
2475
2476
# File 'lib/v20180525/models.rb', line 2474

def RouteTableName
  @RouteTableName
end

#VpcIdObject

Parameters:

  • RouteTableName:

    路由表名称,一般为集群ID

  • RouteTableCidrBlock:

    路由表CIDR

  • VpcId:

    路由表绑定的VPC

  • IgnoreClusterCidrConflict:

    是否忽略CIDR与 vpc 路由表的冲突, 0 表示不忽略,1表示忽略。默认不忽略



2474
2475
2476
# File 'lib/v20180525/models.rb', line 2474

def VpcId
  @VpcId
end

Instance Method Details

#deserialize(params) ⇒ Object



2483
2484
2485
2486
2487
2488
# File 'lib/v20180525/models.rb', line 2483

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