SupportsBatchDeletion Interface

public interface SupportsBatchDeletion

Provides access to deleting multiple resources from Azure, identifying them by their IDs.

(Note this interface is not intended to be implemented by user code.)

Method Summary

Modifier and Type Method and Description
abstract void deleteByIds(String[] ids)

Deletes the specified resources from Azure.

abstract void deleteByIds(Collection<String> ids)

Deletes the specified resources from Azure.

abstract Flux<String> deleteByIdsAsync(String[] ids)

Deletes the specified resources from Azure asynchronously and in parallel.

abstract Flux<String> deleteByIdsAsync(Collection<String> ids)

Deletes the specified resources from Azure asynchronously and in parallel.

Method Details

deleteByIds

public abstract void deleteByIds(String[] ids)

Deletes the specified resources from Azure.

Parameters:

ids - resource IDs of the resources to be deleted

deleteByIds

public abstract void deleteByIds(Collection ids)

Deletes the specified resources from Azure.

Parameters:

ids - resource IDs of the resources to be deleted

deleteByIdsAsync

public abstract Flux deleteByIdsAsync(String[] ids)

Deletes the specified resources from Azure asynchronously and in parallel.

Parameters:

ids - resource IDs of the resources to be deleted

Returns:

a representation of the deferred computation of this call returning the resource ID of each successfully deleted resource

deleteByIdsAsync

public abstract Flux deleteByIdsAsync(Collection ids)

Deletes the specified resources from Azure asynchronously and in parallel.

Parameters:

ids - resource IDs of the resources to be deleted

Returns:

a representation of the deferred computation of this call returning the resource ID of each successfully deleted resource

Applies to