Microsoft.Web (stable:2025-03-01)

2025/11/14 • 2 updated methods

WebApps_Update (updated)
Description Description for Creates a new web, mobile, or API app in an existing resource group, or updates an existing app.
Reference Link ¶

⚶ Changes

{
  "#id": "WebApps_Update",
  "$parameters": {
    "siteEnvelope": {
      "$properties": {
        "properties": [
          {
            "@added_755354fc12904724b01bf7ee774a4445": {
              "#name": "publicNetworkAccess",
              "Description": "Property to allow or block all public traffic. Allowed Values: 'Enabled', 'Disabled' or an empty string.",
              "Required": false,
              "Type": "string"
            }
          }
        ]
      }
    }
  }
}

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}
{
resourceGroupName: string ,
name: string ,
siteEnvelope:
{
properties:
{
state: string ,
hostNames:
[
string ,
]
,
repositorySiteName: string ,
usageState: enum ,
enabled: boolean ,
enabledHostNames:
[
string ,
]
,
availabilityState: enum ,
hostNameSslStates:
[
{
name: string ,
sslState: enum ,
virtualIP: string ,
thumbprint: string ,
toUpdate: boolean ,
hostType: enum ,
}
,
]
,
serverFarmId: string ,
reserved: boolean ,
isXenon: boolean ,
hyperV: boolean ,
lastModifiedTimeUtc: string ,
dnsConfiguration:
{
dnsServers:
[
string ,
]
,
dnsAltServer: string ,
dnsRetryAttemptTimeout: integer ,
dnsRetryAttemptCount: integer ,
dnsMaxCacheTimeout: integer ,
dnsLegacySortOrder: boolean ,
}
,
siteConfig:
{
numberOfWorkers: integer ,
defaultDocuments:
[
string ,
]
,
netFrameworkVersion: string ,
phpVersion: string ,
pythonVersion: string ,
nodeVersion: string ,
powerShellVersion: string ,
linuxFxVersion: string ,
windowsFxVersion: string ,
requestTracingEnabled: boolean ,
requestTracingExpirationTime: string ,
remoteDebuggingEnabled: boolean ,
remoteDebuggingVersion: string ,
httpLoggingEnabled: boolean ,
acrUseManagedIdentityCreds: boolean ,
acrUserManagedIdentityID: string ,
logsDirectorySizeLimit: integer ,
detailedErrorLoggingEnabled: boolean ,
publishingUsername: string ,
appSettings:
[
{
name: string ,
value: string ,
}
,
]
,
metadata:
[
{
name: string ,
value: string ,
}
,
]
,
connectionStrings:
[
{
name: string ,
connectionString: string ,
type: enum ,
}
,
]
,
machineKey:
{
validation: string ,
validationKey: string ,
decryption: string ,
decryptionKey: string ,
}
,
handlerMappings:
[
{
extension: string ,
scriptProcessor: string ,
arguments: string ,
}
,
]
,
documentRoot: string ,
scmType: enum ,
use32BitWorkerProcess: boolean ,
webSocketsEnabled: boolean ,
alwaysOn: boolean ,
javaVersion: string ,
javaContainer: string ,
javaContainerVersion: string ,
appCommandLine: string ,
managedPipelineMode: enum ,
virtualApplications:
[
{
virtualPath: string ,
physicalPath: string ,
preloadEnabled: boolean ,
virtualDirectories:
[
{
virtualPath: string ,
physicalPath: string ,
}
,
]
,
}
,
]
,
loadBalancing: enum ,
experiments:
{
rampUpRules:
[
{
actionHostName: string ,
reroutePercentage: number ,
changeStep: number ,
changeIntervalInMinutes: integer ,
minReroutePercentage: number ,
maxReroutePercentage: number ,
changeDecisionCallbackUrl: string ,
name: string ,
}
,
]
,
}
,
limits:
{
maxPercentageCpu: number ,
maxMemoryInMb: integer ,
maxDiskSizeInMb: integer ,
}
,
autoHealEnabled: boolean ,
autoHealRules:
{
triggers:
{
requests:
{
count: integer ,
timeInterval: string ,
}
,
privateBytesInKB: integer ,
statusCodes:
[
{
status: integer ,
subStatus: integer ,
win32Status: integer ,
count: integer ,
timeInterval: string ,
path: string ,
}
,
]
,
slowRequests:
{
timeTaken: string ,
path: string ,
count: integer ,
timeInterval: string ,
}
,
slowRequestsWithPath:
[
{
timeTaken: string ,
path: string ,
count: integer ,
timeInterval: string ,
}
,
]
,
statusCodesRange:
[
{
statusCodes: string ,
path: string ,
count: integer ,
timeInterval: string ,
}
,
]
,
}
,
actions:
{
actionType: enum ,
customAction:
{
exe: string ,
parameters: string ,
}
,
minProcessExecutionTime: string ,
}
,
}
,
tracingOptions: string ,
vnetName: string ,
vnetRouteAllEnabled: boolean ,
vnetPrivatePortsCount: integer ,
cors:
{
allowedOrigins:
[
string ,
]
,
supportCredentials: boolean ,
}
,
push:
{
properties:
{
isPushEnabled: boolean ,
tagWhitelistJson: string ,
tagsRequiringAuth: string ,
dynamicTagsJson: string ,
}
,
}
,
apiDefinition:
{
url: string ,
}
,
apiManagementConfig:
{
id: string ,
}
,
autoSwapSlotName: string ,
localMySqlEnabled: boolean ,
managedServiceIdentityId: integer ,
xManagedServiceIdentityId: integer ,
keyVaultReferenceIdentity: string ,
ipSecurityRestrictions:
[
{
ipAddress: string ,
subnetMask: string ,
vnetSubnetResourceId: string ,
vnetTrafficTag: integer ,
subnetTrafficTag: integer ,
action: string ,
tag: enum ,
priority: integer ,
name: string ,
description: string ,
headers: object ,
}
,
]
,
ipSecurityRestrictionsDefaultAction: enum ,
scmIpSecurityRestrictions:
[
{
ipAddress: string ,
subnetMask: string ,
vnetSubnetResourceId: string ,
vnetTrafficTag: integer ,
subnetTrafficTag: integer ,
action: string ,
tag: enum ,
priority: integer ,
name: string ,
description: string ,
headers: object ,
}
,
]
,
scmIpSecurityRestrictionsDefaultAction: enum ,
scmIpSecurityRestrictionsUseMain: boolean ,
http20Enabled: boolean ,
http20ProxyFlag: integer ,
minTlsVersion: enum ,
minTlsCipherSuite: enum ,
scmMinTlsVersion: enum ,
ftpsState: enum ,
preWarmedInstanceCount: integer ,
functionAppScaleLimit: integer ,
elasticWebAppScaleLimit: integer ,
healthCheckPath: string ,
functionsRuntimeScaleMonitoringEnabled: boolean ,
websiteTimeZone: string ,
minimumElasticInstanceCount: integer ,
azureStorageAccounts: object ,
publicNetworkAccess: string ,
}
,
trafficManagerHostNames:
[
string ,
]
,
scmSiteAlsoStopped: boolean ,
targetSwapSlot: string ,
hostingEnvironmentProfile:
{
id: string ,
name: string ,
type: string ,
}
,
clientAffinityEnabled: boolean ,
clientAffinityProxyEnabled: boolean ,
clientCertEnabled: boolean ,
clientCertMode: enum ,
clientCertExclusionPaths: string ,
hostNamesDisabled: boolean ,
customDomainVerificationId: string ,
outboundIpAddresses: string ,
possibleOutboundIpAddresses: string ,
containerSize: integer ,
dailyMemoryTimeQuota: integer ,
suspendedTill: string ,
maxNumberOfWorkers: integer ,
cloningInfo:
{
correlationId: string ,
overwrite: boolean ,
cloneCustomHostNames: boolean ,
cloneSourceControl: boolean ,
sourceWebAppId: string ,
sourceWebAppLocation: string ,
hostingEnvironment: string ,
appSettingsOverrides: object ,
configureLoadBalancing: boolean ,
trafficManagerProfileId: string ,
trafficManagerProfileName: string ,
}
,
resourceGroup: string ,
isDefaultContainer: boolean ,
defaultHostName: string ,
slotSwapStatus:
{
timestampUtc: string ,
sourceSlotName: string ,
destinationSlotName: string ,
}
,
httpsOnly: boolean ,
redundancyMode: enum ,
inProgressOperationId: string ,
publicNetworkAccess: string ,
storageAccountRequired: boolean ,
keyVaultReferenceIdentity: string ,
virtualNetworkSubnetId: string ,
}
,
identity:
{
type: enum ,
tenantId: string ,
principalId: string ,
userAssignedIdentities: object ,
}
,
}
,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
state: string ,
hostNames:
[
string ,
]
,
repositorySiteName: string ,
usageState: enum ,
enabled: boolean ,
enabledHostNames:
[
string ,
]
,
availabilityState: enum ,
hostNameSslStates:
[
{
name: string ,
sslState: enum ,
virtualIP: string ,
thumbprint: string ,
toUpdate: boolean ,
hostType: enum ,
}
,
]
,
serverFarmId: string ,
reserved: boolean ,
isXenon: boolean ,
hyperV: boolean ,
lastModifiedTimeUtc: string ,
dnsConfiguration:
{
dnsServers:
[
string ,
]
,
dnsAltServer: string ,
dnsRetryAttemptTimeout: integer ,
dnsRetryAttemptCount: integer ,
dnsMaxCacheTimeout: integer ,
dnsLegacySortOrder: boolean ,
}
,
outboundVnetRouting:
{
allTraffic: boolean ,
applicationTraffic: boolean ,
contentShareTraffic: boolean ,
imagePullTraffic: boolean ,
backupRestoreTraffic: boolean ,
}
,
siteConfig:
{
numberOfWorkers: integer ,
defaultDocuments:
[
string ,
]
,
netFrameworkVersion: string ,
phpVersion: string ,
pythonVersion: string ,
nodeVersion: string ,
powerShellVersion: string ,
linuxFxVersion: string ,
windowsFxVersion: string ,
requestTracingEnabled: boolean ,
requestTracingExpirationTime: string ,
remoteDebuggingEnabled: boolean ,
remoteDebuggingVersion: string ,
httpLoggingEnabled: boolean ,
acrUseManagedIdentityCreds: boolean ,
acrUserManagedIdentityID: string ,
logsDirectorySizeLimit: integer ,
detailedErrorLoggingEnabled: boolean ,
publishingUsername: string ,
appSettings:
[
{
name: string ,
value: string ,
}
,
]
,
metadata:
[
{
name: string ,
value: string ,
}
,
]
,
connectionStrings:
[
{
name: string ,
connectionString: string ,
type: enum ,
}
,
]
,
machineKey:
{
validation: string ,
validationKey: string ,
decryption: string ,
decryptionKey: string ,
}
,
handlerMappings:
[
{
extension: string ,
scriptProcessor: string ,
arguments: string ,
}
,
]
,
documentRoot: string ,
scmType: enum ,
use32BitWorkerProcess: boolean ,
webSocketsEnabled: boolean ,
alwaysOn: boolean ,
javaVersion: string ,
javaContainer: string ,
javaContainerVersion: string ,
appCommandLine: string ,
managedPipelineMode: enum ,
virtualApplications:
[
{
virtualPath: string ,
physicalPath: string ,
preloadEnabled: boolean ,
virtualDirectories:
[
{
virtualPath: string ,
physicalPath: string ,
}
,
]
,
}
,
]
,
loadBalancing: enum ,
experiments:
{
rampUpRules:
[
{
actionHostName: string ,
reroutePercentage: number ,
changeStep: number ,
changeIntervalInMinutes: integer ,
minReroutePercentage: number ,
maxReroutePercentage: number ,
changeDecisionCallbackUrl: string ,
name: string ,
}
,
]
,
}
,
limits:
{
maxPercentageCpu: number ,
maxMemoryInMb: integer ,
maxDiskSizeInMb: integer ,
}
,
autoHealEnabled: boolean ,
autoHealRules:
{
triggers:
{
requests:
{
count: integer ,
timeInterval: string ,
}
,
privateBytesInKB: integer ,
statusCodes:
[
{
status: integer ,
subStatus: integer ,
win32Status: integer ,
count: integer ,
timeInterval: string ,
path: string ,
}
,
]
,
slowRequests:
{
timeTaken: string ,
path: string ,
count: integer ,
timeInterval: string ,
}
,
slowRequestsWithPath:
[
{
timeTaken: string ,
path: string ,
count: integer ,
timeInterval: string ,
}
,
]
,
statusCodesRange:
[
{
statusCodes: string ,
path: string ,
count: integer ,
timeInterval: string ,
}
,
]
,
}
,
actions:
{
actionType: enum ,
customAction:
{
exe: string ,
parameters: string ,
}
,
minProcessExecutionTime: string ,
}
,
}
,
tracingOptions: string ,
vnetName: string ,
vnetRouteAllEnabled: boolean ,
vnetPrivatePortsCount: integer ,
cors:
{
allowedOrigins:
[
string ,
]
,
supportCredentials: boolean ,
}
,
push:
{
properties:
{
isPushEnabled: boolean ,
tagWhitelistJson: string ,
tagsRequiringAuth: string ,
dynamicTagsJson: string ,
}
,
}
,
apiDefinition:
{
url: string ,
}
,
apiManagementConfig:
{
id: string ,
}
,
autoSwapSlotName: string ,
localMySqlEnabled: boolean ,
managedServiceIdentityId: integer ,
xManagedServiceIdentityId: integer ,
keyVaultReferenceIdentity: string ,
ipSecurityRestrictions:
[
{
ipAddress: string ,
subnetMask: string ,
vnetSubnetResourceId: string ,
vnetTrafficTag: integer ,
subnetTrafficTag: integer ,
action: string ,
tag: enum ,
priority: integer ,
name: string ,
description: string ,
headers: object ,
}
,
]
,
ipSecurityRestrictionsDefaultAction: enum ,
scmIpSecurityRestrictions:
[
{
ipAddress: string ,
subnetMask: string ,
vnetSubnetResourceId: string ,
vnetTrafficTag: integer ,
subnetTrafficTag: integer ,
action: string ,
tag: enum ,
priority: integer ,
name: string ,
description: string ,
headers: object ,
}
,
]
,
scmIpSecurityRestrictionsDefaultAction: enum ,
scmIpSecurityRestrictionsUseMain: boolean ,
http20Enabled: boolean ,
http20ProxyFlag: integer ,
minTlsVersion: enum ,
minTlsCipherSuite: enum ,
scmMinTlsVersion: enum ,
ftpsState: enum ,
preWarmedInstanceCount: integer ,
functionAppScaleLimit: integer ,
elasticWebAppScaleLimit: integer ,
healthCheckPath: string ,
functionsRuntimeScaleMonitoringEnabled: boolean ,
websiteTimeZone: string ,
minimumElasticInstanceCount: integer ,
azureStorageAccounts: object ,
publicNetworkAccess: string ,
}
,
functionAppConfig:
{
deployment:
{
storage:
{
type: enum ,
value: string ,
authentication:
{
type: enum ,
userAssignedIdentityResourceId: string ,
storageAccountConnectionStringName: string ,
}
,
}
,
}
,
runtime:
{
name: enum ,
version: string ,
}
,
scaleAndConcurrency:
{
alwaysReady:
[
{
name: string ,
instanceCount: integer ,
}
,
]
,
maximumInstanceCount: integer ,
instanceMemoryMB: integer ,
triggers:
{
http:
{
perInstanceConcurrency: integer ,
}
,
}
,
}
,
}
,
daprConfig:
{
enabled: boolean ,
appId: string ,
appPort: integer ,
httpReadBufferSize: integer ,
httpMaxRequestSize: integer ,
logLevel: enum ,
enableApiLogging: boolean ,
}
,
workloadProfileName: string ,
resourceConfig:
{
cpu: number ,
memory: string ,
}
,
trafficManagerHostNames:
[
string ,
]
,
scmSiteAlsoStopped: boolean ,
targetSwapSlot: string ,
hostingEnvironmentProfile:
{
id: string ,
name: string ,
type: string ,
}
,
clientAffinityEnabled: boolean ,
clientAffinityPartitioningEnabled: boolean ,
clientAffinityProxyEnabled: boolean ,
clientCertEnabled: boolean ,
clientCertMode: enum ,
clientCertExclusionPaths: string ,
ipMode: enum ,
endToEndEncryptionEnabled: boolean ,
sshEnabled: boolean ,
hostNamesDisabled: boolean ,
customDomainVerificationId: string ,
outboundIpAddresses: string ,
possibleOutboundIpAddresses: string ,
containerSize: integer ,
dailyMemoryTimeQuota: integer ,
suspendedTill: string ,
maxNumberOfWorkers: integer ,
cloningInfo:
{
correlationId: string ,
overwrite: boolean ,
cloneCustomHostNames: boolean ,
cloneSourceControl: boolean ,
sourceWebAppId: string ,
sourceWebAppLocation: string ,
hostingEnvironment: string ,
appSettingsOverrides: object ,
configureLoadBalancing: boolean ,
trafficManagerProfileId: string ,
trafficManagerProfileName: string ,
}
,
resourceGroup: string ,
isDefaultContainer: boolean ,
defaultHostName: string ,
slotSwapStatus:
{
timestampUtc: string ,
sourceSlotName: string ,
destinationSlotName: string ,
}
,
httpsOnly: boolean ,
redundancyMode: enum ,
inProgressOperationId: string ,
publicNetworkAccess: string ,
storageAccountRequired: boolean ,
keyVaultReferenceIdentity: string ,
autoGeneratedDomainNameLabelScope: enum ,
virtualNetworkSubnetId: string ,
managedEnvironmentId: string ,
sku: string ,
}
,
identity:
{
type: enum ,
tenantId: string ,
principalId: string ,
userAssignedIdentities: object ,
}
,
extendedLocation:
{
name: string ,
type: string ,
}
,
}

⚐ Response (202)

{
properties:
{
state: string ,
hostNames:
[
string ,
]
,
repositorySiteName: string ,
usageState: enum ,
enabled: boolean ,
enabledHostNames:
[
string ,
]
,
availabilityState: enum ,
hostNameSslStates:
[
{
name: string ,
sslState: enum ,
virtualIP: string ,
thumbprint: string ,
toUpdate: boolean ,
hostType: enum ,
}
,
]
,
serverFarmId: string ,
reserved: boolean ,
isXenon: boolean ,
hyperV: boolean ,
lastModifiedTimeUtc: string ,
dnsConfiguration:
{
dnsServers:
[
string ,
]
,
dnsAltServer: string ,
dnsRetryAttemptTimeout: integer ,
dnsRetryAttemptCount: integer ,
dnsMaxCacheTimeout: integer ,
dnsLegacySortOrder: boolean ,
}
,
outboundVnetRouting:
{
allTraffic: boolean ,
applicationTraffic: boolean ,
contentShareTraffic: boolean ,
imagePullTraffic: boolean ,
backupRestoreTraffic: boolean ,
}
,
siteConfig:
{
numberOfWorkers: integer ,
defaultDocuments:
[
string ,
]
,
netFrameworkVersion: string ,
phpVersion: string ,
pythonVersion: string ,
nodeVersion: string ,
powerShellVersion: string ,
linuxFxVersion: string ,
windowsFxVersion: string ,
requestTracingEnabled: boolean ,
requestTracingExpirationTime: string ,
remoteDebuggingEnabled: boolean ,
remoteDebuggingVersion: string ,
httpLoggingEnabled: boolean ,
acrUseManagedIdentityCreds: boolean ,
acrUserManagedIdentityID: string ,
logsDirectorySizeLimit: integer ,
detailedErrorLoggingEnabled: boolean ,
publishingUsername: string ,
appSettings:
[
{
name: string ,
value: string ,
}
,
]
,
metadata:
[
{
name: string ,
value: string ,
}
,
]
,
connectionStrings:
[
{
name: string ,
connectionString: string ,
type: enum ,
}
,
]
,
machineKey:
{
validation: string ,
validationKey: string ,
decryption: string ,
decryptionKey: string ,
}
,
handlerMappings:
[
{
extension: string ,
scriptProcessor: string ,
arguments: string ,
}
,
]
,
documentRoot: string ,
scmType: enum ,
use32BitWorkerProcess: boolean ,
webSocketsEnabled: boolean ,
alwaysOn: boolean ,
javaVersion: string ,
javaContainer: string ,
javaContainerVersion: string ,
appCommandLine: string ,
managedPipelineMode: enum ,
virtualApplications:
[
{
virtualPath: string ,
physicalPath: string ,
preloadEnabled: boolean ,
virtualDirectories:
[
{
virtualPath: string ,
physicalPath: string ,
}
,
]
,
}
,
]
,
loadBalancing: enum ,
experiments:
{
rampUpRules:
[
{
actionHostName: string ,
reroutePercentage: number ,
changeStep: number ,
changeIntervalInMinutes: integer ,
minReroutePercentage: number ,
maxReroutePercentage: number ,
changeDecisionCallbackUrl: string ,
name: string ,
}
,
]
,
}
,
limits:
{
maxPercentageCpu: number ,
maxMemoryInMb: integer ,
maxDiskSizeInMb: integer ,
}
,
autoHealEnabled: boolean ,
autoHealRules:
{
triggers:
{
requests:
{
count: integer ,
timeInterval: string ,
}
,
privateBytesInKB: integer ,
statusCodes:
[
{
status: integer ,
subStatus: integer ,
win32Status: integer ,
count: integer ,
timeInterval: string ,
path: string ,
}
,
]
,
slowRequests:
{
timeTaken: string ,
path: string ,
count: integer ,
timeInterval: string ,
}
,
slowRequestsWithPath:
[
{
timeTaken: string ,
path: string ,
count: integer ,
timeInterval: string ,
}
,
]
,
statusCodesRange:
[
{
statusCodes: string ,
path: string ,
count: integer ,
timeInterval: string ,
}
,
]
,
}
,
actions:
{
actionType: enum ,
customAction:
{
exe: string ,
parameters: string ,
}
,
minProcessExecutionTime: string ,
}
,
}
,
tracingOptions: string ,
vnetName: string ,
vnetRouteAllEnabled: boolean ,
vnetPrivatePortsCount: integer ,
cors:
{
allowedOrigins:
[
string ,
]
,
supportCredentials: boolean ,
}
,
push:
{
properties:
{
isPushEnabled: boolean ,
tagWhitelistJson: string ,
tagsRequiringAuth: string ,
dynamicTagsJson: string ,
}
,
}
,
apiDefinition:
{
url: string ,
}
,
apiManagementConfig:
{
id: string ,
}
,
autoSwapSlotName: string ,
localMySqlEnabled: boolean ,
managedServiceIdentityId: integer ,
xManagedServiceIdentityId: integer ,
keyVaultReferenceIdentity: string ,
ipSecurityRestrictions:
[
{
ipAddress: string ,
subnetMask: string ,
vnetSubnetResourceId: string ,
vnetTrafficTag: integer ,
subnetTrafficTag: integer ,
action: string ,
tag: enum ,
priority: integer ,
name: string ,
description: string ,
headers: object ,
}
,
]
,
ipSecurityRestrictionsDefaultAction: enum ,
scmIpSecurityRestrictions:
[
{
ipAddress: string ,
subnetMask: string ,
vnetSubnetResourceId: string ,
vnetTrafficTag: integer ,
subnetTrafficTag: integer ,
action: string ,
tag: enum ,
priority: integer ,
name: string ,
description: string ,
headers: object ,
}
,
]
,
scmIpSecurityRestrictionsDefaultAction: enum ,
scmIpSecurityRestrictionsUseMain: boolean ,
http20Enabled: boolean ,
http20ProxyFlag: integer ,
minTlsVersion: enum ,
minTlsCipherSuite: enum ,
scmMinTlsVersion: enum ,
ftpsState: enum ,
preWarmedInstanceCount: integer ,
functionAppScaleLimit: integer ,
elasticWebAppScaleLimit: integer ,
healthCheckPath: string ,
functionsRuntimeScaleMonitoringEnabled: boolean ,
websiteTimeZone: string ,
minimumElasticInstanceCount: integer ,
azureStorageAccounts: object ,
publicNetworkAccess: string ,
}
,
functionAppConfig:
{
deployment:
{
storage:
{
type: enum ,
value: string ,
authentication:
{
type: enum ,
userAssignedIdentityResourceId: string ,
storageAccountConnectionStringName: string ,
}
,
}
,
}
,
runtime:
{
name: enum ,
version: string ,
}
,
scaleAndConcurrency:
{
alwaysReady:
[
{
name: string ,
instanceCount: integer ,
}
,
]
,
maximumInstanceCount: integer ,
instanceMemoryMB: integer ,
triggers:
{
http:
{
perInstanceConcurrency: integer ,
}
,
}
,
}
,
}
,
daprConfig:
{
enabled: boolean ,
appId: string ,
appPort: integer ,
httpReadBufferSize: integer ,
httpMaxRequestSize: integer ,
logLevel: enum ,
enableApiLogging: boolean ,
}
,
workloadProfileName: string ,
resourceConfig:
{
cpu: number ,
memory: string ,
}
,
trafficManagerHostNames:
[
string ,
]
,
scmSiteAlsoStopped: boolean ,
targetSwapSlot: string ,
hostingEnvironmentProfile:
{
id: string ,
name: string ,
type: string ,
}
,
clientAffinityEnabled: boolean ,
clientAffinityPartitioningEnabled: boolean ,
clientAffinityProxyEnabled: boolean ,
clientCertEnabled: boolean ,
clientCertMode: enum ,
clientCertExclusionPaths: string ,
ipMode: enum ,
endToEndEncryptionEnabled: boolean ,
sshEnabled: boolean ,
hostNamesDisabled: boolean ,
customDomainVerificationId: string ,
outboundIpAddresses: string ,
possibleOutboundIpAddresses: string ,
containerSize: integer ,
dailyMemoryTimeQuota: integer ,
suspendedTill: string ,
maxNumberOfWorkers: integer ,
cloningInfo:
{
correlationId: string ,
overwrite: boolean ,
cloneCustomHostNames: boolean ,
cloneSourceControl: boolean ,
sourceWebAppId: string ,
sourceWebAppLocation: string ,
hostingEnvironment: string ,
appSettingsOverrides: object ,
configureLoadBalancing: boolean ,
trafficManagerProfileId: string ,
trafficManagerProfileName: string ,
}
,
resourceGroup: string ,
isDefaultContainer: boolean ,
defaultHostName: string ,
slotSwapStatus:
{
timestampUtc: string ,
sourceSlotName: string ,
destinationSlotName: string ,
}
,
httpsOnly: boolean ,
redundancyMode: enum ,
inProgressOperationId: string ,
publicNetworkAccess: string ,
storageAccountRequired: boolean ,
keyVaultReferenceIdentity: string ,
autoGeneratedDomainNameLabelScope: enum ,
virtualNetworkSubnetId: string ,
managedEnvironmentId: string ,
sku: string ,
}
,
identity:
{
type: enum ,
tenantId: string ,
principalId: string ,
userAssignedIdentities: object ,
}
,
extendedLocation:
{
name: string ,
type: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
innererror: string ,
}
,
}
WebApps_UpdateSlot (updated)
Description Description for Creates a new web, mobile, or API app in an existing resource group, or updates an existing app.
Reference Link ¶

⚶ Changes

{
  "#id": "WebApps_UpdateSlot",
  "$parameters": {
    "siteEnvelope": {
      "$properties": {
        "properties": [
          {
            "@added_7e015d25411e4d17bb405b545d25bcf1": {
              "#name": "publicNetworkAccess",
              "Description": "Property to allow or block all public traffic. Allowed Values: 'Enabled', 'Disabled' or an empty string.",
              "Required": false,
              "Type": "string"
            }
          }
        ]
      }
    }
  }
}

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}
{
resourceGroupName: string ,
name: string ,
siteEnvelope:
{
properties:
{
state: string ,
hostNames:
[
string ,
]
,
repositorySiteName: string ,
usageState: enum ,
enabled: boolean ,
enabledHostNames:
[
string ,
]
,
availabilityState: enum ,
hostNameSslStates:
[
{
name: string ,
sslState: enum ,
virtualIP: string ,
thumbprint: string ,
toUpdate: boolean ,
hostType: enum ,
}
,
]
,
serverFarmId: string ,
reserved: boolean ,
isXenon: boolean ,
hyperV: boolean ,
lastModifiedTimeUtc: string ,
dnsConfiguration:
{
dnsServers:
[
string ,
]
,
dnsAltServer: string ,
dnsRetryAttemptTimeout: integer ,
dnsRetryAttemptCount: integer ,
dnsMaxCacheTimeout: integer ,
dnsLegacySortOrder: boolean ,
}
,
siteConfig:
{
numberOfWorkers: integer ,
defaultDocuments:
[
string ,
]
,
netFrameworkVersion: string ,
phpVersion: string ,
pythonVersion: string ,
nodeVersion: string ,
powerShellVersion: string ,
linuxFxVersion: string ,
windowsFxVersion: string ,
requestTracingEnabled: boolean ,
requestTracingExpirationTime: string ,
remoteDebuggingEnabled: boolean ,
remoteDebuggingVersion: string ,
httpLoggingEnabled: boolean ,
acrUseManagedIdentityCreds: boolean ,
acrUserManagedIdentityID: string ,
logsDirectorySizeLimit: integer ,
detailedErrorLoggingEnabled: boolean ,
publishingUsername: string ,
appSettings:
[
{
name: string ,
value: string ,
}
,
]
,
metadata:
[
{
name: string ,
value: string ,
}
,
]
,
connectionStrings:
[
{
name: string ,
connectionString: string ,
type: enum ,
}
,
]
,
machineKey:
{
validation: string ,
validationKey: string ,
decryption: string ,
decryptionKey: string ,
}
,
handlerMappings:
[
{
extension: string ,
scriptProcessor: string ,
arguments: string ,
}
,
]
,
documentRoot: string ,
scmType: enum ,
use32BitWorkerProcess: boolean ,
webSocketsEnabled: boolean ,
alwaysOn: boolean ,
javaVersion: string ,
javaContainer: string ,
javaContainerVersion: string ,
appCommandLine: string ,
managedPipelineMode: enum ,
virtualApplications:
[
{
virtualPath: string ,
physicalPath: string ,
preloadEnabled: boolean ,
virtualDirectories:
[
{
virtualPath: string ,
physicalPath: string ,
}
,
]
,
}
,
]
,
loadBalancing: enum ,
experiments:
{
rampUpRules:
[
{
actionHostName: string ,
reroutePercentage: number ,
changeStep: number ,
changeIntervalInMinutes: integer ,
minReroutePercentage: number ,
maxReroutePercentage: number ,
changeDecisionCallbackUrl: string ,
name: string ,
}
,
]
,
}
,
limits:
{
maxPercentageCpu: number ,
maxMemoryInMb: integer ,
maxDiskSizeInMb: integer ,
}
,
autoHealEnabled: boolean ,
autoHealRules:
{
triggers:
{
requests:
{
count: integer ,
timeInterval: string ,
}
,
privateBytesInKB: integer ,
statusCodes:
[
{
status: integer ,
subStatus: integer ,
win32Status: integer ,
count: integer ,
timeInterval: string ,
path: string ,
}
,
]
,
slowRequests:
{
timeTaken: string ,
path: string ,
count: integer ,
timeInterval: string ,
}
,
slowRequestsWithPath:
[
{
timeTaken: string ,
path: string ,
count: integer ,
timeInterval: string ,
}
,
]
,
statusCodesRange:
[
{
statusCodes: string ,
path: string ,
count: integer ,
timeInterval: string ,
}
,
]
,
}
,
actions:
{
actionType: enum ,
customAction:
{
exe: string ,
parameters: string ,
}
,
minProcessExecutionTime: string ,
}
,
}
,
tracingOptions: string ,
vnetName: string ,
vnetRouteAllEnabled: boolean ,
vnetPrivatePortsCount: integer ,
cors:
{
allowedOrigins:
[
string ,
]
,
supportCredentials: boolean ,
}
,
push:
{
properties:
{
isPushEnabled: boolean ,
tagWhitelistJson: string ,
tagsRequiringAuth: string ,
dynamicTagsJson: string ,
}
,
}
,
apiDefinition:
{
url: string ,
}
,
apiManagementConfig:
{
id: string ,
}
,
autoSwapSlotName: string ,
localMySqlEnabled: boolean ,
managedServiceIdentityId: integer ,
xManagedServiceIdentityId: integer ,
keyVaultReferenceIdentity: string ,
ipSecurityRestrictions:
[
{
ipAddress: string ,
subnetMask: string ,
vnetSubnetResourceId: string ,
vnetTrafficTag: integer ,
subnetTrafficTag: integer ,
action: string ,
tag: enum ,
priority: integer ,
name: string ,
description: string ,
headers: object ,
}
,
]
,
ipSecurityRestrictionsDefaultAction: enum ,
scmIpSecurityRestrictions:
[
{
ipAddress: string ,
subnetMask: string ,
vnetSubnetResourceId: string ,
vnetTrafficTag: integer ,
subnetTrafficTag: integer ,
action: string ,
tag: enum ,
priority: integer ,
name: string ,
description: string ,
headers: object ,
}
,
]
,
scmIpSecurityRestrictionsDefaultAction: enum ,
scmIpSecurityRestrictionsUseMain: boolean ,
http20Enabled: boolean ,
http20ProxyFlag: integer ,
minTlsVersion: enum ,
minTlsCipherSuite: enum ,
scmMinTlsVersion: enum ,
ftpsState: enum ,
preWarmedInstanceCount: integer ,
functionAppScaleLimit: integer ,
elasticWebAppScaleLimit: integer ,
healthCheckPath: string ,
functionsRuntimeScaleMonitoringEnabled: boolean ,
websiteTimeZone: string ,
minimumElasticInstanceCount: integer ,
azureStorageAccounts: object ,
publicNetworkAccess: string ,
}
,
trafficManagerHostNames:
[
string ,
]
,
scmSiteAlsoStopped: boolean ,
targetSwapSlot: string ,
hostingEnvironmentProfile:
{
id: string ,
name: string ,
type: string ,
}
,
clientAffinityEnabled: boolean ,
clientAffinityProxyEnabled: boolean ,
clientCertEnabled: boolean ,
clientCertMode: enum ,
clientCertExclusionPaths: string ,
hostNamesDisabled: boolean ,
customDomainVerificationId: string ,
outboundIpAddresses: string ,
possibleOutboundIpAddresses: string ,
containerSize: integer ,
dailyMemoryTimeQuota: integer ,
suspendedTill: string ,
maxNumberOfWorkers: integer ,
cloningInfo:
{
correlationId: string ,
overwrite: boolean ,
cloneCustomHostNames: boolean ,
cloneSourceControl: boolean ,
sourceWebAppId: string ,
sourceWebAppLocation: string ,
hostingEnvironment: string ,
appSettingsOverrides: object ,
configureLoadBalancing: boolean ,
trafficManagerProfileId: string ,
trafficManagerProfileName: string ,
}
,
resourceGroup: string ,
isDefaultContainer: boolean ,
defaultHostName: string ,
slotSwapStatus:
{
timestampUtc: string ,
sourceSlotName: string ,
destinationSlotName: string ,
}
,
httpsOnly: boolean ,
redundancyMode: enum ,
inProgressOperationId: string ,
publicNetworkAccess: string ,
storageAccountRequired: boolean ,
keyVaultReferenceIdentity: string ,
virtualNetworkSubnetId: string ,
}
,
identity:
{
type: enum ,
tenantId: string ,
principalId: string ,
userAssignedIdentities: object ,
}
,
}
,
slot: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
state: string ,
hostNames:
[
string ,
]
,
repositorySiteName: string ,
usageState: enum ,
enabled: boolean ,
enabledHostNames:
[
string ,
]
,
availabilityState: enum ,
hostNameSslStates:
[
{
name: string ,
sslState: enum ,
virtualIP: string ,
thumbprint: string ,
toUpdate: boolean ,
hostType: enum ,
}
,
]
,
serverFarmId: string ,
reserved: boolean ,
isXenon: boolean ,
hyperV: boolean ,
lastModifiedTimeUtc: string ,
dnsConfiguration:
{
dnsServers:
[
string ,
]
,
dnsAltServer: string ,
dnsRetryAttemptTimeout: integer ,
dnsRetryAttemptCount: integer ,
dnsMaxCacheTimeout: integer ,
dnsLegacySortOrder: boolean ,
}
,
outboundVnetRouting:
{
allTraffic: boolean ,
applicationTraffic: boolean ,
contentShareTraffic: boolean ,
imagePullTraffic: boolean ,
backupRestoreTraffic: boolean ,
}
,
siteConfig:
{
numberOfWorkers: integer ,
defaultDocuments:
[
string ,
]
,
netFrameworkVersion: string ,
phpVersion: string ,
pythonVersion: string ,
nodeVersion: string ,
powerShellVersion: string ,
linuxFxVersion: string ,
windowsFxVersion: string ,
requestTracingEnabled: boolean ,
requestTracingExpirationTime: string ,
remoteDebuggingEnabled: boolean ,
remoteDebuggingVersion: string ,
httpLoggingEnabled: boolean ,
acrUseManagedIdentityCreds: boolean ,
acrUserManagedIdentityID: string ,
logsDirectorySizeLimit: integer ,
detailedErrorLoggingEnabled: boolean ,
publishingUsername: string ,
appSettings:
[
{
name: string ,
value: string ,
}
,
]
,
metadata:
[
{
name: string ,
value: string ,
}
,
]
,
connectionStrings:
[
{
name: string ,
connectionString: string ,
type: enum ,
}
,
]
,
machineKey:
{
validation: string ,
validationKey: string ,
decryption: string ,
decryptionKey: string ,
}
,
handlerMappings:
[
{
extension: string ,
scriptProcessor: string ,
arguments: string ,
}
,
]
,
documentRoot: string ,
scmType: enum ,
use32BitWorkerProcess: boolean ,
webSocketsEnabled: boolean ,
alwaysOn: boolean ,
javaVersion: string ,
javaContainer: string ,
javaContainerVersion: string ,
appCommandLine: string ,
managedPipelineMode: enum ,
virtualApplications:
[
{
virtualPath: string ,
physicalPath: string ,
preloadEnabled: boolean ,
virtualDirectories:
[
{
virtualPath: string ,
physicalPath: string ,
}
,
]
,
}
,
]
,
loadBalancing: enum ,
experiments:
{
rampUpRules:
[
{
actionHostName: string ,
reroutePercentage: number ,
changeStep: number ,
changeIntervalInMinutes: integer ,
minReroutePercentage: number ,
maxReroutePercentage: number ,
changeDecisionCallbackUrl: string ,
name: string ,
}
,
]
,
}
,
limits:
{
maxPercentageCpu: number ,
maxMemoryInMb: integer ,
maxDiskSizeInMb: integer ,
}
,
autoHealEnabled: boolean ,
autoHealRules:
{
triggers:
{
requests:
{
count: integer ,
timeInterval: string ,
}
,
privateBytesInKB: integer ,
statusCodes:
[
{
status: integer ,
subStatus: integer ,
win32Status: integer ,
count: integer ,
timeInterval: string ,
path: string ,
}
,
]
,
slowRequests:
{
timeTaken: string ,
path: string ,
count: integer ,
timeInterval: string ,
}
,
slowRequestsWithPath:
[
{
timeTaken: string ,
path: string ,
count: integer ,
timeInterval: string ,
}
,
]
,
statusCodesRange:
[
{
statusCodes: string ,
path: string ,
count: integer ,
timeInterval: string ,
}
,
]
,
}
,
actions:
{
actionType: enum ,
customAction:
{
exe: string ,
parameters: string ,
}
,
minProcessExecutionTime: string ,
}
,
}
,
tracingOptions: string ,
vnetName: string ,
vnetRouteAllEnabled: boolean ,
vnetPrivatePortsCount: integer ,
cors:
{
allowedOrigins:
[
string ,
]
,
supportCredentials: boolean ,
}
,
push:
{
properties:
{
isPushEnabled: boolean ,
tagWhitelistJson: string ,
tagsRequiringAuth: string ,
dynamicTagsJson: string ,
}
,
}
,
apiDefinition:
{
url: string ,
}
,
apiManagementConfig:
{
id: string ,
}
,
autoSwapSlotName: string ,
localMySqlEnabled: boolean ,
managedServiceIdentityId: integer ,
xManagedServiceIdentityId: integer ,
keyVaultReferenceIdentity: string ,
ipSecurityRestrictions:
[
{
ipAddress: string ,
subnetMask: string ,
vnetSubnetResourceId: string ,
vnetTrafficTag: integer ,
subnetTrafficTag: integer ,
action: string ,
tag: enum ,
priority: integer ,
name: string ,
description: string ,
headers: object ,
}
,
]
,
ipSecurityRestrictionsDefaultAction: enum ,
scmIpSecurityRestrictions:
[
{
ipAddress: string ,
subnetMask: string ,
vnetSubnetResourceId: string ,
vnetTrafficTag: integer ,
subnetTrafficTag: integer ,
action: string ,
tag: enum ,
priority: integer ,
name: string ,
description: string ,
headers: object ,
}
,
]
,
scmIpSecurityRestrictionsDefaultAction: enum ,
scmIpSecurityRestrictionsUseMain: boolean ,
http20Enabled: boolean ,
http20ProxyFlag: integer ,
minTlsVersion: enum ,
minTlsCipherSuite: enum ,
scmMinTlsVersion: enum ,
ftpsState: enum ,
preWarmedInstanceCount: integer ,
functionAppScaleLimit: integer ,
elasticWebAppScaleLimit: integer ,
healthCheckPath: string ,
functionsRuntimeScaleMonitoringEnabled: boolean ,
websiteTimeZone: string ,
minimumElasticInstanceCount: integer ,
azureStorageAccounts: object ,
publicNetworkAccess: string ,
}
,
functionAppConfig:
{
deployment:
{
storage:
{
type: enum ,
value: string ,
authentication:
{
type: enum ,
userAssignedIdentityResourceId: string ,
storageAccountConnectionStringName: string ,
}
,
}
,
}
,
runtime:
{
name: enum ,
version: string ,
}
,
scaleAndConcurrency:
{
alwaysReady:
[
{
name: string ,
instanceCount: integer ,
}
,
]
,
maximumInstanceCount: integer ,
instanceMemoryMB: integer ,
triggers:
{
http:
{
perInstanceConcurrency: integer ,
}
,
}
,
}
,
}
,
daprConfig:
{
enabled: boolean ,
appId: string ,
appPort: integer ,
httpReadBufferSize: integer ,
httpMaxRequestSize: integer ,
logLevel: enum ,
enableApiLogging: boolean ,
}
,
workloadProfileName: string ,
resourceConfig:
{
cpu: number ,
memory: string ,
}
,
trafficManagerHostNames:
[
string ,
]
,
scmSiteAlsoStopped: boolean ,
targetSwapSlot: string ,
hostingEnvironmentProfile:
{
id: string ,
name: string ,
type: string ,
}
,
clientAffinityEnabled: boolean ,
clientAffinityPartitioningEnabled: boolean ,
clientAffinityProxyEnabled: boolean ,
clientCertEnabled: boolean ,
clientCertMode: enum ,
clientCertExclusionPaths: string ,
ipMode: enum ,
endToEndEncryptionEnabled: boolean ,
sshEnabled: boolean ,
hostNamesDisabled: boolean ,
customDomainVerificationId: string ,
outboundIpAddresses: string ,
possibleOutboundIpAddresses: string ,
containerSize: integer ,
dailyMemoryTimeQuota: integer ,
suspendedTill: string ,
maxNumberOfWorkers: integer ,
cloningInfo:
{
correlationId: string ,
overwrite: boolean ,
cloneCustomHostNames: boolean ,
cloneSourceControl: boolean ,
sourceWebAppId: string ,
sourceWebAppLocation: string ,
hostingEnvironment: string ,
appSettingsOverrides: object ,
configureLoadBalancing: boolean ,
trafficManagerProfileId: string ,
trafficManagerProfileName: string ,
}
,
resourceGroup: string ,
isDefaultContainer: boolean ,
defaultHostName: string ,
slotSwapStatus:
{
timestampUtc: string ,
sourceSlotName: string ,
destinationSlotName: string ,
}
,
httpsOnly: boolean ,
redundancyMode: enum ,
inProgressOperationId: string ,
publicNetworkAccess: string ,
storageAccountRequired: boolean ,
keyVaultReferenceIdentity: string ,
autoGeneratedDomainNameLabelScope: enum ,
virtualNetworkSubnetId: string ,
managedEnvironmentId: string ,
sku: string ,
}
,
identity:
{
type: enum ,
tenantId: string ,
principalId: string ,
userAssignedIdentities: object ,
}
,
extendedLocation:
{
name: string ,
type: string ,
}
,
}

⚐ Response (202)

{
properties:
{
state: string ,
hostNames:
[
string ,
]
,
repositorySiteName: string ,
usageState: enum ,
enabled: boolean ,
enabledHostNames:
[
string ,
]
,
availabilityState: enum ,
hostNameSslStates:
[
{
name: string ,
sslState: enum ,
virtualIP: string ,
thumbprint: string ,
toUpdate: boolean ,
hostType: enum ,
}
,
]
,
serverFarmId: string ,
reserved: boolean ,
isXenon: boolean ,
hyperV: boolean ,
lastModifiedTimeUtc: string ,
dnsConfiguration:
{
dnsServers:
[
string ,
]
,
dnsAltServer: string ,
dnsRetryAttemptTimeout: integer ,
dnsRetryAttemptCount: integer ,
dnsMaxCacheTimeout: integer ,
dnsLegacySortOrder: boolean ,
}
,
outboundVnetRouting:
{
allTraffic: boolean ,
applicationTraffic: boolean ,
contentShareTraffic: boolean ,
imagePullTraffic: boolean ,
backupRestoreTraffic: boolean ,
}
,
siteConfig:
{
numberOfWorkers: integer ,
defaultDocuments:
[
string ,
]
,
netFrameworkVersion: string ,
phpVersion: string ,
pythonVersion: string ,
nodeVersion: string ,
powerShellVersion: string ,
linuxFxVersion: string ,
windowsFxVersion: string ,
requestTracingEnabled: boolean ,
requestTracingExpirationTime: string ,
remoteDebuggingEnabled: boolean ,
remoteDebuggingVersion: string ,
httpLoggingEnabled: boolean ,
acrUseManagedIdentityCreds: boolean ,
acrUserManagedIdentityID: string ,
logsDirectorySizeLimit: integer ,
detailedErrorLoggingEnabled: boolean ,
publishingUsername: string ,
appSettings:
[
{
name: string ,
value: string ,
}
,
]
,
metadata:
[
{
name: string ,
value: string ,
}
,
]
,
connectionStrings:
[
{
name: string ,
connectionString: string ,
type: enum ,
}
,
]
,
machineKey:
{
validation: string ,
validationKey: string ,
decryption: string ,
decryptionKey: string ,
}
,
handlerMappings:
[
{
extension: string ,
scriptProcessor: string ,
arguments: string ,
}
,
]
,
documentRoot: string ,
scmType: enum ,
use32BitWorkerProcess: boolean ,
webSocketsEnabled: boolean ,
alwaysOn: boolean ,
javaVersion: string ,
javaContainer: string ,
javaContainerVersion: string ,
appCommandLine: string ,
managedPipelineMode: enum ,
virtualApplications:
[
{
virtualPath: string ,
physicalPath: string ,
preloadEnabled: boolean ,
virtualDirectories:
[
{
virtualPath: string ,
physicalPath: string ,
}
,
]
,
}
,
]
,
loadBalancing: enum ,
experiments:
{
rampUpRules:
[
{
actionHostName: string ,
reroutePercentage: number ,
changeStep: number ,
changeIntervalInMinutes: integer ,
minReroutePercentage: number ,
maxReroutePercentage: number ,
changeDecisionCallbackUrl: string ,
name: string ,
}
,
]
,
}
,
limits:
{
maxPercentageCpu: number ,
maxMemoryInMb: integer ,
maxDiskSizeInMb: integer ,
}
,
autoHealEnabled: boolean ,
autoHealRules:
{
triggers:
{
requests:
{
count: integer ,
timeInterval: string ,
}
,
privateBytesInKB: integer ,
statusCodes:
[
{
status: integer ,
subStatus: integer ,
win32Status: integer ,
count: integer ,
timeInterval: string ,
path: string ,
}
,
]
,
slowRequests:
{
timeTaken: string ,
path: string ,
count: integer ,
timeInterval: string ,
}
,
slowRequestsWithPath:
[
{
timeTaken: string ,
path: string ,
count: integer ,
timeInterval: string ,
}
,
]
,
statusCodesRange:
[
{
statusCodes: string ,
path: string ,
count: integer ,
timeInterval: string ,
}
,
]
,
}
,
actions:
{
actionType: enum ,
customAction:
{
exe: string ,
parameters: string ,
}
,
minProcessExecutionTime: string ,
}
,
}
,
tracingOptions: string ,
vnetName: string ,
vnetRouteAllEnabled: boolean ,
vnetPrivatePortsCount: integer ,
cors:
{
allowedOrigins:
[
string ,
]
,
supportCredentials: boolean ,
}
,
push:
{
properties:
{
isPushEnabled: boolean ,
tagWhitelistJson: string ,
tagsRequiringAuth: string ,
dynamicTagsJson: string ,
}
,
}
,
apiDefinition:
{
url: string ,
}
,
apiManagementConfig:
{
id: string ,
}
,
autoSwapSlotName: string ,
localMySqlEnabled: boolean ,
managedServiceIdentityId: integer ,
xManagedServiceIdentityId: integer ,
keyVaultReferenceIdentity: string ,
ipSecurityRestrictions:
[
{
ipAddress: string ,
subnetMask: string ,
vnetSubnetResourceId: string ,
vnetTrafficTag: integer ,
subnetTrafficTag: integer ,
action: string ,
tag: enum ,
priority: integer ,
name: string ,
description: string ,
headers: object ,
}
,
]
,
ipSecurityRestrictionsDefaultAction: enum ,
scmIpSecurityRestrictions:
[
{
ipAddress: string ,
subnetMask: string ,
vnetSubnetResourceId: string ,
vnetTrafficTag: integer ,
subnetTrafficTag: integer ,
action: string ,
tag: enum ,
priority: integer ,
name: string ,
description: string ,
headers: object ,
}
,
]
,
scmIpSecurityRestrictionsDefaultAction: enum ,
scmIpSecurityRestrictionsUseMain: boolean ,
http20Enabled: boolean ,
http20ProxyFlag: integer ,
minTlsVersion: enum ,
minTlsCipherSuite: enum ,
scmMinTlsVersion: enum ,
ftpsState: enum ,
preWarmedInstanceCount: integer ,
functionAppScaleLimit: integer ,
elasticWebAppScaleLimit: integer ,
healthCheckPath: string ,
functionsRuntimeScaleMonitoringEnabled: boolean ,
websiteTimeZone: string ,
minimumElasticInstanceCount: integer ,
azureStorageAccounts: object ,
publicNetworkAccess: string ,
}
,
functionAppConfig:
{
deployment:
{
storage:
{
type: enum ,
value: string ,
authentication:
{
type: enum ,
userAssignedIdentityResourceId: string ,
storageAccountConnectionStringName: string ,
}
,
}
,
}
,
runtime:
{
name: enum ,
version: string ,
}
,
scaleAndConcurrency:
{
alwaysReady:
[
{
name: string ,
instanceCount: integer ,
}
,
]
,
maximumInstanceCount: integer ,
instanceMemoryMB: integer ,
triggers:
{
http:
{
perInstanceConcurrency: integer ,
}
,
}
,
}
,
}
,
daprConfig:
{
enabled: boolean ,
appId: string ,
appPort: integer ,
httpReadBufferSize: integer ,
httpMaxRequestSize: integer ,
logLevel: enum ,
enableApiLogging: boolean ,
}
,
workloadProfileName: string ,
resourceConfig:
{
cpu: number ,
memory: string ,
}
,
trafficManagerHostNames:
[
string ,
]
,
scmSiteAlsoStopped: boolean ,
targetSwapSlot: string ,
hostingEnvironmentProfile:
{
id: string ,
name: string ,
type: string ,
}
,
clientAffinityEnabled: boolean ,
clientAffinityPartitioningEnabled: boolean ,
clientAffinityProxyEnabled: boolean ,
clientCertEnabled: boolean ,
clientCertMode: enum ,
clientCertExclusionPaths: string ,
ipMode: enum ,
endToEndEncryptionEnabled: boolean ,
sshEnabled: boolean ,
hostNamesDisabled: boolean ,
customDomainVerificationId: string ,
outboundIpAddresses: string ,
possibleOutboundIpAddresses: string ,
containerSize: integer ,
dailyMemoryTimeQuota: integer ,
suspendedTill: string ,
maxNumberOfWorkers: integer ,
cloningInfo:
{
correlationId: string ,
overwrite: boolean ,
cloneCustomHostNames: boolean ,
cloneSourceControl: boolean ,
sourceWebAppId: string ,
sourceWebAppLocation: string ,
hostingEnvironment: string ,
appSettingsOverrides: object ,
configureLoadBalancing: boolean ,
trafficManagerProfileId: string ,
trafficManagerProfileName: string ,
}
,
resourceGroup: string ,
isDefaultContainer: boolean ,
defaultHostName: string ,
slotSwapStatus:
{
timestampUtc: string ,
sourceSlotName: string ,
destinationSlotName: string ,
}
,
httpsOnly: boolean ,
redundancyMode: enum ,
inProgressOperationId: string ,
publicNetworkAccess: string ,
storageAccountRequired: boolean ,
keyVaultReferenceIdentity: string ,
autoGeneratedDomainNameLabelScope: enum ,
virtualNetworkSubnetId: string ,
managedEnvironmentId: string ,
sku: string ,
}
,
identity:
{
type: enum ,
tenantId: string ,
principalId: string ,
userAssignedIdentities: object ,
}
,
extendedLocation:
{
name: string ,
type: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
innererror: string ,
}
,
}