Spectra Logic
1-800-833-1132 : 1-303-449-6400


Hardware Operations : Pool Operations : Import Pools

Import Pools
Description
Import all foreign pools to make them available to the current BlackPearl gateway.
Requests
Syntax
PUT http[s]://{datapathDNSname}/_rest_/pool/?operation=IMPORT[&conflict_resolution_mode=ACCEPT_EXISTING| ACCEPT_IMPORT|ACCEPT_HIGHEST_VERSION|ACCEPT_MOST_RECENT|CANCEL] [&data_policy_id={string}][&storage_domain_id={string}] [&user_id={string}]
Request Parameters
§
ACCEPT_EXISTING — Keep the file currently in the BlackPearl database.
§
ACCEPT_IMPORT — Keep the file currently being imported.
§
ACCEPT_HIGHEST_VERSION — Keep the file with the highest version number.
§
ACCEPT_MOST_RECENT — Keep the file with the most recent creation date.
§
CANCEL (default) — Cancel the import process.
Responses
Response Elements
The operation returns status only.
Notable status codes:
§
§
Example
Sample Request
This request imports all foreign pools using data policy ‘dp1’ and user ‘user1’.
PUT http://blackpearl-hostname/_rest_/pool/?operation=import &data_policy_id=dp1&user_id=user1 HTTP/1.1
Sample Response
HTTP/1.1 204 No Content