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": "be6d5ef2-aad8-4614-a1cc-20f9bc05521c", "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>be6d5ef2-aad8-4614-a1cc-20f9bc05521c</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": "41a7fb85-9a6d-4b0d-9f49-9cf3939690b9", "AccountID": "61229be3-74ab-4b85-83a0-2ede17b43257", "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>61229be3-74ab-4b85-83a0-2ede17b43257</AccountID> <Destination>sample string 3</Destination> <DestinationDisplayName>sample string 4</DestinationDisplayName> <DestinationID>41a7fb85-9a6d-4b0d-9f49-9cf3939690b9</DestinationID> </DestinationOfAccount>