Latest Versions

Abiquo 1.5
Abiquo 1.6
Abiquo 1.7
Abiquo 1.8

Documentation

Datacenter Resource

Cloud Admin Enterprise Admin User

Contents:

Datacenter Resource offers the functionality of managing the datacenter infrastructure in a logical way. Feel free to distribute your machines into the Datacenters resource.

Datacenter Data Model

Field Name Type Occurs Required Description
name String 1 true The name of the datacenter
location String 1 true The location of the datacenter
racks Link 1 true Link to the list of racks
edit Link 1 true Link to the url for edit the resource

Methods related to Datacenter Resource

Retrieve a list of datacenters

Synopsis: GET http://example.com/api/admin/datacenters/
Request Headers: Accept, Content-Type.
Request Parameters: N/A.
Request Message Body: Datacenter.
Request example: Retrieve all the datacenters

GET Datacenters Request

Response Headers: Content-Length, Content-Type.
Response Message Body: Datacenter
Response Status: 201, 400, 401, 403.
Response example: The creation response

GET Datacenters Response
Create a new Datacenter

Synopsis: POST http://example.com/api/admin/datacenters/
Request Headers: Accept, Content-Type.
Request Parameters: N/A.
Request Message Body: Datacenter.
Request example: Create new Datacenter

POST Datacenter Request

Response Headers: Content-Length, Content-Type.
Response Message Body: Datacenter
Response Status: 201, 400, 401, 403.
Response example: The creation response

POST Datacenter Response
Retrieve a Datacenter

Synopsis: GET http://example.com/api/admin/datacenters/2
Request Headers: Accept, Content-Type.
Request Parameters: N/A.
Request Message Body: N/A.
Example Request: Retrieve information about a Datacenter.

GET Datacenter Request

Response Headers: Content-Length, Content-Type.
Response Message Body: Datacenter.
Response Status: 200, 401, 403.
Example Response: Response of the GET over a datacenter

GET Datacenter Response
Updates an existing Datacenter.

Synopsis: PUT http://example.com/api/admin/datacenters/{$idDatacenter}
Request Headers: Accept, Content-Type.
Request Parameters: N/A.
Request Message Body: Datacenter.
Example Request: Update information about an infrastructure.

PUT Datacenter Request

Response Headers: Content-Length, Content-Type.
Response Message Body: N/A.
Response Status: 200, 400, 401, 403.
Example Response: Response of the update

PUT Datacenter Response
Delete an existing Datacenter.

Synopsis: DELETE [http://example.com/server/admin/datacenters/{$idDatacenter}
Request Headers: Accept, Content-Type.
Request Parameters: N/A.
Request Message Body: N/A.
Example Request: Delete information about an infrastructure.

DELETE a Datacenter Request

Response Headers: Content-Length, Content-Type.
Response Message Body: N/A.
Response Status: 200, 401, 403, 409
Example Response: Response of the deletion

DELETE a Datacenter Response
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.