POST api/Accounts/CreateDestination
Creates a new backup destination for existing storage accounts
Request Information
URI Parameters
None.
Body Parameters
Structure of account destination
AccountDestinationCreateModelName | Description | Type | Additional information |
---|---|---|---|
AccountID |
Storage account ID |
globally unique identifier |
Required |
DisplayName |
Destination display name |
string |
Required |
DestinationSettings |
Destination settings |
StorageDestinationSettings |
Required |
Request Formats
application/json, text/json
Sample:
{ "AccountID": "281bb47a-01c5-493d-af7b-0a45a656cec8", "DisplayName": "sample string 2", "DestinationSettings": { "GoogleCloudPlatform": { "StorageClass": null, "RegionalLocation": 0, "BucketName": "sample string 1", "UseImmutability": true }, "AmazonS3": { "UseS3TransferAcceleration": true, "Region": "sample string 2", "BucketName": "sample string 3", "UseImmutability": true }, "Wasabi": { "Region": "sample string 1", "BucketName": "sample string 2", "UseImmutability": true }, "S3Compatible": { "BucketName": "sample string 1", "UseImmutability": true }, "Azure": { "BucketName": "sample string 1", "UseImmutability": true }, "B2": { "BucketName": "sample string 1", "UseImmutability": true } } }
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.
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": "90d996f3-bab3-4717-ac9d-f9e5e63dd765", "AccountID": "1e62f85a-7beb-409f-9451-d3d8592d4731", "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>1e62f85a-7beb-409f-9451-d3d8592d4731</AccountID> <Destination>sample string 3</Destination> <DestinationDisplayName>sample string 4</DestinationDisplayName> <DestinationID>90d996f3-bab3-4717-ac9d-f9e5e63dd765</DestinationID> </DestinationOfAccount>