SupportsBatchDeletion Interface

public interface SupportsBatchDeletion

Provides access to deleting multiple resource 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
void deleteByIds(Collection<String> ids)

Deletes the specified resources from Azure.

void deleteByIds(String...ids)

Deletes the specified resources from Azure.

Observable<String> deleteByIdsAsync(Collection<String> ids)

Deletes the specified resources from Azure asynchronously and in parallel.

Observable<String> deleteByIdsAsync(String...ids)

Deletes the specified resources from Azure asynchronously and in parallel.

Method Details

deleteByIds

public void deleteByIds(Collection ids)

Deletes the specified resources from Azure.

Parameters:

ids - resource IDs of the resources to be deleted

deleteByIds

public void deleteByIds(String...ids)

Deletes the specified resources from Azure.

Parameters:

ids - resource IDs of the resources to be deleted

deleteByIdsAsync

public Observable 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

deleteByIdsAsync

public Observable 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

Applies to