org.jclouds.cloudstack.options
Class DeleteHostOptions
java.lang.Object
org.jclouds.http.options.BaseHttpRequestOptions
org.jclouds.cloudstack.options.DeleteHostOptions
- All Implemented Interfaces:
- HttpRequestOptions
public class DeleteHostOptions
- extends BaseHttpRequestOptions
Options to the GlobalHostClient.deleteHost() API call
- Author:
- Richard Downer
Methods inherited from class org.jclouds.http.options.BaseHttpRequestOptions |
buildFormParameters, buildMatrixParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstMatrixOrNull, getFirstQueryOrNull, hashCode, replaceHeader, toString |
NONE
public static final DeleteHostOptions NONE
DeleteHostOptions
public DeleteHostOptions()
forced
public DeleteHostOptions forced(boolean forced)
- Parameters:
forced
- Force delete the host. All HA enabled vms running on the host will be put to HA; HA disabled ones will be stopped
forceDestroyLocalStorage
public DeleteHostOptions forceDestroyLocalStorage(boolean forceDestroyLocalStorage)
- Parameters:
forceDestroyLocalStorage
- Force destroy local storage on this host. All VMs created on this local storage will be destroyed
Copyright © 2009-2012 jclouds. All Rights Reserved.