RestorableSqlResourcesOperations Class
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
<xref:restorable_sql_resources> attribute.
- Inheritance
-
builtins.objectRestorableSqlResourcesOperations
Constructor
RestorableSqlResourcesOperations(*args, **kwargs)
Methods
| list |
Return a list of database and container combo that exist on the account at the given timestamp and location. This helps in scenarios to validate what resources exist at given timestamp and location. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission. |
list
Return a list of database and container combo that exist on the account at the given timestamp and location. This helps in scenarios to validate what resources exist at given timestamp and location. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission.
list(location: str, instance_id: str, restore_location: Optional[str] = None, restore_timestamp_in_utc: Optional[str] = None, **kwargs: Any) -> Iterable[azure.mgmt.cosmosdb.models._models_py3.RestorableSqlResourcesListResult]
Parameters
- restore_location
- str
The location where the restorable resources are located. Default value is None.
- restore_timestamp_in_utc
- str
The timestamp when the restorable resources existed. Default value is None.
- cls
- callable
A custom type or function that will be passed the direct response
Returns
An iterator like instance of either RestorableSqlResourcesListResult 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