SupportsBeginDeletingByName Interface

public interface SupportsBeginDeletingByName

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 beginDeleteByName(String name)

Begins deleting a resource from Azure, identifying it by its resource name. The resource will stay until get() returns null.

Observable<Void> beginDeleteByNameAsync(String name)

Asynchronously begins deleting a resource from Azure, identifying it by its resource name. The resource will stay until get() returns null.

ServiceFuture<Void> beginDeleteByNameAsync(String name, ServiceCallback<Void> callback)

Asynchronously begins deleting a resource from Azure, identifying it by its resource name. The resource will stay until get() returns null.

Method Details

beginDeleteByName

public void beginDeleteByName(String name)

Begins deleting a resource from Azure, identifying it by its resource name. The resource will stay until get() returns null.

Parameters:

name - the name of the resource to delete

beginDeleteByNameAsync

public Observable beginDeleteByNameAsync(String name)

Asynchronously begins deleting a resource from Azure, identifying it by its resource name. The resource will stay until get() returns null.

Parameters:

name - the name the resource to delete

Returns:

a representation of the deferred computation of this call

beginDeleteByNameAsync

public ServiceFuture beginDeleteByNameAsync(String name, ServiceCallback callback)

Asynchronously begins deleting a resource from Azure, identifying it by its resource name. The resource will stay until get() returns null.

Parameters:

name - the name of the resource to delete
callback - the callback on success or failure

Returns:

a handle to cancel the request

Applies to