RestorableCosmosDBAccountResource.GetRestorableTableResourcesAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
- Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{instanceId}/restorableTableResources
- Operation Id: RestorableTableResources_List
- Default Api Version: 2024-09-01-preview
public virtual Azure.AsyncPageable<Azure.ResourceManager.CosmosDB.Models.RestorableTableResourceData> GetRestorableTableResourcesAsync (Azure.Core.AzureLocation? restoreLocation = default, string restoreTimestampInUtc = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetRestorableTableResourcesAsync : Nullable<Azure.Core.AzureLocation> * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.CosmosDB.Models.RestorableTableResourceData>
override this.GetRestorableTableResourcesAsync : Nullable<Azure.Core.AzureLocation> * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.CosmosDB.Models.RestorableTableResourceData>
Public Overridable Function GetRestorableTableResourcesAsync (Optional restoreLocation As Nullable(Of AzureLocation) = Nothing, Optional restoreTimestampInUtc As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of RestorableTableResourceData)
Parameters
- restoreLocation
- Nullable<AzureLocation>
The location where the restorable resources are located.
- restoreTimestampInUtc
- String
The timestamp when the restorable resources existed.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
An async collection of RestorableTableResourceData that may take multiple service requests to iterate over.
Applies to
Azure SDK for .NET