Interface NovaApi

All Superinterfaces:
AutoCloseable, Closeable

public interface NovaApi extends Closeable
Provides access to the OpenStack Compute (Nova) v2 API.

  • Method Details

    • getConfiguredRegions

      @Provides Set<String> getConfiguredRegions()
      Returns:
      the Region codes configured
    • getServerApi

      ServerApi getServerApi(String region)
      Provides access to Server features.
    • getFlavorApi

      FlavorApi getFlavorApi(String region)
      Provides access to Flavor features.
    • getExtensionApi

      ExtensionApi getExtensionApi(String region)
      Provides access to Extension features.
    • getImageApi

      ImageApi getImageApi(String region)
      Provides access to Image features.
    • getAvailabilityZoneApi

      com.google.common.base.Optional<AvailabilityZoneApi> getAvailabilityZoneApi(String region)
      Provides access to Availability Zone features.

      NOTE

      This API is an extension that may or may not be present in your OpenStack cloud. Use the Optional return type to determine if it is present.
    • getFloatingIPApi

      com.google.common.base.Optional<FloatingIPApi> getFloatingIPApi(String region)
      Provides access to Floating IP features.

      NOTE

      This API is an extension that may or may not be present in your OpenStack cloud. Use the Optional return type to determine if it is present.
    • getSecurityGroupApi

      com.google.common.base.Optional<SecurityGroupApi> getSecurityGroupApi(String region)
      Provides access to Security Group features.

      NOTE

      This API is an extension that may or may not be present in your OpenStack cloud. Use the Optional return type to determine if it is present.
    • getKeyPairApi

      com.google.common.base.Optional<KeyPairApi> getKeyPairApi(String region)
      Provides access to Key Pair features.

      NOTE

      This API is an extension that may or may not be present in your OpenStack cloud. Use the Optional return type to determine if it is present.
    • getHostAdministrationApi

      com.google.common.base.Optional<HostAdministrationApi> getHostAdministrationApi(String region)
      Provides access to Host Administration features.

      NOTE

      This API is an extension that may or may not be present in your OpenStack cloud. Use the Optional return type to determine if it is present.
    • getSimpleTenantUsageApi

      com.google.common.base.Optional<SimpleTenantUsageApi> getSimpleTenantUsageApi(String region)
      Provides access to Simple Tenant Usage features.

      NOTE

      This API is an extension that may or may not be present in your OpenStack cloud. Use the Optional return type to determine if it is present.
    • getVirtualInterfaceApi

      com.google.common.base.Optional<VirtualInterfaceApi> getVirtualInterfaceApi(String region)
      Provides access to Virtual Interface features.

      NOTE

      This API is an extension that may or may not be present in your OpenStack cloud. Use the Optional return type to determine if it is present.
    • getServerWithSecurityGroupsApi

      com.google.common.base.Optional<ServerWithSecurityGroupsApi> getServerWithSecurityGroupsApi(String region)
      Provides access to Server Extra Data features.

      NOTE

      This API is an extension that may or may not be present in your OpenStack cloud. Use the Optional return type to determine if it is present.
    • getServerAdminApi

      com.google.common.base.Optional<ServerAdminApi> getServerAdminApi(String region)
      Provides access to Server Admin Actions features.

      NOTE

      This API is an extension that may or may not be present in your OpenStack cloud. Use the Optional return type to determine if it is present.
    • getHostAggregateApi

      com.google.common.base.Optional<HostAggregateApi> getHostAggregateApi(String region)
      Provides access to Aggregate features.

      NOTE

      This API is an extension that may or may not be present in your OpenStack cloud. Use the Optional return type to determine if it is present.
    • getFlavorExtraSpecsApi

      com.google.common.base.Optional<FlavorExtraSpecsApi> getFlavorExtraSpecsApi(String region)
      Provides access to Flavor extra specs features.

      NOTE

      This API is an extension that may or may not be present in your OpenStack cloud. Use the Optional return type to determine if it is present.
    • getQuotaApi

      com.google.common.base.Optional<QuotaApi> getQuotaApi(String region)
      Provides access to Quota features.

      NOTE

      This API is an extension that may or may not be present in your OpenStack cloud. Use the Optional return type to determine if it is present.
    • getHypervisorApi

      com.google.common.base.Optional<HypervisorApi> getHypervisorApi(String region)
      Provides access to Hypervisor features.

      NOTE

      This API is an extension that may or may not be present in your OpenStack cloud. Use the Optional return type to determine if it is present.
    • getVolumeApi

      com.google.common.base.Optional<VolumeApi> getVolumeApi(String region)
      Provides access to Volume features.

      NOTE

      This API is an extension that may or may not be present in your OpenStack cloud. Use the Optional return type to determine if it is present.
    • getVolumeAttachmentApi

      com.google.common.base.Optional<VolumeAttachmentApi> getVolumeAttachmentApi(String region)
      Provides access to Volume Attachment features.

      NOTE

      This API is an extension that may or may not be present in your OpenStack cloud. Use the Optional return type to determine if it is present.
    • getVolumeTypeApi

      com.google.common.base.Optional<VolumeTypeApi> getVolumeTypeApi(String region)
      Provides access to Volume Type features.

      NOTE

      This API is an extension that may or may not be present in your OpenStack cloud. Use the Optional return type to determine if it is present.
    • getConsolesApi

      com.google.common.base.Optional<ConsolesApi> getConsolesApi(String region)
      Provides access to Console features.

      NOTE

      This API is an extension that may or may not be present in your OpenStack cloud. Use the Optional return type to determine if it is present.
    • getFloatingIPPoolApi

      com.google.common.base.Optional<FloatingIPPoolApi> getFloatingIPPoolApi(String region)
      Provides access to Floating IP Pool features.

      NOTE

      This API is an extension that may or may not be present in your OpenStack cloud. Use the Optional return type to determine if it is present.
    • getAttachInterfaceApi

      com.google.common.base.Optional<AttachInterfaceApi> getAttachInterfaceApi(String region)
      Provides access to attach interface features.
    • getConfiguredZones

      @Deprecated @Provides Set<String> getConfiguredZones()
      Deprecated.
      Please use getConfiguredRegions() instead. To be removed in jclouds 2.0.
      Returns:
      the Zone codes configured
    • getServerApiForZone

      @Deprecated ServerApi getServerApiForZone(String zone)
      Deprecated.
      Please use getServerApi(String) instead. To be removed in jclouds 2.0.
      Provides access to Server features.
    • getFlavorApiForZone

      @Deprecated FlavorApi getFlavorApiForZone(String zone)
      Deprecated.
      Please use getFlavorApi(String) instead. To be removed in jclouds 2.0.
      Provides access to Flavor features.
    • getExtensionApiForZone

      @Deprecated ExtensionApi getExtensionApiForZone(String zone)
      Deprecated.
      Please use getExtensionApi(String region) instead. To be removed in jclouds 2.0.
      Provides access to Extension features.
    • getImageApiForZone

      @Deprecated ImageApi getImageApiForZone(String zone)
      Deprecated.
      Please use getImageApi(String region) instead. To be removed in jclouds 2.0.
      Provides access to Image features.
    • getFloatingIPExtensionForZone

      @Deprecated com.google.common.base.Optional<? extends FloatingIPApi> getFloatingIPExtensionForZone(String zone)
      Deprecated.
      Please use getFloatingIPApi(String region) instead. To be removed in jclouds 2.0.
      Provides access to Floating IP features.
    • getSecurityGroupExtensionForZone

      @Deprecated com.google.common.base.Optional<? extends SecurityGroupApi> getSecurityGroupExtensionForZone(String zone)
      Deprecated.
      Please use getSecurityGroupApi(String region) instead. To be removed in jclouds 2.0.
      Provides access to Security Group features.
    • getKeyPairExtensionForZone

      @Deprecated com.google.common.base.Optional<? extends KeyPairApi> getKeyPairExtensionForZone(String zone)
      Deprecated.
      Please use getKeyPairApi(String region) instead. To be removed in jclouds 2.0.
      Provides access to Key Pair features.
    • getHostAdministrationExtensionForZone

      @Deprecated com.google.common.base.Optional<? extends HostAdministrationApi> getHostAdministrationExtensionForZone(String zone)
      Deprecated.
      Please use getHostAdministrationApi(String region) instead. To be removed in jclouds 2.0.
      Provides access to Host Administration features.
    • getSimpleTenantUsageExtensionForZone

      @Deprecated com.google.common.base.Optional<? extends SimpleTenantUsageApi> getSimpleTenantUsageExtensionForZone(String zone)
      Deprecated.
      Please use getSimpleTenantUsageApi(String region) instead. To be removed in jclouds 2.0.
      Provides access to Simple Tenant Usage features.
    • getVirtualInterfaceExtensionForZone

      @Deprecated com.google.common.base.Optional<? extends VirtualInterfaceApi> getVirtualInterfaceExtensionForZone(String zone)
      Deprecated.
      Please use getVirtualInterfaceApi(String region) instead. To be removed in jclouds 2.0.
      Provides access to Virtual Interface features.
    • getServerWithSecurityGroupsExtensionForZone

      @Deprecated com.google.common.base.Optional<? extends ServerWithSecurityGroupsApi> getServerWithSecurityGroupsExtensionForZone(String zone)
      Deprecated.
      Please use getServerWithSecurityGroupsApi(String region) instead. To be removed in jclouds 2.0.
      Provides access to Server Extra Data features.
    • getServerAdminExtensionForZone

      @Deprecated com.google.common.base.Optional<? extends ServerAdminApi> getServerAdminExtensionForZone(String zone)
      Deprecated.
      Please use getServerAdminApi(String region) instead. To be removed in jclouds 2.0.
      Provides access to Server Admin Actions features.
    • getHostAggregateExtensionForZone

      @Deprecated com.google.common.base.Optional<? extends HostAggregateApi> getHostAggregateExtensionForZone(String zone)
      Deprecated.
      Please use getHostAggregateApi(String region) instead. To be removed in jclouds 2.0.
      Provides access to Aggregate features.
    • getFlavorExtraSpecsExtensionForZone

      @Deprecated com.google.common.base.Optional<? extends FlavorExtraSpecsApi> getFlavorExtraSpecsExtensionForZone(String zone)
      Deprecated.
      Please use getFlavorExtraSpecsApi(String) instead. To be removed in jclouds 2.0.
      Provides access to Flavor extra specs features.
    • getQuotaExtensionForZone

      @Deprecated com.google.common.base.Optional<? extends QuotaApi> getQuotaExtensionForZone(String zone)
      Deprecated.
      Please use getQuotaApi(String region) instead. To be removed in jclouds 2.0.
      Provides access to Quota features.
    • getVolumeExtensionForZone

      @Deprecated com.google.common.base.Optional<? extends VolumeApi> getVolumeExtensionForZone(String zone)
      Deprecated.
      Please use getVolumeApi(String region) instead. To be removed in jclouds 2.0.
      Provides access to Volume features.
    • getVolumeAttachmentExtensionForZone

      @Deprecated com.google.common.base.Optional<? extends VolumeAttachmentApi> getVolumeAttachmentExtensionForZone(String zone)
      Deprecated.
      Please use getVolumeAttachmentApi(String region) instead. To be removed in jclouds 2.0.
      Provides access to Volume Attachment features.
    • getVolumeTypeExtensionForZone

      @Deprecated com.google.common.base.Optional<? extends VolumeTypeApi> getVolumeTypeExtensionForZone(String zone)
      Deprecated.
      Please use getVolumeTypeApi(String region) instead. To be removed in jclouds 2.0.
      Provides access to Volume Type features.
    • getConsolesExtensionForZone

      @Deprecated com.google.common.base.Optional<? extends ConsolesApi> getConsolesExtensionForZone(String zone)
      Deprecated.
      Please use getConsolesApi(String region) instead. To be removed in jclouds 2.0.
      Provides access to Console features.