Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See License.txt in the project root for license information.
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. */
package com.microsoft.azure.arm.resources.collection; import com.microsoft.azure.management.apigeneration.LangDefinition; import com.microsoft.azure.management.apigeneration.LangDefinition.MethodConversion; import rx.Observable; import java.util.Collection;
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.)

/** * Provides access to deleting multiple resource from Azure, identifying them by their IDs. * <p> * (Note this interface is not intended to be implemented by user code.) */
@LangDefinition(ContainerName = "CollectionActions", CreateAsyncMethods = true, MethodConversionType = MethodConversion.OnlyMethod) public interface SupportsBatchDeletion {
Deletes the specified resources from Azure asynchronously and in parallel.
Params:
  • 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
/** * Deletes the specified resources from Azure asynchronously and in parallel. * @param ids resource IDs of the resources to be deleted * @return a representation of the deferred computation of this call returning the resource ID of each successfully deleted resource */
Observable<String> deleteByIdsAsync(Collection<String> ids);
Deletes the specified resources from Azure asynchronously and in parallel.
Params:
  • 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
/** * Deletes the specified resources from Azure asynchronously and in parallel. * @param ids resource IDs of the resources to be deleted * @return a representation of the deferred computation of this call returning the resource ID of each successfully deleted resource */
Observable<String> deleteByIdsAsync(String... ids);
Deletes the specified resources from Azure.
Params:
  • ids – resource IDs of the resources to be deleted
/** * Deletes the specified resources from Azure. * @param ids resource IDs of the resources to be deleted */
void deleteByIds(Collection<String> ids);
Deletes the specified resources from Azure.
Params:
  • ids – resource IDs of the resources to be deleted
/** * Deletes the specified resources from Azure. * @param ids resource IDs of the resources to be deleted */
void deleteByIds(String... ids); }