Interface RestorableMongodbDatabasesClient
public interface RestorableMongodbDatabasesClient
An instance of this class provides access to all the operations defined in RestorableMongodbDatabasesClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.http.rest.PagedIterable
<RestorableMongodbDatabaseGetResultInner> Show the event feed of all mutations done on all the Azure Cosmos DB MongoDB databases under the restorable account.com.azure.core.http.rest.PagedIterable
<RestorableMongodbDatabaseGetResultInner> Show the event feed of all mutations done on all the Azure Cosmos DB MongoDB databases under the restorable account.com.azure.core.http.rest.PagedFlux
<RestorableMongodbDatabaseGetResultInner> Show the event feed of all mutations done on all the Azure Cosmos DB MongoDB databases under the restorable account.
-
Method Details
-
listAsync
com.azure.core.http.rest.PagedFlux<RestorableMongodbDatabaseGetResultInner> listAsync(String location, String instanceId) Show the event feed of all mutations done on all the Azure Cosmos DB MongoDB databases under the restorable account. This helps in scenario where database was accidentally deleted to get the deletion time. This API 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:
- the List operation response, that contains the MongoDB database events and their properties as paginated
response with
PagedFlux
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
list
com.azure.core.http.rest.PagedIterable<RestorableMongodbDatabaseGetResultInner> list(String location, String instanceId) Show the event feed of all mutations done on all the Azure Cosmos DB MongoDB databases under the restorable account. This helps in scenario where database was accidentally deleted to get the deletion time. This API 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:
- the List operation response, that contains the MongoDB database events and their properties as paginated
response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
list
com.azure.core.http.rest.PagedIterable<RestorableMongodbDatabaseGetResultInner> list(String location, String instanceId, com.azure.core.util.Context context) Show the event feed of all mutations done on all the Azure Cosmos DB MongoDB databases under the restorable account. This helps in scenario where database was accidentally deleted to get the deletion time. This API 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:
- the List operation response, that contains the MongoDB database events and their properties as paginated
response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-