Share via


CosmosDBSqlContainerResource.RetrieveContinuousBackupInformation Method

Definition

Retrieves continuous backup information for a container resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/retrieveContinuousBackupInformation
  • Operation Id: SqlResources_RetrieveContinuousBackupInformation
  • Default Api Version: 2024-09-01-preview
  • Resource: CosmosDBSqlContainerResource
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