Recoverable Managed Databases - List By Instance
Gets a list of recoverable managed databases.
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/recoverableDatabases?api-version=2021-11-01
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
managed
|
path | True |
string |
The name of the managed instance. |
resource
|
path | True |
string |
The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. |
subscription
|
path | True |
string |
The subscription ID that identifies an Azure subscription. |
api-version
|
query | True |
string |
The API version to use for the request. |
Responses
Name | Type | Description |
---|---|---|
200 OK |
Successfully retrieved the list of recoverable managed databases. |
|
Other Status Codes |
*** Error Responses: ***
|
Examples
List recoverable databases by managed instances
Sample request
Sample response
{
"value": [
{
"properties": {
"lastAvailableBackupDate": "2017-05-26T01:06:29.78Z"
},
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/managedInstances/testsvr/recoverableDaatabases/testdb",
"name": "testdb",
"type": "Microsoft.Sql/managedInstances/recoverableDaatabases"
},
{
"properties": {
"lastAvailableBackupDate": "2018-04-26T02:17:23.44Z"
},
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/managedInstances/testsvr/recoverableDaatabases/testdb2",
"name": "testdb2",
"type": "Microsoft.Sql/managedInstances/recoverableDaatabases"
}
]
}
Definitions
Name | Description |
---|---|
Recoverable |
A recoverable managed database resource. |
Recoverable |
A list of recoverable managed databases. |
RecoverableManagedDatabase
A recoverable managed database resource.
Name | Type | Description |
---|---|---|
id |
string |
Resource ID. |
name |
string |
Resource name. |
properties.lastAvailableBackupDate |
string |
The last available backup date. |
type |
string |
Resource type. |
RecoverableManagedDatabaseListResult
A list of recoverable managed databases.
Name | Type | Description |
---|---|---|
nextLink |
string |
Link to retrieve next page of results. |
value |
Array of results. |