Share via


RestorableDatabaseAccountsOperationsExtensions.GetByLocation Method

Definition

Retrieves the properties of an existing Azure Cosmos DB restorable database account. This call requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/read/*' permission.

public static Microsoft.Azure.Management.CosmosDB.Models.RestorableDatabaseAccountGetResult GetByLocation (this Microsoft.Azure.Management.CosmosDB.IRestorableDatabaseAccountsOperations operations, string location, string instanceId);
static member GetByLocation : Microsoft.Azure.Management.CosmosDB.IRestorableDatabaseAccountsOperations * string * string -> Microsoft.Azure.Management.CosmosDB.Models.RestorableDatabaseAccountGetResult
<Extension()>
Public Function GetByLocation (operations As IRestorableDatabaseAccountsOperations, location As String, instanceId As String) As 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.

Returns

Applies to