Example #1
0
        public static OfferContentProperties CreateAutoscaleOfferConent(
            int startingMaxThroughput,
            int?autoUpgradeMaxThroughputIncrementPercentage)
        {
            OfferAutoscaleProperties autoscaleProperties = new OfferAutoscaleProperties(
                startingMaxThroughput,
                autoUpgradeMaxThroughputIncrementPercentage);

            return(new OfferContentProperties(autoscaleProperties));
        }
Example #2
0
 private OfferContentProperties(OfferAutoscaleProperties autoscaleProperties)
 {
     this.OfferThroughput        = null;
     this.OfferAutoscaleSettings = autoscaleProperties ?? throw new ArgumentNullException(nameof(autoscaleProperties));
 }