Delen via


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

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

abstract rx.Completable deleteByNameAsync(String name)

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

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

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

Method Details

deleteByName

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