Package org.jclouds.cloudstack.options
Class ListHostsOptions
java.lang.Object
org.jclouds.http.options.BaseHttpRequestOptions
org.jclouds.cloudstack.options.AccountInDomainOptions
org.jclouds.cloudstack.options.ListHostsOptions
- All Implemented Interfaces:
HttpRequestOptions
Options used to control what hosts information is returned
- 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 TypeMethodDescriptionaccountInDomain
(String account, String domain) allocationState
(AllocationState allocationState) page
(long page) pageSize
(long pageSize) virtualMachineId
(String virtualMachineId) 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
-
ListHostsOptions
public ListHostsOptions()
-
-
Method Details
-
id
- Parameters:
id
- the id of the host
-
allocationState
- Parameters:
allocationState
- list hosts by allocation state
-
clusterId
- Parameters:
clusterId
- lists hosts existing in particular cluster
-
keyword
- Parameters:
keyword
- List by keyword
-
name
- Parameters:
name
- List by name
-
page
- Parameters:
page
-
-
pageSize
- Parameters:
pageSize
- the page size
-
podId
- Parameters:
podId
- the Pod ID for the host
-
state
- Parameters:
state
- the state of the host
-
type
- Parameters:
type
- the type of the host
-
virtualMachineId
- Parameters:
virtualMachineId
- lists hosts in the same cluster as this VM and flag hosts with enough CPU/RAm to host this VM
-
zoneId
- Parameters:
zoneId
- the Zone ID for the host
-
accountInDomain
- Overrides:
accountInDomain
in classAccountInDomainOptions
- Parameters:
account
- an optional account for the resourcedomain
- domain id
-
domainId
- Overrides:
domainId
in classAccountInDomainOptions
- Parameters:
domainId
- The domain for the resource
-