SupportsDeletingById Interface

public interface SupportsDeletingById

Provides access to deleting a resource from Azure, identifying it by its resource ID.

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

Method Summary

Modifier and Type Method and Description
void deleteById(String id)

Deletes a resource from Azure, identifying it by its resource ID.

Completable deleteByIdAsync(String id)

Asynchronously delete a resource from Azure, identifying it by its resource ID.

ServiceFuture<Void> deleteByIdAsync(String id, ServiceCallback<Void> callback)

Asynchronously delete a resource from Azure, identifying it by its resource ID.

Method Details

deleteById

public void deleteById(String id)

Deletes a resource from Azure, identifying it by its resource ID.

Parameters:

id - the resource ID of the resource to delete

deleteByIdAsync

public Completable deleteByIdAsync(String id)

Asynchronously delete a resource from Azure, identifying it by its resource ID.

Parameters:

id - the resource ID of the resource to delete

Returns:

a representation of the deferred computation of this call

deleteByIdAsync

public ServiceFuture deleteByIdAsync(String id, ServiceCallback callback)

Asynchronously delete a resource from Azure, identifying it by its resource ID.

Parameters:

id - the resource ID of the resource to delete
callback - the callback on success or failure

Returns:

a handle to cancel the request

Applies to