Interface FleetspaceAccountsClient


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

    • listAsync

      com.azure.core.http.rest.PagedFlux<FleetspaceAccountResourceInner> listAsync(String resourceGroupName, String fleetName, String fleetspaceName)
      Lists all the fleetspaces accounts under a 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 List operation response, that contains the global database accounts 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<FleetspaceAccountResourceInner> list(String resourceGroupName, String fleetName, String fleetspaceName)
      Lists all the fleetspaces accounts under a 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 List operation response, that contains the global database accounts 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<FleetspaceAccountResourceInner> list(String resourceGroupName, String fleetName, String fleetspaceName, com.azure.core.util.Context context)
      Lists all the fleetspaces accounts under a 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 List operation response, that contains the global database accounts 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<FleetspaceAccountResourceInner>> getWithResponseAsync(String resourceGroupName, String fleetName, String fleetspaceName, String fleetspaceAccountName)
      Retrieves the properties of an existing Azure Cosmos DB fleetspace account under a 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.
      fleetspaceAccountName - Cosmos DB fleetspace account name.
      Returns:
      an Azure Cosmos DB Fleetspace 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.
    • getAsync

      Mono<FleetspaceAccountResourceInner> getAsync(String resourceGroupName, String fleetName, String fleetspaceName, String fleetspaceAccountName)
      Retrieves the properties of an existing Azure Cosmos DB fleetspace account under a 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.
      fleetspaceAccountName - Cosmos DB fleetspace account name.
      Returns:
      an Azure Cosmos DB Fleetspace 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.
    • getWithResponse

      com.azure.core.http.rest.Response<FleetspaceAccountResourceInner> getWithResponse(String resourceGroupName, String fleetName, String fleetspaceName, String fleetspaceAccountName, com.azure.core.util.Context context)
      Retrieves the properties of an existing Azure Cosmos DB fleetspace account under a 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.
      fleetspaceAccountName - Cosmos DB fleetspace account name.
      context - The context to associate with this operation.
      Returns:
      an Azure Cosmos DB Fleetspace 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.
    • get

      FleetspaceAccountResourceInner get(String resourceGroupName, String fleetName, String fleetspaceName, String fleetspaceAccountName)
      Retrieves the properties of an existing Azure Cosmos DB fleetspace account under a 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.
      fleetspaceAccountName - Cosmos DB fleetspace account name.
      Returns:
      an Azure Cosmos DB Fleetspace 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.
    • createWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createWithResponseAsync(String resourceGroupName, String fleetName, String fleetspaceName, String fleetspaceAccountName, FleetspaceAccountResourceInner body)
      Creates an Azure Cosmos DB fleetspace account under a 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.
      fleetspaceAccountName - Cosmos DB fleetspace account name.
      body - The parameters to provide for the current fleetspace account.
      Returns:
      an Azure Cosmos DB Fleetspace 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.
    • beginCreateAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<FleetspaceAccountResourceInner>, FleetspaceAccountResourceInner> beginCreateAsync(String resourceGroupName, String fleetName, String fleetspaceName, String fleetspaceAccountName, FleetspaceAccountResourceInner body)
      Creates an Azure Cosmos DB fleetspace account under a 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.
      fleetspaceAccountName - Cosmos DB fleetspace account name.
      body - The parameters to provide for the current fleetspace account.
      Returns:
      the PollerFlux for polling of an Azure Cosmos DB Fleetspace 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.
    • beginCreate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<FleetspaceAccountResourceInner>, FleetspaceAccountResourceInner> beginCreate(String resourceGroupName, String fleetName, String fleetspaceName, String fleetspaceAccountName, FleetspaceAccountResourceInner body)
      Creates an Azure Cosmos DB fleetspace account under a 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.
      fleetspaceAccountName - Cosmos DB fleetspace account name.
      body - The parameters to provide for the current fleetspace account.
      Returns:
      the SyncPoller for polling of an Azure Cosmos DB Fleetspace 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.
    • beginCreate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<FleetspaceAccountResourceInner>, FleetspaceAccountResourceInner> beginCreate(String resourceGroupName, String fleetName, String fleetspaceName, String fleetspaceAccountName, FleetspaceAccountResourceInner body, com.azure.core.util.Context context)
      Creates an Azure Cosmos DB fleetspace account under a 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.
      fleetspaceAccountName - Cosmos DB fleetspace account name.
      body - The parameters to provide for the current fleetspace account.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of an Azure Cosmos DB Fleetspace 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.
    • createAsync

      Mono<FleetspaceAccountResourceInner> createAsync(String resourceGroupName, String fleetName, String fleetspaceName, String fleetspaceAccountName, FleetspaceAccountResourceInner body)
      Creates an Azure Cosmos DB fleetspace account under a 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.
      fleetspaceAccountName - Cosmos DB fleetspace account name.
      body - The parameters to provide for the current fleetspace account.
      Returns:
      an Azure Cosmos DB Fleetspace 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.
    • create

      FleetspaceAccountResourceInner create(String resourceGroupName, String fleetName, String fleetspaceName, String fleetspaceAccountName, FleetspaceAccountResourceInner body)
      Creates an Azure Cosmos DB fleetspace account under a 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.
      fleetspaceAccountName - Cosmos DB fleetspace account name.
      body - The parameters to provide for the current fleetspace account.
      Returns:
      an Azure Cosmos DB Fleetspace 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.
    • create

      FleetspaceAccountResourceInner create(String resourceGroupName, String fleetName, String fleetspaceName, String fleetspaceAccountName, FleetspaceAccountResourceInner body, com.azure.core.util.Context context)
      Creates an Azure Cosmos DB fleetspace account under a 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.
      fleetspaceAccountName - Cosmos DB fleetspace account name.
      body - The parameters to provide for the current fleetspace account.
      context - The context to associate with this operation.
      Returns:
      an Azure Cosmos DB Fleetspace 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.
    • deleteWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String fleetName, String fleetspaceName, String fleetspaceAccountName)
      Removes an existing Azure Cosmos DB fleetspace account from a 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.
      fleetspaceAccountName - Cosmos DB fleetspace 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.
    • beginDeleteAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>, Void> beginDeleteAsync(String resourceGroupName, String fleetName, String fleetspaceName, String fleetspaceAccountName)
      Removes an existing Azure Cosmos DB fleetspace account from a 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.
      fleetspaceAccountName - Cosmos DB fleetspace 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.
    • beginDelete

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>, Void> beginDelete(String resourceGroupName, String fleetName, String fleetspaceName, String fleetspaceAccountName)
      Removes an existing Azure Cosmos DB fleetspace account from a 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.
      fleetspaceAccountName - Cosmos DB fleetspace 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.
    • beginDelete

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>, Void> beginDelete(String resourceGroupName, String fleetName, String fleetspaceName, String fleetspaceAccountName, com.azure.core.util.Context context)
      Removes an existing Azure Cosmos DB fleetspace account from a 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.
      fleetspaceAccountName - Cosmos DB fleetspace 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.
    • deleteAsync

      Mono<Void> deleteAsync(String resourceGroupName, String fleetName, String fleetspaceName, String fleetspaceAccountName)
      Removes an existing Azure Cosmos DB fleetspace account from a 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.
      fleetspaceAccountName - Cosmos DB fleetspace 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.
    • delete

      void delete(String resourceGroupName, String fleetName, String fleetspaceName, String fleetspaceAccountName)
      Removes an existing Azure Cosmos DB fleetspace account from a 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.
      fleetspaceAccountName - Cosmos DB fleetspace 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.
    • delete

      void delete(String resourceGroupName, String fleetName, String fleetspaceName, String fleetspaceAccountName, com.azure.core.util.Context context)
      Removes an existing Azure Cosmos DB fleetspace account from a 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.
      fleetspaceAccountName - Cosmos DB fleetspace 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.