Interface FleetspacesClient


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

    • listAsync

      com.azure.core.http.rest.PagedFlux<FleetspaceResourceInner> listAsync(String resourceGroupName, String fleetName)
      Lists all the fleetspaces under a fleet.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      fleetName - Cosmos DB fleet name. Needs to be unique under a subscription.
      Returns:
      the response of the List operation that contains the fleetspaces 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.
    • list

      com.azure.core.http.rest.PagedIterable<FleetspaceResourceInner> list(String resourceGroupName, String fleetName)
      Lists all the fleetspaces under a fleet.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      fleetName - Cosmos DB fleet name. Needs to be unique under a subscription.
      Returns:
      the response of the List operation that contains the fleetspaces 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.
    • list

      com.azure.core.http.rest.PagedIterable<FleetspaceResourceInner> list(String resourceGroupName, String fleetName, com.azure.core.util.Context context)
      Lists all the fleetspaces under a fleet.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      fleetName - Cosmos DB fleet name. Needs to be unique under a subscription.
      context - The context to associate with this operation.
      Returns:
      the response of the List operation that contains the fleetspaces 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.
    • getWithResponseAsync

      Mono<com.azure.core.http.rest.Response<FleetspaceResourceInner>> getWithResponseAsync(String resourceGroupName, String fleetName, String fleetspaceName)
      Retrieves the properties of an existing Azure Cosmos DB fleetspace under a fleet.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      fleetName - Cosmos DB fleet name. Needs to be unique under a subscription.
      fleetspaceName - Cosmos DB fleetspace name. Needs to be unique under a fleet.
      Returns:
      an Azure Cosmos DB Fleetspace 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.
    • getAsync

      Mono<FleetspaceResourceInner> getAsync(String resourceGroupName, String fleetName, String fleetspaceName)
      Retrieves the properties of an existing Azure Cosmos DB fleetspace under a fleet.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      fleetName - Cosmos DB fleet name. Needs to be unique under a subscription.
      fleetspaceName - Cosmos DB fleetspace name. Needs to be unique under a fleet.
      Returns:
      an Azure Cosmos DB Fleetspace 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.
    • getWithResponse

      com.azure.core.http.rest.Response<FleetspaceResourceInner> getWithResponse(String resourceGroupName, String fleetName, String fleetspaceName, com.azure.core.util.Context context)
      Retrieves the properties of an existing Azure Cosmos DB fleetspace under a fleet.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      fleetName - Cosmos DB fleet name. Needs to be unique under a subscription.
      fleetspaceName - Cosmos DB fleetspace name. Needs to be unique under a fleet.
      context - The context to associate with this operation.
      Returns:
      an Azure Cosmos DB Fleetspace 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.
    • get

      FleetspaceResourceInner get(String resourceGroupName, String fleetName, String fleetspaceName)
      Retrieves the properties of an existing Azure Cosmos DB fleetspace under a fleet.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      fleetName - Cosmos DB fleet name. Needs to be unique under a subscription.
      fleetspaceName - Cosmos DB fleetspace name. Needs to be unique under a fleet.
      Returns:
      an Azure Cosmos DB Fleetspace.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • createWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createWithResponseAsync(String resourceGroupName, String fleetName, String fleetspaceName, FleetspaceResourceInner body)
      Creates an Azure Cosmos DB fleetspace under a fleet.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      fleetName - Cosmos DB fleet name. Needs to be unique under a subscription.
      fleetspaceName - Cosmos DB fleetspace name. Needs to be unique under a fleet.
      body - The parameters to provide for the current fleetspace.
      Returns:
      an Azure Cosmos DB Fleetspace 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.
    • beginCreateAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<FleetspaceResourceInner>, FleetspaceResourceInner> beginCreateAsync(String resourceGroupName, String fleetName, String fleetspaceName, FleetspaceResourceInner body)
      Creates an Azure Cosmos DB fleetspace under a fleet.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      fleetName - Cosmos DB fleet name. Needs to be unique under a subscription.
      fleetspaceName - Cosmos DB fleetspace name. Needs to be unique under a fleet.
      body - The parameters to provide for the current fleetspace.
      Returns:
      the PollerFlux for polling of an Azure Cosmos DB Fleetspace.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginCreate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<FleetspaceResourceInner>, FleetspaceResourceInner> beginCreate(String resourceGroupName, String fleetName, String fleetspaceName, FleetspaceResourceInner body)
      Creates an Azure Cosmos DB fleetspace under a fleet.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      fleetName - Cosmos DB fleet name. Needs to be unique under a subscription.
      fleetspaceName - Cosmos DB fleetspace name. Needs to be unique under a fleet.
      body - The parameters to provide for the current fleetspace.
      Returns:
      the SyncPoller for polling of an Azure Cosmos DB Fleetspace.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginCreate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<FleetspaceResourceInner>, FleetspaceResourceInner> beginCreate(String resourceGroupName, String fleetName, String fleetspaceName, FleetspaceResourceInner body, com.azure.core.util.Context context)
      Creates an Azure Cosmos DB fleetspace under a fleet.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      fleetName - Cosmos DB fleet name. Needs to be unique under a subscription.
      fleetspaceName - Cosmos DB fleetspace name. Needs to be unique under a fleet.
      body - The parameters to provide for the current fleetspace.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of an Azure Cosmos DB Fleetspace.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • createAsync

      Mono<FleetspaceResourceInner> createAsync(String resourceGroupName, String fleetName, String fleetspaceName, FleetspaceResourceInner body)
      Creates an Azure Cosmos DB fleetspace under a fleet.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      fleetName - Cosmos DB fleet name. Needs to be unique under a subscription.
      fleetspaceName - Cosmos DB fleetspace name. Needs to be unique under a fleet.
      body - The parameters to provide for the current fleetspace.
      Returns:
      an Azure Cosmos DB Fleetspace 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.
    • create

      FleetspaceResourceInner create(String resourceGroupName, String fleetName, String fleetspaceName, FleetspaceResourceInner body)
      Creates an Azure Cosmos DB fleetspace under a fleet.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      fleetName - Cosmos DB fleet name. Needs to be unique under a subscription.
      fleetspaceName - Cosmos DB fleetspace name. Needs to be unique under a fleet.
      body - The parameters to provide for the current fleetspace.
      Returns:
      an Azure Cosmos DB Fleetspace.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • create

      FleetspaceResourceInner create(String resourceGroupName, String fleetName, String fleetspaceName, FleetspaceResourceInner body, com.azure.core.util.Context context)
      Creates an Azure Cosmos DB fleetspace under a fleet.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      fleetName - Cosmos DB fleet name. Needs to be unique under a subscription.
      fleetspaceName - Cosmos DB fleetspace name. Needs to be unique under a fleet.
      body - The parameters to provide for the current fleetspace.
      context - The context to associate with this operation.
      Returns:
      an Azure Cosmos DB Fleetspace.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • updateWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> updateWithResponseAsync(String resourceGroupName, String fleetName, String fleetspaceName, FleetspaceUpdate body)
      Update the properties of an existing Azure Cosmos DB fleetspace under a fleet.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      fleetName - Cosmos DB fleet name. Needs to be unique under a subscription.
      fleetspaceName - Cosmos DB fleetspace name. Needs to be unique under a fleet.
      body - The parameters to provide for the current fleetspace.
      Returns:
      an Azure Cosmos DB Fleetspace 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.
    • beginUpdateAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<FleetspaceResourceInner>, FleetspaceResourceInner> beginUpdateAsync(String resourceGroupName, String fleetName, String fleetspaceName, FleetspaceUpdate body)
      Update the properties of an existing Azure Cosmos DB fleetspace under a fleet.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      fleetName - Cosmos DB fleet name. Needs to be unique under a subscription.
      fleetspaceName - Cosmos DB fleetspace name. Needs to be unique under a fleet.
      body - The parameters to provide for the current fleetspace.
      Returns:
      the PollerFlux for polling of an Azure Cosmos DB Fleetspace.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginUpdateAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<FleetspaceResourceInner>, FleetspaceResourceInner> beginUpdateAsync(String resourceGroupName, String fleetName, String fleetspaceName)
      Update the properties of an existing Azure Cosmos DB fleetspace under a fleet.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      fleetName - Cosmos DB fleet name. Needs to be unique under a subscription.
      fleetspaceName - Cosmos DB fleetspace name. Needs to be unique under a fleet.
      Returns:
      the PollerFlux for polling of an Azure Cosmos DB Fleetspace.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<FleetspaceResourceInner>, FleetspaceResourceInner> beginUpdate(String resourceGroupName, String fleetName, String fleetspaceName)
      Update the properties of an existing Azure Cosmos DB fleetspace under a fleet.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      fleetName - Cosmos DB fleet name. Needs to be unique under a subscription.
      fleetspaceName - Cosmos DB fleetspace name. Needs to be unique under a fleet.
      Returns:
      the SyncPoller for polling of an Azure Cosmos DB Fleetspace.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<FleetspaceResourceInner>, FleetspaceResourceInner> beginUpdate(String resourceGroupName, String fleetName, String fleetspaceName, FleetspaceUpdate body, com.azure.core.util.Context context)
      Update the properties of an existing Azure Cosmos DB fleetspace under a fleet.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      fleetName - Cosmos DB fleet name. Needs to be unique under a subscription.
      fleetspaceName - Cosmos DB fleetspace name. Needs to be unique under a fleet.
      body - The parameters to provide for the current fleetspace.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of an Azure Cosmos DB Fleetspace.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • updateAsync

      Mono<FleetspaceResourceInner> updateAsync(String resourceGroupName, String fleetName, String fleetspaceName, FleetspaceUpdate body)
      Update the properties of an existing Azure Cosmos DB fleetspace under a fleet.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      fleetName - Cosmos DB fleet name. Needs to be unique under a subscription.
      fleetspaceName - Cosmos DB fleetspace name. Needs to be unique under a fleet.
      body - The parameters to provide for the current fleetspace.
      Returns:
      an Azure Cosmos DB Fleetspace 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.
    • updateAsync

      Mono<FleetspaceResourceInner> updateAsync(String resourceGroupName, String fleetName, String fleetspaceName)
      Update the properties of an existing Azure Cosmos DB fleetspace under a fleet.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      fleetName - Cosmos DB fleet name. Needs to be unique under a subscription.
      fleetspaceName - Cosmos DB fleetspace name. Needs to be unique under a fleet.
      Returns:
      an Azure Cosmos DB Fleetspace 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.
    • update

      FleetspaceResourceInner update(String resourceGroupName, String fleetName, String fleetspaceName)
      Update the properties of an existing Azure Cosmos DB fleetspace under a fleet.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      fleetName - Cosmos DB fleet name. Needs to be unique under a subscription.
      fleetspaceName - Cosmos DB fleetspace name. Needs to be unique under a fleet.
      Returns:
      an Azure Cosmos DB Fleetspace.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • update

      FleetspaceResourceInner update(String resourceGroupName, String fleetName, String fleetspaceName, FleetspaceUpdate body, com.azure.core.util.Context context)
      Update the properties of an existing Azure Cosmos DB fleetspace under a fleet.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      fleetName - Cosmos DB fleet name. Needs to be unique under a subscription.
      fleetspaceName - Cosmos DB fleetspace name. Needs to be unique under a fleet.
      body - The parameters to provide for the current fleetspace.
      context - The context to associate with this operation.
      Returns:
      an Azure Cosmos DB Fleetspace.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • deleteWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String fleetName, String fleetspaceName)
      Deletes an existing Azure Cosmos DB Fleetspace.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      fleetName - Cosmos DB fleet name. Needs to be unique under a subscription.
      fleetspaceName - Cosmos DB fleetspace name. Needs to be unique under a fleet.
      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.
    • beginDeleteAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>, Void> beginDeleteAsync(String resourceGroupName, String fleetName, String fleetspaceName)
      Deletes an existing Azure Cosmos DB Fleetspace.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      fleetName - Cosmos DB fleet name. Needs to be unique under a subscription.
      fleetspaceName - Cosmos DB fleetspace name. Needs to be unique under a fleet.
      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.
    • beginDelete

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>, Void> beginDelete(String resourceGroupName, String fleetName, String fleetspaceName)
      Deletes an existing Azure Cosmos DB Fleetspace.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      fleetName - Cosmos DB fleet name. Needs to be unique under a subscription.
      fleetspaceName - Cosmos DB fleetspace name. Needs to be unique under a fleet.
      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.
    • beginDelete

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>, Void> beginDelete(String resourceGroupName, String fleetName, String fleetspaceName, com.azure.core.util.Context context)
      Deletes an existing Azure Cosmos DB Fleetspace.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      fleetName - Cosmos DB fleet name. Needs to be unique under a subscription.
      fleetspaceName - Cosmos DB fleetspace name. Needs to be unique under a fleet.
      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.
    • deleteAsync

      Mono<Void> deleteAsync(String resourceGroupName, String fleetName, String fleetspaceName)
      Deletes an existing Azure Cosmos DB Fleetspace.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      fleetName - Cosmos DB fleet name. Needs to be unique under a subscription.
      fleetspaceName - Cosmos DB fleetspace name. Needs to be unique under a fleet.
      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.
    • delete

      void delete(String resourceGroupName, String fleetName, String fleetspaceName)
      Deletes an existing Azure Cosmos DB Fleetspace.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      fleetName - Cosmos DB fleet name. Needs to be unique under a subscription.
      fleetspaceName - Cosmos DB fleetspace name. Needs to be unique under a fleet.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • delete

      void delete(String resourceGroupName, String fleetName, String fleetspaceName, com.azure.core.util.Context context)
      Deletes an existing Azure Cosmos DB Fleetspace.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      fleetName - Cosmos DB fleet name. Needs to be unique under a subscription.
      fleetspaceName - Cosmos DB fleetspace name. Needs to be unique under a fleet.
      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.