/// <summary>
 /// Validate the object.
 /// </summary>
 /// <exception cref="Rest.ValidationException">
 /// Thrown if validation fails
 /// </exception>
 public virtual void Validate()
 {
     if (AutoscaleSettings != null)
     {
         AutoscaleSettings.Validate();
     }
 }
 /// <summary>
 /// Initializes a new instance of the SqlContainerGetPropertiesOptions
 /// class.
 /// </summary>
 /// <param name="throughput">Value of the Cosmos DB resource throughput
 /// or autoscaleSettings. Use the ThroughputSetting resource when
 /// retrieving offer details.</param>
 /// <param name="autoscaleSettings">Specifies the Autoscale
 /// settings.</param>
 public SqlContainerGetPropertiesOptions(int?throughput = default(int?), AutoscaleSettings autoscaleSettings = default(AutoscaleSettings))
     : base(throughput, autoscaleSettings)
 {
     CustomInit();
 }
示例#3
0
 /// <summary>
 /// Initializes a new instance of the
 /// CassandraKeyspaceGetPropertiesOptions class.
 /// </summary>
 /// <param name="throughput">Value of the Cosmos DB resource throughput
 /// or autoscaleSettings. Use the ThroughputSetting resource when
 /// retrieving offer details.</param>
 /// <param name="autoscaleSettings">Specifies the Autoscale
 /// settings.</param>
 public CassandraKeyspaceGetPropertiesOptions(int?throughput = default(int?), AutoscaleSettings autoscaleSettings = default(AutoscaleSettings))
     : base(throughput, autoscaleSettings)
 {
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the GraphResourceGetPropertiesOptions
 /// class.
 /// </summary>
 /// <param name="throughput">Value of the Cosmos DB resource throughput
 /// or autoscaleSettings. Use the ThroughputSetting resource when
 /// retrieving offer details.</param>
 /// <param name="autoscaleSettings">Specifies the Autoscale
 /// settings.</param>
 public GraphResourceGetPropertiesOptions(int?throughput = default(int?), AutoscaleSettings autoscaleSettings = default(AutoscaleSettings))
     : base(throughput, autoscaleSettings)
 {
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the OptionsResource class.
 /// </summary>
 /// <param name="throughput">Value of the Cosmos DB resource throughput
 /// or autoscaleSettings. Use the ThroughputSetting resource when
 /// retrieving offer details.</param>
 /// <param name="autoscaleSettings">Specifies the Autoscale
 /// settings.</param>
 public OptionsResource(int?throughput = default(int?), AutoscaleSettings autoscaleSettings = default(AutoscaleSettings))
 {
     Throughput        = throughput;
     AutoscaleSettings = autoscaleSettings;
     CustomInit();
 }
示例#6
0
 /// <summary>
 /// Initializes a new instance of the
 /// MongoDBDatabaseGetPropertiesOptions class.
 /// </summary>
 /// <param name="throughput">Value of the Cosmos DB resource throughput
 /// or autoscaleSettings. Use the ThroughputSetting resource when
 /// retrieving offer details.</param>
 /// <param name="autoscaleSettings">Specifies the Autoscale
 /// settings.</param>
 public MongoDBDatabaseGetPropertiesOptions(int?throughput = default(int?), AutoscaleSettings autoscaleSettings = default(AutoscaleSettings))
     : base(throughput, autoscaleSettings)
 {
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the CreateUpdateOptions class.
 /// </summary>
 /// <param name="throughput">Request Units per second. For example,
 /// "throughput": 10000.</param>
 /// <param name="autoscaleSettings">Specifies the Autoscale
 /// settings.</param>
 public CreateUpdateOptions(int?throughput = default(int?), AutoscaleSettings autoscaleSettings = default(AutoscaleSettings))
 {
     Throughput        = throughput;
     AutoscaleSettings = autoscaleSettings;
     CustomInit();
 }