Share via


FleetspacesClient Interface

public interface FleetspacesClient

An instance of this class provides access to all the operations defined in FleetspacesClient.

Method Summary

Modifier and Type Method and Description
abstract SyncPoller<PollResult<FleetspaceResourceInner>,FleetspaceResourceInner> beginCreate(String resourceGroupName, String fleetName, String fleetspaceName, FleetspaceResourceInner body)

Creates an Azure Cosmos DB fleetspace under a fleet.

abstract SyncPoller<PollResult<FleetspaceResourceInner>,FleetspaceResourceInner> beginCreate(String resourceGroupName, String fleetName, String fleetspaceName, FleetspaceResourceInner body, Context context)

Creates an Azure Cosmos DB fleetspace under a fleet.

abstract PollerFlux<PollResult<FleetspaceResourceInner>,FleetspaceResourceInner> beginCreateAsync(String resourceGroupName, String fleetName, String fleetspaceName, FleetspaceResourceInner body)

Creates an Azure Cosmos DB fleetspace under a fleet.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String fleetName, String fleetspaceName)

Deletes an existing Azure Cosmos DB Fleetspace.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String fleetName, String fleetspaceName, Context context)

Deletes an existing Azure Cosmos DB Fleetspace.

abstract PollerFlux<PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String fleetName, String fleetspaceName)

Deletes an existing Azure Cosmos DB Fleetspace.

abstract SyncPoller<PollResult<FleetspaceResourceInner>,FleetspaceResourceInner> beginUpdate(String resourceGroupName, String fleetName, String fleetspaceName)

Update the properties of an existing Azure Cosmos DB fleetspace under a fleet.

abstract SyncPoller<PollResult<FleetspaceResourceInner>,FleetspaceResourceInner> beginUpdate(String resourceGroupName, String fleetName, String fleetspaceName, FleetspaceUpdate body, Context context)

Update the properties of an existing Azure Cosmos DB fleetspace under a fleet.

abstract PollerFlux<PollResult<FleetspaceResourceInner>,FleetspaceResourceInner> beginUpdateAsync(String resourceGroupName, String fleetName, String fleetspaceName)

Update the properties of an existing Azure Cosmos DB fleetspace under a fleet.

abstract PollerFlux<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.

abstract FleetspaceResourceInner create(String resourceGroupName, String fleetName, String fleetspaceName, FleetspaceResourceInner body)

Creates an Azure Cosmos DB fleetspace under a fleet.

abstract FleetspaceResourceInner create(String resourceGroupName, String fleetName, String fleetspaceName, FleetspaceResourceInner body, Context context)

Creates an Azure Cosmos DB fleetspace under a fleet.

abstract Mono<FleetspaceResourceInner> createAsync(String resourceGroupName, String fleetName, String fleetspaceName, FleetspaceResourceInner body)

Creates an Azure Cosmos DB fleetspace under a fleet.

abstract Mono<Response<Flux<ByteBuffer>>> createWithResponseAsync(String resourceGroupName, String fleetName, String fleetspaceName, FleetspaceResourceInner body)

Creates an Azure Cosmos DB fleetspace under a fleet.

abstract void delete(String resourceGroupName, String fleetName, String fleetspaceName)

Deletes an existing Azure Cosmos DB Fleetspace.

abstract void delete(String resourceGroupName, String fleetName, String fleetspaceName, Context context)

Deletes an existing Azure Cosmos DB Fleetspace.

abstract Mono<Void> deleteAsync(String resourceGroupName, String fleetName, String fleetspaceName)

Deletes an existing Azure Cosmos DB Fleetspace.

abstract Mono<Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String fleetName, String fleetspaceName)

Deletes an existing Azure Cosmos DB Fleetspace.

abstract FleetspaceResourceInner get(String resourceGroupName, String fleetName, String fleetspaceName)

Retrieves the properties of an existing Azure Cosmos DB fleetspace under a fleet.

abstract Mono<FleetspaceResourceInner> getAsync(String resourceGroupName, String fleetName, String fleetspaceName)

Retrieves the properties of an existing Azure Cosmos DB fleetspace under a fleet.

abstract Response<FleetspaceResourceInner> getWithResponse(String resourceGroupName, String fleetName, String fleetspaceName, Context context)

Retrieves the properties of an existing Azure Cosmos DB fleetspace under a fleet.

abstract Mono<Response<FleetspaceResourceInner>> getWithResponseAsync(String resourceGroupName, String fleetName, String fleetspaceName)

Retrieves the properties of an existing Azure Cosmos DB fleetspace under a fleet.

abstract PagedIterable<FleetspaceResourceInner> list(String resourceGroupName, String fleetName)

Lists all the fleetspaces under a fleet.

abstract PagedIterable<FleetspaceResourceInner> list(String resourceGroupName, String fleetName, Context context)

Lists all the fleetspaces under a fleet.

abstract PagedFlux<FleetspaceResourceInner> listAsync(String resourceGroupName, String fleetName)

Lists all the fleetspaces under a fleet.

abstract FleetspaceResourceInner update(String resourceGroupName, String fleetName, String fleetspaceName)

Update the properties of an existing Azure Cosmos DB fleetspace under a fleet.

abstract FleetspaceResourceInner update(String resourceGroupName, String fleetName, String fleetspaceName, FleetspaceUpdate body, Context context)

Update the properties of an existing Azure Cosmos DB fleetspace under a fleet.

abstract Mono<FleetspaceResourceInner> updateAsync(String resourceGroupName, String fleetName, String fleetspaceName)

Update the properties of an existing Azure Cosmos DB fleetspace under a fleet.

abstract Mono<FleetspaceResourceInner> updateAsync(String resourceGroupName, String fleetName, String fleetspaceName, FleetspaceUpdate body)

Update the properties of an existing Azure Cosmos DB fleetspace under a fleet.

abstract Mono<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.

Method Details

beginCreate

public abstract SyncPoller<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<T,U> for polling of an Azure Cosmos DB Fleetspace.

beginCreate

public abstract SyncPoller<PollResult<FleetspaceResourceInner>,FleetspaceResourceInner> beginCreate(String resourceGroupName, String fleetName, String fleetspaceName, FleetspaceResourceInner body, 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<T,U> for polling of an Azure Cosmos DB Fleetspace.

beginCreateAsync

public abstract PollerFlux<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<T,U> for polling of an Azure Cosmos DB Fleetspace.

beginDelete

public abstract SyncPoller<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<T,U> for polling of long-running operation.

beginDelete

public abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String fleetName, String fleetspaceName, 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<T,U> for polling of long-running operation.

beginDeleteAsync

public abstract PollerFlux<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<T,U> for polling of long-running operation.

beginUpdate

public abstract SyncPoller<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<T,U> for polling of an Azure Cosmos DB Fleetspace.

beginUpdate

public abstract SyncPoller<PollResult<FleetspaceResourceInner>,FleetspaceResourceInner> beginUpdate(String resourceGroupName, String fleetName, String fleetspaceName, FleetspaceUpdate body, 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<T,U> for polling of an Azure Cosmos DB Fleetspace.

beginUpdateAsync

public abstract PollerFlux<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<T,U> for polling of an Azure Cosmos DB Fleetspace.

beginUpdateAsync

public abstract PollerFlux<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<T,U> for polling of an Azure Cosmos DB Fleetspace.

create

public abstract 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.

create

public abstract FleetspaceResourceInner create(String resourceGroupName, String fleetName, String fleetspaceName, FleetspaceResourceInner body, 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.

createAsync

public abstract 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.

createWithResponseAsync

public abstract Mono<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<T> on successful completion of Mono.

delete

public abstract 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.

delete

public abstract void delete(String resourceGroupName, String fleetName, String fleetspaceName, 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.

deleteAsync

public abstract 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.

deleteWithResponseAsync

public abstract Mono<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<T> on successful completion of Mono.

get

public abstract 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.

getAsync

public abstract 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.

getWithResponse

public abstract Response<FleetspaceResourceInner> getWithResponse(String resourceGroupName, String fleetName, String fleetspaceName, 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<T>.

getWithResponseAsync

public abstract Mono<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<T> on successful completion of Mono.

list

public abstract 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<T>.

list

public abstract PagedIterable<FleetspaceResourceInner> list(String resourceGroupName, String fleetName, 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<T>.

listAsync

public abstract 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<T>.

update

public abstract 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.

update

public abstract FleetspaceResourceInner update(String resourceGroupName, String fleetName, String fleetspaceName, FleetspaceUpdate body, 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.

updateAsync

public abstract 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.

updateAsync

public abstract 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.

updateWithResponseAsync

public abstract Mono<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<T> on successful completion of Mono.

Applies to