{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-functions/json-schema/microsoft-azure-functions-site-schema.json",
  "title": "Site",
  "description": "A web app, a mobile app backend, or an API app.",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-functions-web-apps-api-openapi.yml#/components/schemas/Site",
  "type": "object",
  "properties": {
    "properties": {
      "$ref": "#/$defs/SiteProperties",
      "description": "Site resource specific properties",
      "x-ms-client-flatten": true
    },
    "identity": {
      "$ref": "#/$defs/ManagedServiceIdentity",
      "description": "Managed service identity."
    },
    "extendedLocation": {
      "$ref": "#/$defs/ExtendedLocation",
      "description": "Extended Location."
    },
    "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": "../../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource"
    }
  ],
  "$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."
        }
      }
    },
    "AuthenticationType": {
      "type": "string",
      "description": "Property to select authentication type to access the selected storage account. Available options: SystemAssignedIdentity, UserAssignedIdentity, StorageAccountConnectionString.",
      "enum": [
        "SystemAssignedIdentity",
        "UserAssignedIdentity",
        "StorageAccountConnectionString"
      ],
      "x-ms-enum": {
        "name": "AuthenticationType",
        "modelAsString": true,
        "values": [
          {
            "name": "SystemAssignedIdentity",
            "value": "SystemAssignedIdentity"
          },
          {
            "name": "UserAssignedIdentity",
            "value": "UserAssignedIdentity"
          },
          {
            "name": "StorageAccountConnectionString",
            "value": "StorageAccountConnectionString"
          }
        ]
      }
    },
    "AutoGeneratedDomainNameLabelScope": {
      "type": "string",
      "description": "Specifies the scope of uniqueness for the default hostname during resource creation",
      "enum": [
        "TenantReuse",
        "SubscriptionReuse",
        "ResourceGroupReuse",
        "NoReuse"
      ],
      "x-ms-enum": {
        "name": "AutoGeneratedDomainNameLabelScope",
        "modelAsString": false
      }
    },
    "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
      }
    },
    "ClientCertMode": {
      "type": "string",
      "description": "This composes with ClientCertEnabled setting.\n- ClientCertEnabled: false means ClientCert is ignored.\n- ClientCertEnabled: true and ClientCertMode: Required means ClientCert is required.\n- ClientCertEnabled: true and ClientCertMode: Optional means ClientCert is optional or accepted.",
      "enum": [
        "Required",
        "Optional",
        "OptionalInteractiveUser"
      ],
      "x-ms-enum": {
        "name": "ClientCertMode",
        "modelAsString": false
      }
    },
    "CloningInfo": {
      "type": "object",
      "description": "Information needed for cloning operation.",
      "properties": {
        "correlationId": {
          "type": "string",
          "format": "uuid",
          "description": "Correlation ID of cloning operation. This ID ties multiple cloning operations\ntogether to use the same snapshot."
        },
        "overwrite": {
          "type": "boolean",
          "description": "<code>true</code> to overwrite destination app; otherwise, <code>false</code>."
        },
        "cloneCustomHostNames": {
          "type": "boolean",
          "description": "<code>true</code> to clone custom hostnames from source app; otherwise, <code>false</code>."
        },
        "cloneSourceControl": {
          "type": "boolean",
          "description": "<code>true</code> to clone source control from source app; otherwise, <code>false</code>."
        },
        "sourceWebAppId": {
          "type": "string",
          "description": "ARM resource ID of the source app. App resource ID is of the form\n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} for production slots and\n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} for other slots."
        },
        "sourceWebAppLocation": {
          "type": "string",
          "description": "Location of source app ex: West US or North Europe"
        },
        "hostingEnvironment": {
          "type": "string",
          "description": "App Service Environment."
        },
        "appSettingsOverrides": {
          "type": "object",
          "description": "Application setting overrides for cloned app. If specified, these settings override the settings cloned\nfrom source app. Otherwise, application settings from source app are retained.",
          "additionalProperties": {
            "type": "string"
          }
        },
        "configureLoadBalancing": {
          "type": "boolean",
          "description": "<code>true</code> to configure load balancing for source and destination app."
        },
        "trafficManagerProfileId": {
          "type": "string",
          "description": "ARM resource ID of the Traffic Manager profile to use, if it exists. Traffic Manager resource ID is of the form\n/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{profileName}."
        },
        "trafficManagerProfileName": {
          "type": "string",
          "description": "Name of Traffic Manager profile to create. This is only needed if Traffic Manager profile does not already exist."
        }
      },
      "required": [
        "sourceWebAppId"
      ]
    },
    "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."
        }
      }
    },
    "DaprConfig": {
      "type": "object",
      "description": "App Dapr configuration.",
      "properties": {
        "enabled": {
          "type": "boolean",
          "description": "Boolean indicating if the Dapr side car is enabled",
          "default": false
        },
        "appId": {
          "type": "string",
          "description": "Dapr application identifier"
        },
        "appPort": {
          "type": "integer",
          "format": "int32",
          "description": "Tells Dapr which port your application is listening on"
        },
        "httpReadBufferSize": {
          "type": "integer",
          "format": "int32",
          "description": "Dapr max size of http header read buffer in KB to handle when sending multi-KB headers. Default is 65KB."
        },
        "httpMaxRequestSize": {
          "type": "integer",
          "format": "int32",
          "description": "Increasing max size of request body http servers parameter in MB to handle uploading of big files. Default is 4 MB."
        },
        "logLevel": {
          "$ref": "#/$defs/DaprLogLevel",
          "description": "Sets the log level for the Dapr sidecar. Allowed values are debug, info, warn, error. Default is info."
        },
        "enableApiLogging": {
          "type": "boolean",
          "description": "Enables API logging for the Dapr sidecar"
        }
      }
    },
    "DaprLogLevel": {
      "type": "string",
      "description": "Sets the log level for the Dapr sidecar. Allowed values are debug, info, warn, error. Default is info.",
      "enum": [
        "info",
        "debug",
        "warn",
        "error"
      ],
      "x-ms-enum": {
        "name": "DaprLogLevel",
        "modelAsString": true,
        "values": [
          {
            "name": "info",
            "value": "info"
          },
          {
            "name": "debug",
            "value": "debug"
          },
          {
            "name": "warn",
            "value": "warn"
          },
          {
            "name": "error",
            "value": "error"
          }
        ]
      }
    },
    "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"
          ]
        }
      }
    },
    "ExtendedLocation": {
      "type": "object",
      "description": "Extended Location.",
      "properties": {
        "name": {
          "type": "string",
          "description": "Name of extended location."
        },
        "type": {
          "type": "string",
          "description": "Type of extended location.",
          "readOnly": true
        }
      }
    },
    "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"
          }
        ]
      }
    },
    "FunctionAppConfig": {
      "type": "object",
      "description": "Function app configuration.",
      "properties": {
        "deployment": {
          "$ref": "#/$defs/FunctionsDeployment",
          "description": "Function app deployment configuration."
        },
        "runtime": {
          "$ref": "#/$defs/FunctionsRuntime",
          "description": "Function app runtime settings."
        },
        "scaleAndConcurrency": {
          "$ref": "#/$defs/FunctionsScaleAndConcurrency",
          "description": "Function app scale and concurrency settings."
        },
        "siteUpdateStrategy": {
          "$ref": "#/$defs/FunctionsSiteUpdateStrategy",
          "description": "Function app site update strategy configuration."
        }
      }
    },
    "FunctionsAlwaysReadyConfig": {
      "type": "object",
      "description": "Sets the number of 'Always Ready' instances for a function group or a specific function.",
      "properties": {
        "name": {
          "type": "string",
          "description": "Either a function group or a function name is required. For additional information see https://aka.ms/flexconsumption/alwaysready."
        },
        "instanceCount": {
          "type": "integer",
          "format": "int32",
          "description": "Sets the number of 'Always Ready' instances for a given function group or a specific function. For additional information see https://aka.ms/flexconsumption/alwaysready."
        }
      }
    },
    "FunctionsDeployment": {
      "type": "object",
      "description": "Configuration section for the function app deployment.",
      "properties": {
        "storage": {
          "$ref": "#/$defs/FunctionsDeploymentStorage",
          "description": "Storage for deployed package used by the function app."
        }
      }
    },
    "FunctionsDeploymentStorage": {
      "type": "object",
      "description": "Storage for deployed package used by the function app.",
      "properties": {
        "type": {
          "$ref": "#/$defs/FunctionsDeploymentStorageType",
          "description": "Property to select Azure Storage type. Available options: blobContainer."
        },
        "value": {
          "type": "string",
          "format": "uri",
          "description": "Property to set the URL for the selected Azure Storage type. Example: For blobContainer, the value could be https://<storageAccountName>.blob.core.windows.net/<containerName>."
        },
        "authentication": {
          "$ref": "#/$defs/FunctionsDeploymentStorageAuthentication",
          "description": "Authentication method to access the storage account for deployment."
        }
      }
    },
    "FunctionsDeploymentStorageAuthentication": {
      "type": "object",
      "description": "Authentication method to access the storage account for deployment.",
      "properties": {
        "type": {
          "$ref": "#/$defs/AuthenticationType",
          "description": "Property to select authentication type to access the selected storage account. Available options: SystemAssignedIdentity, UserAssignedIdentity, StorageAccountConnectionString."
        },
        "userAssignedIdentityResourceId": {
          "type": "string",
          "description": "Use this property for UserAssignedIdentity. Set the resource ID of the identity. Do not set a value for this property when using other authentication type."
        },
        "storageAccountConnectionStringName": {
          "type": "string",
          "description": "Use this property for StorageAccountConnectionString. Set the name of the app setting that has the storage account connection string. Do not set a value for this property when using other authentication type."
        }
      }
    },
    "FunctionsDeploymentStorageType": {
      "type": "string",
      "description": "Property to select Azure Storage type. Available options: blobContainer.",
      "enum": [
        "blobContainer"
      ],
      "x-ms-enum": {
        "name": "FunctionsDeploymentStorageType",
        "modelAsString": true,
        "values": [
          {
            "name": "blobContainer",
            "value": "blobContainer"
          }
        ]
      }
    },
    "FunctionsRuntime": {
      "type": "object",
      "description": "Function app runtime name and version.",
      "properties": {
        "name": {
          "$ref": "#/$defs/RuntimeName",
          "description": "Function app runtime name. Available options: dotnet-isolated, node, java, powershell, python, custom"
        },
        "version": {
          "type": [
            "string",
            "null"
          ],
          "description": "Function app runtime version. Example: 8 (for dotnet-isolated)"
        }
      }
    },
    "FunctionsScaleAndConcurrency": {
      "type": "object",
      "description": "Scale and concurrency settings for the function app.",
      "properties": {
        "alwaysReady": {
          "type": "array",
          "description": "'Always Ready' configuration for the function app.",
          "items": {
            "$ref": "#/$defs/FunctionsAlwaysReadyConfig"
          }
        },
        "maximumInstanceCount": {
          "type": "integer",
          "format": "int32",
          "description": "The maximum number of instances for the function app."
        },
        "instanceMemoryMB": {
          "type": "integer",
          "format": "int32",
          "description": "Set the amount of memory allocated to each instance of the function app in MB. CPU and network bandwidth are allocated proportionally."
        },
        "triggers": {
          "$ref": "#/$defs/FunctionsScaleAndConcurrencyTriggers",
          "description": "Scale and concurrency settings for the function app triggers."
        }
      }
    },
    "FunctionsScaleAndConcurrencyTriggers": {
      "type": "object",
      "description": "Scale and concurrency settings for the function app triggers.",
      "properties": {
        "http": {
          "$ref": "#/$defs/FunctionsScaleAndConcurrencyTriggersHttp",
          "description": "Scale and concurrency settings for the HTTP trigger."
        }
      }
    },
    "FunctionsScaleAndConcurrencyTriggersHttp": {
      "type": "object",
      "description": "Scale and concurrency settings for the HTTP trigger.",
      "properties": {
        "perInstanceConcurrency": {
          "type": "integer",
          "format": "int32",
          "description": "The maximum number of concurrent HTTP trigger invocations per instance."
        }
      }
    },
    "FunctionsSiteUpdateStrategy": {
      "type": "object",
      "description": "Function app site update strategy configuration for deployments and site config updates.",
      "properties": {
        "type": {
          "$ref": "#/$defs/SiteUpdateStrategyType",
          "description": "Function app site update strategy type. Available options: Recreate, RollingUpdate"
        }
      }
    },
    "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."
        }
      }
    },
    "HostNameSslState": {
      "type": "object",
      "description": "SSL-enabled hostname.",
      "properties": {
        "name": {
          "type": "string",
          "description": "Hostname."
        },
        "sslState": {
          "$ref": "#/$defs/SslState",
          "description": "SSL type."
        },
        "virtualIP": {
          "type": "string",
          "description": "Virtual IP address assigned to the hostname if IP based SSL is enabled."
        },
        "thumbprint": {
          "type": "string",
          "description": "SSL certificate thumbprint."
        },
        "toUpdate": {
          "type": "boolean",
          "description": "Set to <code>true</code> to update existing hostname."
        },
        "hostType": {
          "$ref": "#/$defs/HostType",
          "description": "Indicates whether the hostname is a standard or repository hostname."
        }
      }
    },
    "HostType": {
      "type": "string",
      "description": "Indicates whether the hostname is a standard or repository hostname.",
      "enum": [
        "Standard",
        "Repository"
      ],
      "x-ms-enum": {
        "name": "HostType",
        "modelAsString": false
      }
    },
    "HostingEnvironmentProfile": {
      "type": "object",
      "description": "Specification for an App Service Environment to use for this resource.",
      "properties": {
        "id": {
          "type": "string",
          "description": "Resource ID of the App Service Environment."
        },
        "name": {
          "type": "string",
          "description": "Name of the App Service Environment.",
          "readOnly": true
        },
        "type": {
          "type": "string",
          "description": "Resource type of the App Service Environment.",
          "readOnly": true
        }
      }
    },
    "IPMode": {
      "type": "string",
      "description": "Specifies the IP mode of the app.",
      "enum": [
        "IPv4",
        "IPv6",
        "IPv4AndIPv6"
      ],
      "x-ms-enum": {
        "name": "IPMode",
        "modelAsString": false
      }
    },
    "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
      }
    },
    "ManagedServiceIdentity": {
      "type": "object",
      "description": "Managed service identity.",
      "properties": {
        "type": {
          "$ref": "#/$defs/ManagedServiceIdentityType",
          "description": "Type of managed service identity."
        },
        "tenantId": {
          "type": "string",
          "description": "Tenant of managed service identity.",
          "readOnly": true
        },
        "principalId": {
          "type": "string",
          "description": "Principal Id of managed service identity.",
          "readOnly": true
        },
        "userAssignedIdentities": {
          "type": "object",
          "description": "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}",
          "additionalProperties": {
            "$ref": "#/$defs/UserAssignedIdentity"
          }
        }
      }
    },
    "ManagedServiceIdentityType": {
      "type": "string",
      "description": "Type of managed service identity.",
      "enum": [
        "SystemAssigned",
        "UserAssigned",
        "SystemAssigned, UserAssigned",
        "None"
      ],
      "x-ms-enum": {
        "name": "ManagedServiceIdentityType",
        "modelAsString": false
      }
    },
    "NameValuePair": {
      "type": "object",
      "description": "Name value pair.",
      "properties": {
        "name": {
          "type": "string",
          "description": "Pair name."
        },
        "value": {
          "type": "string",
          "description": "Pair value."
        }
      }
    },
    "OutboundVnetRouting": {
      "type": "object",
      "description": "Outbound traffic options over virtual network.",
      "properties": {
        "allTraffic": {
          "type": "boolean",
          "description": "Enables all other routing options defined in OutboundVnetRouting if this setting is set to true."
        },
        "applicationTraffic": {
          "type": "boolean",
          "description": "This causes all outbound traffic to have Virtual Network Security Groups and User Defined Routes applied. Previously called VnetRouteAllEnabled."
        },
        "contentShareTraffic": {
          "type": "boolean",
          "description": "Enables accessing content over virtual network. Previously called VnetContentShareEnabled"
        },
        "imagePullTraffic": {
          "type": "boolean",
          "description": "Enables pulling image over Virtual Network. Previously called VnetImagePullEnabled."
        },
        "backupRestoreTraffic": {
          "type": "boolean",
          "description": "Enables Backup and Restore operations over virtual network. Previously called VnetBackupRestoreEnabled"
        }
      }
    },
    "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
        }
      }
    },
    "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."
        }
      }
    },
    "RedundancyMode": {
      "type": "string",
      "description": "Site redundancy mode",
      "enum": [
        "None",
        "Manual",
        "Failover",
        "ActiveActive",
        "GeoRedundant"
      ],
      "x-ms-enum": {
        "name": "RedundancyMode",
        "modelAsString": false
      }
    },
    "RequestsBasedTrigger": {
      "type": "object",
      "description": "Trigger based on total requests.",
      "properties": {
        "count": {
          "type": "integer",
          "format": "int32",
          "description": "Request Count."
        },
        "timeInterval": {
          "type": "string",
          "description": "Time interval."
        }
      }
    },
    "ResourceConfig": {
      "type": "object",
      "description": "Function app resource requirements.",
      "properties": {
        "cpu": {
          "type": "number",
          "format": "double",
          "description": "Required CPU in cores, e.g. 0.5"
        },
        "memory": {
          "type": "string",
          "description": "Required memory, e.g. \"1Gi\""
        }
      }
    },
    "RuntimeName": {
      "type": "string",
      "description": "Function app runtime name. Available options: dotnet-isolated, node, java, powershell, python, custom",
      "enum": [
        "dotnet-isolated",
        "node",
        "java",
        "powershell",
        "python",
        "custom"
      ],
      "x-ms-enum": {
        "name": "RuntimeName",
        "modelAsString": true,
        "values": [
          {
            "name": "dotnet-isolated",
            "value": "dotnet-isolated"
          },
          {
            "name": "node",
            "value": "node"
          },
          {
            "name": "java",
            "value": "java"
          },
          {
            "name": "powershell",
            "value": "powershell"
          },
          {
            "name": "python",
            "value": "python"
          },
          {
            "name": "custom",
            "value": "custom"
          }
        ]
      }
    },
    "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"
          }
        ]
      }
    },
    "SiteAvailabilityState": {
      "type": "string",
      "description": "Management information availability state for the app.",
      "enum": [
        "Normal",
        "Limited",
        "DisasterRecoveryMode"
      ],
      "x-ms-enum": {
        "name": "SiteAvailabilityState",
        "modelAsString": false
      }
    },
    "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."
        }
      }
    },
    "SiteDnsConfig": {
      "type": "object",
      "properties": {
        "dnsServers": {
          "type": "array",
          "description": "List of custom DNS servers to be used by an app for lookups. Maximum 5 dns servers can be set.",
          "items": {
            "type": "string"
          }
        },
        "dnsAltServer": {
          "type": "string",
          "description": "Alternate DNS server to be used by apps. This property replicates the WEBSITE_DNS_ALT_SERVER app setting."
        },
        "dnsRetryAttemptTimeout": {
          "type": "integer",
          "format": "int32",
          "description": "Timeout for a single dns lookup in seconds. Allowed range: 1-30. Default is 3."
        },
        "dnsRetryAttemptCount": {
          "type": "integer",
          "format": "int32",
          "description": "Total number of retries for dns lookup. Allowed range: 1-5. Default is 3."
        },
        "dnsMaxCacheTimeout": {
          "type": "integer",
          "format": "int32",
          "description": "Custom time for DNS to be cached in seconds. Allowed range: 0-60. Default is 30 seconds. 0 means caching disabled."
        },
        "dnsLegacySortOrder": {
          "type": "boolean",
          "description": "Indicates that sites using Virtual network custom DNS servers are still sorting the list of DNS servers. Read-Only.",
          "readOnly": true
        }
      }
    },
    "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."
        }
      }
    },
    "SiteProperties": {
      "type": "object",
      "description": "Site resource specific properties",
      "properties": {
        "state": {
          "type": "string",
          "description": "Current state of the app.",
          "readOnly": true
        },
        "hostNames": {
          "type": "array",
          "description": "Hostnames associated with the app.",
          "items": {
            "type": "string"
          },
          "readOnly": true
        },
        "repositorySiteName": {
          "type": "string",
          "description": "Name of the repository site.",
          "readOnly": true
        },
        "usageState": {
          "$ref": "#/$defs/UsageState",
          "description": "State indicating whether the app has exceeded its quota usage. Read-only.",
          "readOnly": true
        },
        "enabled": {
          "type": "boolean",
          "description": "<code>true</code> if the app is enabled; otherwise, <code>false</code>. Setting this value to false disables the app (takes the app offline)."
        },
        "enabledHostNames": {
          "type": "array",
          "description": "Enabled hostnames for the app.Hostnames need to be assigned (see HostNames) AND enabled. Otherwise,\nthe app is not served on those hostnames.",
          "items": {
            "type": "string"
          },
          "readOnly": true
        },
        "availabilityState": {
          "$ref": "#/$defs/SiteAvailabilityState",
          "description": "Management information availability state for the app.",
          "readOnly": true
        },
        "hostNameSslStates": {
          "type": "array",
          "description": "Hostname SSL states are used to manage the SSL bindings for app's hostnames.",
          "items": {
            "$ref": "#/$defs/HostNameSslState"
          },
          "x-ms-identifiers": [
            "name"
          ]
        },
        "serverFarmId": {
          "type": "string",
          "description": "Resource ID of the associated App Service plan, formatted as: \"/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}\"."
        },
        "reserved": {
          "type": "boolean",
          "description": "<code>true</code> if reserved; otherwise, <code>false</code>.",
          "default": false,
          "x-ms-mutability": [
            "read",
            "create"
          ]
        },
        "isXenon": {
          "type": "boolean",
          "description": "Obsolete: Hyper-V sandbox.",
          "default": false,
          "x-ms-mutability": [
            "read",
            "create"
          ]
        },
        "hyperV": {
          "type": "boolean",
          "description": "Hyper-V sandbox.",
          "default": false,
          "x-ms-mutability": [
            "read",
            "create"
          ]
        },
        "lastModifiedTimeUtc": {
          "type": "string",
          "format": "date-time",
          "description": "Last time the app was modified, in UTC. Read-only.",
          "readOnly": true
        },
        "dnsConfiguration": {
          "$ref": "#/$defs/SiteDnsConfig",
          "description": "Property to configure various DNS related settings for a site."
        },
        "outboundVnetRouting": {
          "$ref": "#/$defs/OutboundVnetRouting",
          "description": "Property to configure various outbound traffic routing options over virtual network for a site"
        },
        "siteConfig": {
          "$ref": "#/$defs/SiteConfig",
          "description": "Configuration of an App Service app. This property is not returned in response to normal create and read requests since it may contain sensitive information.",
          "x-ms-mutability": [
            "update",
            "create"
          ]
        },
        "functionAppConfig": {
          "$ref": "#/$defs/FunctionAppConfig",
          "description": "Configuration specific of the Azure Function app."
        },
        "daprConfig": {
          "$ref": "#/$defs/DaprConfig",
          "description": "Dapr configuration of the app."
        },
        "workloadProfileName": {
          "type": "string",
          "description": "Workload profile name for function app to execute on."
        },
        "resourceConfig": {
          "$ref": "#/$defs/ResourceConfig",
          "description": "Function app resource requirements."
        },
        "trafficManagerHostNames": {
          "type": "array",
          "description": "Azure Traffic Manager hostnames associated with the app. Read-only.",
          "items": {
            "type": "string"
          },
          "readOnly": true
        },
        "scmSiteAlsoStopped": {
          "type": "boolean",
          "description": "<code>true</code> to stop SCM (KUDU) site when the app is stopped; otherwise, <code>false</code>. The default is <code>false</code>.",
          "default": false
        },
        "targetSwapSlot": {
          "type": "string",
          "description": "Specifies which deployment slot this app will swap into. Read-only.",
          "readOnly": true
        },
        "hostingEnvironmentProfile": {
          "$ref": "#/$defs/HostingEnvironmentProfile",
          "description": "App Service Environment to use for the app.",
          "x-ms-mutability": [
            "read",
            "create"
          ]
        },
        "clientAffinityEnabled": {
          "type": "boolean",
          "description": "<code>true</code> to enable client affinity; <code>false</code> to stop sending session affinity cookies, which route client requests in the same session to the same instance. Default is <code>true</code>.",
          "default": false
        },
        "clientAffinityPartitioningEnabled": {
          "type": "boolean",
          "description": "<code>true</code> to enable client affinity partitioning using CHIPS cookies, this will add the <code>partitioned</code> property to the affinity cookies; <code>false</code> to stop sending partitioned affinity cookies. Default is <code>false</code>."
        },
        "clientAffinityProxyEnabled": {
          "type": "boolean",
          "description": "<code>true</code> to override client affinity cookie domain with X-Forwarded-Host request header. <code>false</code> to use default domain. Default is <code>false</code>."
        },
        "clientCertEnabled": {
          "type": "boolean",
          "description": "<code>true</code> to enable client certificate authentication (TLS mutual authentication); otherwise, <code>false</code>. Default is <code>false</code>."
        },
        "clientCertMode": {
          "$ref": "#/$defs/ClientCertMode",
          "description": "This composes with ClientCertEnabled setting.\n- ClientCertEnabled: false means ClientCert is ignored.\n- ClientCertEnabled: true and ClientCertMode: Required means ClientCert is required.\n- ClientCertEnabled: true and ClientCertMode: Optional means ClientCert is optional or accepted."
        },
        "clientCertExclusionPaths": {
          "type": "string",
          "description": "client certificate authentication comma-separated exclusion paths"
        },
        "ipMode": {
          "$ref": "#/$defs/IPMode",
          "description": "Specifies the IP mode of the app."
        },
        "endToEndEncryptionEnabled": {
          "type": "boolean",
          "description": "Whether to use end to end encryption between the FrontEnd and the Worker"
        },
        "sshEnabled": {
          "type": "boolean",
          "description": "Whether to enable ssh access."
        },
        "hostNamesDisabled": {
          "type": "boolean",
          "description": "<code>true</code> to disable the public hostnames of the app; otherwise, <code>false</code>.\nIf <code>true</code>, the app is only accessible via API management process."
        },
        "customDomainVerificationId": {
          "type": "string",
          "description": "Unique identifier that verifies the custom domains assigned to the app. Customer will add this id to a txt record for verification."
        },
        "outboundIpAddresses": {
          "type": "string",
          "description": "List of IP addresses that the app uses for outbound connections (e.g. database access). Includes VIPs from tenants that site can be hosted with current settings. Read-only.",
          "readOnly": true
        },
        "possibleOutboundIpAddresses": {
          "type": "string",
          "description": "List of IP addresses that the app uses for outbound connections (e.g. database access). Includes VIPs from all tenants except dataComponent. Read-only.",
          "readOnly": true
        },
        "containerSize": {
          "type": "integer",
          "format": "int32",
          "description": "Size of the function container."
        },
        "dailyMemoryTimeQuota": {
          "type": "integer",
          "format": "int32",
          "description": "Maximum allowed daily memory-time quota (applicable on dynamic apps only)."
        },
        "suspendedTill": {
          "type": "string",
          "format": "date-time",
          "description": "App suspended till in case memory-time quota is exceeded.",
          "readOnly": true
        },
        "maxNumberOfWorkers": {
          "type": "integer",
          "format": "int32",
          "description": "Maximum number of workers.\nThis only applies to Functions container.",
          "readOnly": true
        },
        "cloningInfo": {
          "$ref": "#/$defs/CloningInfo",
          "description": "If specified during app creation, the app is cloned from a source app.",
          "x-ms-mutability": [
            "create"
          ]
        },
        "resourceGroup": {
          "type": "string",
          "description": "Name of the resource group the app belongs to. Read-only.",
          "readOnly": true
        },
        "isDefaultContainer": {
          "type": "boolean",
          "description": "<code>true</code> if the app is a default container; otherwise, <code>false</code>.",
          "readOnly": true
        },
        "defaultHostName": {
          "type": "string",
          "description": "Default hostname of the app. Read-only.",
          "readOnly": true
        },
        "slotSwapStatus": {
          "$ref": "#/$defs/SlotSwapStatus",
          "description": "Status of the last deployment slot swap operation.",
          "readOnly": true
        },
        "httpsOnly": {
          "type": "boolean",
          "description": "HttpsOnly: configures a web site to accept only https requests. Issues redirect for\nhttp requests"
        },
        "redundancyMode": {
          "$ref": "#/$defs/RedundancyMode",
          "description": "Site redundancy mode"
        },
        "inProgressOperationId": {
          "type": "string",
          "format": "uuid",
          "description": "Specifies an operation id if this site has a pending operation.",
          "readOnly": true
        },
        "publicNetworkAccess": {
          "type": "string",
          "description": "Property to allow or block all public traffic. Allowed Values: 'Enabled', 'Disabled' or an empty string."
        },
        "storageAccountRequired": {
          "type": "boolean",
          "description": "Checks if Customer provided storage account is required"
        },
        "keyVaultReferenceIdentity": {
          "type": "string",
          "description": "Identity to use for Key Vault Reference authentication."
        },
        "autoGeneratedDomainNameLabelScope": {
          "$ref": "#/$defs/AutoGeneratedDomainNameLabelScope",
          "description": "Specifies the scope of uniqueness for the default hostname during resource creation"
        },
        "virtualNetworkSubnetId": {
          "type": "string",
          "description": "Azure Resource Manager ID of the Virtual network and subnet to be joined by Regional VNET Integration.\nThis must be of the form /subscriptions/{subscriptionName}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName}"
        },
        "managedEnvironmentId": {
          "type": "string",
          "description": "Azure Resource Manager ID of the customer's selected Managed Environment on which to host this app. This must be of the form /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.App/managedEnvironments/{managedEnvironmentName}"
        },
        "sku": {
          "type": "string",
          "description": "Current SKU of application based on associated App Service Plan. Some valid SKU values are Free, Shared, Basic, Dynamic, FlexConsumption, Standard, Premium, PremiumV2, PremiumV3, Isolated, IsolatedV2",
          "readOnly": true
        }
      }
    },
    "SiteUpdateStrategyType": {
      "type": "string",
      "description": "Function app site update strategy type. Available options: Recreate, RollingUpdate",
      "enum": [
        "Recreate",
        "RollingUpdate"
      ],
      "x-ms-enum": {
        "name": "SiteUpdateStrategyType",
        "modelAsString": true,
        "values": [
          {
            "name": "Recreate",
            "value": "Recreate",
            "description": "If the app is under load and a deployment or site state update occurs, all pods will be removed\nand will need to be Recreated all at once. This is the default behavior."
          },
          {
            "name": "RollingUpdate",
            "value": "RollingUpdate",
            "description": "If the app is under load and a deployment or site state update occurs, pods will be drained in\nbatches and gradually replaced, thus minimizing impact to throughput."
          }
        ]
      }
    },
    "SlotSwapStatus": {
      "type": "object",
      "description": "The status of the last successful slot swap operation.",
      "properties": {
        "timestampUtc": {
          "type": "string",
          "format": "date-time",
          "description": "The time the last successful slot swap completed.",
          "readOnly": true
        },
        "sourceSlotName": {
          "type": "string",
          "description": "The source slot of the last swap operation.",
          "readOnly": true
        },
        "destinationSlotName": {
          "type": "string",
          "description": "The destination slot of the last swap operation.",
          "readOnly": true
        }
      }
    },
    "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."
        }
      }
    },
    "SslState": {
      "type": "string",
      "description": "SSL type",
      "enum": [
        "Disabled",
        "SniEnabled",
        "IpBasedEnabled"
      ],
      "x-ms-enum": {
        "name": "SslState",
        "modelAsString": false
      }
    },
    "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"
          }
        ]
      }
    },
    "UsageState": {
      "type": "string",
      "description": "State indicating whether the app has exceeded its quota usage. Read-only.",
      "enum": [
        "Normal",
        "Exceeded"
      ],
      "x-ms-enum": {
        "name": "UsageState",
        "modelAsString": false
      }
    },
    "UserAssignedIdentity": {
      "type": "object",
      "description": "User Assigned identity.",
      "properties": {
        "principalId": {
          "type": "string",
          "description": "Principal Id of user assigned identity",
          "readOnly": true
        },
        "clientId": {
          "type": "string",
          "description": "Client Id of user assigned identity",
          "readOnly": true
        }
      }
    },
    "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."
        }
      }
    }
  }
}