Interface Deployments
- All Superinterfaces:
HasManager<ResourceManager>, SupportsCreating<Deployment.DefinitionStages.Blank>, SupportsDeletingById, SupportsDeletingByResourceGroup, SupportsGettingById<Deployment>, SupportsGettingByName<Deployment>, SupportsGettingByResourceGroup<Deployment>, SupportsListing<Deployment>, SupportsListingByResourceGroup<Deployment>
public interface Deployments
extends SupportsCreating<Deployment.DefinitionStages.Blank>, SupportsListing<Deployment>, SupportsListingByResourceGroup<Deployment>, SupportsGettingByName<Deployment>, SupportsGettingByResourceGroup<Deployment>, SupportsGettingById<Deployment>, SupportsDeletingById, SupportsDeletingByResourceGroup, HasManager<ResourceManager>
Entry point to template deployment in Azure.
-
Method Summary
Modifier and TypeMethodDescriptionDeletes a deployment from the deployment history by its ID.beginDeleteById(String id, com.azure.core.util.Context context) Deletes a deployment from the deployment history by its ID.beginDeleteByResourceGroup(String resourceGroupName, String name) Deletes a deployment from the deployment history by its resource group and name.beginDeleteByResourceGroup(String resourceGroupName, String name, com.azure.core.util.Context context) Deletes a deployment from the deployment history by its resource group and name.booleancheckExistence(String resourceGroupName, String deploymentName) Checks if a deployment exists in a resource group.Methods inherited from interface HasManager
managerMethods inherited from interface SupportsCreating
defineMethods inherited from interface SupportsDeletingById
deleteById, deleteByIdAsyncMethods inherited from interface SupportsDeletingByResourceGroup
deleteByResourceGroup, deleteByResourceGroupAsyncMethods inherited from interface SupportsGettingById
getById, getByIdAsyncMethods inherited from interface SupportsGettingByName
getByName, getByNameAsyncMethods inherited from interface SupportsGettingByResourceGroup
getByResourceGroup, getByResourceGroupAsyncMethods inherited from interface SupportsListing
list, listAsyncMethods inherited from interface SupportsListingByResourceGroup
listByResourceGroup, listByResourceGroupAsync
-
Method Details
-
checkExistence
-
beginDeleteById
Deletes a deployment from the deployment history by its ID. A template deployment that is currently running cannot be deleted. Deleting a template deployment removes the associated deployment operations. Deleting a template deployment does not affect the state of the resource group.- Parameters:
id- the resource ID of the resource to delete- Returns:
- the accepted deleting operation
-
beginDeleteById
Deletes a deployment from the deployment history by its ID. A template deployment that is currently running cannot be deleted. Deleting a template deployment removes the associated deployment operations. Deleting a template deployment does not affect the state of the resource group.- Parameters:
id- the resource ID of the resource to deletecontext- theContextof the request- Returns:
- the accepted deleting operation
-
beginDeleteByResourceGroup
Deletes a deployment from the deployment history by its resource group and name. A template deployment that is currently running cannot be deleted. Deleting a template deployment removes the associated deployment operations. Deleting a template deployment does not affect the state of the resource group.- Parameters:
resourceGroupName- the resource group the deployment is part ofname- the name of the deployment- Returns:
- the accepted deleting operation
-
beginDeleteByResourceGroup
default Accepted<Void> beginDeleteByResourceGroup(String resourceGroupName, String name, com.azure.core.util.Context context) Deletes a deployment from the deployment history by its resource group and name. A template deployment that is currently running cannot be deleted. Deleting a template deployment removes the associated deployment operations. Deleting a template deployment does not affect the state of the resource group.- Parameters:
resourceGroupName- the resource group the deployment is part ofname- the name of the deploymentcontext- theContextof the request- Returns:
- the accepted deleting operation
-