| Cloud Admin | Enterprise Admin | User |
|---|---|---|
| |
|
|
Contents:
RemoteService resource offers the functionality of managing the remote services of a datacenter in a logical way.
RemoteService Data Model
| Field Name | Type | Occurs | Required | Description |
|---|---|---|---|---|
| uri | String | 1 | true | The uri where the remote service is located |
| type | Enumeration | 1 | false | The type of the remote service. It can be VIRTUAL_FACTORY, STORAGE_SYSTEM_MONITOR, VIRTUAL_SYSTEM_MONITOR, NODE_COLLECTOR, APPLIANCE_MANAGER, BPM_SERVICE and DHCP_SERVICE |
| status | String | 1 | false | The current status 0 -> Available, 1 -> Non available |
| edit | Link | 1 | false | Link to the url for edit the resource |
Methods related to RemoteService Resource
Retrieve a list of RemoteServices
Synopsis: GET http://example.com/api/admin/datacenters/{$datacenterId}/remoteServices
Request Headers: Accept, Content-Type.
Request Parameters: N/A.
Request Message Body: N/A.
Example Request: Retrieve a list of the RemoteServices of a Datacenter.
Response Headers: Content-Length, Content-Type.
Response Message Body: RemoteServices
Response Status: 200, 401, 403.
Example Response: Response of the GET over RemoteServices
Create a new RemoteService
Synopsis: POST http://example.com/api/admin/datacenters/{$datacenterId}/remoteServices
Request Headers: Accept, Content-Type.
Request Parameters: N/A.
Request Message Body: RemoteService
Request example: Create new RemoteService on a Datacenter
Response Headers: Content-Length, Content-Type, Location.
Response Message Body: RemoteService.
Response Status: 201, 400, 401, 403.
Response example: The creation response
Retrieve a RemoteService
Synopsis: GET http://example.com/api/admin/datacenters/{$datacenterId}/remoteServices/{$type}
Request Headers: Accept, Content-Type.
Request Parameters: N/A.
Request Message Body: N/A.
Example Request: Retrieve information about a RemoteService.
Response Headers: Content-Length, Content-Type.
Response Message Body: RemoteService
Response Status: 200, 401, 403.
Example Response: Response of the GET over a RemoteService
Update an existing RemoteService
Synopsis: PUT http://example.com/api/admin/datacenters/{$datacenterId}/remoteServices/{$type}
Request Headers: Accept, Content-Type
Request Parameters: N/A.
Request Message Body: RemoteService
Example Request: Update RemoteService entity.
Response Headers: Content-Length, Content-Type.
Response Message Body: N/A.
Response Status: 200, 400, 401, 403.
Delete a RemoteService
Synopsis: DELETE http://example.com/api/admin/datacenters/{$datacenterId}/remoteServices/{$type}
Request Headers: Accept, Content-Type.
Request Parameters: N/A.
Request Message Body: N/A.
Example Request: Delete RemoteService entity.
Response Headers: Content-Length, Content-Type.
Response Message Body: N/A.
Response Status: 200, 401, 403, 409
Example Response: Response of the deletion
Remote services' actions
Each one of the remote services defines a collection of links that represent the actions that can be performed with them. Those links have the format:
Those actions are deeply described within their own section:


Comments (3)
Aug 24, 2010
Priya Ketkar says:
There are some <remoteService> </remoteservice> inconsistencies.There are some <remoteService> </remoteservice> inconsistencies.
Nov 29, 2010
Anonymous says:
Hi , I have a question is how to control a virtual machine use abiquo's API?&nbs...Hi , I have a question is how to control a virtual machine use abiquo's API? For Example: How to power on ,power off ,restart the Virtual Machine use abiquo's API? I can't find the right API to do this.
Nov 29, 2010
Xavier Fernandez says:
Hi Now it's not possible because the API it's focused in infrastructure managem...Hi
Now it's not possible because the API it's focused in infrastructure management.
In next releases we will add this capabilities
Thanks for your feedback