共用方式為


RestorableCosmosDBAccountResource.GetAllRestorableMongoDBResourceData Method

Definition

Return a list of database and collection 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}/restorableMongodbResources
  • Operation Id: RestorableMongodbResources_List
  • Default Api Version: 2024-09-01-preview
public virtual Azure.Pageable<Azure.ResourceManager.CosmosDB.Models.RestorableMongoDBResourceData> GetAllRestorableMongoDBResourceData (Azure.Core.AzureLocation? restoreLocation = default, string restoreTimestampInUtc = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllRestorableMongoDBResourceData : Nullable<Azure.Core.AzureLocation> * string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.CosmosDB.Models.RestorableMongoDBResourceData>
override this.GetAllRestorableMongoDBResourceData : Nullable<Azure.Core.AzureLocation> * string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.CosmosDB.Models.RestorableMongoDBResourceData>
Public Overridable Function GetAllRestorableMongoDBResourceData (Optional restoreLocation As Nullable(Of AzureLocation) = Nothing, Optional restoreTimestampInUtc As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of RestorableMongoDBResourceData)

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

A collection of RestorableMongoDBResourceData that may take multiple service requests to iterate over.

Applies to