class TencentCloud::As::V20180419::SpotMixedAllocationPolicy

竞价混合模式下,各计费类型实例的分配策略。包括按量计费实例和竞价计费实例。

def deserialize(params)

def deserialize(params)
  @BaseCapacity = params['BaseCapacity']
  @OnDemandPercentageAboveBaseCapacity = params['OnDemandPercentageAboveBaseCapacity']
  @SpotAllocationStrategy = params['SpotAllocationStrategy']
  @CompensateWithBaseInstance = params['CompensateWithBaseInstance']
end

def initialize(basecapacity=nil, ondemandpercentageabovebasecapacity=nil, spotallocationstrategy=nil, compensatewithbaseinstance=nil)

def initialize(basecapacity=nil, ondemandpercentageabovebasecapacity=nil, spotallocationstrategy=nil, compensatewithbaseinstance=nil)
  @BaseCapacity = basecapacity
  @OnDemandPercentageAboveBaseCapacity = ondemandpercentageabovebasecapacity
  @SpotAllocationStrategy = spotallocationstrategy
  @CompensateWithBaseInstance = compensatewithbaseinstance
end