AvailabilityZonesResource


List availability zones in a location


Return the list of availability zones where you can create a private network in this location.

To create a private network in a given availibilty zone, send a {@link VLANNetworkDto} that includes the link to the availability zone to use.

GET https://example.com/api/cloud/locations/{location}/availabilityzones

Roles : [ROLE_VDC_ENUMERATE]

Error Codes

  • LOCATION-4 - The location does not exist

Example

Get an availability zone in a location


Retrieves an availability zone where you can create a private network in this location.

To create a private network in a given availibilty zone, send a {@link VLANNetworkDto} that includes the link to the availability zone to use.

GET https://example.com/api/cloud/locations/{location}/availabilityzones/{availabilityzone}

Roles : [ROLE_VDC_ENUMERATE]

Accept : availabilityzone

Error Codes

  • AVZONE-1 - The availability zone does not exist
  • LOCATION-4 - The location does not exist

Example