Package com.microsoft.windowsazure.management.sql.models

Examples of com.microsoft.windowsazure.management.sql.models.DatabaseUpdateParameters


        databaseCreateParameters.setEdition(expectedEdition);
        databaseCreateParameters.setMaximumDatabaseSizeInGB(expectedMaxSizeInGB);
        DatabaseCreateResponse databaseCreateResponse = databaseOperations.create(serverName, databaseCreateParameters);
        String databaseName = databaseCreateResponse.getDatabase().getName();
        databaseToBeRemoved.put(databaseName, serverName);
        DatabaseUpdateParameters databaseUpdateParameters = new DatabaseUpdateParameters();
        databaseUpdateParameters.setName(expectedDatabaseName);
        databaseUpdateParameters.setMaximumDatabaseSizeInGB(updatedMaxSizeInGB);
        databaseUpdateParameters.setEdition(updatedEdition);
        DatabaseUpdateResponse databaseUpdateResponse = databaseOperations.update(serverName, expectedDatabaseName, databaseUpdateParameters);

        // assert
        assertEquals(updatedMaxSizeInGB, databaseUpdateResponse.getDatabase().getMaximumDatabaseSizeInGB());
        assertEquals(updatedEdition, databaseUpdateResponse.getDatabase().getEdition());
View Full Code Here

TOP

Related Classes of com.microsoft.windowsazure.management.sql.models.DatabaseUpdateParameters

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.