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
void deleteByResourceGroup(String resourceGroupName, String name)

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

Completable deleteByResourceGroupAsync(String resourceGroupName, String name)

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

ServiceFuture<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 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 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 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