Microsoft.CertificateRegistration (stable:2015-08-01)

2025/02/27 • 25 updated methods

Global_GetAllSites (updated)
Description Gets all Web Apps for a subscription
Reference Link ¶

⚶ Changes

{
  "#id": "Global_GetAllSites",
  "$responses": {
    "200": {
      "$properties": {
        "value": {
          "$properties": {
            "properties": [
              {
                "siteConfig": [
                  {
                    "properties": [
                      {
                        "experiments": [
                          {
                            "rampUpRules": {
                              "$properties": [
                                {
                                  "#name": "changeDecisionCallbackUrl",
                                  "Description": {
                                    "new": "Custom decision algorithm can be provided in TiPCallback site extension which Url can be specified.",
                                    "old": "Custom decision algorithm can be provided in TiPCallback site extension which Url can be specified. See TiPCallback site extension for the scaffold and contracts.\r\n            https://www.siteextensions.net/packages/TiPCallback/"
                                  }
                                }
                              ]
                            }
                          }
                        ]
                      }
                    ]
                  }
                ]
              }
            ]
          }
        }
      }
    }
  }
}

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.Web/sites
{
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
name: string ,
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 ,
}
,
]
,
serverFarmId: string ,
lastModifiedTimeUtc: string ,
siteConfig:
{
properties:
{
numberOfWorkers: integer ,
defaultDocuments:
[
string ,
]
,
netFrameworkVersion: string ,
phpVersion: string ,
pythonVersion: string ,
nodeVersion: string ,
requestTracingEnabled: boolean ,
requestTracingExpirationTime: string ,
remoteDebuggingEnabled: boolean ,
remoteDebuggingVersion: string ,
httpLoggingEnabled: boolean ,
logsDirectorySizeLimit: integer ,
detailedErrorLoggingEnabled: boolean ,
publishingUsername: string ,
publishingPassword: string ,
appSettings:
[
{
name: string ,
value: string ,
}
,
]
,
metadata:
[
{
name: string ,
value: string ,
}
,
]
,
connectionStrings:
[
{
name: string ,
connectionString: string ,
type: enum ,
}
,
]
,
handlerMappings:
[
{
extension: string ,
scriptProcessor: string ,
arguments: string ,
}
,
]
,
documentRoot: string ,
scmType: string ,
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 ,
}
,
]
,
slowRequests:
{
timeTaken: string ,
count: integer ,
timeInterval: string ,
}
,
}
,
actions:
{
actionType: enum ,
customAction:
{
exe: string ,
parameters: string ,
}
,
minProcessExecutionTime: string ,
}
,
}
,
tracingOptions: string ,
vnetName: string ,
cors:
{
allowedOrigins:
[
string ,
]
,
}
,
apiDefinition:
{
url: string ,
}
,
autoSwapSlotName: string ,
localMySqlEnabled: boolean ,
ipSecurityRestrictions:
[
{
ipAddress: string ,
subnetMask: string ,
}
,
]
,
}
,
}
,
trafficManagerHostNames:
[
string ,
]
,
premiumAppDeployed: boolean ,
scmSiteAlsoStopped: boolean ,
targetSwapSlot: string ,
hostingEnvironmentProfile:
{
id: string ,
name: string ,
type: string ,
}
,
microService: string ,
gatewaySiteName: string ,
clientAffinityEnabled: boolean ,
clientCertEnabled: boolean ,
hostNamesDisabled: boolean ,
outboundIpAddresses: string ,
containerSize: integer ,
maxNumberOfWorkers: integer ,
cloningInfo:
{
correlationId: string ,
overwrite: boolean ,
cloneCustomHostNames: boolean ,
cloneSourceControl: boolean ,
sourceWebAppId: string ,
hostingEnvironment: string ,
appSettingsOverrides: object ,
configureLoadBalancing: boolean ,
trafficManagerProfileId: string ,
trafficManagerProfileName: string ,
}
,
resourceGroup: string ,
isDefaultContainer: boolean ,
defaultHostName: string ,
}
,
}
,
]
,
nextLink: string ,
}
HostingEnvironments_GetHostingEnvironmentSites (updated)
Description Get all sites on the hostingEnvironment (App Service Environment).
Reference Link ¶

⚶ Changes

{
  "#id": "HostingEnvironments_GetHostingEnvironmentSites",
  "$responses": {
    "200": {
      "$properties": {
        "value": {
          "$properties": {
            "properties": [
              {
                "siteConfig": [
                  {
                    "properties": [
                      {
                        "experiments": [
                          {
                            "rampUpRules": {
                              "$properties": [
                                {
                                  "#name": "changeDecisionCallbackUrl",
                                  "Description": {
                                    "new": "Custom decision algorithm can be provided in TiPCallback site extension which Url can be specified.",
                                    "old": "Custom decision algorithm can be provided in TiPCallback site extension which Url can be specified. See TiPCallback site extension for the scaffold and contracts.\r\n            https://www.siteextensions.net/packages/TiPCallback/"
                                  }
                                }
                              ]
                            }
                          }
                        ]
                      }
                    ]
                  }
                ]
              }
            ]
          }
        }
      }
    }
  }
}

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/sites
{
resourceGroupName: string ,
name: string ,
propertiesToInclude: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
name: string ,
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 ,
}
,
]
,
serverFarmId: string ,
lastModifiedTimeUtc: string ,
siteConfig:
{
properties:
{
numberOfWorkers: integer ,
defaultDocuments:
[
string ,
]
,
netFrameworkVersion: string ,
phpVersion: string ,
pythonVersion: string ,
nodeVersion: string ,
requestTracingEnabled: boolean ,
requestTracingExpirationTime: string ,
remoteDebuggingEnabled: boolean ,
remoteDebuggingVersion: string ,
httpLoggingEnabled: boolean ,
logsDirectorySizeLimit: integer ,
detailedErrorLoggingEnabled: boolean ,
publishingUsername: string ,
publishingPassword: string ,
appSettings:
[
{
name: string ,
value: string ,
}
,
]
,
metadata:
[
{
name: string ,
value: string ,
}
,
]
,
connectionStrings:
[
{
name: string ,
connectionString: string ,
type: enum ,
}
,
]
,
handlerMappings:
[
{
extension: string ,
scriptProcessor: string ,
arguments: string ,
}
,
]
,
documentRoot: string ,
scmType: string ,
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 ,
}
,
]
,
slowRequests:
{
timeTaken: string ,
count: integer ,
timeInterval: string ,
}
,
}
,
actions:
{
actionType: enum ,
customAction:
{
exe: string ,
parameters: string ,
}
,
minProcessExecutionTime: string ,
}
,
}
,
tracingOptions: string ,
vnetName: string ,
cors:
{
allowedOrigins:
[
string ,
]
,
}
,
apiDefinition:
{
url: string ,
}
,
autoSwapSlotName: string ,
localMySqlEnabled: boolean ,
ipSecurityRestrictions:
[
{
ipAddress: string ,
subnetMask: string ,
}
,
]
,
}
,
}
,
trafficManagerHostNames:
[
string ,
]
,
premiumAppDeployed: boolean ,
scmSiteAlsoStopped: boolean ,
targetSwapSlot: string ,
hostingEnvironmentProfile:
{
id: string ,
name: string ,
type: string ,
}
,
microService: string ,
gatewaySiteName: string ,
clientAffinityEnabled: boolean ,
clientCertEnabled: boolean ,
hostNamesDisabled: boolean ,
outboundIpAddresses: string ,
containerSize: integer ,
maxNumberOfWorkers: integer ,
cloningInfo:
{
correlationId: string ,
overwrite: boolean ,
cloneCustomHostNames: boolean ,
cloneSourceControl: boolean ,
sourceWebAppId: string ,
hostingEnvironment: string ,
appSettingsOverrides: object ,
configureLoadBalancing: boolean ,
trafficManagerProfileId: string ,
trafficManagerProfileName: string ,
}
,
resourceGroup: string ,
isDefaultContainer: boolean ,
defaultHostName: string ,
}
,
}
,
]
,
nextLink: string ,
}
HostingEnvironments_SuspendHostingEnvironment (updated)
Description Suspends the hostingEnvironment.
Reference Link ¶

⚶ Changes

{
  "#id": "HostingEnvironments_SuspendHostingEnvironment",
  "$responses": {
    "200": {
      "$properties": {
        "value": {
          "$properties": {
            "properties": [
              {
                "siteConfig": [
                  {
                    "properties": [
                      {
                        "experiments": [
                          {
                            "rampUpRules": {
                              "$properties": [
                                {
                                  "#name": "changeDecisionCallbackUrl",
                                  "Description": {
                                    "new": "Custom decision algorithm can be provided in TiPCallback site extension which Url can be specified.",
                                    "old": "Custom decision algorithm can be provided in TiPCallback site extension which Url can be specified. See TiPCallback site extension for the scaffold and contracts.\r\n            https://www.siteextensions.net/packages/TiPCallback/"
                                  }
                                }
                              ]
                            }
                          }
                        ]
                      }
                    ]
                  }
                ]
              }
            ]
          }
        }
      }
    },
    "202": {
      "$properties": {
        "value": {
          "$properties": {
            "properties": [
              {
                "siteConfig": [
                  {
                    "properties": [
                      {
                        "experiments": [
                          {
                            "rampUpRules": {
                              "$properties": [
                                {
                                  "#name": "changeDecisionCallbackUrl",
                                  "Description": {
                                    "new": "Custom decision algorithm can be provided in TiPCallback site extension which Url can be specified.",
                                    "old": "Custom decision algorithm can be provided in TiPCallback site extension which Url can be specified. See TiPCallback site extension for the scaffold and contracts.\r\n            https://www.siteextensions.net/packages/TiPCallback/"
                                  }
                                }
                              ]
                            }
                          }
                        ]
                      }
                    ]
                  }
                ]
              }
            ]
          }
        }
      }
    }
  }
}

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/suspend
{
resourceGroupName: string ,
name: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
name: string ,
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 ,
}
,
]
,
serverFarmId: string ,
lastModifiedTimeUtc: string ,
siteConfig:
{
properties:
{
numberOfWorkers: integer ,
defaultDocuments:
[
string ,
]
,
netFrameworkVersion: string ,
phpVersion: string ,
pythonVersion: string ,
nodeVersion: string ,
requestTracingEnabled: boolean ,
requestTracingExpirationTime: string ,
remoteDebuggingEnabled: boolean ,
remoteDebuggingVersion: string ,
httpLoggingEnabled: boolean ,
logsDirectorySizeLimit: integer ,
detailedErrorLoggingEnabled: boolean ,
publishingUsername: string ,
publishingPassword: string ,
appSettings:
[
{
name: string ,
value: string ,
}
,
]
,
metadata:
[
{
name: string ,
value: string ,
}
,
]
,
connectionStrings:
[
{
name: string ,
connectionString: string ,
type: enum ,
}
,
]
,
handlerMappings:
[
{
extension: string ,
scriptProcessor: string ,
arguments: string ,
}
,
]
,
documentRoot: string ,
scmType: string ,
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 ,
}
,
]
,
slowRequests:
{
timeTaken: string ,
count: integer ,
timeInterval: string ,
}
,
}
,
actions:
{
actionType: enum ,
customAction:
{
exe: string ,
parameters: string ,
}
,
minProcessExecutionTime: string ,
}
,
}
,
tracingOptions: string ,
vnetName: string ,
cors:
{
allowedOrigins:
[
string ,
]
,
}
,
apiDefinition:
{
url: string ,
}
,
autoSwapSlotName: string ,
localMySqlEnabled: boolean ,
ipSecurityRestrictions:
[
{
ipAddress: string ,
subnetMask: string ,
}
,
]
,
}
,
}
,
trafficManagerHostNames:
[
string ,
]
,
premiumAppDeployed: boolean ,
scmSiteAlsoStopped: boolean ,
targetSwapSlot: string ,
hostingEnvironmentProfile:
{
id: string ,
name: string ,
type: string ,
}
,
microService: string ,
gatewaySiteName: string ,
clientAffinityEnabled: boolean ,
clientCertEnabled: boolean ,
hostNamesDisabled: boolean ,
outboundIpAddresses: string ,
containerSize: integer ,
maxNumberOfWorkers: integer ,
cloningInfo:
{
correlationId: string ,
overwrite: boolean ,
cloneCustomHostNames: boolean ,
cloneSourceControl: boolean ,
sourceWebAppId: string ,
hostingEnvironment: string ,
appSettingsOverrides: object ,
configureLoadBalancing: boolean ,
trafficManagerProfileId: string ,
trafficManagerProfileName: string ,
}
,
resourceGroup: string ,
isDefaultContainer: boolean ,
defaultHostName: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (202)

{
value:
[
{
properties:
{
name: string ,
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 ,
}
,
]
,
serverFarmId: string ,
lastModifiedTimeUtc: string ,
siteConfig:
{
properties:
{
numberOfWorkers: integer ,
defaultDocuments:
[
string ,
]
,
netFrameworkVersion: string ,
phpVersion: string ,
pythonVersion: string ,
nodeVersion: string ,
requestTracingEnabled: boolean ,
requestTracingExpirationTime: string ,
remoteDebuggingEnabled: boolean ,
remoteDebuggingVersion: string ,
httpLoggingEnabled: boolean ,
logsDirectorySizeLimit: integer ,
detailedErrorLoggingEnabled: boolean ,
publishingUsername: string ,
publishingPassword: string ,
appSettings:
[
{
name: string ,
value: string ,
}
,
]
,
metadata:
[
{
name: string ,
value: string ,
}
,
]
,
connectionStrings:
[
{
name: string ,
connectionString: string ,
type: enum ,
}
,
]
,
handlerMappings:
[
{
extension: string ,
scriptProcessor: string ,
arguments: string ,
}
,
]
,
documentRoot: string ,
scmType: string ,
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 ,
}
,
]
,
slowRequests:
{
timeTaken: string ,
count: integer ,
timeInterval: string ,
}
,
}
,
actions:
{
actionType: enum ,
customAction:
{
exe: string ,
parameters: string ,
}
,
minProcessExecutionTime: string ,
}
,
}
,
tracingOptions: string ,
vnetName: string ,
cors:
{
allowedOrigins:
[
string ,
]
,
}
,
apiDefinition:
{
url: string ,
}
,
autoSwapSlotName: string ,
localMySqlEnabled: boolean ,
ipSecurityRestrictions:
[
{
ipAddress: string ,
subnetMask: string ,
}
,
]
,
}
,
}
,
trafficManagerHostNames:
[
string ,
]
,
premiumAppDeployed: boolean ,
scmSiteAlsoStopped: boolean ,
targetSwapSlot: string ,
hostingEnvironmentProfile:
{
id: string ,
name: string ,
type: string ,
}
,
microService: string ,
gatewaySiteName: string ,
clientAffinityEnabled: boolean ,
clientCertEnabled: boolean ,
hostNamesDisabled: boolean ,
outboundIpAddresses: string ,
containerSize: integer ,
maxNumberOfWorkers: integer ,
cloningInfo:
{
correlationId: string ,
overwrite: boolean ,
cloneCustomHostNames: boolean ,
cloneSourceControl: boolean ,
sourceWebAppId: string ,
hostingEnvironment: string ,
appSettingsOverrides: object ,
configureLoadBalancing: boolean ,
trafficManagerProfileId: string ,
trafficManagerProfileName: string ,
}
,
resourceGroup: string ,
isDefaultContainer: boolean ,
defaultHostName: string ,
}
,
}
,
]
,
nextLink: string ,
}
HostingEnvironments_ResumeHostingEnvironment (updated)
Description Resumes the hostingEnvironment.
Reference Link ¶

⚶ Changes

{
  "#id": "HostingEnvironments_ResumeHostingEnvironment",
  "$responses": {
    "200": {
      "$properties": {
        "value": {
          "$properties": {
            "properties": [
              {
                "siteConfig": [
                  {
                    "properties": [
                      {
                        "experiments": [
                          {
                            "rampUpRules": {
                              "$properties": [
                                {
                                  "#name": "changeDecisionCallbackUrl",
                                  "Description": {
                                    "new": "Custom decision algorithm can be provided in TiPCallback site extension which Url can be specified.",
                                    "old": "Custom decision algorithm can be provided in TiPCallback site extension which Url can be specified. See TiPCallback site extension for the scaffold and contracts.\r\n            https://www.siteextensions.net/packages/TiPCallback/"
                                  }
                                }
                              ]
                            }
                          }
                        ]
                      }
                    ]
                  }
                ]
              }
            ]
          }
        }
      }
    },
    "202": {
      "$properties": {
        "value": {
          "$properties": {
            "properties": [
              {
                "siteConfig": [
                  {
                    "properties": [
                      {
                        "experiments": [
                          {
                            "rampUpRules": {
                              "$properties": [
                                {
                                  "#name": "changeDecisionCallbackUrl",
                                  "Description": {
                                    "new": "Custom decision algorithm can be provided in TiPCallback site extension which Url can be specified.",
                                    "old": "Custom decision algorithm can be provided in TiPCallback site extension which Url can be specified. See TiPCallback site extension for the scaffold and contracts.\r\n            https://www.siteextensions.net/packages/TiPCallback/"
                                  }
                                }
                              ]
                            }
                          }
                        ]
                      }
                    ]
                  }
                ]
              }
            ]
          }
        }
      }
    }
  }
}

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/resume
{
resourceGroupName: string ,
name: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
name: string ,
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 ,
}
,
]
,
serverFarmId: string ,
lastModifiedTimeUtc: string ,
siteConfig:
{
properties:
{
numberOfWorkers: integer ,
defaultDocuments:
[
string ,
]
,
netFrameworkVersion: string ,
phpVersion: string ,
pythonVersion: string ,
nodeVersion: string ,
requestTracingEnabled: boolean ,
requestTracingExpirationTime: string ,
remoteDebuggingEnabled: boolean ,
remoteDebuggingVersion: string ,
httpLoggingEnabled: boolean ,
logsDirectorySizeLimit: integer ,
detailedErrorLoggingEnabled: boolean ,
publishingUsername: string ,
publishingPassword: string ,
appSettings:
[
{
name: string ,
value: string ,
}
,
]
,
metadata:
[
{
name: string ,
value: string ,
}
,
]
,
connectionStrings:
[
{
name: string ,
connectionString: string ,
type: enum ,
}
,
]
,
handlerMappings:
[
{
extension: string ,
scriptProcessor: string ,
arguments: string ,
}
,
]
,
documentRoot: string ,
scmType: string ,
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 ,
}
,
]
,
slowRequests:
{
timeTaken: string ,
count: integer ,
timeInterval: string ,
}
,
}
,
actions:
{
actionType: enum ,
customAction:
{
exe: string ,
parameters: string ,
}
,
minProcessExecutionTime: string ,
}
,
}
,
tracingOptions: string ,
vnetName: string ,
cors:
{
allowedOrigins:
[
string ,
]
,
}
,
apiDefinition:
{
url: string ,
}
,
autoSwapSlotName: string ,
localMySqlEnabled: boolean ,
ipSecurityRestrictions:
[
{
ipAddress: string ,
subnetMask: string ,
}
,
]
,
}
,
}
,
trafficManagerHostNames:
[
string ,
]
,
premiumAppDeployed: boolean ,
scmSiteAlsoStopped: boolean ,
targetSwapSlot: string ,
hostingEnvironmentProfile:
{
id: string ,
name: string ,
type: string ,
}
,
microService: string ,
gatewaySiteName: string ,
clientAffinityEnabled: boolean ,
clientCertEnabled: boolean ,
hostNamesDisabled: boolean ,
outboundIpAddresses: string ,
containerSize: integer ,
maxNumberOfWorkers: integer ,
cloningInfo:
{
correlationId: string ,
overwrite: boolean ,
cloneCustomHostNames: boolean ,
cloneSourceControl: boolean ,
sourceWebAppId: string ,
hostingEnvironment: string ,
appSettingsOverrides: object ,
configureLoadBalancing: boolean ,
trafficManagerProfileId: string ,
trafficManagerProfileName: string ,
}
,
resourceGroup: string ,
isDefaultContainer: boolean ,
defaultHostName: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (202)

{
value:
[
{
properties:
{
name: string ,
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 ,
}
,
]
,
serverFarmId: string ,
lastModifiedTimeUtc: string ,
siteConfig:
{
properties:
{
numberOfWorkers: integer ,
defaultDocuments:
[
string ,
]
,
netFrameworkVersion: string ,
phpVersion: string ,
pythonVersion: string ,
nodeVersion: string ,
requestTracingEnabled: boolean ,
requestTracingExpirationTime: string ,
remoteDebuggingEnabled: boolean ,
remoteDebuggingVersion: string ,
httpLoggingEnabled: boolean ,
logsDirectorySizeLimit: integer ,
detailedErrorLoggingEnabled: boolean ,
publishingUsername: string ,
publishingPassword: string ,
appSettings:
[
{
name: string ,
value: string ,
}
,
]
,
metadata:
[
{
name: string ,
value: string ,
}
,
]
,
connectionStrings:
[
{
name: string ,
connectionString: string ,
type: enum ,
}
,
]
,
handlerMappings:
[
{
extension: string ,
scriptProcessor: string ,
arguments: string ,
}
,
]
,
documentRoot: string ,
scmType: string ,
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 ,
}
,
]
,
slowRequests:
{
timeTaken: string ,
count: integer ,
timeInterval: string ,
}
,
}
,
actions:
{
actionType: enum ,
customAction:
{
exe: string ,
parameters: string ,
}
,
minProcessExecutionTime: string ,
}
,
}
,
tracingOptions: string ,
vnetName: string ,
cors:
{
allowedOrigins:
[
string ,
]
,
}
,
apiDefinition:
{
url: string ,
}
,
autoSwapSlotName: string ,
localMySqlEnabled: boolean ,
ipSecurityRestrictions:
[
{
ipAddress: string ,
subnetMask: string ,
}
,
]
,
}
,
}
,
trafficManagerHostNames:
[
string ,
]
,
premiumAppDeployed: boolean ,
scmSiteAlsoStopped: boolean ,
targetSwapSlot: string ,
hostingEnvironmentProfile:
{
id: string ,
name: string ,
type: string ,
}
,
microService: string ,
gatewaySiteName: string ,
clientAffinityEnabled: boolean ,
clientCertEnabled: boolean ,
hostNamesDisabled: boolean ,
outboundIpAddresses: string ,
containerSize: integer ,
maxNumberOfWorkers: integer ,
cloningInfo:
{
correlationId: string ,
overwrite: boolean ,
cloneCustomHostNames: boolean ,
cloneSourceControl: boolean ,
sourceWebAppId: string ,
hostingEnvironment: string ,
appSettingsOverrides: object ,
configureLoadBalancing: boolean ,
trafficManagerProfileId: string ,
trafficManagerProfileName: string ,
}
,
resourceGroup: string ,
isDefaultContainer: boolean ,
defaultHostName: string ,
}
,
}
,
]
,
nextLink: string ,
}
ManagedHostingEnvironments_GetManagedHostingEnvironmentSites (updated)
Description Get all sites on the managed hosting environment.
Reference Link ¶

⚶ Changes

{
  "#id": "ManagedHostingEnvironments_GetManagedHostingEnvironmentSites",
  "$responses": {
    "200": {
      "$properties": {
        "value": {
          "$properties": {
            "properties": [
              {
                "siteConfig": [
                  {
                    "properties": [
                      {
                        "experiments": [
                          {
                            "rampUpRules": {
                              "$properties": [
                                {
                                  "#name": "changeDecisionCallbackUrl",
                                  "Description": {
                                    "new": "Custom decision algorithm can be provided in TiPCallback site extension which Url can be specified.",
                                    "old": "Custom decision algorithm can be provided in TiPCallback site extension which Url can be specified. See TiPCallback site extension for the scaffold and contracts.\r\n            https://www.siteextensions.net/packages/TiPCallback/"
                                  }
                                }
                              ]
                            }
                          }
                        ]
                      }
                    ]
                  }
                ]
              }
            ]
          }
        }
      }
    }
  }
}

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/managedHostingEnvironments/{name}/sites
{
resourceGroupName: string ,
name: string ,
propertiesToInclude: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
name: string ,
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 ,
}
,
]
,
serverFarmId: string ,
lastModifiedTimeUtc: string ,
siteConfig:
{
properties:
{
numberOfWorkers: integer ,
defaultDocuments:
[
string ,
]
,
netFrameworkVersion: string ,
phpVersion: string ,
pythonVersion: string ,
nodeVersion: string ,
requestTracingEnabled: boolean ,
requestTracingExpirationTime: string ,
remoteDebuggingEnabled: boolean ,
remoteDebuggingVersion: string ,
httpLoggingEnabled: boolean ,
logsDirectorySizeLimit: integer ,
detailedErrorLoggingEnabled: boolean ,
publishingUsername: string ,
publishingPassword: string ,
appSettings:
[
{
name: string ,
value: string ,
}
,
]
,
metadata:
[
{
name: string ,
value: string ,
}
,
]
,
connectionStrings:
[
{
name: string ,
connectionString: string ,
type: enum ,
}
,
]
,
handlerMappings:
[
{
extension: string ,
scriptProcessor: string ,
arguments: string ,
}
,
]
,
documentRoot: string ,
scmType: string ,
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 ,
}
,
]
,
slowRequests:
{
timeTaken: string ,
count: integer ,
timeInterval: string ,
}
,
}
,
actions:
{
actionType: enum ,
customAction:
{
exe: string ,
parameters: string ,
}
,
minProcessExecutionTime: string ,
}
,
}
,
tracingOptions: string ,
vnetName: string ,
cors:
{
allowedOrigins:
[
string ,
]
,
}
,
apiDefinition:
{
url: string ,
}
,
autoSwapSlotName: string ,
localMySqlEnabled: boolean ,
ipSecurityRestrictions:
[
{
ipAddress: string ,
subnetMask: string ,
}
,
]
,
}
,
}
,
trafficManagerHostNames:
[
string ,
]
,
premiumAppDeployed: boolean ,
scmSiteAlsoStopped: boolean ,
targetSwapSlot: string ,
hostingEnvironmentProfile:
{
id: string ,
name: string ,
type: string ,
}
,
microService: string ,
gatewaySiteName: string ,
clientAffinityEnabled: boolean ,
clientCertEnabled: boolean ,
hostNamesDisabled: boolean ,
outboundIpAddresses: string ,
containerSize: integer ,
maxNumberOfWorkers: integer ,
cloningInfo:
{
correlationId: string ,
overwrite: boolean ,
cloneCustomHostNames: boolean ,
cloneSourceControl: boolean ,
sourceWebAppId: string ,
hostingEnvironment: string ,
appSettingsOverrides: object ,
configureLoadBalancing: boolean ,
trafficManagerProfileId: string ,
trafficManagerProfileName: string ,
}
,
resourceGroup: string ,
isDefaultContainer: boolean ,
defaultHostName: string ,
}
,
}
,
]
,
nextLink: string ,
}
ServerFarms_GetServerFarmSites (updated)
Description Gets list of Apps associated with an App Service Plan
Reference Link ¶

⚶ Changes

{
  "#id": "ServerFarms_GetServerFarmSites",
  "$responses": {
    "200": {
      "$properties": {
        "value": {
          "$properties": {
            "properties": [
              {
                "siteConfig": [
                  {
                    "properties": [
                      {
                        "experiments": [
                          {
                            "rampUpRules": {
                              "$properties": [
                                {
                                  "#name": "changeDecisionCallbackUrl",
                                  "Description": {
                                    "new": "Custom decision algorithm can be provided in TiPCallback site extension which Url can be specified.",
                                    "old": "Custom decision algorithm can be provided in TiPCallback site extension which Url can be specified. See TiPCallback site extension for the scaffold and contracts.\r\n            https://www.siteextensions.net/packages/TiPCallback/"
                                  }
                                }
                              ]
                            }
                          }
                        ]
                      }
                    ]
                  }
                ]
              }
            ]
          }
        }
      }
    }
  }
}

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/sites
{
resourceGroupName: string ,
name: string ,
$skipToken: string ,
$filter: string ,
$top: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
name: string ,
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 ,
}
,
]
,
serverFarmId: string ,
lastModifiedTimeUtc: string ,
siteConfig:
{
properties:
{
numberOfWorkers: integer ,
defaultDocuments:
[
string ,
]
,
netFrameworkVersion: string ,
phpVersion: string ,
pythonVersion: string ,
nodeVersion: string ,
requestTracingEnabled: boolean ,
requestTracingExpirationTime: string ,
remoteDebuggingEnabled: boolean ,
remoteDebuggingVersion: string ,
httpLoggingEnabled: boolean ,
logsDirectorySizeLimit: integer ,
detailedErrorLoggingEnabled: boolean ,
publishingUsername: string ,
publishingPassword: string ,
appSettings:
[
{
name: string ,
value: string ,
}
,
]
,
metadata:
[
{
name: string ,
value: string ,
}
,
]
,
connectionStrings:
[
{
name: string ,
connectionString: string ,
type: enum ,
}
,
]
,
handlerMappings:
[
{
extension: string ,
scriptProcessor: string ,
arguments: string ,
}
,
]
,
documentRoot: string ,
scmType: string ,
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 ,
}
,
]
,
slowRequests:
{
timeTaken: string ,
count: integer ,
timeInterval: string ,
}
,
}
,
actions:
{
actionType: enum ,
customAction:
{
exe: string ,
parameters: string ,
}
,
minProcessExecutionTime: string ,
}
,
}
,
tracingOptions: string ,
vnetName: string ,
cors:
{
allowedOrigins:
[
string ,
]
,
}
,
apiDefinition:
{
url: string ,
}
,
autoSwapSlotName: string ,
localMySqlEnabled: boolean ,
ipSecurityRestrictions:
[
{
ipAddress: string ,
subnetMask: string ,
}
,
]
,
}
,
}
,
trafficManagerHostNames:
[
string ,
]
,
premiumAppDeployed: boolean ,
scmSiteAlsoStopped: boolean ,
targetSwapSlot: string ,
hostingEnvironmentProfile:
{
id: string ,
name: string ,
type: string ,
}
,
microService: string ,
gatewaySiteName: string ,
clientAffinityEnabled: boolean ,
clientCertEnabled: boolean ,
hostNamesDisabled: boolean ,
outboundIpAddresses: string ,
containerSize: integer ,
maxNumberOfWorkers: integer ,
cloningInfo:
{
correlationId: string ,
overwrite: boolean ,
cloneCustomHostNames: boolean ,
cloneSourceControl: boolean ,
sourceWebAppId: string ,
hostingEnvironment: string ,
appSettingsOverrides: object ,
configureLoadBalancing: boolean ,
trafficManagerProfileId: string ,
trafficManagerProfileName: string ,
}
,
resourceGroup: string ,
isDefaultContainer: boolean ,
defaultHostName: string ,
}
,
}
,
]
,
nextLink: string ,
}
Sites_GetSiteSlots (updated)
Description Gets all the slots for a web apps
Reference Link ¶

⚶ Changes

{
  "#id": "Sites_GetSiteSlots",
  "$responses": {
    "200": {
      "$properties": {
        "value": {
          "$properties": {
            "properties": [
              {
                "siteConfig": [
                  {
                    "properties": [
                      {
                        "experiments": [
                          {
                            "rampUpRules": {
                              "$properties": [
                                {
                                  "#name": "changeDecisionCallbackUrl",
                                  "Description": {
                                    "new": "Custom decision algorithm can be provided in TiPCallback site extension which Url can be specified.",
                                    "old": "Custom decision algorithm can be provided in TiPCallback site extension which Url can be specified. See TiPCallback site extension for the scaffold and contracts.\r\n            https://www.siteextensions.net/packages/TiPCallback/"
                                  }
                                }
                              ]
                            }
                          }
                        ]
                      }
                    ]
                  }
                ]
              }
            ]
          }
        }
      }
    }
  }
}

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots
{
resourceGroupName: string ,
name: string ,
propertiesToInclude: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
name: string ,
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 ,
}
,
]
,
serverFarmId: string ,
lastModifiedTimeUtc: string ,
siteConfig:
{
properties:
{
numberOfWorkers: integer ,
defaultDocuments:
[
string ,
]
,
netFrameworkVersion: string ,
phpVersion: string ,
pythonVersion: string ,
nodeVersion: string ,
requestTracingEnabled: boolean ,
requestTracingExpirationTime: string ,
remoteDebuggingEnabled: boolean ,
remoteDebuggingVersion: string ,
httpLoggingEnabled: boolean ,
logsDirectorySizeLimit: integer ,
detailedErrorLoggingEnabled: boolean ,
publishingUsername: string ,
publishingPassword: string ,
appSettings:
[
{
name: string ,
value: string ,
}
,
]
,
metadata:
[
{
name: string ,
value: string ,
}
,
]
,
connectionStrings:
[
{
name: string ,
connectionString: string ,
type: enum ,
}
,
]
,
handlerMappings:
[
{
extension: string ,
scriptProcessor: string ,
arguments: string ,
}
,
]
,
documentRoot: string ,
scmType: string ,
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 ,
}
,
]
,
slowRequests:
{
timeTaken: string ,
count: integer ,
timeInterval: string ,
}
,
}
,
actions:
{
actionType: enum ,
customAction:
{
exe: string ,
parameters: string ,
}
,
minProcessExecutionTime: string ,
}
,
}
,
tracingOptions: string ,
vnetName: string ,
cors:
{
allowedOrigins:
[
string ,
]
,
}
,
apiDefinition:
{
url: string ,
}
,
autoSwapSlotName: string ,
localMySqlEnabled: boolean ,
ipSecurityRestrictions:
[
{
ipAddress: string ,
subnetMask: string ,
}
,
]
,
}
,
}
,
trafficManagerHostNames:
[
string ,
]
,
premiumAppDeployed: boolean ,
scmSiteAlsoStopped: boolean ,
targetSwapSlot: string ,
hostingEnvironmentProfile:
{
id: string ,
name: string ,
type: string ,
}
,
microService: string ,
gatewaySiteName: string ,
clientAffinityEnabled: boolean ,
clientCertEnabled: boolean ,
hostNamesDisabled: boolean ,
outboundIpAddresses: string ,
containerSize: integer ,
maxNumberOfWorkers: integer ,
cloningInfo:
{
correlationId: string ,
overwrite: boolean ,
cloneCustomHostNames: boolean ,
cloneSourceControl: boolean ,
sourceWebAppId: string ,
hostingEnvironment: string ,
appSettingsOverrides: object ,
configureLoadBalancing: boolean ,
trafficManagerProfileId: string ,
trafficManagerProfileName: string ,
}
,
resourceGroup: string ,
isDefaultContainer: boolean ,
defaultHostName: string ,
}
,
}
,
]
,
nextLink: string ,
}
Sites_GetSites (updated)
Description Gets the web apps for a subscription in the specified resource group
Reference Link ¶

⚶ Changes

{
  "#id": "Sites_GetSites",
  "$responses": {
    "200": {
      "$properties": {
        "value": {
          "$properties": {
            "properties": [
              {
                "siteConfig": [
                  {
                    "properties": [
                      {
                        "experiments": [
                          {
                            "rampUpRules": {
                              "$properties": [
                                {
                                  "#name": "changeDecisionCallbackUrl",
                                  "Description": {
                                    "new": "Custom decision algorithm can be provided in TiPCallback site extension which Url can be specified.",
                                    "old": "Custom decision algorithm can be provided in TiPCallback site extension which Url can be specified. See TiPCallback site extension for the scaffold and contracts.\r\n            https://www.siteextensions.net/packages/TiPCallback/"
                                  }
                                }
                              ]
                            }
                          }
                        ]
                      }
                    ]
                  }
                ]
              }
            ]
          }
        }
      }
    }
  }
}

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites
{
resourceGroupName: string ,
propertiesToInclude: string ,
includeSiteTypes: string ,
includeSlots: boolean ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
name: string ,
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 ,
}
,
]
,
serverFarmId: string ,
lastModifiedTimeUtc: string ,
siteConfig:
{
properties:
{
numberOfWorkers: integer ,
defaultDocuments:
[
string ,
]
,
netFrameworkVersion: string ,
phpVersion: string ,
pythonVersion: string ,
nodeVersion: string ,
requestTracingEnabled: boolean ,
requestTracingExpirationTime: string ,
remoteDebuggingEnabled: boolean ,
remoteDebuggingVersion: string ,
httpLoggingEnabled: boolean ,
logsDirectorySizeLimit: integer ,
detailedErrorLoggingEnabled: boolean ,
publishingUsername: string ,
publishingPassword: string ,
appSettings:
[
{
name: string ,
value: string ,
}
,
]
,
metadata:
[
{
name: string ,
value: string ,
}
,
]
,
connectionStrings:
[
{
name: string ,
connectionString: string ,
type: enum ,
}
,
]
,
handlerMappings:
[
{
extension: string ,
scriptProcessor: string ,
arguments: string ,
}
,
]
,
documentRoot: string ,
scmType: string ,
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 ,
}
,
]
,
slowRequests:
{
timeTaken: string ,
count: integer ,
timeInterval: string ,
}
,
}
,
actions:
{
actionType: enum ,
customAction:
{
exe: string ,
parameters: string ,
}
,
minProcessExecutionTime: string ,
}
,
}
,
tracingOptions: string ,
vnetName: string ,
cors:
{
allowedOrigins:
[
string ,
]
,
}
,
apiDefinition:
{
url: string ,
}
,
autoSwapSlotName: string ,
localMySqlEnabled: boolean ,
ipSecurityRestrictions:
[
{
ipAddress: string ,
subnetMask: string ,
}
,
]
,
}
,
}
,
trafficManagerHostNames:
[
string ,
]
,
premiumAppDeployed: boolean ,
scmSiteAlsoStopped: boolean ,
targetSwapSlot: string ,
hostingEnvironmentProfile:
{
id: string ,
name: string ,
type: string ,
}
,
microService: string ,
gatewaySiteName: string ,
clientAffinityEnabled: boolean ,
clientCertEnabled: boolean ,
hostNamesDisabled: boolean ,
outboundIpAddresses: string ,
containerSize: integer ,
maxNumberOfWorkers: integer ,
cloningInfo:
{
correlationId: string ,
overwrite: boolean ,
cloneCustomHostNames: boolean ,
cloneSourceControl: boolean ,
sourceWebAppId: string ,
hostingEnvironment: string ,
appSettingsOverrides: object ,
configureLoadBalancing: boolean ,
trafficManagerProfileId: string ,
trafficManagerProfileName: string ,
}
,
resourceGroup: string ,
isDefaultContainer: boolean ,
defaultHostName: string ,
}
,
}
,
]
,
nextLink: string ,
}
Sites_GetSite (updated)
Description Get details of a web app
Reference Link ¶

⚶ Changes

{
  "#id": "Sites_GetSite",
  "$responses": {
    "200": {
      "$properties": {
        "properties": [
          {
            "siteConfig": [
              {
                "properties": [
                  {
                    "experiments": [
                      {
                        "rampUpRules": {
                          "$properties": [
                            {
                              "#name": "changeDecisionCallbackUrl",
                              "Description": {
                                "new": "Custom decision algorithm can be provided in TiPCallback site extension which Url can be specified.",
                                "old": "Custom decision algorithm can be provided in TiPCallback site extension which Url can be specified. See TiPCallback site extension for the scaffold and contracts.\r\n            https://www.siteextensions.net/packages/TiPCallback/"
                              }
                            }
                          ]
                        }
                      }
                    ]
                  }
                ]
              }
            ]
          }
        ]
      }
    }
  }
}

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}
{
resourceGroupName: string ,
name: string ,
propertiesToInclude: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
name: string ,
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 ,
}
,
]
,
serverFarmId: string ,
lastModifiedTimeUtc: string ,
siteConfig:
{
properties:
{
numberOfWorkers: integer ,
defaultDocuments:
[
string ,
]
,
netFrameworkVersion: string ,
phpVersion: string ,
pythonVersion: string ,
nodeVersion: string ,
requestTracingEnabled: boolean ,
requestTracingExpirationTime: string ,
remoteDebuggingEnabled: boolean ,
remoteDebuggingVersion: string ,
httpLoggingEnabled: boolean ,
logsDirectorySizeLimit: integer ,
detailedErrorLoggingEnabled: boolean ,
publishingUsername: string ,
publishingPassword: string ,
appSettings:
[
{
name: string ,
value: string ,
}
,
]
,
metadata:
[
{
name: string ,
value: string ,
}
,
]
,
connectionStrings:
[
{
name: string ,
connectionString: string ,
type: enum ,
}
,
]
,
handlerMappings:
[
{
extension: string ,
scriptProcessor: string ,
arguments: string ,
}
,
]
,
documentRoot: string ,
scmType: string ,
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 ,
}
,
]
,
slowRequests:
{
timeTaken: string ,
count: integer ,
timeInterval: string ,
}
,
}
,
actions:
{
actionType: enum ,
customAction:
{
exe: string ,
parameters: string ,
}
,
minProcessExecutionTime: string ,
}
,
}
,
tracingOptions: string ,
vnetName: string ,
cors:
{
allowedOrigins:
[
string ,
]
,
}
,
apiDefinition:
{
url: string ,
}
,
autoSwapSlotName: string ,
localMySqlEnabled: boolean ,
ipSecurityRestrictions:
[
{
ipAddress: string ,
subnetMask: string ,
}
,
]
,
}
,
}
,
trafficManagerHostNames:
[
string ,
]
,
premiumAppDeployed: boolean ,
scmSiteAlsoStopped: boolean ,
targetSwapSlot: string ,
hostingEnvironmentProfile:
{
id: string ,
name: string ,
type: string ,
}
,
microService: string ,
gatewaySiteName: string ,
clientAffinityEnabled: boolean ,
clientCertEnabled: boolean ,
hostNamesDisabled: boolean ,
outboundIpAddresses: string ,
containerSize: integer ,
maxNumberOfWorkers: integer ,
cloningInfo:
{
correlationId: string ,
overwrite: boolean ,
cloneCustomHostNames: boolean ,
cloneSourceControl: boolean ,
sourceWebAppId: string ,
hostingEnvironment: string ,
appSettingsOverrides: object ,
configureLoadBalancing: boolean ,
trafficManagerProfileId: string ,
trafficManagerProfileName: string ,
}
,
resourceGroup: string ,
isDefaultContainer: boolean ,
defaultHostName: string ,
}
,
}
Sites_CreateOrUpdateSite (updated)
Description Creates a new web app or modifies an existing web app.
Reference Link ¶

⚶ Changes

{
  "#id": "Sites_CreateOrUpdateSite",
  "$parameters": {
    "siteEnvelope": {
      "$properties": {
        "properties": [
          {
            "siteConfig": [
              {
                "properties": [
                  {
                    "experiments": [
                      {
                        "rampUpRules": {
                          "$properties": [
                            {
                              "#name": "changeDecisionCallbackUrl",
                              "Description": {
                                "new": "Custom decision algorithm can be provided in TiPCallback site extension which Url can be specified.",
                                "old": "Custom decision algorithm can be provided in TiPCallback site extension which Url can be specified. See TiPCallback site extension for the scaffold and contracts.\r\n            https://www.siteextensions.net/packages/TiPCallback/"
                              }
                            }
                          ]
                        }
                      }
                    ]
                  }
                ]
              }
            ]
          }
        ]
      }
    }
  },
  "$responses": {
    "200": {
      "$properties": {
        "properties": [
          {
            "siteConfig": [
              {
                "properties": [
                  {
                    "experiments": [
                      {
                        "rampUpRules": {
                          "$properties": [
                            {
                              "#name": "changeDecisionCallbackUrl",
                              "Description": {
                                "new": "Custom decision algorithm can be provided in TiPCallback site extension which Url can be specified.",
                                "old": "Custom decision algorithm can be provided in TiPCallback site extension which Url can be specified. See TiPCallback site extension for the scaffold and contracts.\r\n            https://www.siteextensions.net/packages/TiPCallback/"
                              }
                            }
                          ]
                        }
                      }
                    ]
                  }
                ]
              }
            ]
          }
        ]
      }
    },
    "202": {
      "$properties": {
        "properties": [
          {
            "siteConfig": [
              {
                "properties": [
                  {
                    "experiments": [
                      {
                        "rampUpRules": {
                          "$properties": [
                            {
                              "#name": "changeDecisionCallbackUrl",
                              "Description": {
                                "new": "Custom decision algorithm can be provided in TiPCallback site extension which Url can be specified.",
                                "old": "Custom decision algorithm can be provided in TiPCallback site extension which Url can be specified. See TiPCallback site extension for the scaffold and contracts.\r\n            https://www.siteextensions.net/packages/TiPCallback/"
                              }
                            }
                          ]
                        }
                      }
                    ]
                  }
                ]
              }
            ]
          }
        ]
      }
    }
  }
}

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}
{
resourceGroupName: string ,
name: string ,
siteEnvelope:
{
properties:
{
name: string ,
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 ,
}
,
]
,
serverFarmId: string ,
lastModifiedTimeUtc: string ,
siteConfig:
{
properties:
{
numberOfWorkers: integer ,
defaultDocuments:
[
string ,
]
,
netFrameworkVersion: string ,
phpVersion: string ,
pythonVersion: string ,
nodeVersion: string ,
requestTracingEnabled: boolean ,
requestTracingExpirationTime: string ,
remoteDebuggingEnabled: boolean ,
remoteDebuggingVersion: string ,
httpLoggingEnabled: boolean ,
logsDirectorySizeLimit: integer ,
detailedErrorLoggingEnabled: boolean ,
publishingUsername: string ,
publishingPassword: string ,
appSettings:
[
{
name: string ,
value: string ,
}
,
]
,
metadata:
[
{
name: string ,
value: string ,
}
,
]
,
connectionStrings:
[
{
name: string ,
connectionString: string ,
type: enum ,
}
,
]
,
handlerMappings:
[
{
extension: string ,
scriptProcessor: string ,
arguments: string ,
}
,
]
,
documentRoot: string ,
scmType: string ,
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 ,
}
,
]
,
slowRequests:
{
timeTaken: string ,
count: integer ,
timeInterval: string ,
}
,
}
,
actions:
{
actionType: enum ,
customAction:
{
exe: string ,
parameters: string ,
}
,
minProcessExecutionTime: string ,
}
,
}
,
tracingOptions: string ,
vnetName: string ,
cors:
{
allowedOrigins:
[
string ,
]
,
}
,
apiDefinition:
{
url: string ,
}
,
autoSwapSlotName: string ,
localMySqlEnabled: boolean ,
ipSecurityRestrictions:
[
{
ipAddress: string ,
subnetMask: string ,
}
,
]
,
}
,
}
,
trafficManagerHostNames:
[
string ,
]
,
premiumAppDeployed: boolean ,
scmSiteAlsoStopped: boolean ,
targetSwapSlot: string ,
hostingEnvironmentProfile:
{
id: string ,
name: string ,
type: string ,
}
,
microService: string ,
gatewaySiteName: string ,
clientAffinityEnabled: boolean ,
clientCertEnabled: boolean ,
hostNamesDisabled: boolean ,
outboundIpAddresses: string ,
containerSize: integer ,
maxNumberOfWorkers: integer ,
cloningInfo:
{
correlationId: string ,
overwrite: boolean ,
cloneCustomHostNames: boolean ,
cloneSourceControl: boolean ,
sourceWebAppId: string ,
hostingEnvironment: string ,
appSettingsOverrides: object ,
configureLoadBalancing: boolean ,
trafficManagerProfileId: string ,
trafficManagerProfileName: string ,
}
,
resourceGroup: string ,
isDefaultContainer: boolean ,
defaultHostName: string ,
}
,
}
,
skipDnsRegistration: string ,
skipCustomDomainVerification: string ,
forceDnsRegistration: string ,
ttlInSeconds: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
name: string ,
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 ,
}
,
]
,
serverFarmId: string ,
lastModifiedTimeUtc: string ,
siteConfig:
{
properties:
{
numberOfWorkers: integer ,
defaultDocuments:
[
string ,
]
,
netFrameworkVersion: string ,
phpVersion: string ,
pythonVersion: string ,
nodeVersion: string ,
requestTracingEnabled: boolean ,
requestTracingExpirationTime: string ,
remoteDebuggingEnabled: boolean ,
remoteDebuggingVersion: string ,
httpLoggingEnabled: boolean ,
logsDirectorySizeLimit: integer ,
detailedErrorLoggingEnabled: boolean ,
publishingUsername: string ,
publishingPassword: string ,
appSettings:
[
{
name: string ,
value: string ,
}
,
]
,
metadata:
[
{
name: string ,
value: string ,
}
,
]
,
connectionStrings:
[
{
name: string ,
connectionString: string ,
type: enum ,
}
,
]
,
handlerMappings:
[
{
extension: string ,
scriptProcessor: string ,
arguments: string ,
}
,
]
,
documentRoot: string ,
scmType: string ,
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 ,
}
,
]
,
slowRequests:
{
timeTaken: string ,
count: integer ,
timeInterval: string ,
}
,
}
,
actions:
{
actionType: enum ,
customAction:
{
exe: string ,
parameters: string ,
}
,
minProcessExecutionTime: string ,
}
,
}
,
tracingOptions: string ,
vnetName: string ,
cors:
{
allowedOrigins:
[
string ,
]
,
}
,
apiDefinition:
{
url: string ,
}
,
autoSwapSlotName: string ,
localMySqlEnabled: boolean ,
ipSecurityRestrictions:
[
{
ipAddress: string ,
subnetMask: string ,
}
,
]
,
}
,
}
,
trafficManagerHostNames:
[
string ,
]
,
premiumAppDeployed: boolean ,
scmSiteAlsoStopped: boolean ,
targetSwapSlot: string ,
hostingEnvironmentProfile:
{
id: string ,
name: string ,
type: string ,
}
,
microService: string ,
gatewaySiteName: string ,
clientAffinityEnabled: boolean ,
clientCertEnabled: boolean ,
hostNamesDisabled: boolean ,
outboundIpAddresses: string ,
containerSize: integer ,
maxNumberOfWorkers: integer ,
cloningInfo:
{
correlationId: string ,
overwrite: boolean ,
cloneCustomHostNames: boolean ,
cloneSourceControl: boolean ,
sourceWebAppId: string ,
hostingEnvironment: string ,
appSettingsOverrides: object ,
configureLoadBalancing: boolean ,
trafficManagerProfileId: string ,
trafficManagerProfileName: string ,
}
,
resourceGroup: string ,
isDefaultContainer: boolean ,
defaultHostName: string ,
}
,
}

⚐ Response (202)

{
properties:
{
name: string ,
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 ,
}
,
]
,
serverFarmId: string ,
lastModifiedTimeUtc: string ,
siteConfig:
{
properties:
{
numberOfWorkers: integer ,
defaultDocuments:
[
string ,
]
,
netFrameworkVersion: string ,
phpVersion: string ,
pythonVersion: string ,
nodeVersion: string ,
requestTracingEnabled: boolean ,
requestTracingExpirationTime: string ,
remoteDebuggingEnabled: boolean ,
remoteDebuggingVersion: string ,
httpLoggingEnabled: boolean ,
logsDirectorySizeLimit: integer ,
detailedErrorLoggingEnabled: boolean ,
publishingUsername: string ,
publishingPassword: string ,
appSettings:
[
{
name: string ,
value: string ,
}
,
]
,
metadata:
[
{
name: string ,
value: string ,
}
,
]
,
connectionStrings:
[
{
name: string ,
connectionString: string ,
type: enum ,
}
,
]
,
handlerMappings:
[
{
extension: string ,
scriptProcessor: string ,
arguments: string ,
}
,
]
,
documentRoot: string ,
scmType: string ,
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 ,
}
,
]
,
slowRequests:
{
timeTaken: string ,
count: integer ,
timeInterval: string ,
}
,
}
,
actions:
{
actionType: enum ,
customAction:
{
exe: string ,
parameters: string ,
}
,
minProcessExecutionTime: string ,
}
,
}
,
tracingOptions: string ,
vnetName: string ,
cors:
{
allowedOrigins:
[
string ,
]
,
}
,
apiDefinition:
{
url: string ,
}
,
autoSwapSlotName: string ,
localMySqlEnabled: boolean ,
ipSecurityRestrictions:
[
{
ipAddress: string ,
subnetMask: string ,
}
,
]
,
}
,
}
,
trafficManagerHostNames:
[
string ,
]
,
premiumAppDeployed: boolean ,
scmSiteAlsoStopped: boolean ,
targetSwapSlot: string ,
hostingEnvironmentProfile:
{
id: string ,
name: string ,
type: string ,
}
,
microService: string ,
gatewaySiteName: string ,
clientAffinityEnabled: boolean ,
clientCertEnabled: boolean ,
hostNamesDisabled: boolean ,
outboundIpAddresses: string ,
containerSize: integer ,
maxNumberOfWorkers: integer ,
cloningInfo:
{
correlationId: string ,
overwrite: boolean ,
cloneCustomHostNames: boolean ,
cloneSourceControl: boolean ,
sourceWebAppId: string ,
hostingEnvironment: string ,
appSettingsOverrides: object ,
configureLoadBalancing: boolean ,
trafficManagerProfileId: string ,
trafficManagerProfileName: string ,
}
,
resourceGroup: string ,
isDefaultContainer: boolean ,
defaultHostName: string ,
}
,
}
Sites_GetSiteSlot (updated)
Description Get details of a web app
Reference Link ¶

⚶ Changes

{
  "#id": "Sites_GetSiteSlot",
  "$responses": {
    "200": {
      "$properties": {
        "properties": [
          {
            "siteConfig": [
              {
                "properties": [
                  {
                    "experiments": [
                      {
                        "rampUpRules": {
                          "$properties": [
                            {
                              "#name": "changeDecisionCallbackUrl",
                              "Description": {
                                "new": "Custom decision algorithm can be provided in TiPCallback site extension which Url can be specified.",
                                "old": "Custom decision algorithm can be provided in TiPCallback site extension which Url can be specified. See TiPCallback site extension for the scaffold and contracts.\r\n            https://www.siteextensions.net/packages/TiPCallback/"
                              }
                            }
                          ]
                        }
                      }
                    ]
                  }
                ]
              }
            ]
          }
        ]
      }
    }
  }
}

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}
{
resourceGroupName: string ,
name: string ,
slot: string ,
propertiesToInclude: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
name: string ,
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 ,
}
,
]
,
serverFarmId: string ,
lastModifiedTimeUtc: string ,
siteConfig:
{
properties:
{
numberOfWorkers: integer ,
defaultDocuments:
[
string ,
]
,
netFrameworkVersion: string ,
phpVersion: string ,
pythonVersion: string ,
nodeVersion: string ,
requestTracingEnabled: boolean ,
requestTracingExpirationTime: string ,
remoteDebuggingEnabled: boolean ,
remoteDebuggingVersion: string ,
httpLoggingEnabled: boolean ,
logsDirectorySizeLimit: integer ,
detailedErrorLoggingEnabled: boolean ,
publishingUsername: string ,
publishingPassword: string ,
appSettings:
[
{
name: string ,
value: string ,
}
,
]
,
metadata:
[
{
name: string ,
value: string ,
}
,
]
,
connectionStrings:
[
{
name: string ,
connectionString: string ,
type: enum ,
}
,
]
,
handlerMappings:
[
{
extension: string ,
scriptProcessor: string ,
arguments: string ,
}
,
]
,
documentRoot: string ,
scmType: string ,
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 ,
}
,
]
,
slowRequests:
{
timeTaken: string ,
count: integer ,
timeInterval: string ,
}
,
}
,
actions:
{
actionType: enum ,
customAction:
{
exe: string ,
parameters: string ,
}
,
minProcessExecutionTime: string ,
}
,
}
,
tracingOptions: string ,
vnetName: string ,
cors:
{
allowedOrigins:
[
string ,
]
,
}
,
apiDefinition:
{
url: string ,
}
,
autoSwapSlotName: string ,
localMySqlEnabled: boolean ,
ipSecurityRestrictions:
[
{
ipAddress: string ,
subnetMask: string ,
}
,
]
,
}
,
}
,
trafficManagerHostNames:
[
string ,
]
,
premiumAppDeployed: boolean ,
scmSiteAlsoStopped: boolean ,
targetSwapSlot: string ,
hostingEnvironmentProfile:
{
id: string ,
name: string ,
type: string ,
}
,
microService: string ,
gatewaySiteName: string ,
clientAffinityEnabled: boolean ,
clientCertEnabled: boolean ,
hostNamesDisabled: boolean ,
outboundIpAddresses: string ,
containerSize: integer ,
maxNumberOfWorkers: integer ,
cloningInfo:
{
correlationId: string ,
overwrite: boolean ,
cloneCustomHostNames: boolean ,
cloneSourceControl: boolean ,
sourceWebAppId: string ,
hostingEnvironment: string ,
appSettingsOverrides: object ,
configureLoadBalancing: boolean ,
trafficManagerProfileId: string ,
trafficManagerProfileName: string ,
}
,
resourceGroup: string ,
isDefaultContainer: boolean ,
defaultHostName: string ,
}
,
}
Sites_CreateOrUpdateSiteSlot (updated)
Description Creates a new web app or modifies an existing web app.
Reference Link ¶

⚶ Changes

{
  "#id": "Sites_CreateOrUpdateSiteSlot",
  "$parameters": {
    "siteEnvelope": {
      "$properties": {
        "properties": [
          {
            "siteConfig": [
              {
                "properties": [
                  {
                    "experiments": [
                      {
                        "rampUpRules": {
                          "$properties": [
                            {
                              "#name": "changeDecisionCallbackUrl",
                              "Description": {
                                "new": "Custom decision algorithm can be provided in TiPCallback site extension which Url can be specified.",
                                "old": "Custom decision algorithm can be provided in TiPCallback site extension which Url can be specified. See TiPCallback site extension for the scaffold and contracts.\r\n            https://www.siteextensions.net/packages/TiPCallback/"
                              }
                            }
                          ]
                        }
                      }
                    ]
                  }
                ]
              }
            ]
          }
        ]
      }
    }
  },
  "$responses": {
    "200": {
      "$properties": {
        "properties": [
          {
            "siteConfig": [
              {
                "properties": [
                  {
                    "experiments": [
                      {
                        "rampUpRules": {
                          "$properties": [
                            {
                              "#name": "changeDecisionCallbackUrl",
                              "Description": {
                                "new": "Custom decision algorithm can be provided in TiPCallback site extension which Url can be specified.",
                                "old": "Custom decision algorithm can be provided in TiPCallback site extension which Url can be specified. See TiPCallback site extension for the scaffold and contracts.\r\n            https://www.siteextensions.net/packages/TiPCallback/"
                              }
                            }
                          ]
                        }
                      }
                    ]
                  }
                ]
              }
            ]
          }
        ]
      }
    },
    "202": {
      "$properties": {
        "properties": [
          {
            "siteConfig": [
              {
                "properties": [
                  {
                    "experiments": [
                      {
                        "rampUpRules": {
                          "$properties": [
                            {
                              "#name": "changeDecisionCallbackUrl",
                              "Description": {
                                "new": "Custom decision algorithm can be provided in TiPCallback site extension which Url can be specified.",
                                "old": "Custom decision algorithm can be provided in TiPCallback site extension which Url can be specified. See TiPCallback site extension for the scaffold and contracts.\r\n            https://www.siteextensions.net/packages/TiPCallback/"
                              }
                            }
                          ]
                        }
                      }
                    ]
                  }
                ]
              }
            ]
          }
        ]
      }
    }
  }
}

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}
{
resourceGroupName: string ,
name: string ,
siteEnvelope:
{
properties:
{
name: string ,
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 ,
}
,
]
,
serverFarmId: string ,
lastModifiedTimeUtc: string ,
siteConfig:
{
properties:
{
numberOfWorkers: integer ,
defaultDocuments:
[
string ,
]
,
netFrameworkVersion: string ,
phpVersion: string ,
pythonVersion: string ,
nodeVersion: string ,
requestTracingEnabled: boolean ,
requestTracingExpirationTime: string ,
remoteDebuggingEnabled: boolean ,
remoteDebuggingVersion: string ,
httpLoggingEnabled: boolean ,
logsDirectorySizeLimit: integer ,
detailedErrorLoggingEnabled: boolean ,
publishingUsername: string ,
publishingPassword: string ,
appSettings:
[
{
name: string ,
value: string ,
}
,
]
,
metadata:
[
{
name: string ,
value: string ,
}
,
]
,
connectionStrings:
[
{
name: string ,
connectionString: string ,
type: enum ,
}
,
]
,
handlerMappings:
[
{
extension: string ,
scriptProcessor: string ,
arguments: string ,
}
,
]
,
documentRoot: string ,
scmType: string ,
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 ,
}
,
]
,
slowRequests:
{
timeTaken: string ,
count: integer ,
timeInterval: string ,
}
,
}
,
actions:
{
actionType: enum ,
customAction:
{
exe: string ,
parameters: string ,
}
,
minProcessExecutionTime: string ,
}
,
}
,
tracingOptions: string ,
vnetName: string ,
cors:
{
allowedOrigins:
[
string ,
]
,
}
,
apiDefinition:
{
url: string ,
}
,
autoSwapSlotName: string ,
localMySqlEnabled: boolean ,
ipSecurityRestrictions:
[
{
ipAddress: string ,
subnetMask: string ,
}
,
]
,
}
,
}
,
trafficManagerHostNames:
[
string ,
]
,
premiumAppDeployed: boolean ,
scmSiteAlsoStopped: boolean ,
targetSwapSlot: string ,
hostingEnvironmentProfile:
{
id: string ,
name: string ,
type: string ,
}
,
microService: string ,
gatewaySiteName: string ,
clientAffinityEnabled: boolean ,
clientCertEnabled: boolean ,
hostNamesDisabled: boolean ,
outboundIpAddresses: string ,
containerSize: integer ,
maxNumberOfWorkers: integer ,
cloningInfo:
{
correlationId: string ,
overwrite: boolean ,
cloneCustomHostNames: boolean ,
cloneSourceControl: boolean ,
sourceWebAppId: string ,
hostingEnvironment: string ,
appSettingsOverrides: object ,
configureLoadBalancing: boolean ,
trafficManagerProfileId: string ,
trafficManagerProfileName: string ,
}
,
resourceGroup: string ,
isDefaultContainer: boolean ,
defaultHostName: string ,
}
,
}
,
slot: string ,
skipDnsRegistration: string ,
skipCustomDomainVerification: string ,
forceDnsRegistration: string ,
ttlInSeconds: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
name: string ,
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 ,
}
,
]
,
serverFarmId: string ,
lastModifiedTimeUtc: string ,
siteConfig:
{
properties:
{
numberOfWorkers: integer ,
defaultDocuments:
[
string ,
]
,
netFrameworkVersion: string ,
phpVersion: string ,
pythonVersion: string ,
nodeVersion: string ,
requestTracingEnabled: boolean ,
requestTracingExpirationTime: string ,
remoteDebuggingEnabled: boolean ,
remoteDebuggingVersion: string ,
httpLoggingEnabled: boolean ,
logsDirectorySizeLimit: integer ,
detailedErrorLoggingEnabled: boolean ,
publishingUsername: string ,
publishingPassword: string ,
appSettings:
[
{
name: string ,
value: string ,
}
,
]
,
metadata:
[
{
name: string ,
value: string ,
}
,
]
,
connectionStrings:
[
{
name: string ,
connectionString: string ,
type: enum ,
}
,
]
,
handlerMappings:
[
{
extension: string ,
scriptProcessor: string ,
arguments: string ,
}
,
]
,
documentRoot: string ,
scmType: string ,
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 ,
}
,
]
,
slowRequests:
{
timeTaken: string ,
count: integer ,
timeInterval: string ,
}
,
}
,
actions:
{
actionType: enum ,
customAction:
{
exe: string ,
parameters: string ,
}
,
minProcessExecutionTime: string ,
}
,
}
,
tracingOptions: string ,
vnetName: string ,
cors:
{
allowedOrigins:
[
string ,
]
,
}
,
apiDefinition:
{
url: string ,
}
,
autoSwapSlotName: string ,
localMySqlEnabled: boolean ,
ipSecurityRestrictions:
[
{
ipAddress: string ,
subnetMask: string ,
}
,
]
,
}
,
}
,
trafficManagerHostNames:
[
string ,
]
,
premiumAppDeployed: boolean ,
scmSiteAlsoStopped: boolean ,
targetSwapSlot: string ,
hostingEnvironmentProfile:
{
id: string ,
name: string ,
type: string ,
}
,
microService: string ,
gatewaySiteName: string ,
clientAffinityEnabled: boolean ,
clientCertEnabled: boolean ,
hostNamesDisabled: boolean ,
outboundIpAddresses: string ,
containerSize: integer ,
maxNumberOfWorkers: integer ,
cloningInfo:
{
correlationId: string ,
overwrite: boolean ,
cloneCustomHostNames: boolean ,
cloneSourceControl: boolean ,
sourceWebAppId: string ,
hostingEnvironment: string ,
appSettingsOverrides: object ,
configureLoadBalancing: boolean ,
trafficManagerProfileId: string ,
trafficManagerProfileName: string ,
}
,
resourceGroup: string ,
isDefaultContainer: boolean ,
defaultHostName: string ,
}
,
}

⚐ Response (202)

{
properties:
{
name: string ,
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 ,
}
,
]
,
serverFarmId: string ,
lastModifiedTimeUtc: string ,
siteConfig:
{
properties:
{
numberOfWorkers: integer ,
defaultDocuments:
[
string ,
]
,
netFrameworkVersion: string ,
phpVersion: string ,
pythonVersion: string ,
nodeVersion: string ,
requestTracingEnabled: boolean ,
requestTracingExpirationTime: string ,
remoteDebuggingEnabled: boolean ,
remoteDebuggingVersion: string ,
httpLoggingEnabled: boolean ,
logsDirectorySizeLimit: integer ,
detailedErrorLoggingEnabled: boolean ,
publishingUsername: string ,
publishingPassword: string ,
appSettings:
[
{
name: string ,
value: string ,
}
,
]
,
metadata:
[
{
name: string ,
value: string ,
}
,
]
,
connectionStrings:
[
{
name: string ,
connectionString: string ,
type: enum ,
}
,
]
,
handlerMappings:
[
{
extension: string ,
scriptProcessor: string ,
arguments: string ,
}
,
]
,
documentRoot: string ,
scmType: string ,
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 ,
}
,
]
,
slowRequests:
{
timeTaken: string ,
count: integer ,
timeInterval: string ,
}
,
}
,
actions:
{
actionType: enum ,
customAction:
{
exe: string ,
parameters: string ,
}
,
minProcessExecutionTime: string ,
}
,
}
,
tracingOptions: string ,
vnetName: string ,
cors:
{
allowedOrigins:
[
string ,
]
,
}
,
apiDefinition:
{
url: string ,
}
,
autoSwapSlotName: string ,
localMySqlEnabled: boolean ,
ipSecurityRestrictions:
[
{
ipAddress: string ,
subnetMask: string ,
}
,
]
,
}
,
}
,
trafficManagerHostNames:
[
string ,
]
,
premiumAppDeployed: boolean ,
scmSiteAlsoStopped: boolean ,
targetSwapSlot: string ,
hostingEnvironmentProfile:
{
id: string ,
name: string ,
type: string ,
}
,
microService: string ,
gatewaySiteName: string ,
clientAffinityEnabled: boolean ,
clientCertEnabled: boolean ,
hostNamesDisabled: boolean ,
outboundIpAddresses: string ,
containerSize: integer ,
maxNumberOfWorkers: integer ,
cloningInfo:
{
correlationId: string ,
overwrite: boolean ,
cloneCustomHostNames: boolean ,
cloneSourceControl: boolean ,
sourceWebAppId: string ,
hostingEnvironment: string ,
appSettingsOverrides: object ,
configureLoadBalancing: boolean ,
trafficManagerProfileId: string ,
trafficManagerProfileName: string ,
}
,
resourceGroup: string ,
isDefaultContainer: boolean ,
defaultHostName: string ,
}
,
}
Sites_RecoverSite (updated)
Description Recovers a deleted web app
Reference Link ¶

⚶ Changes

{
  "#id": "Sites_RecoverSite",
  "$responses": {
    "202": {
      "$properties": {
        "properties": [
          {
            "siteConfig": [
              {
                "properties": [
                  {
                    "experiments": [
                      {
                        "rampUpRules": {
                          "$properties": [
                            {
                              "#name": "changeDecisionCallbackUrl",
                              "Description": {
                                "new": "Custom decision algorithm can be provided in TiPCallback site extension which Url can be specified.",
                                "old": "Custom decision algorithm can be provided in TiPCallback site extension which Url can be specified. See TiPCallback site extension for the scaffold and contracts.\r\n            https://www.siteextensions.net/packages/TiPCallback/"
                              }
                            }
                          ]
                        }
                      }
                    ]
                  }
                ]
              }
            ]
          }
        ]
      }
    }
  }
}

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/recover
{
resourceGroupName: string ,
name: string ,
recoveryEntity:
{
snapshotTime: string ,
recoverConfig: boolean ,
siteName: string ,
slotName: string ,
}
,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (202)

{
properties:
{
name: string ,
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 ,
}
,
]
,
serverFarmId: string ,
lastModifiedTimeUtc: string ,
siteConfig:
{
properties:
{
numberOfWorkers: integer ,
defaultDocuments:
[
string ,
]
,
netFrameworkVersion: string ,
phpVersion: string ,
pythonVersion: string ,
nodeVersion: string ,
requestTracingEnabled: boolean ,
requestTracingExpirationTime: string ,
remoteDebuggingEnabled: boolean ,
remoteDebuggingVersion: string ,
httpLoggingEnabled: boolean ,
logsDirectorySizeLimit: integer ,
detailedErrorLoggingEnabled: boolean ,
publishingUsername: string ,
publishingPassword: string ,
appSettings:
[
{
name: string ,
value: string ,
}
,
]
,
metadata:
[
{
name: string ,
value: string ,
}
,
]
,
connectionStrings:
[
{
name: string ,
connectionString: string ,
type: enum ,
}
,
]
,
handlerMappings:
[
{
extension: string ,
scriptProcessor: string ,
arguments: string ,
}
,
]
,
documentRoot: string ,
scmType: string ,
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 ,
}
,
]
,
slowRequests:
{
timeTaken: string ,
count: integer ,
timeInterval: string ,
}
,
}
,
actions:
{
actionType: enum ,
customAction:
{
exe: string ,
parameters: string ,
}
,
minProcessExecutionTime: string ,
}
,
}
,
tracingOptions: string ,
vnetName: string ,
cors:
{
allowedOrigins:
[
string ,
]
,
}
,
apiDefinition:
{
url: string ,
}
,
autoSwapSlotName: string ,
localMySqlEnabled: boolean ,
ipSecurityRestrictions:
[
{
ipAddress: string ,
subnetMask: string ,
}
,
]
,
}
,
}
,
trafficManagerHostNames:
[
string ,
]
,
premiumAppDeployed: boolean ,
scmSiteAlsoStopped: boolean ,
targetSwapSlot: string ,
hostingEnvironmentProfile:
{
id: string ,
name: string ,
type: string ,
}
,
microService: string ,
gatewaySiteName: string ,
clientAffinityEnabled: boolean ,
clientCertEnabled: boolean ,
hostNamesDisabled: boolean ,
outboundIpAddresses: string ,
containerSize: integer ,
maxNumberOfWorkers: integer ,
cloningInfo:
{
correlationId: string ,
overwrite: boolean ,
cloneCustomHostNames: boolean ,
cloneSourceControl: boolean ,
sourceWebAppId: string ,
hostingEnvironment: string ,
appSettingsOverrides: object ,
configureLoadBalancing: boolean ,
trafficManagerProfileId: string ,
trafficManagerProfileName: string ,
}
,
resourceGroup: string ,
isDefaultContainer: boolean ,
defaultHostName: string ,
}
,
}

⚐ Response (404)

{}
Sites_RecoverSiteSlot (updated)
Description Recovers a deleted web app
Reference Link ¶

⚶ Changes

{
  "#id": "Sites_RecoverSiteSlot",
  "$responses": {
    "202": {
      "$properties": {
        "properties": [
          {
            "siteConfig": [
              {
                "properties": [
                  {
                    "experiments": [
                      {
                        "rampUpRules": {
                          "$properties": [
                            {
                              "#name": "changeDecisionCallbackUrl",
                              "Description": {
                                "new": "Custom decision algorithm can be provided in TiPCallback site extension which Url can be specified.",
                                "old": "Custom decision algorithm can be provided in TiPCallback site extension which Url can be specified. See TiPCallback site extension for the scaffold and contracts.\r\n            https://www.siteextensions.net/packages/TiPCallback/"
                              }
                            }
                          ]
                        }
                      }
                    ]
                  }
                ]
              }
            ]
          }
        ]
      }
    }
  }
}

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/recover
{
resourceGroupName: string ,
name: string ,
recoveryEntity:
{
snapshotTime: string ,
recoverConfig: boolean ,
siteName: string ,
slotName: string ,
}
,
slot: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (202)

{
properties:
{
name: string ,
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 ,
}
,
]
,
serverFarmId: string ,
lastModifiedTimeUtc: string ,
siteConfig:
{
properties:
{
numberOfWorkers: integer ,
defaultDocuments:
[
string ,
]
,
netFrameworkVersion: string ,
phpVersion: string ,
pythonVersion: string ,
nodeVersion: string ,
requestTracingEnabled: boolean ,
requestTracingExpirationTime: string ,
remoteDebuggingEnabled: boolean ,
remoteDebuggingVersion: string ,
httpLoggingEnabled: boolean ,
logsDirectorySizeLimit: integer ,
detailedErrorLoggingEnabled: boolean ,
publishingUsername: string ,
publishingPassword: string ,
appSettings:
[
{
name: string ,
value: string ,
}
,
]
,
metadata:
[
{
name: string ,
value: string ,
}
,
]
,
connectionStrings:
[
{
name: string ,
connectionString: string ,
type: enum ,
}
,
]
,
handlerMappings:
[
{
extension: string ,
scriptProcessor: string ,
arguments: string ,
}
,
]
,
documentRoot: string ,
scmType: string ,
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 ,
}
,
]
,
slowRequests:
{
timeTaken: string ,
count: integer ,
timeInterval: string ,
}
,
}
,
actions:
{
actionType: enum ,
customAction:
{
exe: string ,
parameters: string ,
}
,
minProcessExecutionTime: string ,
}
,
}
,
tracingOptions: string ,
vnetName: string ,
cors:
{
allowedOrigins:
[
string ,
]
,
}
,
apiDefinition:
{
url: string ,
}
,
autoSwapSlotName: string ,
localMySqlEnabled: boolean ,
ipSecurityRestrictions:
[
{
ipAddress: string ,
subnetMask: string ,
}
,
]
,
}
,
}
,
trafficManagerHostNames:
[
string ,
]
,
premiumAppDeployed: boolean ,
scmSiteAlsoStopped: boolean ,
targetSwapSlot: string ,
hostingEnvironmentProfile:
{
id: string ,
name: string ,
type: string ,
}
,
microService: string ,
gatewaySiteName: string ,
clientAffinityEnabled: boolean ,
clientCertEnabled: boolean ,
hostNamesDisabled: boolean ,
outboundIpAddresses: string ,
containerSize: integer ,
maxNumberOfWorkers: integer ,
cloningInfo:
{
correlationId: string ,
overwrite: boolean ,
cloneCustomHostNames: boolean ,
cloneSourceControl: boolean ,
sourceWebAppId: string ,
hostingEnvironment: string ,
appSettingsOverrides: object ,
configureLoadBalancing: boolean ,
trafficManagerProfileId: string ,
trafficManagerProfileName: string ,
}
,
resourceGroup: string ,
isDefaultContainer: boolean ,
defaultHostName: string ,
}
,
}

⚐ Response (404)

{}
Sites_GetDeletedSites (updated)
Description Gets deleted web apps in subscription
Reference Link ¶

⚶ Changes

{
  "#id": "Sites_GetDeletedSites",
  "$responses": {
    "200": {
      "$properties": {
        "value": {
          "$properties": {
            "properties": [
              {
                "siteConfig": [
                  {
                    "properties": [
                      {
                        "experiments": [
                          {
                            "rampUpRules": {
                              "$properties": [
                                {
                                  "#name": "changeDecisionCallbackUrl",
                                  "Description": {
                                    "new": "Custom decision algorithm can be provided in TiPCallback site extension which Url can be specified.",
                                    "old": "Custom decision algorithm can be provided in TiPCallback site extension which Url can be specified. See TiPCallback site extension for the scaffold and contracts.\r\n            https://www.siteextensions.net/packages/TiPCallback/"
                                  }
                                }
                              ]
                            }
                          }
                        ]
                      }
                    ]
                  }
                ]
              }
            ]
          }
        }
      }
    }
  }
}

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/deletedSites
{
resourceGroupName: string ,
propertiesToInclude: string ,
includeSiteTypes: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
deletedTimestamp: string ,
name: string ,
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 ,
}
,
]
,
serverFarmId: string ,
lastModifiedTimeUtc: string ,
siteConfig:
{
properties:
{
numberOfWorkers: integer ,
defaultDocuments:
[
string ,
]
,
netFrameworkVersion: string ,
phpVersion: string ,
pythonVersion: string ,
nodeVersion: string ,
requestTracingEnabled: boolean ,
requestTracingExpirationTime: string ,
remoteDebuggingEnabled: boolean ,
remoteDebuggingVersion: string ,
httpLoggingEnabled: boolean ,
logsDirectorySizeLimit: integer ,
detailedErrorLoggingEnabled: boolean ,
publishingUsername: string ,
publishingPassword: string ,
appSettings:
[
{
name: string ,
value: string ,
}
,
]
,
metadata:
[
{
name: string ,
value: string ,
}
,
]
,
connectionStrings:
[
{
name: string ,
connectionString: string ,
type: enum ,
}
,
]
,
handlerMappings:
[
{
extension: string ,
scriptProcessor: string ,
arguments: string ,
}
,
]
,
documentRoot: string ,
scmType: string ,
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 ,
}
,
]
,
slowRequests:
{
timeTaken: string ,
count: integer ,
timeInterval: string ,
}
,
}
,
actions:
{
actionType: enum ,
customAction:
{
exe: string ,
parameters: string ,
}
,
minProcessExecutionTime: string ,
}
,
}
,
tracingOptions: string ,
vnetName: string ,
cors:
{
allowedOrigins:
[
string ,
]
,
}
,
apiDefinition:
{
url: string ,
}
,
autoSwapSlotName: string ,
localMySqlEnabled: boolean ,
ipSecurityRestrictions:
[
{
ipAddress: string ,
subnetMask: string ,
}
,
]
,
}
,
}
,
trafficManagerHostNames:
[
string ,
]
,
premiumAppDeployed: boolean ,
scmSiteAlsoStopped: boolean ,
targetSwapSlot: string ,
hostingEnvironmentProfile:
{
id: string ,
name: string ,
type: string ,
}
,
microService: string ,
gatewaySiteName: string ,
clientAffinityEnabled: boolean ,
clientCertEnabled: boolean ,
hostNamesDisabled: boolean ,
outboundIpAddresses: string ,
containerSize: integer ,
maxNumberOfWorkers: integer ,
cloningInfo:
{
correlationId: string ,
overwrite: boolean ,
cloneCustomHostNames: boolean ,
cloneSourceControl: boolean ,
sourceWebAppId: string ,
hostingEnvironment: string ,
appSettingsOverrides: object ,
configureLoadBalancing: boolean ,
trafficManagerProfileId: string ,
trafficManagerProfileName: string ,
}
,
resourceGroup: string ,
isDefaultContainer: boolean ,
defaultHostName: string ,
}
,
}
,
]
,
nextLink: string ,
}
Sites_GetSiteConfig (updated)
Description Gets the configuration of the web app
Reference Link ¶

⚶ Changes

{
  "#id": "Sites_GetSiteConfig",
  "$responses": {
    "200": {
      "$properties": {
        "properties": [
          {
            "experiments": [
              {
                "rampUpRules": {
                  "$properties": [
                    {
                      "#name": "changeDecisionCallbackUrl",
                      "Description": {
                        "new": "Custom decision algorithm can be provided in TiPCallback site extension which Url can be specified.",
                        "old": "Custom decision algorithm can be provided in TiPCallback site extension which Url can be specified. See TiPCallback site extension for the scaffold and contracts.\r\n            https://www.siteextensions.net/packages/TiPCallback/"
                      }
                    }
                  ]
                }
              }
            ]
          }
        ]
      }
    }
  }
}

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/web
{
resourceGroupName: string ,
name: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
numberOfWorkers: integer ,
defaultDocuments:
[
string ,
]
,
netFrameworkVersion: string ,
phpVersion: string ,
pythonVersion: string ,
nodeVersion: string ,
requestTracingEnabled: boolean ,
requestTracingExpirationTime: string ,
remoteDebuggingEnabled: boolean ,
remoteDebuggingVersion: string ,
httpLoggingEnabled: boolean ,
logsDirectorySizeLimit: integer ,
detailedErrorLoggingEnabled: boolean ,
publishingUsername: string ,
publishingPassword: string ,
appSettings:
[
{
name: string ,
value: string ,
}
,
]
,
metadata:
[
{
name: string ,
value: string ,
}
,
]
,
connectionStrings:
[
{
name: string ,
connectionString: string ,
type: enum ,
}
,
]
,
handlerMappings:
[
{
extension: string ,
scriptProcessor: string ,
arguments: string ,
}
,
]
,
documentRoot: string ,
scmType: string ,
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 ,
}
,
]
,
slowRequests:
{
timeTaken: string ,
count: integer ,
timeInterval: string ,
}
,
}
,
actions:
{
actionType: enum ,
customAction:
{
exe: string ,
parameters: string ,
}
,
minProcessExecutionTime: string ,
}
,
}
,
tracingOptions: string ,
vnetName: string ,
cors:
{
allowedOrigins:
[
string ,
]
,
}
,
apiDefinition:
{
url: string ,
}
,
autoSwapSlotName: string ,
localMySqlEnabled: boolean ,
ipSecurityRestrictions:
[
{
ipAddress: string ,
subnetMask: string ,
}
,
]
,
}
,
}
Sites_CreateOrUpdateSiteConfig (updated)
Description Update the configuration of web app
Reference Link ¶

⚶ Changes

{
  "#id": "Sites_CreateOrUpdateSiteConfig",
  "$parameters": {
    "siteConfig": {
      "$properties": {
        "properties": [
          {
            "experiments": [
              {
                "rampUpRules": {
                  "$properties": [
                    {
                      "#name": "changeDecisionCallbackUrl",
                      "Description": {
                        "new": "Custom decision algorithm can be provided in TiPCallback site extension which Url can be specified.",
                        "old": "Custom decision algorithm can be provided in TiPCallback site extension which Url can be specified. See TiPCallback site extension for the scaffold and contracts.\r\n            https://www.siteextensions.net/packages/TiPCallback/"
                      }
                    }
                  ]
                }
              }
            ]
          }
        ]
      }
    }
  },
  "$responses": {
    "200": {
      "$properties": {
        "properties": [
          {
            "experiments": [
              {
                "rampUpRules": {
                  "$properties": [
                    {
                      "#name": "changeDecisionCallbackUrl",
                      "Description": {
                        "new": "Custom decision algorithm can be provided in TiPCallback site extension which Url can be specified.",
                        "old": "Custom decision algorithm can be provided in TiPCallback site extension which Url can be specified. See TiPCallback site extension for the scaffold and contracts.\r\n            https://www.siteextensions.net/packages/TiPCallback/"
                      }
                    }
                  ]
                }
              }
            ]
          }
        ]
      }
    }
  }
}

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/web
{
resourceGroupName: string ,
name: string ,
siteConfig:
{
properties:
{
numberOfWorkers: integer ,
defaultDocuments:
[
string ,
]
,
netFrameworkVersion: string ,
phpVersion: string ,
pythonVersion: string ,
nodeVersion: string ,
requestTracingEnabled: boolean ,
requestTracingExpirationTime: string ,
remoteDebuggingEnabled: boolean ,
remoteDebuggingVersion: string ,
httpLoggingEnabled: boolean ,
logsDirectorySizeLimit: integer ,
detailedErrorLoggingEnabled: boolean ,
publishingUsername: string ,
publishingPassword: string ,
appSettings:
[
{
name: string ,
value: string ,
}
,
]
,
metadata:
[
{
name: string ,
value: string ,
}
,
]
,
connectionStrings:
[
{
name: string ,
connectionString: string ,
type: enum ,
}
,
]
,
handlerMappings:
[
{
extension: string ,
scriptProcessor: string ,
arguments: string ,
}
,
]
,
documentRoot: string ,
scmType: string ,
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 ,
}
,
]
,
slowRequests:
{
timeTaken: string ,
count: integer ,
timeInterval: string ,
}
,
}
,
actions:
{
actionType: enum ,
customAction:
{
exe: string ,
parameters: string ,
}
,
minProcessExecutionTime: string ,
}
,
}
,
tracingOptions: string ,
vnetName: string ,
cors:
{
allowedOrigins:
[
string ,
]
,
}
,
apiDefinition:
{
url: string ,
}
,
autoSwapSlotName: string ,
localMySqlEnabled: boolean ,
ipSecurityRestrictions:
[
{
ipAddress: string ,
subnetMask: string ,
}
,
]
,
}
,
}
,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
numberOfWorkers: integer ,
defaultDocuments:
[
string ,
]
,
netFrameworkVersion: string ,
phpVersion: string ,
pythonVersion: string ,
nodeVersion: string ,
requestTracingEnabled: boolean ,
requestTracingExpirationTime: string ,
remoteDebuggingEnabled: boolean ,
remoteDebuggingVersion: string ,
httpLoggingEnabled: boolean ,
logsDirectorySizeLimit: integer ,
detailedErrorLoggingEnabled: boolean ,
publishingUsername: string ,
publishingPassword: string ,
appSettings:
[
{
name: string ,
value: string ,
}
,
]
,
metadata:
[
{
name: string ,
value: string ,
}
,
]
,
connectionStrings:
[
{
name: string ,
connectionString: string ,
type: enum ,
}
,
]
,
handlerMappings:
[
{
extension: string ,
scriptProcessor: string ,
arguments: string ,
}
,
]
,
documentRoot: string ,
scmType: string ,
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 ,
}
,
]
,
slowRequests:
{
timeTaken: string ,
count: integer ,
timeInterval: string ,
}
,
}
,
actions:
{
actionType: enum ,
customAction:
{
exe: string ,
parameters: string ,
}
,
minProcessExecutionTime: string ,
}
,
}
,
tracingOptions: string ,
vnetName: string ,
cors:
{
allowedOrigins:
[
string ,
]
,
}
,
apiDefinition:
{
url: string ,
}
,
autoSwapSlotName: string ,
localMySqlEnabled: boolean ,
ipSecurityRestrictions:
[
{
ipAddress: string ,
subnetMask: string ,
}
,
]
,
}
,
}
Sites_UpdateSiteConfig (updated)
Description Update the configuration of web app
Reference Link ¶

⚶ Changes

{
  "#id": "Sites_UpdateSiteConfig",
  "$parameters": {
    "siteConfig": {
      "$properties": {
        "properties": [
          {
            "experiments": [
              {
                "rampUpRules": {
                  "$properties": [
                    {
                      "#name": "changeDecisionCallbackUrl",
                      "Description": {
                        "new": "Custom decision algorithm can be provided in TiPCallback site extension which Url can be specified.",
                        "old": "Custom decision algorithm can be provided in TiPCallback site extension which Url can be specified. See TiPCallback site extension for the scaffold and contracts.\r\n            https://www.siteextensions.net/packages/TiPCallback/"
                      }
                    }
                  ]
                }
              }
            ]
          }
        ]
      }
    }
  },
  "$responses": {
    "200": {
      "$properties": {
        "properties": [
          {
            "experiments": [
              {
                "rampUpRules": {
                  "$properties": [
                    {
                      "#name": "changeDecisionCallbackUrl",
                      "Description": {
                        "new": "Custom decision algorithm can be provided in TiPCallback site extension which Url can be specified.",
                        "old": "Custom decision algorithm can be provided in TiPCallback site extension which Url can be specified. See TiPCallback site extension for the scaffold and contracts.\r\n            https://www.siteextensions.net/packages/TiPCallback/"
                      }
                    }
                  ]
                }
              }
            ]
          }
        ]
      }
    }
  }
}

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/web
{
resourceGroupName: string ,
name: string ,
siteConfig:
{
properties:
{
numberOfWorkers: integer ,
defaultDocuments:
[
string ,
]
,
netFrameworkVersion: string ,
phpVersion: string ,
pythonVersion: string ,
nodeVersion: string ,
requestTracingEnabled: boolean ,
requestTracingExpirationTime: string ,
remoteDebuggingEnabled: boolean ,
remoteDebuggingVersion: string ,
httpLoggingEnabled: boolean ,
logsDirectorySizeLimit: integer ,
detailedErrorLoggingEnabled: boolean ,
publishingUsername: string ,
publishingPassword: string ,
appSettings:
[
{
name: string ,
value: string ,
}
,
]
,
metadata:
[
{
name: string ,
value: string ,
}
,
]
,
connectionStrings:
[
{
name: string ,
connectionString: string ,
type: enum ,
}
,
]
,
handlerMappings:
[
{
extension: string ,
scriptProcessor: string ,
arguments: string ,
}
,
]
,
documentRoot: string ,
scmType: string ,
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 ,
}
,
]
,
slowRequests:
{
timeTaken: string ,
count: integer ,
timeInterval: string ,
}
,
}
,
actions:
{
actionType: enum ,
customAction:
{
exe: string ,
parameters: string ,
}
,
minProcessExecutionTime: string ,
}
,
}
,
tracingOptions: string ,
vnetName: string ,
cors:
{
allowedOrigins:
[
string ,
]
,
}
,
apiDefinition:
{
url: string ,
}
,
autoSwapSlotName: string ,
localMySqlEnabled: boolean ,
ipSecurityRestrictions:
[
{
ipAddress: string ,
subnetMask: string ,
}
,
]
,
}
,
}
,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
numberOfWorkers: integer ,
defaultDocuments:
[
string ,
]
,
netFrameworkVersion: string ,
phpVersion: string ,
pythonVersion: string ,
nodeVersion: string ,
requestTracingEnabled: boolean ,
requestTracingExpirationTime: string ,
remoteDebuggingEnabled: boolean ,
remoteDebuggingVersion: string ,
httpLoggingEnabled: boolean ,
logsDirectorySizeLimit: integer ,
detailedErrorLoggingEnabled: boolean ,
publishingUsername: string ,
publishingPassword: string ,
appSettings:
[
{
name: string ,
value: string ,
}
,
]
,
metadata:
[
{
name: string ,
value: string ,
}
,
]
,
connectionStrings:
[
{
name: string ,
connectionString: string ,
type: enum ,
}
,
]
,
handlerMappings:
[
{
extension: string ,
scriptProcessor: string ,
arguments: string ,
}
,
]
,
documentRoot: string ,
scmType: string ,
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 ,
}
,
]
,
slowRequests:
{
timeTaken: string ,
count: integer ,
timeInterval: string ,
}
,
}
,
actions:
{
actionType: enum ,
customAction:
{
exe: string ,
parameters: string ,
}
,
minProcessExecutionTime: string ,
}
,
}
,
tracingOptions: string ,
vnetName: string ,
cors:
{
allowedOrigins:
[
string ,
]
,
}
,
apiDefinition:
{
url: string ,
}
,
autoSwapSlotName: string ,
localMySqlEnabled: boolean ,
ipSecurityRestrictions:
[
{
ipAddress: string ,
subnetMask: string ,
}
,
]
,
}
,
}
Sites_GetSiteConfigSlot (updated)
Description Gets the configuration of the web app
Reference Link ¶

⚶ Changes

{
  "#id": "Sites_GetSiteConfigSlot",
  "$responses": {
    "200": {
      "$properties": {
        "properties": [
          {
            "experiments": [
              {
                "rampUpRules": {
                  "$properties": [
                    {
                      "#name": "changeDecisionCallbackUrl",
                      "Description": {
                        "new": "Custom decision algorithm can be provided in TiPCallback site extension which Url can be specified.",
                        "old": "Custom decision algorithm can be provided in TiPCallback site extension which Url can be specified. See TiPCallback site extension for the scaffold and contracts.\r\n            https://www.siteextensions.net/packages/TiPCallback/"
                      }
                    }
                  ]
                }
              }
            ]
          }
        ]
      }
    }
  }
}

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/web
{
resourceGroupName: string ,
name: string ,
slot: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
numberOfWorkers: integer ,
defaultDocuments:
[
string ,
]
,
netFrameworkVersion: string ,
phpVersion: string ,
pythonVersion: string ,
nodeVersion: string ,
requestTracingEnabled: boolean ,
requestTracingExpirationTime: string ,
remoteDebuggingEnabled: boolean ,
remoteDebuggingVersion: string ,
httpLoggingEnabled: boolean ,
logsDirectorySizeLimit: integer ,
detailedErrorLoggingEnabled: boolean ,
publishingUsername: string ,
publishingPassword: string ,
appSettings:
[
{
name: string ,
value: string ,
}
,
]
,
metadata:
[
{
name: string ,
value: string ,
}
,
]
,
connectionStrings:
[
{
name: string ,
connectionString: string ,
type: enum ,
}
,
]
,
handlerMappings:
[
{
extension: string ,
scriptProcessor: string ,
arguments: string ,
}
,
]
,
documentRoot: string ,
scmType: string ,
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 ,
}
,
]
,
slowRequests:
{
timeTaken: string ,
count: integer ,
timeInterval: string ,
}
,
}
,
actions:
{
actionType: enum ,
customAction:
{
exe: string ,
parameters: string ,
}
,
minProcessExecutionTime: string ,
}
,
}
,
tracingOptions: string ,
vnetName: string ,
cors:
{
allowedOrigins:
[
string ,
]
,
}
,
apiDefinition:
{
url: string ,
}
,
autoSwapSlotName: string ,
localMySqlEnabled: boolean ,
ipSecurityRestrictions:
[
{
ipAddress: string ,
subnetMask: string ,
}
,
]
,
}
,
}
Sites_CreateOrUpdateSiteConfigSlot (updated)
Description Update the configuration of web app
Reference Link ¶

⚶ Changes

{
  "#id": "Sites_CreateOrUpdateSiteConfigSlot",
  "$parameters": {
    "siteConfig": {
      "$properties": {
        "properties": [
          {
            "experiments": [
              {
                "rampUpRules": {
                  "$properties": [
                    {
                      "#name": "changeDecisionCallbackUrl",
                      "Description": {
                        "new": "Custom decision algorithm can be provided in TiPCallback site extension which Url can be specified.",
                        "old": "Custom decision algorithm can be provided in TiPCallback site extension which Url can be specified. See TiPCallback site extension for the scaffold and contracts.\r\n            https://www.siteextensions.net/packages/TiPCallback/"
                      }
                    }
                  ]
                }
              }
            ]
          }
        ]
      }
    }
  },
  "$responses": {
    "200": {
      "$properties": {
        "properties": [
          {
            "experiments": [
              {
                "rampUpRules": {
                  "$properties": [
                    {
                      "#name": "changeDecisionCallbackUrl",
                      "Description": {
                        "new": "Custom decision algorithm can be provided in TiPCallback site extension which Url can be specified.",
                        "old": "Custom decision algorithm can be provided in TiPCallback site extension which Url can be specified. See TiPCallback site extension for the scaffold and contracts.\r\n            https://www.siteextensions.net/packages/TiPCallback/"
                      }
                    }
                  ]
                }
              }
            ]
          }
        ]
      }
    }
  }
}

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/web
{
resourceGroupName: string ,
name: string ,
siteConfig:
{
properties:
{
numberOfWorkers: integer ,
defaultDocuments:
[
string ,
]
,
netFrameworkVersion: string ,
phpVersion: string ,
pythonVersion: string ,
nodeVersion: string ,
requestTracingEnabled: boolean ,
requestTracingExpirationTime: string ,
remoteDebuggingEnabled: boolean ,
remoteDebuggingVersion: string ,
httpLoggingEnabled: boolean ,
logsDirectorySizeLimit: integer ,
detailedErrorLoggingEnabled: boolean ,
publishingUsername: string ,
publishingPassword: string ,
appSettings:
[
{
name: string ,
value: string ,
}
,
]
,
metadata:
[
{
name: string ,
value: string ,
}
,
]
,
connectionStrings:
[
{
name: string ,
connectionString: string ,
type: enum ,
}
,
]
,
handlerMappings:
[
{
extension: string ,
scriptProcessor: string ,
arguments: string ,
}
,
]
,
documentRoot: string ,
scmType: string ,
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 ,
}
,
]
,
slowRequests:
{
timeTaken: string ,
count: integer ,
timeInterval: string ,
}
,
}
,
actions:
{
actionType: enum ,
customAction:
{
exe: string ,
parameters: string ,
}
,
minProcessExecutionTime: string ,
}
,
}
,
tracingOptions: string ,
vnetName: string ,
cors:
{
allowedOrigins:
[
string ,
]
,
}
,
apiDefinition:
{
url: string ,
}
,
autoSwapSlotName: string ,
localMySqlEnabled: boolean ,
ipSecurityRestrictions:
[
{
ipAddress: string ,
subnetMask: string ,
}
,
]
,
}
,
}
,
slot: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
numberOfWorkers: integer ,
defaultDocuments:
[
string ,
]
,
netFrameworkVersion: string ,
phpVersion: string ,
pythonVersion: string ,
nodeVersion: string ,
requestTracingEnabled: boolean ,
requestTracingExpirationTime: string ,
remoteDebuggingEnabled: boolean ,
remoteDebuggingVersion: string ,
httpLoggingEnabled: boolean ,
logsDirectorySizeLimit: integer ,
detailedErrorLoggingEnabled: boolean ,
publishingUsername: string ,
publishingPassword: string ,
appSettings:
[
{
name: string ,
value: string ,
}
,
]
,
metadata:
[
{
name: string ,
value: string ,
}
,
]
,
connectionStrings:
[
{
name: string ,
connectionString: string ,
type: enum ,
}
,
]
,
handlerMappings:
[
{
extension: string ,
scriptProcessor: string ,
arguments: string ,
}
,
]
,
documentRoot: string ,
scmType: string ,
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 ,
}
,
]
,
slowRequests:
{
timeTaken: string ,
count: integer ,
timeInterval: string ,
}
,
}
,
actions:
{
actionType: enum ,
customAction:
{
exe: string ,
parameters: string ,
}
,
minProcessExecutionTime: string ,
}
,
}
,
tracingOptions: string ,
vnetName: string ,
cors:
{
allowedOrigins:
[
string ,
]
,
}
,
apiDefinition:
{
url: string ,
}
,
autoSwapSlotName: string ,
localMySqlEnabled: boolean ,
ipSecurityRestrictions:
[
{
ipAddress: string ,
subnetMask: string ,
}
,
]
,
}
,
}
Sites_UpdateSiteConfigSlot (updated)
Description Update the configuration of web app
Reference Link ¶

⚶ Changes

{
  "#id": "Sites_UpdateSiteConfigSlot",
  "$parameters": {
    "siteConfig": {
      "$properties": {
        "properties": [
          {
            "experiments": [
              {
                "rampUpRules": {
                  "$properties": [
                    {
                      "#name": "changeDecisionCallbackUrl",
                      "Description": {
                        "new": "Custom decision algorithm can be provided in TiPCallback site extension which Url can be specified.",
                        "old": "Custom decision algorithm can be provided in TiPCallback site extension which Url can be specified. See TiPCallback site extension for the scaffold and contracts.\r\n            https://www.siteextensions.net/packages/TiPCallback/"
                      }
                    }
                  ]
                }
              }
            ]
          }
        ]
      }
    }
  },
  "$responses": {
    "200": {
      "$properties": {
        "properties": [
          {
            "experiments": [
              {
                "rampUpRules": {
                  "$properties": [
                    {
                      "#name": "changeDecisionCallbackUrl",
                      "Description": {
                        "new": "Custom decision algorithm can be provided in TiPCallback site extension which Url can be specified.",
                        "old": "Custom decision algorithm can be provided in TiPCallback site extension which Url can be specified. See TiPCallback site extension for the scaffold and contracts.\r\n            https://www.siteextensions.net/packages/TiPCallback/"
                      }
                    }
                  ]
                }
              }
            ]
          }
        ]
      }
    }
  }
}

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/web
{
resourceGroupName: string ,
name: string ,
siteConfig:
{
properties:
{
numberOfWorkers: integer ,
defaultDocuments:
[
string ,
]
,
netFrameworkVersion: string ,
phpVersion: string ,
pythonVersion: string ,
nodeVersion: string ,
requestTracingEnabled: boolean ,
requestTracingExpirationTime: string ,
remoteDebuggingEnabled: boolean ,
remoteDebuggingVersion: string ,
httpLoggingEnabled: boolean ,
logsDirectorySizeLimit: integer ,
detailedErrorLoggingEnabled: boolean ,
publishingUsername: string ,
publishingPassword: string ,
appSettings:
[
{
name: string ,
value: string ,
}
,
]
,
metadata:
[
{
name: string ,
value: string ,
}
,
]
,
connectionStrings:
[
{
name: string ,
connectionString: string ,
type: enum ,
}
,
]
,
handlerMappings:
[
{
extension: string ,
scriptProcessor: string ,
arguments: string ,
}
,
]
,
documentRoot: string ,
scmType: string ,
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 ,
}
,
]
,
slowRequests:
{
timeTaken: string ,
count: integer ,
timeInterval: string ,
}
,
}
,
actions:
{
actionType: enum ,
customAction:
{
exe: string ,
parameters: string ,
}
,
minProcessExecutionTime: string ,
}
,
}
,
tracingOptions: string ,
vnetName: string ,
cors:
{
allowedOrigins:
[
string ,
]
,
}
,
apiDefinition:
{
url: string ,
}
,
autoSwapSlotName: string ,
localMySqlEnabled: boolean ,
ipSecurityRestrictions:
[
{
ipAddress: string ,
subnetMask: string ,
}
,
]
,
}
,
}
,
slot: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
numberOfWorkers: integer ,
defaultDocuments:
[
string ,
]
,
netFrameworkVersion: string ,
phpVersion: string ,
pythonVersion: string ,
nodeVersion: string ,
requestTracingEnabled: boolean ,
requestTracingExpirationTime: string ,
remoteDebuggingEnabled: boolean ,
remoteDebuggingVersion: string ,
httpLoggingEnabled: boolean ,
logsDirectorySizeLimit: integer ,
detailedErrorLoggingEnabled: boolean ,
publishingUsername: string ,
publishingPassword: string ,
appSettings:
[
{
name: string ,
value: string ,
}
,
]
,
metadata:
[
{
name: string ,
value: string ,
}
,
]
,
connectionStrings:
[
{
name: string ,
connectionString: string ,
type: enum ,
}
,
]
,
handlerMappings:
[
{
extension: string ,
scriptProcessor: string ,
arguments: string ,
}
,
]
,
documentRoot: string ,
scmType: string ,
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 ,
}
,
]
,
slowRequests:
{
timeTaken: string ,
count: integer ,
timeInterval: string ,
}
,
}
,
actions:
{
actionType: enum ,
customAction:
{
exe: string ,
parameters: string ,
}
,
minProcessExecutionTime: string ,
}
,
}
,
tracingOptions: string ,
vnetName: string ,
cors:
{
allowedOrigins:
[
string ,
]
,
}
,
apiDefinition:
{
url: string ,
}
,
autoSwapSlotName: string ,
localMySqlEnabled: boolean ,
ipSecurityRestrictions:
[
{
ipAddress: string ,
subnetMask: string ,
}
,
]
,
}
,
}
Sites_ListSiteAuthSettings (updated)
Description Gets the Authentication / Authorization settings associated with web app
Reference Link ¶

⚶ Changes

{
  "#id": "Sites_ListSiteAuthSettings",
  "$responses": {
    "200": {
      "$properties": [
        {
          "#name": "issuer",
          "Description": {
            "new": "Gets or sets the OpenID Connect Issuer URI that represents the entity which issues access tokens for this application.\r\n            When using Azure Active Directory, this value is the URI of the directory tenant, e.g. `https://sts.windows.net/{tenant-guid}/`.\r\n            This URI is a case-sensitive identifier for the token issuer.\r\n            More information on OpenID Connect Discovery: http://openid.net/specs/openid-connect-discovery-1_0.html",
            "old": "Gets or sets the OpenID Connect Issuer URI that represents the entity which issues access tokens for this application.\r\n            When using Azure Active Directory, this value is the URI of the directory tenant, e.g. https://sts.windows.net/{tenant-guid}/.\r\n            This URI is a case-sensitive identifier for the token issuer.\r\n            More information on OpenID Connect Discovery: http://openid.net/specs/openid-connect-discovery-1_0.html"
          }
        }
      ]
    }
  }
}

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/authsettings/list
{
resourceGroupName: string ,
name: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
enabled: boolean ,
httpApiPrefixPath: string ,
unauthenticatedClientAction: enum ,
tokenStoreEnabled: boolean ,
allowedExternalRedirectUrls:
[
string ,
]
,
defaultProvider: enum ,
tokenRefreshExtensionHours: number ,
clientId: string ,
clientSecret: string ,
issuer: string ,
allowedAudiences:
[
string ,
]
,
additionalLoginParams:
[
string ,
]
,
aadClientId: string ,
openIdIssuer: string ,
googleClientId: string ,
googleClientSecret: string ,
googleOAuthScopes:
[
string ,
]
,
facebookAppId: string ,
facebookAppSecret: string ,
facebookOAuthScopes:
[
string ,
]
,
twitterConsumerKey: string ,
twitterConsumerSecret: string ,
microsoftAccountClientId: string ,
microsoftAccountClientSecret: string ,
microsoftAccountOAuthScopes:
[
string ,
]
,
}
Sites_ListSiteAuthSettingsSlot (updated)
Description Gets the Authentication / Authorization settings associated with web app
Reference Link ¶

⚶ Changes

{
  "#id": "Sites_ListSiteAuthSettingsSlot",
  "$responses": {
    "200": {
      "$properties": [
        {
          "#name": "issuer",
          "Description": {
            "new": "Gets or sets the OpenID Connect Issuer URI that represents the entity which issues access tokens for this application.\r\n            When using Azure Active Directory, this value is the URI of the directory tenant, e.g. `https://sts.windows.net/{tenant-guid}/`.\r\n            This URI is a case-sensitive identifier for the token issuer.\r\n            More information on OpenID Connect Discovery: http://openid.net/specs/openid-connect-discovery-1_0.html",
            "old": "Gets or sets the OpenID Connect Issuer URI that represents the entity which issues access tokens for this application.\r\n            When using Azure Active Directory, this value is the URI of the directory tenant, e.g. https://sts.windows.net/{tenant-guid}/.\r\n            This URI is a case-sensitive identifier for the token issuer.\r\n            More information on OpenID Connect Discovery: http://openid.net/specs/openid-connect-discovery-1_0.html"
          }
        }
      ]
    }
  }
}

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/authsettings/list
{
resourceGroupName: string ,
name: string ,
slot: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
enabled: boolean ,
httpApiPrefixPath: string ,
unauthenticatedClientAction: enum ,
tokenStoreEnabled: boolean ,
allowedExternalRedirectUrls:
[
string ,
]
,
defaultProvider: enum ,
tokenRefreshExtensionHours: number ,
clientId: string ,
clientSecret: string ,
issuer: string ,
allowedAudiences:
[
string ,
]
,
additionalLoginParams:
[
string ,
]
,
aadClientId: string ,
openIdIssuer: string ,
googleClientId: string ,
googleClientSecret: string ,
googleOAuthScopes:
[
string ,
]
,
facebookAppId: string ,
facebookAppSecret: string ,
facebookOAuthScopes:
[
string ,
]
,
twitterConsumerKey: string ,
twitterConsumerSecret: string ,
microsoftAccountClientId: string ,
microsoftAccountClientSecret: string ,
microsoftAccountOAuthScopes:
[
string ,
]
,
}
Sites_UpdateSiteAuthSettings (updated)
Description Updates the Authentication / Authorization settings associated with web app
Reference Link ¶

⚶ Changes

{
  "#id": "Sites_UpdateSiteAuthSettings",
  "$parameters": {
    "siteAuthSettings": {
      "$properties": [
        {
          "#name": "issuer",
          "Description": {
            "new": "Gets or sets the OpenID Connect Issuer URI that represents the entity which issues access tokens for this application.\r\n            When using Azure Active Directory, this value is the URI of the directory tenant, e.g. `https://sts.windows.net/{tenant-guid}/`.\r\n            This URI is a case-sensitive identifier for the token issuer.\r\n            More information on OpenID Connect Discovery: http://openid.net/specs/openid-connect-discovery-1_0.html",
            "old": "Gets or sets the OpenID Connect Issuer URI that represents the entity which issues access tokens for this application.\r\n            When using Azure Active Directory, this value is the URI of the directory tenant, e.g. https://sts.windows.net/{tenant-guid}/.\r\n            This URI is a case-sensitive identifier for the token issuer.\r\n            More information on OpenID Connect Discovery: http://openid.net/specs/openid-connect-discovery-1_0.html"
          }
        }
      ]
    }
  },
  "$responses": {
    "200": {
      "$properties": [
        {
          "#name": "issuer",
          "Description": {
            "new": "Gets or sets the OpenID Connect Issuer URI that represents the entity which issues access tokens for this application.\r\n            When using Azure Active Directory, this value is the URI of the directory tenant, e.g. `https://sts.windows.net/{tenant-guid}/`.\r\n            This URI is a case-sensitive identifier for the token issuer.\r\n            More information on OpenID Connect Discovery: http://openid.net/specs/openid-connect-discovery-1_0.html",
            "old": "Gets or sets the OpenID Connect Issuer URI that represents the entity which issues access tokens for this application.\r\n            When using Azure Active Directory, this value is the URI of the directory tenant, e.g. https://sts.windows.net/{tenant-guid}/.\r\n            This URI is a case-sensitive identifier for the token issuer.\r\n            More information on OpenID Connect Discovery: http://openid.net/specs/openid-connect-discovery-1_0.html"
          }
        }
      ]
    }
  }
}

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/authsettings
{
resourceGroupName: string ,
name: string ,
siteAuthSettings:
{
enabled: boolean ,
httpApiPrefixPath: string ,
unauthenticatedClientAction: enum ,
tokenStoreEnabled: boolean ,
allowedExternalRedirectUrls:
[
string ,
]
,
defaultProvider: enum ,
tokenRefreshExtensionHours: number ,
clientId: string ,
clientSecret: string ,
issuer: string ,
allowedAudiences:
[
string ,
]
,
additionalLoginParams:
[
string ,
]
,
aadClientId: string ,
openIdIssuer: string ,
googleClientId: string ,
googleClientSecret: string ,
googleOAuthScopes:
[
string ,
]
,
facebookAppId: string ,
facebookAppSecret: string ,
facebookOAuthScopes:
[
string ,
]
,
twitterConsumerKey: string ,
twitterConsumerSecret: string ,
microsoftAccountClientId: string ,
microsoftAccountClientSecret: string ,
microsoftAccountOAuthScopes:
[
string ,
]
,
}
,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
enabled: boolean ,
httpApiPrefixPath: string ,
unauthenticatedClientAction: enum ,
tokenStoreEnabled: boolean ,
allowedExternalRedirectUrls:
[
string ,
]
,
defaultProvider: enum ,
tokenRefreshExtensionHours: number ,
clientId: string ,
clientSecret: string ,
issuer: string ,
allowedAudiences:
[
string ,
]
,
additionalLoginParams:
[
string ,
]
,
aadClientId: string ,
openIdIssuer: string ,
googleClientId: string ,
googleClientSecret: string ,
googleOAuthScopes:
[
string ,
]
,
facebookAppId: string ,
facebookAppSecret: string ,
facebookOAuthScopes:
[
string ,
]
,
twitterConsumerKey: string ,
twitterConsumerSecret: string ,
microsoftAccountClientId: string ,
microsoftAccountClientSecret: string ,
microsoftAccountOAuthScopes:
[
string ,
]
,
}
Sites_UpdateSiteAuthSettingsSlot (updated)
Description Updates the Authentication / Authorization settings associated with web app
Reference Link ¶

⚶ Changes

{
  "#id": "Sites_UpdateSiteAuthSettingsSlot",
  "$parameters": {
    "siteAuthSettings": {
      "$properties": [
        {
          "#name": "issuer",
          "Description": {
            "new": "Gets or sets the OpenID Connect Issuer URI that represents the entity which issues access tokens for this application.\r\n            When using Azure Active Directory, this value is the URI of the directory tenant, e.g. `https://sts.windows.net/{tenant-guid}/`.\r\n            This URI is a case-sensitive identifier for the token issuer.\r\n            More information on OpenID Connect Discovery: http://openid.net/specs/openid-connect-discovery-1_0.html",
            "old": "Gets or sets the OpenID Connect Issuer URI that represents the entity which issues access tokens for this application.\r\n            When using Azure Active Directory, this value is the URI of the directory tenant, e.g. https://sts.windows.net/{tenant-guid}/.\r\n            This URI is a case-sensitive identifier for the token issuer.\r\n            More information on OpenID Connect Discovery: http://openid.net/specs/openid-connect-discovery-1_0.html"
          }
        }
      ]
    }
  },
  "$responses": {
    "200": {
      "$properties": [
        {
          "#name": "issuer",
          "Description": {
            "new": "Gets or sets the OpenID Connect Issuer URI that represents the entity which issues access tokens for this application.\r\n            When using Azure Active Directory, this value is the URI of the directory tenant, e.g. `https://sts.windows.net/{tenant-guid}/`.\r\n            This URI is a case-sensitive identifier for the token issuer.\r\n            More information on OpenID Connect Discovery: http://openid.net/specs/openid-connect-discovery-1_0.html",
            "old": "Gets or sets the OpenID Connect Issuer URI that represents the entity which issues access tokens for this application.\r\n            When using Azure Active Directory, this value is the URI of the directory tenant, e.g. https://sts.windows.net/{tenant-guid}/.\r\n            This URI is a case-sensitive identifier for the token issuer.\r\n            More information on OpenID Connect Discovery: http://openid.net/specs/openid-connect-discovery-1_0.html"
          }
        }
      ]
    }
  }
}

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/authsettings
{
resourceGroupName: string ,
name: string ,
siteAuthSettings:
{
enabled: boolean ,
httpApiPrefixPath: string ,
unauthenticatedClientAction: enum ,
tokenStoreEnabled: boolean ,
allowedExternalRedirectUrls:
[
string ,
]
,
defaultProvider: enum ,
tokenRefreshExtensionHours: number ,
clientId: string ,
clientSecret: string ,
issuer: string ,
allowedAudiences:
[
string ,
]
,
additionalLoginParams:
[
string ,
]
,
aadClientId: string ,
openIdIssuer: string ,
googleClientId: string ,
googleClientSecret: string ,
googleOAuthScopes:
[
string ,
]
,
facebookAppId: string ,
facebookAppSecret: string ,
facebookOAuthScopes:
[
string ,
]
,
twitterConsumerKey: string ,
twitterConsumerSecret: string ,
microsoftAccountClientId: string ,
microsoftAccountClientSecret: string ,
microsoftAccountOAuthScopes:
[
string ,
]
,
}
,
slot: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
enabled: boolean ,
httpApiPrefixPath: string ,
unauthenticatedClientAction: enum ,
tokenStoreEnabled: boolean ,
allowedExternalRedirectUrls:
[
string ,
]
,
defaultProvider: enum ,
tokenRefreshExtensionHours: number ,
clientId: string ,
clientSecret: string ,
issuer: string ,
allowedAudiences:
[
string ,
]
,
additionalLoginParams:
[
string ,
]
,
aadClientId: string ,
openIdIssuer: string ,
googleClientId: string ,
googleClientSecret: string ,
googleOAuthScopes:
[
string ,
]
,
facebookAppId: string ,
facebookAppSecret: string ,
facebookOAuthScopes:
[
string ,
]
,
twitterConsumerKey: string ,
twitterConsumerSecret: string ,
microsoftAccountClientId: string ,
microsoftAccountClientSecret: string ,
microsoftAccountOAuthScopes:
[
string ,
]
,
}