Condividi tramite


MongoDBCollectionResource.RetrieveContinuousBackupInformationAsync Method

Definition

Retrieves continuous backup information for a Mongodb collection.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}/collections/{collectionName}/retrieveContinuousBackupInformation
  • Operation Id: MongoDBResources_RetrieveContinuousBackupInformation
  • Default Api Version: 2024-09-01-preview
  • Resource: MongoDBCollectionResource
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.CosmosDB.Models.CosmosDBBackupInformation>> RetrieveContinuousBackupInformationAsync (Azure.WaitUntil waitUntil, Azure.ResourceManager.CosmosDB.Models.ContinuousBackupRestoreLocation location, System.Threading.CancellationToken cancellationToken = default);
abstract member RetrieveContinuousBackupInformationAsync : Azure.WaitUntil * Azure.ResourceManager.CosmosDB.Models.ContinuousBackupRestoreLocation * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.CosmosDB.Models.CosmosDBBackupInformation>>
override this.RetrieveContinuousBackupInformationAsync : Azure.WaitUntil * Azure.ResourceManager.CosmosDB.Models.ContinuousBackupRestoreLocation * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.CosmosDB.Models.CosmosDBBackupInformation>>
Public Overridable Function RetrieveContinuousBackupInformationAsync (waitUntil As WaitUntil, location As ContinuousBackupRestoreLocation, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of CosmosDBBackupInformation))

Parameters

waitUntil
WaitUntil

Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.

location
ContinuousBackupRestoreLocation

The name of the continuous backup restore location.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

location is null.

Applies to