/// <summary> /// Initializes a new instance of the ThroughputSettingsResource class. /// </summary> /// <param name="throughput">Value of the Cosmos DB resource /// throughput. Either throughput is required or autopilotSettings is /// required, but not both.</param> /// <param name="autopilotSettings">Cosmos DB resource for Autopilot /// settings. Either throughput is required or autopilotSettings is /// required, but not both.</param> /// <param name="minimumThroughput">The minimum throughput of the /// resource</param> /// <param name="offerReplacePending">The throughput replace is /// pending</param> public ThroughputSettingsResource(int?throughput = default(int?), AutopilotSettingsResource autopilotSettings = default(AutopilotSettingsResource), string minimumThroughput = default(string), string offerReplacePending = default(string)) { Throughput = throughput; AutopilotSettings = autopilotSettings; MinimumThroughput = minimumThroughput; OfferReplacePending = offerReplacePending; CustomInit(); }
/// <summary> /// Initializes a new instance of the /// ThroughputSettingsGetPropertiesResource class. /// </summary> /// <param name="throughput">Value of the Cosmos DB resource /// throughput. Either throughput is required or autopilotSettings is /// required, but not both.</param> /// <param name="autopilotSettings">Cosmos DB resource for Autopilot /// settings. Either throughput is required or autopilotSettings is /// required, but not both.</param> /// <param name="minimumThroughput">The minimum throughput of the /// resource</param> /// <param name="offerReplacePending">The throughput replace is /// pending</param> /// <param name="_rid">A system generated property. A unique /// identifier.</param> /// <param name="_ts">A system generated property that denotes the last /// updated timestamp of the resource.</param> /// <param name="_etag">A system generated property representing the /// resource etag required for optimistic concurrency control.</param> public ThroughputSettingsGetPropertiesResource(int?throughput = default(int?), AutopilotSettingsResource autopilotSettings = default(AutopilotSettingsResource), string minimumThroughput = default(string), string offerReplacePending = default(string), string _rid = default(string), object _ts = default(object), string _etag = default(string)) { Throughput = throughput; AutopilotSettings = autopilotSettings; MinimumThroughput = minimumThroughput; OfferReplacePending = offerReplacePending; this._rid = _rid; this._ts = _ts; this._etag = _etag; CustomInit(); }