Add a resource
This endpoint adds a resource.
Note: The default format for the response is XML format. To return a response in JSON
format, add &format=json to the request.
Usage
Example
request:
https://10.0.71.152/aspera/orchestrator/api/add_resource?resource_name=127.0.0.7&pool_name=load_test&format=jsonResponse
example:
{
"ManagedResource": {
"id": 2,
"resource_id": "load_test_a->127.0.0.7",
"resource_name": "load_testa",
"max": 1,
"reserved": null,
"properties": "---\n:name: load_test_a\n:max: 1\n:resource: 127.0.0.7\n",
"created_at": "2018-04-06T20:58:20.074Z",
"updated_at": "2018-04-06T20:58:20.074Z",
"status": null
}
}