Interface SqlResourcesClient


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

      • listSqlDatabasesAsync

        com.azure.core.http.rest.PagedFlux<SqlDatabaseGetResultsInner> listSqlDatabasesAsync​(String resourceGroupName,
                                                                                             String accountName)
        Lists the SQL databases under an existing Azure Cosmos DB database account.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        Returns:
        the List operation response, that contains the SQL databases 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.
      • listSqlDatabases

        com.azure.core.http.rest.PagedIterable<SqlDatabaseGetResultsInner> listSqlDatabases​(String resourceGroupName,
                                                                                            String accountName)
        Lists the SQL databases under an existing Azure Cosmos DB database account.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        Returns:
        the List operation response, that contains the SQL databases 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.
      • listSqlDatabases

        com.azure.core.http.rest.PagedIterable<SqlDatabaseGetResultsInner> listSqlDatabases​(String resourceGroupName,
                                                                                            String accountName,
                                                                                            com.azure.core.util.Context context)
        Lists the SQL databases under an existing Azure Cosmos DB database account.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        context - The context to associate with this operation.
        Returns:
        the List operation response, that contains the SQL databases 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.
      • getSqlDatabaseWithResponseAsync

        Mono<com.azure.core.http.rest.Response<SqlDatabaseGetResultsInner>> getSqlDatabaseWithResponseAsync​(String resourceGroupName,
                                                                                                            String accountName,
                                                                                                            String databaseName)
        Gets the SQL database under an existing Azure Cosmos DB database account with the provided name.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        Returns:
        the SQL database under an existing Azure Cosmos DB database account with the provided name.
        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.
      • getSqlDatabaseAsync

        Mono<SqlDatabaseGetResultsInner> getSqlDatabaseAsync​(String resourceGroupName,
                                                             String accountName,
                                                             String databaseName)
        Gets the SQL database under an existing Azure Cosmos DB database account with the provided name.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        Returns:
        the SQL database under an existing Azure Cosmos DB database account with the provided name.
        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.
      • getSqlDatabase

        SqlDatabaseGetResultsInner getSqlDatabase​(String resourceGroupName,
                                                  String accountName,
                                                  String databaseName)
        Gets the SQL database under an existing Azure Cosmos DB database account with the provided name.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        Returns:
        the SQL database under an existing Azure Cosmos DB database account with the provided name.
        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.
      • getSqlDatabaseWithResponse

        com.azure.core.http.rest.Response<SqlDatabaseGetResultsInner> getSqlDatabaseWithResponse​(String resourceGroupName,
                                                                                                 String accountName,
                                                                                                 String databaseName,
                                                                                                 com.azure.core.util.Context context)
        Gets the SQL database under an existing Azure Cosmos DB database account with the provided name.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        context - The context to associate with this operation.
        Returns:
        the SQL database under an existing Azure Cosmos DB database account with the provided name.
        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.
      • createUpdateSqlDatabaseWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createUpdateSqlDatabaseWithResponseAsync​(String resourceGroupName,
                                                                                                           String accountName,
                                                                                                           String databaseName,
                                                                                                           SqlDatabaseCreateUpdateParameters createUpdateSqlDatabaseParameters)
        Create or update an Azure Cosmos DB SQL database.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        createUpdateSqlDatabaseParameters - The parameters to provide for the current SQL database.
        Returns:
        an Azure Cosmos DB SQL database.
        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.
      • beginCreateUpdateSqlDatabaseAsync

        com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<SqlDatabaseGetResultsInner>,​SqlDatabaseGetResultsInner> beginCreateUpdateSqlDatabaseAsync​(String resourceGroupName,
                                                                                                                                                                                            String accountName,
                                                                                                                                                                                            String databaseName,
                                                                                                                                                                                            SqlDatabaseCreateUpdateParameters createUpdateSqlDatabaseParameters)
        Create or update an Azure Cosmos DB SQL database.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        createUpdateSqlDatabaseParameters - The parameters to provide for the current SQL database.
        Returns:
        an Azure Cosmos DB SQL database.
        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.
      • beginCreateUpdateSqlDatabase

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SqlDatabaseGetResultsInner>,​SqlDatabaseGetResultsInner> beginCreateUpdateSqlDatabase​(String resourceGroupName,
                                                                                                                                                                                       String accountName,
                                                                                                                                                                                       String databaseName,
                                                                                                                                                                                       SqlDatabaseCreateUpdateParameters createUpdateSqlDatabaseParameters)
        Create or update an Azure Cosmos DB SQL database.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        createUpdateSqlDatabaseParameters - The parameters to provide for the current SQL database.
        Returns:
        an Azure Cosmos DB SQL database.
        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.
      • beginCreateUpdateSqlDatabase

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SqlDatabaseGetResultsInner>,​SqlDatabaseGetResultsInner> beginCreateUpdateSqlDatabase​(String resourceGroupName,
                                                                                                                                                                                       String accountName,
                                                                                                                                                                                       String databaseName,
                                                                                                                                                                                       SqlDatabaseCreateUpdateParameters createUpdateSqlDatabaseParameters,
                                                                                                                                                                                       com.azure.core.util.Context context)
        Create or update an Azure Cosmos DB SQL database.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        createUpdateSqlDatabaseParameters - The parameters to provide for the current SQL database.
        context - The context to associate with this operation.
        Returns:
        an Azure Cosmos DB SQL database.
        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.
      • createUpdateSqlDatabaseAsync

        Mono<SqlDatabaseGetResultsInner> createUpdateSqlDatabaseAsync​(String resourceGroupName,
                                                                      String accountName,
                                                                      String databaseName,
                                                                      SqlDatabaseCreateUpdateParameters createUpdateSqlDatabaseParameters)
        Create or update an Azure Cosmos DB SQL database.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        createUpdateSqlDatabaseParameters - The parameters to provide for the current SQL database.
        Returns:
        an Azure Cosmos DB SQL database.
        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.
      • createUpdateSqlDatabase

        SqlDatabaseGetResultsInner createUpdateSqlDatabase​(String resourceGroupName,
                                                           String accountName,
                                                           String databaseName,
                                                           SqlDatabaseCreateUpdateParameters createUpdateSqlDatabaseParameters)
        Create or update an Azure Cosmos DB SQL database.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        createUpdateSqlDatabaseParameters - The parameters to provide for the current SQL database.
        Returns:
        an Azure Cosmos DB SQL database.
        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.
      • createUpdateSqlDatabase

        SqlDatabaseGetResultsInner createUpdateSqlDatabase​(String resourceGroupName,
                                                           String accountName,
                                                           String databaseName,
                                                           SqlDatabaseCreateUpdateParameters createUpdateSqlDatabaseParameters,
                                                           com.azure.core.util.Context context)
        Create or update an Azure Cosmos DB SQL database.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        createUpdateSqlDatabaseParameters - The parameters to provide for the current SQL database.
        context - The context to associate with this operation.
        Returns:
        an Azure Cosmos DB SQL database.
        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.
      • deleteSqlDatabaseWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteSqlDatabaseWithResponseAsync​(String resourceGroupName,
                                                                                                     String accountName,
                                                                                                     String databaseName)
        Deletes an existing Azure Cosmos DB SQL database.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        Returns:
        the completion.
        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.
      • beginDeleteSqlDatabaseAsync

        com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,​Void> beginDeleteSqlDatabaseAsync​(String resourceGroupName,
                                                                                                                                          String accountName,
                                                                                                                                          String databaseName)
        Deletes an existing Azure Cosmos DB SQL database.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        Returns:
        the completion.
        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.
      • beginDeleteSqlDatabase

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,​Void> beginDeleteSqlDatabase​(String resourceGroupName,
                                                                                                                                     String accountName,
                                                                                                                                     String databaseName)
        Deletes an existing Azure Cosmos DB SQL database.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        Returns:
        the completion.
        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.
      • beginDeleteSqlDatabase

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,​Void> beginDeleteSqlDatabase​(String resourceGroupName,
                                                                                                                                     String accountName,
                                                                                                                                     String databaseName,
                                                                                                                                     com.azure.core.util.Context context)
        Deletes an existing Azure Cosmos DB SQL database.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        context - The context to associate with this operation.
        Returns:
        the completion.
        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.
      • deleteSqlDatabaseAsync

        Mono<Void> deleteSqlDatabaseAsync​(String resourceGroupName,
                                          String accountName,
                                          String databaseName)
        Deletes an existing Azure Cosmos DB SQL database.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        Returns:
        the completion.
        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.
      • deleteSqlDatabase

        void deleteSqlDatabase​(String resourceGroupName,
                               String accountName,
                               String databaseName)
        Deletes an existing Azure Cosmos DB SQL database.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        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.
      • deleteSqlDatabase

        void deleteSqlDatabase​(String resourceGroupName,
                               String accountName,
                               String databaseName,
                               com.azure.core.util.Context context)
        Deletes an existing Azure Cosmos DB SQL database.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        context - The context to associate with this operation.
        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.
      • getSqlDatabaseThroughputWithResponseAsync

        Mono<com.azure.core.http.rest.Response<ThroughputSettingsGetResultsInner>> getSqlDatabaseThroughputWithResponseAsync​(String resourceGroupName,
                                                                                                                             String accountName,
                                                                                                                             String databaseName)
        Gets the RUs per second of the SQL database under an existing Azure Cosmos DB database account with the provided name.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        Returns:
        the RUs per second of the SQL database under an existing Azure Cosmos DB database account with the provided name.
        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.
      • getSqlDatabaseThroughputAsync

        Mono<ThroughputSettingsGetResultsInner> getSqlDatabaseThroughputAsync​(String resourceGroupName,
                                                                              String accountName,
                                                                              String databaseName)
        Gets the RUs per second of the SQL database under an existing Azure Cosmos DB database account with the provided name.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        Returns:
        the RUs per second of the SQL database under an existing Azure Cosmos DB database account with the provided name.
        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.
      • getSqlDatabaseThroughput

        ThroughputSettingsGetResultsInner getSqlDatabaseThroughput​(String resourceGroupName,
                                                                   String accountName,
                                                                   String databaseName)
        Gets the RUs per second of the SQL database under an existing Azure Cosmos DB database account with the provided name.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        Returns:
        the RUs per second of the SQL database under an existing Azure Cosmos DB database account with the provided name.
        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.
      • getSqlDatabaseThroughputWithResponse

        com.azure.core.http.rest.Response<ThroughputSettingsGetResultsInner> getSqlDatabaseThroughputWithResponse​(String resourceGroupName,
                                                                                                                  String accountName,
                                                                                                                  String databaseName,
                                                                                                                  com.azure.core.util.Context context)
        Gets the RUs per second of the SQL database under an existing Azure Cosmos DB database account with the provided name.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        context - The context to associate with this operation.
        Returns:
        the RUs per second of the SQL database under an existing Azure Cosmos DB database account with the provided name.
        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.
      • updateSqlDatabaseThroughputWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> updateSqlDatabaseThroughputWithResponseAsync​(String resourceGroupName,
                                                                                                               String accountName,
                                                                                                               String databaseName,
                                                                                                               ThroughputSettingsUpdateParameters updateThroughputParameters)
        Update RUs per second of an Azure Cosmos DB SQL database.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        updateThroughputParameters - The parameters to provide for the RUs per second of the current SQL database.
        Returns:
        an Azure Cosmos DB resource throughput.
        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.
      • beginUpdateSqlDatabaseThroughputAsync

        com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<ThroughputSettingsGetResultsInner>,​ThroughputSettingsGetResultsInner> beginUpdateSqlDatabaseThroughputAsync​(String resourceGroupName,
                                                                                                                                                                                                              String accountName,
                                                                                                                                                                                                              String databaseName,
                                                                                                                                                                                                              ThroughputSettingsUpdateParameters updateThroughputParameters)
        Update RUs per second of an Azure Cosmos DB SQL database.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        updateThroughputParameters - The parameters to provide for the RUs per second of the current SQL database.
        Returns:
        an Azure Cosmos DB resource throughput.
        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.
      • beginUpdateSqlDatabaseThroughput

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ThroughputSettingsGetResultsInner>,​ThroughputSettingsGetResultsInner> beginUpdateSqlDatabaseThroughput​(String resourceGroupName,
                                                                                                                                                                                                         String accountName,
                                                                                                                                                                                                         String databaseName,
                                                                                                                                                                                                         ThroughputSettingsUpdateParameters updateThroughputParameters)
        Update RUs per second of an Azure Cosmos DB SQL database.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        updateThroughputParameters - The parameters to provide for the RUs per second of the current SQL database.
        Returns:
        an Azure Cosmos DB resource throughput.
        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.
      • beginUpdateSqlDatabaseThroughput

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ThroughputSettingsGetResultsInner>,​ThroughputSettingsGetResultsInner> beginUpdateSqlDatabaseThroughput​(String resourceGroupName,
                                                                                                                                                                                                         String accountName,
                                                                                                                                                                                                         String databaseName,
                                                                                                                                                                                                         ThroughputSettingsUpdateParameters updateThroughputParameters,
                                                                                                                                                                                                         com.azure.core.util.Context context)
        Update RUs per second of an Azure Cosmos DB SQL database.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        updateThroughputParameters - The parameters to provide for the RUs per second of the current SQL database.
        context - The context to associate with this operation.
        Returns:
        an Azure Cosmos DB resource throughput.
        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.
      • updateSqlDatabaseThroughputAsync

        Mono<ThroughputSettingsGetResultsInner> updateSqlDatabaseThroughputAsync​(String resourceGroupName,
                                                                                 String accountName,
                                                                                 String databaseName,
                                                                                 ThroughputSettingsUpdateParameters updateThroughputParameters)
        Update RUs per second of an Azure Cosmos DB SQL database.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        updateThroughputParameters - The parameters to provide for the RUs per second of the current SQL database.
        Returns:
        an Azure Cosmos DB resource throughput.
        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.
      • updateSqlDatabaseThroughput

        ThroughputSettingsGetResultsInner updateSqlDatabaseThroughput​(String resourceGroupName,
                                                                      String accountName,
                                                                      String databaseName,
                                                                      ThroughputSettingsUpdateParameters updateThroughputParameters)
        Update RUs per second of an Azure Cosmos DB SQL database.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        updateThroughputParameters - The parameters to provide for the RUs per second of the current SQL database.
        Returns:
        an Azure Cosmos DB resource throughput.
        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.
      • updateSqlDatabaseThroughput

        ThroughputSettingsGetResultsInner updateSqlDatabaseThroughput​(String resourceGroupName,
                                                                      String accountName,
                                                                      String databaseName,
                                                                      ThroughputSettingsUpdateParameters updateThroughputParameters,
                                                                      com.azure.core.util.Context context)
        Update RUs per second of an Azure Cosmos DB SQL database.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        updateThroughputParameters - The parameters to provide for the RUs per second of the current SQL database.
        context - The context to associate with this operation.
        Returns:
        an Azure Cosmos DB resource throughput.
        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.
      • migrateSqlDatabaseToAutoscaleWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> migrateSqlDatabaseToAutoscaleWithResponseAsync​(String resourceGroupName,
                                                                                                                 String accountName,
                                                                                                                 String databaseName)
        Migrate an Azure Cosmos DB SQL database from manual throughput to autoscale.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        Returns:
        an Azure Cosmos DB resource throughput.
        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.
      • beginMigrateSqlDatabaseToAutoscaleAsync

        com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<ThroughputSettingsGetResultsInner>,​ThroughputSettingsGetResultsInner> beginMigrateSqlDatabaseToAutoscaleAsync​(String resourceGroupName,
                                                                                                                                                                                                                String accountName,
                                                                                                                                                                                                                String databaseName)
        Migrate an Azure Cosmos DB SQL database from manual throughput to autoscale.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        Returns:
        an Azure Cosmos DB resource throughput.
        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.
      • beginMigrateSqlDatabaseToAutoscale

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ThroughputSettingsGetResultsInner>,​ThroughputSettingsGetResultsInner> beginMigrateSqlDatabaseToAutoscale​(String resourceGroupName,
                                                                                                                                                                                                           String accountName,
                                                                                                                                                                                                           String databaseName)
        Migrate an Azure Cosmos DB SQL database from manual throughput to autoscale.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        Returns:
        an Azure Cosmos DB resource throughput.
        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.
      • beginMigrateSqlDatabaseToAutoscale

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ThroughputSettingsGetResultsInner>,​ThroughputSettingsGetResultsInner> beginMigrateSqlDatabaseToAutoscale​(String resourceGroupName,
                                                                                                                                                                                                           String accountName,
                                                                                                                                                                                                           String databaseName,
                                                                                                                                                                                                           com.azure.core.util.Context context)
        Migrate an Azure Cosmos DB SQL database from manual throughput to autoscale.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        context - The context to associate with this operation.
        Returns:
        an Azure Cosmos DB resource throughput.
        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.
      • migrateSqlDatabaseToAutoscaleAsync

        Mono<ThroughputSettingsGetResultsInner> migrateSqlDatabaseToAutoscaleAsync​(String resourceGroupName,
                                                                                   String accountName,
                                                                                   String databaseName)
        Migrate an Azure Cosmos DB SQL database from manual throughput to autoscale.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        Returns:
        an Azure Cosmos DB resource throughput.
        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.
      • migrateSqlDatabaseToAutoscale

        ThroughputSettingsGetResultsInner migrateSqlDatabaseToAutoscale​(String resourceGroupName,
                                                                        String accountName,
                                                                        String databaseName)
        Migrate an Azure Cosmos DB SQL database from manual throughput to autoscale.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        Returns:
        an Azure Cosmos DB resource throughput.
        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.
      • migrateSqlDatabaseToAutoscale

        ThroughputSettingsGetResultsInner migrateSqlDatabaseToAutoscale​(String resourceGroupName,
                                                                        String accountName,
                                                                        String databaseName,
                                                                        com.azure.core.util.Context context)
        Migrate an Azure Cosmos DB SQL database from manual throughput to autoscale.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        context - The context to associate with this operation.
        Returns:
        an Azure Cosmos DB resource throughput.
        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.
      • migrateSqlDatabaseToManualThroughputWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> migrateSqlDatabaseToManualThroughputWithResponseAsync​(String resourceGroupName,
                                                                                                                        String accountName,
                                                                                                                        String databaseName)
        Migrate an Azure Cosmos DB SQL database from autoscale to manual throughput.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        Returns:
        an Azure Cosmos DB resource throughput.
        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.
      • beginMigrateSqlDatabaseToManualThroughputAsync

        com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<ThroughputSettingsGetResultsInner>,​ThroughputSettingsGetResultsInner> beginMigrateSqlDatabaseToManualThroughputAsync​(String resourceGroupName,
                                                                                                                                                                                                                       String accountName,
                                                                                                                                                                                                                       String databaseName)
        Migrate an Azure Cosmos DB SQL database from autoscale to manual throughput.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        Returns:
        an Azure Cosmos DB resource throughput.
        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.
      • beginMigrateSqlDatabaseToManualThroughput

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ThroughputSettingsGetResultsInner>,​ThroughputSettingsGetResultsInner> beginMigrateSqlDatabaseToManualThroughput​(String resourceGroupName,
                                                                                                                                                                                                                  String accountName,
                                                                                                                                                                                                                  String databaseName)
        Migrate an Azure Cosmos DB SQL database from autoscale to manual throughput.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        Returns:
        an Azure Cosmos DB resource throughput.
        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.
      • beginMigrateSqlDatabaseToManualThroughput

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ThroughputSettingsGetResultsInner>,​ThroughputSettingsGetResultsInner> beginMigrateSqlDatabaseToManualThroughput​(String resourceGroupName,
                                                                                                                                                                                                                  String accountName,
                                                                                                                                                                                                                  String databaseName,
                                                                                                                                                                                                                  com.azure.core.util.Context context)
        Migrate an Azure Cosmos DB SQL database from autoscale to manual throughput.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        context - The context to associate with this operation.
        Returns:
        an Azure Cosmos DB resource throughput.
        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.
      • migrateSqlDatabaseToManualThroughputAsync

        Mono<ThroughputSettingsGetResultsInner> migrateSqlDatabaseToManualThroughputAsync​(String resourceGroupName,
                                                                                          String accountName,
                                                                                          String databaseName)
        Migrate an Azure Cosmos DB SQL database from autoscale to manual throughput.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        Returns:
        an Azure Cosmos DB resource throughput.
        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.
      • migrateSqlDatabaseToManualThroughput

        ThroughputSettingsGetResultsInner migrateSqlDatabaseToManualThroughput​(String resourceGroupName,
                                                                               String accountName,
                                                                               String databaseName)
        Migrate an Azure Cosmos DB SQL database from autoscale to manual throughput.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        Returns:
        an Azure Cosmos DB resource throughput.
        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.
      • migrateSqlDatabaseToManualThroughput

        ThroughputSettingsGetResultsInner migrateSqlDatabaseToManualThroughput​(String resourceGroupName,
                                                                               String accountName,
                                                                               String databaseName,
                                                                               com.azure.core.util.Context context)
        Migrate an Azure Cosmos DB SQL database from autoscale to manual throughput.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        context - The context to associate with this operation.
        Returns:
        an Azure Cosmos DB resource throughput.
        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.
      • listSqlContainersAsync

        com.azure.core.http.rest.PagedFlux<SqlContainerGetResultsInner> listSqlContainersAsync​(String resourceGroupName,
                                                                                               String accountName,
                                                                                               String databaseName)
        Lists the SQL container under an existing Azure Cosmos DB database account.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        Returns:
        the List operation response, that contains the containers 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.
      • listSqlContainers

        com.azure.core.http.rest.PagedIterable<SqlContainerGetResultsInner> listSqlContainers​(String resourceGroupName,
                                                                                              String accountName,
                                                                                              String databaseName)
        Lists the SQL container under an existing Azure Cosmos DB database account.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        Returns:
        the List operation response, that contains the containers 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.
      • listSqlContainers

        com.azure.core.http.rest.PagedIterable<SqlContainerGetResultsInner> listSqlContainers​(String resourceGroupName,
                                                                                              String accountName,
                                                                                              String databaseName,
                                                                                              com.azure.core.util.Context context)
        Lists the SQL container under an existing Azure Cosmos DB database account.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        context - The context to associate with this operation.
        Returns:
        the List operation response, that contains the containers 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.
      • getSqlContainerWithResponseAsync

        Mono<com.azure.core.http.rest.Response<SqlContainerGetResultsInner>> getSqlContainerWithResponseAsync​(String resourceGroupName,
                                                                                                              String accountName,
                                                                                                              String databaseName,
                                                                                                              String containerName)
        Gets the SQL container under an existing Azure Cosmos DB database account.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        containerName - Cosmos DB container name.
        Returns:
        the SQL container under an existing Azure Cosmos DB database account.
        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.
      • getSqlContainerAsync

        Mono<SqlContainerGetResultsInner> getSqlContainerAsync​(String resourceGroupName,
                                                               String accountName,
                                                               String databaseName,
                                                               String containerName)
        Gets the SQL container under an existing Azure Cosmos DB database account.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        containerName - Cosmos DB container name.
        Returns:
        the SQL container under an existing Azure Cosmos DB database account.
        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.
      • getSqlContainer

        SqlContainerGetResultsInner getSqlContainer​(String resourceGroupName,
                                                    String accountName,
                                                    String databaseName,
                                                    String containerName)
        Gets the SQL container under an existing Azure Cosmos DB database account.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        containerName - Cosmos DB container name.
        Returns:
        the SQL container under an existing Azure Cosmos DB database account.
        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.
      • getSqlContainerWithResponse

        com.azure.core.http.rest.Response<SqlContainerGetResultsInner> getSqlContainerWithResponse​(String resourceGroupName,
                                                                                                   String accountName,
                                                                                                   String databaseName,
                                                                                                   String containerName,
                                                                                                   com.azure.core.util.Context context)
        Gets the SQL container under an existing Azure Cosmos DB database account.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        containerName - Cosmos DB container name.
        context - The context to associate with this operation.
        Returns:
        the SQL container under an existing Azure Cosmos DB database account.
        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.
      • createUpdateSqlContainerWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createUpdateSqlContainerWithResponseAsync​(String resourceGroupName,
                                                                                                            String accountName,
                                                                                                            String databaseName,
                                                                                                            String containerName,
                                                                                                            SqlContainerCreateUpdateParameters createUpdateSqlContainerParameters)
        Create or update an Azure Cosmos DB SQL container.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        containerName - Cosmos DB container name.
        createUpdateSqlContainerParameters - The parameters to provide for the current SQL container.
        Returns:
        an Azure Cosmos DB container.
        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.
      • beginCreateUpdateSqlContainerAsync

        com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<SqlContainerGetResultsInner>,​SqlContainerGetResultsInner> beginCreateUpdateSqlContainerAsync​(String resourceGroupName,
                                                                                                                                                                                               String accountName,
                                                                                                                                                                                               String databaseName,
                                                                                                                                                                                               String containerName,
                                                                                                                                                                                               SqlContainerCreateUpdateParameters createUpdateSqlContainerParameters)
        Create or update an Azure Cosmos DB SQL container.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        containerName - Cosmos DB container name.
        createUpdateSqlContainerParameters - The parameters to provide for the current SQL container.
        Returns:
        an Azure Cosmos DB container.
        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.
      • beginCreateUpdateSqlContainer

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SqlContainerGetResultsInner>,​SqlContainerGetResultsInner> beginCreateUpdateSqlContainer​(String resourceGroupName,
                                                                                                                                                                                          String accountName,
                                                                                                                                                                                          String databaseName,
                                                                                                                                                                                          String containerName,
                                                                                                                                                                                          SqlContainerCreateUpdateParameters createUpdateSqlContainerParameters)
        Create or update an Azure Cosmos DB SQL container.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        containerName - Cosmos DB container name.
        createUpdateSqlContainerParameters - The parameters to provide for the current SQL container.
        Returns:
        an Azure Cosmos DB container.
        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.
      • beginCreateUpdateSqlContainer

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SqlContainerGetResultsInner>,​SqlContainerGetResultsInner> beginCreateUpdateSqlContainer​(String resourceGroupName,
                                                                                                                                                                                          String accountName,
                                                                                                                                                                                          String databaseName,
                                                                                                                                                                                          String containerName,
                                                                                                                                                                                          SqlContainerCreateUpdateParameters createUpdateSqlContainerParameters,
                                                                                                                                                                                          com.azure.core.util.Context context)
        Create or update an Azure Cosmos DB SQL container.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        containerName - Cosmos DB container name.
        createUpdateSqlContainerParameters - The parameters to provide for the current SQL container.
        context - The context to associate with this operation.
        Returns:
        an Azure Cosmos DB container.
        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.
      • createUpdateSqlContainerAsync

        Mono<SqlContainerGetResultsInner> createUpdateSqlContainerAsync​(String resourceGroupName,
                                                                        String accountName,
                                                                        String databaseName,
                                                                        String containerName,
                                                                        SqlContainerCreateUpdateParameters createUpdateSqlContainerParameters)
        Create or update an Azure Cosmos DB SQL container.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        containerName - Cosmos DB container name.
        createUpdateSqlContainerParameters - The parameters to provide for the current SQL container.
        Returns:
        an Azure Cosmos DB container.
        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.
      • createUpdateSqlContainer

        SqlContainerGetResultsInner createUpdateSqlContainer​(String resourceGroupName,
                                                             String accountName,
                                                             String databaseName,
                                                             String containerName,
                                                             SqlContainerCreateUpdateParameters createUpdateSqlContainerParameters)
        Create or update an Azure Cosmos DB SQL container.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        containerName - Cosmos DB container name.
        createUpdateSqlContainerParameters - The parameters to provide for the current SQL container.
        Returns:
        an Azure Cosmos DB container.
        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.
      • createUpdateSqlContainer

        SqlContainerGetResultsInner createUpdateSqlContainer​(String resourceGroupName,
                                                             String accountName,
                                                             String databaseName,
                                                             String containerName,
                                                             SqlContainerCreateUpdateParameters createUpdateSqlContainerParameters,
                                                             com.azure.core.util.Context context)
        Create or update an Azure Cosmos DB SQL container.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        containerName - Cosmos DB container name.
        createUpdateSqlContainerParameters - The parameters to provide for the current SQL container.
        context - The context to associate with this operation.
        Returns:
        an Azure Cosmos DB container.
        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.
      • deleteSqlContainerWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteSqlContainerWithResponseAsync​(String resourceGroupName,
                                                                                                      String accountName,
                                                                                                      String databaseName,
                                                                                                      String containerName)
        Deletes an existing Azure Cosmos DB SQL container.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        containerName - Cosmos DB container name.
        Returns:
        the completion.
        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.
      • beginDeleteSqlContainerAsync

        com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,​Void> beginDeleteSqlContainerAsync​(String resourceGroupName,
                                                                                                                                           String accountName,
                                                                                                                                           String databaseName,
                                                                                                                                           String containerName)
        Deletes an existing Azure Cosmos DB SQL container.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        containerName - Cosmos DB container name.
        Returns:
        the completion.
        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.
      • beginDeleteSqlContainer

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,​Void> beginDeleteSqlContainer​(String resourceGroupName,
                                                                                                                                      String accountName,
                                                                                                                                      String databaseName,
                                                                                                                                      String containerName)
        Deletes an existing Azure Cosmos DB SQL container.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        containerName - Cosmos DB container name.
        Returns:
        the completion.
        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.
      • beginDeleteSqlContainer

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,​Void> beginDeleteSqlContainer​(String resourceGroupName,
                                                                                                                                      String accountName,
                                                                                                                                      String databaseName,
                                                                                                                                      String containerName,
                                                                                                                                      com.azure.core.util.Context context)
        Deletes an existing Azure Cosmos DB SQL container.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        containerName - Cosmos DB container name.
        context - The context to associate with this operation.
        Returns:
        the completion.
        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.
      • deleteSqlContainerAsync

        Mono<Void> deleteSqlContainerAsync​(String resourceGroupName,
                                           String accountName,
                                           String databaseName,
                                           String containerName)
        Deletes an existing Azure Cosmos DB SQL container.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        containerName - Cosmos DB container name.
        Returns:
        the completion.
        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.
      • deleteSqlContainer

        void deleteSqlContainer​(String resourceGroupName,
                                String accountName,
                                String databaseName,
                                String containerName)
        Deletes an existing Azure Cosmos DB SQL container.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        containerName - Cosmos DB container name.
        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.
      • deleteSqlContainer

        void deleteSqlContainer​(String resourceGroupName,
                                String accountName,
                                String databaseName,
                                String containerName,
                                com.azure.core.util.Context context)
        Deletes an existing Azure Cosmos DB SQL container.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        containerName - Cosmos DB container name.
        context - The context to associate with this operation.
        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.
      • getSqlContainerThroughputWithResponseAsync

        Mono<com.azure.core.http.rest.Response<ThroughputSettingsGetResultsInner>> getSqlContainerThroughputWithResponseAsync​(String resourceGroupName,
                                                                                                                              String accountName,
                                                                                                                              String databaseName,
                                                                                                                              String containerName)
        Gets the RUs per second of the SQL container under an existing Azure Cosmos DB database account.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        containerName - Cosmos DB container name.
        Returns:
        the RUs per second of the SQL container under an existing Azure Cosmos DB database account.
        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.
      • getSqlContainerThroughputAsync

        Mono<ThroughputSettingsGetResultsInner> getSqlContainerThroughputAsync​(String resourceGroupName,
                                                                               String accountName,
                                                                               String databaseName,
                                                                               String containerName)
        Gets the RUs per second of the SQL container under an existing Azure Cosmos DB database account.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        containerName - Cosmos DB container name.
        Returns:
        the RUs per second of the SQL container under an existing Azure Cosmos DB database account.
        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.
      • getSqlContainerThroughput

        ThroughputSettingsGetResultsInner getSqlContainerThroughput​(String resourceGroupName,
                                                                    String accountName,
                                                                    String databaseName,
                                                                    String containerName)
        Gets the RUs per second of the SQL container under an existing Azure Cosmos DB database account.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        containerName - Cosmos DB container name.
        Returns:
        the RUs per second of the SQL container under an existing Azure Cosmos DB database account.
        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.
      • getSqlContainerThroughputWithResponse

        com.azure.core.http.rest.Response<ThroughputSettingsGetResultsInner> getSqlContainerThroughputWithResponse​(String resourceGroupName,
                                                                                                                   String accountName,
                                                                                                                   String databaseName,
                                                                                                                   String containerName,
                                                                                                                   com.azure.core.util.Context context)
        Gets the RUs per second of the SQL container under an existing Azure Cosmos DB database account.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        containerName - Cosmos DB container name.
        context - The context to associate with this operation.
        Returns:
        the RUs per second of the SQL container under an existing Azure Cosmos DB database account.
        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.
      • updateSqlContainerThroughputWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> updateSqlContainerThroughputWithResponseAsync​(String resourceGroupName,
                                                                                                                String accountName,
                                                                                                                String databaseName,
                                                                                                                String containerName,
                                                                                                                ThroughputSettingsUpdateParameters updateThroughputParameters)
        Update RUs per second of an Azure Cosmos DB SQL container.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        containerName - Cosmos DB container name.
        updateThroughputParameters - The parameters to provide for the RUs per second of the current SQL container.
        Returns:
        an Azure Cosmos DB resource throughput.
        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.
      • beginUpdateSqlContainerThroughputAsync

        com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<ThroughputSettingsGetResultsInner>,​ThroughputSettingsGetResultsInner> beginUpdateSqlContainerThroughputAsync​(String resourceGroupName,
                                                                                                                                                                                                               String accountName,
                                                                                                                                                                                                               String databaseName,
                                                                                                                                                                                                               String containerName,
                                                                                                                                                                                                               ThroughputSettingsUpdateParameters updateThroughputParameters)
        Update RUs per second of an Azure Cosmos DB SQL container.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        containerName - Cosmos DB container name.
        updateThroughputParameters - The parameters to provide for the RUs per second of the current SQL container.
        Returns:
        an Azure Cosmos DB resource throughput.
        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.
      • beginUpdateSqlContainerThroughput

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ThroughputSettingsGetResultsInner>,​ThroughputSettingsGetResultsInner> beginUpdateSqlContainerThroughput​(String resourceGroupName,
                                                                                                                                                                                                          String accountName,
                                                                                                                                                                                                          String databaseName,
                                                                                                                                                                                                          String containerName,
                                                                                                                                                                                                          ThroughputSettingsUpdateParameters updateThroughputParameters)
        Update RUs per second of an Azure Cosmos DB SQL container.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        containerName - Cosmos DB container name.
        updateThroughputParameters - The parameters to provide for the RUs per second of the current SQL container.
        Returns:
        an Azure Cosmos DB resource throughput.
        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.
      • beginUpdateSqlContainerThroughput

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ThroughputSettingsGetResultsInner>,​ThroughputSettingsGetResultsInner> beginUpdateSqlContainerThroughput​(String resourceGroupName,
                                                                                                                                                                                                          String accountName,
                                                                                                                                                                                                          String databaseName,
                                                                                                                                                                                                          String containerName,
                                                                                                                                                                                                          ThroughputSettingsUpdateParameters updateThroughputParameters,
                                                                                                                                                                                                          com.azure.core.util.Context context)
        Update RUs per second of an Azure Cosmos DB SQL container.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        containerName - Cosmos DB container name.
        updateThroughputParameters - The parameters to provide for the RUs per second of the current SQL container.
        context - The context to associate with this operation.
        Returns:
        an Azure Cosmos DB resource throughput.
        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.
      • updateSqlContainerThroughputAsync

        Mono<ThroughputSettingsGetResultsInner> updateSqlContainerThroughputAsync​(String resourceGroupName,
                                                                                  String accountName,
                                                                                  String databaseName,
                                                                                  String containerName,
                                                                                  ThroughputSettingsUpdateParameters updateThroughputParameters)
        Update RUs per second of an Azure Cosmos DB SQL container.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        containerName - Cosmos DB container name.
        updateThroughputParameters - The parameters to provide for the RUs per second of the current SQL container.
        Returns:
        an Azure Cosmos DB resource throughput.
        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.
      • updateSqlContainerThroughput

        ThroughputSettingsGetResultsInner updateSqlContainerThroughput​(String resourceGroupName,
                                                                       String accountName,
                                                                       String databaseName,
                                                                       String containerName,
                                                                       ThroughputSettingsUpdateParameters updateThroughputParameters)
        Update RUs per second of an Azure Cosmos DB SQL container.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        containerName - Cosmos DB container name.
        updateThroughputParameters - The parameters to provide for the RUs per second of the current SQL container.
        Returns:
        an Azure Cosmos DB resource throughput.
        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.
      • updateSqlContainerThroughput

        ThroughputSettingsGetResultsInner updateSqlContainerThroughput​(String resourceGroupName,
                                                                       String accountName,
                                                                       String databaseName,
                                                                       String containerName,
                                                                       ThroughputSettingsUpdateParameters updateThroughputParameters,
                                                                       com.azure.core.util.Context context)
        Update RUs per second of an Azure Cosmos DB SQL container.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        containerName - Cosmos DB container name.
        updateThroughputParameters - The parameters to provide for the RUs per second of the current SQL container.
        context - The context to associate with this operation.
        Returns:
        an Azure Cosmos DB resource throughput.
        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.
      • migrateSqlContainerToAutoscaleWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> migrateSqlContainerToAutoscaleWithResponseAsync​(String resourceGroupName,
                                                                                                                  String accountName,
                                                                                                                  String databaseName,
                                                                                                                  String containerName)
        Migrate an Azure Cosmos DB SQL container from manual throughput to autoscale.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        containerName - Cosmos DB container name.
        Returns:
        an Azure Cosmos DB resource throughput.
        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.
      • beginMigrateSqlContainerToAutoscaleAsync

        com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<ThroughputSettingsGetResultsInner>,​ThroughputSettingsGetResultsInner> beginMigrateSqlContainerToAutoscaleAsync​(String resourceGroupName,
                                                                                                                                                                                                                 String accountName,
                                                                                                                                                                                                                 String databaseName,
                                                                                                                                                                                                                 String containerName)
        Migrate an Azure Cosmos DB SQL container from manual throughput to autoscale.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        containerName - Cosmos DB container name.
        Returns:
        an Azure Cosmos DB resource throughput.
        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.
      • beginMigrateSqlContainerToAutoscale

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ThroughputSettingsGetResultsInner>,​ThroughputSettingsGetResultsInner> beginMigrateSqlContainerToAutoscale​(String resourceGroupName,
                                                                                                                                                                                                            String accountName,
                                                                                                                                                                                                            String databaseName,
                                                                                                                                                                                                            String containerName)
        Migrate an Azure Cosmos DB SQL container from manual throughput to autoscale.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        containerName - Cosmos DB container name.
        Returns:
        an Azure Cosmos DB resource throughput.
        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.
      • beginMigrateSqlContainerToAutoscale

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ThroughputSettingsGetResultsInner>,​ThroughputSettingsGetResultsInner> beginMigrateSqlContainerToAutoscale​(String resourceGroupName,
                                                                                                                                                                                                            String accountName,
                                                                                                                                                                                                            String databaseName,
                                                                                                                                                                                                            String containerName,
                                                                                                                                                                                                            com.azure.core.util.Context context)
        Migrate an Azure Cosmos DB SQL container from manual throughput to autoscale.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        containerName - Cosmos DB container name.
        context - The context to associate with this operation.
        Returns:
        an Azure Cosmos DB resource throughput.
        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.
      • migrateSqlContainerToAutoscaleAsync

        Mono<ThroughputSettingsGetResultsInner> migrateSqlContainerToAutoscaleAsync​(String resourceGroupName,
                                                                                    String accountName,
                                                                                    String databaseName,
                                                                                    String containerName)
        Migrate an Azure Cosmos DB SQL container from manual throughput to autoscale.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        containerName - Cosmos DB container name.
        Returns:
        an Azure Cosmos DB resource throughput.
        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.
      • migrateSqlContainerToAutoscale

        ThroughputSettingsGetResultsInner migrateSqlContainerToAutoscale​(String resourceGroupName,
                                                                         String accountName,
                                                                         String databaseName,
                                                                         String containerName)
        Migrate an Azure Cosmos DB SQL container from manual throughput to autoscale.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        containerName - Cosmos DB container name.
        Returns:
        an Azure Cosmos DB resource throughput.
        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.
      • migrateSqlContainerToAutoscale

        ThroughputSettingsGetResultsInner migrateSqlContainerToAutoscale​(String resourceGroupName,
                                                                         String accountName,
                                                                         String databaseName,
                                                                         String containerName,
                                                                         com.azure.core.util.Context context)
        Migrate an Azure Cosmos DB SQL container from manual throughput to autoscale.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        containerName - Cosmos DB container name.
        context - The context to associate with this operation.
        Returns:
        an Azure Cosmos DB resource throughput.
        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.
      • migrateSqlContainerToManualThroughputWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> migrateSqlContainerToManualThroughputWithResponseAsync​(String resourceGroupName,
                                                                                                                         String accountName,
                                                                                                                         String databaseName,
                                                                                                                         String containerName)
        Migrate an Azure Cosmos DB SQL container from autoscale to manual throughput.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        containerName - Cosmos DB container name.
        Returns:
        an Azure Cosmos DB resource throughput.
        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.
      • beginMigrateSqlContainerToManualThroughputAsync

        com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<ThroughputSettingsGetResultsInner>,​ThroughputSettingsGetResultsInner> beginMigrateSqlContainerToManualThroughputAsync​(String resourceGroupName,
                                                                                                                                                                                                                        String accountName,
                                                                                                                                                                                                                        String databaseName,
                                                                                                                                                                                                                        String containerName)
        Migrate an Azure Cosmos DB SQL container from autoscale to manual throughput.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        containerName - Cosmos DB container name.
        Returns:
        an Azure Cosmos DB resource throughput.
        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.
      • beginMigrateSqlContainerToManualThroughput

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ThroughputSettingsGetResultsInner>,​ThroughputSettingsGetResultsInner> beginMigrateSqlContainerToManualThroughput​(String resourceGroupName,
                                                                                                                                                                                                                   String accountName,
                                                                                                                                                                                                                   String databaseName,
                                                                                                                                                                                                                   String containerName)
        Migrate an Azure Cosmos DB SQL container from autoscale to manual throughput.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        containerName - Cosmos DB container name.
        Returns:
        an Azure Cosmos DB resource throughput.
        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.
      • beginMigrateSqlContainerToManualThroughput

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ThroughputSettingsGetResultsInner>,​ThroughputSettingsGetResultsInner> beginMigrateSqlContainerToManualThroughput​(String resourceGroupName,
                                                                                                                                                                                                                   String accountName,
                                                                                                                                                                                                                   String databaseName,
                                                                                                                                                                                                                   String containerName,
                                                                                                                                                                                                                   com.azure.core.util.Context context)
        Migrate an Azure Cosmos DB SQL container from autoscale to manual throughput.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        containerName - Cosmos DB container name.
        context - The context to associate with this operation.
        Returns:
        an Azure Cosmos DB resource throughput.
        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.
      • migrateSqlContainerToManualThroughputAsync

        Mono<ThroughputSettingsGetResultsInner> migrateSqlContainerToManualThroughputAsync​(String resourceGroupName,
                                                                                           String accountName,
                                                                                           String databaseName,
                                                                                           String containerName)
        Migrate an Azure Cosmos DB SQL container from autoscale to manual throughput.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        containerName - Cosmos DB container name.
        Returns:
        an Azure Cosmos DB resource throughput.
        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.
      • migrateSqlContainerToManualThroughput

        ThroughputSettingsGetResultsInner migrateSqlContainerToManualThroughput​(String resourceGroupName,
                                                                                String accountName,
                                                                                String databaseName,
                                                                                String containerName)
        Migrate an Azure Cosmos DB SQL container from autoscale to manual throughput.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        containerName - Cosmos DB container name.
        Returns:
        an Azure Cosmos DB resource throughput.
        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.
      • migrateSqlContainerToManualThroughput

        ThroughputSettingsGetResultsInner migrateSqlContainerToManualThroughput​(String resourceGroupName,
                                                                                String accountName,
                                                                                String databaseName,
                                                                                String containerName,
                                                                                com.azure.core.util.Context context)
        Migrate an Azure Cosmos DB SQL container from autoscale to manual throughput.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        containerName - Cosmos DB container name.
        context - The context to associate with this operation.
        Returns:
        an Azure Cosmos DB resource throughput.
        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.
      • listSqlStoredProceduresAsync

        com.azure.core.http.rest.PagedFlux<SqlStoredProcedureGetResultsInner> listSqlStoredProceduresAsync​(String resourceGroupName,
                                                                                                           String accountName,
                                                                                                           String databaseName,
                                                                                                           String containerName)
        Lists the SQL storedProcedure under an existing Azure Cosmos DB database account.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        containerName - Cosmos DB container name.
        Returns:
        the List operation response, that contains the storedProcedures 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.
      • listSqlStoredProcedures

        com.azure.core.http.rest.PagedIterable<SqlStoredProcedureGetResultsInner> listSqlStoredProcedures​(String resourceGroupName,
                                                                                                          String accountName,
                                                                                                          String databaseName,
                                                                                                          String containerName)
        Lists the SQL storedProcedure under an existing Azure Cosmos DB database account.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        containerName - Cosmos DB container name.
        Returns:
        the List operation response, that contains the storedProcedures 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.
      • listSqlStoredProcedures

        com.azure.core.http.rest.PagedIterable<SqlStoredProcedureGetResultsInner> listSqlStoredProcedures​(String resourceGroupName,
                                                                                                          String accountName,
                                                                                                          String databaseName,
                                                                                                          String containerName,
                                                                                                          com.azure.core.util.Context context)
        Lists the SQL storedProcedure under an existing Azure Cosmos DB database account.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        containerName - Cosmos DB container name.
        context - The context to associate with this operation.
        Returns:
        the List operation response, that contains the storedProcedures 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.
      • getSqlStoredProcedureWithResponseAsync

        Mono<com.azure.core.http.rest.Response<SqlStoredProcedureGetResultsInner>> getSqlStoredProcedureWithResponseAsync​(String resourceGroupName,
                                                                                                                          String accountName,
                                                                                                                          String databaseName,
                                                                                                                          String containerName,
                                                                                                                          String storedProcedureName)
        Gets the SQL storedProcedure under an existing Azure Cosmos DB database account.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        containerName - Cosmos DB container name.
        storedProcedureName - Cosmos DB storedProcedure name.
        Returns:
        the SQL storedProcedure under an existing Azure Cosmos DB database account.
        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.
      • getSqlStoredProcedureAsync

        Mono<SqlStoredProcedureGetResultsInner> getSqlStoredProcedureAsync​(String resourceGroupName,
                                                                           String accountName,
                                                                           String databaseName,
                                                                           String containerName,
                                                                           String storedProcedureName)
        Gets the SQL storedProcedure under an existing Azure Cosmos DB database account.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        containerName - Cosmos DB container name.
        storedProcedureName - Cosmos DB storedProcedure name.
        Returns:
        the SQL storedProcedure under an existing Azure Cosmos DB database account.
        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.
      • getSqlStoredProcedure

        SqlStoredProcedureGetResultsInner getSqlStoredProcedure​(String resourceGroupName,
                                                                String accountName,
                                                                String databaseName,
                                                                String containerName,
                                                                String storedProcedureName)
        Gets the SQL storedProcedure under an existing Azure Cosmos DB database account.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        containerName - Cosmos DB container name.
        storedProcedureName - Cosmos DB storedProcedure name.
        Returns:
        the SQL storedProcedure under an existing Azure Cosmos DB database account.
        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.
      • getSqlStoredProcedureWithResponse

        com.azure.core.http.rest.Response<SqlStoredProcedureGetResultsInner> getSqlStoredProcedureWithResponse​(String resourceGroupName,
                                                                                                               String accountName,
                                                                                                               String databaseName,
                                                                                                               String containerName,
                                                                                                               String storedProcedureName,
                                                                                                               com.azure.core.util.Context context)
        Gets the SQL storedProcedure under an existing Azure Cosmos DB database account.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        containerName - Cosmos DB container name.
        storedProcedureName - Cosmos DB storedProcedure name.
        context - The context to associate with this operation.
        Returns:
        the SQL storedProcedure under an existing Azure Cosmos DB database account.
        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.
      • createUpdateSqlStoredProcedureWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createUpdateSqlStoredProcedureWithResponseAsync​(String resourceGroupName,
                                                                                                                  String accountName,
                                                                                                                  String databaseName,
                                                                                                                  String containerName,
                                                                                                                  String storedProcedureName,
                                                                                                                  SqlStoredProcedureCreateUpdateParameters createUpdateSqlStoredProcedureParameters)
        Create or update an Azure Cosmos DB SQL storedProcedure.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        containerName - Cosmos DB container name.
        storedProcedureName - Cosmos DB storedProcedure name.
        createUpdateSqlStoredProcedureParameters - The parameters to provide for the current SQL storedProcedure.
        Returns:
        an Azure Cosmos DB storedProcedure.
        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.
      • beginCreateUpdateSqlStoredProcedureAsync

        com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<SqlStoredProcedureGetResultsInner>,​SqlStoredProcedureGetResultsInner> beginCreateUpdateSqlStoredProcedureAsync​(String resourceGroupName,
                                                                                                                                                                                                                 String accountName,
                                                                                                                                                                                                                 String databaseName,
                                                                                                                                                                                                                 String containerName,
                                                                                                                                                                                                                 String storedProcedureName,
                                                                                                                                                                                                                 SqlStoredProcedureCreateUpdateParameters createUpdateSqlStoredProcedureParameters)
        Create or update an Azure Cosmos DB SQL storedProcedure.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        containerName - Cosmos DB container name.
        storedProcedureName - Cosmos DB storedProcedure name.
        createUpdateSqlStoredProcedureParameters - The parameters to provide for the current SQL storedProcedure.
        Returns:
        an Azure Cosmos DB storedProcedure.
        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.
      • beginCreateUpdateSqlStoredProcedure

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SqlStoredProcedureGetResultsInner>,​SqlStoredProcedureGetResultsInner> beginCreateUpdateSqlStoredProcedure​(String resourceGroupName,
                                                                                                                                                                                                            String accountName,
                                                                                                                                                                                                            String databaseName,
                                                                                                                                                                                                            String containerName,
                                                                                                                                                                                                            String storedProcedureName,
                                                                                                                                                                                                            SqlStoredProcedureCreateUpdateParameters createUpdateSqlStoredProcedureParameters)
        Create or update an Azure Cosmos DB SQL storedProcedure.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        containerName - Cosmos DB container name.
        storedProcedureName - Cosmos DB storedProcedure name.
        createUpdateSqlStoredProcedureParameters - The parameters to provide for the current SQL storedProcedure.
        Returns:
        an Azure Cosmos DB storedProcedure.
        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.
      • beginCreateUpdateSqlStoredProcedure

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SqlStoredProcedureGetResultsInner>,​SqlStoredProcedureGetResultsInner> beginCreateUpdateSqlStoredProcedure​(String resourceGroupName,
                                                                                                                                                                                                            String accountName,
                                                                                                                                                                                                            String databaseName,
                                                                                                                                                                                                            String containerName,
                                                                                                                                                                                                            String storedProcedureName,
                                                                                                                                                                                                            SqlStoredProcedureCreateUpdateParameters createUpdateSqlStoredProcedureParameters,
                                                                                                                                                                                                            com.azure.core.util.Context context)
        Create or update an Azure Cosmos DB SQL storedProcedure.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        containerName - Cosmos DB container name.
        storedProcedureName - Cosmos DB storedProcedure name.
        createUpdateSqlStoredProcedureParameters - The parameters to provide for the current SQL storedProcedure.
        context - The context to associate with this operation.
        Returns:
        an Azure Cosmos DB storedProcedure.
        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.
      • createUpdateSqlStoredProcedureAsync

        Mono<SqlStoredProcedureGetResultsInner> createUpdateSqlStoredProcedureAsync​(String resourceGroupName,
                                                                                    String accountName,
                                                                                    String databaseName,
                                                                                    String containerName,
                                                                                    String storedProcedureName,
                                                                                    SqlStoredProcedureCreateUpdateParameters createUpdateSqlStoredProcedureParameters)
        Create or update an Azure Cosmos DB SQL storedProcedure.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        containerName - Cosmos DB container name.
        storedProcedureName - Cosmos DB storedProcedure name.
        createUpdateSqlStoredProcedureParameters - The parameters to provide for the current SQL storedProcedure.
        Returns:
        an Azure Cosmos DB storedProcedure.
        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.
      • createUpdateSqlStoredProcedure

        SqlStoredProcedureGetResultsInner createUpdateSqlStoredProcedure​(String resourceGroupName,
                                                                         String accountName,
                                                                         String databaseName,
                                                                         String containerName,
                                                                         String storedProcedureName,
                                                                         SqlStoredProcedureCreateUpdateParameters createUpdateSqlStoredProcedureParameters)
        Create or update an Azure Cosmos DB SQL storedProcedure.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        containerName - Cosmos DB container name.
        storedProcedureName - Cosmos DB storedProcedure name.
        createUpdateSqlStoredProcedureParameters - The parameters to provide for the current SQL storedProcedure.
        Returns:
        an Azure Cosmos DB storedProcedure.
        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.
      • createUpdateSqlStoredProcedure

        SqlStoredProcedureGetResultsInner createUpdateSqlStoredProcedure​(String resourceGroupName,
                                                                         String accountName,
                                                                         String databaseName,
                                                                         String containerName,
                                                                         String storedProcedureName,
                                                                         SqlStoredProcedureCreateUpdateParameters createUpdateSqlStoredProcedureParameters,
                                                                         com.azure.core.util.Context context)
        Create or update an Azure Cosmos DB SQL storedProcedure.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        containerName - Cosmos DB container name.
        storedProcedureName - Cosmos DB storedProcedure name.
        createUpdateSqlStoredProcedureParameters - The parameters to provide for the current SQL storedProcedure.
        context - The context to associate with this operation.
        Returns:
        an Azure Cosmos DB storedProcedure.
        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.
      • deleteSqlStoredProcedureWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteSqlStoredProcedureWithResponseAsync​(String resourceGroupName,
                                                                                                            String accountName,
                                                                                                            String databaseName,
                                                                                                            String containerName,
                                                                                                            String storedProcedureName)
        Deletes an existing Azure Cosmos DB SQL storedProcedure.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        containerName - Cosmos DB container name.
        storedProcedureName - Cosmos DB storedProcedure name.
        Returns:
        the completion.
        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.
      • beginDeleteSqlStoredProcedureAsync

        com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,​Void> beginDeleteSqlStoredProcedureAsync​(String resourceGroupName,
                                                                                                                                                 String accountName,
                                                                                                                                                 String databaseName,
                                                                                                                                                 String containerName,
                                                                                                                                                 String storedProcedureName)
        Deletes an existing Azure Cosmos DB SQL storedProcedure.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        containerName - Cosmos DB container name.
        storedProcedureName - Cosmos DB storedProcedure name.
        Returns:
        the completion.
        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.
      • beginDeleteSqlStoredProcedure

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,​Void> beginDeleteSqlStoredProcedure​(String resourceGroupName,
                                                                                                                                            String accountName,
                                                                                                                                            String databaseName,
                                                                                                                                            String containerName,
                                                                                                                                            String storedProcedureName)
        Deletes an existing Azure Cosmos DB SQL storedProcedure.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        containerName - Cosmos DB container name.
        storedProcedureName - Cosmos DB storedProcedure name.
        Returns:
        the completion.
        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.
      • beginDeleteSqlStoredProcedure

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,​Void> beginDeleteSqlStoredProcedure​(String resourceGroupName,
                                                                                                                                            String accountName,
                                                                                                                                            String databaseName,
                                                                                                                                            String containerName,
                                                                                                                                            String storedProcedureName,
                                                                                                                                            com.azure.core.util.Context context)
        Deletes an existing Azure Cosmos DB SQL storedProcedure.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        containerName - Cosmos DB container name.
        storedProcedureName - Cosmos DB storedProcedure name.
        context - The context to associate with this operation.
        Returns:
        the completion.
        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.
      • deleteSqlStoredProcedureAsync

        Mono<Void> deleteSqlStoredProcedureAsync​(String resourceGroupName,
                                                 String accountName,
                                                 String databaseName,
                                                 String containerName,
                                                 String storedProcedureName)
        Deletes an existing Azure Cosmos DB SQL storedProcedure.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        containerName - Cosmos DB container name.
        storedProcedureName - Cosmos DB storedProcedure name.
        Returns:
        the completion.
        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.
      • deleteSqlStoredProcedure

        void deleteSqlStoredProcedure​(String resourceGroupName,
                                      String accountName,
                                      String databaseName,
                                      String containerName,
                                      String storedProcedureName)
        Deletes an existing Azure Cosmos DB SQL storedProcedure.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        containerName - Cosmos DB container name.
        storedProcedureName - Cosmos DB storedProcedure name.
        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.
      • deleteSqlStoredProcedure

        void deleteSqlStoredProcedure​(String resourceGroupName,
                                      String accountName,
                                      String databaseName,
                                      String containerName,
                                      String storedProcedureName,
                                      com.azure.core.util.Context context)
        Deletes an existing Azure Cosmos DB SQL storedProcedure.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        containerName - Cosmos DB container name.
        storedProcedureName - Cosmos DB storedProcedure name.
        context - The context to associate with this operation.
        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.
      • listSqlUserDefinedFunctionsAsync

        com.azure.core.http.rest.PagedFlux<SqlUserDefinedFunctionGetResultsInner> listSqlUserDefinedFunctionsAsync​(String resourceGroupName,
                                                                                                                   String accountName,
                                                                                                                   String databaseName,
                                                                                                                   String containerName)
        Lists the SQL userDefinedFunction under an existing Azure Cosmos DB database account.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        containerName - Cosmos DB container name.
        Returns:
        the List operation response, that contains the userDefinedFunctions 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.
      • listSqlUserDefinedFunctions

        com.azure.core.http.rest.PagedIterable<SqlUserDefinedFunctionGetResultsInner> listSqlUserDefinedFunctions​(String resourceGroupName,
                                                                                                                  String accountName,
                                                                                                                  String databaseName,
                                                                                                                  String containerName)
        Lists the SQL userDefinedFunction under an existing Azure Cosmos DB database account.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        containerName - Cosmos DB container name.
        Returns:
        the List operation response, that contains the userDefinedFunctions 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.
      • listSqlUserDefinedFunctions

        com.azure.core.http.rest.PagedIterable<SqlUserDefinedFunctionGetResultsInner> listSqlUserDefinedFunctions​(String resourceGroupName,
                                                                                                                  String accountName,
                                                                                                                  String databaseName,
                                                                                                                  String containerName,
                                                                                                                  com.azure.core.util.Context context)
        Lists the SQL userDefinedFunction under an existing Azure Cosmos DB database account.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        containerName - Cosmos DB container name.
        context - The context to associate with this operation.
        Returns:
        the List operation response, that contains the userDefinedFunctions 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.
      • getSqlUserDefinedFunctionWithResponseAsync

        Mono<com.azure.core.http.rest.Response<SqlUserDefinedFunctionGetResultsInner>> getSqlUserDefinedFunctionWithResponseAsync​(String resourceGroupName,
                                                                                                                                  String accountName,
                                                                                                                                  String databaseName,
                                                                                                                                  String containerName,
                                                                                                                                  String userDefinedFunctionName)
        Gets the SQL userDefinedFunction under an existing Azure Cosmos DB database account.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        containerName - Cosmos DB container name.
        userDefinedFunctionName - Cosmos DB userDefinedFunction name.
        Returns:
        the SQL userDefinedFunction under an existing Azure Cosmos DB database account.
        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.
      • getSqlUserDefinedFunctionAsync

        Mono<SqlUserDefinedFunctionGetResultsInner> getSqlUserDefinedFunctionAsync​(String resourceGroupName,
                                                                                   String accountName,
                                                                                   String databaseName,
                                                                                   String containerName,
                                                                                   String userDefinedFunctionName)
        Gets the SQL userDefinedFunction under an existing Azure Cosmos DB database account.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        containerName - Cosmos DB container name.
        userDefinedFunctionName - Cosmos DB userDefinedFunction name.
        Returns:
        the SQL userDefinedFunction under an existing Azure Cosmos DB database account.
        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.
      • getSqlUserDefinedFunction

        SqlUserDefinedFunctionGetResultsInner getSqlUserDefinedFunction​(String resourceGroupName,
                                                                        String accountName,
                                                                        String databaseName,
                                                                        String containerName,
                                                                        String userDefinedFunctionName)
        Gets the SQL userDefinedFunction under an existing Azure Cosmos DB database account.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        containerName - Cosmos DB container name.
        userDefinedFunctionName - Cosmos DB userDefinedFunction name.
        Returns:
        the SQL userDefinedFunction under an existing Azure Cosmos DB database account.
        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.
      • getSqlUserDefinedFunctionWithResponse

        com.azure.core.http.rest.Response<SqlUserDefinedFunctionGetResultsInner> getSqlUserDefinedFunctionWithResponse​(String resourceGroupName,
                                                                                                                       String accountName,
                                                                                                                       String databaseName,
                                                                                                                       String containerName,
                                                                                                                       String userDefinedFunctionName,
                                                                                                                       com.azure.core.util.Context context)
        Gets the SQL userDefinedFunction under an existing Azure Cosmos DB database account.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        containerName - Cosmos DB container name.
        userDefinedFunctionName - Cosmos DB userDefinedFunction name.
        context - The context to associate with this operation.
        Returns:
        the SQL userDefinedFunction under an existing Azure Cosmos DB database account.
        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.
      • createUpdateSqlUserDefinedFunctionWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createUpdateSqlUserDefinedFunctionWithResponseAsync​(String resourceGroupName,
                                                                                                                      String accountName,
                                                                                                                      String databaseName,
                                                                                                                      String containerName,
                                                                                                                      String userDefinedFunctionName,
                                                                                                                      SqlUserDefinedFunctionCreateUpdateParameters createUpdateSqlUserDefinedFunctionParameters)
        Create or update an Azure Cosmos DB SQL userDefinedFunction.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        containerName - Cosmos DB container name.
        userDefinedFunctionName - Cosmos DB userDefinedFunction name.
        createUpdateSqlUserDefinedFunctionParameters - The parameters to provide for the current SQL userDefinedFunction.
        Returns:
        an Azure Cosmos DB userDefinedFunction.
        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.
      • beginCreateUpdateSqlUserDefinedFunctionAsync

        com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<SqlUserDefinedFunctionGetResultsInner>,​SqlUserDefinedFunctionGetResultsInner> beginCreateUpdateSqlUserDefinedFunctionAsync​(String resourceGroupName,
                                                                                                                                                                                                                             String accountName,
                                                                                                                                                                                                                             String databaseName,
                                                                                                                                                                                                                             String containerName,
                                                                                                                                                                                                                             String userDefinedFunctionName,
                                                                                                                                                                                                                             SqlUserDefinedFunctionCreateUpdateParameters createUpdateSqlUserDefinedFunctionParameters)
        Create or update an Azure Cosmos DB SQL userDefinedFunction.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        containerName - Cosmos DB container name.
        userDefinedFunctionName - Cosmos DB userDefinedFunction name.
        createUpdateSqlUserDefinedFunctionParameters - The parameters to provide for the current SQL userDefinedFunction.
        Returns:
        an Azure Cosmos DB userDefinedFunction.
        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.
      • beginCreateUpdateSqlUserDefinedFunction

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SqlUserDefinedFunctionGetResultsInner>,​SqlUserDefinedFunctionGetResultsInner> beginCreateUpdateSqlUserDefinedFunction​(String resourceGroupName,
                                                                                                                                                                                                                        String accountName,
                                                                                                                                                                                                                        String databaseName,
                                                                                                                                                                                                                        String containerName,
                                                                                                                                                                                                                        String userDefinedFunctionName,
                                                                                                                                                                                                                        SqlUserDefinedFunctionCreateUpdateParameters createUpdateSqlUserDefinedFunctionParameters)
        Create or update an Azure Cosmos DB SQL userDefinedFunction.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        containerName - Cosmos DB container name.
        userDefinedFunctionName - Cosmos DB userDefinedFunction name.
        createUpdateSqlUserDefinedFunctionParameters - The parameters to provide for the current SQL userDefinedFunction.
        Returns:
        an Azure Cosmos DB userDefinedFunction.
        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.
      • beginCreateUpdateSqlUserDefinedFunction

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SqlUserDefinedFunctionGetResultsInner>,​SqlUserDefinedFunctionGetResultsInner> beginCreateUpdateSqlUserDefinedFunction​(String resourceGroupName,
                                                                                                                                                                                                                        String accountName,
                                                                                                                                                                                                                        String databaseName,
                                                                                                                                                                                                                        String containerName,
                                                                                                                                                                                                                        String userDefinedFunctionName,
                                                                                                                                                                                                                        SqlUserDefinedFunctionCreateUpdateParameters createUpdateSqlUserDefinedFunctionParameters,
                                                                                                                                                                                                                        com.azure.core.util.Context context)
        Create or update an Azure Cosmos DB SQL userDefinedFunction.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        containerName - Cosmos DB container name.
        userDefinedFunctionName - Cosmos DB userDefinedFunction name.
        createUpdateSqlUserDefinedFunctionParameters - The parameters to provide for the current SQL userDefinedFunction.
        context - The context to associate with this operation.
        Returns:
        an Azure Cosmos DB userDefinedFunction.
        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.
      • createUpdateSqlUserDefinedFunctionAsync

        Mono<SqlUserDefinedFunctionGetResultsInner> createUpdateSqlUserDefinedFunctionAsync​(String resourceGroupName,
                                                                                            String accountName,
                                                                                            String databaseName,
                                                                                            String containerName,
                                                                                            String userDefinedFunctionName,
                                                                                            SqlUserDefinedFunctionCreateUpdateParameters createUpdateSqlUserDefinedFunctionParameters)
        Create or update an Azure Cosmos DB SQL userDefinedFunction.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        containerName - Cosmos DB container name.
        userDefinedFunctionName - Cosmos DB userDefinedFunction name.
        createUpdateSqlUserDefinedFunctionParameters - The parameters to provide for the current SQL userDefinedFunction.
        Returns:
        an Azure Cosmos DB userDefinedFunction.
        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.
      • createUpdateSqlUserDefinedFunction

        SqlUserDefinedFunctionGetResultsInner createUpdateSqlUserDefinedFunction​(String resourceGroupName,
                                                                                 String accountName,
                                                                                 String databaseName,
                                                                                 String containerName,
                                                                                 String userDefinedFunctionName,
                                                                                 SqlUserDefinedFunctionCreateUpdateParameters createUpdateSqlUserDefinedFunctionParameters)
        Create or update an Azure Cosmos DB SQL userDefinedFunction.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        containerName - Cosmos DB container name.
        userDefinedFunctionName - Cosmos DB userDefinedFunction name.
        createUpdateSqlUserDefinedFunctionParameters - The parameters to provide for the current SQL userDefinedFunction.
        Returns:
        an Azure Cosmos DB userDefinedFunction.
        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.
      • createUpdateSqlUserDefinedFunction

        SqlUserDefinedFunctionGetResultsInner createUpdateSqlUserDefinedFunction​(String resourceGroupName,
                                                                                 String accountName,
                                                                                 String databaseName,
                                                                                 String containerName,
                                                                                 String userDefinedFunctionName,
                                                                                 SqlUserDefinedFunctionCreateUpdateParameters createUpdateSqlUserDefinedFunctionParameters,
                                                                                 com.azure.core.util.Context context)
        Create or update an Azure Cosmos DB SQL userDefinedFunction.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        containerName - Cosmos DB container name.
        userDefinedFunctionName - Cosmos DB userDefinedFunction name.
        createUpdateSqlUserDefinedFunctionParameters - The parameters to provide for the current SQL userDefinedFunction.
        context - The context to associate with this operation.
        Returns:
        an Azure Cosmos DB userDefinedFunction.
        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.
      • deleteSqlUserDefinedFunctionWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteSqlUserDefinedFunctionWithResponseAsync​(String resourceGroupName,
                                                                                                                String accountName,
                                                                                                                String databaseName,
                                                                                                                String containerName,
                                                                                                                String userDefinedFunctionName)
        Deletes an existing Azure Cosmos DB SQL userDefinedFunction.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        containerName - Cosmos DB container name.
        userDefinedFunctionName - Cosmos DB userDefinedFunction name.
        Returns:
        the completion.
        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.
      • beginDeleteSqlUserDefinedFunctionAsync

        com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,​Void> beginDeleteSqlUserDefinedFunctionAsync​(String resourceGroupName,
                                                                                                                                                     String accountName,
                                                                                                                                                     String databaseName,
                                                                                                                                                     String containerName,
                                                                                                                                                     String userDefinedFunctionName)
        Deletes an existing Azure Cosmos DB SQL userDefinedFunction.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        containerName - Cosmos DB container name.
        userDefinedFunctionName - Cosmos DB userDefinedFunction name.
        Returns:
        the completion.
        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.
      • beginDeleteSqlUserDefinedFunction

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,​Void> beginDeleteSqlUserDefinedFunction​(String resourceGroupName,
                                                                                                                                                String accountName,
                                                                                                                                                String databaseName,
                                                                                                                                                String containerName,
                                                                                                                                                String userDefinedFunctionName)
        Deletes an existing Azure Cosmos DB SQL userDefinedFunction.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        containerName - Cosmos DB container name.
        userDefinedFunctionName - Cosmos DB userDefinedFunction name.
        Returns:
        the completion.
        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.
      • beginDeleteSqlUserDefinedFunction

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,​Void> beginDeleteSqlUserDefinedFunction​(String resourceGroupName,
                                                                                                                                                String accountName,
                                                                                                                                                String databaseName,
                                                                                                                                                String containerName,
                                                                                                                                                String userDefinedFunctionName,
                                                                                                                                                com.azure.core.util.Context context)
        Deletes an existing Azure Cosmos DB SQL userDefinedFunction.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        containerName - Cosmos DB container name.
        userDefinedFunctionName - Cosmos DB userDefinedFunction name.
        context - The context to associate with this operation.
        Returns:
        the completion.
        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.
      • deleteSqlUserDefinedFunctionAsync

        Mono<Void> deleteSqlUserDefinedFunctionAsync​(String resourceGroupName,
                                                     String accountName,
                                                     String databaseName,
                                                     String containerName,
                                                     String userDefinedFunctionName)
        Deletes an existing Azure Cosmos DB SQL userDefinedFunction.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        containerName - Cosmos DB container name.
        userDefinedFunctionName - Cosmos DB userDefinedFunction name.
        Returns:
        the completion.
        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.
      • deleteSqlUserDefinedFunction

        void deleteSqlUserDefinedFunction​(String resourceGroupName,
                                          String accountName,
                                          String databaseName,
                                          String containerName,
                                          String userDefinedFunctionName)
        Deletes an existing Azure Cosmos DB SQL userDefinedFunction.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        containerName - Cosmos DB container name.
        userDefinedFunctionName - Cosmos DB userDefinedFunction name.
        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.
      • deleteSqlUserDefinedFunction

        void deleteSqlUserDefinedFunction​(String resourceGroupName,
                                          String accountName,
                                          String databaseName,
                                          String containerName,
                                          String userDefinedFunctionName,
                                          com.azure.core.util.Context context)
        Deletes an existing Azure Cosmos DB SQL userDefinedFunction.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        containerName - Cosmos DB container name.
        userDefinedFunctionName - Cosmos DB userDefinedFunction name.
        context - The context to associate with this operation.
        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.
      • listSqlTriggersAsync

        com.azure.core.http.rest.PagedFlux<SqlTriggerGetResultsInner> listSqlTriggersAsync​(String resourceGroupName,
                                                                                           String accountName,
                                                                                           String databaseName,
                                                                                           String containerName)
        Lists the SQL trigger under an existing Azure Cosmos DB database account.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        containerName - Cosmos DB container name.
        Returns:
        the List operation response, that contains the triggers 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.
      • listSqlTriggers

        com.azure.core.http.rest.PagedIterable<SqlTriggerGetResultsInner> listSqlTriggers​(String resourceGroupName,
                                                                                          String accountName,
                                                                                          String databaseName,
                                                                                          String containerName)
        Lists the SQL trigger under an existing Azure Cosmos DB database account.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        containerName - Cosmos DB container name.
        Returns:
        the List operation response, that contains the triggers 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.
      • listSqlTriggers

        com.azure.core.http.rest.PagedIterable<SqlTriggerGetResultsInner> listSqlTriggers​(String resourceGroupName,
                                                                                          String accountName,
                                                                                          String databaseName,
                                                                                          String containerName,
                                                                                          com.azure.core.util.Context context)
        Lists the SQL trigger under an existing Azure Cosmos DB database account.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        containerName - Cosmos DB container name.
        context - The context to associate with this operation.
        Returns:
        the List operation response, that contains the triggers 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.
      • getSqlTriggerWithResponseAsync

        Mono<com.azure.core.http.rest.Response<SqlTriggerGetResultsInner>> getSqlTriggerWithResponseAsync​(String resourceGroupName,
                                                                                                          String accountName,
                                                                                                          String databaseName,
                                                                                                          String containerName,
                                                                                                          String triggerName)
        Gets the SQL trigger under an existing Azure Cosmos DB database account.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        containerName - Cosmos DB container name.
        triggerName - Cosmos DB trigger name.
        Returns:
        the SQL trigger under an existing Azure Cosmos DB database account.
        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.
      • getSqlTriggerAsync

        Mono<SqlTriggerGetResultsInner> getSqlTriggerAsync​(String resourceGroupName,
                                                           String accountName,
                                                           String databaseName,
                                                           String containerName,
                                                           String triggerName)
        Gets the SQL trigger under an existing Azure Cosmos DB database account.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        containerName - Cosmos DB container name.
        triggerName - Cosmos DB trigger name.
        Returns:
        the SQL trigger under an existing Azure Cosmos DB database account.
        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.
      • getSqlTrigger

        SqlTriggerGetResultsInner getSqlTrigger​(String resourceGroupName,
                                                String accountName,
                                                String databaseName,
                                                String containerName,
                                                String triggerName)
        Gets the SQL trigger under an existing Azure Cosmos DB database account.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        containerName - Cosmos DB container name.
        triggerName - Cosmos DB trigger name.
        Returns:
        the SQL trigger under an existing Azure Cosmos DB database account.
        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.
      • getSqlTriggerWithResponse

        com.azure.core.http.rest.Response<SqlTriggerGetResultsInner> getSqlTriggerWithResponse​(String resourceGroupName,
                                                                                               String accountName,
                                                                                               String databaseName,
                                                                                               String containerName,
                                                                                               String triggerName,
                                                                                               com.azure.core.util.Context context)
        Gets the SQL trigger under an existing Azure Cosmos DB database account.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        containerName - Cosmos DB container name.
        triggerName - Cosmos DB trigger name.
        context - The context to associate with this operation.
        Returns:
        the SQL trigger under an existing Azure Cosmos DB database account.
        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.
      • createUpdateSqlTriggerWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createUpdateSqlTriggerWithResponseAsync​(String resourceGroupName,
                                                                                                          String accountName,
                                                                                                          String databaseName,
                                                                                                          String containerName,
                                                                                                          String triggerName,
                                                                                                          SqlTriggerCreateUpdateParameters createUpdateSqlTriggerParameters)
        Create or update an Azure Cosmos DB SQL trigger.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        containerName - Cosmos DB container name.
        triggerName - Cosmos DB trigger name.
        createUpdateSqlTriggerParameters - The parameters to provide for the current SQL trigger.
        Returns:
        an Azure Cosmos DB trigger.
        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.
      • beginCreateUpdateSqlTriggerAsync

        com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<SqlTriggerGetResultsInner>,​SqlTriggerGetResultsInner> beginCreateUpdateSqlTriggerAsync​(String resourceGroupName,
                                                                                                                                                                                         String accountName,
                                                                                                                                                                                         String databaseName,
                                                                                                                                                                                         String containerName,
                                                                                                                                                                                         String triggerName,
                                                                                                                                                                                         SqlTriggerCreateUpdateParameters createUpdateSqlTriggerParameters)
        Create or update an Azure Cosmos DB SQL trigger.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        containerName - Cosmos DB container name.
        triggerName - Cosmos DB trigger name.
        createUpdateSqlTriggerParameters - The parameters to provide for the current SQL trigger.
        Returns:
        an Azure Cosmos DB trigger.
        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.
      • beginCreateUpdateSqlTrigger

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SqlTriggerGetResultsInner>,​SqlTriggerGetResultsInner> beginCreateUpdateSqlTrigger​(String resourceGroupName,
                                                                                                                                                                                    String accountName,
                                                                                                                                                                                    String databaseName,
                                                                                                                                                                                    String containerName,
                                                                                                                                                                                    String triggerName,
                                                                                                                                                                                    SqlTriggerCreateUpdateParameters createUpdateSqlTriggerParameters)
        Create or update an Azure Cosmos DB SQL trigger.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        containerName - Cosmos DB container name.
        triggerName - Cosmos DB trigger name.
        createUpdateSqlTriggerParameters - The parameters to provide for the current SQL trigger.
        Returns:
        an Azure Cosmos DB trigger.
        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.
      • beginCreateUpdateSqlTrigger

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SqlTriggerGetResultsInner>,​SqlTriggerGetResultsInner> beginCreateUpdateSqlTrigger​(String resourceGroupName,
                                                                                                                                                                                    String accountName,
                                                                                                                                                                                    String databaseName,
                                                                                                                                                                                    String containerName,
                                                                                                                                                                                    String triggerName,
                                                                                                                                                                                    SqlTriggerCreateUpdateParameters createUpdateSqlTriggerParameters,
                                                                                                                                                                                    com.azure.core.util.Context context)
        Create or update an Azure Cosmos DB SQL trigger.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        containerName - Cosmos DB container name.
        triggerName - Cosmos DB trigger name.
        createUpdateSqlTriggerParameters - The parameters to provide for the current SQL trigger.
        context - The context to associate with this operation.
        Returns:
        an Azure Cosmos DB trigger.
        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.
      • createUpdateSqlTriggerAsync

        Mono<SqlTriggerGetResultsInner> createUpdateSqlTriggerAsync​(String resourceGroupName,
                                                                    String accountName,
                                                                    String databaseName,
                                                                    String containerName,
                                                                    String triggerName,
                                                                    SqlTriggerCreateUpdateParameters createUpdateSqlTriggerParameters)
        Create or update an Azure Cosmos DB SQL trigger.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        containerName - Cosmos DB container name.
        triggerName - Cosmos DB trigger name.
        createUpdateSqlTriggerParameters - The parameters to provide for the current SQL trigger.
        Returns:
        an Azure Cosmos DB trigger.
        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.
      • createUpdateSqlTrigger

        SqlTriggerGetResultsInner createUpdateSqlTrigger​(String resourceGroupName,
                                                         String accountName,
                                                         String databaseName,
                                                         String containerName,
                                                         String triggerName,
                                                         SqlTriggerCreateUpdateParameters createUpdateSqlTriggerParameters)
        Create or update an Azure Cosmos DB SQL trigger.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        containerName - Cosmos DB container name.
        triggerName - Cosmos DB trigger name.
        createUpdateSqlTriggerParameters - The parameters to provide for the current SQL trigger.
        Returns:
        an Azure Cosmos DB trigger.
        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.
      • createUpdateSqlTrigger

        SqlTriggerGetResultsInner createUpdateSqlTrigger​(String resourceGroupName,
                                                         String accountName,
                                                         String databaseName,
                                                         String containerName,
                                                         String triggerName,
                                                         SqlTriggerCreateUpdateParameters createUpdateSqlTriggerParameters,
                                                         com.azure.core.util.Context context)
        Create or update an Azure Cosmos DB SQL trigger.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        containerName - Cosmos DB container name.
        triggerName - Cosmos DB trigger name.
        createUpdateSqlTriggerParameters - The parameters to provide for the current SQL trigger.
        context - The context to associate with this operation.
        Returns:
        an Azure Cosmos DB trigger.
        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.
      • deleteSqlTriggerWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteSqlTriggerWithResponseAsync​(String resourceGroupName,
                                                                                                    String accountName,
                                                                                                    String databaseName,
                                                                                                    String containerName,
                                                                                                    String triggerName)
        Deletes an existing Azure Cosmos DB SQL trigger.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        containerName - Cosmos DB container name.
        triggerName - Cosmos DB trigger name.
        Returns:
        the completion.
        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.
      • beginDeleteSqlTriggerAsync

        com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,​Void> beginDeleteSqlTriggerAsync​(String resourceGroupName,
                                                                                                                                         String accountName,
                                                                                                                                         String databaseName,
                                                                                                                                         String containerName,
                                                                                                                                         String triggerName)
        Deletes an existing Azure Cosmos DB SQL trigger.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        containerName - Cosmos DB container name.
        triggerName - Cosmos DB trigger name.
        Returns:
        the completion.
        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.
      • beginDeleteSqlTrigger

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,​Void> beginDeleteSqlTrigger​(String resourceGroupName,
                                                                                                                                    String accountName,
                                                                                                                                    String databaseName,
                                                                                                                                    String containerName,
                                                                                                                                    String triggerName)
        Deletes an existing Azure Cosmos DB SQL trigger.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        containerName - Cosmos DB container name.
        triggerName - Cosmos DB trigger name.
        Returns:
        the completion.
        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.
      • beginDeleteSqlTrigger

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,​Void> beginDeleteSqlTrigger​(String resourceGroupName,
                                                                                                                                    String accountName,
                                                                                                                                    String databaseName,
                                                                                                                                    String containerName,
                                                                                                                                    String triggerName,
                                                                                                                                    com.azure.core.util.Context context)
        Deletes an existing Azure Cosmos DB SQL trigger.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        containerName - Cosmos DB container name.
        triggerName - Cosmos DB trigger name.
        context - The context to associate with this operation.
        Returns:
        the completion.
        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.
      • deleteSqlTriggerAsync

        Mono<Void> deleteSqlTriggerAsync​(String resourceGroupName,
                                         String accountName,
                                         String databaseName,
                                         String containerName,
                                         String triggerName)
        Deletes an existing Azure Cosmos DB SQL trigger.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        containerName - Cosmos DB container name.
        triggerName - Cosmos DB trigger name.
        Returns:
        the completion.
        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.
      • deleteSqlTrigger

        void deleteSqlTrigger​(String resourceGroupName,
                              String accountName,
                              String databaseName,
                              String containerName,
                              String triggerName)
        Deletes an existing Azure Cosmos DB SQL trigger.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        containerName - Cosmos DB container name.
        triggerName - Cosmos DB trigger name.
        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.
      • deleteSqlTrigger

        void deleteSqlTrigger​(String resourceGroupName,
                              String accountName,
                              String databaseName,
                              String containerName,
                              String triggerName,
                              com.azure.core.util.Context context)
        Deletes an existing Azure Cosmos DB SQL trigger.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        containerName - Cosmos DB container name.
        triggerName - Cosmos DB trigger name.
        context - The context to associate with this operation.
        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.
      • getSqlRoleDefinitionWithResponseAsync

        Mono<com.azure.core.http.rest.Response<SqlRoleDefinitionGetResultsInner>> getSqlRoleDefinitionWithResponseAsync​(String roleDefinitionId,
                                                                                                                        String resourceGroupName,
                                                                                                                        String accountName)
        Retrieves the properties of an existing Azure Cosmos DB SQL Role Definition with the given Id.
        Parameters:
        roleDefinitionId - The GUID for the Role Definition.
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        Returns:
        an Azure Cosmos DB SQL Role Definition.
        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.
      • getSqlRoleDefinitionAsync

        Mono<SqlRoleDefinitionGetResultsInner> getSqlRoleDefinitionAsync​(String roleDefinitionId,
                                                                         String resourceGroupName,
                                                                         String accountName)
        Retrieves the properties of an existing Azure Cosmos DB SQL Role Definition with the given Id.
        Parameters:
        roleDefinitionId - The GUID for the Role Definition.
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        Returns:
        an Azure Cosmos DB SQL Role Definition.
        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.
      • getSqlRoleDefinition

        SqlRoleDefinitionGetResultsInner getSqlRoleDefinition​(String roleDefinitionId,
                                                              String resourceGroupName,
                                                              String accountName)
        Retrieves the properties of an existing Azure Cosmos DB SQL Role Definition with the given Id.
        Parameters:
        roleDefinitionId - The GUID for the Role Definition.
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        Returns:
        an Azure Cosmos DB SQL Role Definition.
        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.
      • getSqlRoleDefinitionWithResponse

        com.azure.core.http.rest.Response<SqlRoleDefinitionGetResultsInner> getSqlRoleDefinitionWithResponse​(String roleDefinitionId,
                                                                                                             String resourceGroupName,
                                                                                                             String accountName,
                                                                                                             com.azure.core.util.Context context)
        Retrieves the properties of an existing Azure Cosmos DB SQL Role Definition with the given Id.
        Parameters:
        roleDefinitionId - The GUID for the Role Definition.
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        context - The context to associate with this operation.
        Returns:
        an Azure Cosmos DB SQL Role Definition.
        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.
      • createUpdateSqlRoleDefinitionWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createUpdateSqlRoleDefinitionWithResponseAsync​(String roleDefinitionId,
                                                                                                                 String resourceGroupName,
                                                                                                                 String accountName,
                                                                                                                 SqlRoleDefinitionCreateUpdateParameters createUpdateSqlRoleDefinitionParameters)
        Creates or updates an Azure Cosmos DB SQL Role Definition.
        Parameters:
        roleDefinitionId - The GUID for the Role Definition.
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        createUpdateSqlRoleDefinitionParameters - The properties required to create or update a Role Definition.
        Returns:
        an Azure Cosmos DB SQL Role Definition.
        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.
      • beginCreateUpdateSqlRoleDefinitionAsync

        com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<SqlRoleDefinitionGetResultsInner>,​SqlRoleDefinitionGetResultsInner> beginCreateUpdateSqlRoleDefinitionAsync​(String roleDefinitionId,
                                                                                                                                                                                                              String resourceGroupName,
                                                                                                                                                                                                              String accountName,
                                                                                                                                                                                                              SqlRoleDefinitionCreateUpdateParameters createUpdateSqlRoleDefinitionParameters)
        Creates or updates an Azure Cosmos DB SQL Role Definition.
        Parameters:
        roleDefinitionId - The GUID for the Role Definition.
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        createUpdateSqlRoleDefinitionParameters - The properties required to create or update a Role Definition.
        Returns:
        an Azure Cosmos DB SQL Role Definition.
        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.
      • beginCreateUpdateSqlRoleDefinition

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SqlRoleDefinitionGetResultsInner>,​SqlRoleDefinitionGetResultsInner> beginCreateUpdateSqlRoleDefinition​(String roleDefinitionId,
                                                                                                                                                                                                         String resourceGroupName,
                                                                                                                                                                                                         String accountName,
                                                                                                                                                                                                         SqlRoleDefinitionCreateUpdateParameters createUpdateSqlRoleDefinitionParameters)
        Creates or updates an Azure Cosmos DB SQL Role Definition.
        Parameters:
        roleDefinitionId - The GUID for the Role Definition.
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        createUpdateSqlRoleDefinitionParameters - The properties required to create or update a Role Definition.
        Returns:
        an Azure Cosmos DB SQL Role Definition.
        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.
      • beginCreateUpdateSqlRoleDefinition

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SqlRoleDefinitionGetResultsInner>,​SqlRoleDefinitionGetResultsInner> beginCreateUpdateSqlRoleDefinition​(String roleDefinitionId,
                                                                                                                                                                                                         String resourceGroupName,
                                                                                                                                                                                                         String accountName,
                                                                                                                                                                                                         SqlRoleDefinitionCreateUpdateParameters createUpdateSqlRoleDefinitionParameters,
                                                                                                                                                                                                         com.azure.core.util.Context context)
        Creates or updates an Azure Cosmos DB SQL Role Definition.
        Parameters:
        roleDefinitionId - The GUID for the Role Definition.
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        createUpdateSqlRoleDefinitionParameters - The properties required to create or update a Role Definition.
        context - The context to associate with this operation.
        Returns:
        an Azure Cosmos DB SQL Role Definition.
        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.
      • createUpdateSqlRoleDefinitionAsync

        Mono<SqlRoleDefinitionGetResultsInner> createUpdateSqlRoleDefinitionAsync​(String roleDefinitionId,
                                                                                  String resourceGroupName,
                                                                                  String accountName,
                                                                                  SqlRoleDefinitionCreateUpdateParameters createUpdateSqlRoleDefinitionParameters)
        Creates or updates an Azure Cosmos DB SQL Role Definition.
        Parameters:
        roleDefinitionId - The GUID for the Role Definition.
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        createUpdateSqlRoleDefinitionParameters - The properties required to create or update a Role Definition.
        Returns:
        an Azure Cosmos DB SQL Role Definition.
        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.
      • createUpdateSqlRoleDefinition

        SqlRoleDefinitionGetResultsInner createUpdateSqlRoleDefinition​(String roleDefinitionId,
                                                                       String resourceGroupName,
                                                                       String accountName,
                                                                       SqlRoleDefinitionCreateUpdateParameters createUpdateSqlRoleDefinitionParameters)
        Creates or updates an Azure Cosmos DB SQL Role Definition.
        Parameters:
        roleDefinitionId - The GUID for the Role Definition.
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        createUpdateSqlRoleDefinitionParameters - The properties required to create or update a Role Definition.
        Returns:
        an Azure Cosmos DB SQL Role Definition.
        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.
      • createUpdateSqlRoleDefinition

        SqlRoleDefinitionGetResultsInner createUpdateSqlRoleDefinition​(String roleDefinitionId,
                                                                       String resourceGroupName,
                                                                       String accountName,
                                                                       SqlRoleDefinitionCreateUpdateParameters createUpdateSqlRoleDefinitionParameters,
                                                                       com.azure.core.util.Context context)
        Creates or updates an Azure Cosmos DB SQL Role Definition.
        Parameters:
        roleDefinitionId - The GUID for the Role Definition.
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        createUpdateSqlRoleDefinitionParameters - The properties required to create or update a Role Definition.
        context - The context to associate with this operation.
        Returns:
        an Azure Cosmos DB SQL Role Definition.
        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.
      • deleteSqlRoleDefinitionWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteSqlRoleDefinitionWithResponseAsync​(String roleDefinitionId,
                                                                                                           String resourceGroupName,
                                                                                                           String accountName)
        Deletes an existing Azure Cosmos DB SQL Role Definition.
        Parameters:
        roleDefinitionId - The GUID for the Role Definition.
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        Returns:
        the completion.
        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.
      • beginDeleteSqlRoleDefinitionAsync

        com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,​Void> beginDeleteSqlRoleDefinitionAsync​(String roleDefinitionId,
                                                                                                                                                String resourceGroupName,
                                                                                                                                                String accountName)
        Deletes an existing Azure Cosmos DB SQL Role Definition.
        Parameters:
        roleDefinitionId - The GUID for the Role Definition.
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        Returns:
        the completion.
        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.
      • beginDeleteSqlRoleDefinition

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,​Void> beginDeleteSqlRoleDefinition​(String roleDefinitionId,
                                                                                                                                           String resourceGroupName,
                                                                                                                                           String accountName)
        Deletes an existing Azure Cosmos DB SQL Role Definition.
        Parameters:
        roleDefinitionId - The GUID for the Role Definition.
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        Returns:
        the completion.
        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.
      • beginDeleteSqlRoleDefinition

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,​Void> beginDeleteSqlRoleDefinition​(String roleDefinitionId,
                                                                                                                                           String resourceGroupName,
                                                                                                                                           String accountName,
                                                                                                                                           com.azure.core.util.Context context)
        Deletes an existing Azure Cosmos DB SQL Role Definition.
        Parameters:
        roleDefinitionId - The GUID for the Role Definition.
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        context - The context to associate with this operation.
        Returns:
        the completion.
        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.
      • deleteSqlRoleDefinitionAsync

        Mono<Void> deleteSqlRoleDefinitionAsync​(String roleDefinitionId,
                                                String resourceGroupName,
                                                String accountName)
        Deletes an existing Azure Cosmos DB SQL Role Definition.
        Parameters:
        roleDefinitionId - The GUID for the Role Definition.
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        Returns:
        the completion.
        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.
      • deleteSqlRoleDefinition

        void deleteSqlRoleDefinition​(String roleDefinitionId,
                                     String resourceGroupName,
                                     String accountName)
        Deletes an existing Azure Cosmos DB SQL Role Definition.
        Parameters:
        roleDefinitionId - The GUID for the Role Definition.
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        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.
      • deleteSqlRoleDefinition

        void deleteSqlRoleDefinition​(String roleDefinitionId,
                                     String resourceGroupName,
                                     String accountName,
                                     com.azure.core.util.Context context)
        Deletes an existing Azure Cosmos DB SQL Role Definition.
        Parameters:
        roleDefinitionId - The GUID for the Role Definition.
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        context - The context to associate with this operation.
        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.
      • listSqlRoleDefinitionsAsync

        com.azure.core.http.rest.PagedFlux<SqlRoleDefinitionGetResultsInner> listSqlRoleDefinitionsAsync​(String resourceGroupName,
                                                                                                         String accountName)
        Retrieves the list of all Azure Cosmos DB SQL Role Definitions.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        Returns:
        the relevant Role Definitions.
        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.
      • listSqlRoleDefinitions

        com.azure.core.http.rest.PagedIterable<SqlRoleDefinitionGetResultsInner> listSqlRoleDefinitions​(String resourceGroupName,
                                                                                                        String accountName)
        Retrieves the list of all Azure Cosmos DB SQL Role Definitions.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        Returns:
        the relevant Role Definitions.
        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.
      • listSqlRoleDefinitions

        com.azure.core.http.rest.PagedIterable<SqlRoleDefinitionGetResultsInner> listSqlRoleDefinitions​(String resourceGroupName,
                                                                                                        String accountName,
                                                                                                        com.azure.core.util.Context context)
        Retrieves the list of all Azure Cosmos DB SQL Role Definitions.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        context - The context to associate with this operation.
        Returns:
        the relevant Role Definitions.
        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.
      • getSqlRoleAssignmentWithResponseAsync

        Mono<com.azure.core.http.rest.Response<SqlRoleAssignmentGetResultsInner>> getSqlRoleAssignmentWithResponseAsync​(String roleAssignmentId,
                                                                                                                        String resourceGroupName,
                                                                                                                        String accountName)
        Retrieves the properties of an existing Azure Cosmos DB SQL Role Assignment with the given Id.
        Parameters:
        roleAssignmentId - The GUID for the Role Assignment.
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        Returns:
        an Azure Cosmos DB Role Assignment.
        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.
      • getSqlRoleAssignmentAsync

        Mono<SqlRoleAssignmentGetResultsInner> getSqlRoleAssignmentAsync​(String roleAssignmentId,
                                                                         String resourceGroupName,
                                                                         String accountName)
        Retrieves the properties of an existing Azure Cosmos DB SQL Role Assignment with the given Id.
        Parameters:
        roleAssignmentId - The GUID for the Role Assignment.
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        Returns:
        an Azure Cosmos DB Role Assignment.
        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.
      • getSqlRoleAssignment

        SqlRoleAssignmentGetResultsInner getSqlRoleAssignment​(String roleAssignmentId,
                                                              String resourceGroupName,
                                                              String accountName)
        Retrieves the properties of an existing Azure Cosmos DB SQL Role Assignment with the given Id.
        Parameters:
        roleAssignmentId - The GUID for the Role Assignment.
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        Returns:
        an Azure Cosmos DB Role Assignment.
        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.
      • getSqlRoleAssignmentWithResponse

        com.azure.core.http.rest.Response<SqlRoleAssignmentGetResultsInner> getSqlRoleAssignmentWithResponse​(String roleAssignmentId,
                                                                                                             String resourceGroupName,
                                                                                                             String accountName,
                                                                                                             com.azure.core.util.Context context)
        Retrieves the properties of an existing Azure Cosmos DB SQL Role Assignment with the given Id.
        Parameters:
        roleAssignmentId - The GUID for the Role Assignment.
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        context - The context to associate with this operation.
        Returns:
        an Azure Cosmos DB Role Assignment.
        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.
      • createUpdateSqlRoleAssignmentWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createUpdateSqlRoleAssignmentWithResponseAsync​(String roleAssignmentId,
                                                                                                                 String resourceGroupName,
                                                                                                                 String accountName,
                                                                                                                 SqlRoleAssignmentCreateUpdateParameters createUpdateSqlRoleAssignmentParameters)
        Creates or updates an Azure Cosmos DB SQL Role Assignment.
        Parameters:
        roleAssignmentId - The GUID for the Role Assignment.
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        createUpdateSqlRoleAssignmentParameters - The properties required to create or update a Role Assignment.
        Returns:
        an Azure Cosmos DB Role Assignment.
        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.
      • beginCreateUpdateSqlRoleAssignmentAsync

        com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<SqlRoleAssignmentGetResultsInner>,​SqlRoleAssignmentGetResultsInner> beginCreateUpdateSqlRoleAssignmentAsync​(String roleAssignmentId,
                                                                                                                                                                                                              String resourceGroupName,
                                                                                                                                                                                                              String accountName,
                                                                                                                                                                                                              SqlRoleAssignmentCreateUpdateParameters createUpdateSqlRoleAssignmentParameters)
        Creates or updates an Azure Cosmos DB SQL Role Assignment.
        Parameters:
        roleAssignmentId - The GUID for the Role Assignment.
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        createUpdateSqlRoleAssignmentParameters - The properties required to create or update a Role Assignment.
        Returns:
        an Azure Cosmos DB Role Assignment.
        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.
      • beginCreateUpdateSqlRoleAssignment

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SqlRoleAssignmentGetResultsInner>,​SqlRoleAssignmentGetResultsInner> beginCreateUpdateSqlRoleAssignment​(String roleAssignmentId,
                                                                                                                                                                                                         String resourceGroupName,
                                                                                                                                                                                                         String accountName,
                                                                                                                                                                                                         SqlRoleAssignmentCreateUpdateParameters createUpdateSqlRoleAssignmentParameters)
        Creates or updates an Azure Cosmos DB SQL Role Assignment.
        Parameters:
        roleAssignmentId - The GUID for the Role Assignment.
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        createUpdateSqlRoleAssignmentParameters - The properties required to create or update a Role Assignment.
        Returns:
        an Azure Cosmos DB Role Assignment.
        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.
      • beginCreateUpdateSqlRoleAssignment

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SqlRoleAssignmentGetResultsInner>,​SqlRoleAssignmentGetResultsInner> beginCreateUpdateSqlRoleAssignment​(String roleAssignmentId,
                                                                                                                                                                                                         String resourceGroupName,
                                                                                                                                                                                                         String accountName,
                                                                                                                                                                                                         SqlRoleAssignmentCreateUpdateParameters createUpdateSqlRoleAssignmentParameters,
                                                                                                                                                                                                         com.azure.core.util.Context context)
        Creates or updates an Azure Cosmos DB SQL Role Assignment.
        Parameters:
        roleAssignmentId - The GUID for the Role Assignment.
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        createUpdateSqlRoleAssignmentParameters - The properties required to create or update a Role Assignment.
        context - The context to associate with this operation.
        Returns:
        an Azure Cosmos DB Role Assignment.
        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.
      • createUpdateSqlRoleAssignmentAsync

        Mono<SqlRoleAssignmentGetResultsInner> createUpdateSqlRoleAssignmentAsync​(String roleAssignmentId,
                                                                                  String resourceGroupName,
                                                                                  String accountName,
                                                                                  SqlRoleAssignmentCreateUpdateParameters createUpdateSqlRoleAssignmentParameters)
        Creates or updates an Azure Cosmos DB SQL Role Assignment.
        Parameters:
        roleAssignmentId - The GUID for the Role Assignment.
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        createUpdateSqlRoleAssignmentParameters - The properties required to create or update a Role Assignment.
        Returns:
        an Azure Cosmos DB Role Assignment.
        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.
      • createUpdateSqlRoleAssignment

        SqlRoleAssignmentGetResultsInner createUpdateSqlRoleAssignment​(String roleAssignmentId,
                                                                       String resourceGroupName,
                                                                       String accountName,
                                                                       SqlRoleAssignmentCreateUpdateParameters createUpdateSqlRoleAssignmentParameters)
        Creates or updates an Azure Cosmos DB SQL Role Assignment.
        Parameters:
        roleAssignmentId - The GUID for the Role Assignment.
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        createUpdateSqlRoleAssignmentParameters - The properties required to create or update a Role Assignment.
        Returns:
        an Azure Cosmos DB Role Assignment.
        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.
      • createUpdateSqlRoleAssignment

        SqlRoleAssignmentGetResultsInner createUpdateSqlRoleAssignment​(String roleAssignmentId,
                                                                       String resourceGroupName,
                                                                       String accountName,
                                                                       SqlRoleAssignmentCreateUpdateParameters createUpdateSqlRoleAssignmentParameters,
                                                                       com.azure.core.util.Context context)
        Creates or updates an Azure Cosmos DB SQL Role Assignment.
        Parameters:
        roleAssignmentId - The GUID for the Role Assignment.
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        createUpdateSqlRoleAssignmentParameters - The properties required to create or update a Role Assignment.
        context - The context to associate with this operation.
        Returns:
        an Azure Cosmos DB Role Assignment.
        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.
      • deleteSqlRoleAssignmentWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteSqlRoleAssignmentWithResponseAsync​(String roleAssignmentId,
                                                                                                           String resourceGroupName,
                                                                                                           String accountName)
        Deletes an existing Azure Cosmos DB SQL Role Assignment.
        Parameters:
        roleAssignmentId - The GUID for the Role Assignment.
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        Returns:
        the completion.
        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.
      • beginDeleteSqlRoleAssignmentAsync

        com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,​Void> beginDeleteSqlRoleAssignmentAsync​(String roleAssignmentId,
                                                                                                                                                String resourceGroupName,
                                                                                                                                                String accountName)
        Deletes an existing Azure Cosmos DB SQL Role Assignment.
        Parameters:
        roleAssignmentId - The GUID for the Role Assignment.
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        Returns:
        the completion.
        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.
      • beginDeleteSqlRoleAssignment

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,​Void> beginDeleteSqlRoleAssignment​(String roleAssignmentId,
                                                                                                                                           String resourceGroupName,
                                                                                                                                           String accountName)
        Deletes an existing Azure Cosmos DB SQL Role Assignment.
        Parameters:
        roleAssignmentId - The GUID for the Role Assignment.
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        Returns:
        the completion.
        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.
      • beginDeleteSqlRoleAssignment

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,​Void> beginDeleteSqlRoleAssignment​(String roleAssignmentId,
                                                                                                                                           String resourceGroupName,
                                                                                                                                           String accountName,
                                                                                                                                           com.azure.core.util.Context context)
        Deletes an existing Azure Cosmos DB SQL Role Assignment.
        Parameters:
        roleAssignmentId - The GUID for the Role Assignment.
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        context - The context to associate with this operation.
        Returns:
        the completion.
        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.
      • deleteSqlRoleAssignmentAsync

        Mono<Void> deleteSqlRoleAssignmentAsync​(String roleAssignmentId,
                                                String resourceGroupName,
                                                String accountName)
        Deletes an existing Azure Cosmos DB SQL Role Assignment.
        Parameters:
        roleAssignmentId - The GUID for the Role Assignment.
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        Returns:
        the completion.
        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.
      • deleteSqlRoleAssignment

        void deleteSqlRoleAssignment​(String roleAssignmentId,
                                     String resourceGroupName,
                                     String accountName)
        Deletes an existing Azure Cosmos DB SQL Role Assignment.
        Parameters:
        roleAssignmentId - The GUID for the Role Assignment.
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        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.
      • deleteSqlRoleAssignment

        void deleteSqlRoleAssignment​(String roleAssignmentId,
                                     String resourceGroupName,
                                     String accountName,
                                     com.azure.core.util.Context context)
        Deletes an existing Azure Cosmos DB SQL Role Assignment.
        Parameters:
        roleAssignmentId - The GUID for the Role Assignment.
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        context - The context to associate with this operation.
        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.
      • listSqlRoleAssignmentsAsync

        com.azure.core.http.rest.PagedFlux<SqlRoleAssignmentGetResultsInner> listSqlRoleAssignmentsAsync​(String resourceGroupName,
                                                                                                         String accountName)
        Retrieves the list of all Azure Cosmos DB SQL Role Assignments.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        Returns:
        the relevant Role Assignments.
        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.
      • listSqlRoleAssignments

        com.azure.core.http.rest.PagedIterable<SqlRoleAssignmentGetResultsInner> listSqlRoleAssignments​(String resourceGroupName,
                                                                                                        String accountName)
        Retrieves the list of all Azure Cosmos DB SQL Role Assignments.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        Returns:
        the relevant Role Assignments.
        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.
      • listSqlRoleAssignments

        com.azure.core.http.rest.PagedIterable<SqlRoleAssignmentGetResultsInner> listSqlRoleAssignments​(String resourceGroupName,
                                                                                                        String accountName,
                                                                                                        com.azure.core.util.Context context)
        Retrieves the list of all Azure Cosmos DB SQL Role Assignments.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        context - The context to associate with this operation.
        Returns:
        the relevant Role Assignments.
        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.
      • retrieveContinuousBackupInformationWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> retrieveContinuousBackupInformationWithResponseAsync​(String resourceGroupName,
                                                                                                                       String accountName,
                                                                                                                       String databaseName,
                                                                                                                       String containerName,
                                                                                                                       ContinuousBackupRestoreLocation location)
        Retrieves continuous backup information for a container resource.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        containerName - Cosmos DB container name.
        location - The name of the continuous backup restore location.
        Returns:
        backup information of a resource.
        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.
      • beginRetrieveContinuousBackupInformationAsync

        com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<BackupInformationInner>,​BackupInformationInner> beginRetrieveContinuousBackupInformationAsync​(String resourceGroupName,
                                                                                                                                                                                                String accountName,
                                                                                                                                                                                                String databaseName,
                                                                                                                                                                                                String containerName,
                                                                                                                                                                                                ContinuousBackupRestoreLocation location)
        Retrieves continuous backup information for a container resource.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        containerName - Cosmos DB container name.
        location - The name of the continuous backup restore location.
        Returns:
        backup information of a resource.
        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.
      • beginRetrieveContinuousBackupInformation

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<BackupInformationInner>,​BackupInformationInner> beginRetrieveContinuousBackupInformation​(String resourceGroupName,
                                                                                                                                                                                           String accountName,
                                                                                                                                                                                           String databaseName,
                                                                                                                                                                                           String containerName,
                                                                                                                                                                                           ContinuousBackupRestoreLocation location)
        Retrieves continuous backup information for a container resource.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        containerName - Cosmos DB container name.
        location - The name of the continuous backup restore location.
        Returns:
        backup information of a resource.
        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.
      • beginRetrieveContinuousBackupInformation

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<BackupInformationInner>,​BackupInformationInner> beginRetrieveContinuousBackupInformation​(String resourceGroupName,
                                                                                                                                                                                           String accountName,
                                                                                                                                                                                           String databaseName,
                                                                                                                                                                                           String containerName,
                                                                                                                                                                                           ContinuousBackupRestoreLocation location,
                                                                                                                                                                                           com.azure.core.util.Context context)
        Retrieves continuous backup information for a container resource.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        containerName - Cosmos DB container name.
        location - The name of the continuous backup restore location.
        context - The context to associate with this operation.
        Returns:
        backup information of a resource.
        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.
      • retrieveContinuousBackupInformationAsync

        Mono<BackupInformationInner> retrieveContinuousBackupInformationAsync​(String resourceGroupName,
                                                                              String accountName,
                                                                              String databaseName,
                                                                              String containerName,
                                                                              ContinuousBackupRestoreLocation location)
        Retrieves continuous backup information for a container resource.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        containerName - Cosmos DB container name.
        location - The name of the continuous backup restore location.
        Returns:
        backup information of a resource.
        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.
      • retrieveContinuousBackupInformation

        BackupInformationInner retrieveContinuousBackupInformation​(String resourceGroupName,
                                                                   String accountName,
                                                                   String databaseName,
                                                                   String containerName,
                                                                   ContinuousBackupRestoreLocation location)
        Retrieves continuous backup information for a container resource.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        containerName - Cosmos DB container name.
        location - The name of the continuous backup restore location.
        Returns:
        backup information of a resource.
        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.
      • retrieveContinuousBackupInformation

        BackupInformationInner retrieveContinuousBackupInformation​(String resourceGroupName,
                                                                   String accountName,
                                                                   String databaseName,
                                                                   String containerName,
                                                                   ContinuousBackupRestoreLocation location,
                                                                   com.azure.core.util.Context context)
        Retrieves continuous backup information for a container resource.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        containerName - Cosmos DB container name.
        location - The name of the continuous backup restore location.
        context - The context to associate with this operation.
        Returns:
        backup information of a resource.
        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.