GenericResources Interface
public interface GenericResources extends SupportsListing,SupportsListingByResourceGroup,SupportsListingInResourceGroupByTag,SupportsGettingById,SupportsCreating<GenericResource.DefinitionStages.Blank>,SupportsDeletingById,HasManager
Entry point to generic resources management API.
Method Summary
Inherited Members
Method Details
checkExistence
public boolean checkExistence(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName, String apiVersion)
Checks if a resource exists in a resource group.
Parameters:
Returns:
checkExistenceById
public boolean checkExistenceById(String id)
Checks if a resource exists.
Parameters:
Returns:
delete
public void delete(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName, String apiVersion)
Delete resource and all of its child resources.
Parameters:
deleteAsync
public Completable deleteAsync(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName, String apiVersion)
Delete resource and all of its child resources asynchronously.
Parameters:
Returns:
deleteAsync
public ServiceFuture
Delete resource and all of its child resources asynchronously.
Parameters:
Returns:
get
public GenericResource get(String resourceGroupName, String providerNamespace, String resourceType, String resourceName)
Returns a resource belonging to a resource group.
Parameters:
Returns:
get
public GenericResource get(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName, String apiVersion)
Returns a resource belonging to a resource group.
Parameters:
Returns:
moveResources
public void moveResources(String sourceResourceGroupName, ResourceGroup targetResourceGroup, List
Move resources from one resource group to another.
Parameters:
moveResourcesAsync
public Completable moveResourcesAsync(String sourceResourceGroupName, ResourceGroup targetResourceGroup, List
Move resources from one resource group to another asynchronously.
Parameters:
Returns:
moveResourcesAsync
public ServiceFuture
Move resources from one resource group to another asynchronously.
Parameters:
Returns:
Applies to
Azure SDK for Java