Class: TencentCloud::Tke::V20180525::ExistedInstancesPara

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

Overview

已存在实例的重装参数

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(instanceids = nil, instanceadvancedsettings = nil, enhancedservice = nil, loginsettings = nil, securitygroupids = nil, hostname = nil) ⇒ ExistedInstancesPara

Returns a new instance of ExistedInstancesPara.



11936
11937
11938
11939
11940
11941
11942
11943
# File 'lib/v20180525/models.rb', line 11936

def initialize(instanceids=nil, instanceadvancedsettings=nil, enhancedservice=nil, loginsettings=nil, securitygroupids=nil, hostname=nil)
  @InstanceIds = instanceids
  @InstanceAdvancedSettings = instanceadvancedsettings
  @EnhancedService = enhancedservice
  @LoginSettings = loginsettings
  @SecurityGroupIds = securitygroupids
  @HostName = hostname
end

Instance Attribute Details

#EnhancedServiceObject

Parameters:



11934
11935
11936
# File 'lib/v20180525/models.rb', line 11934

def EnhancedService
  @EnhancedService
end

#HostNameObject

Parameters:



11934
11935
11936
# File 'lib/v20180525/models.rb', line 11934

def HostName
  @HostName
end

#InstanceAdvancedSettingsObject

Parameters:



11934
11935
11936
# File 'lib/v20180525/models.rb', line 11934

def InstanceAdvancedSettings
  @InstanceAdvancedSettings
end

#InstanceIdsObject

Parameters:



11934
11935
11936
# File 'lib/v20180525/models.rb', line 11934

def InstanceIds
  @InstanceIds
end

#LoginSettingsObject

Parameters:



11934
11935
11936
# File 'lib/v20180525/models.rb', line 11934

def LoginSettings
  @LoginSettings
end

#SecurityGroupIdsObject

Parameters:



11934
11935
11936
# File 'lib/v20180525/models.rb', line 11934

def SecurityGroupIds
  @SecurityGroupIds
end

Instance Method Details

#deserialize(params) ⇒ Object



11945
11946
11947
11948
11949
11950
11951
11952
11953
11954
11955
11956
11957
11958
11959
11960
11961
# File 'lib/v20180525/models.rb', line 11945

def deserialize(params)
  @InstanceIds = params['InstanceIds']
  unless params['InstanceAdvancedSettings'].nil?
    @InstanceAdvancedSettings = InstanceAdvancedSettings.new
    @InstanceAdvancedSettings.deserialize(params['InstanceAdvancedSettings'])
  end
  unless params['EnhancedService'].nil?
    @EnhancedService = EnhancedService.new
    @EnhancedService.deserialize(params['EnhancedService'])
  end
  unless params['LoginSettings'].nil?
    @LoginSettings = LoginSettings.new
    @LoginSettings.deserialize(params['LoginSettings'])
  end
  @SecurityGroupIds = params['SecurityGroupIds']
  @HostName = params['HostName']
end