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 com.azure.resourcemanager.resources.fluentcore.arm.models.HasManager
managerMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.collection.SupportsCreating
defineMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.collection.SupportsDeletingById
deleteById, deleteByIdAsyncMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.collection.SupportsDeletingByResourceGroup
deleteByResourceGroup, deleteByResourceGroupAsyncMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.collection.SupportsGettingById
getById, getByIdAsyncMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.collection.SupportsGettingByName
getByName, getByNameAsyncMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.collection.SupportsGettingByResourceGroup
getByResourceGroup, getByResourceGroupAsyncMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.collection.SupportsListing
list, listAsyncMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.collection.SupportsListingByResourceGroup
listByResourceGroup, listByResourceGroupAsync
-
Method Details
-
checkExistence
Checks if a deployment exists in a resource group.- Parameters:
resourceGroupName- the resource group's namedeploymentName- the deployment's name- Returns:
- true if the deployment exists; false otherwise
-
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
-