Share via


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
abstract void deleteByParent(String groupName, String parentName, String name)

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

abstract rx.Completable deleteByParentAsync(String groupName, String parentName, String name)

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

abstract com.microsoft.rest.ServiceFuture<java.lang.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 abstract 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 abstract 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 abstract 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