Package org.ovirt.engine.sdk4.services
Interface QuotasService
-
- All Superinterfaces:
Service
- All Known Implementing Classes:
QuotasServiceImpl
public interface QuotasService extends Service
Manages the set of quotas configured for a data center.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
QuotasService.AddRequest
Creates a new quota.static interface
QuotasService.AddResponse
Creates a new quota.static interface
QuotasService.ListRequest
Lists quotas of a data center.static interface
QuotasService.ListResponse
Lists quotas of a data center.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description QuotasService.AddRequest
add()
Creates a new quota.QuotasService.ListRequest
list()
Lists quotas of a data center.QuotaService
quotaService(String id)
Service
service(String path)
Service locator method, returns individual service on which the URI is dispatched.
-
-
-
Method Detail
-
add
QuotasService.AddRequest add()
Creates a new quota. An example of creating a new quota: [source] ---- POST /ovirt-engine/api/datacenters/123/quotas ---- [source,xml] ----myquota My new quota for virtual machines
-
list
QuotasService.ListRequest list()
Lists quotas of a data center. The order of the returned list of quotas isn't guaranteed.
-
quotaService
QuotaService quotaService(String id)
-
-