SupportsDeletingByResourceGroup.deleteByResourceGroupAsync Method

定义

重载

deleteByResourceGroupAsync(String resourceGroupName, String name)

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

deleteByResourceGroupAsync(String resourceGroupName, String name, ServiceCallback<Void> callback)

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

deleteByResourceGroupAsync(String resourceGroupName, String name)

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

public Completable deleteByResourceGroupAsync(String resourceGroupName, String name)

参数

resourceGroupName
String

the resource group the resource is part of

name
String

the name of the resource

返回

Completable

a representation of the deferred computation of this call

deleteByResourceGroupAsync(String resourceGroupName, String name, ServiceCallback<Void> callback)

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

public ServiceFuture<Void> deleteByResourceGroupAsync(String resourceGroupName, String name, ServiceCallback<Void> callback)

参数

resourceGroupName
String

the resource group the resource is part of

name
String

the name of the resource

callback
ServiceCallback<Void>

the callback to call on success or failure

返回

ServiceFuture<Void>

a handle to cancel the request

适用于