Restorable Dropped Managed Databases - Get
获取可还原的已删除托管数据库。
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/restorableDroppedDatabases/{restorableDroppedDatabaseId}?api-version=2023-08-01
		URI 参数
| 名称 | 在 | 必需 | 类型 | 说明 | 
|---|---|---|---|---|
| 
						 managed 
					 | 
					path | True | 
			 string  | 
					
						 托管实例的名称。  | 
				
| 
						 resource 
					 | 
					path | True | 
			 string  | 
					
						 包含资源的资源组的名称。 可以从 Azure 资源管理器 API 或门户获取此值。  | 
				
| 
						 restorable 
					 | 
					path | True | 
			 string  | 
					|
| 
						 subscription 
					 | 
					path | True | 
			 string  | 
					
						 标识 Azure 订阅的订阅 ID。  | 
				
| 
						 api-version 
					 | 
					query | True | 
			 string  | 
					
						 要用于请求的 API 版本。  | 
				
响应
| 名称 | 类型 | 说明 | 
|---|---|---|
| 200 OK | 
		 已成功检索指定的可还原已删除的数据库。  | 
|
| Other Status Codes | 
		 错误响应: *** 
  | 
示例
Gets a restorable dropped managed database.
示例请求
示例响应
{
  "properties": {
    "databaseName": "testdb",
    "creationDate": "2017-05-07T04:41:33.937Z",
    "deletionDate": "2017-05-27T02:49:47.69Z"
  },
  "location": "southeastasia",
  "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/managedInstances/testsvr/restorableDroppedDatabases/testdb,131403269876900000",
  "name": "testdb,131403269876900000",
  "type": "Microsoft.Sql/managedInstances/restorableDroppedDatabases"
}
				定义
| 名称 | 说明 | 
|---|---|
| 
							Error | 
						
							 资源管理错误附加信息。  | 
					
| 
							Error | 
						
							 错误详细信息。  | 
					
| 
							Error | 
						
							 错误响应  | 
					
| 
							Restorable | 
						
							 可还原的已删除托管数据库资源。  | 
					
ErrorAdditionalInfo  
			
			资源管理错误附加信息。
| 名称 | 类型 | 说明 | 
|---|---|---|
| info | 
			 object  | 
	
		 其他信息。  | 
| type | 
			 string  | 
	
		 其他信息类型。  | 
ErrorDetail 
			
			错误详细信息。
| 名称 | 类型 | 说明 | 
|---|---|---|
| additionalInfo | 
		 错误附加信息。  | 
|
| code | 
			 string  | 
	
		 错误代码。  | 
| details | 
		 错误详细信息。  | 
|
| message | 
			 string  | 
	
		 错误消息。  | 
| target | 
			 string  | 
	
		 错误目标。  | 
ErrorResponse 
			
			错误响应
| 名称 | 类型 | 说明 | 
|---|---|---|
| error | 
		 错误对象。  | 
RestorableDroppedManagedDatabase   
			
			可还原的已删除托管数据库资源。
| 名称 | 类型 | 说明 | 
|---|---|---|
| id | 
			 string  | 
	
		 资源 ID。  | 
| location | 
			 string  | 
	
		 资源位置。  | 
| name | 
			 string  | 
	
		 资源名称。  | 
| properties.creationDate | 
			 string (date-time)  | 
	
		 数据库的创建日期(ISO8601格式)。  | 
| properties.databaseName | 
			 string  | 
	
		 数据库的名称。  | 
| properties.deletionDate | 
			 string (date-time)  | 
	
		 数据库的删除日期(ISO8601格式)。  | 
| properties.earliestRestoreDate | 
			 string (date-time)  | 
	
		 数据库的最早还原日期(ISO8601格式)。  | 
| tags | 
			 object  | 
	
		 资源标记。  | 
| type | 
			 string  | 
	
		 资源类型。  |