Rest operation to Azure web-apps

Asked 1 years ago, Updated 1 years ago, 96 views

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

azure rest

2022-09-30 19:53

1 Answers

Hello.

You can specify it in the App Service siteConfig as follows:

https://dev.classmethod.jp/articles/azure-rest-api-app-service/


2022-09-30 19:53

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.