SupportsDeletingByParent Interface

public interface SupportsDeletingByParent

Provides access to getting a specific Azure resource based on its resource group and parent.

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

Method Summary

Modifier and Type Method and Description
void deleteByParent(String groupName, String parentName, String name)

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

Completable deleteByParentAsync(String groupName, String parentName, String name)

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

ServiceFuture<Void> deleteByParentAsync(String groupName, String parentName, String name, ServiceCallback<Void> callback)

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

Method Details

deleteByParent

public void deleteByParent(String groupName, String parentName, String name)

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

Parameters:

groupName - The group the resource is part of
parentName - the name of parent resource.
name - The name of the resource

deleteByParentAsync

public Completable deleteByParentAsync(String groupName, String parentName, String name)

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

Parameters:

groupName - The group the resource is part of
parentName - the name of parent resource.
name - The name of the resource

Returns:

a representation of the deferred computation of this call

deleteByParentAsync

public ServiceFuture deleteByParentAsync(String groupName, String parentName, String name, ServiceCallback callback)

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

Parameters:

groupName - The group the resource is part of
parentName - the name of parent resource.
name - The name of the resource
callback - the callback to call on success or failure

Returns:

a handle to cancel the request

Applies to