你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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