///GENMHASH:D7704568C142F68F7A15BF85145157D7:874ADE93123FF580FDC855E273311E48
        public SqlElasticPoolImpl WithStorageCapacity(SqlElasticPoolStandardStorage storageCapacity)
        {
            long capacityInMB = (long)storageCapacity / (1024 * 1024);

            this.Inner.StorageMB = (int)capacityInMB;
            return(this);
        }
Exemple #2
0
 /// <summary>
 /// Sets the storage capacity for the SQL Azure Database Elastic Pool.
 /// </summary>
 /// <param name="storageCapacity">Storage capacity for the SQL Azure Database Elastic Pool.</param>
 /// <return>The next stage of the update definition.</return>
 SqlElasticPool.Update.IUpdate SqlElasticPool.Update.IWithReservedDTUAndStorageCapacityBeta.WithStorageCapacity(SqlElasticPoolStandardStorage storageCapacity)
 {
     return(this.WithStorageCapacity(storageCapacity));
 }
Exemple #3
0
 /// <summary>
 /// Sets the storage capacity for the SQL Azure Database Elastic Pool.
 /// </summary>
 /// <param name="storageCapacity">Storage capacity for the SQL Azure Database Elastic Pool.</param>
 /// <return>The next stage of the definition.</return>
 SqlElasticPool.Definition.IWithStandardEdition <SqlServer.Definition.IWithCreate> SqlElasticPool.Definition.IWithStandardEditionBeta <SqlServer.Definition.IWithCreate> .WithStorageCapacity(SqlElasticPoolStandardStorage storageCapacity)
 {
     return(this.WithStorageCapacity(storageCapacity));
 }
Exemple #4
0
 /// <summary>
 /// Sets the storage capacity for the SQL Azure Database Elastic Pool.
 /// </summary>
 /// <param name="storageCapacity">Storage capacity for the SQL Azure Database Elastic Pool.</param>
 /// <return>The next stage of the definition.</return>
 SqlElasticPoolOperations.Definition.IWithStandardEdition SqlElasticPoolOperations.Definition.IWithStandardEditionBeta.WithStorageCapacity(SqlElasticPoolStandardStorage storageCapacity)
 {
     return(this.WithStorageCapacity(storageCapacity));
 }
 ///GENMHASH:D7704568C142F68F7A15BF85145157D7:35DD13CDC2048067F8F2D1FE4E130923
 public SqlElasticPoolForDatabaseImpl WithStorageCapacity(SqlElasticPoolStandardStorage storageCapacity)
 {
     this.sqlElasticPool.WithStorageCapacity(storageCapacity);
     return(this);
 }
Exemple #6
0
 /// <summary>
 /// Sets the storage capacity for the SQL Azure Database Elastic Pool.
 /// </summary>
 /// <param name="storageCapacity">Storage capacity for the SQL Azure Database Elastic Pool.</param>
 /// <return>The next stage of the definition.</return>
 SqlElasticPool.Definition.IWithStandardEdition <SqlDatabaseOperations.Definition.IWithExistingDatabaseAfterElasticPool> SqlElasticPool.Definition.IWithStandardEditionBeta <SqlDatabaseOperations.Definition.IWithExistingDatabaseAfterElasticPool> .WithStorageCapacity(SqlElasticPoolStandardStorage storageCapacity)
 {
     return(this.WithStorageCapacity(storageCapacity));
 }