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.azure.management.apigeneration.LangDefinition.MethodConversion;
import com.microsoft.rest.ServiceCallback;
import com.microsoft.rest.ServiceFuture;
import rx.Completable;
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.)
/**
* Provides access to deleting a resource from Azure, identifying it by its name and its resource group.
* <p>
* (Note this interface is not intended to be implemented by user code.)
*/
@LangDefinition(ContainerName = "CollectionActions", CreateAsyncMethods = true, MethodConversionType = MethodConversion.OnlyMethod)
public interface SupportsDeletingByResourceGroup {
Deletes a resource from Azure, identifying it by its name and its resource group.
Params: - resourceGroupName – the resource group the resource is part of
- name – the name of the resource
/**
* Deletes a resource from Azure, identifying it by its name and its resource group.
*
* @param resourceGroupName the resource group the resource is part of
* @param name the name of the resource
*/
void deleteByResourceGroup(String resourceGroupName, String name);
Asynchronously delete a resource from Azure, identifying it by its name and its resource group.
Params: - resourceGroupName – the resource group the resource is part of
- 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 resourceGroupName the resource group the resource is part of
* @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> deleteByResourceGroupAsync(String resourceGroupName, String name, ServiceCallback<Void> callback);
Asynchronously delete a resource from Azure, identifying it by its name and its resource group.
Params: - 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
/**
* Asynchronously delete a resource from Azure, identifying it by its name and its resource group.
*
* @param resourceGroupName the resource group the resource is part of
* @param name the name of the resource
* @return a representation of the deferred computation of this call
*/
Completable deleteByResourceGroupAsync(String resourceGroupName, String name);
}