Interface DeploymentApi


@Path("/resourcegroups/{resourcegroup}/providers/microsoft.resources/deployments") @Consumes("application/json") public interface DeploymentApi
- create deployment - delete deployment - get information about deployment
  • Method Summary

    Modifier and Type
    Method
    Description
    create(String deploymentname, String template)
    The Create Template Deployment operation starts the process of an ARM Template deployment.
    delete(String deploymentname)
    The Delete Template Deployment operation starts the process of an ARM Template removal.
    get(String deploymentname)
    Get Deployment Information returns information about the specified deployment.
    List all deployments in a resource group
    validate(String deploymentname, String template)
    Validate Deployment validates deployment template before deployment
  • Method Details

    • create

      @Named("deployment:create") @Path("/{deploymentname}") @PUT @Produces("application/json") Deployment create(@PathParam("deploymentname") String deploymentname, String template)
      The Create Template Deployment operation starts the process of an ARM Template deployment. It then returns a Deployment object.
    • get

      @Named("deployment:get") @Path("/{deploymentname}") @GET Deployment get(@PathParam("deploymentname") String deploymentname)
      Get Deployment Information returns information about the specified deployment.
    • validate

      @Named("deployment:validate") @Path("/{deploymentname}/validate") @POST @Produces("application/json") Deployment validate(@PathParam("deploymentname") String deploymentname, String template)
      Validate Deployment validates deployment template before deployment
    • list

      @Named("deployment:list") @GET List<Deployment> list()
      List all deployments in a resource group
    • delete

      @Named("deployment:delete") @DELETE @Path("/{deploymentname}") URI delete(@PathParam("deploymentname") String deploymentname)
      The Delete Template Deployment operation starts the process of an ARM Template removal.