Interface FleetspacesClient
public interface FleetspacesClient
An instance of this class provides access to all the operations defined in FleetspacesClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.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.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.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.beginDelete(String resourceGroupName, String fleetName, String fleetspaceName) Deletes an existing Azure Cosmos DB Fleetspace.beginDelete(String resourceGroupName, String fleetName, String fleetspaceName, com.azure.core.util.Context context) Deletes an existing Azure Cosmos DB Fleetspace.beginDeleteAsync(String resourceGroupName, String fleetName, String fleetspaceName) Deletes an existing Azure Cosmos DB Fleetspace.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.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.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.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.create(String resourceGroupName, String fleetName, String fleetspaceName, FleetspaceResourceInner body) Creates an Azure Cosmos DB fleetspace under a fleet.create(String resourceGroupName, String fleetName, String fleetspaceName, FleetspaceResourceInner body, com.azure.core.util.Context context) Creates an Azure Cosmos DB fleetspace under a fleet.createAsync(String resourceGroupName, String fleetName, String fleetspaceName, FleetspaceResourceInner body) Creates an Azure Cosmos DB fleetspace under a fleet.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.voidDeletes an existing Azure Cosmos DB Fleetspace.voiddelete(String resourceGroupName, String fleetName, String fleetspaceName, com.azure.core.util.Context context) Deletes an existing Azure Cosmos DB Fleetspace.deleteAsync(String resourceGroupName, String fleetName, String fleetspaceName) Deletes an existing Azure Cosmos DB Fleetspace.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String fleetName, String fleetspaceName) Deletes an existing Azure Cosmos DB Fleetspace.Retrieves the properties of an existing Azure Cosmos DB fleetspace under a fleet.Retrieves the properties of an existing Azure Cosmos DB fleetspace under a fleet.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.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.com.azure.core.http.rest.PagedIterable<FleetspaceResourceInner> Lists all the fleetspaces under a fleet.com.azure.core.http.rest.PagedIterable<FleetspaceResourceInner> Lists all the fleetspaces under a fleet.com.azure.core.http.rest.PagedFlux<FleetspaceResourceInner> Lists all the fleetspaces under a fleet.Update the properties of an existing Azure Cosmos DB fleetspace under a fleet.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.updateAsync(String resourceGroupName, String fleetName, String fleetspaceName) Update the properties of an existing Azure Cosmos DB fleetspace under a fleet.updateAsync(String resourceGroupName, String fleetName, String fleetspaceName, FleetspaceUpdate body) Update the properties of an existing Azure Cosmos DB fleetspace under a fleet.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.
-
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
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.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
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
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.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
PollerFluxfor 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
SyncPollerfor 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
SyncPollerfor 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
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.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
PollerFluxfor 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
PollerFluxfor 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
SyncPollerfor 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
SyncPollerfor 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
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
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.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
PollerFluxfor 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
SyncPollerfor 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
SyncPollerfor 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
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
Monothat 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
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.
-