Examples of detachVolumeInRegion()


Examples of org.jclouds.ec2.features.ElasticBlockStoreApi.detachVolumeInRegion()

                log.warn(String.format("Volume %s is already in AVAILABLE state. Volume seems to be detached somehow", volumeId));
                return;
            }
        }

    blockStoreApi.detachVolumeInRegion(region, volumeId, true, DetachVolumeOptions.Builder.fromInstance(instanceId));

    log.info("Detachment of Volume [id]: "+volumeId+" from instance [id]: "+instanceId
        +" was successful. [region] : " + region
        + " of Iaas : " + iaasInfo);
  }
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.