Reputation: 307
Is there any Azure SQL server rest APIs are available for doing the following?:
Or please let me know even if Powershell cmdlets are available. I searched a lot and it does not seem to be available. Please let me know ho to implement these.
Upvotes: 1
Views: 942
Reputation: 71031
PowerShell has several functions to manage SQL Database. See my other answer here for an example of enumerating servers and databases. You'll be able to sum the count of servers or databases in a server.
Then, in your PowerShell command window, type get-help *azuresql*
to see all the other commands, including New-AzureSqlDatabase
and Remove-AzureSqlDatabase
.
As far as changing subscription, you can run Get-AzureSubscription
to see all subscriptions installed via import of your publish settings file. Look at each item's SubscriptionName
. To choose that subscription, just run Select-AzureSubscription -SubscriptionName xxx
."
I don't know what you mean by "read manage URL."
Upvotes: 2