Package org.jclouds.cloudstack.options
Class ListVolumesOptions
java.lang.Object
org.jclouds.http.options.BaseHttpRequestOptions
org.jclouds.cloudstack.options.AccountInDomainOptions
org.jclouds.cloudstack.options.ListVolumesOptions
- All Implemented Interfaces:
HttpRequestOptions
Options used to control what volume
-
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) List volumes on specified hostisRecursive
(boolean recursive) type
(Volume.Type type) 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
-
ListVolumesOptions
public ListVolumesOptions()
-
-
Method Details
-
hostId
List volumes on specified host- Parameters:
hostId
- hostId.
-
id
- Parameters:
id
- the ID of the volume
-
isRecursive
- Parameters:
recursive
- defaults to false, but if true, lists all volumes from the parent specified by the domain id till leaves.
-
keyword
- Parameters:
keyword
- List by keyword
-
name
- Parameters:
name
- the name of the disk volume
-
podId
- Parameters:
podId
- the pod id the disk volume belongs to
-
type
- Parameters:
type
- the type of the disk volume
-
virtualMachineId
- Parameters:
virtualMachineId
- list volumes by id virtual machine.
-
zoneId
- Parameters:
zoneId
- list volumes by zoneId.
-
projectId
- Parameters:
projectId
- list volumes by projectId.
-
tags
- Parameters:
tags
- Key/value pairs for tags that need to be matched.
-
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
-