RestorableCosmosDBAccountResource.GetRestorableGremlinResourcesAsync Method

Definition

Return a list of gremlin database and graphs 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.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{instanceId}/restorableGremlinResources
  • Operation Id: RestorableGremlinResources_List
  • Default Api Version: 2024-05-15-preview
public virtual Azure.AsyncPageable<Azure.ResourceManager.CosmosDB.Models.RestorableGremlinResourceData> GetRestorableGremlinResourcesAsync (Azure.Core.AzureLocation? restoreLocation = default, string restoreTimestampInUtc = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetRestorableGremlinResourcesAsync : Nullable<Azure.Core.AzureLocation> * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.CosmosDB.Models.RestorableGremlinResourceData>
override this.GetRestorableGremlinResourcesAsync : Nullable<Azure.Core.AzureLocation> * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.CosmosDB.Models.RestorableGremlinResourceData>
Public Overridable Function GetRestorableGremlinResourcesAsync (Optional restoreLocation As Nullable(Of AzureLocation) = Nothing, Optional restoreTimestampInUtc As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of RestorableGremlinResourceData)

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 RestorableGremlinResourceData that may take multiple service requests to iterate over.

Applies to