Tabnine Logo
VolumesExtension$Delete
Code IndexAdd Tabnine to your IDE (free)

How to use
VolumesExtension$Delete
in
com.woorea.openstack.nova.api.extensions

Best Java code snippets using com.woorea.openstack.nova.api.extensions.VolumesExtension$Delete (Showing top 3 results out of 315)

origin: woorea/openstack-java-sdk

public Delete delete(String id) {
  return new Delete(id);
}
origin: com.att.cdp/cdp-pal-openstack

/**
 * This method can be called to destroy a volume.
 * 
 * @param id
 *            The id of the volume to be destroyed.
 * @throws ZoneException
 *             - If the volume cannot be destroyed.
 * @see com.att.cdp.zones.VolumeService#destroyVolume(java.lang.String)
 */
@SuppressWarnings("nls")
@Override
public void destroyVolume(String id) throws ZoneException {
  checkArg(id, "id");
  connect();
  Context context = getContext();
  trackRequest();
  RequestState.put(RequestState.VOLUME, id);
  RequestState.put(RequestState.SERVICE, "Compute");
  RequestState.put(RequestState.SERVICE_URL, nova.getEndpoint());
  try {
    nova.getClient().volumes().delete(id).execute();
  } catch (OpenStackBaseException ex) {
    ExceptionMapper.mapException(ex);
  }
}
origin: com.att.woorea/nova-client

public Delete delete(String id) {
  return new Delete(id);
}
com.woorea.openstack.nova.api.extensionsVolumesExtension$Delete

Most used methods

  • <init>
  • execute

Popular in Java

  • Making http post requests using okhttp
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • getResourceAsStream (ClassLoader)
  • onCreateOptionsMenu (Activity)
  • Table (com.google.common.collect)
    A collection that associates an ordered pair of keys, called a row key and a column key, with a sing
  • URI (java.net)
    A Uniform Resource Identifier that identifies an abstract or physical resource, as specified by RFC
  • UnknownHostException (java.net)
    Thrown when a hostname can not be resolved.
  • Format (java.text)
    The base class for all formats. This is an abstract base class which specifies the protocol for clas
  • ReentrantLock (java.util.concurrent.locks)
    A reentrant mutual exclusion Lock with the same basic behavior and semantics as the implicit monitor
  • JarFile (java.util.jar)
    JarFile is used to read jar entries and their associated data from jar files.
  • Top Sublime Text plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now