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

Begins deleting a resource from Azure, identifying it by its resource name.

abstract rx.Observable<java.lang.Void> beginDeleteByNameAsync(String name)

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

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

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

Method Details

beginDeleteByName

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