Package org.openstack4j.api.compute
Interface ComputeService
-
- All Superinterfaces:
RestService
- All Known Implementing Classes:
ComputeServiceImpl
public interface ComputeService extends RestService
Compute (Nova) Operations API- Author:
- Jeremy Unruh
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description ServerActionsServiceevents()Server Actions Service APIFlavorServiceflavors()Flavor Service APIFloatingIPDNSServicefloatingIPDNS()Deprecated.Since these APIs are only implemented for nova-network, they are deprecated.ComputeFloatingIPServicefloatingIps()Deprecated.This API is a proxy call to the Network service.HostServicehost()Deprecated.The os-hosts API is deprecated as of the 2.43 microversion.HostAggregateServicehostAggregates()Host Aggregates Management ServiceHypervisorServicehypervisors()Hypervisor Service Extension APIComputeImageServiceimages()Deprecated.These APIs are proxy calls to the Image service.KeypairServicekeypairs()Keypair Management ServiceList<? extends Extension>listExtensions()Deprecated.https://specs.openstack.org/openstack/nova-specs/specs/newton/implemented/api-no-more-extensions.htmlMigrationServicemigrations()Administrators only - provides in-progress migrations for a region or cellQuotaSetServicequotaSets()Quota-Set Service APIComputeSecurityGroupServicesecurityGroups()Deprecated.These APIs are proxy calls to the Network service.ServerGroupServiceserverGroups()ServerGroup Management ServiceServerServiceservers()Server Service APIServerTagServiceserverTags()Server Tag Management ServiceServicesServiceservices()Compute services serviceZoneServicezones()ZoneService Extension API
-
-
-
Method Detail
-
events
ServerActionsService events()
Server Actions Service API- Returns:
- server actions service
-
flavors
FlavorService flavors()
Flavor Service API- Returns:
- the flavor service
-
images
@Deprecated ComputeImageService images()
Deprecated.These APIs are proxy calls to the Image service. Nova has deprecated all the proxy APIs and users should use the native APIs instead. All the Image services proxy APIs except image metadata APIs will fail with a 404 starting from microversion 2.36. The image metadata APIs will fail with a 404 starting from microversion 2.39.Image Service API- Returns:
- the image service
- See Also:
ImageService
-
hypervisors
HypervisorService hypervisors()
Hypervisor Service Extension API- Returns:
- the hypervisor service
-
zones
ZoneService zones()
ZoneService Extension API- Returns:
- the zones service
-
servers
ServerService servers()
Server Service API- Returns:
- the server service
-
quotaSets
QuotaSetService quotaSets()
Quota-Set Service API- Returns:
- the quota set service
-
host
@Deprecated HostService host()
Deprecated.The os-hosts API is deprecated as of the 2.43 microversion. Requests made with microversion >= 2.43 will result in a 404 error. To list and show host details, use the Hypervisors (os-hypervisors) API. To enable or disable a service, use the Compute services (os-services) API. There is no replacement for the shutdown, startup, reboot, or maintenance_mode actions as those are system-level operations which should be outside of the control of the compute service.Compute Os-Host API- Returns:
- the compute os-host service
- See Also:
ServerService
-
floatingIps
@Deprecated ComputeFloatingIPService floatingIps()
Deprecated.This API is a proxy call to the Network service. Nova has deprecated all the proxy APIs and users should use the native APIs instead. This API will fail with a 404 starting from microversion 2.36.Floating IP Service API- Returns:
- the floating-ip service
- See Also:
NetFloatingIPService
-
securityGroups
@Deprecated ComputeSecurityGroupService securityGroups()
Deprecated.These APIs are proxy calls to the Network service. Nova has deprecated all the proxy APIs and users should use the native APIs instead. These will fail with a 404 starting from microversion 2.36Security Groups Extension API- Returns:
- the security groups service
- See Also:
SecurityGroupService
-
keypairs
KeypairService keypairs()
Keypair Management Service- Returns:
- the keypair service
-
migrations
MigrationService migrations()
Administrators only - provides in-progress migrations for a region or cell- Returns:
- the migration service
-
listExtensions
@Deprecated List<? extends Extension> listExtensions()
Deprecated.https://specs.openstack.org/openstack/nova-specs/specs/newton/implemented/api-no-more-extensions.html- Returns:
- a list of Extensions that have been added against the Compute service
-
serverGroups
ServerGroupService serverGroups()
ServerGroup Management Service- Returns:
- ServerGroup service
-
floatingIPDNS
@Deprecated FloatingIPDNSService floatingIPDNS()
Deprecated.Since these APIs are only implemented for nova-network, they are deprecated. These will fail with a 404 starting from microversion 2.36. They were removed in the 18.0.0 Rocky release.Service that manages the extension 'os-floating-ip-dns'- Returns:
- the floating IP DNS Service
-
hostAggregates
HostAggregateService hostAggregates()
Host Aggregates Management Service
-
serverTags
ServerTagService serverTags()
Server Tag Management Service- Returns:
- ServerTag Service
-
services
ServicesService services()
Compute services service- Returns:
- ServicesService
-
-