Package com.microsoft.windowsazure.management.websites.models

Examples of com.microsoft.windowsazure.management.websites.models.ServerFarmUpdateParameters


       
        // Arrange
        createServerFarm(webSpaceName);

        // Act            
        ServerFarmUpdateParameters updateParameters = new ServerFarmUpdateParameters();
        updateParameters.setCurrentNumberOfWorkers(currentNumberOfWorkersValue);
        updateParameters.setCurrentWorkerSize(ServerFarmWorkerSize.Medium);      
        updateParameters.setNumberOfWorkers(numberOfWorkersValue);
        updateParameters.setStatus(ServerFarmStatus.Ready);
        updateParameters.setWorkerSize(ServerFarmWorkerSize.Medium);
        ServerFarmUpdateResponse updateOperationResponse = webSiteManagementClient.getServerFarmsOperations().update(webSpaceName, updateParameters);
       
        // Assert
        Assert.assertEquals(200,  updateOperationResponse.getStatusCode());
        Assert.assertNotNull(updateOperationResponse.getRequestId());
View Full Code Here

TOP

Related Classes of com.microsoft.windowsazure.management.websites.models.ServerFarmUpdateParameters

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.