Interface Deployments

All Superinterfaces:
HasManager<ResourceManager>, SupportsCreating<Deployment.DefinitionStages.Blank>, SupportsDeletingById, SupportsDeletingByResourceGroup, SupportsGettingById<Deployment>, SupportsGettingByName<Deployment>, SupportsGettingByResourceGroup<Deployment>, SupportsListing<Deployment>, SupportsListingByResourceGroup<Deployment>

Entry point to template deployment in Azure.
  • Method Details

    • checkExistence

      boolean checkExistence(String resourceGroupName, String deploymentName)
      Checks if a deployment exists in a resource group.
      Parameters:
      resourceGroupName - the resource group's name
      deploymentName - the deployment's name
      Returns:
      true if the deployment exists; false otherwise
    • beginDeleteById

      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:
      id - the resource ID of the resource to delete
      Returns:
      the accepted deleting operation
    • beginDeleteById

      default Accepted<Void> beginDeleteById(String id, com.azure.core.util.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:
      id - the resource ID of the resource to delete
      context - the Context of the request
      Returns:
      the accepted deleting operation
    • beginDeleteByResourceGroup

      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:
      resourceGroupName - the resource group the deployment is part of
      name - 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 of
      name - the name of the deployment
      context - the Context of the request
      Returns:
      the accepted deleting operation