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
abstract void deleteById(String id)

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

abstract rx.Completable deleteByIdAsync(String id)

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

abstract com.microsoft.rest.ServiceFuture<java.lang.Void> deleteByIdAsync(String id, ServiceCallback<Void> callback)

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

Method Details

deleteById

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