Class QuotaServiceImpl
- java.lang.Object
-
- org.ovirt.engine.sdk4.internal.services.ServiceImpl
-
- org.ovirt.engine.sdk4.internal.services.QuotaServiceImpl
-
- All Implemented Interfaces:
Service
,QuotaService
public class QuotaServiceImpl extends ServiceImpl implements QuotaService
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.ovirt.engine.sdk4.services.QuotaService
QuotaService.GetRequest, QuotaService.GetResponse, QuotaService.RemoveRequest, QuotaService.RemoveResponse, QuotaService.UpdateRequest, QuotaService.UpdateResponse
-
-
Constructor Summary
Constructors Constructor Description QuotaServiceImpl(HttpConnection connection, String path)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description QuotaService.GetRequest
get()
Retrieves a quota.AssignedPermissionsService
permissionsService()
QuotaClusterLimitsService
quotaClusterLimitsService()
QuotaStorageLimitsService
quotaStorageLimitsService()
QuotaService.RemoveRequest
remove()
Delete a quota.Service
service(String path)
Service locator method, returns individual service on which the URI is dispatched.String
toString()
QuotaService.UpdateRequest
update()
Updates a quota.-
Methods inherited from class org.ovirt.engine.sdk4.internal.services.ServiceImpl
checkAction, checkFault, getConnection, getPath, throwError
-
-
-
-
Constructor Detail
-
QuotaServiceImpl
public QuotaServiceImpl(HttpConnection connection, String path)
-
-
Method Detail
-
get
public QuotaService.GetRequest get()
Description copied from interface:QuotaService
Retrieves a quota. An example of retrieving a quota: [source] ---- GET /ovirt-engine/api/datacenters/123/quotas/456 ---- [source,xml] ----myquota My new quota for virtual machines 20 80 20 80 - Specified by:
get
in interfaceQuotaService
-
remove
public QuotaService.RemoveRequest remove()
Description copied from interface:QuotaService
Delete a quota. An example of deleting a quota: [source] ---- DELETE /ovirt-engine/api/datacenters/123-456/quotas/654-321 -0472718ab224 HTTP/1.1 Accept: application/xml Content-type: application/xml ----- Specified by:
remove
in interfaceQuotaService
-
update
public QuotaService.UpdateRequest update()
Description copied from interface:QuotaService
Updates a quota. An example of updating a quota: [source] ---- PUT /ovirt-engine/api/datacenters/123/quotas/456 ---- [source,xml] ----30 70 20 80 - Specified by:
update
in interfaceQuotaService
-
permissionsService
public AssignedPermissionsService permissionsService()
- Specified by:
permissionsService
in interfaceQuotaService
-
quotaClusterLimitsService
public QuotaClusterLimitsService quotaClusterLimitsService()
- Specified by:
quotaClusterLimitsService
in interfaceQuotaService
-
quotaStorageLimitsService
public QuotaStorageLimitsService quotaStorageLimitsService()
- Specified by:
quotaStorageLimitsService
in interfaceQuotaService
-
service
public Service service(String path)
Description copied from interface:QuotaService
Service locator method, returns individual service on which the URI is dispatched.- Specified by:
service
in interfaceQuotaService
-
-