Deployments Interface
Implements
public interface Deployments
extends SupportsCreating<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 Type | Method and Description |
|---|---|
| default Accepted<Void> |
beginDeleteById(String id)
Deletes a deployment from the deployment history by its ID. |
| default Accepted<Void> |
beginDeleteById(String id, Context context)
Deletes a deployment from the deployment history by its ID. |
| default Accepted<Void> |
beginDeleteByResourceGroup(String resourceGroupName, String name)
Deletes a deployment from the deployment history by its resource group and name. |
| default Accepted<Void> |
beginDeleteByResourceGroup(String resourceGroupName, String name, Context context)
Deletes a deployment from the deployment history by its resource group and name. |
| abstract boolean |
checkExistence(String resourceGroupName, String deploymentName)
Checks if a deployment exists in a resource group. |
Method Details
beginDeleteById
public default Accepted<Void> beginDeleteById(String id)
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:
Returns:
beginDeleteById
public default Accepted<Void> beginDeleteById(String id, Context context)
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:
Returns:
beginDeleteByResourceGroup
public default Accepted<Void> beginDeleteByResourceGroup(String resourceGroupName, String name)
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:
Returns:
beginDeleteByResourceGroup
public default Accepted<Void> beginDeleteByResourceGroup(String resourceGroupName, String name, 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:
Returns:
checkExistence
public abstract boolean checkExistence(String resourceGroupName, String deploymentName)
Checks if a deployment exists in a resource group.
Parameters:
Returns: