Partilhar via


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 Mono<Void> deleteByResourceGroupAsync(String resourceGroupName, String name)

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

Applies to