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


Advanced Bucket Management Operations : Replication Target Operations : Import Azure Target

Import Azure Target
Description
Imports a copy of the objects in the specified bucket on the specified Azure target to the local BlackPearl system.
Requests
Syntax
PUT http[s]://{datapathDNSname}/_rest_/azure_target/
{unique identifier or attribute}?operation=import
&cloud_bucket_name={string}[&conflict_resolution_mode=
{CANCEL|ACCEPT_MOST_RECENT|ACCEPT_EXISTING}]
[&data_policy_id={unique identifier or attribute}][&priority={CRITICAL|URGENT|HIGH|NORMAL|LOW|BACKGROUND}][&user_id={unique identifier or attribute}]
Request Parameters
§
ACCEPT_EXISTING — Keep the file currently in the BlackPearl database.
§
ACCEPT_MOST_RECENT — Keep the file with the most recent creation date.
§
CANCEL (default) — Cancel the import process.
Note: If a bucket with the name cloud_bucket_name, does not already exist on the BlackPearl system, then data_policy_id and user_id are required.
The priority for processing the import. The priority determines the resources assigned and the processing order. Imports can be interrupted every 30 minutes if a job with a higher priority is received.
Values: URGENT, HIGH, NORMAL, LOW
Note: If a bucket with the name cloud_bucket_name, does not already exist on the BlackPearl system, then data_policy_id and user_id are required.
Responses
The operation returns status only.
Notable status codes:
§
§
Example
Sample Request
This command imports the objects in the bucket named “Images” from the specified Azure target.
PUT http://blackpearl-hostname/_rest_/azure_target/
f30df4ae-78df-42b4-96a35d11c15e3cf9
?operation=IMPORT
&cloudBucketName=Images HTTP/1.1
 
Sample Response
HTTP/1.1 204 No Content