RestorableDatabaseAccountsOperationsExtensions.GetByLocationAsync 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 the properties of an existing Azure Cosmos DB restorable database account. This call requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/read/*' permission.
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.CosmosDB.Models.RestorableDatabaseAccountGetResult> GetByLocationAsync (this Microsoft.Azure.Management.CosmosDB.IRestorableDatabaseAccountsOperations operations, string location, string instanceId, System.Threading.CancellationToken cancellationToken = default);
static member GetByLocationAsync : Microsoft.Azure.Management.CosmosDB.IRestorableDatabaseAccountsOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.CosmosDB.Models.RestorableDatabaseAccountGetResult>
<Extension()>
Public Function GetByLocationAsync (operations As IRestorableDatabaseAccountsOperations, location As String, instanceId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of RestorableDatabaseAccountGetResult)
Parameters
- operations
- IRestorableDatabaseAccountsOperations
The operations group for this extension method.
- location
- String
Cosmos DB region, with spaces between words and each word capitalized.
- instanceId
- String
The instanceId GUID of a restorable database account.
- cancellationToken
- CancellationToken
The cancellation token.