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


Advanced Bucket Management Operations : Replication Target Operations : Create Azure Target Bucket Name

Create Azure Target Bucket Name
Description
Defines a custom bucket name mapping between a BlackPearl bucket and an Azure target blob storage container.
Requests
Syntax
POST http[s]://{datapathDNSname}/_rest_/azure_target_bucket_name?bucket_id={string}&name={string}
&target_id={string}
Request Parameters 
Responses
Response Elements
<Data>
   <BucketId>{
string}</BucketId>
   <Id>{string}</Id>
   <Name>{string}</Name>
   <TargetId>{string}</TargetId>
</Data>
where the response elements are defined as follows:
Example
Sample Request
This request maps the BlackPearl bucket named ‘bucket1’ to an Azure blob storage container named ‘bucketname’.
POST http[s]://blackpearl-hostname/_rest_/azure_target_bucket_name?bucket_id=bucket1&name=bucketname&target_id=26bbc55a-417a-49a9-90f5-dbc3920cb0fc HTTP/1.1
Sample Response
HTTP/1.1 201 CREATED
<Data>
   <BucketId>b9c3e3ec-a316-4532-bf82-d5e07141df64</BucketId>
   <Id>67c60982-aa75-4378-ad48-187f66a3917c</Id>
   <Name>bucketname</Name>
   <TargetId>26bbc55a-417a-49a9-90f5-dbc3920cb0fc</TargetId>
</Data>