{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-app-service/json-schema/microsoft-azure-app-service-site-config-resource-schema.json",
  "title": "SiteConfigResource",
  "description": "Web app configuration ARM resource.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-app-service-web-apps-api-openapi.yml#/components/schemas/SiteConfigResource",
  "type": "object",
  "properties": {
    "properties": {
      "$ref": "#/$defs/SiteConfig",
      "description": "Core resource properties",
      "x-ms-client-flatten": true
    },
    "kind": {
      "type": "string",
      "description": "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."
    }
  },
  "allOf": [
    {
      "$ref": "#/$defs/ProxyResource"
    }
  ],
  "$defs": {
    "ApiDefinitionInfo": {
      "type": "object",
      "description": "Information about the formal API definition for the app.",
      "properties": {
        "url": {
          "type": "string",
          "description": "The URL of the API definition."
        }
      }
    },
    "ApiManagementConfig": {
      "type": "object",
      "description": "Azure API management (APIM) configuration linked to the app.",
      "properties": {
        "id": {
          "type": "string",
          "description": "APIM-Api Identifier."
        }
      }
    },
    "AutoHealActionType": {
      "type": "string",
      "description": "Predefined action to be taken.",
      "enum": [
        "Recycle",
        "LogEvent",
        "CustomAction"
      ],
      "x-ms-enum": {
        "name": "AutoHealActionType",
        "modelAsString": false
      }
    },
    "AutoHealActions": {
      "type": "object",
      "description": "Actions which to take by the auto-heal module when a rule is triggered.",
      "properties": {
        "actionType": {
          "$ref": "#/$defs/AutoHealActionType",
          "description": "Predefined action to be taken."
        },
        "customAction": {
          "$ref": "#/$defs/AutoHealCustomAction",
          "description": "Custom action to be taken."
        },
        "minProcessExecutionTime": {
          "type": "string",
          "description": "Minimum time the process must execute\nbefore taking the action"
        }
      }
    },
    "AutoHealCustomAction": {
      "type": "object",
      "description": "Custom action to be executed\nwhen an auto heal rule is triggered.",
      "properties": {
        "exe": {
          "type": "string",
          "description": "Executable to be run."
        },
        "parameters": {
          "type": "string",
          "description": "Parameters for the executable."
        }
      }
    },
    "AutoHealRules": {
      "type": "object",
      "description": "Rules that can be defined for auto-heal.",
      "properties": {
        "triggers": {
          "$ref": "#/$defs/AutoHealTriggers",
          "description": "Conditions that describe when to execute the auto-heal actions."
        },
        "actions": {
          "$ref": "#/$defs/AutoHealActions",
          "description": "Actions to be executed when a rule is triggered."
        }
      }
    },
    "AutoHealTriggers": {
      "type": "object",
      "description": "Triggers for auto-heal.",
      "properties": {
        "requests": {
          "$ref": "#/$defs/RequestsBasedTrigger",
          "description": "A rule based on total requests."
        },
        "privateBytesInKB": {
          "type": "integer",
          "format": "int32",
          "description": "A rule based on private bytes."
        },
        "statusCodes": {
          "type": "array",
          "description": "A rule based on status codes.",
          "items": {
            "$ref": "#/$defs/StatusCodesBasedTrigger"
          },
          "x-ms-identifiers": [
            "path"
          ]
        },
        "slowRequests": {
          "$ref": "#/$defs/SlowRequestsBasedTrigger",
          "description": "A rule based on request execution time."
        },
        "slowRequestsWithPath": {
          "type": "array",
          "description": "A rule based on multiple Slow Requests Rule with path",
          "items": {
            "$ref": "#/$defs/SlowRequestsBasedTrigger"
          },
          "x-ms-identifiers": [
            "path"
          ]
        },
        "statusCodesRange": {
          "type": "array",
          "description": "A rule based on status codes ranges.",
          "items": {
            "$ref": "#/$defs/StatusCodesRangeBasedTrigger"
          },
          "x-ms-identifiers": [
            "path"
          ]
        }
      }
    },
    "AzureStorageInfoValue": {
      "type": "object",
      "description": "Azure Files or Blob Storage access information value for dictionary storage.",
      "properties": {
        "type": {
          "$ref": "#/$defs/AzureStorageType",
          "description": "Type of storage."
        },
        "accountName": {
          "type": "string",
          "description": "Name of the storage account."
        },
        "shareName": {
          "type": "string",
          "description": "Name of the file share (container name, for Blob storage)."
        },
        "accessKey": {
          "type": "string",
          "format": "password",
          "description": "Access key for the storage account.",
          "x-ms-secret": true
        },
        "mountPath": {
          "type": "string",
          "description": "Path to mount the storage within the site's runtime environment."
        },
        "state": {
          "$ref": "#/$defs/AzureStorageState",
          "description": "State of the storage account.",
          "readOnly": true
        },
        "protocol": {
          "$ref": "#/$defs/AzureStorageProtocol",
          "description": "Mounting protocol to use for the storage account."
        }
      }
    },
    "AzureStorageProtocol": {
      "type": "string",
      "description": "Mounting protocol to use for the storage account.",
      "enum": [
        "Smb",
        "Http",
        "Nfs"
      ],
      "x-ms-enum": {
        "name": "AzureStorageProtocol",
        "modelAsString": true,
        "values": [
          {
            "name": "Smb",
            "value": "Smb"
          },
          {
            "name": "Http",
            "value": "Http"
          },
          {
            "name": "Nfs",
            "value": "Nfs"
          }
        ]
      }
    },
    "AzureStorageState": {
      "type": "string",
      "description": "State of the storage account.",
      "enum": [
        "Ok",
        "InvalidCredentials",
        "InvalidShare",
        "NotValidated"
      ],
      "x-ms-enum": {
        "name": "AzureStorageState",
        "modelAsString": false
      }
    },
    "AzureStorageType": {
      "type": "string",
      "description": "Type of storage.",
      "enum": [
        "AzureFiles",
        "AzureBlob"
      ],
      "x-ms-enum": {
        "name": "AzureStorageType",
        "modelAsString": false
      }
    },
    "ConnStringInfo": {
      "type": "object",
      "description": "Database connection string information.",
      "properties": {
        "name": {
          "type": "string",
          "description": "Name of connection string."
        },
        "connectionString": {
          "type": "string",
          "description": "Connection string value."
        },
        "type": {
          "$ref": "#/$defs/ConnectionStringType",
          "description": "Type of database."
        }
      }
    },
    "ConnectionStringType": {
      "type": "string",
      "description": "Type of database.",
      "enum": [
        "MySql",
        "SQLServer",
        "SQLAzure",
        "Custom",
        "NotificationHub",
        "ServiceBus",
        "EventHub",
        "ApiHub",
        "DocDb",
        "RedisCache",
        "PostgreSQL"
      ],
      "x-ms-enum": {
        "name": "ConnectionStringType",
        "modelAsString": false
      }
    },
    "CorsSettings": {
      "type": "object",
      "description": "Cross-Origin Resource Sharing (CORS) settings for the app.",
      "properties": {
        "allowedOrigins": {
          "type": "array",
          "description": "Gets or sets the list of origins that should be allowed to make cross-origin\ncalls (for example: http://example.com:12345). Use \"*\" to allow all.",
          "items": {
            "type": "string"
          }
        },
        "supportCredentials": {
          "type": "boolean",
          "description": "Gets or sets whether CORS requests with credentials are allowed. See\nhttps://developer.mozilla.org/en-US/docs/Web/HTTP/CORS#Requests_with_credentials\nfor more details."
        }
      }
    },
    "DefaultAction": {
      "type": "string",
      "description": "Default action for main access restriction if no rules are matched.",
      "enum": [
        "Allow",
        "Deny"
      ],
      "x-ms-enum": {
        "name": "DefaultAction",
        "modelAsString": true,
        "values": [
          {
            "name": "Allow",
            "value": "Allow"
          },
          {
            "name": "Deny",
            "value": "Deny"
          }
        ]
      }
    },
    "Experiments": {
      "type": "object",
      "description": "Routing rules in production experiments.",
      "properties": {
        "rampUpRules": {
          "type": "array",
          "description": "List of ramp-up rules.",
          "items": {
            "$ref": "#/$defs/RampUpRule"
          },
          "x-ms-identifiers": [
            "name"
          ]
        }
      }
    },
    "FtpsState": {
      "type": "string",
      "description": "State of FTP / FTPS service",
      "enum": [
        "AllAllowed",
        "FtpsOnly",
        "Disabled"
      ],
      "x-ms-enum": {
        "name": "FtpsState",
        "modelAsString": true,
        "values": [
          {
            "name": "AllAllowed",
            "value": "AllAllowed"
          },
          {
            "name": "FtpsOnly",
            "value": "FtpsOnly"
          },
          {
            "name": "Disabled",
            "value": "Disabled"
          }
        ]
      }
    },
    "HandlerMapping": {
      "type": "object",
      "description": "The IIS handler mappings used to define which handler processes HTTP requests with certain extension.\nFor example, it is used to configure php-cgi.exe process to handle all HTTP requests with *.php extension.",
      "properties": {
        "extension": {
          "type": "string",
          "description": "Requests with this extension will be handled using the specified FastCGI application."
        },
        "scriptProcessor": {
          "type": "string",
          "description": "The absolute path to the FastCGI application."
        },
        "arguments": {
          "type": "string",
          "description": "Command-line arguments to be passed to the script processor."
        }
      }
    },
    "IpFilterTag": {
      "type": "string",
      "description": "Defines what this IP filter will be used for. This is to support IP filtering on proxies.",
      "enum": [
        "Default",
        "XffProxy",
        "ServiceTag"
      ],
      "x-ms-enum": {
        "name": "IpFilterTag",
        "modelAsString": true,
        "values": [
          {
            "name": "Default",
            "value": "Default"
          },
          {
            "name": "XffProxy",
            "value": "XffProxy"
          },
          {
            "name": "ServiceTag",
            "value": "ServiceTag"
          }
        ]
      }
    },
    "IpSecurityRestriction": {
      "type": "object",
      "description": "IP security restriction on an app.",
      "properties": {
        "ipAddress": {
          "type": "string",
          "description": "IP address the security restriction is valid for.\nIt can be in form of pure ipv4 address (required SubnetMask property) or\nCIDR notation such as ipv4/mask (leading bit match). For CIDR,\nSubnetMask property must not be specified."
        },
        "subnetMask": {
          "type": "string",
          "description": "Subnet mask for the range of IP addresses the restriction is valid for."
        },
        "vnetSubnetResourceId": {
          "type": "string",
          "description": "Virtual network resource id"
        },
        "vnetTrafficTag": {
          "type": "integer",
          "format": "int32",
          "description": "(internal) Vnet traffic tag"
        },
        "subnetTrafficTag": {
          "type": "integer",
          "format": "int32",
          "description": "(internal) Subnet traffic tag"
        },
        "action": {
          "type": "string",
          "description": "Allow or Deny access for this IP range."
        },
        "tag": {
          "$ref": "#/$defs/IpFilterTag",
          "description": "Defines what this IP filter will be used for. This is to support IP filtering on proxies."
        },
        "priority": {
          "type": "integer",
          "format": "int32",
          "description": "Priority of IP restriction rule."
        },
        "name": {
          "type": "string",
          "description": "IP restriction rule name."
        },
        "description": {
          "type": "string",
          "description": "IP restriction rule description."
        },
        "headers": {
          "type": "object",
          "description": "IP restriction rule headers.\nX-Forwarded-Host (https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-Host#Examples).\nThe matching logic is ..\n- If the property is null or empty (default), all hosts(or lack of) are allowed.\n- A value is compared using ordinal-ignore-case (excluding port number).\n- Subdomain wildcards are permitted but don't match the root domain. For example, *.contoso.com matches the subdomain foo.contoso.com\nbut not the root domain contoso.com or multi-level foo.bar.contoso.com\n- Unicode host names are allowed but are converted to Punycode for matching.\n\nX-Forwarded-For (https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-For#Examples).\nThe matching logic is ..\n- If the property is null or empty (default), any forwarded-for chains (or lack of) are allowed.\n- If any address (excluding port number) in the chain (comma separated) matches the CIDR defined by the property.\n\nX-Azure-FDID and X-FD-HealthProbe.\nThe matching logic is exact match.",
          "additionalProperties": {
            "items": {
              "type": "string"
            },
            "type": "array"
          }
        }
      }
    },
    "ManagedPipelineMode": {
      "type": "string",
      "description": "Managed pipeline mode.",
      "enum": [
        "Integrated",
        "Classic"
      ],
      "x-ms-enum": {
        "name": "ManagedPipelineMode",
        "modelAsString": false
      }
    },
    "NameValuePair": {
      "type": "object",
      "description": "Name value pair.",
      "properties": {
        "name": {
          "type": "string",
          "description": "Pair name."
        },
        "value": {
          "type": "string",
          "description": "Pair value."
        }
      }
    },
    "ProxyOnlyResource": {
      "type": "object",
      "description": "Azure proxy only resource. This resource is not tracked by Azure Resource Manager.",
      "properties": {
        "id": {
          "type": "string",
          "description": "Resource Id.",
          "readOnly": true
        },
        "name": {
          "type": "string",
          "description": "Resource Name.",
          "readOnly": true
        },
        "kind": {
          "type": "string",
          "description": "Kind of resource."
        },
        "type": {
          "type": "string",
          "description": "Resource type.",
          "readOnly": true
        }
      }
    },
    "ProxyResource": {
      "type": "object",
      "title": "Proxy Resource",
      "description": "The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location",
      "allOf": [
        {
          "$ref": "#/$defs/Resource"
        }
      ]
    },
    "PushSettings": {
      "type": "object",
      "description": "Push settings for the App.",
      "properties": {
        "properties": {
          "$ref": "#/$defs/PushSettingsProperties",
          "description": "PushSettings resource specific properties",
          "x-ms-client-flatten": true
        }
      },
      "allOf": [
        {
          "$ref": "#/$defs/ProxyOnlyResource"
        }
      ]
    },
    "PushSettingsProperties": {
      "type": "object",
      "description": "PushSettings resource specific properties",
      "properties": {
        "isPushEnabled": {
          "type": "boolean",
          "description": "Gets or sets a flag indicating whether the Push endpoint is enabled."
        },
        "tagWhitelistJson": {
          "type": "string",
          "description": "Gets or sets a JSON string containing a list of tags that are whitelisted for use by the push registration endpoint."
        },
        "tagsRequiringAuth": {
          "type": "string",
          "description": "Gets or sets a JSON string containing a list of tags that require user authentication to be used in the push registration endpoint.\nTags can consist of alphanumeric characters and the following:\n'_', '@', '#', '.', ':', '-'. \nValidation should be performed at the PushRequestHandler."
        },
        "dynamicTagsJson": {
          "type": "string",
          "description": "Gets or sets a JSON string containing a list of dynamic tags that will be evaluated from user claims in the push registration endpoint."
        }
      },
      "required": [
        "isPushEnabled"
      ]
    },
    "RampUpRule": {
      "type": "object",
      "description": "Routing rules for ramp up testing. This rule allows to redirect static traffic % to a slot or to gradually change routing % based on performance.",
      "properties": {
        "actionHostName": {
          "type": "string",
          "description": "Hostname of a slot to which the traffic will be redirected if decided to. E.g. myapp-stage.azurewebsites.net."
        },
        "reroutePercentage": {
          "type": "number",
          "format": "double",
          "description": "Percentage of the traffic which will be redirected to <code>ActionHostName</code>."
        },
        "changeStep": {
          "type": "number",
          "format": "double",
          "description": "In auto ramp up scenario this is the step to add/remove from <code>ReroutePercentage</code> until it reaches \\n<code>MinReroutePercentage</code> or\n<code>MaxReroutePercentage</code>. Site metrics are checked every N minutes specified in <code>ChangeIntervalInMinutes</code>.\\nCustom decision algorithm\ncan be provided in TiPCallback site extension which URL can be specified in <code>ChangeDecisionCallbackUrl</code>."
        },
        "changeIntervalInMinutes": {
          "type": "integer",
          "format": "int32",
          "description": "Specifies interval in minutes to reevaluate ReroutePercentage."
        },
        "minReroutePercentage": {
          "type": "number",
          "format": "double",
          "description": "Specifies lower boundary above which ReroutePercentage will stay."
        },
        "maxReroutePercentage": {
          "type": "number",
          "format": "double",
          "description": "Specifies upper boundary below which ReroutePercentage will stay."
        },
        "changeDecisionCallbackUrl": {
          "type": "string",
          "description": "Custom decision algorithm can be provided in TiPCallback site extension which URL can be specified."
        },
        "name": {
          "type": "string",
          "description": "Name of the routing rule. The recommended name would be to point to the slot which will receive the traffic in the experiment."
        }
      }
    },
    "RequestsBasedTrigger": {
      "type": "object",
      "description": "Trigger based on total requests.",
      "properties": {
        "count": {
          "type": "integer",
          "format": "int32",
          "description": "Request Count."
        },
        "timeInterval": {
          "type": "string",
          "description": "Time interval."
        }
      }
    },
    "Resource": {
      "type": "object",
      "title": "Resource",
      "description": "Common fields that are returned in the response for all Azure Resource Manager resources",
      "properties": {
        "id": {
          "type": "string",
          "format": "arm-id",
          "description": "Fully qualified resource ID for the resource. E.g. \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}\"",
          "readOnly": true
        },
        "name": {
          "type": "string",
          "description": "The name of the resource",
          "readOnly": true
        },
        "type": {
          "type": "string",
          "description": "The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\"",
          "readOnly": true
        },
        "systemData": {
          "$ref": "#/$defs/systemData",
          "description": "Azure Resource Manager metadata containing createdBy and modifiedBy information.",
          "readOnly": true
        }
      },
      "x-ms-azure-resource": true
    },
    "ScmType": {
      "type": "string",
      "description": "SCM type.",
      "enum": [
        "None",
        "Dropbox",
        "Tfs",
        "LocalGit",
        "GitHub",
        "CodePlexGit",
        "CodePlexHg",
        "BitbucketGit",
        "BitbucketHg",
        "ExternalGit",
        "ExternalHg",
        "OneDrive",
        "VSO",
        "VSTSRM"
      ],
      "x-ms-enum": {
        "name": "ScmType",
        "modelAsString": true,
        "values": [
          {
            "name": "None",
            "value": "None"
          },
          {
            "name": "Dropbox",
            "value": "Dropbox"
          },
          {
            "name": "Tfs",
            "value": "Tfs"
          },
          {
            "name": "LocalGit",
            "value": "LocalGit"
          },
          {
            "name": "GitHub",
            "value": "GitHub"
          },
          {
            "name": "CodePlexGit",
            "value": "CodePlexGit"
          },
          {
            "name": "CodePlexHg",
            "value": "CodePlexHg"
          },
          {
            "name": "BitbucketGit",
            "value": "BitbucketGit"
          },
          {
            "name": "BitbucketHg",
            "value": "BitbucketHg"
          },
          {
            "name": "ExternalGit",
            "value": "ExternalGit"
          },
          {
            "name": "ExternalHg",
            "value": "ExternalHg"
          },
          {
            "name": "OneDrive",
            "value": "OneDrive"
          },
          {
            "name": "VSO",
            "value": "VSO"
          },
          {
            "name": "VSTSRM",
            "value": "VSTSRM"
          }
        ]
      }
    },
    "SiteConfig": {
      "type": "object",
      "description": "Configuration of an App Service app.",
      "properties": {
        "numberOfWorkers": {
          "type": "integer",
          "format": "int32",
          "description": "Number of workers."
        },
        "defaultDocuments": {
          "type": "array",
          "description": "Default documents.",
          "items": {
            "type": "string"
          }
        },
        "netFrameworkVersion": {
          "type": "string",
          "description": ".NET Framework version.",
          "default": "v4.6"
        },
        "phpVersion": {
          "type": "string",
          "description": "Version of PHP."
        },
        "pythonVersion": {
          "type": "string",
          "description": "Version of Python."
        },
        "nodeVersion": {
          "type": "string",
          "description": "Version of Node.js."
        },
        "powerShellVersion": {
          "type": "string",
          "description": "Version of PowerShell."
        },
        "linuxFxVersion": {
          "type": "string",
          "description": "Linux App Framework and version"
        },
        "windowsFxVersion": {
          "type": "string",
          "description": "Xenon App Framework and version"
        },
        "requestTracingEnabled": {
          "type": "boolean",
          "description": "<code>true</code> if request tracing is enabled; otherwise, <code>false</code>."
        },
        "requestTracingExpirationTime": {
          "type": "string",
          "format": "date-time",
          "description": "Request tracing expiration time."
        },
        "remoteDebuggingEnabled": {
          "type": "boolean",
          "description": "<code>true</code> if remote debugging is enabled; otherwise, <code>false</code>."
        },
        "remoteDebuggingVersion": {
          "type": "string",
          "description": "Remote debugging version."
        },
        "httpLoggingEnabled": {
          "type": "boolean",
          "description": "<code>true</code> if HTTP logging is enabled; otherwise, <code>false</code>."
        },
        "acrUseManagedIdentityCreds": {
          "type": "boolean",
          "description": "Flag to use Managed Identity Creds for ACR pull"
        },
        "acrUserManagedIdentityID": {
          "type": "string",
          "description": "If using user managed identity, the user managed identity ClientId"
        },
        "logsDirectorySizeLimit": {
          "type": "integer",
          "format": "int32",
          "description": "HTTP logs directory size limit."
        },
        "detailedErrorLoggingEnabled": {
          "type": "boolean",
          "description": "<code>true</code> if detailed error logging is enabled; otherwise, <code>false</code>."
        },
        "publishingUsername": {
          "type": "string",
          "description": "Publishing user name."
        },
        "appSettings": {
          "type": "array",
          "description": "Application settings. This property is not returned in response to normal create and read requests since it may contain sensitive information.",
          "items": {
            "$ref": "#/$defs/NameValuePair"
          },
          "x-ms-identifiers": [
            "name"
          ],
          "x-ms-mutability": [
            "update",
            "create"
          ]
        },
        "metadata": {
          "type": "array",
          "description": "Application metadata. This property cannot be retrieved, since it may contain secrets.",
          "items": {
            "$ref": "#/$defs/NameValuePair"
          },
          "x-ms-identifiers": [
            "name"
          ],
          "x-ms-mutability": [
            "update",
            "create"
          ]
        },
        "connectionStrings": {
          "type": "array",
          "description": "Connection strings. This property is not returned in response to normal create and read requests since it may contain sensitive information.",
          "items": {
            "$ref": "#/$defs/ConnStringInfo"
          },
          "x-ms-identifiers": [
            "name"
          ],
          "x-ms-mutability": [
            "update",
            "create"
          ]
        },
        "machineKey": {
          "$ref": "#/$defs/SiteMachineKey",
          "description": "Site MachineKey.",
          "readOnly": true
        },
        "handlerMappings": {
          "type": "array",
          "description": "Handler mappings.",
          "items": {
            "$ref": "#/$defs/HandlerMapping"
          },
          "x-ms-identifiers": [
            "extension"
          ]
        },
        "documentRoot": {
          "type": "string",
          "description": "Document root."
        },
        "scmType": {
          "$ref": "#/$defs/ScmType",
          "description": "SCM type."
        },
        "use32BitWorkerProcess": {
          "type": "boolean",
          "description": "<code>true</code> to use 32-bit worker process; otherwise, <code>false</code>."
        },
        "webSocketsEnabled": {
          "type": "boolean",
          "description": "<code>true</code> if WebSocket is enabled; otherwise, <code>false</code>."
        },
        "alwaysOn": {
          "type": "boolean",
          "description": "<code>true</code> if Always On is enabled; otherwise, <code>false</code>."
        },
        "javaVersion": {
          "type": "string",
          "description": "Java version."
        },
        "javaContainer": {
          "type": "string",
          "description": "Java container."
        },
        "javaContainerVersion": {
          "type": "string",
          "description": "Java container version."
        },
        "appCommandLine": {
          "type": "string",
          "description": "App command line to launch."
        },
        "managedPipelineMode": {
          "$ref": "#/$defs/ManagedPipelineMode",
          "description": "Managed pipeline mode."
        },
        "virtualApplications": {
          "type": "array",
          "description": "Virtual applications.",
          "items": {
            "$ref": "#/$defs/VirtualApplication"
          },
          "x-ms-identifiers": [
            "virtualPath"
          ]
        },
        "loadBalancing": {
          "$ref": "#/$defs/SiteLoadBalancing",
          "description": "Site load balancing."
        },
        "experiments": {
          "$ref": "#/$defs/Experiments",
          "description": "This is work around for polymorphic types."
        },
        "limits": {
          "$ref": "#/$defs/SiteLimits",
          "description": "Site limits."
        },
        "autoHealEnabled": {
          "type": "boolean",
          "description": "<code>true</code> if Auto Heal is enabled; otherwise, <code>false</code>."
        },
        "autoHealRules": {
          "$ref": "#/$defs/AutoHealRules",
          "description": "Auto Heal rules."
        },
        "tracingOptions": {
          "type": "string",
          "description": "Tracing options."
        },
        "vnetName": {
          "type": "string",
          "description": "Virtual Network name.",
          "x-ms-mutability": [
            "read",
            "create"
          ]
        },
        "vnetRouteAllEnabled": {
          "type": "boolean",
          "description": "Virtual Network Route All enabled. This causes all outbound traffic to have Virtual Network Security Groups and User Defined Routes applied."
        },
        "vnetPrivatePortsCount": {
          "type": "integer",
          "format": "int32",
          "description": "The number of private ports assigned to this app. These will be assigned dynamically on runtime."
        },
        "cors": {
          "$ref": "#/$defs/CorsSettings",
          "description": "Cross-Origin Resource Sharing (CORS) settings."
        },
        "push": {
          "$ref": "#/$defs/PushSettings",
          "description": "Push endpoint settings."
        },
        "apiDefinition": {
          "$ref": "#/$defs/ApiDefinitionInfo",
          "description": "Information about the formal API definition for the app."
        },
        "apiManagementConfig": {
          "$ref": "#/$defs/ApiManagementConfig",
          "description": "Azure API management settings linked to the app."
        },
        "autoSwapSlotName": {
          "type": "string",
          "description": "Auto-swap slot name."
        },
        "localMySqlEnabled": {
          "type": "boolean",
          "description": "<code>true</code> to enable local MySQL; otherwise, <code>false</code>.",
          "default": false
        },
        "managedServiceIdentityId": {
          "type": "integer",
          "format": "int32",
          "description": "Managed Service Identity Id"
        },
        "xManagedServiceIdentityId": {
          "type": "integer",
          "format": "int32",
          "description": "Explicit Managed Service Identity Id"
        },
        "keyVaultReferenceIdentity": {
          "type": "string",
          "description": "Identity to use for Key Vault Reference authentication."
        },
        "ipSecurityRestrictions": {
          "type": "array",
          "description": "IP security restrictions for main.",
          "items": {
            "$ref": "#/$defs/IpSecurityRestriction"
          },
          "x-ms-identifiers": [
            "name"
          ]
        },
        "ipSecurityRestrictionsDefaultAction": {
          "$ref": "#/$defs/DefaultAction",
          "description": "Default action for main access restriction if no rules are matched."
        },
        "scmIpSecurityRestrictions": {
          "type": "array",
          "description": "IP security restrictions for scm.",
          "items": {
            "$ref": "#/$defs/IpSecurityRestriction"
          },
          "x-ms-identifiers": [
            "name"
          ]
        },
        "scmIpSecurityRestrictionsDefaultAction": {
          "$ref": "#/$defs/DefaultAction",
          "description": "Default action for scm access restriction if no rules are matched."
        },
        "scmIpSecurityRestrictionsUseMain": {
          "type": "boolean",
          "description": "IP security restrictions for scm to use main."
        },
        "http20Enabled": {
          "type": "boolean",
          "description": "Http20Enabled: configures a web site to allow clients to connect over http2.0",
          "default": true
        },
        "http20ProxyFlag": {
          "type": "integer",
          "format": "int32",
          "description": "Http20ProxyFlag: Configures a website to allow http2.0 to pass be proxied all the way to the app. 0 = disabled, 1 = pass through all http2 traffic, 2 = pass through gRPC only.",
          "default": 0
        },
        "minTlsVersion": {
          "$ref": "#/$defs/SupportedTlsVersions",
          "description": "MinTlsVersion: configures the minimum version of TLS required for SSL requests"
        },
        "minTlsCipherSuite": {
          "$ref": "#/$defs/TlsCipherSuites",
          "description": "The minimum strength TLS cipher suite allowed for an application"
        },
        "scmMinTlsVersion": {
          "$ref": "#/$defs/SupportedTlsVersions",
          "description": "ScmMinTlsVersion: configures the minimum version of TLS required for SSL requests for SCM site"
        },
        "ftpsState": {
          "$ref": "#/$defs/FtpsState",
          "description": "State of FTP / FTPS service"
        },
        "preWarmedInstanceCount": {
          "type": "integer",
          "format": "int32",
          "description": "Number of preWarmed instances.\nThis setting only applies to the Consumption and Elastic Plans",
          "minimum": 0,
          "maximum": 10
        },
        "functionAppScaleLimit": {
          "type": "integer",
          "format": "int32",
          "description": "Maximum number of workers that a site can scale out to.\nThis setting only applies to the Consumption and Elastic Premium Plans",
          "minimum": 0
        },
        "elasticWebAppScaleLimit": {
          "type": "integer",
          "format": "int32",
          "description": "Maximum number of workers that a site can scale out to.\nThis setting only applies to apps in plans where ElasticScaleEnabled is <code>true</code>",
          "minimum": 0
        },
        "healthCheckPath": {
          "type": "string",
          "description": "Health check path"
        },
        "functionsRuntimeScaleMonitoringEnabled": {
          "type": "boolean",
          "description": "Gets or sets a value indicating whether functions runtime scale monitoring is enabled. When enabled,\nthe ScaleController will not monitor event sources directly, but will instead call to the\nruntime to get scale status."
        },
        "websiteTimeZone": {
          "type": "string",
          "description": "Sets the time zone a site uses for generating timestamps. Compatible with Linux and Windows App Service. Setting the WEBSITE_TIME_ZONE app setting takes precedence over this config. For Linux, expects tz database values https://www.iana.org/time-zones (for a quick reference see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). For Windows, expects one of the time zones listed under HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Time Zones"
        },
        "minimumElasticInstanceCount": {
          "type": "integer",
          "format": "int32",
          "description": "Number of minimum instance count for a site\nThis setting only applies to the Elastic Plans",
          "minimum": 0,
          "maximum": 20
        },
        "azureStorageAccounts": {
          "type": "object",
          "description": "List of Azure Storage Accounts.",
          "additionalProperties": {
            "$ref": "#/$defs/AzureStorageInfoValue"
          }
        },
        "publicNetworkAccess": {
          "type": "string",
          "description": "Property to allow or block all public traffic."
        }
      }
    },
    "SiteLimits": {
      "type": "object",
      "description": "Metric limits set on an app.",
      "properties": {
        "maxPercentageCpu": {
          "type": "number",
          "format": "double",
          "description": "Maximum allowed CPU usage percentage."
        },
        "maxMemoryInMb": {
          "type": "integer",
          "format": "int64",
          "description": "Maximum allowed memory usage in MB."
        },
        "maxDiskSizeInMb": {
          "type": "integer",
          "format": "int64",
          "description": "Maximum allowed disk size usage in MB."
        }
      }
    },
    "SiteLoadBalancing": {
      "type": "string",
      "description": "Site load balancing.",
      "enum": [
        "WeightedRoundRobin",
        "LeastRequests",
        "LeastResponseTime",
        "WeightedTotalTraffic",
        "RequestHash",
        "PerSiteRoundRobin",
        "LeastRequestsWithTieBreaker"
      ],
      "x-ms-enum": {
        "name": "SiteLoadBalancing",
        "modelAsString": false
      }
    },
    "SiteMachineKey": {
      "type": "object",
      "description": "MachineKey of an app.",
      "properties": {
        "validation": {
          "type": "string",
          "description": "MachineKey validation."
        },
        "validationKey": {
          "type": "string",
          "description": "Validation key."
        },
        "decryption": {
          "type": "string",
          "description": "Algorithm used for decryption."
        },
        "decryptionKey": {
          "type": "string",
          "description": "Decryption key."
        }
      }
    },
    "SlowRequestsBasedTrigger": {
      "type": "object",
      "description": "Trigger based on request execution time.",
      "properties": {
        "timeTaken": {
          "type": "string",
          "description": "Time taken."
        },
        "path": {
          "type": "string",
          "description": "Request Path."
        },
        "count": {
          "type": "integer",
          "format": "int32",
          "description": "Request Count."
        },
        "timeInterval": {
          "type": "string",
          "description": "Time interval."
        }
      }
    },
    "StatusCodesBasedTrigger": {
      "type": "object",
      "description": "Trigger based on status code.",
      "properties": {
        "status": {
          "type": "integer",
          "format": "int32",
          "description": "HTTP status code."
        },
        "subStatus": {
          "type": "integer",
          "format": "int32",
          "description": "Request Sub Status."
        },
        "win32Status": {
          "type": "integer",
          "format": "int32",
          "description": "Win32 error code."
        },
        "count": {
          "type": "integer",
          "format": "int32",
          "description": "Request Count."
        },
        "timeInterval": {
          "type": "string",
          "description": "Time interval."
        },
        "path": {
          "type": "string",
          "description": "Request Path"
        }
      }
    },
    "StatusCodesRangeBasedTrigger": {
      "type": "object",
      "description": "Trigger based on range of status codes.",
      "properties": {
        "statusCodes": {
          "type": "string",
          "description": "HTTP status code."
        },
        "path": {
          "type": "string"
        },
        "count": {
          "type": "integer",
          "format": "int32",
          "description": "Request Count."
        },
        "timeInterval": {
          "type": "string",
          "description": "Time interval."
        }
      }
    },
    "SupportedTlsVersions": {
      "type": "string",
      "description": "MinTlsVersion: configures the minimum version of TLS required for SSL requests",
      "enum": [
        "1.0",
        "1.1",
        "1.2",
        "1.3"
      ],
      "x-ms-enum": {
        "name": "SupportedTlsVersions",
        "modelAsString": true,
        "values": [
          {
            "name": "1.0",
            "value": "1.0"
          },
          {
            "name": "1.1",
            "value": "1.1"
          },
          {
            "name": "1.2",
            "value": "1.2"
          },
          {
            "name": "1.3",
            "value": "1.3"
          }
        ]
      }
    },
    "TlsCipherSuites": {
      "type": "string",
      "description": "The minimum strength TLS cipher suite allowed for an application",
      "enum": [
        "TLS_AES_256_GCM_SHA384",
        "TLS_AES_128_GCM_SHA256",
        "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384",
        "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256",
        "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256",
        "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384",
        "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256",
        "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384",
        "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256",
        "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA",
        "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA",
        "TLS_RSA_WITH_AES_256_GCM_SHA384",
        "TLS_RSA_WITH_AES_128_GCM_SHA256",
        "TLS_RSA_WITH_AES_256_CBC_SHA256",
        "TLS_RSA_WITH_AES_128_CBC_SHA256",
        "TLS_RSA_WITH_AES_256_CBC_SHA",
        "TLS_RSA_WITH_AES_128_CBC_SHA"
      ],
      "x-ms-enum": {
        "name": "TlsCipherSuites",
        "modelAsString": true,
        "values": [
          {
            "name": "TLS_AES_256_GCM_SHA384",
            "value": "TLS_AES_256_GCM_SHA384"
          },
          {
            "name": "TLS_AES_128_GCM_SHA256",
            "value": "TLS_AES_128_GCM_SHA256"
          },
          {
            "name": "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384",
            "value": "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384"
          },
          {
            "name": "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256",
            "value": "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256"
          },
          {
            "name": "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256",
            "value": "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256"
          },
          {
            "name": "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384",
            "value": "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384"
          },
          {
            "name": "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256",
            "value": "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256"
          },
          {
            "name": "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384",
            "value": "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384"
          },
          {
            "name": "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256",
            "value": "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256"
          },
          {
            "name": "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA",
            "value": "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA"
          },
          {
            "name": "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA",
            "value": "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA"
          },
          {
            "name": "TLS_RSA_WITH_AES_256_GCM_SHA384",
            "value": "TLS_RSA_WITH_AES_256_GCM_SHA384"
          },
          {
            "name": "TLS_RSA_WITH_AES_128_GCM_SHA256",
            "value": "TLS_RSA_WITH_AES_128_GCM_SHA256"
          },
          {
            "name": "TLS_RSA_WITH_AES_256_CBC_SHA256",
            "value": "TLS_RSA_WITH_AES_256_CBC_SHA256"
          },
          {
            "name": "TLS_RSA_WITH_AES_128_CBC_SHA256",
            "value": "TLS_RSA_WITH_AES_128_CBC_SHA256"
          },
          {
            "name": "TLS_RSA_WITH_AES_256_CBC_SHA",
            "value": "TLS_RSA_WITH_AES_256_CBC_SHA"
          },
          {
            "name": "TLS_RSA_WITH_AES_128_CBC_SHA",
            "value": "TLS_RSA_WITH_AES_128_CBC_SHA"
          }
        ]
      }
    },
    "VirtualApplication": {
      "type": "object",
      "description": "Virtual application in an app.",
      "properties": {
        "virtualPath": {
          "type": "string",
          "description": "Virtual path."
        },
        "physicalPath": {
          "type": "string",
          "description": "Physical path."
        },
        "preloadEnabled": {
          "type": "boolean",
          "description": "<code>true</code> if preloading is enabled; otherwise, <code>false</code>."
        },
        "virtualDirectories": {
          "type": "array",
          "description": "Virtual directories for virtual application.",
          "items": {
            "$ref": "#/$defs/VirtualDirectory"
          },
          "x-ms-identifiers": [
            "virtualPath"
          ]
        }
      }
    },
    "VirtualDirectory": {
      "type": "object",
      "description": "Directory for virtual application.",
      "properties": {
        "virtualPath": {
          "type": "string",
          "description": "Path to virtual application."
        },
        "physicalPath": {
          "type": "string",
          "description": "Physical path."
        }
      }
    }
  }
}