PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/?api-version=2023-01-01

Description for Creates a new web, mobile, or API app in an existing resource group, or updates an existing app.

Servers

Path parameters

Name Type Required Description
name String Yes

Unique name of the app to create or update. To create or update a deployment slot, use the {slot} parameter.

subscriptionId String Yes

Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).

resourceGroupName String Yes

Name of the resource group to which the resource belongs.

Request headers

Name Type Required Description
Content-Type String Yes The media type of the request body.

Default value: "application/json"

Request body fields

Name Type Required Description
id String No

Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"

extendedLocation Object No

Extended Location.

extendedLocation.name String No

Name of extended location.

extendedLocation.type String No

Type of extended location.

name String No

The name of the resource

systemData Object No

Metadata pertaining to creation and last modification of the resource.

systemData.createdByType String No

The type of identity that created the resource.

Possible values:

  • "ManagedIdentity"
  • "Key"
  • "Application"
  • "User"
systemData.lastModifiedAt String No

The timestamp of resource last modification (UTC)

systemData.createdAt String No

The timestamp of resource creation (UTC).

systemData.lastModifiedBy String No

The identity that last modified the resource.

systemData.lastModifiedByType String No

The type of identity that last modified the resource.

Possible values:

  • "ManagedIdentity"
  • "Key"
  • "Application"
  • "User"
systemData.createdBy String No

The identity that created the resource.

properties Object No

Site resource specific properties

properties.reserved Boolean No

true if reserved; otherwise, false.

Default value: false

properties.hostNameSslStates[] Array No

Hostname SSL states are used to manage the SSL bindings for app's hostnames.

properties.hostNameSslStates[].hostType String No

Indicates whether the hostname is a standard or repository hostname.

Possible values:

  • "Repository"
  • "Standard"
properties.hostNameSslStates[].name String No

Hostname.

properties.hostNameSslStates[].thumbprint String No

SSL certificate thumbprint.

properties.hostNameSslStates[].toUpdate Boolean No

Set to true to update existing hostname.

properties.hostNameSslStates[].virtualIP String No

Virtual IP address assigned to the hostname if IP based SSL is enabled.

properties.hostNameSslStates[].sslState String No

SSL type.

Possible values:

  • "Disabled"
  • "IpBasedEnabled"
  • "SniEnabled"
properties.vnetImagePullEnabled Boolean No

To enable pulling image over Virtual Network

properties.defaultHostName String No

Default hostname of the app. Read-only.

properties.clientCertEnabled Boolean No

true to enable client certificate authentication (TLS mutual authentication); otherwise, false. Default is false.

properties.usageState String No

State indicating whether the app has exceeded its quota usage. Read-only.

Possible values:

  • "Normal"
  • "Exceeded"
properties.workloadProfileName String No

Workload profile name for function app to execute on.

properties.hyperV Boolean No

Hyper-V sandbox.

Default value: false

properties.customDomainVerificationId String No

Unique identifier that verifies the custom domains assigned to the app. Customer will add this id to a txt record for verification.

properties.state String No

Current state of the app.

properties.vnetContentShareEnabled Boolean No

To enable accessing content over virtual network

properties.clientCertExclusionPaths String No

client certificate authentication comma-separated exclusion paths

properties.trafficManagerHostNames[] Array No

Azure Traffic Manager hostnames associated with the app. Read-only.

properties.clientAffinityEnabled Boolean No

true to enable client affinity; false to stop sending session affinity cookies, which route client requests in the same session to the same instance. Default is true.

properties.slotSwapStatus Object No

The status of the last successful slot swap operation.

properties.slotSwapStatus.timestampUtc String No

The time the last successful slot swap completed.

properties.slotSwapStatus.destinationSlotName String No

The destination slot of the last swap operation.

properties.slotSwapStatus.sourceSlotName String No

The source slot of the last swap operation.

properties.resourceGroup String No

Name of the resource group the app belongs to. Read-only.

properties.isXenon Boolean No

Obsolete: Hyper-V sandbox.

Default value: false

properties.keyVaultReferenceIdentity String No

Identity to use for Key Vault Reference authentication.

properties.daprConfig Object No

App Dapr configuration.

properties.daprConfig.httpReadBufferSize Integer No

Dapr max size of http header read buffer in KB to handle when sending multi-KB headers. Default is 65KB.

properties.daprConfig.logLevel String No

Sets the log level for the Dapr sidecar. Allowed values are debug, info, warn, error. Default is info.

Possible values:

  • "warn"
  • "error"
  • "debug"
  • "info"
properties.daprConfig.httpMaxRequestSize Integer No

Increasing max size of request body http servers parameter in MB to handle uploading of big files. Default is 4 MB.

properties.daprConfig.enabled Boolean No

Boolean indicating if the Dapr side car is enabled

Default value: false

properties.daprConfig.appId String No

Dapr application identifier

properties.daprConfig.appPort Integer No

Tells Dapr which port your application is listening on

properties.daprConfig.enableApiLogging Boolean No

Enables API logging for the Dapr sidecar

properties.isDefaultContainer Boolean No

true if the app is a default container; otherwise, false.

properties.virtualNetworkSubnetId String No

Azure Resource Manager ID of the Virtual network and subnet to be joined by Regional VNET Integration. This must be of the form /subscriptions/{subscriptionName}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName}

properties.containerSize Integer No

Size of the function container.

properties.serverFarmId String No

Resource ID of the associated App Service plan, formatted as: "/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}".

properties.availabilityState String No

Management information availability state for the app.

Possible values:

  • "Limited"
  • "Normal"
  • "DisasterRecoveryMode"
properties.storageAccountRequired Boolean No

Checks if Customer provided storage account is required

properties.enabledHostNames[] Array No

Enabled hostnames for the app.Hostnames need to be assigned (see HostNames) AND enabled. Otherwise, the app is not served on those hostnames.

properties.hostNames[] Array No

Hostnames associated with the app.

properties.hostNamesDisabled Boolean No

true to disable the public hostnames of the app; otherwise, false. If true, the app is only accessible via API management process.

properties.dailyMemoryTimeQuota Integer No

Maximum allowed daily memory-time quota (applicable on dynamic apps only).

properties.publicNetworkAccess String No

Property to allow or block all public traffic. Allowed Values: 'Enabled', 'Disabled' or an empty string.

properties.enabled Boolean No

true if the app is enabled; otherwise, false. Setting this value to false disables the app (takes the app offline).

properties.vnetRouteAllEnabled Boolean No

Virtual Network Route All enabled. This causes all outbound traffic to have Virtual Network Security Groups and User Defined Routes applied.

properties.suspendedTill String No

App suspended till in case memory-time quota is exceeded.

properties.clientCertMode String No

This composes with ClientCertEnabled setting.

  • ClientCertEnabled: false means ClientCert is ignored.
  • ClientCertEnabled: true and ClientCertMode: Required means ClientCert is required.
  • ClientCertEnabled: true and ClientCertMode: Optional means ClientCert is optional or accepted.

Possible values:

  • "Optional"
  • "OptionalInteractiveUser"
  • "Required"
properties.possibleOutboundIpAddresses String No

List of IP addresses that the app uses for outbound connections (e.g. database access). Includes VIPs from all tenants except dataComponent. Read-only.

properties.maxNumberOfWorkers Integer No

Maximum number of workers. This only applies to Functions container.

properties.managedEnvironmentId String No

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}

properties.targetSwapSlot String No

Specifies which deployment slot this app will swap into. Read-only.

properties.repositorySiteName String No

Name of the repository site.

properties.siteConfig Object No

Configuration of an App Service app.

properties.siteConfig.linuxFxVersion String No

Linux App Framework and version

properties.siteConfig.scmMinTlsVersion String No

ScmMinTlsVersion: configures the minimum version of TLS required for SSL requests for SCM site

Possible values:

  • "1.1"
  • "1.0"
  • "1.2"
properties.siteConfig.remoteDebuggingEnabled Boolean No

true if remote debugging is enabled; otherwise, false.

properties.siteConfig.apiDefinition Object No

Information about the formal API definition for the app.

properties.siteConfig.apiDefinition.url String No

The URL of the API definition.

properties.siteConfig.netFrameworkVersion String No

.NET Framework version.

Default value: "v4.6"

properties.siteConfig.metadata[] Array No

Application metadata. This property cannot be retrieved, since it may contain secrets.

properties.siteConfig.metadata[].name String No

Pair name.

properties.siteConfig.metadata[].value String No

Pair value.

properties.siteConfig.javaContainerVersion String No

Java container version.

properties.siteConfig.tracingOptions String No

Tracing options.

properties.siteConfig.cors Object No

Cross-Origin Resource Sharing (CORS) settings for the app.

properties.siteConfig.cors.allowedOrigins[] Array No

Gets or sets the list of origins that should be allowed to make cross-origin calls (for example: http://example.com:12345). Use "*" to allow all.

properties.siteConfig.cors.supportCredentials Boolean No

Gets or sets whether CORS requests with credentials are allowed. See https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS#Requests_with_credentials for more details.

properties.siteConfig.pythonVersion String No

Version of Python.

properties.siteConfig.preWarmedInstanceCount Integer No

Number of preWarmed instances. This setting only applies to the Consumption and Elastic Plans

properties.siteConfig.detailedErrorLoggingEnabled Boolean No

true if detailed error logging is enabled; otherwise, false.

properties.siteConfig.appCommandLine String No

App command line to launch.

properties.siteConfig.requestTracingEnabled Boolean No

true if request tracing is enabled; otherwise, false.

properties.siteConfig.vnetPrivatePortsCount Integer No

The number of private ports assigned to this app. These will be assigned dynamically on runtime.

properties.siteConfig.virtualApplications[] Array No

Virtual applications.

properties.siteConfig.virtualApplications[].physicalPath String No

Physical path.

properties.siteConfig.virtualApplications[].virtualPath String No

Virtual path.

properties.siteConfig.virtualApplications[].preloadEnabled Boolean No

true if preloading is enabled; otherwise, false.

properties.siteConfig.virtualApplications[].virtualDirectories[] Array No

Virtual directories for virtual application.

properties.siteConfig.virtualApplications[].virtualDirectories[].physicalPath String No

Physical path.

properties.siteConfig.virtualApplications[].virtualDirectories[].virtualPath String No

Path to virtual application.

properties.siteConfig.autoHealEnabled Boolean No

true if Auto Heal is enabled; otherwise, false.

properties.siteConfig.keyVaultReferenceIdentity String No

Identity to use for Key Vault Reference authentication.

properties.siteConfig.publishingUsername String No

Publishing user name.

properties.siteConfig.scmIpSecurityRestrictionsUseMain Boolean No

IP security restrictions for scm to use main.

properties.siteConfig.connectionStrings[] Array No

Connection strings.

properties.siteConfig.connectionStrings[].name String No

Name of connection string.

properties.siteConfig.connectionStrings[].type String No

Type of database.

Possible values:

  • "ApiHub"
  • "PostgreSQL"
  • "Custom"
  • "NotificationHub"
  • "EventHub"
  • "DocDb"
  • "RedisCache"
  • "MySql"
  • "SQLAzure"
  • "ServiceBus"
  • "SQLServer"
properties.siteConfig.connectionStrings[].connectionString String No

Connection string value.

properties.siteConfig.vnetName String No

Virtual Network name.

properties.siteConfig.httpLoggingEnabled Boolean No

true if HTTP logging is enabled; otherwise, false.

properties.siteConfig.apiManagementConfig Object No

Azure API management (APIM) configuration linked to the app.

properties.siteConfig.apiManagementConfig.id String No

APIM-Api Identifier.

properties.siteConfig.healthCheckPath String No

Health check path

properties.siteConfig.acrUserManagedIdentityID String No

If using user managed identity, the user managed identity ClientId

properties.siteConfig.phpVersion String No

Version of PHP.

properties.siteConfig.scmIpSecurityRestrictions[] Array No

IP security restrictions for scm.

properties.siteConfig.scmIpSecurityRestrictions[].priority Integer No

Priority of IP restriction rule.

properties.siteConfig.scmIpSecurityRestrictions[].vnetSubnetResourceId String No

Virtual network resource id

properties.siteConfig.scmIpSecurityRestrictions[].subnetTrafficTag Integer No

(internal) Subnet traffic tag

properties.siteConfig.scmIpSecurityRestrictions[].name String No

IP restriction rule name.

properties.siteConfig.scmIpSecurityRestrictions[].action String No

Allow or Deny access for this IP range.

properties.siteConfig.scmIpSecurityRestrictions[].description String No

IP restriction rule description.

properties.siteConfig.scmIpSecurityRestrictions[].ipAddress String No

IP address the security restriction is valid for. It can be in form of pure ipv4 address (required SubnetMask property) or CIDR notation such as ipv4/mask (leading bit match). For CIDR, SubnetMask property must not be specified.

properties.siteConfig.scmIpSecurityRestrictions[].vnetTrafficTag Integer No

(internal) Vnet traffic tag

properties.siteConfig.scmIpSecurityRestrictions[].subnetMask String No

Subnet mask for the range of IP addresses the restriction is valid for.

properties.siteConfig.scmIpSecurityRestrictions[].headers Object No

IP restriction rule headers. X-Forwarded-Host (https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-Host#Examples). The matching logic is ..

  • If the property is null or empty (default), all hosts(or lack of) are allowed.
  • A value is compared using ordinal-ignore-case (excluding port number).
  • Subdomain wildcards are permitted but don't match the root domain. For example, *.contoso.com matches the subdomain foo.contoso.com but not the root domain contoso.com or multi-level foo.bar.contoso.com
  • Unicode host names are allowed but are converted to Punycode for matching.

X-Forwarded-For (https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-For#Examples). The matching logic is ..

  • If the property is null or empty (default), any forwarded-for chains (or lack of) are allowed.
  • If any address (excluding port number) in the chain (comma separated) matches the CIDR defined by the property.

X-Azure-FDID and X-FD-HealthProbe. The matching logic is exact match.

properties.siteConfig.scmIpSecurityRestrictions[].headers.name String No
properties.siteConfig.scmIpSecurityRestrictions[].tag String No

Defines what this IP filter will be used for. This is to support IP filtering on proxies.

Possible values:

  • "XffProxy"
  • "Default"
  • "ServiceTag"
properties.siteConfig.machineKey Object No

MachineKey of an app.

properties.siteConfig.machineKey.validationKey String No

Validation key.

properties.siteConfig.machineKey.decryption String No

Algorithm used for decryption.

properties.siteConfig.machineKey.validation String No

MachineKey validation.

properties.siteConfig.machineKey.decryptionKey String No

Decryption key.

properties.siteConfig.publicNetworkAccess String No

Property to allow or block all public traffic.

properties.siteConfig.javaContainer String No

Java container.

properties.siteConfig.functionsRuntimeScaleMonitoringEnabled Boolean No

Gets or sets a value indicating whether functions runtime scale monitoring is enabled. When enabled, the ScaleController will not monitor event sources directly, but will instead call to the runtime to get scale status.

properties.siteConfig.nodeVersion String No

Version of Node.js.

properties.siteConfig.acrUseManagedIdentityCreds Boolean No

Flag to use Managed Identity Creds for ACR pull

properties.siteConfig.loadBalancing String No

Site load balancing.

Possible values:

  • "RequestHash"
  • "LeastResponseTime"
  • "LeastRequests"
  • "WeightedRoundRobin"
  • "PerSiteRoundRobin"
  • "WeightedTotalTraffic"
properties.siteConfig.vnetRouteAllEnabled Boolean No

Virtual Network Route All enabled. This causes all outbound traffic to have Virtual Network Security Groups and User Defined Routes applied.

properties.siteConfig.localMySqlEnabled Boolean No

true to enable local MySQL; otherwise, false.

Default value: false

properties.siteConfig.push Object No

Push settings for the App.

properties.siteConfig.push.id String No

Resource Id.

properties.siteConfig.push.name String No

Resource Name.

properties.siteConfig.push.properties Object No

PushSettings resource specific properties

properties.siteConfig.push.properties.isPushEnabled Boolean Yes

Gets or sets a flag indicating whether the Push endpoint is enabled.

properties.siteConfig.push.properties.dynamicTagsJson String No

Gets or sets a JSON string containing a list of dynamic tags that will be evaluated from user claims in the push registration endpoint.

properties.siteConfig.push.properties.tagWhitelistJson String No

Gets or sets a JSON string containing a list of tags that are whitelisted for use by the push registration endpoint.

properties.siteConfig.push.properties.tagsRequiringAuth String No

Gets or sets a JSON string containing a list of tags that require user authentication to be used in the push registration endpoint. Tags can consist of alphanumeric characters and the following: '_', '@', '#', '.', ':', '-'. Validation should be performed at the PushRequestHandler.

properties.siteConfig.push.type String No

Resource type.

properties.siteConfig.push.kind String No

Kind of resource.

properties.siteConfig.autoSwapSlotName String No

Auto-swap slot name.

properties.siteConfig.documentRoot String No

Document root.

properties.siteConfig.ftpsState String No

State of FTP / FTPS service

Possible values:

  • "FtpsOnly"
  • "Disabled"
  • "AllAllowed"
properties.siteConfig.webSocketsEnabled Boolean No

true if WebSocket is enabled; otherwise, false.

properties.siteConfig.http20Enabled Boolean No

Http20Enabled: configures a web site to allow clients to connect over http2.0

Default value: true

properties.siteConfig.limits Object No

Metric limits set on an app.

properties.siteConfig.limits.maxDiskSizeInMb Integer No

Maximum allowed disk size usage in MB.

properties.siteConfig.limits.maxMemoryInMb Integer No

Maximum allowed memory usage in MB.

properties.siteConfig.limits.maxPercentageCpu Number No

Maximum allowed CPU usage percentage.

properties.siteConfig.functionAppScaleLimit Integer No

Maximum number of workers that a site can scale out to. This setting only applies to the Consumption and Elastic Premium Plans

properties.siteConfig.powerShellVersion String No

Version of PowerShell.

properties.siteConfig.managedPipelineMode String No

Managed pipeline mode.

Possible values:

  • "Integrated"
  • "Classic"
properties.siteConfig.minTlsCipherSuite String No

The minimum strength TLS cipher suite allowed for an application

Possible values:

  • "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256"
  • "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA"
  • "TLS_AES_256_GCM_SHA384"
  • "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384"
  • "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256"
  • "TLS_RSA_WITH_AES_128_CBC_SHA256"
  • "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256"
  • "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA"
  • "TLS_RSA_WITH_AES_256_GCM_SHA384"
  • "TLS_RSA_WITH_AES_256_CBC_SHA256"
  • "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384"
  • "TLS_AES_128_GCM_SHA256"
  • "TLS_RSA_WITH_AES_256_CBC_SHA"
  • "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384"
  • "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256"
  • "TLS_RSA_WITH_AES_128_GCM_SHA256"
  • "TLS_RSA_WITH_AES_128_CBC_SHA"
properties.siteConfig.minimumElasticInstanceCount Integer No

Number of minimum instance count for a site This setting only applies to the Elastic Plans

properties.siteConfig.appSettings[] Array No

Application settings.

properties.siteConfig.appSettings[].name String No

Pair name.

properties.siteConfig.appSettings[].value String No

Pair value.

properties.siteConfig.alwaysOn Boolean No

true if Always On is enabled; otherwise, false.

properties.siteConfig.autoHealRules Object No

Rules that can be defined for auto-heal.

properties.siteConfig.autoHealRules.actions Object No

Actions which to take by the auto-heal module when a rule is triggered.

properties.siteConfig.autoHealRules.actions.actionType String No

Predefined action to be taken.

Possible values:

  • "CustomAction"
  • "Recycle"
  • "LogEvent"
properties.siteConfig.autoHealRules.actions.minProcessExecutionTime String No

Minimum time the process must execute before taking the action

properties.siteConfig.autoHealRules.actions.customAction Object No

Custom action to be executed when an auto heal rule is triggered.

properties.siteConfig.autoHealRules.actions.customAction.exe String No

Executable to be run.

properties.siteConfig.autoHealRules.actions.customAction.parameters String No

Parameters for the executable.

properties.siteConfig.autoHealRules.triggers Object No

Triggers for auto-heal.

properties.siteConfig.autoHealRules.triggers.slowRequests Object No

Trigger based on request execution time.

properties.siteConfig.autoHealRules.triggers.slowRequests.count Integer No

Request Count.

properties.siteConfig.autoHealRules.triggers.slowRequests.timeTaken String No

Time taken.

properties.siteConfig.autoHealRules.triggers.slowRequests.timeInterval String No

Time interval.

properties.siteConfig.autoHealRules.triggers.slowRequests.path String No

Request Path.

properties.siteConfig.autoHealRules.triggers.requests Object No

Trigger based on total requests.

properties.siteConfig.autoHealRules.triggers.requests.count Integer No

Request Count.

properties.siteConfig.autoHealRules.triggers.requests.timeInterval String No

Time interval.

properties.siteConfig.autoHealRules.triggers.statusCodesRange[] Array No

A rule based on status codes ranges.

properties.siteConfig.autoHealRules.triggers.statusCodesRange[].count Integer No

Request Count.

properties.siteConfig.autoHealRules.triggers.statusCodesRange[].timeInterval String No

Time interval.

properties.siteConfig.autoHealRules.triggers.statusCodesRange[].statusCodes String No

HTTP status code.

properties.siteConfig.autoHealRules.triggers.statusCodesRange[].path String No
properties.siteConfig.autoHealRules.triggers.privateBytesInKB Integer No

A rule based on private bytes.

properties.siteConfig.autoHealRules.triggers.statusCodes[] Array No

A rule based on status codes.

properties.siteConfig.autoHealRules.triggers.statusCodes[].count Integer No

Request Count.

properties.siteConfig.autoHealRules.triggers.statusCodes[].status Integer No

HTTP status code.

properties.siteConfig.autoHealRules.triggers.statusCodes[].subStatus Integer No

Request Sub Status.

properties.siteConfig.autoHealRules.triggers.statusCodes[].timeInterval String No

Time interval.

properties.siteConfig.autoHealRules.triggers.statusCodes[].win32Status Integer No

Win32 error code.

properties.siteConfig.autoHealRules.triggers.statusCodes[].path String No

Request Path

properties.siteConfig.autoHealRules.triggers.slowRequestsWithPath[] Array No

A rule based on multiple Slow Requests Rule with path

properties.siteConfig.autoHealRules.triggers.slowRequestsWithPath[].count Integer No

Request Count.

properties.siteConfig.autoHealRules.triggers.slowRequestsWithPath[].timeTaken String No

Time taken.

properties.siteConfig.autoHealRules.triggers.slowRequestsWithPath[].timeInterval String No

Time interval.

properties.siteConfig.autoHealRules.triggers.slowRequestsWithPath[].path String No

Request Path.

properties.siteConfig.windowsFxVersion String No

Xenon App Framework and version

properties.siteConfig.remoteDebuggingVersion String No

Remote debugging version.

properties.siteConfig.ipSecurityRestrictionsDefaultAction String No

Default action for main access restriction if no rules are matched.

Possible values:

  • "Deny"
  • "Allow"
properties.siteConfig.experiments Object No

Routing rules in production experiments.

properties.siteConfig.experiments.rampUpRules[] Array No

List of ramp-up rules.

properties.siteConfig.experiments.rampUpRules[].actionHostName String No

Hostname of a slot to which the traffic will be redirected if decided to. E.g. myapp-stage.azurewebsites.net.

properties.siteConfig.experiments.rampUpRules[].changeDecisionCallbackUrl String No

Custom decision algorithm can be provided in TiPCallback site extension which URL can be specified. See TiPCallback site extension for the scaffold and contracts. https://www.siteextensions.net/packages/TiPCallback/

properties.siteConfig.experiments.rampUpRules[].name String No

Name of the routing rule. The recommended name would be to point to the slot which will receive the traffic in the experiment.

properties.siteConfig.experiments.rampUpRules[].changeIntervalInMinutes Integer No

Specifies interval in minutes to reevaluate ReroutePercentage.

properties.siteConfig.experiments.rampUpRules[].maxReroutePercentage Number No

Specifies upper boundary below which ReroutePercentage will stay.

properties.siteConfig.experiments.rampUpRules[].reroutePercentage Number No

Percentage of the traffic which will be redirected to ActionHostName.

properties.siteConfig.experiments.rampUpRules[].minReroutePercentage Number No

Specifies lower boundary above which ReroutePercentage will stay.

properties.siteConfig.experiments.rampUpRules[].changeStep Number No

In auto ramp up scenario this is the step to add/remove from ReroutePercentage until it reaches \nMinReroutePercentage or MaxReroutePercentage. Site metrics are checked every N minutes specified in ChangeIntervalInMinutes.\nCustom decision algorithm can be provided in TiPCallback site extension which URL can be specified in ChangeDecisionCallbackUrl.

properties.siteConfig.javaVersion String No

Java version.

properties.siteConfig.logsDirectorySizeLimit Integer No

HTTP logs directory size limit.

properties.siteConfig.scmIpSecurityRestrictionsDefaultAction String No

Default action for scm access restriction if no rules are matched.

Possible values:

  • "Deny"
  • "Allow"
properties.siteConfig.websiteTimeZone String No

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

properties.siteConfig.defaultDocuments[] Array No

Default documents.

properties.siteConfig.numberOfWorkers Integer No

Number of workers.

properties.siteConfig.elasticWebAppScaleLimit Integer No

Maximum number of workers that a site can scale out to. This setting only applies to apps in plans where ElasticScaleEnabled is true

properties.siteConfig.scmType String No

SCM type.

Possible values:

  • "VSTSRM"
  • "CodePlexHg"
  • "Tfs"
  • "BitbucketHg"
  • "Dropbox"
  • "GitHub"
  • "OneDrive"
  • "None"
  • "ExternalGit"
  • "LocalGit"
  • "BitbucketGit"
  • "ExternalHg"
  • "VSO"
  • "CodePlexGit"
properties.siteConfig.managedServiceIdentityId Integer No

Managed Service Identity Id

properties.siteConfig.use32BitWorkerProcess Boolean No

true to use 32-bit worker process; otherwise, false.

properties.siteConfig.requestTracingExpirationTime String No

Request tracing expiration time.

properties.siteConfig.handlerMappings[] Array No

Handler mappings.

properties.siteConfig.handlerMappings[].arguments String No

Command-line arguments to be passed to the script processor.

properties.siteConfig.handlerMappings[].extension String No

Requests with this extension will be handled using the specified FastCGI application.

properties.siteConfig.handlerMappings[].scriptProcessor String No

The absolute path to the FastCGI application.

properties.siteConfig.azureStorageAccounts Object No

List of Azure Storage Accounts.

properties.siteConfig.azureStorageAccounts.name Object No

Azure Files or Blob Storage access information value for dictionary storage.

properties.siteConfig.azureStorageAccounts.name.accountName String No

Name of the storage account.

properties.siteConfig.azureStorageAccounts.name.type String No

Type of storage.

Possible values:

  • "AzureFiles"
  • "AzureBlob"
properties.siteConfig.azureStorageAccounts.name.state String No

State of the storage account.

Possible values:

  • "Ok"
  • "NotValidated"
  • "InvalidCredentials"
  • "InvalidShare"
properties.siteConfig.azureStorageAccounts.name.shareName String No

Name of the file share (container name, for Blob storage).

properties.siteConfig.azureStorageAccounts.name.accessKey String No

Access key for the storage account.

properties.siteConfig.azureStorageAccounts.name.mountPath String No

Path to mount the storage within the site's runtime environment.

properties.siteConfig.xManagedServiceIdentityId Integer No

Explicit Managed Service Identity Id

properties.siteConfig.minTlsVersion String No

MinTlsVersion: configures the minimum version of TLS required for SSL requests

Possible values:

  • "1.1"
  • "1.0"
  • "1.2"
properties.siteConfig.ipSecurityRestrictions[] Array No

IP security restrictions for main.

properties.siteConfig.ipSecurityRestrictions[].priority Integer No

Priority of IP restriction rule.

properties.siteConfig.ipSecurityRestrictions[].vnetSubnetResourceId String No

Virtual network resource id

properties.siteConfig.ipSecurityRestrictions[].subnetTrafficTag Integer No

(internal) Subnet traffic tag

properties.siteConfig.ipSecurityRestrictions[].name String No

IP restriction rule name.

properties.siteConfig.ipSecurityRestrictions[].action String No

Allow or Deny access for this IP range.

properties.siteConfig.ipSecurityRestrictions[].description String No

IP restriction rule description.

properties.siteConfig.ipSecurityRestrictions[].ipAddress String No

IP address the security restriction is valid for. It can be in form of pure ipv4 address (required SubnetMask property) or CIDR notation such as ipv4/mask (leading bit match). For CIDR, SubnetMask property must not be specified.

properties.siteConfig.ipSecurityRestrictions[].vnetTrafficTag Integer No

(internal) Vnet traffic tag

properties.siteConfig.ipSecurityRestrictions[].subnetMask String No

Subnet mask for the range of IP addresses the restriction is valid for.

properties.siteConfig.ipSecurityRestrictions[].headers Object No

IP restriction rule headers. X-Forwarded-Host (https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-Host#Examples). The matching logic is ..

  • If the property is null or empty (default), all hosts(or lack of) are allowed.
  • A value is compared using ordinal-ignore-case (excluding port number).
  • Subdomain wildcards are permitted but don't match the root domain. For example, *.contoso.com matches the subdomain foo.contoso.com but not the root domain contoso.com or multi-level foo.bar.contoso.com
  • Unicode host names are allowed but are converted to Punycode for matching.

X-Forwarded-For (https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-For#Examples). The matching logic is ..

  • If the property is null or empty (default), any forwarded-for chains (or lack of) are allowed.
  • If any address (excluding port number) in the chain (comma separated) matches the CIDR defined by the property.

X-Azure-FDID and X-FD-HealthProbe. The matching logic is exact match.

properties.siteConfig.ipSecurityRestrictions[].headers.name String No
properties.siteConfig.ipSecurityRestrictions[].tag String No

Defines what this IP filter will be used for. This is to support IP filtering on proxies.

Possible values:

  • "XffProxy"
  • "Default"
  • "ServiceTag"
properties.lastModifiedTimeUtc String No

Last time the app was modified, in UTC. Read-only.

properties.inProgressOperationId String No

Specifies an operation id if this site has a pending operation.

properties.cloningInfo Object No

Information needed for cloning operation.

properties.cloningInfo.configureLoadBalancing Boolean No

true to configure load balancing for source and destination app.

properties.cloningInfo.correlationId String No

Correlation ID of cloning operation. This ID ties multiple cloning operations together to use the same snapshot.

properties.cloningInfo.appSettingsOverrides Object No

Application setting overrides for cloned app. If specified, these settings override the settings cloned from source app. Otherwise, application settings from source app are retained.

properties.cloningInfo.overwrite Boolean No

true to overwrite destination app; otherwise, false.

properties.cloningInfo.sourceWebAppId String Yes

ARM resource ID of the source app. App resource ID is of the form /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} for production slots and /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} for other slots.

properties.cloningInfo.hostingEnvironment String No

App Service Environment.

properties.cloningInfo.cloneCustomHostNames Boolean No

true to clone custom hostnames from source app; otherwise, false.

properties.cloningInfo.trafficManagerProfileId String No

ARM resource ID of the Traffic Manager profile to use, if it exists. Traffic Manager resource ID is of the form /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{profileName}.

properties.cloningInfo.sourceWebAppLocation String No

Location of source app ex: West US or North Europe

properties.cloningInfo.trafficManagerProfileName String No

Name of Traffic Manager profile to create. This is only needed if Traffic Manager profile does not already exist.

properties.cloningInfo.cloneSourceControl Boolean No

true to clone source control from source app; otherwise, false.

properties.outboundIpAddresses String No

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.

properties.resourceConfig Object No

Function app resource requirements.

properties.resourceConfig.memory String No

Required memory, e.g. "1Gi"

properties.resourceConfig.cpu Number No

Required CPU in cores, e.g. 0.5

properties.hostingEnvironmentProfile Object No

Specification for an App Service Environment to use for this resource.

properties.hostingEnvironmentProfile.id String No

Resource ID of the App Service Environment.

properties.hostingEnvironmentProfile.name String No

Name of the App Service Environment.

properties.hostingEnvironmentProfile.type String No

Resource type of the App Service Environment.

properties.scmSiteAlsoStopped Boolean No

true to stop SCM (KUDU) site when the app is stopped; otherwise, false. The default is false.

Default value: false

properties.httpsOnly Boolean No

HttpsOnly: configures a web site to accept only https requests. Issues redirect for http requests

properties.redundancyMode String No

Site redundancy mode

Possible values:

  • "ActiveActive"
  • "GeoRedundant"
  • "Manual"
  • "Failover"
  • "None"
type String No

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

identity Object No

Managed service identity.

identity.tenantId String No

Tenant of managed service identity.

identity.type String No

Type of managed service identity.

Possible values:

  • "SystemAssigned"
  • "UserAssigned"
  • "None"
  • "SystemAssigned, UserAssigned"
identity.userAssignedIdentities Object No

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}

identity.userAssignedIdentities.name Object No

User Assigned identity.

identity.userAssignedIdentities.name.principalId String No

Principal Id of user assigned identity

identity.userAssignedIdentities.name.clientId String No

Client Id of user assigned identity

identity.principalId String No

Principal Id of managed service identity.

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.