RestorableDroppedManagedDatabasesOperations Class
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
<xref:restorable_dropped_managed_databases> attribute.
Constructor
RestorableDroppedManagedDatabasesOperations(*args, **kwargs)
Methods
| get |
Gets a restorable dropped managed database. |
| list_by_instance |
Gets a list of restorable dropped managed databases. |
get
Gets a restorable dropped managed database.
async get(resource_group_name: str, managed_instance_name: str, restorable_dropped_database_id: str, **kwargs: Any) -> RestorableDroppedManagedDatabase
Parameters
| Name | Description |
|---|---|
|
resource_group_name
Required
|
The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. Required. |
|
managed_instance_name
Required
|
The name of the managed instance. Required. |
|
restorable_dropped_database_id
Required
|
Required. |
Returns
| Type | Description |
|---|---|
|
RestorableDroppedManagedDatabase or the result of cls(response) |
Exceptions
| Type | Description |
|---|---|
list_by_instance
Gets a list of restorable dropped managed databases.
list_by_instance(resource_group_name: str, managed_instance_name: str, **kwargs: Any) -> AsyncItemPaged[RestorableDroppedManagedDatabase]
Parameters
| Name | Description |
|---|---|
|
resource_group_name
Required
|
The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. Required. |
|
managed_instance_name
Required
|
The name of the managed instance. Required. |
Returns
| Type | Description |
|---|---|
|
An iterator like instance of either RestorableDroppedManagedDatabase or the result of cls(response) |
Exceptions
| Type | Description |
|---|---|
Attributes
models
models = <module 'azure.mgmt.sql.models' from 'C:\\ToolCache\\Python\\3.12.10\\x64\\Lib\\site-packages\\py2docfx\\venv\\venv268\\Lib\\site-packages\\azure\\mgmt\\sql\\models\\__init__.py'>