Class: TencentCloud::Tem::V20210701::ModifyApplicationAutoscalerRequest

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

Overview

ModifyApplicationAutoscaler请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(applicationid = nil, environmentid = nil, autoscalerid = nil, autoscaler = nil, sourcechannel = nil) ⇒ ModifyApplicationAutoscalerRequest

Returns a new instance of ModifyApplicationAutoscalerRequest.



3320
3321
3322
3323
3324
3325
3326
# File 'lib/v20210701/models.rb', line 3320

def initialize(applicationid=nil, environmentid=nil, autoscalerid=nil, autoscaler=nil, sourcechannel=nil)
  @ApplicationId = applicationid
  @EnvironmentId = environmentid
  @AutoscalerId = autoscalerid
  @Autoscaler = autoscaler
  @SourceChannel = sourcechannel
end

Instance Attribute Details

#ApplicationIdObject

Parameters:

  • ApplicationId:

    服务id

  • EnvironmentId:

    环境ID

  • AutoscalerId:

    弹性伸缩策略ID

  • Autoscaler:

    弹性伸缩策略

  • SourceChannel:

    来源渠道



3318
3319
3320
# File 'lib/v20210701/models.rb', line 3318

def ApplicationId
  @ApplicationId
end

#AutoscalerObject

Parameters:

  • ApplicationId:

    服务id

  • EnvironmentId:

    环境ID

  • AutoscalerId:

    弹性伸缩策略ID

  • Autoscaler:

    弹性伸缩策略

  • SourceChannel:

    来源渠道



3318
3319
3320
# File 'lib/v20210701/models.rb', line 3318

def Autoscaler
  @Autoscaler
end

#AutoscalerIdObject

Parameters:

  • ApplicationId:

    服务id

  • EnvironmentId:

    环境ID

  • AutoscalerId:

    弹性伸缩策略ID

  • Autoscaler:

    弹性伸缩策略

  • SourceChannel:

    来源渠道



3318
3319
3320
# File 'lib/v20210701/models.rb', line 3318

def AutoscalerId
  @AutoscalerId
end

#EnvironmentIdObject

Parameters:

  • ApplicationId:

    服务id

  • EnvironmentId:

    环境ID

  • AutoscalerId:

    弹性伸缩策略ID

  • Autoscaler:

    弹性伸缩策略

  • SourceChannel:

    来源渠道



3318
3319
3320
# File 'lib/v20210701/models.rb', line 3318

def EnvironmentId
  @EnvironmentId
end

#SourceChannelObject

Parameters:

  • ApplicationId:

    服务id

  • EnvironmentId:

    环境ID

  • AutoscalerId:

    弹性伸缩策略ID

  • Autoscaler:

    弹性伸缩策略

  • SourceChannel:

    来源渠道



3318
3319
3320
# File 'lib/v20210701/models.rb', line 3318

def SourceChannel
  @SourceChannel
end

Instance Method Details

#deserialize(params) ⇒ Object



3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
# File 'lib/v20210701/models.rb', line 3328

def deserialize(params)
  @ApplicationId = params['ApplicationId']
  @EnvironmentId = params['EnvironmentId']
  @AutoscalerId = params['AutoscalerId']
  unless params['Autoscaler'].nil?
    @Autoscaler = Autoscaler.new
    @Autoscaler.deserialize(params['Autoscaler'])
  end
  @SourceChannel = params['SourceChannel']
end