locked
Database Copies RRS feed

  • Question

  • hi 

    I am trying to retrieve the list of the database copies using rest api.

    But i am constantly getting error : as resource databasecopies not exists.

    I tries to check the same in the resource.azure.com portal for the rest api, but didn't find the URL created over there as mentioned in the Azure reference library.

    I am writing the application to monitor the Azure Sql Database and it is a mandatory requirement for me.

    Thursday, April 14, 2016 6:53 AM

Answers

  • Please use replicationLinks in place of databaseCopies in the URIs to retrieve the list of links to database copies in progress or geo-replication secondary databases. For example:

    GET .../subscriptions/{subID}/resourceGroups/{rgName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/replicationLinks?api-version=2014-04-01-preview

    See these pages in MSDN

    • https://msdn.microsoft.com/en-us/library/azure/mt600929.aspx
    • https://msdn.microsoft.com/en-us/library/azure/mt600778.aspx

    We will get the documentation fixed. Thanks for reporting this.


    Saturday, April 16, 2016 7:21 PM