Interface MongoDBResourcesClient


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

    • 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 as paginated response with PagedFlux.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • 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 as paginated response with PagedIterable.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • 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 as paginated response with PagedIterable.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • 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 along with Response on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.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 on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.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 along with Response.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.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.
    • 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 along with Response on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.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:
      the PollerFlux for polling of 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:
      the SyncPoller for polling of 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:
      the SyncPoller for polling of 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 on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.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 Response on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.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 PollerFlux for polling of long-running 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.
    • 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 SyncPoller for polling of long-running 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.
    • 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 SyncPoller for polling of long-running 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.
    • 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:
      A Mono that completes when a successful response is received.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.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 along with Response on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.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 on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.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 along with Response.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.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.
    • 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 along with Response on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.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:
      the PollerFlux for polling of 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:
      the SyncPoller for polling of 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:
      the SyncPoller for polling of 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 on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.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 along with Response on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.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:
      the PollerFlux for polling of 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:
      the SyncPoller for polling of 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:
      the SyncPoller for polling of 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 on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.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 along with Response on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.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:
      the PollerFlux for polling of 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:
      the SyncPoller for polling of 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:
      the SyncPoller for polling of 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 on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.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 as paginated response with PagedFlux.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • 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 as paginated response with PagedIterable.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • 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 as paginated response with PagedIterable.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • 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 along with Response on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.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 on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.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 along with Response.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.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.
    • 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 along with Response on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.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:
      the PollerFlux for polling of 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:
      the SyncPoller for polling of 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:
      the SyncPoller for polling of 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 on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.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 Response on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.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 PollerFlux for polling of long-running 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.
    • 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 SyncPoller for polling of long-running 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.
    • 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 SyncPoller for polling of long-running 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.
    • 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:
      A Mono that completes when a successful response is received.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.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 along with Response on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.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 on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.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 along with Response.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.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.
    • 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 along with Response on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.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:
      the PollerFlux for polling of 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:
      the SyncPoller for polling of 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:
      the SyncPoller for polling of 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 on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.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 along with Response on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.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:
      the PollerFlux for polling of 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:
      the SyncPoller for polling of 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:
      the SyncPoller for polling of 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 on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.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 along with Response on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.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:
      the PollerFlux for polling of 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:
      the SyncPoller for polling of 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:
      the SyncPoller for polling of 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 on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.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.
    • getMongoRoleDefinitionWithResponseAsync

      Mono<com.azure.core.http.rest.Response<MongoRoleDefinitionGetResultsInner>> getMongoRoleDefinitionWithResponseAsync(String mongoRoleDefinitionId, String resourceGroupName, String accountName)
      Retrieves the properties of an existing Azure Cosmos DB Mongo Role Definition with the given Id.
      Parameters:
      mongoRoleDefinitionId - The ID for the Role Definition {dbName.roleName}.
      resourceGroupName - The name of the resource group. The name is case insensitive.
      accountName - Cosmos DB database account name.
      Returns:
      an Azure Cosmos DB Mongo Role Definition along with Response on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getMongoRoleDefinitionAsync

      Mono<MongoRoleDefinitionGetResultsInner> getMongoRoleDefinitionAsync(String mongoRoleDefinitionId, String resourceGroupName, String accountName)
      Retrieves the properties of an existing Azure Cosmos DB Mongo Role Definition with the given Id.
      Parameters:
      mongoRoleDefinitionId - The ID for the Role Definition {dbName.roleName}.
      resourceGroupName - The name of the resource group. The name is case insensitive.
      accountName - Cosmos DB database account name.
      Returns:
      an Azure Cosmos DB Mongo Role Definition on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getMongoRoleDefinitionWithResponse

      com.azure.core.http.rest.Response<MongoRoleDefinitionGetResultsInner> getMongoRoleDefinitionWithResponse(String mongoRoleDefinitionId, String resourceGroupName, String accountName, com.azure.core.util.Context context)
      Retrieves the properties of an existing Azure Cosmos DB Mongo Role Definition with the given Id.
      Parameters:
      mongoRoleDefinitionId - The ID for the Role Definition {dbName.roleName}.
      resourceGroupName - The name of the resource group. The name is case insensitive.
      accountName - Cosmos DB database account name.
      context - The context to associate with this operation.
      Returns:
      an Azure Cosmos DB Mongo Role Definition along with Response.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getMongoRoleDefinition

      MongoRoleDefinitionGetResultsInner getMongoRoleDefinition(String mongoRoleDefinitionId, String resourceGroupName, String accountName)
      Retrieves the properties of an existing Azure Cosmos DB Mongo Role Definition with the given Id.
      Parameters:
      mongoRoleDefinitionId - The ID for the Role Definition {dbName.roleName}.
      resourceGroupName - The name of the resource group. The name is case insensitive.
      accountName - Cosmos DB database account name.
      Returns:
      an Azure Cosmos DB Mongo Role Definition.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • createUpdateMongoRoleDefinitionWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createUpdateMongoRoleDefinitionWithResponseAsync(String mongoRoleDefinitionId, String resourceGroupName, String accountName, MongoRoleDefinitionCreateUpdateParameters createUpdateMongoRoleDefinitionParameters)
      Creates or updates an Azure Cosmos DB Mongo Role Definition.
      Parameters:
      mongoRoleDefinitionId - The ID for the Role Definition {dbName.roleName}.
      resourceGroupName - The name of the resource group. The name is case insensitive.
      accountName - Cosmos DB database account name.
      createUpdateMongoRoleDefinitionParameters - The properties required to create or update a Role Definition.
      Returns:
      an Azure Cosmos DB Mongo Role Definition along with Response on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginCreateUpdateMongoRoleDefinitionAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<MongoRoleDefinitionGetResultsInner>,MongoRoleDefinitionGetResultsInner> beginCreateUpdateMongoRoleDefinitionAsync(String mongoRoleDefinitionId, String resourceGroupName, String accountName, MongoRoleDefinitionCreateUpdateParameters createUpdateMongoRoleDefinitionParameters)
      Creates or updates an Azure Cosmos DB Mongo Role Definition.
      Parameters:
      mongoRoleDefinitionId - The ID for the Role Definition {dbName.roleName}.
      resourceGroupName - The name of the resource group. The name is case insensitive.
      accountName - Cosmos DB database account name.
      createUpdateMongoRoleDefinitionParameters - The properties required to create or update a Role Definition.
      Returns:
      the PollerFlux for polling of an Azure Cosmos DB Mongo Role Definition.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginCreateUpdateMongoRoleDefinition

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<MongoRoleDefinitionGetResultsInner>,MongoRoleDefinitionGetResultsInner> beginCreateUpdateMongoRoleDefinition(String mongoRoleDefinitionId, String resourceGroupName, String accountName, MongoRoleDefinitionCreateUpdateParameters createUpdateMongoRoleDefinitionParameters)
      Creates or updates an Azure Cosmos DB Mongo Role Definition.
      Parameters:
      mongoRoleDefinitionId - The ID for the Role Definition {dbName.roleName}.
      resourceGroupName - The name of the resource group. The name is case insensitive.
      accountName - Cosmos DB database account name.
      createUpdateMongoRoleDefinitionParameters - The properties required to create or update a Role Definition.
      Returns:
      the SyncPoller for polling of an Azure Cosmos DB Mongo Role Definition.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginCreateUpdateMongoRoleDefinition

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<MongoRoleDefinitionGetResultsInner>,MongoRoleDefinitionGetResultsInner> beginCreateUpdateMongoRoleDefinition(String mongoRoleDefinitionId, String resourceGroupName, String accountName, MongoRoleDefinitionCreateUpdateParameters createUpdateMongoRoleDefinitionParameters, com.azure.core.util.Context context)
      Creates or updates an Azure Cosmos DB Mongo Role Definition.
      Parameters:
      mongoRoleDefinitionId - The ID for the Role Definition {dbName.roleName}.
      resourceGroupName - The name of the resource group. The name is case insensitive.
      accountName - Cosmos DB database account name.
      createUpdateMongoRoleDefinitionParameters - The properties required to create or update a Role Definition.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of an Azure Cosmos DB Mongo Role Definition.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • createUpdateMongoRoleDefinitionAsync

      Mono<MongoRoleDefinitionGetResultsInner> createUpdateMongoRoleDefinitionAsync(String mongoRoleDefinitionId, String resourceGroupName, String accountName, MongoRoleDefinitionCreateUpdateParameters createUpdateMongoRoleDefinitionParameters)
      Creates or updates an Azure Cosmos DB Mongo Role Definition.
      Parameters:
      mongoRoleDefinitionId - The ID for the Role Definition {dbName.roleName}.
      resourceGroupName - The name of the resource group. The name is case insensitive.
      accountName - Cosmos DB database account name.
      createUpdateMongoRoleDefinitionParameters - The properties required to create or update a Role Definition.
      Returns:
      an Azure Cosmos DB Mongo Role Definition on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • createUpdateMongoRoleDefinition

      MongoRoleDefinitionGetResultsInner createUpdateMongoRoleDefinition(String mongoRoleDefinitionId, String resourceGroupName, String accountName, MongoRoleDefinitionCreateUpdateParameters createUpdateMongoRoleDefinitionParameters)
      Creates or updates an Azure Cosmos DB Mongo Role Definition.
      Parameters:
      mongoRoleDefinitionId - The ID for the Role Definition {dbName.roleName}.
      resourceGroupName - The name of the resource group. The name is case insensitive.
      accountName - Cosmos DB database account name.
      createUpdateMongoRoleDefinitionParameters - The properties required to create or update a Role Definition.
      Returns:
      an Azure Cosmos DB Mongo Role Definition.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • createUpdateMongoRoleDefinition

      MongoRoleDefinitionGetResultsInner createUpdateMongoRoleDefinition(String mongoRoleDefinitionId, String resourceGroupName, String accountName, MongoRoleDefinitionCreateUpdateParameters createUpdateMongoRoleDefinitionParameters, com.azure.core.util.Context context)
      Creates or updates an Azure Cosmos DB Mongo Role Definition.
      Parameters:
      mongoRoleDefinitionId - The ID for the Role Definition {dbName.roleName}.
      resourceGroupName - The name of the resource group. The name is case insensitive.
      accountName - Cosmos DB database account name.
      createUpdateMongoRoleDefinitionParameters - The properties required to create or update a Role Definition.
      context - The context to associate with this operation.
      Returns:
      an Azure Cosmos DB Mongo Role Definition.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • deleteMongoRoleDefinitionWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteMongoRoleDefinitionWithResponseAsync(String mongoRoleDefinitionId, String resourceGroupName, String accountName)
      Deletes an existing Azure Cosmos DB Mongo Role Definition.
      Parameters:
      mongoRoleDefinitionId - The ID for the Role Definition {dbName.roleName}.
      resourceGroupName - The name of the resource group. The name is case insensitive.
      accountName - Cosmos DB database account name.
      Returns:
      the Response on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginDeleteMongoRoleDefinitionAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteMongoRoleDefinitionAsync(String mongoRoleDefinitionId, String resourceGroupName, String accountName)
      Deletes an existing Azure Cosmos DB Mongo Role Definition.
      Parameters:
      mongoRoleDefinitionId - The ID for the Role Definition {dbName.roleName}.
      resourceGroupName - The name of the resource group. The name is case insensitive.
      accountName - Cosmos DB database account name.
      Returns:
      the PollerFlux for polling of long-running 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.
    • beginDeleteMongoRoleDefinition

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteMongoRoleDefinition(String mongoRoleDefinitionId, String resourceGroupName, String accountName)
      Deletes an existing Azure Cosmos DB Mongo Role Definition.
      Parameters:
      mongoRoleDefinitionId - The ID for the Role Definition {dbName.roleName}.
      resourceGroupName - The name of the resource group. The name is case insensitive.
      accountName - Cosmos DB database account name.
      Returns:
      the SyncPoller for polling of long-running 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.
    • beginDeleteMongoRoleDefinition

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteMongoRoleDefinition(String mongoRoleDefinitionId, String resourceGroupName, String accountName, com.azure.core.util.Context context)
      Deletes an existing Azure Cosmos DB Mongo Role Definition.
      Parameters:
      mongoRoleDefinitionId - The ID for the Role Definition {dbName.roleName}.
      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 SyncPoller for polling of long-running 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.
    • deleteMongoRoleDefinitionAsync

      Mono<Void> deleteMongoRoleDefinitionAsync(String mongoRoleDefinitionId, String resourceGroupName, String accountName)
      Deletes an existing Azure Cosmos DB Mongo Role Definition.
      Parameters:
      mongoRoleDefinitionId - The ID for the Role Definition {dbName.roleName}.
      resourceGroupName - The name of the resource group. The name is case insensitive.
      accountName - Cosmos DB database account name.
      Returns:
      A Mono that completes when a successful response is received.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • deleteMongoRoleDefinition

      void deleteMongoRoleDefinition(String mongoRoleDefinitionId, String resourceGroupName, String accountName)
      Deletes an existing Azure Cosmos DB Mongo Role Definition.
      Parameters:
      mongoRoleDefinitionId - The ID for the Role Definition {dbName.roleName}.
      resourceGroupName - The name of the resource group. The name is case insensitive.
      accountName - Cosmos DB database account name.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • deleteMongoRoleDefinition

      void deleteMongoRoleDefinition(String mongoRoleDefinitionId, String resourceGroupName, String accountName, com.azure.core.util.Context context)
      Deletes an existing Azure Cosmos DB Mongo Role Definition.
      Parameters:
      mongoRoleDefinitionId - The ID for the Role Definition {dbName.roleName}.
      resourceGroupName - The name of the resource group. The name is case insensitive.
      accountName - Cosmos DB database account name.
      context - The context to associate with this operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • listMongoRoleDefinitionsAsync

      com.azure.core.http.rest.PagedFlux<MongoRoleDefinitionGetResultsInner> listMongoRoleDefinitionsAsync(String resourceGroupName, String accountName)
      Retrieves the list of all Azure Cosmos DB Mongo Role Definitions.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      accountName - Cosmos DB database account name.
      Returns:
      the relevant Mongo Role Definitions as paginated response with PagedFlux.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • listMongoRoleDefinitions

      com.azure.core.http.rest.PagedIterable<MongoRoleDefinitionGetResultsInner> listMongoRoleDefinitions(String resourceGroupName, String accountName)
      Retrieves the list of all Azure Cosmos DB Mongo Role Definitions.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      accountName - Cosmos DB database account name.
      Returns:
      the relevant Mongo Role Definitions as paginated response with PagedIterable.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • listMongoRoleDefinitions

      com.azure.core.http.rest.PagedIterable<MongoRoleDefinitionGetResultsInner> listMongoRoleDefinitions(String resourceGroupName, String accountName, com.azure.core.util.Context context)
      Retrieves the list of all Azure Cosmos DB Mongo Role Definitions.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      accountName - Cosmos DB database account name.
      context - The context to associate with this operation.
      Returns:
      the relevant Mongo Role Definitions as paginated response with PagedIterable.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getMongoUserDefinitionWithResponseAsync

      Mono<com.azure.core.http.rest.Response<MongoUserDefinitionGetResultsInner>> getMongoUserDefinitionWithResponseAsync(String mongoUserDefinitionId, String resourceGroupName, String accountName)
      Retrieves the properties of an existing Azure Cosmos DB Mongo User Definition with the given Id.
      Parameters:
      mongoUserDefinitionId - The ID for the User Definition {dbName.userName}.
      resourceGroupName - The name of the resource group. The name is case insensitive.
      accountName - Cosmos DB database account name.
      Returns:
      an Azure Cosmos DB User Definition along with Response on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getMongoUserDefinitionAsync

      Mono<MongoUserDefinitionGetResultsInner> getMongoUserDefinitionAsync(String mongoUserDefinitionId, String resourceGroupName, String accountName)
      Retrieves the properties of an existing Azure Cosmos DB Mongo User Definition with the given Id.
      Parameters:
      mongoUserDefinitionId - The ID for the User Definition {dbName.userName}.
      resourceGroupName - The name of the resource group. The name is case insensitive.
      accountName - Cosmos DB database account name.
      Returns:
      an Azure Cosmos DB User Definition on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getMongoUserDefinitionWithResponse

      com.azure.core.http.rest.Response<MongoUserDefinitionGetResultsInner> getMongoUserDefinitionWithResponse(String mongoUserDefinitionId, String resourceGroupName, String accountName, com.azure.core.util.Context context)
      Retrieves the properties of an existing Azure Cosmos DB Mongo User Definition with the given Id.
      Parameters:
      mongoUserDefinitionId - The ID for the User Definition {dbName.userName}.
      resourceGroupName - The name of the resource group. The name is case insensitive.
      accountName - Cosmos DB database account name.
      context - The context to associate with this operation.
      Returns:
      an Azure Cosmos DB User Definition along with Response.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getMongoUserDefinition

      MongoUserDefinitionGetResultsInner getMongoUserDefinition(String mongoUserDefinitionId, String resourceGroupName, String accountName)
      Retrieves the properties of an existing Azure Cosmos DB Mongo User Definition with the given Id.
      Parameters:
      mongoUserDefinitionId - The ID for the User Definition {dbName.userName}.
      resourceGroupName - The name of the resource group. The name is case insensitive.
      accountName - Cosmos DB database account name.
      Returns:
      an Azure Cosmos DB User Definition.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • createUpdateMongoUserDefinitionWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createUpdateMongoUserDefinitionWithResponseAsync(String mongoUserDefinitionId, String resourceGroupName, String accountName, MongoUserDefinitionCreateUpdateParameters createUpdateMongoUserDefinitionParameters)
      Creates or updates an Azure Cosmos DB Mongo User Definition.
      Parameters:
      mongoUserDefinitionId - The ID for the User Definition {dbName.userName}.
      resourceGroupName - The name of the resource group. The name is case insensitive.
      accountName - Cosmos DB database account name.
      createUpdateMongoUserDefinitionParameters - The properties required to create or update a User Definition.
      Returns:
      an Azure Cosmos DB User Definition along with Response on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginCreateUpdateMongoUserDefinitionAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<MongoUserDefinitionGetResultsInner>,MongoUserDefinitionGetResultsInner> beginCreateUpdateMongoUserDefinitionAsync(String mongoUserDefinitionId, String resourceGroupName, String accountName, MongoUserDefinitionCreateUpdateParameters createUpdateMongoUserDefinitionParameters)
      Creates or updates an Azure Cosmos DB Mongo User Definition.
      Parameters:
      mongoUserDefinitionId - The ID for the User Definition {dbName.userName}.
      resourceGroupName - The name of the resource group. The name is case insensitive.
      accountName - Cosmos DB database account name.
      createUpdateMongoUserDefinitionParameters - The properties required to create or update a User Definition.
      Returns:
      the PollerFlux for polling of an Azure Cosmos DB User Definition.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginCreateUpdateMongoUserDefinition

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<MongoUserDefinitionGetResultsInner>,MongoUserDefinitionGetResultsInner> beginCreateUpdateMongoUserDefinition(String mongoUserDefinitionId, String resourceGroupName, String accountName, MongoUserDefinitionCreateUpdateParameters createUpdateMongoUserDefinitionParameters)
      Creates or updates an Azure Cosmos DB Mongo User Definition.
      Parameters:
      mongoUserDefinitionId - The ID for the User Definition {dbName.userName}.
      resourceGroupName - The name of the resource group. The name is case insensitive.
      accountName - Cosmos DB database account name.
      createUpdateMongoUserDefinitionParameters - The properties required to create or update a User Definition.
      Returns:
      the SyncPoller for polling of an Azure Cosmos DB User Definition.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginCreateUpdateMongoUserDefinition

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<MongoUserDefinitionGetResultsInner>,MongoUserDefinitionGetResultsInner> beginCreateUpdateMongoUserDefinition(String mongoUserDefinitionId, String resourceGroupName, String accountName, MongoUserDefinitionCreateUpdateParameters createUpdateMongoUserDefinitionParameters, com.azure.core.util.Context context)
      Creates or updates an Azure Cosmos DB Mongo User Definition.
      Parameters:
      mongoUserDefinitionId - The ID for the User Definition {dbName.userName}.
      resourceGroupName - The name of the resource group. The name is case insensitive.
      accountName - Cosmos DB database account name.
      createUpdateMongoUserDefinitionParameters - The properties required to create or update a User Definition.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of an Azure Cosmos DB User Definition.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • createUpdateMongoUserDefinitionAsync

      Mono<MongoUserDefinitionGetResultsInner> createUpdateMongoUserDefinitionAsync(String mongoUserDefinitionId, String resourceGroupName, String accountName, MongoUserDefinitionCreateUpdateParameters createUpdateMongoUserDefinitionParameters)
      Creates or updates an Azure Cosmos DB Mongo User Definition.
      Parameters:
      mongoUserDefinitionId - The ID for the User Definition {dbName.userName}.
      resourceGroupName - The name of the resource group. The name is case insensitive.
      accountName - Cosmos DB database account name.
      createUpdateMongoUserDefinitionParameters - The properties required to create or update a User Definition.
      Returns:
      an Azure Cosmos DB User Definition on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • createUpdateMongoUserDefinition

      MongoUserDefinitionGetResultsInner createUpdateMongoUserDefinition(String mongoUserDefinitionId, String resourceGroupName, String accountName, MongoUserDefinitionCreateUpdateParameters createUpdateMongoUserDefinitionParameters)
      Creates or updates an Azure Cosmos DB Mongo User Definition.
      Parameters:
      mongoUserDefinitionId - The ID for the User Definition {dbName.userName}.
      resourceGroupName - The name of the resource group. The name is case insensitive.
      accountName - Cosmos DB database account name.
      createUpdateMongoUserDefinitionParameters - The properties required to create or update a User Definition.
      Returns:
      an Azure Cosmos DB User Definition.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • createUpdateMongoUserDefinition

      MongoUserDefinitionGetResultsInner createUpdateMongoUserDefinition(String mongoUserDefinitionId, String resourceGroupName, String accountName, MongoUserDefinitionCreateUpdateParameters createUpdateMongoUserDefinitionParameters, com.azure.core.util.Context context)
      Creates or updates an Azure Cosmos DB Mongo User Definition.
      Parameters:
      mongoUserDefinitionId - The ID for the User Definition {dbName.userName}.
      resourceGroupName - The name of the resource group. The name is case insensitive.
      accountName - Cosmos DB database account name.
      createUpdateMongoUserDefinitionParameters - The properties required to create or update a User Definition.
      context - The context to associate with this operation.
      Returns:
      an Azure Cosmos DB User Definition.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • deleteMongoUserDefinitionWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteMongoUserDefinitionWithResponseAsync(String mongoUserDefinitionId, String resourceGroupName, String accountName)
      Deletes an existing Azure Cosmos DB Mongo User Definition.
      Parameters:
      mongoUserDefinitionId - The ID for the User Definition {dbName.userName}.
      resourceGroupName - The name of the resource group. The name is case insensitive.
      accountName - Cosmos DB database account name.
      Returns:
      the Response on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginDeleteMongoUserDefinitionAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteMongoUserDefinitionAsync(String mongoUserDefinitionId, String resourceGroupName, String accountName)
      Deletes an existing Azure Cosmos DB Mongo User Definition.
      Parameters:
      mongoUserDefinitionId - The ID for the User Definition {dbName.userName}.
      resourceGroupName - The name of the resource group. The name is case insensitive.
      accountName - Cosmos DB database account name.
      Returns:
      the PollerFlux for polling of long-running 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.
    • beginDeleteMongoUserDefinition

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteMongoUserDefinition(String mongoUserDefinitionId, String resourceGroupName, String accountName)
      Deletes an existing Azure Cosmos DB Mongo User Definition.
      Parameters:
      mongoUserDefinitionId - The ID for the User Definition {dbName.userName}.
      resourceGroupName - The name of the resource group. The name is case insensitive.
      accountName - Cosmos DB database account name.
      Returns:
      the SyncPoller for polling of long-running 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.
    • beginDeleteMongoUserDefinition

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteMongoUserDefinition(String mongoUserDefinitionId, String resourceGroupName, String accountName, com.azure.core.util.Context context)
      Deletes an existing Azure Cosmos DB Mongo User Definition.
      Parameters:
      mongoUserDefinitionId - The ID for the User Definition {dbName.userName}.
      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 SyncPoller for polling of long-running 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.
    • deleteMongoUserDefinitionAsync

      Mono<Void> deleteMongoUserDefinitionAsync(String mongoUserDefinitionId, String resourceGroupName, String accountName)
      Deletes an existing Azure Cosmos DB Mongo User Definition.
      Parameters:
      mongoUserDefinitionId - The ID for the User Definition {dbName.userName}.
      resourceGroupName - The name of the resource group. The name is case insensitive.
      accountName - Cosmos DB database account name.
      Returns:
      A Mono that completes when a successful response is received.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • deleteMongoUserDefinition

      void deleteMongoUserDefinition(String mongoUserDefinitionId, String resourceGroupName, String accountName)
      Deletes an existing Azure Cosmos DB Mongo User Definition.
      Parameters:
      mongoUserDefinitionId - The ID for the User Definition {dbName.userName}.
      resourceGroupName - The name of the resource group. The name is case insensitive.
      accountName - Cosmos DB database account name.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • deleteMongoUserDefinition

      void deleteMongoUserDefinition(String mongoUserDefinitionId, String resourceGroupName, String accountName, com.azure.core.util.Context context)
      Deletes an existing Azure Cosmos DB Mongo User Definition.
      Parameters:
      mongoUserDefinitionId - The ID for the User Definition {dbName.userName}.
      resourceGroupName - The name of the resource group. The name is case insensitive.
      accountName - Cosmos DB database account name.
      context - The context to associate with this operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • listMongoUserDefinitionsAsync

      com.azure.core.http.rest.PagedFlux<MongoUserDefinitionGetResultsInner> listMongoUserDefinitionsAsync(String resourceGroupName, String accountName)
      Retrieves the list of all Azure Cosmos DB Mongo User Definition.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      accountName - Cosmos DB database account name.
      Returns:
      the relevant User Definition as paginated response with PagedFlux.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • listMongoUserDefinitions

      com.azure.core.http.rest.PagedIterable<MongoUserDefinitionGetResultsInner> listMongoUserDefinitions(String resourceGroupName, String accountName)
      Retrieves the list of all Azure Cosmos DB Mongo User Definition.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      accountName - Cosmos DB database account name.
      Returns:
      the relevant User Definition as paginated response with PagedIterable.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • listMongoUserDefinitions

      com.azure.core.http.rest.PagedIterable<MongoUserDefinitionGetResultsInner> listMongoUserDefinitions(String resourceGroupName, String accountName, com.azure.core.util.Context context)
      Retrieves the list of all Azure Cosmos DB Mongo User Definition.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      accountName - Cosmos DB database account name.
      context - The context to associate with this operation.
      Returns:
      the relevant User Definition as paginated response with PagedIterable.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • 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 along with Response on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.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:
      the PollerFlux for polling of 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:
      the SyncPoller for polling of 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:
      the SyncPoller for polling of 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 on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.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.