RegionsResource


List regions


GET https://example.com/api/config/hypervisortypes/{hypervisortype}/regions

Roles : [ROLE_AUTHENTICATED]

Accept : regions

Error Codes

  • CPP-1 - remote service not found
  • GEN-21 - The requested plugin is not a cloud provider plugin type
  • GEN-23 - The operation requires authentication to the provider and the X-Abiquo-PCR-Identity, X-Abiquo-PCR-Credential and X-Abiquo-PCR-Endpoint headers must be set

Example

Get region


Retrieves details of a single region for a given plugin.

GET https://example.com/api/config/hypervisortypes/{hypervisortype}/regions/{region}

Roles : [ROLE_AUTHENTICATED]

Accept : region

Error Codes

  • CPP-1 - remote service not found
  • GEN-21 - The requested plugin is not a cloud provider plugin type
  • GEN-23 - The operation requires authentication to the provider and the X-Abiquo-PCR-Identity, X-Abiquo-PCR-Credential and X-Abiquo-PCR-Endpoint headers must be set
  • REGION-2 - Region not found in the provider plugin

Example