SupportsDeletingByResourceGroup Interface

public interface SupportsDeletingByResourceGroup

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

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

Method Summary

Modifier and Type Method and Description
abstract void deleteByResourceGroup(String resourceGroupName, String name)

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

abstract rx.Completable deleteByResourceGroupAsync(String resourceGroupName, String name)

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

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

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

Method Details

deleteByResourceGroup

public abstract void deleteByResourceGroup(String resourceGroupName, String name)

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

Parameters:

resourceGroupName - the resource group the resource is part of
name - the name of the resource

deleteByResourceGroupAsync

public abstract Completable deleteByResourceGroupAsync(String resourceGroupName, String name)

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

Parameters:

resourceGroupName - the resource group the resource is part of
name - the name of the resource

Returns:

a representation of the deferred computation of this call

deleteByResourceGroupAsync

public abstract ServiceFuture deleteByResourceGroupAsync(String resourceGroupName, String name, ServiceCallback callback)

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

Parameters:

resourceGroupName - the resource group the resource is part of
name - the name of the resource
callback - the callback to call on success or failure

Returns:

a handle to cancel the request

Applies to