コード例 #1
0
        ///GENMHASH:CB542E2EF61540C0531F6875AE9754E0:874ADE93123FF580FDC855E273311E48
        public SqlElasticPoolImpl WithStorageCapacity(SqlElasticPoolPremiumSorage storageCapacity)
        {
            long capacityInMB = (long)storageCapacity / (1024 * 1024);

            this.Inner.StorageMB = (int)capacityInMB;
            return(this);
        }
コード例 #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(SqlElasticPoolPremiumSorage storageCapacity)
 {
     return(this.WithStorageCapacity(storageCapacity));
 }
コード例 #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>
 SqlElasticPoolOperations.Definition.IWithPremiumEdition SqlElasticPoolOperations.Definition.IWithPremiumEditionBeta.WithStorageCapacity(SqlElasticPoolPremiumSorage storageCapacity)
 {
     return(this.WithStorageCapacity(storageCapacity));
 }
コード例 #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>
 SqlElasticPool.Definition.IWithPremiumEdition <SqlServer.Definition.IWithCreate> SqlElasticPool.Definition.IWithPremiumEditionBeta <SqlServer.Definition.IWithCreate> .WithStorageCapacity(SqlElasticPoolPremiumSorage storageCapacity)
 {
     return(this.WithStorageCapacity(storageCapacity));
 }
 ///GENMHASH:CB542E2EF61540C0531F6875AE9754E0:35DD13CDC2048067F8F2D1FE4E130923
 public SqlElasticPoolForDatabaseImpl WithStorageCapacity(SqlElasticPoolPremiumSorage storageCapacity)
 {
     this.sqlElasticPool.WithStorageCapacity(storageCapacity);
     return(this);
 }
コード例 #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.IWithPremiumEdition <SqlDatabaseOperations.Definition.IWithExistingDatabaseAfterElasticPool> SqlElasticPool.Definition.IWithPremiumEditionBeta <SqlDatabaseOperations.Definition.IWithExistingDatabaseAfterElasticPool> .WithStorageCapacity(SqlElasticPoolPremiumSorage storageCapacity)
 {
     return(this.WithStorageCapacity(storageCapacity));
 }