RecoverableManagedDatabasesOperations Class
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
<xref:recoverable_managed_databases> attribute.
Constructor
RecoverableManagedDatabasesOperations(*args, **kwargs)
Methods
| get |
Gets a recoverable managed database. |
| list_by_instance |
Gets a list of recoverable managed databases. |
get
Gets a recoverable managed database.
async get(resource_group_name: str, managed_instance_name: str, recoverable_database_name: str, **kwargs: Any) -> RecoverableManagedDatabase
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. |
|
recoverable_database_name
Required
|
Required. |
Returns
| Type | Description |
|---|---|
|
RecoverableManagedDatabase or the result of cls(response) |
Exceptions
| Type | Description |
|---|---|
list_by_instance
Gets a list of recoverable managed databases.
list_by_instance(resource_group_name: str, managed_instance_name: str, **kwargs: Any) -> AsyncItemPaged[RecoverableManagedDatabase]
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 RecoverableManagedDatabase 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'>