ISupportsBatchDeletion.DeleteByIdsAsync Method

Definition

Overloads

DeleteByIdsAsync(IList<String>, CancellationToken)

Deletes the specified resources from Azure asynchronously and in parallel.

DeleteByIdsAsync(String[], CancellationToken)

Deletes the specified resources from Azure asynchronously and in parallel.

DeleteByIdsAsync(IList<String>, CancellationToken)

Deletes the specified resources from Azure asynchronously and in parallel.

public System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<string>> DeleteByIdsAsync (System.Collections.Generic.IList<string> ids, System.Threading.CancellationToken cancellationToken = null);
abstract member DeleteByIdsAsync : System.Collections.Generic.IList<string> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<seq<string>>

Parameters

ids
System.Collections.Generic.IList<System.String>

Resource IDs of the resources to be deleted.

cancellationToken
System.Threading.CancellationToken

Returns

System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<System.String>>

Remarks

(Beta: This functionality is in preview and as such is subject to change in non-backwards compatible ways in future releases, including removal, regardless of any compatibility expectations set by the containing library version number.).

Applies to

DeleteByIdsAsync(String[], CancellationToken)

Deletes the specified resources from Azure asynchronously and in parallel.

public System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<string>> DeleteByIdsAsync (string[] ids, System.Threading.CancellationToken cancellationToken = null);
abstract member DeleteByIdsAsync : string[] * System.Threading.CancellationToken -> System.Threading.Tasks.Task<seq<string>>

Parameters

ids
System.String[]

Resource IDs of the resources to be deleted.

cancellationToken
System.Threading.CancellationToken

Returns

System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<System.String>>

Remarks

(Beta: This functionality is in preview and as such is subject to change in non-backwards compatible ways in future releases, including removal, regardless of any compatibility expectations set by the containing library version number.).

Applies to