Examples of terminateInstance()


Examples of com.netflix.simianarmy.CloudClient.terminateInstance()

    @Override
    public void apply(ChaosInstance instance) {
        CloudClient cloudClient = instance.getCloudClient();
        String instanceId = instance.getInstanceId();

        cloudClient.terminateInstance(instanceId);
    }

    /**
     * We want to default to enabled.
     */
 
View Full Code Here

Examples of org.platformlayer.service.cloud.google.ops.compute.GoogleComputeClient.terminateInstance()

        // SecurityGroup securityGroup = null;
        // if (supportsSecurityGroups) {
        // securityGroup = openstackHelpers.getMachineSecurityGroup(computeClient, server);
        // }

        Operation terminateOperation = computeClient.terminateInstance(instanceId);
        try {
          computeClient.waitComplete(terminateOperation, 5, TimeUnit.MINUTES);
        } catch (TimeoutException e) {
          throw new OpsException("Timeout while waiting for instance termination", e);
        }
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.