Class: TencentCloud::Tke::V20180525::CreateClusterInstancesRequest

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

Overview

CreateClusterInstances请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(clusterid = nil, runinstancepara = nil, instanceadvancedsettings = nil, skipvalidateoptions = nil) ⇒ CreateClusterInstancesRequest

Returns a new instance of CreateClusterInstancesRequest.



2063
2064
2065
2066
2067
2068
# File 'lib/v20180525/models.rb', line 2063

def initialize(clusterid=nil, runinstancepara=nil, instanceadvancedsettings=nil, skipvalidateoptions=nil)
  @ClusterId = clusterid
  @RunInstancePara = runinstancepara
  @InstanceAdvancedSettings = instanceadvancedsettings
  @SkipValidateOptions = skipvalidateoptions
end

Instance Attribute Details

#ClusterIdObject

Parameters:



2061
2062
2063
# File 'lib/v20180525/models.rb', line 2061

def ClusterId
  @ClusterId
end

#InstanceAdvancedSettingsObject

Parameters:



2061
2062
2063
# File 'lib/v20180525/models.rb', line 2061

def InstanceAdvancedSettings
  @InstanceAdvancedSettings
end

#RunInstanceParaObject

Parameters:



2061
2062
2063
# File 'lib/v20180525/models.rb', line 2061

def RunInstancePara
  @RunInstancePara
end

#SkipValidateOptionsObject

Parameters:



2061
2062
2063
# File 'lib/v20180525/models.rb', line 2061

def SkipValidateOptions
  @SkipValidateOptions
end

Instance Method Details

#deserialize(params) ⇒ Object



2070
2071
2072
2073
2074
2075
2076
2077
2078
# File 'lib/v20180525/models.rb', line 2070

def deserialize(params)
  @ClusterId = params['ClusterId']
  @RunInstancePara = params['RunInstancePara']
  unless params['InstanceAdvancedSettings'].nil?
    @InstanceAdvancedSettings = InstanceAdvancedSettings.new
    @InstanceAdvancedSettings.deserialize(params['InstanceAdvancedSettings'])
  end
  @SkipValidateOptions = params['SkipValidateOptions']
end