MongoDBCollectionResource.RetrieveContinuousBackupInformation 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.
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-05-15-preview
- Resource: MongoDBCollectionResource
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.CosmosDB.Models.CosmosDBBackupInformation> RetrieveContinuousBackupInformation (Azure.WaitUntil waitUntil, Azure.ResourceManager.CosmosDB.Models.ContinuousBackupRestoreLocation location, System.Threading.CancellationToken cancellationToken = default);
abstract member RetrieveContinuousBackupInformation : Azure.WaitUntil * Azure.ResourceManager.CosmosDB.Models.ContinuousBackupRestoreLocation * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.CosmosDB.Models.CosmosDBBackupInformation>
override this.RetrieveContinuousBackupInformation : Azure.WaitUntil * Azure.ResourceManager.CosmosDB.Models.ContinuousBackupRestoreLocation * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.CosmosDB.Models.CosmosDBBackupInformation>
Public Overridable Function RetrieveContinuousBackupInformation (waitUntil As WaitUntil, location As ContinuousBackupRestoreLocation, Optional cancellationToken As CancellationToken = Nothing) As 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
Azure SDK for .NET