RestorableDatabaseAccountsOperations Class
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
<xref:restorable_database_accounts> attribute.
- Inheritance
-
builtins.objectRestorableDatabaseAccountsOperations
Constructor
RestorableDatabaseAccountsOperations(*args, **kwargs)
Methods
| get_by_location |
Retrieves the properties of an existing Azure Cosmos DB restorable database account. This call requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/read/>>*<<' permission. |
| list |
Lists all the restorable Azure Cosmos DB database accounts available under the subscription. This call requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/read' permission. |
| list_by_location |
Lists all the restorable Azure Cosmos DB database accounts available under the subscription and in a region. This call requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/read' permission. |
get_by_location
Retrieves the properties of an existing Azure Cosmos DB restorable database account. This call requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/read/>>*<<' permission.
get_by_location(location: str, instance_id: str, **kwargs: Any) -> azure.mgmt.cosmosdb.models._models_py3.RestorableDatabaseAccountGetResult
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
RestorableDatabaseAccountGetResult, or the result of cls(response)
Return type
Exceptions
list
Lists all the restorable Azure Cosmos DB database accounts available under the subscription. This call requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/read' permission.
list(**kwargs: Any) -> Iterable[azure.mgmt.cosmosdb.models._models_py3.RestorableDatabaseAccountsListResult]
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
An iterator like instance of either RestorableDatabaseAccountsListResult or the result of cls(response)
Return type
Exceptions
list_by_location
Lists all the restorable Azure Cosmos DB database accounts available under the subscription and in a region. This call requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/read' permission.
list_by_location(location: str, **kwargs: Any) -> Iterable[azure.mgmt.cosmosdb.models._models_py3.RestorableDatabaseAccountsListResult]
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
An iterator like instance of either RestorableDatabaseAccountsListResult or the result of cls(response)
Return type
Exceptions
Attributes
models
models = <module 'azure.mgmt.cosmosdb.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.9.13\\x64\\lib\\site-packages\\azure\\mgmt\\cosmosdb\\models\\__init__.py'>
Feedback
Submit and view feedback for