POST api/Accounts/AddDestination
Adds backup destinations to existing storage accounts. You can add multiple destinations (buckets) to each storage account
Request Information
URI Parameters
None.
Body Parameters
Structure of destination
DestinationOfAccountCreateName | Description | Type | Additional information |
---|---|---|---|
AccountID |
Storage account ID |
globally unique identifier |
Required |
Destination |
Destination name |
string |
Required |
DestinationDisplayName |
Destination name to display |
string |
None. |
Request Formats
application/json, text/json
Sample:
{ "AccountID": "7525655a-5d3b-45c0-af63-6ef6bba0e2ce", "Destination": "sample string 2", "DestinationDisplayName": "sample string 3" }
application/xml, text/xml
Sample:
<DestinationOfAccountCreate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MBSAPImvc.Engine.Models"> <AccountID>7525655a-5d3b-45c0-af63-6ef6bba0e2ce</AccountID> <Destination>sample string 2</Destination> <DestinationDisplayName>sample string 3</DestinationDisplayName> </DestinationOfAccountCreate>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
DestinationOfAccountName | Description | Type | Additional information |
---|---|---|---|
DestinationID |
Destination ID |
globally unique identifier |
Required |
AccountID |
Storage account ID |
globally unique identifier |
Required |
Destination |
Destination name |
string |
Required |
DestinationDisplayName |
Destination name to display |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "DestinationID": "dbf683b5-8fd8-48a4-896a-7ae7e8fd9ca9", "AccountID": "d8f9bd9a-83bc-4a05-818f-690c7efa6b48", "Destination": "sample string 3", "DestinationDisplayName": "sample string 4" }
application/xml, text/xml
Sample:
<DestinationOfAccount xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MBSAPImvc.Engine.Models"> <AccountID>d8f9bd9a-83bc-4a05-818f-690c7efa6b48</AccountID> <Destination>sample string 3</Destination> <DestinationDisplayName>sample string 4</DestinationDisplayName> <DestinationID>dbf683b5-8fd8-48a4-896a-7ae7e8fd9ca9</DestinationID> </DestinationOfAccount>