Sdílet prostřednictvím


GremlinGraphResource.RetrieveContinuousBackupInformationAsync Method

Definition

Retrieves continuous backup information for a gremlin graph.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/gremlinDatabases/{databaseName}/graphs/{graphName}/retrieveContinuousBackupInformation
  • Operation Id: GremlinResources_RetrieveContinuousBackupInformation
  • Default Api Version: 2024-05-15-preview
  • Resource: GremlinGraphResource
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