Web Apps - Create Or Update Configuration
更新應用程式設定的描述。
PUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/web?api-version=2024-04-01
名稱 | 位於 | 必要 | 類型 | Description |
---|---|---|---|---|
name
|
path | True |
string |
應用程式的名稱。 |
resource
|
path | True |
string |
資源所屬的資源群組名稱。 Regex 模式: |
subscription
|
path | True |
string |
您的 Azure 訂用帳戶標識碼。 這是 GUID 格式的字串(例如 0000000000-0000-0000-0000-0000000000000000)。 |
api-version
|
query | True |
string |
API 版本 |
名稱 | 類型 | Description |
---|---|---|
kind |
string |
資源種類。 |
properties.acrUseManagedIdentityCreds |
boolean |
使用受控識別 Creds 進行 ACR 提取的旗標 |
properties.acrUserManagedIdentityID |
string |
如果使用使用者受控識別,則使用者受控識別 ClientId |
properties.alwaysOn |
boolean |
如果已啟用 Always On, |
properties.apiDefinition |
應用程式正式 API 定義的相關信息。 |
|
properties.apiManagementConfig |
連結至應用程式的 Azure API 管理設定。 |
|
properties.appCommandLine |
string |
要啟動的應用程式命令行。 |
properties.appSettings |
應用程式設定。 |
|
properties.autoHealEnabled |
boolean |
如果已啟用自動癒合, |
properties.autoHealRules |
自動治癒規則。 |
|
properties.autoSwapSlotName |
string |
自動交換位置名稱。 |
properties.azureStorageAccounts |
<string,
Azure |
Azure 記憶體帳戶的清單。 |
properties.connectionStrings |
連接字串。 |
|
properties.cors |
跨原始來源資源分享 (CORS) 設定。 |
|
properties.defaultDocuments |
string[] |
默認檔。 |
properties.detailedErrorLoggingEnabled |
boolean |
如果已啟用詳細的錯誤記錄, |
properties.documentRoot |
string |
檔根目錄。 |
properties.elasticWebAppScaleLimit |
integer |
網站可相應放大至的工作者數目上限。
此設定僅適用於 ElasticScaleEnabled |
properties.experiments |
這適用於多型類型。 |
|
properties.ftpsState |
FTP / FTPS 服務的狀態 |
|
properties.functionAppScaleLimit |
integer |
網站可相應放大至的工作者數目上限。 此設定僅適用於取用和彈性進階方案 |
properties.functionsRuntimeScaleMonitoringEnabled |
boolean |
取得或設定值,指出是否啟用函式運行時間調整監視。 啟用時,ScaleController 不會直接監視事件來源,而是會呼叫運行時間以取得縮放狀態。 |
properties.handlerMappings |
處理程序對應。 |
|
properties.healthCheckPath |
string |
健康情況檢查路徑 |
properties.http20Enabled |
boolean |
Http20Enabled:設定網站以允許用戶端透過 HTTP2.0 連線 |
properties.httpLoggingEnabled |
boolean |
如果已啟用 HTTP 記錄, |
properties.ipSecurityRestrictions |
main 的IP安全性限制。 |
|
properties.ipSecurityRestrictionsDefaultAction |
如果沒有符合任何規則,則主要存取限制的默認動作。 |
|
properties.javaContainer |
string |
Java 容器。 |
properties.javaContainerVersion |
string |
Java 容器版本。 |
properties.javaVersion |
string |
Java 版本。 |
properties.keyVaultReferenceIdentity |
string |
要用於 Key Vault 參考驗證的身分識別。 |
properties.limits |
網站限制。 |
|
properties.linuxFxVersion |
string |
Linux 應用程式架構和版本 |
properties.loadBalancing |
網站負載平衡。 |
|
properties.localMySqlEnabled |
boolean |
|
properties.logsDirectorySizeLimit |
integer |
HTTP 記錄目錄大小限制。 |
properties.managedPipelineMode |
受控管線模式。 |
|
properties.managedServiceIdentityId |
integer |
受控服務識別標識碼 |
properties.metadata |
應用程式元數據。 無法擷取這個屬性,因為它可能包含秘密。 |
|
properties.minTlsCipherSuite |
應用程式允許的最小強度 TLS 加密套件 |
|
properties.minTlsVersion |
MinTlsVersion:設定 SSL 要求所需的最低 TLS 版本 |
|
properties.minimumElasticInstanceCount |
integer |
月臺的最低實例計數數目 此設定僅適用於彈性方案 |
properties.netFrameworkVersion |
string |
.NET Framework 版本。 |
properties.nodeVersion |
string |
Node.js的版本。 |
properties.numberOfWorkers |
integer |
背景工作角色數目。 |
properties.phpVersion |
string |
PHP 版本。 |
properties.powerShellVersion |
string |
PowerShell 版本。 |
properties.preWarmedInstanceCount |
integer |
預先Warmed 實例的數目。 此設定僅適用於取用和彈性方案 |
properties.publicNetworkAccess |
string |
允許或封鎖所有公用流量的屬性。 |
properties.publishingUsername |
string |
發佈用戶名稱。 |
properties.push |
推送端點設定。 |
|
properties.pythonVersion |
string |
Python 版本。 |
properties.remoteDebuggingEnabled |
boolean |
如果已啟用遠程偵錯, |
properties.remoteDebuggingVersion |
string |
遠端偵錯版本。 |
properties.requestTracingEnabled |
boolean |
如果已啟用要求追蹤, |
properties.requestTracingExpirationTime |
string |
要求追蹤到期時間。 |
properties.scmIpSecurityRestrictions |
scm 的IP安全性限制。 |
|
properties.scmIpSecurityRestrictionsDefaultAction |
如果未比對任何規則,則為 scm 存取限制的預設動作。 |
|
properties.scmIpSecurityRestrictionsUseMain |
boolean |
scm 使用 main 的 IP 安全性限制。 |
properties.scmMinTlsVersion |
ScmMinTlsVersion:設定 SCM 網站 SSL 要求所需的最低 TLS 版本 |
|
properties.scmType |
SCM 類型。 |
|
properties.tracingOptions |
string |
追蹤選項。 |
properties.use32BitWorkerProcess |
boolean |
|
properties.virtualApplications |
虛擬應用程式。 |
|
properties.vnetName |
string |
虛擬網路名稱。 |
properties.vnetPrivatePortsCount |
integer |
指派給此應用程式的私人埠數目。 這些會在運行時間動態指派。 |
properties.vnetRouteAllEnabled |
boolean |
虛擬網路路由全部啟用。 這會導致所有輸出流量套用虛擬網路安全組和用戶定義的路由。 |
properties.webSocketsEnabled |
boolean |
如果已啟用 WebSocket, |
properties.websiteTimeZone |
string |
設定網站用來產生時間戳的時區。 與 Linux 和 Windows App Service 相容。 設定WEBSITE_TIME_ZONE應用程式設定的優先順序高於此設定。針對 Linux,預期 tz 資料庫值 https://www.iana.org/time-zones (如需快速參考,請參閱 https://en.wikipedia.org/wiki/List_of_tz_database_time_zones)。 針對 Windows,預期其中一個時區列在 HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones |
properties.windowsFxVersion |
string |
Xenon App Framework 和版本 |
properties.xManagedServiceIdentityId |
integer |
明確受控服務識別標識碼 |
名稱 | 類型 | Description |
---|---|---|
200 OK |
還行 |
|
Other Status Codes |
App Service 錯誤回應。 |
Azure Active Directory OAuth2 Flow
類型:
oauth2
Flow:
implicit
授權 URL:
https://login.microsoftonline.com/common/oauth2/authorize
名稱 | Description |
---|---|
user_impersonation | 模擬您的用戶帳戶 |
範例要求
PUT https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141/config/web?api-version=2024-04-01
{
"properties": {
"numberOfWorkers": 1,
"defaultDocuments": [
"Default.htm",
"Default.html",
"Default.asp",
"index.htm",
"index.html",
"iisstart.htm",
"default.aspx",
"index.php",
"hostingstart.html"
],
"netFrameworkVersion": "v4.0",
"phpVersion": "5.6",
"pythonVersion": "",
"nodeVersion": "",
"powerShellVersion": "",
"linuxFxVersion": "",
"requestTracingEnabled": false,
"remoteDebuggingEnabled": false,
"httpLoggingEnabled": false,
"acrUseManagedIdentityCreds": false,
"logsDirectorySizeLimit": 35,
"detailedErrorLoggingEnabled": false,
"use32BitWorkerProcess": true,
"webSocketsEnabled": false,
"alwaysOn": false,
"appCommandLine": "",
"managedPipelineMode": "Integrated",
"virtualApplications": [
{
"virtualPath": "/",
"physicalPath": "site\\wwwroot",
"preloadEnabled": false
}
],
"loadBalancing": "LeastRequests",
"autoHealEnabled": false,
"vnetName": "",
"vnetRouteAllEnabled": false,
"vnetPrivatePortsCount": 0,
"http20Enabled": false,
"minTlsVersion": "1.2",
"scmMinTlsVersion": "1.2",
"ftpsState": "AllAllowed",
"functionAppScaleLimit": 0,
"functionsRuntimeScaleMonitoringEnabled": false,
"minimumElasticInstanceCount": 0,
"azureStorageAccounts": {}
}
}
範例回覆
{
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/sitef6141/config/web",
"name": "web",
"type": "Microsoft.Web/sites/config",
"kind": "app",
"properties": {
"numberOfWorkers": 1,
"defaultDocuments": [
"Default.htm",
"Default.html",
"Default.asp",
"index.htm",
"index.html",
"iisstart.htm",
"default.aspx",
"index.php",
"hostingstart.html"
],
"netFrameworkVersion": "v4.0",
"phpVersion": "5.6",
"pythonVersion": "",
"nodeVersion": "",
"powerShellVersion": "",
"linuxFxVersion": "",
"requestTracingEnabled": false,
"remoteDebuggingEnabled": false,
"httpLoggingEnabled": false,
"acrUseManagedIdentityCreds": false,
"logsDirectorySizeLimit": 35,
"detailedErrorLoggingEnabled": false,
"use32BitWorkerProcess": true,
"webSocketsEnabled": false,
"alwaysOn": false,
"appCommandLine": "",
"managedPipelineMode": "Integrated",
"virtualApplications": [
{
"virtualPath": "/",
"physicalPath": "site\\wwwroot",
"preloadEnabled": false
}
],
"loadBalancing": "LeastRequests",
"autoHealEnabled": false,
"vnetName": "",
"vnetRouteAllEnabled": false,
"vnetPrivatePortsCount": 0,
"http20Enabled": false,
"minTlsVersion": "1.2",
"scmMinTlsVersion": "1.2",
"ftpsState": "AllAllowed",
"functionAppScaleLimit": 0,
"functionsRuntimeScaleMonitoringEnabled": false,
"minimumElasticInstanceCount": 0,
"azureStorageAccounts": {}
}
}
名稱 | Description |
---|---|
Api |
應用程式正式 API 定義的相關信息。 |
Api |
連結至應用程式的 Azure API 管理 (APIM) 組態。 |
Auto |
觸發規則時,自動癒合模組要採取的動作。 |
Auto |
要採取的預先定義動作。 |
Auto |
觸發自動癒合規則時要執行的自定義動作。 |
Auto |
可以定義用於自動癒合的規則。 |
Auto |
自動癒合的觸發程式。 |
Azure |
字典記憶體的 Azure 檔案記憶體或 Blob 記憶體存取資訊值。 |
Azure |
掛接要用於記憶體帳戶的通訊協定。 |
Azure |
記憶體帳戶的狀態。 |
Azure |
記憶體的類型。 |
Connection |
資料庫的類型。 |
Conn |
資料庫連接字串資訊。 |
Cors |
應用程式的跨原始來源資源分享 (CORS) 設定。 |
Default |
如果沒有符合任何規則,則主要存取限制的默認動作。 |
Default |
App Service 錯誤回應。 |
Details | |
Error |
錯誤模型。 |
Experiments |
生產實驗中的路由規則。 |
Ftps |
FTP / FTPS 服務的狀態 |
Handler |
IIS 處理程式對應,用來定義哪些處理程式會處理具有特定擴充功能的 HTTP 要求。 例如,它用來設定 php-cgi.exe 進程,以使用 *.php 擴充功能處理所有 HTTP 要求。 |
Ip |
定義此IP篩選器將用於哪些專案。 這是為了支援 Proxy 的IP篩選。 |
Ip |
應用程式上的IP安全性限制。 |
Managed |
受控管線模式。 |
Name |
名稱值組。 |
Push |
應用程式的推送設定。 |
Ramp |
用於加速測試的路由規則。 此規則允許將靜態流量 % 重新導向至位置,或根據效能逐漸變更路由 %。 |
Requests |
根據要求總數觸發。 |
Scm |
SCM 類型。 |
Site |
Web 應用程式設定 ARM 資源。 |
Site |
在應用程式上設定的計量限制。 |
Site |
網站負載平衡。 |
Site |
應用程式的 MachineKey。 |
Slow |
根據要求運行時間觸發。 |
Status |
根據狀態代碼觸發。 |
Status |
根據狀態代碼的範圍觸發。 |
Supported |
MinTlsVersion:設定 SSL 要求所需的最低 TLS 版本 |
Tls |
應用程式允許的最小強度 TLS 加密套件 |
Virtual |
應用程式中的虛擬應用程式。 |
Virtual |
虛擬應用程式的目錄。 |
應用程式正式 API 定義的相關信息。
名稱 | 類型 | Description |
---|---|---|
url |
string |
API 定義的 URL。 |
連結至應用程式的 Azure API 管理 (APIM) 組態。
名稱 | 類型 | Description |
---|---|---|
id |
string |
APIM-Api 標識碼。 |
觸發規則時,自動癒合模組要採取的動作。
名稱 | 類型 | Description |
---|---|---|
actionType |
要採取的預先定義動作。 |
|
customAction |
要採取的自定義動作。 |
|
minProcessExecutionTime |
string |
執行動作之前,進程必須執行的時間下限 |
要採取的預先定義動作。
值 | Description |
---|---|
CustomAction | |
LogEvent | |
Recycle |
觸發自動癒合規則時要執行的自定義動作。
名稱 | 類型 | Description |
---|---|---|
exe |
string |
要執行的可執行檔。 |
parameters |
string |
可執行文件的參數。 |
可以定義用於自動癒合的規則。
名稱 | 類型 | Description |
---|---|---|
actions |
觸發規則時要執行的動作。 |
|
triggers |
描述何時執行自動癒合動作的條件。 |
自動癒合的觸發程式。
名稱 | 類型 | Description |
---|---|---|
privateBytesInKB |
integer |
以私用位元組為基礎的規則。 |
requests |
以要求總數為基礎的規則。 |
|
slowRequests |
根據要求運行時間的規則。 |
|
slowRequestsWithPath |
根據具有路徑的多個慢速要求規則的規則 |
|
statusCodes |
以狀態代碼為基礎的規則。 |
|
statusCodesRange |
根據狀態代碼範圍的規則。 |
字典記憶體的 Azure 檔案記憶體或 Blob 記憶體存取資訊值。
名稱 | 類型 | Description |
---|---|---|
accessKey |
string |
儲存體帳戶的存取金鑰。 |
accountName |
string |
記憶體帳戶的名稱。 |
mountPath |
string |
在站臺運行時間環境中掛接記憶體的路徑。 |
protocol |
掛接要用於記憶體帳戶的通訊協定。 |
|
shareName |
string |
檔案共享的名稱(容器名稱,用於 Blob 記憶體)。 |
state |
記憶體帳戶的狀態。 |
|
type |
記憶體的類型。 |
掛接要用於記憶體帳戶的通訊協定。
值 | Description |
---|---|
Http | |
Nfs | |
Smb |
記憶體帳戶的狀態。
值 | Description |
---|---|
InvalidCredentials | |
InvalidShare | |
NotValidated | |
Ok |
記憶體的類型。
值 | Description |
---|---|
AzureBlob | |
AzureFiles |
資料庫的類型。
值 | Description |
---|---|
ApiHub | |
Custom | |
DocDb | |
EventHub | |
MySql | |
NotificationHub | |
PostgreSQL | |
RedisCache | |
SQLAzure | |
SQLServer | |
ServiceBus |
資料庫連接字串資訊。
名稱 | 類型 | Description |
---|---|---|
connectionString |
string |
連接字串值。 |
name |
string |
連接字串的名稱。 |
type |
資料庫的類型。 |
應用程式的跨原始來源資源分享 (CORS) 設定。
名稱 | 類型 | Description |
---|---|---|
allowedOrigins |
string[] |
取得或設定應該允許進行跨原始來源呼叫的來源清單(例如:http://example.com:12345)。 使用 「*」 來允許所有專案。 |
supportCredentials |
boolean |
取得或設定是否允許具有認證的CORS要求。 如需詳細資訊,請參閱 https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS#Requests_with_credentials。 |
如果沒有符合任何規則,則主要存取限制的默認動作。
值 | Description |
---|---|
Allow | |
Deny |
App Service 錯誤回應。
名稱 | 類型 | Description |
---|---|---|
error |
錯誤模型。 |
名稱 | 類型 | Description |
---|---|---|
code |
string |
以程式設計方式識別錯誤的標準化字串。 |
message |
string |
詳細的錯誤描述和偵錯資訊。 |
target |
string |
詳細的錯誤描述和偵錯資訊。 |
錯誤模型。
名稱 | 類型 | Description |
---|---|---|
code |
string |
以程式設計方式識別錯誤的標準化字串。 |
details |
Details[] |
詳細的錯誤。 |
innererror |
string |
偵錯錯誤的詳細資訊。 |
message |
string |
詳細的錯誤描述和偵錯資訊。 |
target |
string |
詳細的錯誤描述和偵錯資訊。 |
生產實驗中的路由規則。
名稱 | 類型 | Description |
---|---|---|
rampUpRules |
遞增規則的清單。 |
FTP / FTPS 服務的狀態
值 | Description |
---|---|
AllAllowed | |
Disabled | |
FtpsOnly |
IIS 處理程式對應,用來定義哪些處理程式會處理具有特定擴充功能的 HTTP 要求。 例如,它用來設定 php-cgi.exe 進程,以使用 *.php 擴充功能處理所有 HTTP 要求。
名稱 | 類型 | Description |
---|---|---|
arguments |
string |
要傳遞至腳本處理器的命令行自變數。 |
extension |
string |
使用此擴充功能的要求將會使用指定的 FastCGI 應用程式來處理。 |
scriptProcessor |
string |
FastCGI 應用程式的絕對路徑。 |
定義此IP篩選器將用於哪些專案。 這是為了支援 Proxy 的IP篩選。
值 | Description |
---|---|
Default | |
ServiceTag | |
XffProxy |
應用程式上的IP安全性限制。
名稱 | 類型 | Description |
---|---|---|
action |
string |
允許或拒絕此IP範圍的存取。 |
description |
string |
IP 限制規則描述。 |
headers |
object |
IP 限制規則標頭。 X-Forwarded-Host (https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-Host#Examples)。 比對邏輯為 。。
X-Forwarded-For (https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-For#Examples)。 比對邏輯為 。。
X-Azure-FDID 和 X-FD-HealthProbe。 比對邏輯完全相符。 |
ipAddress |
string |
安全性限制的有效IP位址。 其格式可以是純 ipv4 位址(必要的 SubnetMask 屬性)或 CIDR 表示法,例如 ipv4/mask(前置位比對)。 針對 CIDR,不得指定 SubnetMask 屬性。 |
name |
string |
IP 限制規則名稱。 |
priority |
integer |
IP 限制規則的優先順序。 |
subnetMask |
string |
限制的有效IP位址範圍的子網掩碼。 |
subnetTrafficTag |
integer |
(內部)子網流量標記 |
tag |
定義此IP篩選器將用於哪些專案。 這是為了支援 Proxy 的IP篩選。 |
|
vnetSubnetResourceId |
string |
虛擬網路資源標識碼 |
vnetTrafficTag |
integer |
(內部)Vnet 流量標籤 |
受控管線模式。
值 | Description |
---|---|
Classic | |
Integrated |
名稱值組。
名稱 | 類型 | Description |
---|---|---|
name |
string |
配對名稱。 |
value |
string |
配對值。 |
應用程式的推送設定。
名稱 | 類型 | Description |
---|---|---|
id |
string |
資源標識碼。 |
kind |
string |
資源種類。 |
name |
string |
資源名稱。 |
properties.dynamicTagsJson |
string |
取得或設定 JSON 字串,其中包含將從推送註冊端點中的使用者宣告評估的動態標籤清單。 |
properties.isPushEnabled |
boolean |
取得或設定旗標,指出是否啟用推送端點。 |
properties.tagWhitelistJson |
string |
取得或設定 JSON 字串,其中包含已列入允許清單以供推送註冊端點使用的標記清單。 |
properties.tagsRequiringAuth |
string |
取得或設定 JSON 字串,其中包含要求使用者驗證用於推送註冊端點的標籤清單。 標記可以包含英數位元和下列專案:'_'、'@'、'#'、'.'、':'、'-'。 驗證應該在 PushRequestHandler 上執行。 |
type |
string |
資源類型。 |
用於加速測試的路由規則。 此規則允許將靜態流量 % 重新導向至位置,或根據效能逐漸變更路由 %。
名稱 | 類型 | Description |
---|---|---|
actionHostName |
string |
如果決定要重新導向流量的位置主機名。 例如 myapp-stage.azurewebsites.net。 |
changeDecisionCallbackUrl |
string |
您可以在可指定 URL 的 TiPCallback 網站延伸模組中提供自訂決策演算法。 |
changeIntervalInMinutes |
integer |
指定以分鐘為單位重新評估 ReroutePercentage 的間隔。 |
changeStep |
number |
在自動增加案例中,這是從 |
maxReroutePercentage |
number |
指定 ReroutePercentage 將保留的上限。 |
minReroutePercentage |
number |
指定上方的下限,讓 ReroutePercentage 維持不變。 |
name |
string |
路由規則的名稱。 建議的名稱會指向將接收實驗中流量的位置。 |
reroutePercentage |
number |
將重新導向至 |
根據要求總數觸發。
名稱 | 類型 | Description |
---|---|---|
count |
integer |
要求計數。 |
timeInterval |
string |
時間間隔。 |
SCM 類型。
值 | Description |
---|---|
BitbucketGit | |
BitbucketHg | |
CodePlexGit | |
CodePlexHg | |
Dropbox | |
ExternalGit | |
ExternalHg | |
GitHub | |
LocalGit | |
None | |
OneDrive | |
Tfs | |
VSO | |
VSTSRM |
Web 應用程式設定 ARM 資源。
名稱 | 類型 | 預設值 | Description |
---|---|---|---|
id |
string |
資源標識碼。 |
|
kind |
string |
資源種類。 |
|
name |
string |
資源名稱。 |
|
properties.acrUseManagedIdentityCreds |
boolean |
使用受控識別 Creds 進行 ACR 提取的旗標 |
|
properties.acrUserManagedIdentityID |
string |
如果使用使用者受控識別,則使用者受控識別 ClientId |
|
properties.alwaysOn |
boolean |
如果已啟用 Always On, |
|
properties.apiDefinition |
應用程式正式 API 定義的相關信息。 |
||
properties.apiManagementConfig |
連結至應用程式的 Azure API 管理設定。 |
||
properties.appCommandLine |
string |
要啟動的應用程式命令行。 |
|
properties.appSettings |
應用程式設定。 |
||
properties.autoHealEnabled |
boolean |
如果已啟用自動癒合, |
|
properties.autoHealRules |
自動治癒規則。 |
||
properties.autoSwapSlotName |
string |
自動交換位置名稱。 |
|
properties.azureStorageAccounts |
<string,
Azure |
Azure 記憶體帳戶的清單。 |
|
properties.connectionStrings |
連接字串。 |
||
properties.cors |
跨原始來源資源分享 (CORS) 設定。 |
||
properties.defaultDocuments |
string[] |
默認檔。 |
|
properties.detailedErrorLoggingEnabled |
boolean |
如果已啟用詳細的錯誤記錄, |
|
properties.documentRoot |
string |
檔根目錄。 |
|
properties.elasticWebAppScaleLimit |
integer |
網站可相應放大至的工作者數目上限。
此設定僅適用於 ElasticScaleEnabled |
|
properties.experiments |
這適用於多型類型。 |
||
properties.ftpsState |
FTP / FTPS 服務的狀態 |
||
properties.functionAppScaleLimit |
integer |
網站可相應放大至的工作者數目上限。 此設定僅適用於取用和彈性進階方案 |
|
properties.functionsRuntimeScaleMonitoringEnabled |
boolean |
取得或設定值,指出是否啟用函式運行時間調整監視。 啟用時,ScaleController 不會直接監視事件來源,而是會呼叫運行時間以取得縮放狀態。 |
|
properties.handlerMappings |
處理程序對應。 |
||
properties.healthCheckPath |
string |
健康情況檢查路徑 |
|
properties.http20Enabled |
boolean |
True |
Http20Enabled:設定網站以允許用戶端透過 HTTP2.0 連線 |
properties.httpLoggingEnabled |
boolean |
如果已啟用 HTTP 記錄, |
|
properties.ipSecurityRestrictions |
main 的IP安全性限制。 |
||
properties.ipSecurityRestrictionsDefaultAction |
如果沒有符合任何規則,則主要存取限制的默認動作。 |
||
properties.javaContainer |
string |
Java 容器。 |
|
properties.javaContainerVersion |
string |
Java 容器版本。 |
|
properties.javaVersion |
string |
Java 版本。 |
|
properties.keyVaultReferenceIdentity |
string |
要用於 Key Vault 參考驗證的身分識別。 |
|
properties.limits |
網站限制。 |
||
properties.linuxFxVersion |
string |
Linux 應用程式架構和版本 |
|
properties.loadBalancing |
網站負載平衡。 |
||
properties.localMySqlEnabled |
boolean |
False |
|
properties.logsDirectorySizeLimit |
integer |
HTTP 記錄目錄大小限制。 |
|
properties.machineKey |
Site MachineKey。 |
||
properties.managedPipelineMode |
受控管線模式。 |
||
properties.managedServiceIdentityId |
integer |
受控服務識別標識碼 |
|
properties.metadata |
應用程式元數據。 無法擷取這個屬性,因為它可能包含秘密。 |
||
properties.minTlsCipherSuite |
應用程式允許的最小強度 TLS 加密套件 |
||
properties.minTlsVersion |
MinTlsVersion:設定 SSL 要求所需的最低 TLS 版本 |
||
properties.minimumElasticInstanceCount |
integer |
月臺的最低實例計數數目 此設定僅適用於彈性方案 |
|
properties.netFrameworkVersion |
string |
v4.6 |
.NET Framework 版本。 |
properties.nodeVersion |
string |
Node.js的版本。 |
|
properties.numberOfWorkers |
integer |
背景工作角色數目。 |
|
properties.phpVersion |
string |
PHP 版本。 |
|
properties.powerShellVersion |
string |
PowerShell 版本。 |
|
properties.preWarmedInstanceCount |
integer |
預先Warmed 實例的數目。 此設定僅適用於取用和彈性方案 |
|
properties.publicNetworkAccess |
string |
允許或封鎖所有公用流量的屬性。 |
|
properties.publishingUsername |
string |
發佈用戶名稱。 |
|
properties.push |
推送端點設定。 |
||
properties.pythonVersion |
string |
Python 版本。 |
|
properties.remoteDebuggingEnabled |
boolean |
如果已啟用遠程偵錯, |
|
properties.remoteDebuggingVersion |
string |
遠端偵錯版本。 |
|
properties.requestTracingEnabled |
boolean |
如果已啟用要求追蹤, |
|
properties.requestTracingExpirationTime |
string |
要求追蹤到期時間。 |
|
properties.scmIpSecurityRestrictions |
scm 的IP安全性限制。 |
||
properties.scmIpSecurityRestrictionsDefaultAction |
如果未比對任何規則,則為 scm 存取限制的預設動作。 |
||
properties.scmIpSecurityRestrictionsUseMain |
boolean |
scm 使用 main 的 IP 安全性限制。 |
|
properties.scmMinTlsVersion |
ScmMinTlsVersion:設定 SCM 網站 SSL 要求所需的最低 TLS 版本 |
||
properties.scmType |
SCM 類型。 |
||
properties.tracingOptions |
string |
追蹤選項。 |
|
properties.use32BitWorkerProcess |
boolean |
|
|
properties.virtualApplications |
虛擬應用程式。 |
||
properties.vnetName |
string |
虛擬網路名稱。 |
|
properties.vnetPrivatePortsCount |
integer |
指派給此應用程式的私人埠數目。 這些會在運行時間動態指派。 |
|
properties.vnetRouteAllEnabled |
boolean |
虛擬網路路由全部啟用。 這會導致所有輸出流量套用虛擬網路安全組和用戶定義的路由。 |
|
properties.webSocketsEnabled |
boolean |
如果已啟用 WebSocket, |
|
properties.websiteTimeZone |
string |
設定網站用來產生時間戳的時區。 與 Linux 和 Windows App Service 相容。 設定WEBSITE_TIME_ZONE應用程式設定的優先順序高於此設定。針對 Linux,預期 tz 資料庫值 https://www.iana.org/time-zones (如需快速參考,請參閱 https://en.wikipedia.org/wiki/List_of_tz_database_time_zones)。 針對 Windows,預期其中一個時區列在 HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones |
|
properties.windowsFxVersion |
string |
Xenon App Framework 和版本 |
|
properties.xManagedServiceIdentityId |
integer |
明確受控服務識別標識碼 |
|
type |
string |
資源類型。 |
在應用程式上設定的計量限制。
名稱 | 類型 | Description |
---|---|---|
maxDiskSizeInMb |
integer |
允許的磁碟大小使用量上限,以 MB 為單位。 |
maxMemoryInMb |
integer |
MB 允許的記憶體使用量上限。 |
maxPercentageCpu |
number |
允許的CPU使用量百分比上限。 |
網站負載平衡。
值 | Description |
---|---|
LeastRequests | |
LeastRequestsWithTieBreaker | |
LeastResponseTime | |
PerSiteRoundRobin | |
RequestHash | |
WeightedRoundRobin | |
WeightedTotalTraffic |
應用程式的 MachineKey。
名稱 | 類型 | Description |
---|---|---|
decryption |
string |
用於解密的演算法。 |
decryptionKey |
string |
解金鑰。 |
validation |
string |
MachineKey 驗證。 |
validationKey |
string |
驗證金鑰。 |
根據要求運行時間觸發。
名稱 | 類型 | Description |
---|---|---|
count |
integer |
要求計數。 |
path |
string |
要求路徑。 |
timeInterval |
string |
時間間隔。 |
timeTaken |
string |
所花費的時間。 |
根據狀態代碼觸發。
名稱 | 類型 | Description |
---|---|---|
count |
integer |
要求計數。 |
path |
string |
要求路徑 |
status |
integer |
HTTP 狀態代碼。 |
subStatus |
integer |
要求子狀態。 |
timeInterval |
string |
時間間隔。 |
win32Status |
integer |
Win32 錯誤碼。 |
根據狀態代碼的範圍觸發。
名稱 | 類型 | Description |
---|---|---|
count |
integer |
要求計數。 |
path |
string |
|
statusCodes |
string |
HTTP 狀態代碼。 |
timeInterval |
string |
時間間隔。 |
MinTlsVersion:設定 SSL 要求所需的最低 TLS 版本
值 | Description |
---|---|
1.0 | |
1.1 | |
1.2 | |
1.3 |
應用程式允許的最小強度 TLS 加密套件
值 | Description |
---|---|
TLS_AES_128_GCM_SHA256 | |
TLS_AES_256_GCM_SHA384 | |
TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256 | |
TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 | |
TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 | |
TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA | |
TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 | |
TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 | |
TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA | |
TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384 | |
TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 | |
TLS_RSA_WITH_AES_128_CBC_SHA | |
TLS_RSA_WITH_AES_128_CBC_SHA256 | |
TLS_RSA_WITH_AES_128_GCM_SHA256 | |
TLS_RSA_WITH_AES_256_CBC_SHA | |
TLS_RSA_WITH_AES_256_CBC_SHA256 | |
TLS_RSA_WITH_AES_256_GCM_SHA384 |
應用程式中的虛擬應用程式。
名稱 | 類型 | Description |
---|---|---|
physicalPath |
string |
實體路徑。 |
preloadEnabled |
boolean |
如果已啟用預先載入, |
virtualDirectories |
虛擬應用程式的虛擬目錄。 |
|
virtualPath |
string |
虛擬路徑。 |
虛擬應用程式的目錄。
名稱 | 類型 | Description |
---|---|---|
physicalPath |
string |
實體路徑。 |
virtualPath |
string |
虛擬應用程式的路徑。 |