你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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(Collection<String> ids)

Deletes the specified resources from Azure.

abstract void deleteByIds(String[] ids)

Deletes the specified resources from Azure.

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

Deletes the specified resources from Azure asynchronously and in parallel.

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

Deletes the specified resources from Azure asynchronously and in parallel.

Method Details

deleteByIds

public abstract void deleteByIds(Collection ids)

Deletes the specified resources from Azure.

Parameters:

ids - resource IDs of the resources to be deleted

deleteByIds

public abstract void deleteByIds(String[] ids)

Deletes the specified resources from Azure.

Parameters:

ids - resource IDs of the resources to be deleted

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

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

Applies to