SupportsDeletingByName Interface

public interface SupportsDeletingByName

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

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

Method Summary

Modifier and Type Method and Description
void deleteByName(String name)

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

Completable deleteByNameAsync(String name)

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

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

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

Method Details

deleteByName

public void deleteByName(String name)

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

Parameters:

name - the name of the resource to delete

deleteByNameAsync

public Completable deleteByNameAsync(String name)

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

Parameters:

name - the name of the resource to delete

Returns:

a representation of the deferred computation of this call

deleteByNameAsync

public ServiceFuture deleteByNameAsync(String name, ServiceCallback callback)

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

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