public static OfferContentProperties CreateAutoscaleOfferConent( int startingMaxThroughput, int?autoUpgradeMaxThroughputIncrementPercentage) { OfferAutoscaleProperties autoscaleProperties = new OfferAutoscaleProperties( startingMaxThroughput, autoUpgradeMaxThroughputIncrementPercentage); return(new OfferContentProperties(autoscaleProperties)); }
private OfferContentProperties(OfferAutoscaleProperties autoscaleProperties) { this.OfferThroughput = null; this.OfferAutoscaleSettings = autoscaleProperties ?? throw new ArgumentNullException(nameof(autoscaleProperties)); }