Language

SoftDeletedDatabaseAccountGetResultResource.GetAsync Method

Definition

Retrieves the properties of a soft-deleted Azure Cosmos DB database account by location and accountName. This call requires 'Microsoft.DocumentDB/locations/softDeletedDatabaseAccounts/read' permission.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/locations/{location}/softDeletedDatabaseAccounts/{accountName}.
  • Operation Id. : SoftDeletedDatabaseAccounts_Get.
  • Default Api Version. : 2026-04-01-preview.
  • Resource. : SoftDeletedDatabaseAccountGetResultResource.
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.CosmosDB.SoftDeletedDatabaseAccountGetResultResource>> GetAsync(System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.CosmosDB.SoftDeletedDatabaseAccountGetResultResource>>
override this.GetAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.CosmosDB.SoftDeletedDatabaseAccountGetResultResource>>
Public Overridable Function GetAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of SoftDeletedDatabaseAccountGetResultResource))

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to