Interface RestorableGremlinResourcesClient
public interface RestorableGremlinResourcesClient
An instance of this class provides access to all the operations defined in RestorableGremlinResourcesClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.http.rest.PagedIterable
<RestorableGremlinResourcesGetResultInner> Return a list of gremlin database and graphs combo that exist on the account at the given timestamp and location.com.azure.core.http.rest.PagedIterable
<RestorableGremlinResourcesGetResultInner> list
(String location, String instanceId, String restoreLocation, String restoreTimestampInUtc, com.azure.core.util.Context context) Return a list of gremlin database and graphs combo that exist on the account at the given timestamp and location.com.azure.core.http.rest.PagedFlux
<RestorableGremlinResourcesGetResultInner> Return a list of gremlin database and graphs combo that exist on the account at the given timestamp and location.com.azure.core.http.rest.PagedFlux
<RestorableGremlinResourcesGetResultInner> Return a list of gremlin database and graphs combo that exist on the account at the given timestamp and location.
-
Method Details
-
listAsync
com.azure.core.http.rest.PagedFlux<RestorableGremlinResourcesGetResultInner> listAsync(String location, String instanceId, String restoreLocation, String restoreTimestampInUtc) Return a list of gremlin database and graphs combo that exist on the account at the given timestamp and location. This helps in scenarios to validate what resources exist at given timestamp and location. 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.restoreLocation
- The location where the restorable resources are located.restoreTimestampInUtc
- The timestamp when the restorable resources existed.- Returns:
- the List operation response, that contains the restorable Gremlin resources 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.
-
listAsync
com.azure.core.http.rest.PagedFlux<RestorableGremlinResourcesGetResultInner> listAsync(String location, String instanceId) Return a list of gremlin database and graphs combo that exist on the account at the given timestamp and location. This helps in scenarios to validate what resources exist at given timestamp and location. 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 restorable Gremlin resources 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<RestorableGremlinResourcesGetResultInner> list(String location, String instanceId) Return a list of gremlin database and graphs combo that exist on the account at the given timestamp and location. This helps in scenarios to validate what resources exist at given timestamp and location. 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 restorable Gremlin resources 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<RestorableGremlinResourcesGetResultInner> list(String location, String instanceId, String restoreLocation, String restoreTimestampInUtc, com.azure.core.util.Context context) Return a list of gremlin database and graphs combo that exist on the account at the given timestamp and location. This helps in scenarios to validate what resources exist at given timestamp and location. 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.restoreLocation
- The location where the restorable resources are located.restoreTimestampInUtc
- The timestamp when the restorable resources existed.context
- The context to associate with this operation.- Returns:
- the List operation response, that contains the restorable Gremlin resources 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.
-