GenericResources Interface
Implements
public interface GenericResources
extends SupportsListing<GenericResource>, SupportsListingByResourceGroup<GenericResource>, SupportsListingInResourceGroupByTag<GenericResource>, SupportsGettingById<GenericResource>, SupportsCreating<Blank>, SupportsDeletingById, HasManager<ResourceManager>
Entry point to generic resources management API.
Method Summary
Method Details
beginDeleteById
public abstract Accepted
Begins deleting a resource from Azure, identifying it by its resource ID. For consistency across service versions, please use beginDeleteById(String id, String apiVersion) instead.
Parameters:
Returns:
beginDeleteById
public abstract Accepted
Begins deleting a resource from Azure, identifying it by its resource ID.
Parameters:
Returns:
checkExistence
public abstract 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 abstract boolean checkExistenceById(String id)
Checks if a resource exists. For consistency across service versions, please use checkExistenceById(String id, String apiVersion) instead.
Parameters:
Returns:
checkExistenceById
public abstract boolean checkExistenceById(String id, String apiVersion)
Checks if a resource exists.
Parameters:
Returns:
delete
public abstract 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 abstract Mono
Delete resource and all of its child resources asynchronously.
Parameters:
Returns:
deleteById
public abstract void deleteById(String id)
Deletes a resource from Azure, identifying it by its resource ID. For consistency across service versions, please use deleteById(String id, String apiVersion) instead.
Parameters:
deleteById
public abstract void deleteById(String id, String apiVersion)
Deletes a resource from Azure, identifying it by its resource ID.
Parameters:
deleteByIdAsync
public abstract Mono
Asynchronously delete a resource from Azure, identifying it by its resource ID. For consistency across service versions, please use deleteByIdAsync(String id, String apiVersion) instead.
Parameters:
Returns:
deleteByIdAsync
public abstract Mono
Asynchronously delete a resource from Azure, identifying it by its resource ID.
Parameters:
Returns:
get
public abstract GenericResource get(String resourceGroupName, String providerNamespace, String resourceType, String resourceName)
Returns a resource belonging to a resource group.
Parameters:
Returns:
get
public abstract GenericResource get(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName, String apiVersion)
Returns a resource belonging to a resource group.
Parameters:
Returns:
getById
public abstract GenericResource getById(String id)
Gets the information about a resource from Azure based on the resource id. For consistency across service versions, please use getById(String id, String apiVersion) instead.
Parameters:
Returns:
getById
public abstract GenericResource getById(String id, String apiVersion)
Gets the information about a resource from Azure based on the resource id.
Parameters:
Returns:
getByIdAsync
public abstract Mono
Gets the information about a resource from Azure based on the resource id. For consistency across service versions, please use getByIdAsync(String id, String apiVersion) instead.
Parameters:
Returns:
getByIdAsync
public abstract Mono
Gets the information about a resource from Azure based on the resource id.
Parameters:
Returns:
moveResources
public abstract void moveResources(String sourceResourceGroupName, ResourceGroup targetResourceGroup, List
Move resources from one resource group to another.
Parameters:
moveResourcesAsync
public abstract Mono
Move resources from one resource group to another asynchronously.
Parameters:
Returns:
validateMoveResources
public abstract void validateMoveResources(String sourceResourceGroupName, ResourceGroup targetResourceGroup, List
Validates move resources from one resource group to another. If validation fails, ManagementException is thrown.
Parameters:
validateMoveResourcesAsync
public abstract Mono
Validates move resources from one resource group to another asynchronously. If validation fails, ManagementException is thrown.
Parameters:
Returns:
Applies to
Azure SDK for Java