Examples of serverCreate()


Examples of com.cloudbees.api.BeesClient.serverCreate()

            settings.put("public_ip", elasticIP);
            // TODO remove server_key
            settings.put("server_key", elasticIP.replace('.','_'));
        }
        settings.put("plan", getPlan());
        ServerInfo serverInfo = client.serverCreate(getParameterID(), getSettings());
        if (isTextOutput()) {
            System.out.println("Server ID  : " + serverInfo.getId());
            System.out.println("size       : " + serverInfo.getSize());
            System.out.println("state      : " + serverInfo.getState());
            System.out.println("pool ID    : " + serverInfo.getPoolId());
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.