Package 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 GlobalHostApi.deleteHost() API call
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DeleteHostOptions.Builder
-
Field Summary
Fields Modifier and Type Field Description static DeleteHostOptions
NONE
-
Fields inherited from class org.jclouds.http.options.BaseHttpRequestOptions
formParameters, headers, pathSuffix, payload, queryParameters
-
-
Constructor Summary
Constructors Constructor Description DeleteHostOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DeleteHostOptions
forced(boolean forced)
DeleteHostOptions
forceDestroyLocalStorage(boolean forceDestroyLocalStorage)
-
Methods inherited from class org.jclouds.http.options.BaseHttpRequestOptions
buildFormParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstQueryOrNull, hashCode, replaceHeader, toString
-
-
-
-
Field Detail
-
NONE
public static final DeleteHostOptions NONE
-
-
Method Detail
-
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
-
-