azure Docs has a way of working with restapi.
(https://docs.microsoft.com/ja-jp/rest/api/appservice/web-apps)
"Create or Update" says that you can create and update apps, but
(https://docs.microsoft.com/ja-jp/rest/api/appservice/web-apps/create-or-update)
PUT https://management.azure.com/subscriptions/ {subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}?api-version=2021-02-01
I don't know how to specify PHP runtime, such as quick start.
(https://docs.microsoft.com/ja-jp/azure/app-service/quickstart-php)
az webapp create --resource-group myResourceGroup --plan myAppServicePlan --name<app-name>--runtime'PHP|7.4'--deployment-local-git
Hello.
You can specify it in the App Service siteConfig as follows:
https://dev.classmethod.jp/articles/azure-rest-api-app-service/
© 2025 OneMinuteCode. All rights reserved.