Interface RestorableSqlContainersClient


  • public interface RestorableSqlContainersClient
    An instance of this class provides access to all the operations defined in RestorableSqlContainersClient.
    • Method Detail

      • listAsync

        com.azure.core.http.rest.PagedFlux<RestorableSqlContainerGetResultInner> listAsync​(String location,
                                                                                           String instanceId,
                                                                                           String restorableSqlDatabaseRid,
                                                                                           String startTime,
                                                                                           String endTime)
        Show the event feed of all mutations done on all the Azure Cosmos DB SQL containers under a specific database. This helps in scenario where container was accidentally deleted. 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.
        restorableSqlDatabaseRid - The resource ID of the SQL database.
        startTime - The snapshot create timestamp after which snapshots need to be listed.
        endTime - The snapshot create timestamp before which snapshots need to be listed.
        Returns:
        the List operation response, that contains the SQL container events and their properties.
        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<RestorableSqlContainerGetResultInner> listAsync​(String location,
                                                                                           String instanceId)
        Show the event feed of all mutations done on all the Azure Cosmos DB SQL containers under a specific database. This helps in scenario where container was accidentally deleted. 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 SQL container events and their properties.
        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<RestorableSqlContainerGetResultInner> list​(String location,
                                                                                          String instanceId)
        Show the event feed of all mutations done on all the Azure Cosmos DB SQL containers under a specific database. This helps in scenario where container was accidentally deleted. 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 SQL container events and their properties.
        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<RestorableSqlContainerGetResultInner> list​(String location,
                                                                                          String instanceId,
                                                                                          String restorableSqlDatabaseRid,
                                                                                          String startTime,
                                                                                          String endTime,
                                                                                          com.azure.core.util.Context context)
        Show the event feed of all mutations done on all the Azure Cosmos DB SQL containers under a specific database. This helps in scenario where container was accidentally deleted. 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.
        restorableSqlDatabaseRid - The resource ID of the SQL database.
        startTime - The snapshot create timestamp after which snapshots need to be listed.
        endTime - The snapshot create timestamp before which snapshots need to be listed.
        context - The context to associate with this operation.
        Returns:
        the List operation response, that contains the SQL container events and their properties.
        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.