diff --git a/Commands/appservice/_list-locations.md b/Commands/appservice/_list-locations.md new file mode 100644 index 000000000..74e42f57b --- /dev/null +++ b/Commands/appservice/_list-locations.md @@ -0,0 +1,9 @@ +# [Command] _appservice list-locations_ + +List regions where a plan sku is available + +## Versions + +### [2025-03-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC53ZWIvZ2VvcmVnaW9ucw==/2025-03-01.xml) **Stable** + + diff --git a/Commands/appservice/plan/_create.md b/Commands/appservice/plan/_create.md new file mode 100644 index 000000000..66b2fb96b --- /dev/null +++ b/Commands/appservice/plan/_create.md @@ -0,0 +1,9 @@ +# [Command] _appservice plan create_ + +Create for Creates or updates an App Service Plan. + +## Versions + +### [2025-03-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC53ZWIvc2VydmVyZmFybXMve30=/2025-03-01.xml) **Stable** + + diff --git a/Commands/appservice/plan/_delete.md b/Commands/appservice/plan/_delete.md new file mode 100644 index 000000000..6e43fd411 --- /dev/null +++ b/Commands/appservice/plan/_delete.md @@ -0,0 +1,9 @@ +# [Command] _appservice plan delete_ + +Delete for Delete an App Service plan. + +## Versions + +### [2025-03-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC53ZWIvc2VydmVyZmFybXMve30=/2025-03-01.xml) **Stable** + + diff --git a/Commands/appservice/plan/_show.md b/Commands/appservice/plan/_show.md new file mode 100644 index 000000000..6d9c70a41 --- /dev/null +++ b/Commands/appservice/plan/_show.md @@ -0,0 +1,9 @@ +# [Command] _appservice plan show_ + +Get for Get an App Service plan. + +## Versions + +### [2025-03-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC53ZWIvc2VydmVyZmFybXMve30=/2025-03-01.xml) **Stable** + + diff --git a/Commands/appservice/plan/_update.md b/Commands/appservice/plan/_update.md new file mode 100644 index 000000000..6b94bb58f --- /dev/null +++ b/Commands/appservice/plan/_update.md @@ -0,0 +1,9 @@ +# [Command] _appservice plan update_ + +Update for Creates or updates an App Service Plan. + +## Versions + +### [2025-03-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC53ZWIvc2VydmVyZmFybXMve30=/2025-03-01.xml) **Stable** + + diff --git a/Commands/appservice/plan/identity/_assign.md b/Commands/appservice/plan/identity/_assign.md new file mode 100644 index 000000000..06efa20d7 --- /dev/null +++ b/Commands/appservice/plan/identity/_assign.md @@ -0,0 +1,9 @@ +# [Command] _appservice plan identity assign_ + +Assign the user or system managed identities. + +## Versions + +### [2025-03-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC53ZWIvc2VydmVyZmFybXMve30=/2025-03-01.xml) **Stable** + + diff --git a/Commands/appservice/plan/identity/_remove.md b/Commands/appservice/plan/identity/_remove.md new file mode 100644 index 000000000..544f50f87 --- /dev/null +++ b/Commands/appservice/plan/identity/_remove.md @@ -0,0 +1,9 @@ +# [Command] _appservice plan identity remove_ + +Remove the user or system managed identities. + +## Versions + +### [2025-03-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC53ZWIvc2VydmVyZmFybXMve30=/2025-03-01.xml) **Stable** + + diff --git a/Commands/appservice/plan/identity/_show.md b/Commands/appservice/plan/identity/_show.md new file mode 100644 index 000000000..8606459ff --- /dev/null +++ b/Commands/appservice/plan/identity/_show.md @@ -0,0 +1,9 @@ +# [Command] _appservice plan identity show_ + +Show the details of managed identities. + +## Versions + +### [2025-03-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC53ZWIvc2VydmVyZmFybXMve30=/2025-03-01.xml) **Stable** + + diff --git a/Commands/appservice/plan/identity/readme.md b/Commands/appservice/plan/identity/readme.md new file mode 100644 index 000000000..7107d2b60 --- /dev/null +++ b/Commands/appservice/plan/identity/readme.md @@ -0,0 +1,14 @@ +# [Group] _appservice plan identity_ + +Manage Identity + +## Commands + +- [assign](/Commands/appservice/plan/identity/_assign.md) +: Assign the user or system managed identities. + +- [remove](/Commands/appservice/plan/identity/_remove.md) +: Remove the user or system managed identities. + +- [show](/Commands/appservice/plan/identity/_show.md) +: Show the details of managed identities. diff --git a/Commands/appservice/plan/managed-instance/_show-rdp-password.md b/Commands/appservice/plan/managed-instance/_show-rdp-password.md new file mode 100644 index 000000000..28fa6462f --- /dev/null +++ b/Commands/appservice/plan/managed-instance/_show-rdp-password.md @@ -0,0 +1,9 @@ +# [Command] _appservice plan managed-instance show-rdp-password_ + +Get the RDP password for an IsCustomMode ServerFarm. + +## Versions + +### [2025-03-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC53ZWIvc2VydmVyZmFybXMve30vZ2V0cmRwcGFzc3dvcmQ=/2025-03-01.xml) **Preview** + + diff --git a/Commands/appservice/plan/managed-instance/instance/_list.md b/Commands/appservice/plan/managed-instance/instance/_list.md new file mode 100644 index 000000000..2f7f4cb4e --- /dev/null +++ b/Commands/appservice/plan/managed-instance/instance/_list.md @@ -0,0 +1,16 @@ +# [Command] _appservice plan managed-instance instance list_ + +List instances for a managed instance App Service plan. + +## Versions + +### [2025-03-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC53ZWIvc2VydmVyZmFybXMve30vbGlzdGluc3RhbmNlcw==/2025-03-01.xml) **Preview** + + + +#### examples + +- List all instances for a managed instance App Service plan. + ```bash + appservice plan managed-instance instance list --name MyAppServicePlan --resource-group MyResourceGroup + ``` diff --git a/Commands/appservice/plan/managed-instance/instance/_recycle.md b/Commands/appservice/plan/managed-instance/instance/_recycle.md new file mode 100644 index 000000000..fa3a5adbf --- /dev/null +++ b/Commands/appservice/plan/managed-instance/instance/_recycle.md @@ -0,0 +1,16 @@ +# [Command] _appservice plan managed-instance instance recycle_ + +Recycle a specific instance in a managed instance App Service plan. + +## Versions + +### [2025-03-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC53ZWIvc2VydmVyZmFybXMve30vd29ya2Vycy97fS9yZWN5Y2xlaW5zdGFuY2U=/2025-03-01.xml) **Preview** + + + +#### examples + +- Recycle a specific worker instance in a managed instance App Service plan. + ```bash + appservice plan managed-instance instance recycle --name MyAppServicePlan --resource-group MyResourceGroup --worker-name MyWorkerInstance + ``` diff --git a/Commands/appservice/plan/managed-instance/instance/readme.md b/Commands/appservice/plan/managed-instance/instance/readme.md new file mode 100644 index 000000000..179f7184f --- /dev/null +++ b/Commands/appservice/plan/managed-instance/instance/readme.md @@ -0,0 +1,11 @@ +# [Group] _appservice plan managed-instance instance_ + +Manage Instance + +## Commands + +- [list](/Commands/appservice/plan/managed-instance/instance/_list.md) +: List instances for a managed instance App Service plan. + +- [recycle](/Commands/appservice/plan/managed-instance/instance/_recycle.md) +: Recycle a specific instance in a managed instance App Service plan. diff --git a/Commands/appservice/plan/managed-instance/readme.md b/Commands/appservice/plan/managed-instance/readme.md new file mode 100644 index 000000000..fc082aa3e --- /dev/null +++ b/Commands/appservice/plan/managed-instance/readme.md @@ -0,0 +1,13 @@ +# [Group] _appservice plan managed-instance_ + +Manage Managed Instance + +## Subgroups + +- [instance](/Commands/appservice/plan/managed-instance/instance/readme.md) +: Manage Instance + +## Commands + +- [show-rdp-password](/Commands/appservice/plan/managed-instance/_show-rdp-password.md) +: Get the RDP password for an IsCustomMode ServerFarm. diff --git a/Commands/appservice/plan/readme.md b/Commands/appservice/plan/readme.md new file mode 100644 index 000000000..b898e2889 --- /dev/null +++ b/Commands/appservice/plan/readme.md @@ -0,0 +1,25 @@ +# [Group] _appservice plan_ + +Manage Plan + +## Subgroups + +- [identity](/Commands/appservice/plan/identity/readme.md) +: Manage Identity + +- [managed-instance](/Commands/appservice/plan/managed-instance/readme.md) +: Manage Managed Instance + +## Commands + +- [create](/Commands/appservice/plan/_create.md) +: Create for Creates or updates an App Service Plan. + +- [delete](/Commands/appservice/plan/_delete.md) +: Delete for Delete an App Service plan. + +- [show](/Commands/appservice/plan/_show.md) +: Get for Get an App Service plan. + +- [update](/Commands/appservice/plan/_update.md) +: Update for Creates or updates an App Service Plan. diff --git a/Commands/appservice/readme.md b/Commands/appservice/readme.md new file mode 100644 index 000000000..c8a6b2088 --- /dev/null +++ b/Commands/appservice/readme.md @@ -0,0 +1,13 @@ +# [Group] _appservice_ + +Manage Appservice + +## Subgroups + +- [plan](/Commands/appservice/plan/readme.md) +: Manage Plan + +## Commands + +- [list-locations](/Commands/appservice/_list-locations.md) +: List regions where a plan sku is available diff --git a/Commands/readme.md b/Commands/readme.md index 6c9c56b13..87f20c811 100644 --- a/Commands/readme.md +++ b/Commands/readme.md @@ -26,6 +26,9 @@ - [apic](/Commands/apic/readme.md) : Manage Azure API Center services +- [appservice](/Commands/appservice/readme.md) +: Manage Appservice + - [arc](/Commands/arc/readme.md) : Manage Azure Arc Machines. diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC53ZWIvZ2VvcmVnaW9ucw==/2025-03-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC53ZWIvZ2VvcmVnaW9ucw==/2025-03-01.json new file mode 100644 index 000000000..41290aecc --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC53ZWIvZ2VvcmVnaW9ucw==/2025-03-01.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/providers/microsoft.web/georegions", "version": "2025-03-01", "swagger": "mgmt-plane/web/ResourceProviders/Microsoft.Web/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LldlYi9nZW9SZWdpb25z/V/MjAyNS0wMy0wMQ=="}], "commandGroups": [{"name": "appservice", "commands": [{"name": "list-locations", "version": "2025-03-01", "resources": [{"id": "/subscriptions/{}/providers/microsoft.web/georegions", "version": "2025-03-01", "swagger": "mgmt-plane/web/ResourceProviders/Microsoft.Web/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LldlYi9nZW9SZWdpb25z/V/MjAyNS0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "boolean", "var": "$Query.customModeWorkersEnabled", "options": ["custom-mode-workers-enabled"], "help": {"short": "Specify true if you want to filter to only regions that support App Service Plans with IsCustomMode set to true."}}, {"type": "boolean", "var": "$Query.linuxDynamicWorkersEnabled", "options": ["linux-dynamic-workers-enabled"], "help": {"short": "Specify true if you want to filter to only regions that support Linux Consumption Workers."}}, {"type": "boolean", "var": "$Query.linuxWorkersEnabled", "options": ["linux-workers-enabled"], "group": "", "help": {"short": "Get regions which support hosting web apps on Linux workers."}}, {"type": "string", "var": "$Query.sku", "options": ["sku"], "help": {"short": "Name of SKU used to filter the regions."}, "enum": {"items": [{"name": "Basic", "value": "Basic"}, {"name": "Dynamic", "value": "Dynamic"}, {"name": "ElasticIsolated", "value": "ElasticIsolated"}, {"name": "ElasticPremium", "value": "ElasticPremium"}, {"name": "FlexConsumption", "value": "FlexConsumption"}, {"name": "Free", "value": "Free"}, {"name": "Isolated", "value": "Isolated"}, {"name": "IsolatedV2", "value": "IsolatedV2"}, {"name": "Premium", "value": "Premium"}, {"name": "PremiumContainer", "value": "PremiumContainer"}, {"name": "PremiumV2", "value": "PremiumV2"}, {"name": "PremiumV3", "value": "PremiumV3"}, {"name": "Shared", "value": "Shared"}, {"name": "Standard", "value": "Standard"}]}}, {"type": "boolean", "var": "$Query.xenonWorkersEnabled", "options": ["hyperv-workers-enabled"], "group": "", "help": {"short": "Get regions which support hosting web apps on Windows Container workers."}}]}], "operations": [{"operationId": "ListGeoRegions", "http": {"path": "/subscriptions/{subscriptionId}/providers/Microsoft.Web/geoRegions", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"params": [{"type": "boolean", "name": "customModeWorkersEnabled", "arg": "$Query.customModeWorkersEnabled"}, {"type": "boolean", "name": "linuxDynamicWorkersEnabled", "arg": "$Query.linuxDynamicWorkersEnabled"}, {"type": "boolean", "name": "linuxWorkersEnabled", "arg": "$Query.linuxWorkersEnabled"}, {"type": "string", "name": "sku", "arg": "$Query.sku", "enum": {"items": [{"value": "Basic"}, {"value": "Dynamic"}, {"value": "ElasticIsolated"}, {"value": "ElasticPremium"}, {"value": "FlexConsumption"}, {"value": "Free"}, {"value": "Isolated"}, {"value": "IsolatedV2"}, {"value": "Premium"}, {"value": "PremiumContainer"}, {"value": "PremiumV2"}, {"value": "PremiumV3"}, {"value": "Shared"}, {"value": "Standard"}]}}, {"type": "boolean", "name": "xenonWorkersEnabled", "arg": "$Query.xenonWorkersEnabled"}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2025-03-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "required": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "id"}, {"type": "string", "name": "kind"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "description"}, {"readOnly": true, "type": "string", "name": "displayName"}, {"readOnly": true, "type": "string", "name": "orgDomain"}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC53ZWIvZ2VvcmVnaW9ucw==/2025-03-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC53ZWIvZ2VvcmVnaW9ucw==/2025-03-01.xml new file mode 100644 index 000000000..b0889a82e --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC53ZWIvZ2VvcmVnaW9ucw==/2025-03-01.xml @@ -0,0 +1,109 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC53ZWIvc2VydmVyZmFybXMve30=/2025-03-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC53ZWIvc2VydmVyZmFybXMve30=/2025-03-01.json new file mode 100644 index 000000000..249de916e --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC53ZWIvc2VydmVyZmFybXMve30=/2025-03-01.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.web/serverfarms/{}", "version": "2025-03-01", "swagger": "mgmt-plane/web/ResourceProviders/Microsoft.Web/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuV2ViL3NlcnZlcmZhcm1zL3tuYW1lfQ==/V/MjAyNS0wMy0wMQ=="}], "commandGroups": [{"name": "appservice plan", "commands": [{"name": "show", "version": "2025-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.web/serverfarms/{}", "version": "2025-03-01", "swagger": "mgmt-plane/web/ResourceProviders/Microsoft.Web/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuV2ViL3NlcnZlcmZhcm1zL3tuYW1lfQ==/V/MjAyNS0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.name", "options": ["n", "name"], "required": true, "idPart": "name", "help": {"short": "Name of the App Service plan."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "AppServicePlans_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "name", "arg": "$Path.name", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"pattern": "^[-\\w\\._\\(\\)]+[^\\.]$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2025-03-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "object", "name": "extendedLocation", "props": [{"type": "string", "name": "name"}, {"readOnly": true, "type": "string", "name": "type"}]}, {"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Web/serverfarms/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "string", "name": "kind"}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "boolean", "name": "asyncScalingEnabled"}, {"type": "boolean", "name": "elasticScaleEnabled"}, {"type": "dateTime", "name": "freeOfferExpirationTime", "format": {"protocol": "iso"}}, {"readOnly": true, "type": "string", "name": "geoRegion"}, {"type": "object", "name": "hostingEnvironmentProfile", "props": [{"type": "string", "name": "id"}, {"readOnly": true, "type": "string", "name": "name"}, {"readOnly": true, "type": "string", "name": "type"}]}, {"default": {"value": false}, "type": "boolean", "name": "hyperV"}, {"type": "array", "name": "installScripts", "item": {"type": "object", "props": [{"type": "string", "name": "name"}, {"type": "object", "name": "source", "props": [{"type": "string", "name": "sourceUri"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "PlatformStorage"}, {"value": "RemoteAzureBlob"}]}}]}]}}, {"type": "boolean", "name": "isCustomMode"}, {"type": "boolean", "name": "isSpot"}, {"default": {"value": false}, "type": "boolean", "name": "isXenon"}, {"type": "object", "name": "kubeEnvironmentProfile", "props": [{"type": "string", "name": "id"}, {"readOnly": true, "type": "string", "name": "name"}, {"readOnly": true, "type": "string", "name": "type"}]}, {"type": "integer32", "name": "maximumElasticWorkerCount"}, {"readOnly": true, "type": "integer32", "name": "maximumNumberOfWorkers"}, {"type": "object", "name": "network", "props": [{"type": "string", "name": "virtualNetworkSubnetId"}]}, {"readOnly": true, "type": "integer32", "name": "numberOfSites"}, {"readOnly": true, "type": "integer32", "name": "numberOfWorkers"}, {"default": {"value": false}, "type": "boolean", "name": "perSiteScaling"}, {"type": "object", "name": "planDefaultIdentity", "props": [{"type": "string", "name": "identityType", "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "UserAssigned"}]}}, {"type": "string", "name": "userAssignedIdentityResourceId"}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "Succeeded"}]}}, {"type": "boolean", "name": "rdpEnabled"}, {"type": "array", "name": "registryAdapters", "item": {"type": "object", "props": [{"type": "object", "name": "keyVaultSecretReference", "props": [{"type": "string", "name": "referenceStatus"}, {"type": "string", "name": "secretUri"}], "cls": "KeyVaultReferenceWithStatus_read"}, {"type": "string", "name": "registryKey"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "Binary"}, {"value": "DWord"}, {"value": "Expand_String"}, {"value": "Multi_String"}, {"value": "QWord"}, {"value": "String"}]}}]}}, {"default": {"value": false}, "type": "boolean", "name": "reserved"}, {"readOnly": true, "type": "string", "name": "resourceGroup"}, {"type": "dateTime", "name": "spotExpirationTime", "format": {"protocol": "iso"}}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Creating"}, {"value": "Pending"}, {"value": "Ready"}]}}, {"type": "array", "name": "storageMounts", "item": {"type": "object", "props": [{"type": "@KeyVaultReferenceWithStatus_read", "name": "credentialsKeyVaultReference"}, {"type": "string", "name": "destinationPath"}, {"type": "string", "name": "name"}, {"type": "string", "name": "source"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "AzureFiles"}, {"value": "FileShare"}, {"value": "LocalStorage"}]}}]}}, {"readOnly": true, "type": "string", "name": "subscription"}, {"type": "integer32", "name": "targetWorkerCount"}, {"type": "integer32", "name": "targetWorkerSizeId"}, {"type": "string", "name": "workerTierName"}, {"default": {"value": false}, "type": "boolean", "name": "zoneRedundant"}], "clientFlatten": true}, {"type": "object", "name": "sku", "props": [{"type": "array", "name": "capabilities", "item": {"type": "object", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "reason"}, {"type": "string", "name": "value"}]}, "identifiers": ["name"]}, {"type": "integer32", "name": "capacity"}, {"type": "string", "name": "family"}, {"type": "array", "name": "locations", "item": {"type": "string"}}, {"type": "string", "name": "name"}, {"type": "string", "name": "size"}, {"type": "object", "name": "skuCapacity", "props": [{"type": "integer32", "name": "default"}, {"type": "integer32", "name": "elasticMaximum"}, {"type": "integer32", "name": "maximum"}, {"type": "integer32", "name": "minimum"}, {"type": "string", "name": "scaleType"}]}, {"type": "string", "name": "tier"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "delete", "version": "2025-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.web/serverfarms/{}", "version": "2025-03-01", "swagger": "mgmt-plane/web/ResourceProviders/Microsoft.Web/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuV2ViL3NlcnZlcmZhcm1zL3tuYW1lfQ==/V/MjAyNS0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.name", "options": ["n", "name"], "required": true, "idPart": "name", "help": {"short": "Name of the App Service plan."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "AppServicePlans_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "name", "arg": "$Path.name", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"pattern": "^[-\\w\\._\\(\\)]+[^\\.]$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2025-03-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2025-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.web/serverfarms/{}", "version": "2025-03-01", "swagger": "mgmt-plane/web/ResourceProviders/Microsoft.Web/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuV2ViL3NlcnZlcmZhcm1zL3tuYW1lfQ==/V/MjAyNS0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.name", "options": ["n", "name"], "required": true, "idPart": "name", "help": {"short": "Name of the App Service plan."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "AppServicePlan", "args": [{"type": "object", "var": "$appServicePlan.extendedLocation", "options": ["extended-location"], "group": "AppServicePlan", "help": {"short": "Extended Location."}, "args": [{"type": "string", "var": "$appServicePlan.extendedLocation.name", "options": ["name"], "help": {"short": "Name of extended location."}}]}, {"type": "string", "var": "$appServicePlan.kind", "options": ["kind"], "group": "AppServicePlan", "help": {"short": "Kind of resource. If the resource is an app, you can refer to https://github.com/Azure/app-service-linux-docs/blob/master/Things_You_Should_Know/kind_property.md#app-service-resource-kind-reference for details supported values for kind."}}, {"type": "ResourceLocation", "var": "$appServicePlan.location", "options": ["l", "location"], "required": true, "group": "AppServicePlan", "help": {"short": "Resource Location."}}, {"type": "object", "var": "$appServicePlan.sku", "options": ["sku"], "group": "AppServicePlan", "help": {"short": "Description of a SKU for a scalable resource."}, "args": [{"type": "array", "var": "$appServicePlan.sku.capabilities", "options": ["capabilities"], "help": {"short": "Capabilities of the SKU, e.g., is traffic manager enabled?"}, "item": {"type": "object", "args": [{"type": "string", "var": "$appServicePlan.sku.capabilities[].name", "options": ["name"], "help": {"short": "Name of the SKU capability."}}, {"type": "string", "var": "$appServicePlan.sku.capabilities[].reason", "options": ["reason"], "help": {"short": "Reason of the SKU capability."}}, {"type": "string", "var": "$appServicePlan.sku.capabilities[].value", "options": ["value"], "help": {"short": "Value of the SKU capability."}}]}}, {"type": "integer32", "var": "$appServicePlan.sku.capacity", "options": ["capacity"], "help": {"short": "Current number of instances assigned to the resource."}}, {"type": "string", "var": "$appServicePlan.sku.family", "options": ["family"], "help": {"short": "Family code of the resource SKU."}}, {"type": "array", "var": "$appServicePlan.sku.locations", "options": ["locations"], "help": {"short": "Locations of the SKU."}, "item": {"type": "string"}}, {"type": "string", "var": "$appServicePlan.sku.name", "options": ["name"], "help": {"short": "Name of the resource SKU."}}, {"type": "string", "var": "$appServicePlan.sku.size", "options": ["size"], "help": {"short": "Size specifier of the resource SKU."}}, {"type": "object", "var": "$appServicePlan.sku.skuCapacity", "options": ["sku-capacity"], "help": {"short": "Min, max, and default scale values of the SKU."}, "args": [{"type": "integer32", "var": "$appServicePlan.sku.skuCapacity.default", "options": ["default"], "help": {"short": "Default number of workers for this App Service plan SKU."}}, {"type": "integer32", "var": "$appServicePlan.sku.skuCapacity.elasticMaximum", "options": ["elastic-maximum"], "help": {"short": "Maximum number of Elastic workers for this App Service plan SKU."}}, {"type": "integer32", "var": "$appServicePlan.sku.skuCapacity.maximum", "options": ["maximum"], "help": {"short": "Maximum number of workers for this App Service plan SKU."}}, {"type": "integer32", "var": "$appServicePlan.sku.skuCapacity.minimum", "options": ["minimum"], "help": {"short": "Minimum number of workers for this App Service plan SKU."}}, {"type": "string", "var": "$appServicePlan.sku.skuCapacity.scaleType", "options": ["scale-type"], "help": {"short": "Available scale configurations for an App Service plan."}}]}, {"type": "string", "var": "$appServicePlan.sku.tier", "options": ["tier"], "help": {"short": "Service tier of the resource SKU."}}]}, {"type": "object", "var": "$appServicePlan.tags", "options": ["tags"], "group": "AppServicePlan", "help": {"short": "Resource tags."}, "additionalProps": {"item": {"type": "string"}}}]}, {"name": "Identity", "args": [{"blank": {"value": "True"}, "type": "string", "var": "$appServicePlan.identity.systemAssigned", "options": ["system-assigned", "mi-system-assigned"], "group": "Identity", "help": {"short": "Set the system managed identity."}}, {"type": "string", "var": "$appServicePlan.identity.type", "options": ["type"], "hide": true, "group": "Identity", "help": {"short": "Type of managed service identity."}, "enum": {"items": [{"name": "None", "value": "None"}, {"name": "SystemAssigned", "value": "SystemAssigned"}, {"name": "SystemAssigned, UserAssigned", "value": "SystemAssigned, UserAssigned"}, {"name": "UserAssigned", "value": "UserAssigned"}]}}, {"blank": {"value": []}, "type": "array", "var": "$appServicePlan.identity.userAssigned", "options": ["user-assigned", "mi-user-assigned"], "group": "Identity", "help": {"short": "Set the user managed identities."}, "item": {"type": "string"}}, {"type": "object", "var": "$appServicePlan.identity.userAssignedIdentities", "options": ["user-assigned-identities"], "hide": true, "group": "Identity", "help": {"short": "The list of user assigned identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}"}, "additionalProps": {"item": {"blank": {"value": {}}, "type": "object"}}}]}, {"name": "Properties", "args": [{"type": "boolean", "var": "$appServicePlan.properties.asyncScalingEnabled", "options": ["async-scaling-enabled"], "group": "Properties", "help": {"short": "If true, this App Service Plan will attempt to scale asynchronously if there are insufficient workers to scale synchronously. If false, this App Service Plan will only attempt sync scaling."}}, {"type": "boolean", "var": "$appServicePlan.properties.elasticScaleEnabled", "options": ["elastic-scale-enabled"], "group": "Properties", "help": {"short": "ServerFarm supports ElasticScale. Apps in this plan will scale as if the ServerFarm was ElasticPremium sku"}}, {"type": "dateTime", "var": "$appServicePlan.properties.freeOfferExpirationTime", "options": ["free-offer-expiration-time"], "group": "Properties", "help": {"short": "The time when the server farm free offer expires."}, "format": {"protocol": "iso"}}, {"type": "object", "var": "$appServicePlan.properties.hostingEnvironmentProfile", "options": ["hosting-environment-profile"], "group": "Properties", "help": {"short": "Specification for the App Service Environment to use for the App Service plan."}, "args": [{"type": "string", "var": "$appServicePlan.properties.hostingEnvironmentProfile.id", "options": ["id"], "help": {"short": "Resource ID of the App Service Environment."}}]}, {"type": "boolean", "var": "$appServicePlan.properties.hyperV", "options": ["hyper-v"], "group": "Properties", "help": {"short": "If Hyper-V container app service plan true, false otherwise."}, "default": {"value": false}}, {"type": "array", "var": "$appServicePlan.properties.installScripts", "options": ["install-scripts"], "group": "Properties", "help": {"short": "Install scripts associated with this App Service plan."}, "item": {"type": "object", "args": [{"type": "string", "var": "$appServicePlan.properties.installScripts[].name", "options": ["name"], "help": {"short": "Name of the install script."}}, {"type": "object", "var": "$appServicePlan.properties.installScripts[].source", "options": ["source"], "help": {"short": "Source of the install script."}, "args": [{"type": "string", "var": "$appServicePlan.properties.installScripts[].source.sourceUri", "options": ["source-uri"], "help": {"short": "Install script source URI where the install script file will be fetched from."}}, {"type": "string", "var": "$appServicePlan.properties.installScripts[].source.type", "options": ["type"], "help": {"short": "Type of the install script."}, "enum": {"items": [{"name": "PlatformStorage", "value": "PlatformStorage"}, {"name": "RemoteAzureBlob", "value": "RemoteAzureBlob"}]}}]}]}}, {"type": "boolean", "var": "$appServicePlan.properties.isCustomMode", "options": ["is-custom-mode"], "group": "Properties", "help": {"short": "Whether this server farm is in custom mode."}}, {"type": "boolean", "var": "$appServicePlan.properties.isSpot", "options": ["is-spot"], "group": "Properties", "help": {"short": "If true, this App Service Plan owns spot instances."}}, {"type": "boolean", "var": "$appServicePlan.properties.isXenon", "options": ["is-xenon"], "group": "Properties", "help": {"short": "Obsolete: If Hyper-V container app service plan true, false otherwise."}, "default": {"value": false}}, {"type": "object", "var": "$appServicePlan.properties.kubeEnvironmentProfile", "options": ["kube-environment-profile"], "group": "Properties", "help": {"short": "Specification for the Kubernetes Environment to use for the App Service plan."}, "args": [{"type": "string", "var": "$appServicePlan.properties.kubeEnvironmentProfile.id", "options": ["id"], "help": {"short": "Resource ID of the Kubernetes Environment."}}]}, {"type": "integer32", "var": "$appServicePlan.properties.maximumElasticWorkerCount", "options": ["maximum-elastic-worker-count"], "group": "Properties", "help": {"short": "Maximum number of total workers allowed for this ElasticScaleEnabled App Service Plan"}}, {"type": "object", "var": "$appServicePlan.properties.network", "options": ["network"], "group": "Properties", "help": {"short": "All network settings for the server farm."}, "args": [{"type": "string", "var": "$appServicePlan.properties.network.virtualNetworkSubnetId", "options": ["virtual-network-subnet-id"], "help": {"short": "Azure Resource Manager ID of the Virtual network and subnet to be joined by Regional VNET Integration. This must be of the form /subscriptions/{subscriptionName}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName}"}}]}, {"type": "boolean", "var": "$appServicePlan.properties.perSiteScaling", "options": ["per-site-scaling"], "group": "Properties", "help": {"short": "If true, apps assigned to this App Service plan can be scaled independently. If false, apps assigned to this App Service plan will scale to all instances of the plan."}, "default": {"value": false}}, {"type": "object", "var": "$appServicePlan.properties.planDefaultIdentity", "options": ["plan-default-identity"], "group": "Properties", "help": {"short": "Identity to use by platform for various features and integrations using managed identity."}, "args": [{"type": "string", "var": "$appServicePlan.properties.planDefaultIdentity.identityType", "options": ["identity-type"], "enum": {"items": [{"name": "None", "value": "None"}, {"name": "SystemAssigned", "value": "SystemAssigned"}, {"name": "UserAssigned", "value": "UserAssigned"}]}}, {"type": "string", "var": "$appServicePlan.properties.planDefaultIdentity.userAssignedIdentityResourceId", "options": ["user-assigned-identity-resource-id"]}]}, {"type": "boolean", "var": "$appServicePlan.properties.rdpEnabled", "options": ["rdp-enabled"], "group": "Properties", "help": {"short": "If true, RDP access is enabled for this App Service plan. Only applicable for IsCustomMode ASPs. If false, RDP access is disabled."}}, {"type": "array", "var": "$appServicePlan.properties.registryAdapters", "options": ["registry-adapters"], "group": "Properties", "help": {"short": "Registry adapters associated with this App Service plan."}, "item": {"type": "object", "args": [{"type": "object", "var": "$appServicePlan.properties.registryAdapters[].keyVaultSecretReference", "options": ["key-vault-secret-reference"], "help": {"short": "Key vault reference to the value that will be placed in the registry location"}, "args": [{"type": "string", "var": "@KeyVaultReferenceWithStatus_create.referenceStatus", "options": ["reference-status"], "help": {"short": "Reference status of the key vault secret."}}, {"type": "string", "var": "@KeyVaultReferenceWithStatus_create.secretUri", "options": ["secret-uri"], "help": {"short": "Key vault secret URI."}}], "cls": "KeyVaultReferenceWithStatus_create"}, {"type": "string", "var": "$appServicePlan.properties.registryAdapters[].registryKey", "options": ["registry-key"], "help": {"short": "Registry key for the adapter."}}, {"type": "string", "var": "$appServicePlan.properties.registryAdapters[].type", "options": ["type"], "help": {"short": "Type of the registry adapter."}, "enum": {"items": [{"name": "Binary", "value": "Binary"}, {"name": "DWord", "value": "DWord"}, {"name": "Expand_String", "value": "Expand_String"}, {"name": "Multi_String", "value": "Multi_String"}, {"name": "QWord", "value": "QWord"}, {"name": "String", "value": "String"}]}}]}}, {"type": "boolean", "var": "$appServicePlan.properties.reserved", "options": ["reserved"], "group": "Properties", "help": {"short": "If Linux app service plan true, false otherwise."}, "default": {"value": false}}, {"type": "dateTime", "var": "$appServicePlan.properties.spotExpirationTime", "options": ["spot-expiration-time"], "group": "Properties", "help": {"short": "The time when the server farm expires. Valid only if it is a spot server farm."}, "format": {"protocol": "iso"}}, {"type": "array", "var": "$appServicePlan.properties.storageMounts", "options": ["storage-mounts"], "group": "Properties", "help": {"short": "Storage mounts associated with this App Service plan."}, "item": {"type": "object", "args": [{"type": "@KeyVaultReferenceWithStatus_create", "var": "$appServicePlan.properties.storageMounts[].credentialsKeyVaultReference", "options": ["credentials-key-vault-reference"], "help": {"short": "KV reference to the credentials to connect to the share."}}, {"type": "string", "var": "$appServicePlan.properties.storageMounts[].destinationPath", "options": ["destination-path"], "help": {"short": "Path on worker where storage will be mounted."}}, {"type": "string", "var": "$appServicePlan.properties.storageMounts[].name", "options": ["name"], "help": {"short": "Name of the storage mount."}}, {"type": "string", "var": "$appServicePlan.properties.storageMounts[].source", "options": ["source"], "help": {"short": "Source of the fileshare/storage."}}, {"type": "string", "var": "$appServicePlan.properties.storageMounts[].type", "options": ["type"], "help": {"short": "Type of the storage mount."}, "enum": {"items": [{"name": "AzureFiles", "value": "AzureFiles"}, {"name": "FileShare", "value": "FileShare"}, {"name": "LocalStorage", "value": "LocalStorage"}]}}]}}, {"type": "integer32", "var": "$appServicePlan.properties.targetWorkerCount", "options": ["target-worker-count"], "group": "Properties", "help": {"short": "Scaling worker count."}}, {"type": "integer32", "var": "$appServicePlan.properties.targetWorkerSizeId", "options": ["target-worker-size-id"], "group": "Properties", "help": {"short": "Scaling worker size ID."}}, {"type": "string", "var": "$appServicePlan.properties.workerTierName", "options": ["worker-tier-name"], "group": "Properties", "help": {"short": "Target worker tier assigned to the App Service plan."}}, {"type": "boolean", "var": "$appServicePlan.properties.zoneRedundant", "options": ["zone-redundant"], "group": "Properties", "help": {"short": "If true, this App Service Plan will perform availability zone balancing. If false, this App Service Plan will not perform availability zone balancing."}, "default": {"value": false}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "AppServicePlans_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "name", "arg": "$Path.name", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"pattern": "^[-\\w\\._\\(\\)]+[^\\.]$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2025-03-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"schema": {"type": "object", "name": "appServicePlan", "required": true, "props": [{"type": "object", "name": "extendedLocation", "arg": "$appServicePlan.extendedLocation", "props": [{"type": "string", "name": "name", "arg": "$appServicePlan.extendedLocation.name"}]}, {"type": "IdentityObject", "name": "identity", "props": [{"type": "string", "name": "type", "arg": "$appServicePlan.identity.type", "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "arg": "$appServicePlan.identity.userAssignedIdentities", "additionalProps": {"item": {"type": "object"}}}], "userAssigned": {"action": "create", "type": "array", "name": "userAssigned", "arg": "$appServicePlan.identity.userAssigned", "item": {"action": "create", "type": "string"}}, "systemAssigned": {"action": "create", "type": "string", "name": "systemAssigned", "arg": "$appServicePlan.identity.systemAssigned"}}, {"type": "string", "name": "kind", "arg": "$appServicePlan.kind"}, {"type": "ResourceLocation", "name": "location", "arg": "$appServicePlan.location", "required": true}, {"type": "object", "name": "properties", "props": [{"type": "boolean", "name": "asyncScalingEnabled", "arg": "$appServicePlan.properties.asyncScalingEnabled"}, {"type": "boolean", "name": "elasticScaleEnabled", "arg": "$appServicePlan.properties.elasticScaleEnabled"}, {"type": "dateTime", "name": "freeOfferExpirationTime", "arg": "$appServicePlan.properties.freeOfferExpirationTime", "format": {"protocol": "iso"}}, {"type": "object", "name": "hostingEnvironmentProfile", "arg": "$appServicePlan.properties.hostingEnvironmentProfile", "props": [{"type": "string", "name": "id", "arg": "$appServicePlan.properties.hostingEnvironmentProfile.id"}]}, {"default": {"value": false}, "type": "boolean", "name": "hyperV", "arg": "$appServicePlan.properties.hyperV"}, {"type": "array", "name": "installScripts", "arg": "$appServicePlan.properties.installScripts", "item": {"type": "object", "props": [{"type": "string", "name": "name", "arg": "$appServicePlan.properties.installScripts[].name"}, {"type": "object", "name": "source", "arg": "$appServicePlan.properties.installScripts[].source", "props": [{"type": "string", "name": "sourceUri", "arg": "$appServicePlan.properties.installScripts[].source.sourceUri"}, {"type": "string", "name": "type", "arg": "$appServicePlan.properties.installScripts[].source.type", "enum": {"items": [{"value": "PlatformStorage"}, {"value": "RemoteAzureBlob"}]}}]}]}}, {"type": "boolean", "name": "isCustomMode", "arg": "$appServicePlan.properties.isCustomMode"}, {"type": "boolean", "name": "isSpot", "arg": "$appServicePlan.properties.isSpot"}, {"default": {"value": false}, "type": "boolean", "name": "isXenon", "arg": "$appServicePlan.properties.isXenon"}, {"type": "object", "name": "kubeEnvironmentProfile", "arg": "$appServicePlan.properties.kubeEnvironmentProfile", "props": [{"type": "string", "name": "id", "arg": "$appServicePlan.properties.kubeEnvironmentProfile.id"}]}, {"type": "integer32", "name": "maximumElasticWorkerCount", "arg": "$appServicePlan.properties.maximumElasticWorkerCount"}, {"type": "object", "name": "network", "arg": "$appServicePlan.properties.network", "props": [{"type": "string", "name": "virtualNetworkSubnetId", "arg": "$appServicePlan.properties.network.virtualNetworkSubnetId"}]}, {"default": {"value": false}, "type": "boolean", "name": "perSiteScaling", "arg": "$appServicePlan.properties.perSiteScaling"}, {"type": "object", "name": "planDefaultIdentity", "arg": "$appServicePlan.properties.planDefaultIdentity", "props": [{"type": "string", "name": "identityType", "arg": "$appServicePlan.properties.planDefaultIdentity.identityType", "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "UserAssigned"}]}}, {"type": "string", "name": "userAssignedIdentityResourceId", "arg": "$appServicePlan.properties.planDefaultIdentity.userAssignedIdentityResourceId"}]}, {"type": "boolean", "name": "rdpEnabled", "arg": "$appServicePlan.properties.rdpEnabled"}, {"type": "array", "name": "registryAdapters", "arg": "$appServicePlan.properties.registryAdapters", "item": {"type": "object", "props": [{"type": "object", "name": "keyVaultSecretReference", "arg": "$appServicePlan.properties.registryAdapters[].keyVaultSecretReference", "props": [{"type": "string", "name": "referenceStatus", "arg": "@KeyVaultReferenceWithStatus_create.referenceStatus"}, {"type": "string", "name": "secretUri", "arg": "@KeyVaultReferenceWithStatus_create.secretUri"}], "cls": "KeyVaultReferenceWithStatus_create"}, {"type": "string", "name": "registryKey", "arg": "$appServicePlan.properties.registryAdapters[].registryKey"}, {"type": "string", "name": "type", "arg": "$appServicePlan.properties.registryAdapters[].type", "enum": {"items": [{"value": "Binary"}, {"value": "DWord"}, {"value": "Expand_String"}, {"value": "Multi_String"}, {"value": "QWord"}, {"value": "String"}]}}]}}, {"default": {"value": false}, "type": "boolean", "name": "reserved", "arg": "$appServicePlan.properties.reserved"}, {"type": "dateTime", "name": "spotExpirationTime", "arg": "$appServicePlan.properties.spotExpirationTime", "format": {"protocol": "iso"}}, {"type": "array", "name": "storageMounts", "arg": "$appServicePlan.properties.storageMounts", "item": {"type": "object", "props": [{"type": "@KeyVaultReferenceWithStatus_create", "name": "credentialsKeyVaultReference", "arg": "$appServicePlan.properties.storageMounts[].credentialsKeyVaultReference"}, {"type": "string", "name": "destinationPath", "arg": "$appServicePlan.properties.storageMounts[].destinationPath"}, {"type": "string", "name": "name", "arg": "$appServicePlan.properties.storageMounts[].name"}, {"type": "string", "name": "source", "arg": "$appServicePlan.properties.storageMounts[].source"}, {"type": "string", "name": "type", "arg": "$appServicePlan.properties.storageMounts[].type", "enum": {"items": [{"value": "AzureFiles"}, {"value": "FileShare"}, {"value": "LocalStorage"}]}}]}}, {"type": "integer32", "name": "targetWorkerCount", "arg": "$appServicePlan.properties.targetWorkerCount"}, {"type": "integer32", "name": "targetWorkerSizeId", "arg": "$appServicePlan.properties.targetWorkerSizeId"}, {"type": "string", "name": "workerTierName", "arg": "$appServicePlan.properties.workerTierName"}, {"default": {"value": false}, "type": "boolean", "name": "zoneRedundant", "arg": "$appServicePlan.properties.zoneRedundant"}], "clientFlatten": true}, {"type": "object", "name": "sku", "arg": "$appServicePlan.sku", "props": [{"type": "array", "name": "capabilities", "arg": "$appServicePlan.sku.capabilities", "item": {"type": "object", "props": [{"type": "string", "name": "name", "arg": "$appServicePlan.sku.capabilities[].name"}, {"type": "string", "name": "reason", "arg": "$appServicePlan.sku.capabilities[].reason"}, {"type": "string", "name": "value", "arg": "$appServicePlan.sku.capabilities[].value"}]}, "identifiers": ["name"]}, {"type": "integer32", "name": "capacity", "arg": "$appServicePlan.sku.capacity"}, {"type": "string", "name": "family", "arg": "$appServicePlan.sku.family"}, {"type": "array", "name": "locations", "arg": "$appServicePlan.sku.locations", "item": {"type": "string"}}, {"type": "string", "name": "name", "arg": "$appServicePlan.sku.name"}, {"type": "string", "name": "size", "arg": "$appServicePlan.sku.size"}, {"type": "object", "name": "skuCapacity", "arg": "$appServicePlan.sku.skuCapacity", "props": [{"type": "integer32", "name": "default", "arg": "$appServicePlan.sku.skuCapacity.default"}, {"type": "integer32", "name": "elasticMaximum", "arg": "$appServicePlan.sku.skuCapacity.elasticMaximum"}, {"type": "integer32", "name": "maximum", "arg": "$appServicePlan.sku.skuCapacity.maximum"}, {"type": "integer32", "name": "minimum", "arg": "$appServicePlan.sku.skuCapacity.minimum"}, {"type": "string", "name": "scaleType", "arg": "$appServicePlan.sku.skuCapacity.scaleType"}]}, {"type": "string", "name": "tier", "arg": "$appServicePlan.sku.tier"}]}, {"type": "object", "name": "tags", "arg": "$appServicePlan.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "object", "name": "extendedLocation", "props": [{"type": "string", "name": "name"}, {"readOnly": true, "type": "string", "name": "type"}]}, {"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Web/serverfarms/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "string", "name": "kind"}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "boolean", "name": "asyncScalingEnabled"}, {"type": "boolean", "name": "elasticScaleEnabled"}, {"type": "dateTime", "name": "freeOfferExpirationTime", "format": {"protocol": "iso"}}, {"readOnly": true, "type": "string", "name": "geoRegion"}, {"type": "object", "name": "hostingEnvironmentProfile", "props": [{"type": "string", "name": "id"}, {"readOnly": true, "type": "string", "name": "name"}, {"readOnly": true, "type": "string", "name": "type"}]}, {"default": {"value": false}, "type": "boolean", "name": "hyperV"}, {"type": "array", "name": "installScripts", "item": {"type": "object", "props": [{"type": "string", "name": "name"}, {"type": "object", "name": "source", "props": [{"type": "string", "name": "sourceUri"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "PlatformStorage"}, {"value": "RemoteAzureBlob"}]}}]}]}}, {"type": "boolean", "name": "isCustomMode"}, {"type": "boolean", "name": "isSpot"}, {"default": {"value": false}, "type": "boolean", "name": "isXenon"}, {"type": "object", "name": "kubeEnvironmentProfile", "props": [{"type": "string", "name": "id"}, {"readOnly": true, "type": "string", "name": "name"}, {"readOnly": true, "type": "string", "name": "type"}]}, {"type": "integer32", "name": "maximumElasticWorkerCount"}, {"readOnly": true, "type": "integer32", "name": "maximumNumberOfWorkers"}, {"type": "object", "name": "network", "props": [{"type": "string", "name": "virtualNetworkSubnetId"}]}, {"readOnly": true, "type": "integer32", "name": "numberOfSites"}, {"readOnly": true, "type": "integer32", "name": "numberOfWorkers"}, {"default": {"value": false}, "type": "boolean", "name": "perSiteScaling"}, {"type": "object", "name": "planDefaultIdentity", "props": [{"type": "string", "name": "identityType", "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "UserAssigned"}]}}, {"type": "string", "name": "userAssignedIdentityResourceId"}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "Succeeded"}]}}, {"type": "boolean", "name": "rdpEnabled"}, {"type": "array", "name": "registryAdapters", "item": {"type": "object", "props": [{"type": "object", "name": "keyVaultSecretReference", "props": [{"type": "string", "name": "referenceStatus"}, {"type": "string", "name": "secretUri"}], "cls": "KeyVaultReferenceWithStatus_read"}, {"type": "string", "name": "registryKey"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "Binary"}, {"value": "DWord"}, {"value": "Expand_String"}, {"value": "Multi_String"}, {"value": "QWord"}, {"value": "String"}]}}]}}, {"default": {"value": false}, "type": "boolean", "name": "reserved"}, {"readOnly": true, "type": "string", "name": "resourceGroup"}, {"type": "dateTime", "name": "spotExpirationTime", "format": {"protocol": "iso"}}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Creating"}, {"value": "Pending"}, {"value": "Ready"}]}}, {"type": "array", "name": "storageMounts", "item": {"type": "object", "props": [{"type": "@KeyVaultReferenceWithStatus_read", "name": "credentialsKeyVaultReference"}, {"type": "string", "name": "destinationPath"}, {"type": "string", "name": "name"}, {"type": "string", "name": "source"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "AzureFiles"}, {"value": "FileShare"}, {"value": "LocalStorage"}]}}]}}, {"readOnly": true, "type": "string", "name": "subscription"}, {"type": "integer32", "name": "targetWorkerCount"}, {"type": "integer32", "name": "targetWorkerSizeId"}, {"type": "string", "name": "workerTierName"}, {"default": {"value": false}, "type": "boolean", "name": "zoneRedundant"}], "clientFlatten": true}, {"type": "object", "name": "sku", "props": [{"type": "array", "name": "capabilities", "item": {"type": "object", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "reason"}, {"type": "string", "name": "value"}]}, "identifiers": ["name"]}, {"type": "integer32", "name": "capacity"}, {"type": "string", "name": "family"}, {"type": "array", "name": "locations", "item": {"type": "string"}}, {"type": "string", "name": "name"}, {"type": "string", "name": "size"}, {"type": "object", "name": "skuCapacity", "props": [{"type": "integer32", "name": "default"}, {"type": "integer32", "name": "elasticMaximum"}, {"type": "integer32", "name": "maximum"}, {"type": "integer32", "name": "minimum"}, {"type": "string", "name": "scaleType"}]}, {"type": "string", "name": "tier"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "AppServicePlan_read"}}}}, {"statusCode": [202], "body": {"json": {"var": "$Instance", "schema": {"type": "@AppServicePlan_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "update", "version": "2025-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.web/serverfarms/{}", "version": "2025-03-01", "swagger": "mgmt-plane/web/ResourceProviders/Microsoft.Web/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuV2ViL3NlcnZlcmZhcm1zL3tuYW1lfQ==/V/MjAyNS0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.name", "options": ["n", "name"], "required": true, "idPart": "name", "help": {"short": "Name of the App Service plan."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "AppServicePlan", "args": [{"nullable": true, "type": "object", "var": "$appServicePlan.extendedLocation", "options": ["extended-location"], "group": "AppServicePlan", "help": {"short": "Extended Location."}, "args": [{"nullable": true, "type": "string", "var": "$appServicePlan.extendedLocation.name", "options": ["name"], "help": {"short": "Name of extended location."}}]}, {"nullable": true, "type": "string", "var": "$appServicePlan.kind", "options": ["kind"], "group": "AppServicePlan", "help": {"short": "Kind of resource. If the resource is an app, you can refer to https://github.com/Azure/app-service-linux-docs/blob/master/Things_You_Should_Know/kind_property.md#app-service-resource-kind-reference for details supported values for kind."}}, {"type": "ResourceLocation", "var": "$appServicePlan.location", "options": ["l", "location"], "group": "AppServicePlan", "help": {"short": "Resource Location."}}, {"nullable": true, "type": "object", "var": "$appServicePlan.sku", "options": ["sku"], "group": "AppServicePlan", "help": {"short": "Description of a SKU for a scalable resource."}, "args": [{"nullable": true, "type": "array", "var": "$appServicePlan.sku.capabilities", "options": ["capabilities"], "help": {"short": "Capabilities of the SKU, e.g., is traffic manager enabled?"}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "string", "var": "$appServicePlan.sku.capabilities[].name", "options": ["name"], "help": {"short": "Name of the SKU capability."}}, {"nullable": true, "type": "string", "var": "$appServicePlan.sku.capabilities[].reason", "options": ["reason"], "help": {"short": "Reason of the SKU capability."}}, {"nullable": true, "type": "string", "var": "$appServicePlan.sku.capabilities[].value", "options": ["value"], "help": {"short": "Value of the SKU capability."}}]}}, {"nullable": true, "type": "integer32", "var": "$appServicePlan.sku.capacity", "options": ["capacity"], "help": {"short": "Current number of instances assigned to the resource."}}, {"nullable": true, "type": "string", "var": "$appServicePlan.sku.family", "options": ["family"], "help": {"short": "Family code of the resource SKU."}}, {"nullable": true, "type": "array", "var": "$appServicePlan.sku.locations", "options": ["locations"], "help": {"short": "Locations of the SKU."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "string", "var": "$appServicePlan.sku.name", "options": ["name"], "help": {"short": "Name of the resource SKU."}}, {"nullable": true, "type": "string", "var": "$appServicePlan.sku.size", "options": ["size"], "help": {"short": "Size specifier of the resource SKU."}}, {"nullable": true, "type": "object", "var": "$appServicePlan.sku.skuCapacity", "options": ["sku-capacity"], "help": {"short": "Min, max, and default scale values of the SKU."}, "args": [{"nullable": true, "type": "integer32", "var": "$appServicePlan.sku.skuCapacity.default", "options": ["default"], "help": {"short": "Default number of workers for this App Service plan SKU."}}, {"nullable": true, "type": "integer32", "var": "$appServicePlan.sku.skuCapacity.elasticMaximum", "options": ["elastic-maximum"], "help": {"short": "Maximum number of Elastic workers for this App Service plan SKU."}}, {"nullable": true, "type": "integer32", "var": "$appServicePlan.sku.skuCapacity.maximum", "options": ["maximum"], "help": {"short": "Maximum number of workers for this App Service plan SKU."}}, {"nullable": true, "type": "integer32", "var": "$appServicePlan.sku.skuCapacity.minimum", "options": ["minimum"], "help": {"short": "Minimum number of workers for this App Service plan SKU."}}, {"nullable": true, "type": "string", "var": "$appServicePlan.sku.skuCapacity.scaleType", "options": ["scale-type"], "help": {"short": "Available scale configurations for an App Service plan."}}]}, {"nullable": true, "type": "string", "var": "$appServicePlan.sku.tier", "options": ["tier"], "help": {"short": "Service tier of the resource SKU."}}]}, {"nullable": true, "type": "object", "var": "$appServicePlan.tags", "options": ["tags"], "group": "AppServicePlan", "help": {"short": "Resource tags."}, "additionalProps": {"item": {"nullable": true, "type": "string"}}}]}, {"name": "Identity", "args": [{"nullable": true, "type": "string", "var": "$appServicePlan.identity.type", "options": ["type"], "hide": true, "group": "Identity", "help": {"short": "Type of managed service identity."}, "enum": {"items": [{"name": "None", "value": "None"}, {"name": "SystemAssigned", "value": "SystemAssigned"}, {"name": "SystemAssigned, UserAssigned", "value": "SystemAssigned, UserAssigned"}, {"name": "UserAssigned", "value": "UserAssigned"}]}}, {"nullable": true, "type": "object", "var": "$appServicePlan.identity.userAssignedIdentities", "options": ["user-assigned-identities"], "hide": true, "group": "Identity", "help": {"short": "The list of user assigned identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}"}, "additionalProps": {"item": {"nullable": true, "blank": {"value": {}}, "type": "object"}}}]}, {"name": "Properties", "args": [{"nullable": true, "type": "boolean", "var": "$appServicePlan.properties.asyncScalingEnabled", "options": ["async-scaling-enabled"], "group": "Properties", "help": {"short": "If true, this App Service Plan will attempt to scale asynchronously if there are insufficient workers to scale synchronously. If false, this App Service Plan will only attempt sync scaling."}}, {"nullable": true, "type": "boolean", "var": "$appServicePlan.properties.elasticScaleEnabled", "options": ["elastic-scale-enabled"], "group": "Properties", "help": {"short": "ServerFarm supports ElasticScale. Apps in this plan will scale as if the ServerFarm was ElasticPremium sku"}}, {"nullable": true, "type": "dateTime", "var": "$appServicePlan.properties.freeOfferExpirationTime", "options": ["free-offer-expiration-time"], "group": "Properties", "help": {"short": "The time when the server farm free offer expires."}, "format": {"protocol": "iso"}}, {"nullable": true, "type": "array", "var": "$appServicePlan.properties.installScripts", "options": ["install-scripts"], "group": "Properties", "help": {"short": "Install scripts associated with this App Service plan."}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "string", "var": "$appServicePlan.properties.installScripts[].name", "options": ["name"], "help": {"short": "Name of the install script."}}, {"nullable": true, "type": "object", "var": "$appServicePlan.properties.installScripts[].source", "options": ["source"], "help": {"short": "Source of the install script."}, "args": [{"nullable": true, "type": "string", "var": "$appServicePlan.properties.installScripts[].source.sourceUri", "options": ["source-uri"], "help": {"short": "Install script source URI where the install script file will be fetched from."}}, {"nullable": true, "type": "string", "var": "$appServicePlan.properties.installScripts[].source.type", "options": ["type"], "help": {"short": "Type of the install script."}, "enum": {"items": [{"name": "PlatformStorage", "value": "PlatformStorage"}, {"name": "RemoteAzureBlob", "value": "RemoteAzureBlob"}]}}]}]}}, {"nullable": true, "type": "boolean", "var": "$appServicePlan.properties.isCustomMode", "options": ["is-custom-mode"], "group": "Properties", "help": {"short": "Whether this server farm is in custom mode."}}, {"nullable": true, "type": "boolean", "var": "$appServicePlan.properties.isSpot", "options": ["is-spot"], "group": "Properties", "help": {"short": "If true, this App Service Plan owns spot instances."}}, {"nullable": true, "type": "object", "var": "$appServicePlan.properties.kubeEnvironmentProfile", "options": ["kube-environment-profile"], "group": "Properties", "help": {"short": "Specification for the Kubernetes Environment to use for the App Service plan."}, "args": [{"nullable": true, "type": "string", "var": "$appServicePlan.properties.kubeEnvironmentProfile.id", "options": ["id"], "help": {"short": "Resource ID of the Kubernetes Environment."}}]}, {"nullable": true, "type": "integer32", "var": "$appServicePlan.properties.maximumElasticWorkerCount", "options": ["maximum-elastic-worker-count"], "group": "Properties", "help": {"short": "Maximum number of total workers allowed for this ElasticScaleEnabled App Service Plan"}}, {"nullable": true, "type": "object", "var": "$appServicePlan.properties.network", "options": ["network"], "group": "Properties", "help": {"short": "All network settings for the server farm."}, "args": [{"nullable": true, "type": "string", "var": "$appServicePlan.properties.network.virtualNetworkSubnetId", "options": ["virtual-network-subnet-id"], "help": {"short": "Azure Resource Manager ID of the Virtual network and subnet to be joined by Regional VNET Integration. This must be of the form /subscriptions/{subscriptionName}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName}"}}]}, {"nullable": true, "type": "boolean", "var": "$appServicePlan.properties.perSiteScaling", "options": ["per-site-scaling"], "group": "Properties", "help": {"short": "If true, apps assigned to this App Service plan can be scaled independently. If false, apps assigned to this App Service plan will scale to all instances of the plan."}}, {"nullable": true, "type": "object", "var": "$appServicePlan.properties.planDefaultIdentity", "options": ["plan-default-identity"], "group": "Properties", "help": {"short": "Identity to use by platform for various features and integrations using managed identity."}, "args": [{"nullable": true, "type": "string", "var": "$appServicePlan.properties.planDefaultIdentity.identityType", "options": ["identity-type"], "enum": {"items": [{"name": "None", "value": "None"}, {"name": "SystemAssigned", "value": "SystemAssigned"}, {"name": "UserAssigned", "value": "UserAssigned"}]}}, {"nullable": true, "type": "string", "var": "$appServicePlan.properties.planDefaultIdentity.userAssignedIdentityResourceId", "options": ["user-assigned-identity-resource-id"]}]}, {"nullable": true, "type": "boolean", "var": "$appServicePlan.properties.rdpEnabled", "options": ["rdp-enabled"], "group": "Properties", "help": {"short": "If true, RDP access is enabled for this App Service plan. Only applicable for IsCustomMode ASPs. If false, RDP access is disabled."}}, {"nullable": true, "type": "array", "var": "$appServicePlan.properties.registryAdapters", "options": ["registry-adapters"], "group": "Properties", "help": {"short": "Registry adapters associated with this App Service plan."}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "object", "var": "$appServicePlan.properties.registryAdapters[].keyVaultSecretReference", "options": ["key-vault-secret-reference"], "help": {"short": "Key vault reference to the value that will be placed in the registry location"}, "args": [{"nullable": true, "type": "string", "var": "@KeyVaultReferenceWithStatus_update.referenceStatus", "options": ["reference-status"], "help": {"short": "Reference status of the key vault secret."}}, {"nullable": true, "type": "string", "var": "@KeyVaultReferenceWithStatus_update.secretUri", "options": ["secret-uri"], "help": {"short": "Key vault secret URI."}}], "cls": "KeyVaultReferenceWithStatus_update"}, {"nullable": true, "type": "string", "var": "$appServicePlan.properties.registryAdapters[].registryKey", "options": ["registry-key"], "help": {"short": "Registry key for the adapter."}}, {"nullable": true, "type": "string", "var": "$appServicePlan.properties.registryAdapters[].type", "options": ["type"], "help": {"short": "Type of the registry adapter."}, "enum": {"items": [{"name": "Binary", "value": "Binary"}, {"name": "DWord", "value": "DWord"}, {"name": "Expand_String", "value": "Expand_String"}, {"name": "Multi_String", "value": "Multi_String"}, {"name": "QWord", "value": "QWord"}, {"name": "String", "value": "String"}]}}]}}, {"nullable": true, "type": "dateTime", "var": "$appServicePlan.properties.spotExpirationTime", "options": ["spot-expiration-time"], "group": "Properties", "help": {"short": "The time when the server farm expires. Valid only if it is a spot server farm."}, "format": {"protocol": "iso"}}, {"nullable": true, "type": "array", "var": "$appServicePlan.properties.storageMounts", "options": ["storage-mounts"], "group": "Properties", "help": {"short": "Storage mounts associated with this App Service plan."}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "@KeyVaultReferenceWithStatus_update", "var": "$appServicePlan.properties.storageMounts[].credentialsKeyVaultReference", "options": ["credentials-key-vault-reference"], "help": {"short": "KV reference to the credentials to connect to the share."}}, {"nullable": true, "type": "string", "var": "$appServicePlan.properties.storageMounts[].destinationPath", "options": ["destination-path"], "help": {"short": "Path on worker where storage will be mounted."}}, {"nullable": true, "type": "string", "var": "$appServicePlan.properties.storageMounts[].name", "options": ["name"], "help": {"short": "Name of the storage mount."}}, {"nullable": true, "type": "string", "var": "$appServicePlan.properties.storageMounts[].source", "options": ["source"], "help": {"short": "Source of the fileshare/storage."}}, {"nullable": true, "type": "string", "var": "$appServicePlan.properties.storageMounts[].type", "options": ["type"], "help": {"short": "Type of the storage mount."}, "enum": {"items": [{"name": "AzureFiles", "value": "AzureFiles"}, {"name": "FileShare", "value": "FileShare"}, {"name": "LocalStorage", "value": "LocalStorage"}]}}]}}, {"nullable": true, "type": "integer32", "var": "$appServicePlan.properties.targetWorkerCount", "options": ["target-worker-count"], "group": "Properties", "help": {"short": "Scaling worker count."}}, {"nullable": true, "type": "integer32", "var": "$appServicePlan.properties.targetWorkerSizeId", "options": ["target-worker-size-id"], "group": "Properties", "help": {"short": "Scaling worker size ID."}}, {"nullable": true, "type": "string", "var": "$appServicePlan.properties.workerTierName", "options": ["worker-tier-name"], "group": "Properties", "help": {"short": "Target worker tier assigned to the App Service plan."}}, {"nullable": true, "type": "boolean", "var": "$appServicePlan.properties.zoneRedundant", "options": ["zone-redundant"], "group": "Properties", "help": {"short": "If true, this App Service Plan will perform availability zone balancing. If false, this App Service Plan will not perform availability zone balancing."}}]}], "operations": [{"operationId": "AppServicePlans_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "name", "arg": "$Path.name", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"pattern": "^[-\\w\\._\\(\\)]+[^\\.]$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2025-03-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "object", "name": "extendedLocation", "props": [{"type": "string", "name": "name"}, {"readOnly": true, "type": "string", "name": "type"}]}, {"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Web/serverfarms/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "string", "name": "kind"}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "boolean", "name": "asyncScalingEnabled"}, {"type": "boolean", "name": "elasticScaleEnabled"}, {"type": "dateTime", "name": "freeOfferExpirationTime", "format": {"protocol": "iso"}}, {"readOnly": true, "type": "string", "name": "geoRegion"}, {"type": "object", "name": "hostingEnvironmentProfile", "props": [{"type": "string", "name": "id"}, {"readOnly": true, "type": "string", "name": "name"}, {"readOnly": true, "type": "string", "name": "type"}]}, {"default": {"value": false}, "type": "boolean", "name": "hyperV"}, {"type": "array", "name": "installScripts", "item": {"type": "object", "props": [{"type": "string", "name": "name"}, {"type": "object", "name": "source", "props": [{"type": "string", "name": "sourceUri"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "PlatformStorage"}, {"value": "RemoteAzureBlob"}]}}]}]}}, {"type": "boolean", "name": "isCustomMode"}, {"type": "boolean", "name": "isSpot"}, {"default": {"value": false}, "type": "boolean", "name": "isXenon"}, {"type": "object", "name": "kubeEnvironmentProfile", "props": [{"type": "string", "name": "id"}, {"readOnly": true, "type": "string", "name": "name"}, {"readOnly": true, "type": "string", "name": "type"}]}, {"type": "integer32", "name": "maximumElasticWorkerCount"}, {"readOnly": true, "type": "integer32", "name": "maximumNumberOfWorkers"}, {"type": "object", "name": "network", "props": [{"type": "string", "name": "virtualNetworkSubnetId"}]}, {"readOnly": true, "type": "integer32", "name": "numberOfSites"}, {"readOnly": true, "type": "integer32", "name": "numberOfWorkers"}, {"default": {"value": false}, "type": "boolean", "name": "perSiteScaling"}, {"type": "object", "name": "planDefaultIdentity", "props": [{"type": "string", "name": "identityType", "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "UserAssigned"}]}}, {"type": "string", "name": "userAssignedIdentityResourceId"}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "Succeeded"}]}}, {"type": "boolean", "name": "rdpEnabled"}, {"type": "array", "name": "registryAdapters", "item": {"type": "object", "props": [{"type": "object", "name": "keyVaultSecretReference", "props": [{"type": "string", "name": "referenceStatus"}, {"type": "string", "name": "secretUri"}], "cls": "KeyVaultReferenceWithStatus_read"}, {"type": "string", "name": "registryKey"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "Binary"}, {"value": "DWord"}, {"value": "Expand_String"}, {"value": "Multi_String"}, {"value": "QWord"}, {"value": "String"}]}}]}}, {"default": {"value": false}, "type": "boolean", "name": "reserved"}, {"readOnly": true, "type": "string", "name": "resourceGroup"}, {"type": "dateTime", "name": "spotExpirationTime", "format": {"protocol": "iso"}}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Creating"}, {"value": "Pending"}, {"value": "Ready"}]}}, {"type": "array", "name": "storageMounts", "item": {"type": "object", "props": [{"type": "@KeyVaultReferenceWithStatus_read", "name": "credentialsKeyVaultReference"}, {"type": "string", "name": "destinationPath"}, {"type": "string", "name": "name"}, {"type": "string", "name": "source"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "AzureFiles"}, {"value": "FileShare"}, {"value": "LocalStorage"}]}}]}}, {"readOnly": true, "type": "string", "name": "subscription"}, {"type": "integer32", "name": "targetWorkerCount"}, {"type": "integer32", "name": "targetWorkerSizeId"}, {"type": "string", "name": "workerTierName"}, {"default": {"value": false}, "type": "boolean", "name": "zoneRedundant"}], "clientFlatten": true}, {"type": "object", "name": "sku", "props": [{"type": "array", "name": "capabilities", "item": {"type": "object", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "reason"}, {"type": "string", "name": "value"}]}, "identifiers": ["name"]}, {"type": "integer32", "name": "capacity"}, {"type": "string", "name": "family"}, {"type": "array", "name": "locations", "item": {"type": "string"}}, {"type": "string", "name": "name"}, {"type": "string", "name": "size"}, {"type": "object", "name": "skuCapacity", "props": [{"type": "integer32", "name": "default"}, {"type": "integer32", "name": "elasticMaximum"}, {"type": "integer32", "name": "maximum"}, {"type": "integer32", "name": "minimum"}, {"type": "string", "name": "scaleType"}]}, {"type": "string", "name": "tier"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "AppServicePlan_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "appServicePlan", "required": true, "props": [{"type": "object", "name": "extendedLocation", "arg": "$appServicePlan.extendedLocation", "props": [{"type": "string", "name": "name", "arg": "$appServicePlan.extendedLocation.name"}]}, {"type": "IdentityObject", "name": "identity", "props": [{"type": "string", "name": "type", "arg": "$appServicePlan.identity.type", "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "arg": "$appServicePlan.identity.userAssignedIdentities", "additionalProps": {"item": {"type": "object"}}}]}, {"type": "string", "name": "kind", "arg": "$appServicePlan.kind"}, {"type": "ResourceLocation", "name": "location", "arg": "$appServicePlan.location", "required": true}, {"type": "object", "name": "properties", "props": [{"type": "boolean", "name": "asyncScalingEnabled", "arg": "$appServicePlan.properties.asyncScalingEnabled"}, {"type": "boolean", "name": "elasticScaleEnabled", "arg": "$appServicePlan.properties.elasticScaleEnabled"}, {"type": "dateTime", "name": "freeOfferExpirationTime", "arg": "$appServicePlan.properties.freeOfferExpirationTime", "format": {"protocol": "iso"}}, {"type": "array", "name": "installScripts", "arg": "$appServicePlan.properties.installScripts", "item": {"type": "object", "props": [{"type": "string", "name": "name", "arg": "$appServicePlan.properties.installScripts[].name"}, {"type": "object", "name": "source", "arg": "$appServicePlan.properties.installScripts[].source", "props": [{"type": "string", "name": "sourceUri", "arg": "$appServicePlan.properties.installScripts[].source.sourceUri"}, {"type": "string", "name": "type", "arg": "$appServicePlan.properties.installScripts[].source.type", "enum": {"items": [{"value": "PlatformStorage"}, {"value": "RemoteAzureBlob"}]}}]}]}}, {"type": "boolean", "name": "isCustomMode", "arg": "$appServicePlan.properties.isCustomMode"}, {"type": "boolean", "name": "isSpot", "arg": "$appServicePlan.properties.isSpot"}, {"type": "object", "name": "kubeEnvironmentProfile", "arg": "$appServicePlan.properties.kubeEnvironmentProfile", "props": [{"type": "string", "name": "id", "arg": "$appServicePlan.properties.kubeEnvironmentProfile.id"}]}, {"type": "integer32", "name": "maximumElasticWorkerCount", "arg": "$appServicePlan.properties.maximumElasticWorkerCount"}, {"type": "object", "name": "network", "arg": "$appServicePlan.properties.network", "props": [{"type": "string", "name": "virtualNetworkSubnetId", "arg": "$appServicePlan.properties.network.virtualNetworkSubnetId"}]}, {"default": {"value": false}, "type": "boolean", "name": "perSiteScaling", "arg": "$appServicePlan.properties.perSiteScaling"}, {"type": "object", "name": "planDefaultIdentity", "arg": "$appServicePlan.properties.planDefaultIdentity", "props": [{"type": "string", "name": "identityType", "arg": "$appServicePlan.properties.planDefaultIdentity.identityType", "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "UserAssigned"}]}}, {"type": "string", "name": "userAssignedIdentityResourceId", "arg": "$appServicePlan.properties.planDefaultIdentity.userAssignedIdentityResourceId"}]}, {"type": "boolean", "name": "rdpEnabled", "arg": "$appServicePlan.properties.rdpEnabled"}, {"type": "array", "name": "registryAdapters", "arg": "$appServicePlan.properties.registryAdapters", "item": {"type": "object", "props": [{"type": "object", "name": "keyVaultSecretReference", "arg": "$appServicePlan.properties.registryAdapters[].keyVaultSecretReference", "props": [{"type": "string", "name": "referenceStatus", "arg": "@KeyVaultReferenceWithStatus_update.referenceStatus"}, {"type": "string", "name": "secretUri", "arg": "@KeyVaultReferenceWithStatus_update.secretUri"}], "cls": "KeyVaultReferenceWithStatus_update"}, {"type": "string", "name": "registryKey", "arg": "$appServicePlan.properties.registryAdapters[].registryKey"}, {"type": "string", "name": "type", "arg": "$appServicePlan.properties.registryAdapters[].type", "enum": {"items": [{"value": "Binary"}, {"value": "DWord"}, {"value": "Expand_String"}, {"value": "Multi_String"}, {"value": "QWord"}, {"value": "String"}]}}]}}, {"type": "dateTime", "name": "spotExpirationTime", "arg": "$appServicePlan.properties.spotExpirationTime", "format": {"protocol": "iso"}}, {"type": "array", "name": "storageMounts", "arg": "$appServicePlan.properties.storageMounts", "item": {"type": "object", "props": [{"type": "@KeyVaultReferenceWithStatus_update", "name": "credentialsKeyVaultReference", "arg": "$appServicePlan.properties.storageMounts[].credentialsKeyVaultReference"}, {"type": "string", "name": "destinationPath", "arg": "$appServicePlan.properties.storageMounts[].destinationPath"}, {"type": "string", "name": "name", "arg": "$appServicePlan.properties.storageMounts[].name"}, {"type": "string", "name": "source", "arg": "$appServicePlan.properties.storageMounts[].source"}, {"type": "string", "name": "type", "arg": "$appServicePlan.properties.storageMounts[].type", "enum": {"items": [{"value": "AzureFiles"}, {"value": "FileShare"}, {"value": "LocalStorage"}]}}]}}, {"type": "integer32", "name": "targetWorkerCount", "arg": "$appServicePlan.properties.targetWorkerCount"}, {"type": "integer32", "name": "targetWorkerSizeId", "arg": "$appServicePlan.properties.targetWorkerSizeId"}, {"type": "string", "name": "workerTierName", "arg": "$appServicePlan.properties.workerTierName"}, {"default": {"value": false}, "type": "boolean", "name": "zoneRedundant", "arg": "$appServicePlan.properties.zoneRedundant"}], "clientFlatten": true}, {"type": "object", "name": "sku", "arg": "$appServicePlan.sku", "props": [{"type": "array", "name": "capabilities", "arg": "$appServicePlan.sku.capabilities", "item": {"type": "object", "props": [{"type": "string", "name": "name", "arg": "$appServicePlan.sku.capabilities[].name"}, {"type": "string", "name": "reason", "arg": "$appServicePlan.sku.capabilities[].reason"}, {"type": "string", "name": "value", "arg": "$appServicePlan.sku.capabilities[].value"}]}, "identifiers": ["name"]}, {"type": "integer32", "name": "capacity", "arg": "$appServicePlan.sku.capacity"}, {"type": "string", "name": "family", "arg": "$appServicePlan.sku.family"}, {"type": "array", "name": "locations", "arg": "$appServicePlan.sku.locations", "item": {"type": "string"}}, {"type": "string", "name": "name", "arg": "$appServicePlan.sku.name"}, {"type": "string", "name": "size", "arg": "$appServicePlan.sku.size"}, {"type": "object", "name": "skuCapacity", "arg": "$appServicePlan.sku.skuCapacity", "props": [{"type": "integer32", "name": "default", "arg": "$appServicePlan.sku.skuCapacity.default"}, {"type": "integer32", "name": "elasticMaximum", "arg": "$appServicePlan.sku.skuCapacity.elasticMaximum"}, {"type": "integer32", "name": "maximum", "arg": "$appServicePlan.sku.skuCapacity.maximum"}, {"type": "integer32", "name": "minimum", "arg": "$appServicePlan.sku.skuCapacity.minimum"}, {"type": "string", "name": "scaleType", "arg": "$appServicePlan.sku.skuCapacity.scaleType"}]}, {"type": "string", "name": "tier", "arg": "$appServicePlan.sku.tier"}]}, {"type": "object", "name": "tags", "arg": "$appServicePlan.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "AppServicePlans_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "name", "arg": "$Path.name", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"pattern": "^[-\\w\\._\\(\\)]+[^\\.]$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2025-03-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "@AppServicePlan_read"}}}}, {"statusCode": [202], "body": {"json": {"var": "$Instance", "schema": {"type": "@AppServicePlan_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}], "commandGroups": [{"name": "identity", "commands": [{"name": "assign", "version": "2025-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.web/serverfarms/{}", "version": "2025-03-01", "subresource": "identity", "swagger": "mgmt-plane/web/ResourceProviders/Microsoft.Web/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuV2ViL3NlcnZlcmZhcm1zL3tuYW1lfQ==/V/MjAyNS0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.name", "options": ["n", "name"], "required": true, "idPart": "name", "help": {"short": "Name of the App Service plan."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "AppServicePlan.identity", "args": [{"blank": {"value": "True"}, "type": "string", "var": "$appServicePlan.identity.systemAssigned", "options": ["system-assigned", "mi-system-assigned"], "group": "AppServicePlan.identity", "help": {"short": "Set the system managed identity."}}, {"blank": {"value": []}, "type": "array", "var": "$appServicePlan.identity.userAssigned", "options": ["user-assigned", "mi-user-assigned"], "group": "AppServicePlan.identity", "help": {"short": "Set the user managed identities."}, "item": {"type": "string"}}]}], "subresourceSelector": {"var": "$Subresource", "ref": "$Instance", "json": {"type": "object", "name": "appServicePlan", "prop": {"type": "object", "name": "identity"}}}, "operations": [{"operationId": "AppServicePlans_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "name", "arg": "$Path.name", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"pattern": "^[-\\w\\._\\(\\)]+[^\\.]$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2025-03-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "object", "name": "extendedLocation", "props": [{"type": "string", "name": "name"}, {"readOnly": true, "type": "string", "name": "type"}]}, {"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Web/serverfarms/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "string", "name": "kind"}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "boolean", "name": "asyncScalingEnabled"}, {"type": "boolean", "name": "elasticScaleEnabled"}, {"type": "dateTime", "name": "freeOfferExpirationTime", "format": {"protocol": "iso"}}, {"readOnly": true, "type": "string", "name": "geoRegion"}, {"type": "object", "name": "hostingEnvironmentProfile", "props": [{"type": "string", "name": "id"}, {"readOnly": true, "type": "string", "name": "name"}, {"readOnly": true, "type": "string", "name": "type"}]}, {"default": {"value": false}, "type": "boolean", "name": "hyperV"}, {"type": "array", "name": "installScripts", "item": {"type": "object", "props": [{"type": "string", "name": "name"}, {"type": "object", "name": "source", "props": [{"type": "string", "name": "sourceUri"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "PlatformStorage"}, {"value": "RemoteAzureBlob"}]}}]}]}}, {"type": "boolean", "name": "isCustomMode"}, {"type": "boolean", "name": "isSpot"}, {"default": {"value": false}, "type": "boolean", "name": "isXenon"}, {"type": "object", "name": "kubeEnvironmentProfile", "props": [{"type": "string", "name": "id"}, {"readOnly": true, "type": "string", "name": "name"}, {"readOnly": true, "type": "string", "name": "type"}]}, {"type": "integer32", "name": "maximumElasticWorkerCount"}, {"readOnly": true, "type": "integer32", "name": "maximumNumberOfWorkers"}, {"type": "object", "name": "network", "props": [{"type": "string", "name": "virtualNetworkSubnetId"}]}, {"readOnly": true, "type": "integer32", "name": "numberOfSites"}, {"readOnly": true, "type": "integer32", "name": "numberOfWorkers"}, {"default": {"value": false}, "type": "boolean", "name": "perSiteScaling"}, {"type": "object", "name": "planDefaultIdentity", "props": [{"type": "string", "name": "identityType", "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "UserAssigned"}]}}, {"type": "string", "name": "userAssignedIdentityResourceId"}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "Succeeded"}]}}, {"type": "boolean", "name": "rdpEnabled"}, {"type": "array", "name": "registryAdapters", "item": {"type": "object", "props": [{"type": "object", "name": "keyVaultSecretReference", "props": [{"type": "string", "name": "referenceStatus"}, {"type": "string", "name": "secretUri"}], "cls": "KeyVaultReferenceWithStatus_read"}, {"type": "string", "name": "registryKey"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "Binary"}, {"value": "DWord"}, {"value": "Expand_String"}, {"value": "Multi_String"}, {"value": "QWord"}, {"value": "String"}]}}]}}, {"default": {"value": false}, "type": "boolean", "name": "reserved"}, {"readOnly": true, "type": "string", "name": "resourceGroup"}, {"type": "dateTime", "name": "spotExpirationTime", "format": {"protocol": "iso"}}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Creating"}, {"value": "Pending"}, {"value": "Ready"}]}}, {"type": "array", "name": "storageMounts", "item": {"type": "object", "props": [{"type": "@KeyVaultReferenceWithStatus_read", "name": "credentialsKeyVaultReference"}, {"type": "string", "name": "destinationPath"}, {"type": "string", "name": "name"}, {"type": "string", "name": "source"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "AzureFiles"}, {"value": "FileShare"}, {"value": "LocalStorage"}]}}]}}, {"readOnly": true, "type": "string", "name": "subscription"}, {"type": "integer32", "name": "targetWorkerCount"}, {"type": "integer32", "name": "targetWorkerSizeId"}, {"type": "string", "name": "workerTierName"}, {"default": {"value": false}, "type": "boolean", "name": "zoneRedundant"}], "clientFlatten": true}, {"type": "object", "name": "sku", "props": [{"type": "array", "name": "capabilities", "item": {"type": "object", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "reason"}, {"type": "string", "name": "value"}]}, "identifiers": ["name"]}, {"type": "integer32", "name": "capacity"}, {"type": "string", "name": "family"}, {"type": "array", "name": "locations", "item": {"type": "string"}}, {"type": "string", "name": "name"}, {"type": "string", "name": "size"}, {"type": "object", "name": "skuCapacity", "props": [{"type": "integer32", "name": "default"}, {"type": "integer32", "name": "elasticMaximum"}, {"type": "integer32", "name": "maximum"}, {"type": "integer32", "name": "minimum"}, {"type": "string", "name": "scaleType"}]}, {"type": "string", "name": "tier"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "AppServicePlan_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"instanceUpdate": {"ref": "$Subresource", "json": {"schema": {"action": "assign", "type": "IdentityObject", "name": "appServicePlan.identity", "required": true, "userAssigned": {"action": "assign", "type": "array", "name": "userAssigned", "arg": "$appServicePlan.identity.userAssigned", "item": {"action": "assign", "type": "string"}}, "systemAssigned": {"action": "assign", "type": "string", "name": "systemAssigned", "arg": "$appServicePlan.identity.systemAssigned"}}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "AppServicePlans_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "name", "arg": "$Path.name", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"pattern": "^[-\\w\\._\\(\\)]+[^\\.]$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2025-03-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "@AppServicePlan_read"}}}}, {"statusCode": [202], "body": {"json": {"var": "$Instance", "schema": {"type": "@AppServicePlan_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Subresource", "clientFlatten": true}]}, {"name": "remove", "version": "2025-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.web/serverfarms/{}", "version": "2025-03-01", "subresource": "identity", "swagger": "mgmt-plane/web/ResourceProviders/Microsoft.Web/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuV2ViL3NlcnZlcmZhcm1zL3tuYW1lfQ==/V/MjAyNS0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.name", "options": ["n", "name"], "required": true, "idPart": "name", "help": {"short": "Name of the App Service plan."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "AppServicePlan.identity", "args": [{"blank": {"value": "True"}, "type": "string", "var": "$appServicePlan.identity.systemAssigned", "options": ["system-assigned", "mi-system-assigned"], "group": "AppServicePlan.identity", "help": {"short": "Set the system managed identity."}}, {"blank": {"value": []}, "type": "array", "var": "$appServicePlan.identity.userAssigned", "options": ["user-assigned", "mi-user-assigned"], "group": "AppServicePlan.identity", "help": {"short": "Set the user managed identities."}, "item": {"type": "string"}}]}], "subresourceSelector": {"var": "$Subresource", "ref": "$Instance", "json": {"type": "object", "name": "appServicePlan", "prop": {"type": "object", "name": "identity"}}}, "operations": [{"operationId": "AppServicePlans_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "name", "arg": "$Path.name", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"pattern": "^[-\\w\\._\\(\\)]+[^\\.]$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2025-03-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "object", "name": "extendedLocation", "props": [{"type": "string", "name": "name"}, {"readOnly": true, "type": "string", "name": "type"}]}, {"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Web/serverfarms/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "string", "name": "kind"}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "boolean", "name": "asyncScalingEnabled"}, {"type": "boolean", "name": "elasticScaleEnabled"}, {"type": "dateTime", "name": "freeOfferExpirationTime", "format": {"protocol": "iso"}}, {"readOnly": true, "type": "string", "name": "geoRegion"}, {"type": "object", "name": "hostingEnvironmentProfile", "props": [{"type": "string", "name": "id"}, {"readOnly": true, "type": "string", "name": "name"}, {"readOnly": true, "type": "string", "name": "type"}]}, {"default": {"value": false}, "type": "boolean", "name": "hyperV"}, {"type": "array", "name": "installScripts", "item": {"type": "object", "props": [{"type": "string", "name": "name"}, {"type": "object", "name": "source", "props": [{"type": "string", "name": "sourceUri"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "PlatformStorage"}, {"value": "RemoteAzureBlob"}]}}]}]}}, {"type": "boolean", "name": "isCustomMode"}, {"type": "boolean", "name": "isSpot"}, {"default": {"value": false}, "type": "boolean", "name": "isXenon"}, {"type": "object", "name": "kubeEnvironmentProfile", "props": [{"type": "string", "name": "id"}, {"readOnly": true, "type": "string", "name": "name"}, {"readOnly": true, "type": "string", "name": "type"}]}, {"type": "integer32", "name": "maximumElasticWorkerCount"}, {"readOnly": true, "type": "integer32", "name": "maximumNumberOfWorkers"}, {"type": "object", "name": "network", "props": [{"type": "string", "name": "virtualNetworkSubnetId"}]}, {"readOnly": true, "type": "integer32", "name": "numberOfSites"}, {"readOnly": true, "type": "integer32", "name": "numberOfWorkers"}, {"default": {"value": false}, "type": "boolean", "name": "perSiteScaling"}, {"type": "object", "name": "planDefaultIdentity", "props": [{"type": "string", "name": "identityType", "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "UserAssigned"}]}}, {"type": "string", "name": "userAssignedIdentityResourceId"}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "Succeeded"}]}}, {"type": "boolean", "name": "rdpEnabled"}, {"type": "array", "name": "registryAdapters", "item": {"type": "object", "props": [{"type": "object", "name": "keyVaultSecretReference", "props": [{"type": "string", "name": "referenceStatus"}, {"type": "string", "name": "secretUri"}], "cls": "KeyVaultReferenceWithStatus_read"}, {"type": "string", "name": "registryKey"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "Binary"}, {"value": "DWord"}, {"value": "Expand_String"}, {"value": "Multi_String"}, {"value": "QWord"}, {"value": "String"}]}}]}}, {"default": {"value": false}, "type": "boolean", "name": "reserved"}, {"readOnly": true, "type": "string", "name": "resourceGroup"}, {"type": "dateTime", "name": "spotExpirationTime", "format": {"protocol": "iso"}}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Creating"}, {"value": "Pending"}, {"value": "Ready"}]}}, {"type": "array", "name": "storageMounts", "item": {"type": "object", "props": [{"type": "@KeyVaultReferenceWithStatus_read", "name": "credentialsKeyVaultReference"}, {"type": "string", "name": "destinationPath"}, {"type": "string", "name": "name"}, {"type": "string", "name": "source"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "AzureFiles"}, {"value": "FileShare"}, {"value": "LocalStorage"}]}}]}}, {"readOnly": true, "type": "string", "name": "subscription"}, {"type": "integer32", "name": "targetWorkerCount"}, {"type": "integer32", "name": "targetWorkerSizeId"}, {"type": "string", "name": "workerTierName"}, {"default": {"value": false}, "type": "boolean", "name": "zoneRedundant"}], "clientFlatten": true}, {"type": "object", "name": "sku", "props": [{"type": "array", "name": "capabilities", "item": {"type": "object", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "reason"}, {"type": "string", "name": "value"}]}, "identifiers": ["name"]}, {"type": "integer32", "name": "capacity"}, {"type": "string", "name": "family"}, {"type": "array", "name": "locations", "item": {"type": "string"}}, {"type": "string", "name": "name"}, {"type": "string", "name": "size"}, {"type": "object", "name": "skuCapacity", "props": [{"type": "integer32", "name": "default"}, {"type": "integer32", "name": "elasticMaximum"}, {"type": "integer32", "name": "maximum"}, {"type": "integer32", "name": "minimum"}, {"type": "string", "name": "scaleType"}]}, {"type": "string", "name": "tier"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "AppServicePlan_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"instanceUpdate": {"ref": "$Subresource", "json": {"schema": {"action": "remove", "type": "IdentityObject", "name": "appServicePlan.identity", "required": true, "userAssigned": {"action": "remove", "type": "array", "name": "userAssigned", "arg": "$appServicePlan.identity.userAssigned", "item": {"action": "remove", "type": "string"}}, "systemAssigned": {"action": "remove", "type": "string", "name": "systemAssigned", "arg": "$appServicePlan.identity.systemAssigned"}}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "AppServicePlans_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "name", "arg": "$Path.name", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"pattern": "^[-\\w\\._\\(\\)]+[^\\.]$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2025-03-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "@AppServicePlan_read"}}}}, {"statusCode": [202], "body": {"json": {"var": "$Instance", "schema": {"type": "@AppServicePlan_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Subresource", "clientFlatten": true}]}, {"name": "show", "version": "2025-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.web/serverfarms/{}", "version": "2025-03-01", "subresource": "identity", "swagger": "mgmt-plane/web/ResourceProviders/Microsoft.Web/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuV2ViL3NlcnZlcmZhcm1zL3tuYW1lfQ==/V/MjAyNS0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.name", "options": ["n", "name"], "required": true, "idPart": "name", "help": {"short": "Name of the App Service plan."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "subresourceSelector": {"var": "$Subresource", "ref": "$Instance", "json": {"type": "object", "name": "appServicePlan", "prop": {"type": "object", "name": "identity"}}}, "operations": [{"operationId": "AppServicePlans_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "name", "arg": "$Path.name", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"pattern": "^[-\\w\\._\\(\\)]+[^\\.]$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2025-03-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "object", "name": "extendedLocation", "props": [{"type": "string", "name": "name"}, {"readOnly": true, "type": "string", "name": "type"}]}, {"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Web/serverfarms/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "string", "name": "principalId"}, {"readOnly": true, "type": "string", "name": "tenantId"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned, UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "clientId"}, {"readOnly": true, "type": "string", "name": "principalId"}]}}}]}, {"type": "string", "name": "kind"}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "boolean", "name": "asyncScalingEnabled"}, {"type": "boolean", "name": "elasticScaleEnabled"}, {"type": "dateTime", "name": "freeOfferExpirationTime", "format": {"protocol": "iso"}}, {"readOnly": true, "type": "string", "name": "geoRegion"}, {"type": "object", "name": "hostingEnvironmentProfile", "props": [{"type": "string", "name": "id"}, {"readOnly": true, "type": "string", "name": "name"}, {"readOnly": true, "type": "string", "name": "type"}]}, {"default": {"value": false}, "type": "boolean", "name": "hyperV"}, {"type": "array", "name": "installScripts", "item": {"type": "object", "props": [{"type": "string", "name": "name"}, {"type": "object", "name": "source", "props": [{"type": "string", "name": "sourceUri"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "PlatformStorage"}, {"value": "RemoteAzureBlob"}]}}]}]}}, {"type": "boolean", "name": "isCustomMode"}, {"type": "boolean", "name": "isSpot"}, {"default": {"value": false}, "type": "boolean", "name": "isXenon"}, {"type": "object", "name": "kubeEnvironmentProfile", "props": [{"type": "string", "name": "id"}, {"readOnly": true, "type": "string", "name": "name"}, {"readOnly": true, "type": "string", "name": "type"}]}, {"type": "integer32", "name": "maximumElasticWorkerCount"}, {"readOnly": true, "type": "integer32", "name": "maximumNumberOfWorkers"}, {"type": "object", "name": "network", "props": [{"type": "string", "name": "virtualNetworkSubnetId"}]}, {"readOnly": true, "type": "integer32", "name": "numberOfSites"}, {"readOnly": true, "type": "integer32", "name": "numberOfWorkers"}, {"default": {"value": false}, "type": "boolean", "name": "perSiteScaling"}, {"type": "object", "name": "planDefaultIdentity", "props": [{"type": "string", "name": "identityType", "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "UserAssigned"}]}}, {"type": "string", "name": "userAssignedIdentityResourceId"}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "Succeeded"}]}}, {"type": "boolean", "name": "rdpEnabled"}, {"type": "array", "name": "registryAdapters", "item": {"type": "object", "props": [{"type": "object", "name": "keyVaultSecretReference", "props": [{"type": "string", "name": "referenceStatus"}, {"type": "string", "name": "secretUri"}], "cls": "KeyVaultReferenceWithStatus_read"}, {"type": "string", "name": "registryKey"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "Binary"}, {"value": "DWord"}, {"value": "Expand_String"}, {"value": "Multi_String"}, {"value": "QWord"}, {"value": "String"}]}}]}}, {"default": {"value": false}, "type": "boolean", "name": "reserved"}, {"readOnly": true, "type": "string", "name": "resourceGroup"}, {"type": "dateTime", "name": "spotExpirationTime", "format": {"protocol": "iso"}}, {"readOnly": true, "type": "string", "name": "status", "enum": {"items": [{"value": "Creating"}, {"value": "Pending"}, {"value": "Ready"}]}}, {"type": "array", "name": "storageMounts", "item": {"type": "object", "props": [{"type": "@KeyVaultReferenceWithStatus_read", "name": "credentialsKeyVaultReference"}, {"type": "string", "name": "destinationPath"}, {"type": "string", "name": "name"}, {"type": "string", "name": "source"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "AzureFiles"}, {"value": "FileShare"}, {"value": "LocalStorage"}]}}]}}, {"readOnly": true, "type": "string", "name": "subscription"}, {"type": "integer32", "name": "targetWorkerCount"}, {"type": "integer32", "name": "targetWorkerSizeId"}, {"type": "string", "name": "workerTierName"}, {"default": {"value": false}, "type": "boolean", "name": "zoneRedundant"}], "clientFlatten": true}, {"type": "object", "name": "sku", "props": [{"type": "array", "name": "capabilities", "item": {"type": "object", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "reason"}, {"type": "string", "name": "value"}]}, "identifiers": ["name"]}, {"type": "integer32", "name": "capacity"}, {"type": "string", "name": "family"}, {"type": "array", "name": "locations", "item": {"type": "string"}}, {"type": "string", "name": "name"}, {"type": "string", "name": "size"}, {"type": "object", "name": "skuCapacity", "props": [{"type": "integer32", "name": "default"}, {"type": "integer32", "name": "elasticMaximum"}, {"type": "integer32", "name": "maximum"}, {"type": "integer32", "name": "minimum"}, {"type": "string", "name": "scaleType"}]}, {"type": "string", "name": "tier"}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "AppServicePlan_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Subresource", "clientFlatten": true}]}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC53ZWIvc2VydmVyZmFybXMve30=/2025-03-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC53ZWIvc2VydmVyZmFybXMve30=/2025-03-01.xml new file mode 100644 index 000000000..ef326c85f --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC53ZWIvc2VydmVyZmFybXMve30=/2025-03-01.xml @@ -0,0 +1,2414 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC53ZWIvc2VydmVyZmFybXMve30vZ2V0cmRwcGFzc3dvcmQ=/2025-03-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC53ZWIvc2VydmVyZmFybXMve30vZ2V0cmRwcGFzc3dvcmQ=/2025-03-01.json new file mode 100644 index 000000000..0e7516191 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC53ZWIvc2VydmVyZmFybXMve30vZ2V0cmRwcGFzc3dvcmQ=/2025-03-01.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.web/serverfarms/{}/getrdppassword", "version": "2025-03-01", "swagger": "mgmt-plane/web/ResourceProviders/Microsoft.Web/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuV2ViL3NlcnZlcmZhcm1zL3tuYW1lfS9nZXRyZHBwYXNzd29yZA==/V/MjAyNS0wMy0wMQ=="}], "commandGroups": [{"name": "appservice plan managed-instance", "commands": [{"name": "show-rdp-password", "version": "2025-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.web/serverfarms/{}/getrdppassword", "version": "2025-03-01", "swagger": "mgmt-plane/web/ResourceProviders/Microsoft.Web/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuV2ViL3NlcnZlcmZhcm1zL3tuYW1lfS9nZXRyZHBwYXNzd29yZA==/V/MjAyNS0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.name", "options": ["name"], "required": true, "idPart": "name", "help": {"short": "Name of the App Service plan."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "AppServicePlans_GetServerFarmRdpPassword", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/getrdppassword", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "name", "arg": "$Path.name", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"pattern": "^[-\\w\\._\\(\\)]+[^\\.]$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2025-03-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "rdpPassword", "secret": true}, {"type": "dateTime", "name": "rdpPasswordExpiry", "format": {"protocol": "iso"}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC53ZWIvc2VydmVyZmFybXMve30vZ2V0cmRwcGFzc3dvcmQ=/2025-03-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC53ZWIvc2VydmVyZmFybXMve30vZ2V0cmRwcGFzc3dvcmQ=/2025-03-01.xml new file mode 100644 index 000000000..4110c035c --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC53ZWIvc2VydmVyZmFybXMve30vZ2V0cmRwcGFzc3dvcmQ=/2025-03-01.xml @@ -0,0 +1,54 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC53ZWIvc2VydmVyZmFybXMve30vbGlzdGluc3RhbmNlcw==/2025-03-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC53ZWIvc2VydmVyZmFybXMve30vbGlzdGluc3RhbmNlcw==/2025-03-01.json new file mode 100644 index 000000000..66a40be34 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC53ZWIvc2VydmVyZmFybXMve30vbGlzdGluc3RhbmNlcw==/2025-03-01.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.web/serverfarms/{}/listinstances", "version": "2025-03-01", "swagger": "mgmt-plane/web/ResourceProviders/Microsoft.Web/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuV2ViL3NlcnZlcmZhcm1zL3tuYW1lfS9saXN0aW5zdGFuY2Vz/V/MjAyNS0wMy0wMQ=="}], "commandGroups": [{"name": "appservice plan managed-instance instance", "commands": [{"name": "list", "version": "2025-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.web/serverfarms/{}/listinstances", "version": "2025-03-01", "swagger": "mgmt-plane/web/ResourceProviders/Microsoft.Web/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuV2ViL3NlcnZlcmZhcm1zL3tuYW1lfS9saXN0aW5zdGFuY2Vz/V/MjAyNS0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.name", "options": ["name"], "required": true, "idPart": "name", "help": {"short": "Name of the App Service plan."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "AppServicePlans_GetServerFarmInstanceDetails", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/listinstances", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "name", "arg": "$Path.name", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"pattern": "^[-\\w\\._\\(\\)]+[^\\.]$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2025-03-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "integer32", "name": "instanceCount"}, {"type": "array", "name": "instances", "item": {"type": "object", "props": [{"type": "string", "name": "instanceName", "format": {"pattern": "^[a-zA-Z0-9]+$", "maxLength": 64, "minLength": 1}}, {"type": "string", "name": "ipAddress"}, {"type": "string", "name": "status"}]}}, {"type": "string", "name": "serverFarmName"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC53ZWIvc2VydmVyZmFybXMve30vbGlzdGluc3RhbmNlcw==/2025-03-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC53ZWIvc2VydmVyZmFybXMve30vbGlzdGluc3RhbmNlcw==/2025-03-01.xml new file mode 100644 index 000000000..588b60842 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC53ZWIvc2VydmVyZmFybXMve30vbGlzdGluc3RhbmNlcw==/2025-03-01.xml @@ -0,0 +1,61 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC53ZWIvc2VydmVyZmFybXMve30vd29ya2Vycy97fS9yZWN5Y2xlaW5zdGFuY2U=/2025-03-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC53ZWIvc2VydmVyZmFybXMve30vd29ya2Vycy97fS9yZWN5Y2xlaW5zdGFuY2U=/2025-03-01.json new file mode 100644 index 000000000..101bd4adb --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC53ZWIvc2VydmVyZmFybXMve30vd29ya2Vycy97fS9yZWN5Y2xlaW5zdGFuY2U=/2025-03-01.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.web/serverfarms/{}/workers/{}/recycleinstance", "version": "2025-03-01", "swagger": "mgmt-plane/web/ResourceProviders/Microsoft.Web/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuV2ViL3NlcnZlcmZhcm1zL3tuYW1lfS93b3JrZXJzL3t3b3JrZXJOYW1lfS9yZWN5Y2xlaW5zdGFuY2U=/V/MjAyNS0wMy0wMQ=="}], "commandGroups": [{"name": "appservice plan managed-instance instance", "commands": [{"name": "recycle", "version": "2025-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.web/serverfarms/{}/workers/{}/recycleinstance", "version": "2025-03-01", "swagger": "mgmt-plane/web/ResourceProviders/Microsoft.Web/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuV2ViL3NlcnZlcmZhcm1zL3tuYW1lfS93b3JrZXJzL3t3b3JrZXJOYW1lfS9yZWN5Y2xlaW5zdGFuY2U=/V/MjAyNS0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.name", "options": ["name"], "required": true, "idPart": "name", "help": {"short": "Name of the App Service plan."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.workerName", "options": ["worker-name"], "required": true, "idPart": "child_name_1", "help": {"short": "Name of worker machine."}, "format": {"pattern": "^[a-zA-Z0-9]+$"}}]}], "operations": [{"operationId": "AppServicePlans_RecycleManagedInstanceWorker", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/workers/{workerName}/recycleinstance", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "name", "arg": "$Path.name", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"pattern": "^[-\\w\\._\\(\\)]+[^\\.]$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "workerName", "arg": "$Path.workerName", "required": true, "format": {"pattern": "^[a-zA-Z0-9]+$"}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2025-03-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "dateTime", "name": "createdTime", "format": {"protocol": "iso"}}, {"type": "array", "name": "errors", "item": {"type": "object", "props": [{"type": "string", "name": "code"}, {"type": "array<@ErrorEntity_read>", "name": "details", "item": {"type": "@ErrorEntity_read"}}, {"type": "string", "name": "extendedCode"}, {"type": "array<@ErrorEntity_read>", "name": "innerErrors", "item": {"type": "@ErrorEntity_read"}}, {"type": "string", "name": "message"}, {"type": "string", "name": "messageTemplate"}, {"type": "array", "name": "parameters", "item": {"type": "string"}}, {"type": "string", "name": "target"}], "cls": "ErrorEntity_read"}}, {"type": "dateTime", "name": "expirationTime", "format": {"protocol": "iso"}}, {"type": "uuid", "name": "geoMasterOperationId"}, {"type": "string", "name": "id"}, {"type": "dateTime", "name": "modifiedTime", "format": {"protocol": "iso"}}, {"type": "string", "name": "name"}, {"type": "string", "name": "status", "enum": {"items": [{"value": "Created"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "Succeeded"}, {"value": "TimedOut"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC53ZWIvc2VydmVyZmFybXMve30vd29ya2Vycy97fS9yZWN5Y2xlaW5zdGFuY2U=/2025-03-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC53ZWIvc2VydmVyZmFybXMve30vd29ya2Vycy97fS9yZWN5Y2xlaW5zdGFuY2U=/2025-03-01.xml new file mode 100644 index 000000000..727332645 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC53ZWIvc2VydmVyZmFybXMve30vd29ya2Vycy97fS9yZWN5Y2xlaW5zdGFuY2U=/2025-03-01.xml @@ -0,0 +1,96 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +