public class DeployVirtualMachineOptions extends AccountInDomainOptions
Modifier and Type | Class and Description |
---|---|
static class |
DeployVirtualMachineOptions.Builder |
Modifier and Type | Field and Description |
---|---|
static DeployVirtualMachineOptions |
NONE |
formParameters, headers, matrixParameters, pathSuffix, payload, queryParameters
Constructor and Description |
---|
DeployVirtualMachineOptions() |
buildFormParameters, buildMatrixParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstMatrixOrNull, getFirstQueryOrNull, hashCode, replaceHeader, toString
public static final DeployVirtualMachineOptions NONE
public DeployVirtualMachineOptions diskOfferingId(String diskofferingid)
diskofferingid
- the ID of the disk offeringpublic DeployVirtualMachineOptions displayName(String displayName)
displayName
- an optional user generated name for the virtual machinepublic DeployVirtualMachineOptions group(String group)
group
- an optional group for the virtual machinepublic DeployVirtualMachineOptions hypervisor(String hypervisor)
hypervisor
- the hypervisor on which to deploy the virtual machinepublic DeployVirtualMachineOptions keyPair(String keyPair)
keyPair
- name of the ssh key pair used to login to the virtual machinepublic DeployVirtualMachineOptions name(String name)
name
- host name for the virtual machinepublic DeployVirtualMachineOptions ipOnDefaultNetwork(String ipOnDefaultNetwork)
ipOnDefaultNetwork
- the requested ip address (2.2.12 only option)public DeployVirtualMachineOptions ipsToNetworks(Map<String,String> ipsToNetworks)
ipsToNetworks
- mapping ip addresses to network ids (2.2.12 only option)public DeployVirtualMachineOptions networkId(String networkId)
networkId
- network id used by virtual machinepublic DeployVirtualMachineOptions networkIds(Iterable<String> networkIds)
networkIds
- network ids used by virtual machinepublic DeployVirtualMachineOptions securityGroupId(String securityGroupId)
securityGroupId
- security group applied to the virtual machine. Should be passed
only when vm is created from a zone with Basic Network supportpublic DeployVirtualMachineOptions securityGroupIds(Iterable<String> securityGroupIds)
securityGroupIds
- security groups applied to the virtual machine. Should be passed
only when vm is created from a zone with Basic Network supportpublic DeployVirtualMachineOptions dataDiskSize(long dataDiskSize)
dataDiskSize
- the arbitrary size for the DATADISK volume. Mutually exclusive
with diskOfferingIdpublic DeployVirtualMachineOptions userData(byte[] unencodedData)
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.public DeployVirtualMachineOptions accountInDomain(String account, String domain)
accountInDomain
in class AccountInDomainOptions
account
- an optional account for the resourcedomain
- domain idpublic DeployVirtualMachineOptions domainId(String domainId)
domainId
in class AccountInDomainOptions
domainId
- The domain for the resourceCopyright © 2009-2013 jclouds. All Rights Reserved.