Class: TencentCloud::Tke::V20180525::SwitchClusterEndpointRequest

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

Overview

SwitchClusterEndpoint请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(clusterid = nil, isextranet = nil, rollback = nil) ⇒ SwitchClusterEndpointRequest

Returns a new instance of SwitchClusterEndpointRequest.



20227
20228
20229
20230
20231
# File 'lib/v20180525/models.rb', line 20227

def initialize(clusterid=nil, isextranet=nil, rollback=nil)
  @ClusterId = clusterid
  @IsExtranet = isextranet
  @Rollback = rollback
end

Instance Attribute Details

#ClusterIdObject

Parameters:

  • 集群ID

  • 是否为外网访问(TRUE 外网访问 FALSE 内网访问,默认值: FALSE)

  • 切换回滚至非直连



20225
20226
20227
# File 'lib/v20180525/models.rb', line 20225

def ClusterId
  @ClusterId
end

#IsExtranetObject

Parameters:

  • 集群ID

  • 是否为外网访问(TRUE 外网访问 FALSE 内网访问,默认值: FALSE)

  • 切换回滚至非直连



20225
20226
20227
# File 'lib/v20180525/models.rb', line 20225

def IsExtranet
  @IsExtranet
end

#RollbackObject

Parameters:

  • 集群ID

  • 是否为外网访问(TRUE 外网访问 FALSE 内网访问,默认值: FALSE)

  • 切换回滚至非直连



20225
20226
20227
# File 'lib/v20180525/models.rb', line 20225

def Rollback
  @Rollback
end

Instance Method Details

#deserialize(params) ⇒ Object



20233
20234
20235
20236
20237
# File 'lib/v20180525/models.rb', line 20233

def deserialize(params)
  @ClusterId = params['ClusterId']
  @IsExtranet = params['IsExtranet']
  @Rollback = params['Rollback']
end