Package org.ovirt.engine.sdk4.services
Interface DataCentersService.ListRequest
-
- All Superinterfaces:
Request<DataCentersService.ListRequest,DataCentersService.ListResponse>
- Enclosing interface:
- DataCentersService
public static interface DataCentersService.ListRequest extends Request<DataCentersService.ListRequest,DataCentersService.ListResponse>
Lists the data centers. The following request retrieves a representation of the data centers: [source] ---- GET /ovirt-engine/api/datacenters ---- The above request performed with `curl`: [source,bash] ---- curl \ --request GET \ --cacert /etc/pki/ovirt-engine/ca.pem \ --header "Version: 4" \ --header "Accept: application/xml" \ --user "admin@internal:mypassword" \ https://myengine.example.com/ovirt-engine/api/datacenters ---- This is what an example response could look like: [source,xml] ----Default The default Data Center false disabled up 4 0 4 0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DataCentersService.ListRequest
caseSensitive(Boolean caseSensitive)
Indicates if the search performed using the `search` parameter should be performed taking case into account.DataCentersService.ListRequest
filter(Boolean filter)
Indicates if the results should be filtered according to the permissions of the user.DataCentersService.ListRequest
follow(String follow)
Indicates which inner links should be _followed_.DataCentersService.ListRequest
max(Integer max)
Sets the maximum number of data centers to return.DataCentersService.ListRequest
max(Long max)
Sets the maximum number of data centers to return.DataCentersService.ListRequest
max(BigInteger max)
Sets the maximum number of data centers to return.DataCentersService.ListRequest
search(String search)
A query string used to restrict the returned data centers.
-
-
-
Method Detail
-
caseSensitive
DataCentersService.ListRequest caseSensitive(Boolean caseSensitive)
Indicates if the search performed using the `search` parameter should be performed taking case into account. The default value is `true`, which means that case is taken into account. If you want to search ignoring case set it to `false`.
-
filter
DataCentersService.ListRequest filter(Boolean filter)
Indicates if the results should be filtered according to the permissions of the user.
-
follow
DataCentersService.ListRequest follow(String follow)
Indicates which inner links should be _followed_. The objects referenced by these links will be fetched as part of the current request. See <> for details.
-
max
DataCentersService.ListRequest max(Integer max)
Sets the maximum number of data centers to return. If not specified all the data centers are returned.
-
max
DataCentersService.ListRequest max(Long max)
Sets the maximum number of data centers to return. If not specified all the data centers are returned.
-
max
DataCentersService.ListRequest max(BigInteger max)
Sets the maximum number of data centers to return. If not specified all the data centers are returned.
-
search
DataCentersService.ListRequest search(String search)
A query string used to restrict the returned data centers.
-
-