class TencentCloud::As::V20180419::SpotMixedAllocationPolicy

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