RestorableDatabaseAccountsClient Interface

public interface RestorableDatabaseAccountsClient

An instance of this class provides access to all the operations defined in RestorableDatabaseAccountsClient.

Method Summary

Modifier and Type Method and Description
abstract RestorableDatabaseAccountGetResultInner getByLocation(String location, String instanceId)

Retrieves the properties of an existing Azure Cosmos DB restorable database account.

abstract Mono<RestorableDatabaseAccountGetResultInner> getByLocationAsync(String location, String instanceId)

Retrieves the properties of an existing Azure Cosmos DB restorable database account.

abstract Response<RestorableDatabaseAccountGetResultInner> getByLocationWithResponse(String location, String instanceId, Context context)

Retrieves the properties of an existing Azure Cosmos DB restorable database account.

abstract Mono<Response<RestorableDatabaseAccountGetResultInner>> getByLocationWithResponseAsync(String location, String instanceId)

Retrieves the properties of an existing Azure Cosmos DB restorable database account.

abstract PagedIterable<RestorableDatabaseAccountGetResultInner> list()

Lists all the restorable Azure Cosmos DB database accounts available under the subscription.

abstract PagedIterable<RestorableDatabaseAccountGetResultInner> list(Context context)

Lists all the restorable Azure Cosmos DB database accounts available under the subscription.

abstract PagedFlux<RestorableDatabaseAccountGetResultInner> listAsync()

Lists all the restorable Azure Cosmos DB database accounts available under the subscription.

abstract PagedIterable<RestorableDatabaseAccountGetResultInner> listByLocation(String location)

Lists all the restorable Azure Cosmos DB database accounts available under the subscription and in a region.

abstract PagedIterable<RestorableDatabaseAccountGetResultInner> listByLocation(String location, Context context)

Lists all the restorable Azure Cosmos DB database accounts available under the subscription and in a region.

abstract PagedFlux<RestorableDatabaseAccountGetResultInner> listByLocationAsync(String location)

Lists all the restorable Azure Cosmos DB database accounts available under the subscription and in a region.

Method Details

getByLocation

public abstract RestorableDatabaseAccountGetResultInner getByLocation(String location, String instanceId)

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

Parameters:

location - Cosmos DB region, with spaces between words and each word capitalized.
instanceId - The instanceId GUID of a restorable database account.

Returns:

a Azure Cosmos DB restorable database account.

getByLocationAsync

public abstract Mono getByLocationAsync(String location, String instanceId)

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

Parameters:

location - Cosmos DB region, with spaces between words and each word capitalized.
instanceId - The instanceId GUID of a restorable database account.

Returns:

a Azure Cosmos DB restorable database account on successful completion of Mono.

getByLocationWithResponse

public abstract Response getByLocationWithResponse(String location, String instanceId, Context context)

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

Parameters:

location - Cosmos DB region, with spaces between words and each word capitalized.
instanceId - The instanceId GUID of a restorable database account.
context - The context to associate with this operation.

Returns:

a Azure Cosmos DB restorable database account along with Response<T>.

getByLocationWithResponseAsync

public abstract Mono> getByLocationWithResponseAsync(String location, String instanceId)

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

Parameters:

location - Cosmos DB region, with spaces between words and each word capitalized.
instanceId - The instanceId GUID of a restorable database account.

Returns:

a Azure Cosmos DB restorable database account along with Response<T> on successful completion of Mono.

list

public abstract PagedIterable list()

Lists all the restorable Azure Cosmos DB database accounts available under the subscription. This call requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/read' permission.

Returns:

the List operation response, that contains the restorable database accounts and their properties as paginated response with PagedIterable<T>.

list

public abstract PagedIterable list(Context context)

Lists all the restorable Azure Cosmos DB database accounts available under the subscription. This call requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/read' permission.

Parameters:

context - The context to associate with this operation.

Returns:

the List operation response, that contains the restorable database accounts and their properties as paginated response with PagedIterable<T>.

listAsync

public abstract PagedFlux listAsync()

Lists all the restorable Azure Cosmos DB database accounts available under the subscription. This call requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/read' permission.

Returns:

the List operation response, that contains the restorable database accounts and their properties as paginated response with PagedFlux<T>.

listByLocation

public abstract PagedIterable listByLocation(String location)

Lists all the restorable Azure Cosmos DB database accounts available under the subscription and in a region. This call requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/read' permission.

Parameters:

location - Cosmos DB region, with spaces between words and each word capitalized.

Returns:

the List operation response, that contains the restorable database accounts and their properties as paginated response with PagedIterable<T>.

listByLocation

public abstract PagedIterable listByLocation(String location, Context context)

Lists all the restorable Azure Cosmos DB database accounts available under the subscription and in a region. This call requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/read' permission.

Parameters:

location - Cosmos DB region, with spaces between words and each word capitalized.
context - The context to associate with this operation.

Returns:

the List operation response, that contains the restorable database accounts and their properties as paginated response with PagedIterable<T>.

listByLocationAsync

public abstract PagedFlux listByLocationAsync(String location)

Lists all the restorable Azure Cosmos DB database accounts available under the subscription and in a region. This call requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/read' permission.

Parameters:

location - Cosmos DB region, with spaces between words and each word capitalized.

Returns:

the List operation response, that contains the restorable database accounts and their properties as paginated response with PagedFlux<T>.

Applies to