Package org.jclouds.cloudstack.options
Class AssignVirtualMachineOptions
- java.lang.Object
-
- org.jclouds.http.options.BaseHttpRequestOptions
-
- org.jclouds.cloudstack.options.AccountInDomainOptions
-
- org.jclouds.cloudstack.options.AssignVirtualMachineOptions
-
- All Implemented Interfaces:
HttpRequestOptions
public class AssignVirtualMachineOptions extends AccountInDomainOptions
Options used to control what disk offerings are returned
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AssignVirtualMachineOptions.Builder
-
Field Summary
Fields Modifier and Type Field Description static AssignVirtualMachineOptions
NONE
-
Fields inherited from class org.jclouds.http.options.BaseHttpRequestOptions
formParameters, headers, pathSuffix, payload, queryParameters
-
-
Constructor Summary
Constructors Constructor Description AssignVirtualMachineOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AssignVirtualMachineOptions
accountInDomain(String account, String domain)
AssignVirtualMachineOptions
domainId(String domainId)
Iterable<String>
getNetworkIds()
AssignVirtualMachineOptions
networkId(String networkId)
AssignVirtualMachineOptions
networkIds(Iterable<String> networkIds)
AssignVirtualMachineOptions
securityGroupId(String securityGroupId)
AssignVirtualMachineOptions
securityGroupIds(Iterable<String> securityGroupIds)
-
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 AssignVirtualMachineOptions NONE
-
-
Method Detail
-
networkId
public AssignVirtualMachineOptions networkId(String networkId)
- Parameters:
networkId
- network id used by virtual machine
-
networkIds
public AssignVirtualMachineOptions networkIds(Iterable<String> networkIds)
- Parameters:
networkIds
- network ids used by virtual machine
-
securityGroupId
public AssignVirtualMachineOptions securityGroupId(String securityGroupId)
- Parameters:
securityGroupId
- security group applied to the virtual machine. Should be passed only when vm is created from a zone with Basic Network support
-
securityGroupIds
public AssignVirtualMachineOptions securityGroupIds(Iterable<String> securityGroupIds)
- Parameters:
securityGroupIds
- security groups applied to the virtual machine. Should be passed only when vm is created from a zone with Basic Network support
-
accountInDomain
public AssignVirtualMachineOptions accountInDomain(String account, String domain)
- Overrides:
accountInDomain
in classAccountInDomainOptions
- Parameters:
account
- an optional account for the resourcedomain
- domain id
-
domainId
public AssignVirtualMachineOptions domainId(String domainId)
- Overrides:
domainId
in classAccountInDomainOptions
- Parameters:
domainId
- The domain for the resource
-
-