Package org.jclouds.cloudstack.options
Class UpdateVirtualMachineOptions
java.lang.Object
org.jclouds.http.options.BaseHttpRequestOptions
org.jclouds.cloudstack.options.UpdateVirtualMachineOptions
- All Implemented Interfaces:
HttpRequestOptions
Options for updating virtual machines.
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsFields inherited from class org.jclouds.http.options.BaseHttpRequestOptions
formParameters, headers, pathSuffix, payload, queryParameters
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondisplayName
(String displayName) sets the displayName - just for display purposes.haEnable
(boolean haEnable) userData
(byte[] unencodedData) Methods inherited from class org.jclouds.http.options.BaseHttpRequestOptions
buildFormParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstQueryOrNull, hashCode, replaceHeader, toString
-
Field Details
-
NONE
-
-
Constructor Details
-
UpdateVirtualMachineOptions
public UpdateVirtualMachineOptions()
-
-
Method Details
-
displayName
sets the displayName - just for display purposes. We don't pass this parameter to the backend.- Parameters:
displayName
- an optional user generated name for the virtual machine
-
group
- Parameters:
group
- an optional group for the virtual machine
-
haEnable
- Parameters:
haEnable
- true if high-availability is enabled for the virtual machine, false otherwise
-
osTypeId
- Parameters:
osTypeId
- the ID of the OS type that best represents this VM.
-
userData
- Parameters:
unencodedData
- an optional binary data that can be sent to the virtual machine upon a successful deployment. This binary data must be base64 encoded before adding it to the request. Currently only HTTP GET is supported. Using HTTP GET (via querystring), you can send up to 2KB of data after base64 encoding.
-