It is possible to use Terraform or AZ CLI to generate a new webjob in a webapp that already exists.
For Terraform, you can use the azurerm_app_service_web_app
resource to manage web apps and the azurerm_app_service_web_app_source_control
resource to manage web jobs. This allows you to specify the source control settings for your web job and manage it as part of your infrastructure-as-code pipeline.
For AZ CLI, you can use the az webapp deployment source config-zip
command to upload the web job content and the az webapp webjob continuous list
command to check the status of the web job. This allows you to automate the deployment and management of your web jobs from the command line.
Asked: 2023-05-21 21:50:35 +0000
Seen: 9 times
Last updated: May 21 '23