Interface MongoDBResourcesClient


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

      • listMongoDBDatabasesAsync

        com.azure.core.http.rest.PagedFlux<MongoDBDatabaseGetResultsInner> listMongoDBDatabasesAsync​(String resourceGroupName,
                                                                                                     String accountName)
        Lists the MongoDB 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 MongoDB 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.
      • listMongoDBDatabases

        com.azure.core.http.rest.PagedIterable<MongoDBDatabaseGetResultsInner> listMongoDBDatabases​(String resourceGroupName,
                                                                                                    String accountName)
        Lists the MongoDB 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 MongoDB 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.
      • listMongoDBDatabases

        com.azure.core.http.rest.PagedIterable<MongoDBDatabaseGetResultsInner> listMongoDBDatabases​(String resourceGroupName,
                                                                                                    String accountName,
                                                                                                    com.azure.core.util.Context context)
        Lists the MongoDB 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 MongoDB 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.
      • getMongoDBDatabaseWithResponseAsync

        Mono<com.azure.core.http.rest.Response<MongoDBDatabaseGetResultsInner>> getMongoDBDatabaseWithResponseAsync​(String resourceGroupName,
                                                                                                                    String accountName,
                                                                                                                    String databaseName)
        Gets the MongoDB databases 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 MongoDB databases 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.
      • getMongoDBDatabaseAsync

        Mono<MongoDBDatabaseGetResultsInner> getMongoDBDatabaseAsync​(String resourceGroupName,
                                                                     String accountName,
                                                                     String databaseName)
        Gets the MongoDB databases 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 MongoDB databases 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.
      • getMongoDBDatabase

        MongoDBDatabaseGetResultsInner getMongoDBDatabase​(String resourceGroupName,
                                                          String accountName,
                                                          String databaseName)
        Gets the MongoDB databases 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 MongoDB databases 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.
      • getMongoDBDatabaseWithResponse

        com.azure.core.http.rest.Response<MongoDBDatabaseGetResultsInner> getMongoDBDatabaseWithResponse​(String resourceGroupName,
                                                                                                         String accountName,
                                                                                                         String databaseName,
                                                                                                         com.azure.core.util.Context context)
        Gets the MongoDB databases 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 MongoDB databases 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.
      • createUpdateMongoDBDatabaseWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createUpdateMongoDBDatabaseWithResponseAsync​(String resourceGroupName,
                                                                                                               String accountName,
                                                                                                               String databaseName,
                                                                                                               MongoDBDatabaseCreateUpdateParameters createUpdateMongoDBDatabaseParameters)
        Create or updates Azure Cosmos DB MongoDB 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.
        createUpdateMongoDBDatabaseParameters - The parameters to provide for the current MongoDB database.
        Returns:
        an Azure Cosmos DB MongoDB 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.
      • beginCreateUpdateMongoDBDatabaseAsync

        com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<MongoDBDatabaseGetResultsInner>,​MongoDBDatabaseGetResultsInner> beginCreateUpdateMongoDBDatabaseAsync​(String resourceGroupName,
                                                                                                                                                                                                        String accountName,
                                                                                                                                                                                                        String databaseName,
                                                                                                                                                                                                        MongoDBDatabaseCreateUpdateParameters createUpdateMongoDBDatabaseParameters)
        Create or updates Azure Cosmos DB MongoDB 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.
        createUpdateMongoDBDatabaseParameters - The parameters to provide for the current MongoDB database.
        Returns:
        an Azure Cosmos DB MongoDB 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.
      • beginCreateUpdateMongoDBDatabase

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<MongoDBDatabaseGetResultsInner>,​MongoDBDatabaseGetResultsInner> beginCreateUpdateMongoDBDatabase​(String resourceGroupName,
                                                                                                                                                                                                   String accountName,
                                                                                                                                                                                                   String databaseName,
                                                                                                                                                                                                   MongoDBDatabaseCreateUpdateParameters createUpdateMongoDBDatabaseParameters)
        Create or updates Azure Cosmos DB MongoDB 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.
        createUpdateMongoDBDatabaseParameters - The parameters to provide for the current MongoDB database.
        Returns:
        an Azure Cosmos DB MongoDB 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.
      • beginCreateUpdateMongoDBDatabase

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<MongoDBDatabaseGetResultsInner>,​MongoDBDatabaseGetResultsInner> beginCreateUpdateMongoDBDatabase​(String resourceGroupName,
                                                                                                                                                                                                   String accountName,
                                                                                                                                                                                                   String databaseName,
                                                                                                                                                                                                   MongoDBDatabaseCreateUpdateParameters createUpdateMongoDBDatabaseParameters,
                                                                                                                                                                                                   com.azure.core.util.Context context)
        Create or updates Azure Cosmos DB MongoDB 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.
        createUpdateMongoDBDatabaseParameters - The parameters to provide for the current MongoDB database.
        context - The context to associate with this operation.
        Returns:
        an Azure Cosmos DB MongoDB 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.
      • createUpdateMongoDBDatabaseAsync

        Mono<MongoDBDatabaseGetResultsInner> createUpdateMongoDBDatabaseAsync​(String resourceGroupName,
                                                                              String accountName,
                                                                              String databaseName,
                                                                              MongoDBDatabaseCreateUpdateParameters createUpdateMongoDBDatabaseParameters)
        Create or updates Azure Cosmos DB MongoDB 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.
        createUpdateMongoDBDatabaseParameters - The parameters to provide for the current MongoDB database.
        Returns:
        an Azure Cosmos DB MongoDB 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.
      • createUpdateMongoDBDatabase

        MongoDBDatabaseGetResultsInner createUpdateMongoDBDatabase​(String resourceGroupName,
                                                                   String accountName,
                                                                   String databaseName,
                                                                   MongoDBDatabaseCreateUpdateParameters createUpdateMongoDBDatabaseParameters)
        Create or updates Azure Cosmos DB MongoDB 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.
        createUpdateMongoDBDatabaseParameters - The parameters to provide for the current MongoDB database.
        Returns:
        an Azure Cosmos DB MongoDB 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.
      • createUpdateMongoDBDatabase

        MongoDBDatabaseGetResultsInner createUpdateMongoDBDatabase​(String resourceGroupName,
                                                                   String accountName,
                                                                   String databaseName,
                                                                   MongoDBDatabaseCreateUpdateParameters createUpdateMongoDBDatabaseParameters,
                                                                   com.azure.core.util.Context context)
        Create or updates Azure Cosmos DB MongoDB 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.
        createUpdateMongoDBDatabaseParameters - The parameters to provide for the current MongoDB database.
        context - The context to associate with this operation.
        Returns:
        an Azure Cosmos DB MongoDB 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.
      • deleteMongoDBDatabaseWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteMongoDBDatabaseWithResponseAsync​(String resourceGroupName,
                                                                                                         String accountName,
                                                                                                         String databaseName)
        Deletes an existing Azure Cosmos DB MongoDB 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.
      • beginDeleteMongoDBDatabaseAsync

        com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,​Void> beginDeleteMongoDBDatabaseAsync​(String resourceGroupName,
                                                                                                                                              String accountName,
                                                                                                                                              String databaseName)
        Deletes an existing Azure Cosmos DB MongoDB 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.
      • beginDeleteMongoDBDatabase

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,​Void> beginDeleteMongoDBDatabase​(String resourceGroupName,
                                                                                                                                         String accountName,
                                                                                                                                         String databaseName)
        Deletes an existing Azure Cosmos DB MongoDB 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.
      • beginDeleteMongoDBDatabase

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,​Void> beginDeleteMongoDBDatabase​(String resourceGroupName,
                                                                                                                                         String accountName,
                                                                                                                                         String databaseName,
                                                                                                                                         com.azure.core.util.Context context)
        Deletes an existing Azure Cosmos DB MongoDB 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.
      • deleteMongoDBDatabaseAsync

        Mono<Void> deleteMongoDBDatabaseAsync​(String resourceGroupName,
                                              String accountName,
                                              String databaseName)
        Deletes an existing Azure Cosmos DB MongoDB 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.
      • deleteMongoDBDatabase

        void deleteMongoDBDatabase​(String resourceGroupName,
                                   String accountName,
                                   String databaseName)
        Deletes an existing Azure Cosmos DB MongoDB 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.
      • deleteMongoDBDatabase

        void deleteMongoDBDatabase​(String resourceGroupName,
                                   String accountName,
                                   String databaseName,
                                   com.azure.core.util.Context context)
        Deletes an existing Azure Cosmos DB MongoDB 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.
      • getMongoDBDatabaseThroughputWithResponseAsync

        Mono<com.azure.core.http.rest.Response<ThroughputSettingsGetResultsInner>> getMongoDBDatabaseThroughputWithResponseAsync​(String resourceGroupName,
                                                                                                                                 String accountName,
                                                                                                                                 String databaseName)
        Gets the RUs per second of the MongoDB 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 MongoDB 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.
      • getMongoDBDatabaseThroughputAsync

        Mono<ThroughputSettingsGetResultsInner> getMongoDBDatabaseThroughputAsync​(String resourceGroupName,
                                                                                  String accountName,
                                                                                  String databaseName)
        Gets the RUs per second of the MongoDB 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 MongoDB 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.
      • getMongoDBDatabaseThroughput

        ThroughputSettingsGetResultsInner getMongoDBDatabaseThroughput​(String resourceGroupName,
                                                                       String accountName,
                                                                       String databaseName)
        Gets the RUs per second of the MongoDB 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 MongoDB 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.
      • getMongoDBDatabaseThroughputWithResponse

        com.azure.core.http.rest.Response<ThroughputSettingsGetResultsInner> getMongoDBDatabaseThroughputWithResponse​(String resourceGroupName,
                                                                                                                      String accountName,
                                                                                                                      String databaseName,
                                                                                                                      com.azure.core.util.Context context)
        Gets the RUs per second of the MongoDB 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 MongoDB 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.
      • updateMongoDBDatabaseThroughputWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> updateMongoDBDatabaseThroughputWithResponseAsync​(String resourceGroupName,
                                                                                                                   String accountName,
                                                                                                                   String databaseName,
                                                                                                                   ThroughputSettingsUpdateParameters updateThroughputParameters)
        Update RUs per second of the an Azure Cosmos DB MongoDB 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 RUs per second of the parameters to provide for the current MongoDB 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.
      • beginUpdateMongoDBDatabaseThroughputAsync

        com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<ThroughputSettingsGetResultsInner>,​ThroughputSettingsGetResultsInner> beginUpdateMongoDBDatabaseThroughputAsync​(String resourceGroupName,
                                                                                                                                                                                                                  String accountName,
                                                                                                                                                                                                                  String databaseName,
                                                                                                                                                                                                                  ThroughputSettingsUpdateParameters updateThroughputParameters)
        Update RUs per second of the an Azure Cosmos DB MongoDB 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 RUs per second of the parameters to provide for the current MongoDB 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.
      • beginUpdateMongoDBDatabaseThroughput

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ThroughputSettingsGetResultsInner>,​ThroughputSettingsGetResultsInner> beginUpdateMongoDBDatabaseThroughput​(String resourceGroupName,
                                                                                                                                                                                                             String accountName,
                                                                                                                                                                                                             String databaseName,
                                                                                                                                                                                                             ThroughputSettingsUpdateParameters updateThroughputParameters)
        Update RUs per second of the an Azure Cosmos DB MongoDB 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 RUs per second of the parameters to provide for the current MongoDB 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.
      • beginUpdateMongoDBDatabaseThroughput

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ThroughputSettingsGetResultsInner>,​ThroughputSettingsGetResultsInner> beginUpdateMongoDBDatabaseThroughput​(String resourceGroupName,
                                                                                                                                                                                                             String accountName,
                                                                                                                                                                                                             String databaseName,
                                                                                                                                                                                                             ThroughputSettingsUpdateParameters updateThroughputParameters,
                                                                                                                                                                                                             com.azure.core.util.Context context)
        Update RUs per second of the an Azure Cosmos DB MongoDB 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 RUs per second of the parameters to provide for the current MongoDB 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.
      • updateMongoDBDatabaseThroughputAsync

        Mono<ThroughputSettingsGetResultsInner> updateMongoDBDatabaseThroughputAsync​(String resourceGroupName,
                                                                                     String accountName,
                                                                                     String databaseName,
                                                                                     ThroughputSettingsUpdateParameters updateThroughputParameters)
        Update RUs per second of the an Azure Cosmos DB MongoDB 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 RUs per second of the parameters to provide for the current MongoDB 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.
      • updateMongoDBDatabaseThroughput

        ThroughputSettingsGetResultsInner updateMongoDBDatabaseThroughput​(String resourceGroupName,
                                                                          String accountName,
                                                                          String databaseName,
                                                                          ThroughputSettingsUpdateParameters updateThroughputParameters)
        Update RUs per second of the an Azure Cosmos DB MongoDB 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 RUs per second of the parameters to provide for the current MongoDB 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.
      • updateMongoDBDatabaseThroughput

        ThroughputSettingsGetResultsInner updateMongoDBDatabaseThroughput​(String resourceGroupName,
                                                                          String accountName,
                                                                          String databaseName,
                                                                          ThroughputSettingsUpdateParameters updateThroughputParameters,
                                                                          com.azure.core.util.Context context)
        Update RUs per second of the an Azure Cosmos DB MongoDB 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 RUs per second of the parameters to provide for the current MongoDB 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.
      • migrateMongoDBDatabaseToAutoscaleWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> migrateMongoDBDatabaseToAutoscaleWithResponseAsync​(String resourceGroupName,
                                                                                                                     String accountName,
                                                                                                                     String databaseName)
        Migrate an Azure Cosmos DB MongoDB 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.
      • beginMigrateMongoDBDatabaseToAutoscaleAsync

        com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<ThroughputSettingsGetResultsInner>,​ThroughputSettingsGetResultsInner> beginMigrateMongoDBDatabaseToAutoscaleAsync​(String resourceGroupName,
                                                                                                                                                                                                                    String accountName,
                                                                                                                                                                                                                    String databaseName)
        Migrate an Azure Cosmos DB MongoDB 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.
      • beginMigrateMongoDBDatabaseToAutoscale

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ThroughputSettingsGetResultsInner>,​ThroughputSettingsGetResultsInner> beginMigrateMongoDBDatabaseToAutoscale​(String resourceGroupName,
                                                                                                                                                                                                               String accountName,
                                                                                                                                                                                                               String databaseName)
        Migrate an Azure Cosmos DB MongoDB 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.
      • beginMigrateMongoDBDatabaseToAutoscale

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ThroughputSettingsGetResultsInner>,​ThroughputSettingsGetResultsInner> beginMigrateMongoDBDatabaseToAutoscale​(String resourceGroupName,
                                                                                                                                                                                                               String accountName,
                                                                                                                                                                                                               String databaseName,
                                                                                                                                                                                                               com.azure.core.util.Context context)
        Migrate an Azure Cosmos DB MongoDB 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.
      • migrateMongoDBDatabaseToAutoscaleAsync

        Mono<ThroughputSettingsGetResultsInner> migrateMongoDBDatabaseToAutoscaleAsync​(String resourceGroupName,
                                                                                       String accountName,
                                                                                       String databaseName)
        Migrate an Azure Cosmos DB MongoDB 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.
      • migrateMongoDBDatabaseToAutoscale

        ThroughputSettingsGetResultsInner migrateMongoDBDatabaseToAutoscale​(String resourceGroupName,
                                                                            String accountName,
                                                                            String databaseName)
        Migrate an Azure Cosmos DB MongoDB 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.
      • migrateMongoDBDatabaseToAutoscale

        ThroughputSettingsGetResultsInner migrateMongoDBDatabaseToAutoscale​(String resourceGroupName,
                                                                            String accountName,
                                                                            String databaseName,
                                                                            com.azure.core.util.Context context)
        Migrate an Azure Cosmos DB MongoDB 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.
      • migrateMongoDBDatabaseToManualThroughputWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> migrateMongoDBDatabaseToManualThroughputWithResponseAsync​(String resourceGroupName,
                                                                                                                            String accountName,
                                                                                                                            String databaseName)
        Migrate an Azure Cosmos DB MongoDB 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.
      • beginMigrateMongoDBDatabaseToManualThroughputAsync

        com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<ThroughputSettingsGetResultsInner>,​ThroughputSettingsGetResultsInner> beginMigrateMongoDBDatabaseToManualThroughputAsync​(String resourceGroupName,
                                                                                                                                                                                                                           String accountName,
                                                                                                                                                                                                                           String databaseName)
        Migrate an Azure Cosmos DB MongoDB 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.
      • beginMigrateMongoDBDatabaseToManualThroughput

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ThroughputSettingsGetResultsInner>,​ThroughputSettingsGetResultsInner> beginMigrateMongoDBDatabaseToManualThroughput​(String resourceGroupName,
                                                                                                                                                                                                                      String accountName,
                                                                                                                                                                                                                      String databaseName)
        Migrate an Azure Cosmos DB MongoDB 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.
      • beginMigrateMongoDBDatabaseToManualThroughput

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ThroughputSettingsGetResultsInner>,​ThroughputSettingsGetResultsInner> beginMigrateMongoDBDatabaseToManualThroughput​(String resourceGroupName,
                                                                                                                                                                                                                      String accountName,
                                                                                                                                                                                                                      String databaseName,
                                                                                                                                                                                                                      com.azure.core.util.Context context)
        Migrate an Azure Cosmos DB MongoDB 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.
      • migrateMongoDBDatabaseToManualThroughputAsync

        Mono<ThroughputSettingsGetResultsInner> migrateMongoDBDatabaseToManualThroughputAsync​(String resourceGroupName,
                                                                                              String accountName,
                                                                                              String databaseName)
        Migrate an Azure Cosmos DB MongoDB 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.
      • migrateMongoDBDatabaseToManualThroughput

        ThroughputSettingsGetResultsInner migrateMongoDBDatabaseToManualThroughput​(String resourceGroupName,
                                                                                   String accountName,
                                                                                   String databaseName)
        Migrate an Azure Cosmos DB MongoDB 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.
      • migrateMongoDBDatabaseToManualThroughput

        ThroughputSettingsGetResultsInner migrateMongoDBDatabaseToManualThroughput​(String resourceGroupName,
                                                                                   String accountName,
                                                                                   String databaseName,
                                                                                   com.azure.core.util.Context context)
        Migrate an Azure Cosmos DB MongoDB 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.
      • listMongoDBCollectionsAsync

        com.azure.core.http.rest.PagedFlux<MongoDBCollectionGetResultsInner> listMongoDBCollectionsAsync​(String resourceGroupName,
                                                                                                         String accountName,
                                                                                                         String databaseName)
        Lists the MongoDB collection 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 MongoDB collections 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.
      • listMongoDBCollections

        com.azure.core.http.rest.PagedIterable<MongoDBCollectionGetResultsInner> listMongoDBCollections​(String resourceGroupName,
                                                                                                        String accountName,
                                                                                                        String databaseName)
        Lists the MongoDB collection 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 MongoDB collections 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.
      • listMongoDBCollections

        com.azure.core.http.rest.PagedIterable<MongoDBCollectionGetResultsInner> listMongoDBCollections​(String resourceGroupName,
                                                                                                        String accountName,
                                                                                                        String databaseName,
                                                                                                        com.azure.core.util.Context context)
        Lists the MongoDB collection 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 MongoDB collections 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.
      • getMongoDBCollectionWithResponseAsync

        Mono<com.azure.core.http.rest.Response<MongoDBCollectionGetResultsInner>> getMongoDBCollectionWithResponseAsync​(String resourceGroupName,
                                                                                                                        String accountName,
                                                                                                                        String databaseName,
                                                                                                                        String collectionName)
        Gets the MongoDB collection 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.
        collectionName - Cosmos DB collection name.
        Returns:
        the MongoDB collection 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.
      • getMongoDBCollectionAsync

        Mono<MongoDBCollectionGetResultsInner> getMongoDBCollectionAsync​(String resourceGroupName,
                                                                         String accountName,
                                                                         String databaseName,
                                                                         String collectionName)
        Gets the MongoDB collection 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.
        collectionName - Cosmos DB collection name.
        Returns:
        the MongoDB collection 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.
      • getMongoDBCollection

        MongoDBCollectionGetResultsInner getMongoDBCollection​(String resourceGroupName,
                                                              String accountName,
                                                              String databaseName,
                                                              String collectionName)
        Gets the MongoDB collection 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.
        collectionName - Cosmos DB collection name.
        Returns:
        the MongoDB collection 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.
      • getMongoDBCollectionWithResponse

        com.azure.core.http.rest.Response<MongoDBCollectionGetResultsInner> getMongoDBCollectionWithResponse​(String resourceGroupName,
                                                                                                             String accountName,
                                                                                                             String databaseName,
                                                                                                             String collectionName,
                                                                                                             com.azure.core.util.Context context)
        Gets the MongoDB collection 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.
        collectionName - Cosmos DB collection name.
        context - The context to associate with this operation.
        Returns:
        the MongoDB collection 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.
      • createUpdateMongoDBCollectionWithResponseAsync

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

        com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<MongoDBCollectionGetResultsInner>,​MongoDBCollectionGetResultsInner> beginCreateUpdateMongoDBCollectionAsync​(String resourceGroupName,
                                                                                                                                                                                                              String accountName,
                                                                                                                                                                                                              String databaseName,
                                                                                                                                                                                                              String collectionName,
                                                                                                                                                                                                              MongoDBCollectionCreateUpdateParameters createUpdateMongoDBCollectionParameters)
        Create or update an Azure Cosmos DB MongoDB Collection.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        collectionName - Cosmos DB collection name.
        createUpdateMongoDBCollectionParameters - The parameters to provide for the current MongoDB Collection.
        Returns:
        an Azure Cosmos DB MongoDB collection.
        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.
      • beginCreateUpdateMongoDBCollection

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

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<MongoDBCollectionGetResultsInner>,​MongoDBCollectionGetResultsInner> beginCreateUpdateMongoDBCollection​(String resourceGroupName,
                                                                                                                                                                                                         String accountName,
                                                                                                                                                                                                         String databaseName,
                                                                                                                                                                                                         String collectionName,
                                                                                                                                                                                                         MongoDBCollectionCreateUpdateParameters createUpdateMongoDBCollectionParameters,
                                                                                                                                                                                                         com.azure.core.util.Context context)
        Create or update an Azure Cosmos DB MongoDB Collection.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        collectionName - Cosmos DB collection name.
        createUpdateMongoDBCollectionParameters - The parameters to provide for the current MongoDB Collection.
        context - The context to associate with this operation.
        Returns:
        an Azure Cosmos DB MongoDB collection.
        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.
      • createUpdateMongoDBCollectionAsync

        Mono<MongoDBCollectionGetResultsInner> createUpdateMongoDBCollectionAsync​(String resourceGroupName,
                                                                                  String accountName,
                                                                                  String databaseName,
                                                                                  String collectionName,
                                                                                  MongoDBCollectionCreateUpdateParameters createUpdateMongoDBCollectionParameters)
        Create or update an Azure Cosmos DB MongoDB Collection.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        collectionName - Cosmos DB collection name.
        createUpdateMongoDBCollectionParameters - The parameters to provide for the current MongoDB Collection.
        Returns:
        an Azure Cosmos DB MongoDB collection.
        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.
      • createUpdateMongoDBCollection

        MongoDBCollectionGetResultsInner createUpdateMongoDBCollection​(String resourceGroupName,
                                                                       String accountName,
                                                                       String databaseName,
                                                                       String collectionName,
                                                                       MongoDBCollectionCreateUpdateParameters createUpdateMongoDBCollectionParameters)
        Create or update an Azure Cosmos DB MongoDB Collection.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        collectionName - Cosmos DB collection name.
        createUpdateMongoDBCollectionParameters - The parameters to provide for the current MongoDB Collection.
        Returns:
        an Azure Cosmos DB MongoDB collection.
        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.
      • createUpdateMongoDBCollection

        MongoDBCollectionGetResultsInner createUpdateMongoDBCollection​(String resourceGroupName,
                                                                       String accountName,
                                                                       String databaseName,
                                                                       String collectionName,
                                                                       MongoDBCollectionCreateUpdateParameters createUpdateMongoDBCollectionParameters,
                                                                       com.azure.core.util.Context context)
        Create or update an Azure Cosmos DB MongoDB Collection.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        collectionName - Cosmos DB collection name.
        createUpdateMongoDBCollectionParameters - The parameters to provide for the current MongoDB Collection.
        context - The context to associate with this operation.
        Returns:
        an Azure Cosmos DB MongoDB collection.
        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.
      • deleteMongoDBCollectionWithResponseAsync

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

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

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

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,​Void> beginDeleteMongoDBCollection​(String resourceGroupName,
                                                                                                                                           String accountName,
                                                                                                                                           String databaseName,
                                                                                                                                           String collectionName,
                                                                                                                                           com.azure.core.util.Context context)
        Deletes an existing Azure Cosmos DB MongoDB Collection.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        collectionName - Cosmos DB collection 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.
      • deleteMongoDBCollectionAsync

        Mono<Void> deleteMongoDBCollectionAsync​(String resourceGroupName,
                                                String accountName,
                                                String databaseName,
                                                String collectionName)
        Deletes an existing Azure Cosmos DB MongoDB Collection.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        collectionName - Cosmos DB collection 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.
      • deleteMongoDBCollection

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

        void deleteMongoDBCollection​(String resourceGroupName,
                                     String accountName,
                                     String databaseName,
                                     String collectionName,
                                     com.azure.core.util.Context context)
        Deletes an existing Azure Cosmos DB MongoDB Collection.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        collectionName - Cosmos DB collection 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.
      • getMongoDBCollectionThroughputWithResponseAsync

        Mono<com.azure.core.http.rest.Response<ThroughputSettingsGetResultsInner>> getMongoDBCollectionThroughputWithResponseAsync​(String resourceGroupName,
                                                                                                                                   String accountName,
                                                                                                                                   String databaseName,
                                                                                                                                   String collectionName)
        Gets the RUs per second of the MongoDB collection 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.
        collectionName - Cosmos DB collection name.
        Returns:
        the RUs per second of the MongoDB collection 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.
      • getMongoDBCollectionThroughputAsync

        Mono<ThroughputSettingsGetResultsInner> getMongoDBCollectionThroughputAsync​(String resourceGroupName,
                                                                                    String accountName,
                                                                                    String databaseName,
                                                                                    String collectionName)
        Gets the RUs per second of the MongoDB collection 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.
        collectionName - Cosmos DB collection name.
        Returns:
        the RUs per second of the MongoDB collection 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.
      • getMongoDBCollectionThroughput

        ThroughputSettingsGetResultsInner getMongoDBCollectionThroughput​(String resourceGroupName,
                                                                         String accountName,
                                                                         String databaseName,
                                                                         String collectionName)
        Gets the RUs per second of the MongoDB collection 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.
        collectionName - Cosmos DB collection name.
        Returns:
        the RUs per second of the MongoDB collection 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.
      • getMongoDBCollectionThroughputWithResponse

        com.azure.core.http.rest.Response<ThroughputSettingsGetResultsInner> getMongoDBCollectionThroughputWithResponse​(String resourceGroupName,
                                                                                                                        String accountName,
                                                                                                                        String databaseName,
                                                                                                                        String collectionName,
                                                                                                                        com.azure.core.util.Context context)
        Gets the RUs per second of the MongoDB collection 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.
        collectionName - Cosmos DB collection name.
        context - The context to associate with this operation.
        Returns:
        the RUs per second of the MongoDB collection 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.
      • updateMongoDBCollectionThroughputWithResponseAsync

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

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

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

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

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

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

        ThroughputSettingsGetResultsInner updateMongoDBCollectionThroughput​(String resourceGroupName,
                                                                            String accountName,
                                                                            String databaseName,
                                                                            String collectionName,
                                                                            ThroughputSettingsUpdateParameters updateThroughputParameters,
                                                                            com.azure.core.util.Context context)
        Update the RUs per second of an Azure Cosmos DB MongoDB collection.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - Cosmos DB database account name.
        databaseName - Cosmos DB database name.
        collectionName - Cosmos DB collection name.
        updateThroughputParameters - The RUs per second of the parameters to provide for the current MongoDB collection.
        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.
      • migrateMongoDBCollectionToAutoscaleWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> migrateMongoDBCollectionToAutoscaleWithResponseAsync​(String resourceGroupName,
                                                                                                                       String accountName,
                                                                                                                       String databaseName,
                                                                                                                       String collectionName)
        Migrate an Azure Cosmos DB MongoDB collection 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.
        collectionName - Cosmos DB collection 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.
      • beginMigrateMongoDBCollectionToAutoscaleAsync

        com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<ThroughputSettingsGetResultsInner>,​ThroughputSettingsGetResultsInner> beginMigrateMongoDBCollectionToAutoscaleAsync​(String resourceGroupName,
                                                                                                                                                                                                                      String accountName,
                                                                                                                                                                                                                      String databaseName,
                                                                                                                                                                                                                      String collectionName)
        Migrate an Azure Cosmos DB MongoDB collection 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.
        collectionName - Cosmos DB collection 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.
      • beginMigrateMongoDBCollectionToAutoscale

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ThroughputSettingsGetResultsInner>,​ThroughputSettingsGetResultsInner> beginMigrateMongoDBCollectionToAutoscale​(String resourceGroupName,
                                                                                                                                                                                                                 String accountName,
                                                                                                                                                                                                                 String databaseName,
                                                                                                                                                                                                                 String collectionName)
        Migrate an Azure Cosmos DB MongoDB collection 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.
        collectionName - Cosmos DB collection 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.
      • beginMigrateMongoDBCollectionToAutoscale

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ThroughputSettingsGetResultsInner>,​ThroughputSettingsGetResultsInner> beginMigrateMongoDBCollectionToAutoscale​(String resourceGroupName,
                                                                                                                                                                                                                 String accountName,
                                                                                                                                                                                                                 String databaseName,
                                                                                                                                                                                                                 String collectionName,
                                                                                                                                                                                                                 com.azure.core.util.Context context)
        Migrate an Azure Cosmos DB MongoDB collection 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.
        collectionName - Cosmos DB collection 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.
      • migrateMongoDBCollectionToAutoscaleAsync

        Mono<ThroughputSettingsGetResultsInner> migrateMongoDBCollectionToAutoscaleAsync​(String resourceGroupName,
                                                                                         String accountName,
                                                                                         String databaseName,
                                                                                         String collectionName)
        Migrate an Azure Cosmos DB MongoDB collection 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.
        collectionName - Cosmos DB collection 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.
      • migrateMongoDBCollectionToAutoscale

        ThroughputSettingsGetResultsInner migrateMongoDBCollectionToAutoscale​(String resourceGroupName,
                                                                              String accountName,
                                                                              String databaseName,
                                                                              String collectionName)
        Migrate an Azure Cosmos DB MongoDB collection 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.
        collectionName - Cosmos DB collection 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.
      • migrateMongoDBCollectionToAutoscale

        ThroughputSettingsGetResultsInner migrateMongoDBCollectionToAutoscale​(String resourceGroupName,
                                                                              String accountName,
                                                                              String databaseName,
                                                                              String collectionName,
                                                                              com.azure.core.util.Context context)
        Migrate an Azure Cosmos DB MongoDB collection 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.
        collectionName - Cosmos DB collection 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.
      • migrateMongoDBCollectionToManualThroughputWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> migrateMongoDBCollectionToManualThroughputWithResponseAsync​(String resourceGroupName,
                                                                                                                              String accountName,
                                                                                                                              String databaseName,
                                                                                                                              String collectionName)
        Migrate an Azure Cosmos DB MongoDB collection 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.
        collectionName - Cosmos DB collection 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.
      • beginMigrateMongoDBCollectionToManualThroughputAsync

        com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<ThroughputSettingsGetResultsInner>,​ThroughputSettingsGetResultsInner> beginMigrateMongoDBCollectionToManualThroughputAsync​(String resourceGroupName,
                                                                                                                                                                                                                             String accountName,
                                                                                                                                                                                                                             String databaseName,
                                                                                                                                                                                                                             String collectionName)
        Migrate an Azure Cosmos DB MongoDB collection 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.
        collectionName - Cosmos DB collection 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.
      • beginMigrateMongoDBCollectionToManualThroughput

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ThroughputSettingsGetResultsInner>,​ThroughputSettingsGetResultsInner> beginMigrateMongoDBCollectionToManualThroughput​(String resourceGroupName,
                                                                                                                                                                                                                        String accountName,
                                                                                                                                                                                                                        String databaseName,
                                                                                                                                                                                                                        String collectionName)
        Migrate an Azure Cosmos DB MongoDB collection 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.
        collectionName - Cosmos DB collection 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.
      • beginMigrateMongoDBCollectionToManualThroughput

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ThroughputSettingsGetResultsInner>,​ThroughputSettingsGetResultsInner> beginMigrateMongoDBCollectionToManualThroughput​(String resourceGroupName,
                                                                                                                                                                                                                        String accountName,
                                                                                                                                                                                                                        String databaseName,
                                                                                                                                                                                                                        String collectionName,
                                                                                                                                                                                                                        com.azure.core.util.Context context)
        Migrate an Azure Cosmos DB MongoDB collection 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.
        collectionName - Cosmos DB collection 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.
      • migrateMongoDBCollectionToManualThroughputAsync

        Mono<ThroughputSettingsGetResultsInner> migrateMongoDBCollectionToManualThroughputAsync​(String resourceGroupName,
                                                                                                String accountName,
                                                                                                String databaseName,
                                                                                                String collectionName)
        Migrate an Azure Cosmos DB MongoDB collection 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.
        collectionName - Cosmos DB collection 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.
      • migrateMongoDBCollectionToManualThroughput

        ThroughputSettingsGetResultsInner migrateMongoDBCollectionToManualThroughput​(String resourceGroupName,
                                                                                     String accountName,
                                                                                     String databaseName,
                                                                                     String collectionName)
        Migrate an Azure Cosmos DB MongoDB collection 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.
        collectionName - Cosmos DB collection 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.
      • migrateMongoDBCollectionToManualThroughput

        ThroughputSettingsGetResultsInner migrateMongoDBCollectionToManualThroughput​(String resourceGroupName,
                                                                                     String accountName,
                                                                                     String databaseName,
                                                                                     String collectionName,
                                                                                     com.azure.core.util.Context context)
        Migrate an Azure Cosmos DB MongoDB collection 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.
        collectionName - Cosmos DB collection 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.
      • retrieveContinuousBackupInformationWithResponseAsync

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