Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See License.txt in the project root for license information.
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. */
package com.microsoft.azure.arm.resources.collection; import com.microsoft.azure.management.apigeneration.LangDefinition; import com.microsoft.rest.ServiceCallback; import com.microsoft.rest.ServiceFuture; import rx.Completable;
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.)

/** * Provides access to getting a specific Azure resource based on its resource group and parent. * <p> * (Note this interface is not intended to be implemented by user code.) */
@LangDefinition(ContainerName = "CollectionActions", CreateAsyncMethods = true, MethodConversionType = LangDefinition.MethodConversion.OnlyMethod) public interface SupportsDeletingByParent {
Deletes a resource from Azure, identifying it by its name and its resource group.
Params:
  • groupName – The group the resource is part of
  • parentName – the name of parent resource.
  • name – The name of the resource
/** * Deletes a resource from Azure, identifying it by its name and its resource group. * * @param groupName The group the resource is part of * @param parentName the name of parent resource. * @param name The name of the resource */
void deleteByParent(String groupName, String parentName, String name);
Asynchronously delete a resource from Azure, identifying it by its name and its resource group.
Params:
  • 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
/** * Asynchronously delete a resource from Azure, identifying it by its name and its resource group. * * @param groupName The group the resource is part of * @param parentName the name of parent resource. * @param name The name of the resource * @param callback the callback to call on success or failure * @return a handle to cancel the request */
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.
Params:
  • 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
/** * Asynchronously delete a resource from Azure, identifying it by its name and its resource group. * * @param groupName The group the resource is part of * @param parentName the name of parent resource. * @param name The name of the resource * @return a representation of the deferred computation of this call */
Completable deleteByParentAsync(String groupName, String parentName, String name); }