RestorableTableResourcesOperations Class
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
<xref:restorable_table_resources> attribute.
- Inheritance
-
builtins.objectRestorableTableResourcesOperations
Constructor
RestorableTableResourcesOperations(*args, **kwargs)
Methods
list |
Return a list of tables 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 tables 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: str | None = None, restore_timestamp_in_utc: str | None = None, **kwargs: Any) -> AsyncIterable[RestorableTableResourcesGetResult]
Parameters
Name | Description |
---|---|
location
Required
|
Cosmos DB region, with spaces between words and each word capitalized. Required. |
instance_id
Required
|
The instanceId GUID of a restorable database account. Required. |
restore_location
Required
|
The location where the restorable resources are located. Default value is None. |
restore_timestamp_in_utc
Required
|
The timestamp when the restorable resources existed. Default value is None. |
Returns
Type | Description |
---|---|
An iterator like instance of either RestorableTableResourcesGetResult or the result of cls(response) |
Exceptions
Type | Description |
---|---|
Attributes
models
models = <module 'azure.mgmt.cosmosdb.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.11.9\\x64\\Lib\\site-packages\\azure\\mgmt\\cosmosdb\\models\\__init__.py'>
Azure SDK for Python
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for