Hi, @David Maryo
It is not possible to delete the settings of ARM resources.
However, you may be able to omit those properties when creating an ARM template.
Why do you want to remove it?
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I have deployed an Azure App Service Plan and now I wanted to delete some of the properties.. For example, I would like to delete the property named "reserved".
Below is the Resource JSON of my App Service Plan:
Note: Some of the sensitive information has been sanitized.
{
"id": "/subscriptions/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"name": "demo-function-app-plan",
"type": "Microsoft.Web/serverfarms",
"kind": "functionapp",
"location": "xxxxxxxxxx",
"tags": {},
"properties": {
"serverFarmId": xxxxx,
"name": "demo-function-app-plan",
"workerSize": "Default",
"workerSizeId": 0,
"workerTierName": null,
"numberOfWorkers": 0,
"currentWorkerSize": "Default",
"currentWorkerSizeId": 0,
"currentNumberOfWorkers": 0,
"status": "Ready",
"reserved": true,
"isXenon": false,
"hyperV": false,
...
...
}
}
Is there a way to delete the property from Azure UI or from Azure CLI ?
I tried something like the following using azure-cli but it seems, I am missing something.
az appservice plan delete --ids /subscriptions/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/{properties:reserved}
Hi, @David Maryo
It is not possible to delete the settings of ARM resources.
However, you may be able to omit those properties when creating an ARM template.
Why do you want to remove it?