Bicep 資源定義
月臺/設定資源類型可以使用目標作業來部署:
- 資源群組 - 請參閱 資源群組部署命令
如需每個 API 版本中已變更屬性的清單,請參閱 變更記錄檔。
使用範例
Bicep 範例
部署 App Service 虛擬網路關聯的基本範例。
param location string = 'westeurope'
param resourceName string = 'acctest0001'
resource site 'Microsoft.Web/sites@2022-09-01' = {
name: resourceName
location: location
properties: {
clientAffinityEnabled: false
clientCertEnabled: false
clientCertMode: 'Required'
enabled: true
httpsOnly: false
publicNetworkAccess: 'Enabled'
serverFarmId: serverfarm.id
siteConfig: {
acrUseManagedIdentityCreds: false
alwaysOn: true
autoHealEnabled: false
ftpsState: 'Disabled'
http20Enabled: false
loadBalancing: 'LeastRequests'
localMySqlEnabled: false
managedPipelineMode: 'Integrated'
minTlsVersion: '1.2'
publicNetworkAccess: 'Enabled'
remoteDebuggingEnabled: false
scmIpSecurityRestrictionsUseMain: false
scmMinTlsVersion: '1.2'
use32BitWorkerProcess: true
vnetRouteAllEnabled: false
webSocketsEnabled: false
windowsFxVersion: ''
}
vnetRouteAllEnabled: false
}
}
resource config 'Microsoft.Web/sites/config@2022-09-01' = {
name: 'azurestorageaccounts'
parent: site
properties: {}
}
resource serverfarm 'Microsoft.Web/serverfarms@2022-09-01' = {
name: resourceName
location: location
sku: {
name: 'S1'
}
properties: {
hyperV: false
perSiteScaling: false
reserved: false
zoneRedundant: false
}
}
Azure 已驗證的模組
下列 Azure 驗證模組 可用來部署此資源類型。
| 模組 | 描述 |
|---|---|
| 網站設定 | AVM 子模組用於網站設定 |
Azure 快速入門範例
下列 Azure 快速入門範本 包含用於部署此資源類型的 Bicep 範例。
| Bicep 檔案 | 描述 |
|---|---|
| 使用內部 API 管理和 Web 應用程式 應用程式閘道 | 應用程式閘道會將因特網流量路由傳送至虛擬網路(內部模式)API 管理實例,此實例會服務裝載於 Azure Web 應用程式中的 Web API。 |
| 使用事件中樞和受控識別 Azure 函式應用程式 | 他的範本會在Linux取用方案上布建 Azure 函式應用程式,以及事件中樞、Azure 記憶體和 Application Insights。 函式應用程式可以使用受控識別來連線到事件中樞和記憶體帳戶 |
| 在 Flex 消耗計劃中創建函數應用 | 對於需要快速動態擴展(包括零實例)、託管身份連接和虛擬網路集成的功能,建議使用 Flex 消費託管。 |
| 在已啟用 Java 13 和 Tomcat 9 的 Azure 上建立 Web 應用程式 | 此範本會在已啟用 Java 13 和 Tomcat 9 的 Azure 上建立 Web 應用程式,讓您能夠在 Azure 中執行 Java 應用程式。 範本是由多諾萬·布朗撰寫的Microsoft。 |
| 使用範本建立 Web 應用程式加上 Redis 快取 | 此範本會建立具有 Redis 快取的 Azure Web 應用程式。 |
| 使用 vnet 整合部署 Azure Function Premium 方案 | 此範本可讓您部署已啟用區域虛擬網路整合的 Azure Function Premium 方案至新建立的虛擬網路。 |
| Moesif API分析和獲利 | 此範本會將來自 Azure API 管理的 API 呼叫記錄至 Moesif API 分析和獲利平臺 |
| 布建在 App Service 方案 上執行的函式應用程式 | 此範本會在專用主控方案上布建函式應用程式,這表示它會像任何 App Service 網站一樣執行並計費。 |
| 使用 SQL Database 布建 Web 應用程式 | 此範本會布建 Web 應用程式、SQL Database、自動調整設定、警示規則和 App Insights。 它會在資料庫的 Web 應用程式中設定連接字串。 |
| 使用 Azure SQL 在 Linux 上 Sonarqube Docker Web 應用程式 | 此範本會使用官方 Sonarqube 映像,並在 Azure SQL Server 支援下,在 Azure App 服務 Web 應用程式 Linux 容器中部署 Sonarqube。 |
| 在 Linux 上使用 PostgreSQL Sonarqube Docker Web 應用程式 | 此範本提供在 Linux Web 應用程式上使用適用於 PostgreSQL 的 Azure 資料庫部署 Sonarqube Docker 映射 (alpine tag) 的簡單方式(預覽版) |
| Web 應用程式 w/ Application Insights 傳送至 Log Analytics | 此範本將協助支援 microsoft.insights/components 的新 API 版本。 從 2020-02-02-preview WorkspaceID 開始,建立 Application Inisghts 時將會需要此範本。此範本會部署 App Service 方案、App Service、Application Insights、Log Analytics 工作區,並將其全部連結在一起。 |
| 使用適用於 MySQL 的 Azure 資料庫 Web 應用程式 | 此範本提供簡單的方式,透過適用於 MySQL 的 Azure 資料庫,在 Azure App 服務 Web Apps 上部署 Web 應用程式。 |
| 具有受控識別、SQL Server 和 的 Web 應用程式 | 針對應用程式 + 資料 + 受控識別 + 監視部署 Azure 基礎結構的簡單範例 |
| 使用 VNet 插入和私人端點 Web 應用程式 | 此範本可讓您使用兩個 Web 應用程式、前端和後端建立安全端對端解決方案,前端會透過 VNet 插入和私人端點安全地取用後端 |
資源格式
若要建立 Microsoft.Web/sites/config 資源,請將下列 Bicep 新增至範本。
resource symbolicname 'Microsoft.Web/sites/config@2022-03-01' = {
name: 'string'
// For remaining properties, see microsoft.web/sites/config objects
}
microsoft.web/sites/config 物件
設定 名稱 屬性,以指定物件的類型。
針對 appsettings,請使用:
{
kind: 'string'
name: 'appsettings'
properties: {
{customized property}: 'string'
}
}
針對 authsettings,請使用:
{
kind: 'string'
name: 'authsettings'
properties: {
aadClaimsAuthorization: 'string'
additionalLoginParams: [
'string'
]
allowedAudiences: [
'string'
]
allowedExternalRedirectUrls: [
'string'
]
authFilePath: 'string'
clientId: 'string'
clientSecret: 'string'
clientSecretCertificateThumbprint: 'string'
clientSecretSettingName: 'string'
configVersion: 'string'
defaultProvider: 'string'
enabled: bool
facebookAppId: 'string'
facebookAppSecret: 'string'
facebookAppSecretSettingName: 'string'
facebookOAuthScopes: [
'string'
]
gitHubClientId: 'string'
gitHubClientSecret: 'string'
gitHubClientSecretSettingName: 'string'
gitHubOAuthScopes: [
'string'
]
googleClientId: 'string'
googleClientSecret: 'string'
googleClientSecretSettingName: 'string'
googleOAuthScopes: [
'string'
]
isAuthFromFile: 'string'
issuer: 'string'
microsoftAccountClientId: 'string'
microsoftAccountClientSecret: 'string'
microsoftAccountClientSecretSettingName: 'string'
microsoftAccountOAuthScopes: [
'string'
]
runtimeVersion: 'string'
tokenRefreshExtensionHours: int
tokenStoreEnabled: bool
twitterConsumerKey: 'string'
twitterConsumerSecret: 'string'
twitterConsumerSecretSettingName: 'string'
unauthenticatedClientAction: 'string'
validateIssuer: bool
}
}
針對 authsettingsV2,請使用:
{
kind: 'string'
name: 'authsettingsV2'
properties: {
globalValidation: {
excludedPaths: [
'string'
]
redirectToProvider: 'string'
requireAuthentication: bool
unauthenticatedClientAction: 'string'
}
httpSettings: {
forwardProxy: {
convention: 'string'
customHostHeaderName: 'string'
customProtoHeaderName: 'string'
}
requireHttps: bool
routes: {
apiPrefix: 'string'
}
}
identityProviders: {
apple: {
enabled: bool
login: {
scopes: [
'string'
]
}
registration: {
clientId: 'string'
clientSecretSettingName: 'string'
}
}
azureActiveDirectory: {
enabled: bool
isAutoProvisioned: bool
login: {
disableWWWAuthenticate: bool
loginParameters: [
'string'
]
}
registration: {
clientId: 'string'
clientSecretCertificateIssuer: 'string'
clientSecretCertificateSubjectAlternativeName: 'string'
clientSecretCertificateThumbprint: 'string'
clientSecretSettingName: 'string'
openIdIssuer: 'string'
}
validation: {
allowedAudiences: [
'string'
]
defaultAuthorizationPolicy: {
allowedApplications: [
'string'
]
allowedPrincipals: {
groups: [
'string'
]
identities: [
'string'
]
}
}
jwtClaimChecks: {
allowedClientApplications: [
'string'
]
allowedGroups: [
'string'
]
}
}
}
azureStaticWebApps: {
enabled: bool
registration: {
clientId: 'string'
}
}
customOpenIdConnectProviders: {
{customized property}: {
enabled: bool
login: {
nameClaimType: 'string'
scopes: [
'string'
]
}
registration: {
clientCredential: {
clientSecretSettingName: 'string'
method: 'ClientSecretPost'
}
clientId: 'string'
openIdConnectConfiguration: {
authorizationEndpoint: 'string'
certificationUri: 'string'
issuer: 'string'
tokenEndpoint: 'string'
wellKnownOpenIdConfiguration: 'string'
}
}
}
}
facebook: {
enabled: bool
graphApiVersion: 'string'
login: {
scopes: [
'string'
]
}
registration: {
appId: 'string'
appSecretSettingName: 'string'
}
}
gitHub: {
enabled: bool
login: {
scopes: [
'string'
]
}
registration: {
clientId: 'string'
clientSecretSettingName: 'string'
}
}
google: {
enabled: bool
login: {
scopes: [
'string'
]
}
registration: {
clientId: 'string'
clientSecretSettingName: 'string'
}
validation: {
allowedAudiences: [
'string'
]
}
}
legacyMicrosoftAccount: {
enabled: bool
login: {
scopes: [
'string'
]
}
registration: {
clientId: 'string'
clientSecretSettingName: 'string'
}
validation: {
allowedAudiences: [
'string'
]
}
}
twitter: {
enabled: bool
registration: {
consumerKey: 'string'
consumerSecretSettingName: 'string'
}
}
}
login: {
allowedExternalRedirectUrls: [
'string'
]
cookieExpiration: {
convention: 'string'
timeToExpiration: 'string'
}
nonce: {
nonceExpirationInterval: 'string'
validateNonce: bool
}
preserveUrlFragmentsForLogins: bool
routes: {
logoutEndpoint: 'string'
}
tokenStore: {
azureBlobStorage: {
sasUrlSettingName: 'string'
}
enabled: bool
fileSystem: {
directory: 'string'
}
tokenRefreshExtensionHours: int
}
}
platform: {
configFilePath: 'string'
enabled: bool
runtimeVersion: 'string'
}
}
}
針對 azurestorageaccounts ,請使用:
{
kind: 'string'
name: 'azurestorageaccounts'
properties: {
{customized property}: {
accessKey: 'string'
accountName: 'string'
mountPath: 'string'
shareName: 'string'
type: 'string'
}
}
}
針對 備份,請使用:
{
kind: 'string'
name: 'backup'
properties: {
backupName: 'string'
backupSchedule: {
frequencyInterval: int
frequencyUnit: 'string'
keepAtLeastOneBackup: bool
retentionPeriodInDays: int
startTime: 'string'
}
databases: [
{
connectionString: 'string'
connectionStringName: 'string'
databaseType: 'string'
name: 'string'
}
]
enabled: bool
storageAccountUrl: 'string'
}
}
針對 connectionstrings,請使用:
{
kind: 'string'
name: 'connectionstrings'
properties: {
{customized property}: {
type: 'string'
value: 'string'
}
}
}
針對 記錄,請使用:
{
kind: 'string'
name: 'logs'
properties: {
applicationLogs: {
azureBlobStorage: {
level: 'string'
retentionInDays: int
sasUrl: 'string'
}
azureTableStorage: {
level: 'string'
sasUrl: 'string'
}
fileSystem: {
level: 'string'
}
}
detailedErrorMessages: {
enabled: bool
}
failedRequestsTracing: {
enabled: bool
}
httpLogs: {
azureBlobStorage: {
enabled: bool
retentionInDays: int
sasUrl: 'string'
}
fileSystem: {
enabled: bool
retentionInDays: int
retentionInMb: int
}
}
}
}
針對 元數據,請使用:
{
kind: 'string'
name: 'metadata'
properties: {
{customized property}: 'string'
}
}
針對 pushsettings,請使用:
{
kind: 'string'
name: 'pushsettings'
properties: {
dynamicTagsJson: 'string'
isPushEnabled: bool
tagsRequiringAuth: 'string'
tagWhitelistJson: 'string'
}
}
針對 slotConfigNames,請使用:
{
kind: 'string'
name: 'slotConfigNames'
properties: {
appSettingNames: [
'string'
]
azureStorageConfigNames: [
'string'
]
connectionStringNames: [
'string'
]
}
}
針對 Web,請使用:
{
kind: 'string'
name: 'web'
properties: {
acrUseManagedIdentityCreds: bool
acrUserManagedIdentityID: 'string'
alwaysOn: bool
apiDefinition: {
url: 'string'
}
apiManagementConfig: {
id: 'string'
}
appCommandLine: 'string'
appSettings: [
{
name: 'string'
value: 'string'
}
]
autoHealEnabled: bool
autoHealRules: {
actions: {
actionType: 'string'
customAction: {
exe: 'string'
parameters: 'string'
}
minProcessExecutionTime: 'string'
}
triggers: {
privateBytesInKB: int
requests: {
count: int
timeInterval: 'string'
}
slowRequests: {
count: int
path: 'string'
timeInterval: 'string'
timeTaken: 'string'
}
slowRequestsWithPath: [
{
count: int
path: 'string'
timeInterval: 'string'
timeTaken: 'string'
}
]
statusCodes: [
{
count: int
path: 'string'
status: int
subStatus: int
timeInterval: 'string'
win32Status: int
}
]
statusCodesRange: [
{
count: int
path: 'string'
statusCodes: 'string'
timeInterval: 'string'
}
]
}
}
autoSwapSlotName: 'string'
azureStorageAccounts: {
{customized property}: {
accessKey: 'string'
accountName: 'string'
mountPath: 'string'
shareName: 'string'
type: 'string'
}
}
connectionStrings: [
{
connectionString: 'string'
name: 'string'
type: 'string'
}
]
cors: {
allowedOrigins: [
'string'
]
supportCredentials: bool
}
defaultDocuments: [
'string'
]
detailedErrorLoggingEnabled: bool
documentRoot: 'string'
experiments: {
rampUpRules: [
{
actionHostName: 'string'
changeDecisionCallbackUrl: 'string'
changeIntervalInMinutes: int
changeStep: int
maxReroutePercentage: int
minReroutePercentage: int
name: 'string'
reroutePercentage: int
}
]
}
ftpsState: 'string'
functionAppScaleLimit: int
functionsRuntimeScaleMonitoringEnabled: bool
handlerMappings: [
{
arguments: 'string'
extension: 'string'
scriptProcessor: 'string'
}
]
healthCheckPath: 'string'
http20Enabled: bool
httpLoggingEnabled: bool
ipSecurityRestrictions: [
{
action: 'string'
description: 'string'
headers: {
{customized property}: [
'string'
]
}
ipAddress: 'string'
name: 'string'
priority: int
subnetMask: 'string'
subnetTrafficTag: int
tag: 'string'
vnetSubnetResourceId: 'string'
vnetTrafficTag: int
}
]
javaContainer: 'string'
javaContainerVersion: 'string'
javaVersion: 'string'
keyVaultReferenceIdentity: 'string'
limits: {
maxDiskSizeInMb: int
maxMemoryInMb: int
maxPercentageCpu: int
}
linuxFxVersion: 'string'
loadBalancing: 'string'
localMySqlEnabled: bool
logsDirectorySizeLimit: int
managedPipelineMode: 'string'
managedServiceIdentityId: int
minimumElasticInstanceCount: int
minTlsVersion: 'string'
netFrameworkVersion: 'string'
nodeVersion: 'string'
numberOfWorkers: int
phpVersion: 'string'
powerShellVersion: 'string'
preWarmedInstanceCount: int
publicNetworkAccess: 'string'
publishingUsername: 'string'
push: {
kind: 'string'
properties: {
dynamicTagsJson: 'string'
isPushEnabled: bool
tagsRequiringAuth: 'string'
tagWhitelistJson: 'string'
}
}
pythonVersion: 'string'
remoteDebuggingEnabled: bool
remoteDebuggingVersion: 'string'
requestTracingEnabled: bool
requestTracingExpirationTime: 'string'
scmIpSecurityRestrictions: [
{
action: 'string'
description: 'string'
headers: {
{customized property}: [
'string'
]
}
ipAddress: 'string'
name: 'string'
priority: int
subnetMask: 'string'
subnetTrafficTag: int
tag: 'string'
vnetSubnetResourceId: 'string'
vnetTrafficTag: int
}
]
scmIpSecurityRestrictionsUseMain: bool
scmMinTlsVersion: 'string'
scmType: 'string'
tracingOptions: 'string'
use32BitWorkerProcess: bool
virtualApplications: [
{
physicalPath: 'string'
preloadEnabled: bool
virtualDirectories: [
{
physicalPath: 'string'
virtualPath: 'string'
}
]
virtualPath: 'string'
}
]
vnetName: 'string'
vnetPrivatePortsCount: int
vnetRouteAllEnabled: bool
websiteTimeZone: 'string'
webSocketsEnabled: bool
windowsFxVersion: 'string'
xManagedServiceIdentityId: int
}
}
屬性值
Microsoft.Web/sites/config
| 名字 | 描述 | 價值 |
|---|---|---|
| 類 | 資源種類。 | 字串 |
| 名字 | 資源名稱 | 'appsettings' (必要) |
| 父代 | 在 Bicep 中,您可以指定子資源的父資源。 只有在父資源外部宣告子資源時,才需要新增這個屬性。 如需詳細資訊,請參閱 父資源外部的子資源。 |
類型的資源符號名稱:網站 |
| 性能 | 設置。 | StringDictionaryProperties |
Microsoft.Web/sites/config
| 名字 | 描述 | 價值 |
|---|---|---|
| 類 | 資源種類。 | 字串 |
| 名字 | 資源名稱 | 'authsettings' (必要) |
| 父代 | 在 Bicep 中,您可以指定子資源的父資源。 只有在父資源外部宣告子資源時,才需要新增這個屬性。 如需詳細資訊,請參閱 父資源外部的子資源。 |
類型的資源符號名稱:網站 |
| 性能 | SiteAuthSettings 資源特定屬性 | SiteAuthSettingsProperties |
Microsoft.Web/sites/config
| 名字 | 描述 | 價值 |
|---|---|---|
| 類 | 資源種類。 | 字串 |
| 名字 | 資源名稱 | 'authsettingsV2' (必要) |
| 父代 | 在 Bicep 中,您可以指定子資源的父資源。 只有在父資源外部宣告子資源時,才需要新增這個屬性。 如需詳細資訊,請參閱 父資源外部的子資源。 |
類型的資源符號名稱:網站 |
| 性能 | SiteAuthSettingsV2 資源特定屬性 | SiteAuthSettingsV2屬性 |
Microsoft.Web/sites/config
| 名字 | 描述 | 價值 |
|---|---|---|
| 類 | 資源種類。 | 字串 |
| 名字 | 資源名稱 | 'azurestorageaccounts' (必要) |
| 父代 | 在 Bicep 中,您可以指定子資源的父資源。 只有在父資源外部宣告子資源時,才需要新增這個屬性。 如需詳細資訊,請參閱 父資源外部的子資源。 |
類型的資源符號名稱:網站 |
| 性能 | Azure 記憶體帳戶。 | AzureStoragePropertyDictionaryResourceProperties |
Microsoft.Web/sites/config
| 名字 | 描述 | 價值 |
|---|---|---|
| 類 | 資源種類。 | 字串 |
| 名字 | 資源名稱 | 'backup' (必要) |
| 父代 | 在 Bicep 中,您可以指定子資源的父資源。 只有在父資源外部宣告子資源時,才需要新增這個屬性。 如需詳細資訊,請參閱 父資源外部的子資源。 |
類型的資源符號名稱:網站 |
| 性能 | BackupRequest 資源特定屬性 | BackupRequestProperties |
Microsoft.Web/sites/config
| 名字 | 描述 | 價值 |
|---|---|---|
| 類 | 資源種類。 | 字串 |
| 名字 | 資源名稱 | 'connectionstrings' (必要) |
| 父代 | 在 Bicep 中,您可以指定子資源的父資源。 只有在父資源外部宣告子資源時,才需要新增這個屬性。 如需詳細資訊,請參閱 父資源外部的子資源。 |
類型的資源符號名稱:網站 |
| 性能 | 連接字串。 | ConnectionStringDictionary屬性 |
Microsoft.Web/sites/config
| 名字 | 描述 | 價值 |
|---|---|---|
| 類 | 資源種類。 | 字串 |
| 名字 | 資源名稱 | 'logs' (必要) |
| 父代 | 在 Bicep 中,您可以指定子資源的父資源。 只有在父資源外部宣告子資源時,才需要新增這個屬性。 如需詳細資訊,請參閱 父資源外部的子資源。 |
類型的資源符號名稱:網站 |
| 性能 | SiteLogsConfig 資源特定屬性 | SiteLogsConfigProperties |
Microsoft.Web/sites/config
| 名字 | 描述 | 價值 |
|---|---|---|
| 類 | 資源種類。 | 字串 |
| 名字 | 資源名稱 | 'metadata' (必要) |
| 父代 | 在 Bicep 中,您可以指定子資源的父資源。 只有在父資源外部宣告子資源時,才需要新增這個屬性。 如需詳細資訊,請參閱 父資源外部的子資源。 |
類型的資源符號名稱:網站 |
| 性能 | 設置。 | StringDictionaryProperties |
Microsoft.Web/sites/config
| 名字 | 描述 | 價值 |
|---|---|---|
| 類 | 資源種類。 | 字串 |
| 名字 | 資源名稱 | 'pushsettings' (必要) |
| 父代 | 在 Bicep 中,您可以指定子資源的父資源。 只有在父資源外部宣告子資源時,才需要新增這個屬性。 如需詳細資訊,請參閱 父資源外部的子資源。 |
類型的資源符號名稱:網站 |
| 性能 | PushSettings 資源特定屬性 | PushSettingsProperties |
Microsoft.Web/sites/config
| 名字 | 描述 | 價值 |
|---|---|---|
| 類 | 資源種類。 | 字串 |
| 名字 | 資源名稱 | 'slotConfigNames' (必要) |
| 父代 | 在 Bicep 中,您可以指定子資源的父資源。 只有在父資源外部宣告子資源時,才需要新增這個屬性。 如需詳細資訊,請參閱 父資源外部的子資源。 |
類型的資源符號名稱:網站 |
| 性能 | 核心資源屬性 | SlotConfig名稱 |
Microsoft.Web/sites/config
| 名字 | 描述 | 價值 |
|---|---|---|
| 類 | 資源種類。 | 字串 |
| 名字 | 資源名稱 | 'web' (必要) |
| 父代 | 在 Bicep 中,您可以指定子資源的父資源。 只有在父資源外部宣告子資源時,才需要新增這個屬性。 如需詳細資訊,請參閱 父資源外部的子資源。 |
類型的資源符號名稱:網站 |
| 性能 | 核心資源屬性 | 網站配置 |
AllowedAudiences驗證
| 名字 | 描述 | 價值 |
|---|---|---|
| allowedAudiences | 要從中驗證 JWT 令牌的物件允許清單的組態設定。 | 字串[] |
允許的 Principals
| 名字 | 描述 | 價值 |
|---|---|---|
| 組 | 允許的群組清單。 | 字串[] |
| 身份 | 允許的身分識別清單。 | 字串[] |
ApiDefinitionInfo
| 名字 | 描述 | 價值 |
|---|---|---|
| URL | API 定義的 URL。 | 字串 |
ApiManagementConfig 介面
| 名字 | 描述 | 價值 |
|---|---|---|
| 識別碼 | APIM-Api 標識碼。 | 字串 |
蘋果
| 名字 | 描述 | 價值 |
|---|---|---|
| 啟用 | <程式代碼>false</code> 即使設定註冊,還是應該啟用 Apple 提供者;否則,<程式代碼>true</code>。 | 布爾 (bool) |
| 登錄 | 登入流程的組態設定。 | 登錄範圍 |
| 註冊 | Apple 註冊的組態設定。 | 蘋果註冊 |
蘋果註冊
| 名字 | 描述 | 價值 |
|---|---|---|
| 用戶端ID | 用於登入之應用程式的用戶端識別碼。 | 字串 |
| clientSecretSettingName (用戶端 Secret設置名稱) | 包含客戶端密碼的應用程式設定名稱。 | 字串 |
應用程式記錄配置
| 名字 | 描述 | 價值 |
|---|---|---|
| azureBlobStorage | 應用程式記錄至 Blob 記憶體組態。 | AzureBlobStorageApplicationLogsConfig |
| azureTableStorage | 應用程式記錄至 azure 資料表記憶體組態。 | AzureTableStorageApplicationLogsConfig |
| 檔案系統 | 應用程式記錄至檔案系統組態。 | FileSystemApplicationLogsConfig |
應用註冊
| 名字 | 描述 | 價值 |
|---|---|---|
| 應用程式ID | 用於登入之應用程式的應用程式識別碼。 | 字串 |
| appSecretSettingName | 包含應用程式秘密的應用程式設定名稱。 | 字串 |
AuthPlatform 認證
| 名字 | 描述 | 價值 |
|---|---|---|
| configFilePath 檔 | 如果組態檔來自檔案,則包含驗證設定的路徑。 如果路徑是相對的,基底會是月臺的根目錄。 |
字串 |
| 啟用 | 如果目前應用程式已啟用驗證/授權功能,<程式代碼>true</code>;否則,<程式代碼>false</code>。 | 布爾 (bool) |
| runtimeVersion (運行時版本) | 用於目前應用程式的驗證/授權功能的 RuntimeVersion。 此值中的設定可以控制驗證/授權模組中特定功能的行為。 |
字串 |
AutoHealActions 自動修復作
| 名字 | 描述 | 價值 |
|---|---|---|
| 動作類型 | 要採取的預先定義動作。 | 'CustomAction' “LogEvent” '回收' |
| 自訂作 | 要採取的自定義動作。 | AutohealCustomAction 自動修復 |
| minProcessExecutionTime (最小進程執行時間) | 進程必須執行的時間下限 採取動作之前 |
字串 |
AutohealCustomAction 自動修復
| 名字 | 描述 | 價值 |
|---|---|---|
| Exe | 要執行的可執行檔。 | 字串 |
| 參數 | 可執行文件的參數。 | 字串 |
AutoHealRules 自動修復規則
| 名字 | 描述 | 價值 |
|---|---|---|
| 行動 | 觸發規則時要執行的動作。 | AutoHealActions 自動修復作 |
| 觸發器 | 描述何時執行自動癒合動作的條件。 | AutoHealTriggers 自動修復觸發器 |
AutoHealTriggers 自動修復觸發器
| 名字 | 描述 | 價值 |
|---|---|---|
| privateBytesInKB | 以私用位元組為基礎的規則。 | 整數 (int) |
| 請求 | 以要求總數為基礎的規則。 | RequestsBasedTrigger 觸發器 |
| slowRequests 請求 | 根據要求運行時間的規則。 | SlowRequestsBasedTrigger 觸發器 |
| slowRequestsWithPath 的 | 根據具有路徑的多個慢速要求規則的規則 | SlowRequestsBasedTrigger[] |
| statusCodes | 以狀態代碼為基礎的規則。 | StatusCodesBasedTrigger[] |
| statusCodesRange | 根據狀態代碼範圍的規則。 | StatusCodesRangeBasedTrigger[] |
AzureActiveDirectory
| 名字 | 描述 | 價值 |
|---|---|---|
| 啟用 | <程式代碼>false</code>,即使設定註冊,仍不應啟用 Azure Active Directory 提供者;否則,<程式代碼>true</code>。 | 布爾 (bool) |
| isAutoProvisioned | 取得值,指出是否使用第一方工具自動布建 Azure AD 組態。 這是主要用來支援 Azure 管理入口網站的內部旗標。 用戶不應該 讀取或寫入此屬性。 |
布爾 (bool) |
| 登錄 | Azure Active Directory 登入流程的組態設定。 | AzureActiveDirectory登錄 |
| 註冊 | Azure Active Directory 應用程式註冊的組態設定。 | AzureActiveDirectory註冊 |
| 確認 | Azure Active Directory 令牌驗證流程的組態設定。 | AzureActiveDirectory驗證 |
AzureActiveDirectory登錄
| 名字 | 描述 | 價值 |
|---|---|---|
| disableWWWAuthenticate | 如果應該省略 www-authenticate 提供者,<程式代碼>true</code>;否則,<程式代碼>false</code>。 | 布爾 (bool) |
| loginParameters (登錄參數) | 登入參數,以在何時傳送至 OpenID Connect 授權端點 使用者登入。 每個參數的格式都必須是 「key=value」。。 |
字串[] |
AzureActiveDirectory註冊
| 名字 | 描述 | 價值 |
|---|---|---|
| 用戶端ID | 此信賴憑證者應用程式的用戶端標識碼,稱為client_id。 若要使用 Azure Active Directory 啟用 OpenID 連線驗證,則需要此設定或 其他第三方 OpenID Connect 提供者。 OpenID Connect 的詳細資訊:http://openid.net/specs/openid-connect-core-1_0.html |
字串 |
| clientSecretCertificateIssuer | 用戶端密碼指紋的替代方法,也就是用於簽署之憑證的簽發者。 此屬性的作用為 取代用戶端秘密憑證指紋。 它也是選擇性的。 |
字串 |
| clientSecretCertificateSubjectAlternativeName | 用戶端密碼指紋的替代方案,也就是用於簽署之憑證的主體別名。 此屬性的作用為 取代用戶端秘密憑證指紋。 它也是選擇性的。 |
字串 |
| clientSecretCertificate指紋 | 客戶端密碼的替代方案,也就是用於簽署之憑證的指紋。 此屬性的作用為 取代客戶端密碼。 它也是選擇性的。 |
字串 |
| clientSecretSettingName (用戶端 Secret設置名稱) | 包含信賴憑證者應用程式用戶端密碼的應用程式設定名稱。 | 字串 |
| openIdIssuer 的 | OpenID Connect 簽發者 URI,代表發出此應用程式存取令牌的實體。 使用 Azure Active Directory 時,此值是目錄租使用者的 URI,例如 https://login.microsoftonline.com/v2.0/{tenant-guid}/。此 URI 是令牌簽發者的區分大小寫標識碼。 OpenID Connect Discovery 的詳細資訊:http://openid.net/specs/openid-connect-discovery-1_0.html |
字串 |
AzureActiveDirectory驗證
| 名字 | 描述 | 價值 |
|---|---|---|
| allowedAudiences | 可成功進行驗證/授權要求的物件清單。 | 字串[] |
| defaultAuthorizationPolicy | 默認授權原則的組態設定。 | DefaultAuthorizationPolicy |
| jwtClaimChecks | 驗證 JWT 宣告時,應該進行的檢查組態設定。 | JwtClaimChecks |
AzureBlobStorageApplicationLogsConfig
| 名字 | 描述 | 價值 |
|---|---|---|
| 水平儀 | 記錄層級。 | “錯誤” “資訊” “關閉” “冗長” “警告” |
| 保留天數 | 保留天數。 拿掉早於 X 天的 Blob。 0 或更低表示沒有保留。 |
整數 (int) |
| sasUrl 的 | 具有讀取/寫入/清單/刪除許可權的 Azure Blob 容器 SAS URL。 | 字串 |
AzureBlobStorageHttpLogsConfig
| 名字 | 描述 | 價值 |
|---|---|---|
| 啟用 | 如果已啟用組態,則為 True;如果停用則為 false;如果未設定組態則為 null。 | 布爾 (bool) |
| 保留天數 | 保留天數。 拿掉早於 X 天的 Blob。 0 或更低表示沒有保留。 |
整數 (int) |
| sasUrl 的 | 具有讀取/寫入/清單/刪除許可權的 Azure Blob 容器 SAS URL。 | 字串 |
AzureStaticWebApps
| 名字 | 描述 | 價值 |
|---|---|---|
| 啟用 | <程式代碼>false</code>,即使設定註冊,仍不應啟用 Azure Static Web Apps 提供者;否則,<程式代碼>true</code>。 | 布爾 (bool) |
| 註冊 | Azure Static Web Apps 註冊的組態設定。 | AzureStaticWebApps註冊 |
AzureStaticWebApps註冊
| 名字 | 描述 | 價值 |
|---|---|---|
| 用戶端ID | 用於登入之應用程式的用戶端識別碼。 | 字串 |
AzureStorageInfoValue
| 名字 | 描述 | 價值 |
|---|---|---|
| accessKey | 儲存體帳戶的存取金鑰。 | 字串 約束: 敏感性值。 以安全參數的形式傳入。 |
| 帳戶名稱 | 記憶體帳戶的名稱。 | 字串 |
| mountPath | 在站臺運行時間環境中掛接記憶體的路徑。 | 字串 |
| 共享名稱 | 檔案共享的名稱(容器名稱,用於 Blob 記憶體)。 | 字串 |
| 型別 | 記憶體的類型。 | “AzureBlob” “AzureFiles” |
AzureStoragePropertyDictionaryResourceProperties
| 名字 | 描述 | 價值 |
|---|
AzureTableStorageApplicationLogsConfig
| 名字 | 描述 | 價值 |
|---|---|---|
| 水平儀 | 記錄層級。 | “錯誤” “資訊” “關閉” “冗長” “警告” |
| sasUrl 的 | 具有新增/查詢/刪除許可權的 Azure 資料表 SAS URL。 | 字串 (必要) |
BackupRequestProperties
| 名字 | 描述 | 價值 |
|---|---|---|
| backupName (備份名稱) | 備份的名稱。 | 字串 |
| backupSchedule | 定期執行備份時排程備份。 | 備份計劃 |
| 資料庫 | 備份中包含的資料庫。 | DatabaseBackupSetting[] |
| 啟用 | True 是表示 如果備份排程已啟用 (必須包含在該案例中),則為 false,如果應該停用備份排程則為 false。 | 布爾 (bool) |
| storageAccountUrl 的 | 容器的SAS URL。 | 字串 (必要) |
備份計劃
| 名字 | 描述 | 價值 |
|---|---|---|
| 頻率間隔 | 應該執行備份的頻率(例如,針對每周備份,這應該設定為 7,FrequencyUnit 應該設定為 Day) | int (必要) |
| 頻率單位 | 應該執行備份頻率的時間單位(例如,針對每周備份,這應該設定為 Day,FrequencyInterval 應該設定為 7) | “日” 'Hour' (必要) |
| keepAtLeastOneBackup | 如果保留原則應該一律在記憶體帳戶中保留至少一個備份,則為 True,無論其年齡為何;否則為 false。 | 布林 (必要) |
| retentionPeriodInDays (保留期以天為單位) | 應該刪除多少天備份之後。 | int (必要) |
| 開始時間 | 排程應該開始運作的時間。 | 字串 |
BlobStorageTokenStore
| 名字 | 描述 | 價值 |
|---|---|---|
| sasUrlSettingName | 應用程式設定的名稱,其中包含包含令牌之 Blob 記憶體的 SAS URL。 | 字串 |
客戶註冊
| 名字 | 描述 | 價值 |
|---|---|---|
| 用戶端ID | 用於登入之應用程式的用戶端識別碼。 | 字串 |
| clientSecretSettingName (用戶端 Secret設置名稱) | 包含客戶端密碼的應用程式設定名稱。 | 字串 |
ConnectionStringDictionary屬性
| 名字 | 描述 | 價值 |
|---|
ConnStringInfo
| 名字 | 描述 | 價值 |
|---|---|---|
| Connection String (連接字串) | 連接字串值。 | 字串 |
| 名字 | 連接字串的名稱。 | 字串 |
| 型別 | 資料庫的類型。 | 'ApiHub' “自定義” 'DocDb' “EventHub” 'MySql' 'NotificationHub' 'PostgreSQL' “RedisCache” “ServiceBus” 'SQLAzure' 'SQLServer' |
ConnStringValueTypePair
| 名字 | 描述 | 價值 |
|---|---|---|
| 型別 | 資料庫的類型。 | 'ApiHub' “自定義” 'DocDb' “EventHub” 'MySql' 'NotificationHub' 'PostgreSQL' “RedisCache” “ServiceBus” 'SQLAzure' 'SQLServer' (必要) |
| 價值 | 配對的值。 | 字串 (必要) |
Cookie過期
| 名字 | 描述 | 價值 |
|---|---|---|
| 慣例 | 判斷會話 Cookie 到期時所使用的慣例。 | 固定時間' “IdentityProviderDerived” |
| timeToExpiration 時間 | 要求到期的時間。 | 字串 |
CorsSettings
| 名字 | 描述 | 價值 |
|---|---|---|
| allowedOrigins 的 | 取得或設定應該允許建立跨原始來源的來源清單 呼叫 (例如: http://example.com:12345)。 使用 「*」 來允許所有專案。 |
字串[] |
| 支持憑證 | 取得或設定是否允許具有認證的CORS要求。 看 https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS#Requests_with_credentials 請參閱更多詳細資料。 |
布爾 (bool) |
CustomOpenIdConnectProvider
| 名字 | 描述 | 價值 |
|---|---|---|
| 啟用 | 如果不應該啟用自定義的 Open ID 提供者提供者,<程式代碼>false</code>;否則,<程式代碼>true</code>。 | 布爾 (bool) |
| 登錄 | 自訂 Open ID Connect 提供者之登入流程的組態設定。 | OpenIdConnect登錄 |
| 註冊 | 自訂 Open ID Connect 提供者之應用程式註冊的組態設定。 | OpenIdConnect註冊 |
DatabaseBackupSetting 資料庫備份設置
| 名字 | 描述 | 價值 |
|---|---|---|
| Connection String (連接字串) | 包含要備份或還原之資料庫的連接字串。 如果還原應該發生在新的資料庫,內部的資料庫名稱就是新的資料庫名稱。 | 字串 |
| connectionStringName | 包含連結到 SiteConfig.ConnectionStrings 的連接字串名稱。 這會在還原期間使用覆寫連接字串選項。 |
字串 |
| 資料庫類型 | 資料庫類型 (例如 SqlAzure / MySql)。 | 'LocalMySql' 'MySql' 'PostgreSql' 'SqlAzure' (必要) |
| 名字 | 字串 |
DefaultAuthorizationPolicy
| 名字 | 描述 | 價值 |
|---|---|---|
| allowedApplications 應用程式 | Azure Active Directory 允許應用程式的組態設定。 | 字串[] |
| allowedPrincipals 的 | Azure Active Directory 允許主體的組態設定。 | 允許的 Principals |
啟用配置
| 名字 | 描述 | 價值 |
|---|---|---|
| 啟用 | 如果已啟用組態,則為 True;如果停用則為 false;如果未設定組態則為 null。 | 布爾 (bool) |
實驗
| 名字 | 描述 | 價值 |
|---|---|---|
| rampUp規則 | 遞增規則的清單。 | RampUpRule[] |
臉書
| 名字 | 描述 | 價值 |
|---|---|---|
| 啟用 | <程式代碼>false</code> 即使設定註冊,仍不應啟用 Facebook 提供者;否則,<程式代碼>true</code>。 | 布爾 (bool) |
| graphApiVersion | 登入時要使用的Facebook API版本。 | 字串 |
| 登錄 | 登入流程的組態設定。 | 登錄範圍 |
| 註冊 | Facebook 提供者之應用程式註冊的組態設定。 | 應用註冊 |
FileSystemApplicationLogsConfig
| 名字 | 描述 | 價值 |
|---|---|---|
| 水平儀 | 記錄層級。 | “錯誤” “資訊” “關閉” “冗長” “警告” |
FileSystemHttpLogsConfig 檔
| 名字 | 描述 | 價值 |
|---|---|---|
| 啟用 | 如果已啟用組態,則為 True;如果停用則為 false;如果未設定組態則為 null。 | 布爾 (bool) |
| 保留天數 | 保留天數。 拿掉超過 X 天的檔案。 0 或更低表示沒有保留。 |
整數 (int) |
| 保留(以 Mb 為單位) | HTTP 記錄檔可以使用的大小上限,以 MB 為單位。 到達舊的記錄檔時,將會移除,以為新的記錄檔提供空間。 值的範圍可以介於 25 到 100 之間。 |
int 約束: 最小值 = 25 最大值 = 100 |
FileSystemTokenStore 檔
| 名字 | 描述 | 價值 |
|---|---|---|
| 目錄 | 將儲存令牌的目錄。 | 字串 |
轉發代理
| 名字 | 描述 | 價值 |
|---|---|---|
| 慣例 | 用來判斷所提出要求 URL 的慣例。 | “自定義” '無代理' “標準” |
| customHostHeaderName (自定義主機標頭名稱) | 包含要求主機的標頭名稱。 | 字串 |
| customProtoHeaderName | 包含要求配置之標頭的名稱。 | 字串 |
GitHub
| 名字 | 描述 | 價值 |
|---|---|---|
| 啟用 | <程式代碼>false</code>,即使設定註冊,仍不應啟用 GitHub 提供者;否則,<程式代碼>true</code>。 | 布爾 (bool) |
| 登錄 | 登入流程的組態設定。 | 登錄範圍 |
| 註冊 | GitHub 提供者的應用程式註冊組態設定。 | 客戶註冊 |
全域驗證
| 名字 | 描述 | 價值 |
|---|---|---|
| excludedPaths | 未經驗證流程的路徑不會重新導向至登入頁面。 | 字串[] |
| redirectToProvider | 設定多個提供者時要使用的預設驗證提供者。 只有在已設定多個提供者和未經驗證的用戶端時,才需要此設定 action 設定為 「RedirectToLoginPage」。。 |
字串 |
| requireAuthentication 認證 | <程式代碼>true</code> 如果需要驗證流程,則為任何要求;否則,<程式代碼>false</code>。 | 布爾 (bool) |
| unauthenticatedClientAction | 當未經驗證的客戶端嘗試存取應用程式時要採取的動作。 | '允許匿名' 'RedirectToLoginPage' '返回 401' '返回 403' |
谷歌
| 名字 | 描述 | 價值 |
|---|---|---|
| 啟用 | <程式代碼>false</code>,即使設定註冊,也不應該啟用 Google 提供者;否則,<程式代碼>true</code>。 | 布爾 (bool) |
| 登錄 | 登入流程的組態設定。 | 登錄範圍 |
| 註冊 | Google 提供者應用程式註冊的組態設定。 | 客戶註冊 |
| 確認 | Azure Active Directory 令牌驗證流程的組態設定。 | AllowedAudiences驗證 |
HandlerMapping
| 名字 | 描述 | 價值 |
|---|---|---|
| 參數 | 要傳遞至腳本處理器的命令行自變數。 | 字串 |
| 副檔名 | 使用此擴充功能的要求將會使用指定的 FastCGI 應用程式來處理。 | 字串 |
| scriptProcessor | FastCGI 應用程式的絕對路徑。 | 字串 |
HttpLogsConfig
| 名字 | 描述 | 價值 |
|---|---|---|
| azureBlobStorage | Http 記錄至 Azure Blob 記憶體組態。 | AzureBlobStorageHttpLogsConfig |
| 檔案系統 | Http 記錄至檔案系統組態。 | FileSystemHttpLogsConfig 檔 |
HttpSettings
| 名字 | 描述 | 價值 |
|---|---|---|
| 轉發代理 | 用來提出要求的轉寄 Proxy 組態設定。 | 轉發代理 |
| requireHttps 的 | 如果不允許驗證/授權回應沒有 HTTPS 配置,<程式代碼>false</code>;否則,<程式代碼>true</code>。 | 布爾 (bool) |
| 路線 | 路徑 HTTP 要求的組態設定。 | HttpSettingsRoutes |
HttpSettingsRoutes
| 名字 | 描述 | 價值 |
|---|---|---|
| apiPrefix 的 | 前置詞,應該位於所有驗證/授權路徑之前。 | 字串 |
身份提供程式
| 名字 | 描述 | 價值 |
|---|---|---|
| 蘋果 | Apple 提供者的組態設定。 | 蘋果 |
| azureActiveDirectory | Azure Active Directory 提供者的組態設定。 | AzureActiveDirectory |
| azureStaticWebApps | Azure Static Web Apps 提供者的組態設定。 | AzureStaticWebApps |
| 自定義OpenIdConnectProviders | 每個自定義 Open ID Connect 提供者別名名稱的對應 自訂 Open ID Connect 提供者的組態設定。 |
身份提供程式自定義OpenIdConnectProviders |
| 臉書 | Facebook 提供者的組態設定。 | 臉書 |
| 極狐 GitHub | GitHub 提供者的組態設定。 | GitHub的 |
| 谷歌 | Google 提供者的組態設定。 | 谷歌 |
| legacyMicrosoftAccount | 舊版Microsoft帳戶提供者的組態設定。 | 舊版MicrosoftAccount |
| 唽 | Twitter 提供者的組態設定。 | 唽 |
身份提供程式自定義OpenIdConnectProviders
| 名字 | 描述 | 價值 |
|---|
IpSecurityRestriction
| 名字 | 描述 | 價值 |
|---|---|---|
| 動作 | 允許或拒絕此IP範圍的存取。 | 字串 |
| 描述 | IP 限制規則描述。 | 字串 |
| 頭 | IP 限制規則標頭。 X-Forwarded-Host (https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-Host#Examples)。 比對邏輯為 。。 - 如果屬性為 Null 或空白(預設值),則允許所有主機(或缺少)。 - 使用序數忽略大小寫來比較值(不包括埠號碼)。 - 允許子域通配符,但不符合根域。 例如,*.contoso.com 符合子域 foo.contoso.com 但不是根域 contoso.com 或多層級 foo.bar.contoso.com - 允許 Unicode 主機名,但會轉換成 Punycode 進行比對。 X-Forwarded-For (https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-For#Examples)。 比對邏輯為 。。 - 如果屬性為 Null 或空白(預設值),則允許任何轉送的鏈結(或缺少)。 - 如果鏈結中有任何位址(不包括埠號碼)符合 屬性所定義的 CIDR。 X-Azure-FDID 和 X-FD-HealthProbe。 比對邏輯完全相符。 |
IpSecurityRestrictionHeaders |
| IP位址 | 安全性限制的有效IP位址。 它可以是純 ipv4 位址的形式(必要的 SubnetMask 屬性) 或 CIDR 表示法,例如 ipv4/mask(前置位比對)。 針對 CIDR, 不可指定 SubnetMask 屬性。 |
字串 |
| 名字 | IP 限制規則名稱。 | 字串 |
| 優先權 | IP 限制規則的優先順序。 | 整數 (int) |
| 子網掩碼 | 限制的有效IP位址範圍的子網掩碼。 | 字串 |
| subnetTrafficTag | (內部)子網流量標記 | 整數 (int) |
| 加標籤 | 定義此IP篩選器將用於哪些專案。 這是為了支援 Proxy 的IP篩選。 | 預設 “服務標籤” 'XffProxy' |
| vnetSubnetResourceId | 虛擬網路資源標識碼 | 字串 |
| vnetTrafficTag | (內部)Vnet 流量標籤 | 整數 (int) |
IpSecurityRestrictionHeaders
| 名字 | 描述 | 價值 |
|---|
JwtClaimChecks
| 名字 | 描述 | 價值 |
|---|---|---|
| allowedClient應用程式 | 允許的用戶端應用程式清單。 | 字串[] |
| allowed組 | 允許的群組清單。 | 字串[] |
舊版MicrosoftAccount
| 名字 | 描述 | 價值 |
|---|---|---|
| 啟用 | <程式代碼>false</code>,即使設定註冊,仍不應啟用舊版Microsoft帳戶提供者;否則,<程式代碼>true</code>。 | 布爾 (bool) |
| 登錄 | 登入流程的組態設定。 | 登錄範圍 |
| 註冊 | 舊版 Microsoft 帳戶提供者之應用程式註冊的組態設定。 | 客戶註冊 |
| 確認 | 舊版Microsoft帳戶提供者令牌驗證流程的組態設定。 | AllowedAudiences驗證 |
登錄
| 名字 | 描述 | 價值 |
|---|---|---|
| allowedExternalRedirectUrls | 可在登入或註銷應用程式時重新導向至 的外部URL。 請注意,會忽略 URL 的查詢字串部分。 這是 Windows 市集應用程式後端通常需要的進階設定。 請注意,目前網域內的URL一律是隱含允許的。 |
字串[] |
| cookie過期 | 會話 Cookie 到期的組態設定。 | Cookie過期 |
| nonce | 登入流程中使用的 Nonce 組態設定。 | 隨機數 |
| preserveUrlFragmentsForLogins | 如果提出登入要求之後保留來自要求的片段,<程式代碼>true</code>;否則,<程式代碼>false</code>。 | 布爾 (bool) |
| 路線 | 指定用於登入和註銷要求的端點的路由。 | LoginRoutes (登錄路由) |
| tokenStore | 令牌存放區的組態設定。 | TokenStore 倉庫 |
LoginRoutes (登錄路由)
| 名字 | 描述 | 價值 |
|---|---|---|
| logout端點 | 應該提出註銷要求的端點。 | 字串 |
登錄範圍
| 名字 | 描述 | 價值 |
|---|---|---|
| 範圍 | 驗證時應要求的範圍清單。 | 字串[] |
microsoft.web/sites/config
| 名字 | 描述 | 價值 |
|---|---|---|
| 名字 | 針對類型 Microsoft.Web/sites/config設定為 'appsettings'。針對 type Microsoft.Web/sites/config設定為 'authsettings'。針對 type Microsoft.Web/sites/config,設定為 'authsettingsV2'。針對 type Microsoft.Web/sites/config,設定為 'azurestorageaccounts'。針對類型 Microsoft.Web/sites/config設定為 'backup'。針對 type Microsoft.Web/sites/config,設定為 'connectionstrings'。針對類型 Microsoft.Web/sites/config設定為 'logs'。針對類型 Microsoft.Web/sites/config設定為 'metadata'。針對類型 Microsoft.Web/sites/config設定為 'pushsettings'。針對 type Microsoft.Web/sites/config設定為 'slotConfigNames'。將 類型設定為 'web' Microsoft.Web/sites/config。 | '應用程式設置' 'authsettings' 'authsettingsV2' 'azurestorageaccounts' '備份' 'connectionstrings' '日誌' '元數據' 'pushsettings' 'slotConfigNames' 'web' (必要) |
NameValuePair
| 名字 | 描述 | 價值 |
|---|---|---|
| 名字 | 配對名稱。 | 字串 |
| 價值 | 配對值。 | 字串 |
隨機數
| 名字 | 描述 | 價值 |
|---|---|---|
| nonceExpirationInterval | 要求到期后的時間。 | 字串 |
| 驗證隨機數 | 如果完成登入流程時不應該驗證 nonce,<程式代碼>false</code>;否則,<程式代碼>true</code>。 | 布爾 (bool) |
OpenIdConnectClientCredential
| 名字 | 描述 | 價值 |
|---|---|---|
| clientSecretSettingName (用戶端 Secret設置名稱) | 包含自訂 Open ID Connect 提供者用戶端密碼的應用程式設定。 | 字串 |
| 方法 | 應該用來驗證使用者的方法。 | “ClientSecretPost” |
OpenIdConnectConfig
| 名字 | 描述 | 價值 |
|---|---|---|
| authorizationEndpoint | 要用來提出授權要求的端點。 | 字串 |
| certificationUri 認證 | 提供驗證令牌所需金鑰的端點。 | 字串 |
| 簽發者 | 發出令牌的端點。 | 字串 |
| tokenEndpoint | 要用來要求令牌的端點。 | 字串 |
| wellKnownOpenIdConfiguration | 包含提供者所有組態端點的端點。 | 字串 |
OpenIdConnect登錄
| 名字 | 描述 | 價值 |
|---|---|---|
| nameClaimType | 包含用戶名稱的宣告名稱。 | 字串 |
| 範圍 | 驗證時應要求的範圍清單。 | 字串[] |
OpenIdConnect註冊
| 名字 | 描述 | 價值 |
|---|---|---|
| clientCredential 的 | 自訂 Open ID Connect 提供者的驗證認證。 | OpenIdConnectClientCredential |
| 用戶端ID | 自訂 Open ID Connect 提供者的用戶端識別碼。 | 字串 |
| openIdConnect配置 | 用於自訂 Open ID Connect 提供者之端點的組態設定。 | OpenIdConnectConfig |
PushSettings 設置
| 名字 | 描述 | 價值 |
|---|---|---|
| 類 | 資源種類。 | 字串 |
| 性能 | PushSettings 資源特定屬性 | PushSettingsProperties |
PushSettingsProperties
| 名字 | 描述 | 價值 |
|---|---|---|
| 動態標籤Json | 取得或設定 JSON 字串,其中包含將從推送註冊端點中的使用者宣告評估的動態標籤清單。 | 字串 |
| isPush已啟用 | 取得或設定旗標,指出是否啟用推送端點。 | 布林 (必要) |
| tagsRequiringAuth | 取得或設定 JSON 字串,其中包含要求使用者驗證用於推送註冊端點的標籤清單。 標記可以包含英數位元和下列專案: '_', '@', '#', '.', ':', '-'. 驗證應該在 PushRequestHandler 上執行。 |
字串 |
| tagWhitelistJson | 取得或設定 JSON 字串,其中包含允許清單中可供推送註冊端點使用的標籤清單。 | 字串 |
RampUpRule
| 名字 | 描述 | 價值 |
|---|---|---|
| actionHostName (作主機名稱) | 如果決定要重新導向流量的位置主機名。 例如 myapp-stage.azurewebsites.net。 | 字串 |
| 更改決定回調網址 | 您可以在可指定 URL 的 TiPCallback 網站延伸模組中提供自訂決策演算法。 | 字串 |
| 更改間隔以分鐘為單位 | 指定以分鐘為單位重新評估 ReroutePercentage 的間隔。 | 整數 (int) |
| changeStep | 在自動增加案例中,這是從 <程式代碼新增/移除的步驟,>ReroutePercentage</code>,\n<直到>MinReroutePercentage</code> 或 <程式代碼>MaxReroutePercentage</code>。 網站計量會每隔 N <分鐘檢查一次,>ChangeIntervalInMinutes</code>中指定的程式代碼。\n自定義決策演算法 可以在 TiPCallback 網站延伸模組中提供,您可以在 <程式代碼中指定 URL>ChangeDecisionCallbackUrl</code>。 |
整數 (int) |
| maxReroutePercentage | 指定 ReroutePercentage 將保留的上限。 | 整數 (int) |
| minReroutePercentage | 指定上方的下限,讓 ReroutePercentage 維持不變。 | 整數 (int) |
| 名字 | 路由規則的名稱。 建議的名稱會指向將接收實驗中流量的位置。 | 字串 |
| reroutePercentage | 將重新導向至 <程式代碼的流量百分比,>ActionHostName</code>。 | 整數 (int) |
RequestsBasedTrigger 觸發器
| 名字 | 描述 | 價值 |
|---|---|---|
| 計數 | 要求計數。 | 整數 (int) |
| timeInterval 時間 | 時間間隔。 | 字串 |
SiteAuthSettingsProperties
| 名字 | 描述 | 價值 |
|---|---|---|
| aadClaimsAuthorization | 取得包含 Azure AD Acl 設定的 JSON 字串。 | 字串 |
| additionalLoginParams | 登入參數,以在何時傳送至 OpenID Connect 授權端點 使用者登入。 每個參數的格式都必須是 「key=value」。。 |
字串[] |
| allowedAudiences | 允許的物件值在驗證 所發出的 JWT 時考慮 Azure Active Directory。 請注意,<程式代碼>ClientID</code> 值一律視為 允許的物件,不論此設定為何。 |
字串[] |
| allowedExternalRedirectUrls | 可在登入或註銷應用程式時重新導向至 的外部URL。 請注意,會忽略 URL 的查詢字串部分。 這是 Windows 市集應用程式後端通常需要的進階設定。 請注意,目前網域內的URL一律是隱含允許的。 |
字串[] |
| authFilePath 文件路徑 | 包含驗證設定的組態檔路徑。 如果路徑是相對的,基底會是月臺的根目錄。 |
字串 |
| 用戶端ID | 此信賴憑證者應用程式的用戶端標識碼,稱為client_id。 若要使用 Azure Active Directory 啟用 OpenID 連線驗證,則需要此設定或 其他第三方 OpenID Connect 提供者。 OpenID Connect 的詳細資訊:http://openid.net/specs/openid-connect-core-1_0.html |
字串 |
| 用戶端密鑰 | 此信賴憑證者應用程式的客戶端密碼(在 Azure Active Directory 中,也稱為密鑰)。 此設定是選擇性的。 如果未設定任何客戶端密碼,則會使用 OpenID Connect 隱含驗證流程來驗證終端使用者。 否則,OpenID Connect 授權碼流程會用來驗證使用者。 OpenID Connect 的詳細資訊:http://openid.net/specs/openid-connect-core-1_0.html |
字串 |
| clientSecretCertificate指紋 | 客戶端密碼的替代方案,也就是用於簽署之憑證的指紋。 此屬性的作用為 取代客戶端密碼。 它也是選擇性的。 |
字串 |
| clientSecretSettingName (用戶端 Secret設置名稱) | 包含信賴憑證者應用程式用戶端密碼的應用程式設定名稱。 | 字串 |
| configVersion (配置版本) | 用於目前應用程式的驗證/授權功能的 ConfigVersion。 此值中的設定可以控制驗證/授權的控制平面行為。 |
字串 |
| defaultProvider | 設定多個提供者時要使用的預設驗證提供者。 只有在已設定多個提供者和未經驗證的用戶端時,才需要此設定 action 設定為 「RedirectToLoginPage」。。 |
“AzureActiveDirectory” “臉書” 'Github' '谷歌' “MicrosoftAccount” '推特' |
| 啟用 | 如果目前應用程式已啟用驗證/授權功能,<程式代碼>true</code>;否則,<程式代碼>false</code>。 | 布爾 (bool) |
| facebookAppId | 用於登入的 Facebook 應用程式的應用程式識別碼。 啟用Facebook登入需要此設定。 Facebook 登入檔:https://developers.facebook.com/docs/facebook-login |
字串 |
| facebookAppSecret | 用於 Facebook 登入之 Facebook 應用程式的應用程式秘密。 啟用Facebook登入需要此設定。 Facebook 登入檔:https://developers.facebook.com/docs/facebook-login |
字串 |
| facebookAppSecretSettingName | 應用程式設定名稱,其中包含用於 Facebook 登入的應用程式密碼。 | 字串 |
| facebookOAuth範圍 | 將作為Facebook登入驗證一部分要求的OAuth 2.0範圍。 此設定是選擇性的。 Facebook 登入檔:https://developers.facebook.com/docs/facebook-login |
字串[] |
| gitHubClientId | 用於登入的 GitHub 應用程式的用戶端識別碼。 啟用 Github 登入需要此設定 |
字串 |
| gitHubClientSecret | GitHub 應用程式用於 Github 登入的客戶端密碼。 啟用 Github 登入需要此設定。 |
字串 |
| gitHubClientSecretSettingName | 包含 Github 用戶端密碼的應用程式設定名稱 用於 GitHub 登入的應用程式。 |
字串 |
| gitHubOAuth範圍 | 將作為 GitHub 登入驗證一部分要求的 OAuth 2.0 範圍。 此設定是選擇性的 |
字串[] |
| googleClientId | Google Web 應用程式的 OpenID Connect 用戶端識別碼。 啟用Google登入需要此設定。 Google Sign-In 檔:https://developers.google.com/identity/sign-in/web/ |
字串 |
| googleClientSecret | 與Google Web 應用程式相關聯的客戶端密碼。 啟用Google登入需要此設定。 Google Sign-In 檔:https://developers.google.com/identity/sign-in/web/ |
字串 |
| googleClientSecretSettingName | 包含與相關聯之用戶端密碼的應用程式設定名稱 Google Web 應用程式。 |
字串 |
| googleOAuth範圍 | 將作為Google Sign-In 驗證一部分要求的OAuth 2.0範圍。 此設定是選擇性的。 如果未指定,則會使用 「openid」、“profile」 和 「email」 作為預設範圍。 Google Sign-In 檔:https://developers.google.com/identity/sign-in/web/ |
字串[] |
| isAuthFrom檔 | 如果應該從檔案讀取驗證組態設定,則為 “true” 否則為 “false” |
字串 |
| 簽發者 | OpenID Connect 簽發者 URI,代表發出此應用程式存取令牌的實體。 使用 Azure Active Directory 時,此值是目錄租使用者的 URI,例如 https://sts.windows.net/{tenant-guid}/。此 URI 是令牌簽發者的區分大小寫標識碼。 OpenID Connect Discovery 的詳細資訊:http://openid.net/specs/openid-connect-discovery-1_0.html |
字串 |
| microsoftAccountClientId | 針對用於驗證的應用程式所建立的 OAuth 2.0 用戶端識別碼。 啟用Microsoft帳戶驗證需要此設定。 Microsoft帳戶 OAuth 檔:https://dev.onedrive.com/auth/msa_oauth.htm |
字串 |
| microsoftAccountClientSecret | 針對用於驗證的應用程式所建立的 OAuth 2.0 客戶端密碼。 啟用Microsoft帳戶驗證需要此設定。 Microsoft帳戶 OAuth 檔:https://dev.onedrive.com/auth/msa_oauth.htm |
字串 |
| microsoftAccountClientSecretSettingName | 包含針對 建立之 OAuth 2.0 用戶端密碼的應用程式設定名稱 用於驗證的應用程式。 |
字串 |
| microsoftAccountOAuth範圍 | 將在帳戶驗證Microsoft一部分要求的 OAuth 2.0 範圍。 此設定是選擇性的。 如果未指定,則會使用 「wl.basic」 作為預設範圍。 Microsoft帳戶範圍和許可權檔:https://msdn.microsoft.com/en-us/library/dn631845.aspx |
字串[] |
| runtimeVersion (運行時版本) | 用於目前應用程式的驗證/授權功能的 RuntimeVersion。 此值中的設定可以控制驗證/授權模組中特定功能的行為。 |
字串 |
| tokenRefreshExtension小時 | 會話令牌到期后的時數,會話令牌可用來 呼叫令牌重新整理 API。 預設值為72小時。 |
整數 (int) |
| tokenStore已啟用 |
<程式代碼>true</code>,以永久儲存登入流程期間取得的平臺特定安全性令牌;否則,<程式代碼>false</code>。 預設值為 <程式代碼,>false</code>。 |
布爾 (bool) |
| twitterConsumerKey | 用於登入之 Twitter 應用程式的 OAuth 1.0a 取用者密鑰。 啟用 Twitter 登入需要此設定。 Twitter Sign-In 檔:https://dev.twitter.com/web/sign-in |
字串 |
| 推特消費者秘密 | 用於登入之 Twitter 應用程式的 OAuth 1.0a 取用者秘密。 啟用 Twitter 登入需要此設定。 Twitter Sign-In 檔:https://dev.twitter.com/web/sign-in |
字串 |
| twitterConsumerSecretSettingName | 包含 Twitter OAuth 1.0a 取用者秘密的應用程式設定名稱 用於登入的應用程式。 |
字串 |
| unauthenticatedClientAction | 當未經驗證的客戶端嘗試存取應用程式時要採取的動作。 | '允許匿名' 'RedirectToLoginPage' |
| validateIssuer 的 | 取得值,指出簽發者是否應為有效的 HTTPS URL,並加以驗證。 | 布爾 (bool) |
SiteAuthSettingsV2屬性
| 名字 | 描述 | 價值 |
|---|---|---|
| globalValidation (全域驗證) | 使用 App Service 驗證/授權決定使用者驗證流程的組態設定。 | 全域驗證 |
| HTTP設置 | 針對 App Service 驗證/授權提出的驗證和授權要求的 HTTP 要求組態設定。 | HttpSettings |
| identityProviders | 用來設定 App Service 驗證/授權之每個識別提供者的組態設定。 | 身份提供程式 |
| 登錄 | 使用 App Service 驗證/授權的使用者登入流程組態設定。 | 登入 |
| 平台 | App Service 驗證/授權平臺的組態設定。 | AuthPlatform 認證 |
網站配置
| 名字 | 描述 | 價值 |
|---|---|---|
| acrUseManagedIdentityCreds | 使用受控識別 Creds 進行 ACR 提取的旗標 | 布爾 (bool) |
| acrUserManagedIdentityID | 如果使用使用者受控識別,則使用者受控識別 ClientId | 字串 |
| 永遠在線 | 如果已啟用 Always On,<程式代碼>true</code>;否則,<程式代碼>false</code>。 | 布爾 (bool) |
| api定義 | 應用程式正式 API 定義的相關信息。 | ApiDefinitionInfo |
| apiManagementConfig | 連結至應用程式的 Azure API 管理設定。 | ApiManagementConfig 介面 |
| app命令行 | 要啟動的應用程式命令行。 | 字串 |
| appSettings | 應用程式設定。 | NameValuePair[] |
| autoHealEnabled 已啟用 | 如果啟用自動癒合,<程式代碼>true</code>;否則,<程式代碼>false</code>。 | 布爾 (bool) |
| autoHealRules 自動修復規則 | 自動治癒規則。 | AutoHealRules 自動修復規則 |
| autoSwapSlotName (自動交換槽名稱) | 自動交換位置名稱。 | 字串 |
| azureStorageAccounts | Azure 記憶體帳戶的清單。 | SiteConfigAzureStorageAccounts |
| connectionStrings 連接字串 | 連接字串。 | ConnStringInfo[] |
| 跨來源資源共享 (CORS) | 跨原始來源資源分享 (CORS) 設定。 | CorsSettings |
| defaultDocuments 文檔 | 默認檔。 | 字串[] |
| detailedErrorLogging已啟用 | 如果啟用詳細的錯誤記錄,<程式代碼>true</code>;否則,<程式代碼>false</code>。 | 布爾 (bool) |
| documentRoot | 檔根目錄。 | 字串 |
| 實驗 | 這適用於多型類型。 | 實驗 |
| ftps狀態 | FTP / FTPS 服務的狀態 | '全部允許' “已禁用” '僅限 FTPS' |
| functionAppScaleLimit 函數 | 網站可相應放大至的工作者數目上限。 此設定僅適用於取用和彈性進階方案 |
int 約束: 最小值 = 0 |
| 函數RuntimeScaleMonitoringEnabled | 取得或設定值,指出是否啟用函式運行時間調整監視。 啟用時, ScaleController 不會直接監視事件來源,而是會改為呼叫 運行時間以取得調整狀態。 |
布爾 (bool) |
| handlerMappings | 處理程序對應。 | HandlerMapping[] |
| healthCheckPath (健康檢查路徑) | 健康情況檢查路徑 | 字串 |
| HTTP20已啟用 | Http20Enabled:設定網站以允許用戶端透過 HTTP2.0 連線 | 布爾 (bool) |
| HTTPLogging已啟用 | 如果啟用 HTTP 記錄,<程式代碼>true</code>;否則,<程式代碼>false</code>。 | 布爾 (bool) |
| ipSecurity限制 | main 的IP安全性限制。 | IpSecurityRestriction[] |
| java容器 | Java 容器。 | 字串 |
| javaContainerVersion | Java 容器版本。 | 字串 |
| java版本 | Java 版本。 | 字串 |
| keyVaultReferenceIdentity | 要用於 金鑰保存庫 參考驗證的身分識別。 | 字串 |
| 限制 | 網站限制。 | 網站限制 |
| linuxFx版本 | Linux 應用程式架構和版本 | 字串 |
| 負載平衡 | 網站負載平衡。 | '最少請求' '最小回應時間' 'PerSiteRoundRobin' '請求哈希' 'WeightedRoundRobin' '加權總流量' |
| localMySql已啟用 | <程式代碼>true</code> 啟用本機 MySQL;否則,<程式代碼>false</code>。 | 布爾 (bool) |
| logsDirectorySizeLimit | HTTP 記錄目錄大小限制。 | 整數 (int) |
| managedPipelineMode | 受控管線模式。 | “經典” “集成” |
| managedServiceIdentityId | 受控服務識別標識碼 | 整數 (int) |
| minimumElasticInstanceCount | 月臺的最小實例計數數目 此設定僅適用於彈性方案 |
int 約束: 最小值 = 0 最大值 = 20 |
| minTlsVersion (最小版本 | MinTlsVersion:設定 SSL 要求所需的最低 TLS 版本 | '1.0' '1.1' '1.2' |
| netFrameworkVersion | .NET Framework 版本。 | 字串 |
| nodeVersion | Node.js的版本。 | 字串 |
| 工人數 | 背景工作角色數目。 | 整數 (int) |
| php版本 | PHP 版本。 | 字串 |
| PowerShell版本 | PowerShell 版本。 | 字串 |
| preWarmedInstanceCount | 預先Warmed 實例的數目。 此設定僅適用於取用和彈性方案 |
int 約束: 最小值 = 0 最大值 = 10 |
| 公共網路存取 | 允許或封鎖所有公用流量的屬性。 | 字串 |
| publishing使用者名 | 發佈用戶名稱。 | 字串 |
| 推送 | 推送端點設定。 | PushSettings 設置 |
| python版本 | Python 版本。 | 字串 |
| remoteDebugging已啟用 | 如果啟用遠端偵錯,<程式代碼>true</code>;否則,<程式代碼>false</code>。 | 布爾 (bool) |
| remoteDebuggingVersion (遠端調試版本) | 遠端偵錯版本。 | 字串 |
| requestTracing已啟用 | 如果啟用要求追蹤,<程式代碼>true</code>;否則,<程式代碼>false</code>。 | 布爾 (bool) |
| 請求TracingExpirationTime | 要求追蹤到期時間。 | 字串 |
| scmIpSecurity限制 | scm 的IP安全性限制。 | IpSecurityRestriction[] |
| scmIpSecurityRestrictionsUseMain | scm 使用 main 的 IP 安全性限制。 | 布爾 (bool) |
| scmMinTlsVersion | ScmMinTlsVersion:設定 SCM 網站 SSL 要求所需的最低 TLS 版本 | '1.0' '1.1' '1.2' |
| scm類型 | SCM 類型。 | 'BitbucketGit' 'BitbucketHg' 'CodePlexGit' “CodePlexHg” 'Dropbox' '外部 Git' '外部汞' “GitHub” '本地 Git' “無” “OneDrive” 'Tfs' 'VSO' 'VSTSRM' |
| tracing選項 | 追蹤選項。 | 字串 |
| use32BitWorker進程 | <程式代碼>true</code> 使用 32 位背景工作進程;否則,<程式代碼>false</code>。 | 布爾 (bool) |
| 虛擬應用程式 | 虛擬應用程式。 | VirtualApplication[] |
| vnet名稱 | 虛擬網路名稱。 | 字串 |
| vnetPrivatePortsCount | 指派給此應用程式的私人埠數目。 這些會在運行時間動態指派。 | 整數 (int) |
| 虛擬網路所有路由啟用 (vnetRouteAllEnabled) | 虛擬網路路由全部啟用。 這會導致所有輸出流量套用虛擬網路安全組和用戶定義的路由。 | 布爾 (bool) |
| websiteTimeZone 網站時區 | 設定網站用來產生時間戳的時區。 與 Linux 和 Windows 應用程式 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 | 字串 |
| webSockets已啟用 | 如果已啟用 WebSocket,<程式代碼>true</code>;否則,<程式代碼>false</code>。 | 布爾 (bool) |
| windowsFx版本 | Xenon App Framework 和版本 | 字串 |
| xManagedServiceIdentityId | 明確受控服務識別標識碼 | 整數 (int) |
SiteConfigAzureStorageAccounts
| 名字 | 描述 | 價值 |
|---|
網站限制
| 名字 | 描述 | 價值 |
|---|---|---|
| 最大磁碟大小(以 Mb 為單位) | 允許的磁碟大小使用量上限,以 MB 為單位。 | 整數 (int) |
| 最大記憶體 | MB 允許的記憶體使用量上限。 | 整數 (int) |
| maxPercentageCpu | 允許的CPU使用量百分比上限。 | 整數 (int) |
SiteLogsConfigProperties
| 名字 | 描述 | 價值 |
|---|---|---|
| 應用程式記錄 | 應用程式記錄設定。 | 應用程式記錄配置 |
| detailedErrorMessages | 詳細的錯誤訊息組態。 | 啟用配置 |
| failedRequestsTracing 請求 | 失敗的要求追蹤組態。 | 啟用配置 |
| HTTP日誌 | HTTP 記錄組態。 | HttpLogsConfig |
SlotConfig名稱
| 名字 | 描述 | 價值 |
|---|---|---|
| appSetting名稱 | 應用程式設定名稱的清單。 | 字串[] |
| azureStorageConfigNames | 外部 Azure 記憶體帳戶標識碼的清單。 | 字串[] |
| connectionString名稱 | 連接字串名稱的清單。 | 字串[] |
SlowRequestsBasedTrigger 觸發器
| 名字 | 描述 | 價值 |
|---|---|---|
| 計數 | 要求計數。 | 整數 (int) |
| 路徑 | 要求路徑。 | 字串 |
| timeInterval 時間 | 時間間隔。 | 字串 |
| 花費時間 | 所花費的時間。 | 字串 |
StatusCodesBased觸發器
| 名字 | 描述 | 價值 |
|---|---|---|
| 計數 | 要求計數。 | 整數 (int) |
| 路徑 | 要求路徑 | 字串 |
| 狀態 | HTTP 狀態代碼。 | 整數 (int) |
| 子狀態 | 要求子狀態。 | 整數 (int) |
| timeInterval 時間 | 時間間隔。 | 字串 |
| win32狀態 | Win32 錯誤碼。 | 整數 (int) |
StatusCodesRangeBasedTrigger
| 名字 | 描述 | 價值 |
|---|---|---|
| 計數 | 要求計數。 | 整數 (int) |
| 路徑 | 字串 | |
| statusCodes | HTTP 狀態代碼。 | 字串 |
| timeInterval 時間 | 時間間隔。 | 字串 |
StringDictionaryProperties
| 名字 | 描述 | 價值 |
|---|
StringDictionaryProperties
| 名字 | 描述 | 價值 |
|---|
TokenStore 倉庫
| 名字 | 描述 | 價值 |
|---|---|---|
| azureBlobStorage | 如果使用 Blob 記憶體,令牌的記憶體組態設定。 | BlobStorageTokenStore |
| 啟用 |
<程式代碼>true</code>,以永久儲存登入流程期間取得的平臺特定安全性令牌;否則,<程式代碼>false</code>。 預設值為 <程式代碼,>false</code>。 |
布爾 (bool) |
| 檔案系統 | 如果使用檔案系統,則為令牌記憶體的組態設定。 | FileSystemTokenStore 檔 |
| tokenRefreshExtension小時 | 會話令牌到期后的時數,會話令牌可用來 呼叫令牌重新整理 API。 預設值為72小時。 |
整數 (int) |
唽
| 名字 | 描述 | 價值 |
|---|---|---|
| 啟用 | <程式代碼>false</code>,即使設定註冊,也不應該啟用 Twitter 提供者;否則,<程式代碼>true</code>。 | 布爾 (bool) |
| 註冊 | Twitter 提供者之應用程式註冊的組態設定。 | 推特註冊 |
推特註冊
| 名字 | 描述 | 價值 |
|---|---|---|
| consumerKey | 用於登入之 Twitter 應用程式的 OAuth 1.0a 取用者密鑰。 啟用 Twitter 登入需要此設定。 Twitter Sign-In 檔:https://dev.twitter.com/web/sign-in |
字串 |
| consumerSecretSettingName | 包含 Twitter OAuth 1.0a 取用者秘密的應用程式設定名稱 用於登入的應用程式。 |
字串 |
虛擬應用程式
| 名字 | 描述 | 價值 |
|---|---|---|
| 物理路徑 | 實體路徑。 | 字串 |
| preload已啟用 | 如果啟用預先載入,<程式代碼>true</code>;否則,<程式代碼>false</code>。 | 布爾 (bool) |
| 虛擬目錄 | 虛擬應用程式的虛擬目錄。 | VirtualDirectory [] |
| 虛擬路徑 | 虛擬路徑。 | 字串 |
虛擬目錄
| 名字 | 描述 | 價值 |
|---|---|---|
| 物理路徑 | 實體路徑。 | 字串 |
| 虛擬路徑 | 虛擬應用程式的路徑。 | 字串 |
ARM 樣本資源定義
月臺/設定資源類型可以使用目標作業來部署:
使用範例
Azure 快速入門範本
下列 Azure 快速入門範本 部署此資源類型。
| 範本 | 描述 |
|---|---|
| 使用 Azure SQL 後端 App Service 環境 |
此範本會建立具有 Azure SQL 後端的 App Service 環境,以及私人端點,以及通常用於私人/隔離環境中的相關聯資源。 |
| 使用內部 API 管理和 Web 應用程式 應用程式閘道 |
應用程式閘道會將因特網流量路由傳送至虛擬網路(內部模式)API 管理實例,此實例會服務裝載於 Azure Web 應用程式中的 Web API。 |
| 使用事件中樞和受控識別 Azure 函式應用程式 |
他的範本會在Linux取用方案上布建 Azure 函式應用程式,以及事件中樞、Azure 記憶體和 Application Insights。 函式應用程式可以使用受控識別來連線到事件中樞和記憶體帳戶 |
|
在 Flex 消耗計劃中創建函數應用 |
對於需要快速動態擴展(包括零實例)、託管身份連接和虛擬網路集成的功能,建議使用 Flex 消費託管。 |
|
在已啟用 Java 13 和 Tomcat 9 的 Azure 上建立 Web 應用程式 |
此範本會在已啟用 Java 13 和 Tomcat 9 的 Azure 上建立 Web 應用程式,讓您能夠在 Azure 中執行 Java 應用程式。 範本是由多諾萬·布朗撰寫的Microsoft。 |
|
使用範本建立 Web 應用程式加上 Redis 快取 |
此範本會建立具有 Redis 快取的 Azure Web 應用程式。 |
|
使用 vnet 整合部署 Azure Function Premium 方案 |
此範本可讓您部署已啟用區域虛擬網路整合的 Azure Function Premium 方案至新建立的虛擬網路。 |
|
Moesif API分析和獲利 |
此範本會將來自 Azure API 管理的 API 呼叫記錄至 Moesif API 分析和獲利平臺 |
|
布建在 App Service 方案 上執行的函式應用程式 |
此範本會在專用主控方案上布建函式應用程式,這表示它會像任何 App Service 網站一樣執行並計費。 |
|
使用 SQL Database 布建 Web 應用程式 |
此範本會布建 Web 應用程式、SQL Database、自動調整設定、警示規則和 App Insights。 它會在資料庫的 Web 應用程式中設定連接字串。 |
| 使用 Azure SQL 在 Linux 上 Sonarqube Docker Web 應用程式 |
此範本會使用官方 Sonarqube 映像,並在 Azure SQL Server 支援下,在 Azure App 服務 Web 應用程式 Linux 容器中部署 Sonarqube。 |
| 在 Linux 上使用 PostgreSQL Sonarqube Docker Web 應用程式 |
此範本提供在 Linux Web 應用程式上使用適用於 PostgreSQL 的 Azure 資料庫部署 Sonarqube Docker 映射 (alpine tag) 的簡單方式(預覽版) |
|
Web 應用程式 w/ Application Insights 傳送至 Log Analytics |
此範本將協助支援 microsoft.insights/components 的新 API 版本。 從 2020-02-02-preview WorkspaceID 開始,建立 Application Inisghts 時將會需要此範本。此範本會部署 App Service 方案、App Service、Application Insights、Log Analytics 工作區,並將其全部連結在一起。 |
| 使用適用於 MySQL 的 Azure 資料庫 Web 應用程式 |
此範本提供簡單的方式,透過適用於 MySQL 的 Azure 資料庫,在 Azure App 服務 Web Apps 上部署 Web 應用程式。 |
|
具有自定義部署位置的 Web 應用程式 |
此範本提供在 Azure Web Apps 上使用自訂部署位置部署 Web 應用程式的簡單方式。 |
|
具有受控識別、SQL Server 和 的 Web 應用程式 |
針對應用程式 + 資料 + 受控識別 + 監視部署 Azure 基礎結構的簡單範例 |
|
具有私人端點的 Web 應用程式 |
此範本可讓您建立 Web 應用程式,並透過私人端點加以公開 |
| 使用 VNet 插入和私人端點 Web 應用程式 |
此範本可讓您使用兩個 Web 應用程式、前端和後端建立安全端對端解決方案,前端會透過 VNet 插入和私人端點安全地取用後端 |
資源格式
若要建立 Microsoft.Web/sites/config 資源,請將下列 JSON 新增至範本。
{
"name": "string"
// For remaining properties, see microsoft.web/sites/config objects
}
microsoft.web/sites/config 物件
設定 名稱 屬性,以指定物件的類型。
針對 appsettings,請使用:
{
"kind": "string",
"name": "appsettings",
"properties": {
"{customized property}": "string"
}
}
針對 authsettings,請使用:
{
"kind": "string",
"name": "authsettings",
"properties": {
"aadClaimsAuthorization": "string",
"additionalLoginParams": [ "string" ],
"allowedAudiences": [ "string" ],
"allowedExternalRedirectUrls": [ "string" ],
"authFilePath": "string",
"clientId": "string",
"clientSecret": "string",
"clientSecretCertificateThumbprint": "string",
"clientSecretSettingName": "string",
"configVersion": "string",
"defaultProvider": "string",
"enabled": "bool",
"facebookAppId": "string",
"facebookAppSecret": "string",
"facebookAppSecretSettingName": "string",
"facebookOAuthScopes": [ "string" ],
"gitHubClientId": "string",
"gitHubClientSecret": "string",
"gitHubClientSecretSettingName": "string",
"gitHubOAuthScopes": [ "string" ],
"googleClientId": "string",
"googleClientSecret": "string",
"googleClientSecretSettingName": "string",
"googleOAuthScopes": [ "string" ],
"isAuthFromFile": "string",
"issuer": "string",
"microsoftAccountClientId": "string",
"microsoftAccountClientSecret": "string",
"microsoftAccountClientSecretSettingName": "string",
"microsoftAccountOAuthScopes": [ "string" ],
"runtimeVersion": "string",
"tokenRefreshExtensionHours": "int",
"tokenStoreEnabled": "bool",
"twitterConsumerKey": "string",
"twitterConsumerSecret": "string",
"twitterConsumerSecretSettingName": "string",
"unauthenticatedClientAction": "string",
"validateIssuer": "bool"
}
}
針對 authsettingsV2,請使用:
{
"kind": "string",
"name": "authsettingsV2",
"properties": {
"globalValidation": {
"excludedPaths": [ "string" ],
"redirectToProvider": "string",
"requireAuthentication": "bool",
"unauthenticatedClientAction": "string"
},
"httpSettings": {
"forwardProxy": {
"convention": "string",
"customHostHeaderName": "string",
"customProtoHeaderName": "string"
},
"requireHttps": "bool",
"routes": {
"apiPrefix": "string"
}
},
"identityProviders": {
"apple": {
"enabled": "bool",
"login": {
"scopes": [ "string" ]
},
"registration": {
"clientId": "string",
"clientSecretSettingName": "string"
}
},
"azureActiveDirectory": {
"enabled": "bool",
"isAutoProvisioned": "bool",
"login": {
"disableWWWAuthenticate": "bool",
"loginParameters": [ "string" ]
},
"registration": {
"clientId": "string",
"clientSecretCertificateIssuer": "string",
"clientSecretCertificateSubjectAlternativeName": "string",
"clientSecretCertificateThumbprint": "string",
"clientSecretSettingName": "string",
"openIdIssuer": "string"
},
"validation": {
"allowedAudiences": [ "string" ],
"defaultAuthorizationPolicy": {
"allowedApplications": [ "string" ],
"allowedPrincipals": {
"groups": [ "string" ],
"identities": [ "string" ]
}
},
"jwtClaimChecks": {
"allowedClientApplications": [ "string" ],
"allowedGroups": [ "string" ]
}
}
},
"azureStaticWebApps": {
"enabled": "bool",
"registration": {
"clientId": "string"
}
},
"customOpenIdConnectProviders": {
"{customized property}": {
"enabled": "bool",
"login": {
"nameClaimType": "string",
"scopes": [ "string" ]
},
"registration": {
"clientCredential": {
"clientSecretSettingName": "string",
"method": "ClientSecretPost"
},
"clientId": "string",
"openIdConnectConfiguration": {
"authorizationEndpoint": "string",
"certificationUri": "string",
"issuer": "string",
"tokenEndpoint": "string",
"wellKnownOpenIdConfiguration": "string"
}
}
}
},
"facebook": {
"enabled": "bool",
"graphApiVersion": "string",
"login": {
"scopes": [ "string" ]
},
"registration": {
"appId": "string",
"appSecretSettingName": "string"
}
},
"gitHub": {
"enabled": "bool",
"login": {
"scopes": [ "string" ]
},
"registration": {
"clientId": "string",
"clientSecretSettingName": "string"
}
},
"google": {
"enabled": "bool",
"login": {
"scopes": [ "string" ]
},
"registration": {
"clientId": "string",
"clientSecretSettingName": "string"
},
"validation": {
"allowedAudiences": [ "string" ]
}
},
"legacyMicrosoftAccount": {
"enabled": "bool",
"login": {
"scopes": [ "string" ]
},
"registration": {
"clientId": "string",
"clientSecretSettingName": "string"
},
"validation": {
"allowedAudiences": [ "string" ]
}
},
"twitter": {
"enabled": "bool",
"registration": {
"consumerKey": "string",
"consumerSecretSettingName": "string"
}
}
},
"login": {
"allowedExternalRedirectUrls": [ "string" ],
"cookieExpiration": {
"convention": "string",
"timeToExpiration": "string"
},
"nonce": {
"nonceExpirationInterval": "string",
"validateNonce": "bool"
},
"preserveUrlFragmentsForLogins": "bool",
"routes": {
"logoutEndpoint": "string"
},
"tokenStore": {
"azureBlobStorage": {
"sasUrlSettingName": "string"
},
"enabled": "bool",
"fileSystem": {
"directory": "string"
},
"tokenRefreshExtensionHours": "int"
}
},
"platform": {
"configFilePath": "string",
"enabled": "bool",
"runtimeVersion": "string"
}
}
}
針對 azurestorageaccounts ,請使用:
{
"kind": "string",
"name": "azurestorageaccounts",
"properties": {
"{customized property}": {
"accessKey": "string",
"accountName": "string",
"mountPath": "string",
"shareName": "string",
"type": "string"
}
}
}
針對 備份,請使用:
{
"kind": "string",
"name": "backup",
"properties": {
"backupName": "string",
"backupSchedule": {
"frequencyInterval": "int",
"frequencyUnit": "string",
"keepAtLeastOneBackup": "bool",
"retentionPeriodInDays": "int",
"startTime": "string"
},
"databases": [
{
"connectionString": "string",
"connectionStringName": "string",
"databaseType": "string",
"name": "string"
}
],
"enabled": "bool",
"storageAccountUrl": "string"
}
}
針對 connectionstrings,請使用:
{
"kind": "string",
"name": "connectionstrings",
"properties": {
"{customized property}": {
"type": "string",
"value": "string"
}
}
}
針對 記錄,請使用:
{
"kind": "string",
"name": "logs",
"properties": {
"applicationLogs": {
"azureBlobStorage": {
"level": "string",
"retentionInDays": "int",
"sasUrl": "string"
},
"azureTableStorage": {
"level": "string",
"sasUrl": "string"
},
"fileSystem": {
"level": "string"
}
},
"detailedErrorMessages": {
"enabled": "bool"
},
"failedRequestsTracing": {
"enabled": "bool"
},
"httpLogs": {
"azureBlobStorage": {
"enabled": "bool",
"retentionInDays": "int",
"sasUrl": "string"
},
"fileSystem": {
"enabled": "bool",
"retentionInDays": "int",
"retentionInMb": "int"
}
}
}
}
針對 元數據,請使用:
{
"kind": "string",
"name": "metadata",
"properties": {
"{customized property}": "string"
}
}
針對 pushsettings,請使用:
{
"kind": "string",
"name": "pushsettings",
"properties": {
"dynamicTagsJson": "string",
"isPushEnabled": "bool",
"tagsRequiringAuth": "string",
"tagWhitelistJson": "string"
}
}
針對 slotConfigNames,請使用:
{
"kind": "string",
"name": "slotConfigNames",
"properties": {
"appSettingNames": [ "string" ],
"azureStorageConfigNames": [ "string" ],
"connectionStringNames": [ "string" ]
}
}
針對 Web,請使用:
{
"kind": "string",
"name": "web",
"properties": {
"acrUseManagedIdentityCreds": "bool",
"acrUserManagedIdentityID": "string",
"alwaysOn": "bool",
"apiDefinition": {
"url": "string"
},
"apiManagementConfig": {
"id": "string"
},
"appCommandLine": "string",
"appSettings": [
{
"name": "string",
"value": "string"
}
],
"autoHealEnabled": "bool",
"autoHealRules": {
"actions": {
"actionType": "string",
"customAction": {
"exe": "string",
"parameters": "string"
},
"minProcessExecutionTime": "string"
},
"triggers": {
"privateBytesInKB": "int",
"requests": {
"count": "int",
"timeInterval": "string"
},
"slowRequests": {
"count": "int",
"path": "string",
"timeInterval": "string",
"timeTaken": "string"
},
"slowRequestsWithPath": [
{
"count": "int",
"path": "string",
"timeInterval": "string",
"timeTaken": "string"
}
],
"statusCodes": [
{
"count": "int",
"path": "string",
"status": "int",
"subStatus": "int",
"timeInterval": "string",
"win32Status": "int"
}
],
"statusCodesRange": [
{
"count": "int",
"path": "string",
"statusCodes": "string",
"timeInterval": "string"
}
]
}
},
"autoSwapSlotName": "string",
"azureStorageAccounts": {
"{customized property}": {
"accessKey": "string",
"accountName": "string",
"mountPath": "string",
"shareName": "string",
"type": "string"
}
},
"connectionStrings": [
{
"connectionString": "string",
"name": "string",
"type": "string"
}
],
"cors": {
"allowedOrigins": [ "string" ],
"supportCredentials": "bool"
},
"defaultDocuments": [ "string" ],
"detailedErrorLoggingEnabled": "bool",
"documentRoot": "string",
"experiments": {
"rampUpRules": [
{
"actionHostName": "string",
"changeDecisionCallbackUrl": "string",
"changeIntervalInMinutes": "int",
"changeStep": "int",
"maxReroutePercentage": "int",
"minReroutePercentage": "int",
"name": "string",
"reroutePercentage": "int"
}
]
},
"ftpsState": "string",
"functionAppScaleLimit": "int",
"functionsRuntimeScaleMonitoringEnabled": "bool",
"handlerMappings": [
{
"arguments": "string",
"extension": "string",
"scriptProcessor": "string"
}
],
"healthCheckPath": "string",
"http20Enabled": "bool",
"httpLoggingEnabled": "bool",
"ipSecurityRestrictions": [
{
"action": "string",
"description": "string",
"headers": {
"{customized property}": [ "string" ]
},
"ipAddress": "string",
"name": "string",
"priority": "int",
"subnetMask": "string",
"subnetTrafficTag": "int",
"tag": "string",
"vnetSubnetResourceId": "string",
"vnetTrafficTag": "int"
}
],
"javaContainer": "string",
"javaContainerVersion": "string",
"javaVersion": "string",
"keyVaultReferenceIdentity": "string",
"limits": {
"maxDiskSizeInMb": "int",
"maxMemoryInMb": "int",
"maxPercentageCpu": "int"
},
"linuxFxVersion": "string",
"loadBalancing": "string",
"localMySqlEnabled": "bool",
"logsDirectorySizeLimit": "int",
"managedPipelineMode": "string",
"managedServiceIdentityId": "int",
"minimumElasticInstanceCount": "int",
"minTlsVersion": "string",
"netFrameworkVersion": "string",
"nodeVersion": "string",
"numberOfWorkers": "int",
"phpVersion": "string",
"powerShellVersion": "string",
"preWarmedInstanceCount": "int",
"publicNetworkAccess": "string",
"publishingUsername": "string",
"push": {
"kind": "string",
"properties": {
"dynamicTagsJson": "string",
"isPushEnabled": "bool",
"tagsRequiringAuth": "string",
"tagWhitelistJson": "string"
}
},
"pythonVersion": "string",
"remoteDebuggingEnabled": "bool",
"remoteDebuggingVersion": "string",
"requestTracingEnabled": "bool",
"requestTracingExpirationTime": "string",
"scmIpSecurityRestrictions": [
{
"action": "string",
"description": "string",
"headers": {
"{customized property}": [ "string" ]
},
"ipAddress": "string",
"name": "string",
"priority": "int",
"subnetMask": "string",
"subnetTrafficTag": "int",
"tag": "string",
"vnetSubnetResourceId": "string",
"vnetTrafficTag": "int"
}
],
"scmIpSecurityRestrictionsUseMain": "bool",
"scmMinTlsVersion": "string",
"scmType": "string",
"tracingOptions": "string",
"use32BitWorkerProcess": "bool",
"virtualApplications": [
{
"physicalPath": "string",
"preloadEnabled": "bool",
"virtualDirectories": [
{
"physicalPath": "string",
"virtualPath": "string"
}
],
"virtualPath": "string"
}
],
"vnetName": "string",
"vnetPrivatePortsCount": "int",
"vnetRouteAllEnabled": "bool",
"websiteTimeZone": "string",
"webSocketsEnabled": "bool",
"windowsFxVersion": "string",
"xManagedServiceIdentityId": "int"
}
}
屬性值
Microsoft.Web/sites/config
| 名字 | 描述 | 價值 |
|---|---|---|
| apiVersion | API 版本 | '2022-03-01' |
| 類 | 資源種類。 | 字串 |
| 名字 | 資源名稱 | 'appsettings' (必要) |
| 性能 | 設置。 | StringDictionaryProperties |
| 型別 | 資源類型 | “Microsoft.Web/sites/config” |
Microsoft.Web/sites/config
| 名字 | 描述 | 價值 |
|---|---|---|
| apiVersion | API 版本 | '2022-03-01' |
| 類 | 資源種類。 | 字串 |
| 名字 | 資源名稱 | 'authsettings' (必要) |
| 性能 | SiteAuthSettings 資源特定屬性 | SiteAuthSettingsProperties |
| 型別 | 資源類型 | “Microsoft.Web/sites/config” |
Microsoft.Web/sites/config
| 名字 | 描述 | 價值 |
|---|---|---|
| apiVersion | API 版本 | '2022-03-01' |
| 類 | 資源種類。 | 字串 |
| 名字 | 資源名稱 | 'authsettingsV2' (必要) |
| 性能 | SiteAuthSettingsV2 資源特定屬性 | SiteAuthSettingsV2屬性 |
| 型別 | 資源類型 | “Microsoft.Web/sites/config” |
Microsoft.Web/sites/config
| 名字 | 描述 | 價值 |
|---|---|---|
| apiVersion | API 版本 | '2022-03-01' |
| 類 | 資源種類。 | 字串 |
| 名字 | 資源名稱 | 'azurestorageaccounts' (必要) |
| 性能 | Azure 記憶體帳戶。 | AzureStoragePropertyDictionaryResourceProperties |
| 型別 | 資源類型 | “Microsoft.Web/sites/config” |
Microsoft.Web/sites/config
| 名字 | 描述 | 價值 |
|---|---|---|
| apiVersion | API 版本 | '2022-03-01' |
| 類 | 資源種類。 | 字串 |
| 名字 | 資源名稱 | 'backup' (必要) |
| 性能 | BackupRequest 資源特定屬性 | BackupRequestProperties |
| 型別 | 資源類型 | “Microsoft.Web/sites/config” |
Microsoft.Web/sites/config
| 名字 | 描述 | 價值 |
|---|---|---|
| apiVersion | API 版本 | '2022-03-01' |
| 類 | 資源種類。 | 字串 |
| 名字 | 資源名稱 | 'connectionstrings' (必要) |
| 性能 | 連接字串。 | ConnectionStringDictionary屬性 |
| 型別 | 資源類型 | “Microsoft.Web/sites/config” |
Microsoft.Web/sites/config
| 名字 | 描述 | 價值 |
|---|---|---|
| apiVersion | API 版本 | '2022-03-01' |
| 類 | 資源種類。 | 字串 |
| 名字 | 資源名稱 | 'logs' (必要) |
| 性能 | SiteLogsConfig 資源特定屬性 | SiteLogsConfigProperties |
| 型別 | 資源類型 | “Microsoft.Web/sites/config” |
Microsoft.Web/sites/config
| 名字 | 描述 | 價值 |
|---|---|---|
| apiVersion | API 版本 | '2022-03-01' |
| 類 | 資源種類。 | 字串 |
| 名字 | 資源名稱 | 'metadata' (必要) |
| 性能 | 設置。 | StringDictionaryProperties |
| 型別 | 資源類型 | “Microsoft.Web/sites/config” |
Microsoft.Web/sites/config
| 名字 | 描述 | 價值 |
|---|---|---|
| apiVersion | API 版本 | '2022-03-01' |
| 類 | 資源種類。 | 字串 |
| 名字 | 資源名稱 | 'pushsettings' (必要) |
| 性能 | PushSettings 資源特定屬性 | PushSettingsProperties |
| 型別 | 資源類型 | “Microsoft.Web/sites/config” |
Microsoft.Web/sites/config
| 名字 | 描述 | 價值 |
|---|---|---|
| apiVersion | API 版本 | '2022-03-01' |
| 類 | 資源種類。 | 字串 |
| 名字 | 資源名稱 | 'slotConfigNames' (必要) |
| 性能 | 核心資源屬性 | SlotConfig名稱 |
| 型別 | 資源類型 | “Microsoft.Web/sites/config” |
Microsoft.Web/sites/config
| 名字 | 描述 | 價值 |
|---|---|---|
| apiVersion | API 版本 | '2022-03-01' |
| 類 | 資源種類。 | 字串 |
| 名字 | 資源名稱 | 'web' (必要) |
| 性能 | 核心資源屬性 | 網站配置 |
| 型別 | 資源類型 | “Microsoft.Web/sites/config” |
AllowedAudiences驗證
| 名字 | 描述 | 價值 |
|---|---|---|
| allowedAudiences | 要從中驗證 JWT 令牌的物件允許清單的組態設定。 | 字串[] |
允許的 Principals
| 名字 | 描述 | 價值 |
|---|---|---|
| 組 | 允許的群組清單。 | 字串[] |
| 身份 | 允許的身分識別清單。 | 字串[] |
ApiDefinitionInfo
| 名字 | 描述 | 價值 |
|---|---|---|
| URL | API 定義的 URL。 | 字串 |
ApiManagementConfig 介面
| 名字 | 描述 | 價值 |
|---|---|---|
| 識別碼 | APIM-Api 標識碼。 | 字串 |
蘋果
| 名字 | 描述 | 價值 |
|---|---|---|
| 啟用 | <程式代碼>false</code> 即使設定註冊,還是應該啟用 Apple 提供者;否則,<程式代碼>true</code>。 | 布爾 (bool) |
| 登錄 | 登入流程的組態設定。 | 登錄範圍 |
| 註冊 | Apple 註冊的組態設定。 | 蘋果註冊 |
蘋果註冊
| 名字 | 描述 | 價值 |
|---|---|---|
| 用戶端ID | 用於登入之應用程式的用戶端識別碼。 | 字串 |
| clientSecretSettingName (用戶端 Secret設置名稱) | 包含客戶端密碼的應用程式設定名稱。 | 字串 |
應用程式記錄配置
| 名字 | 描述 | 價值 |
|---|---|---|
| azureBlobStorage | 應用程式記錄至 Blob 記憶體組態。 | AzureBlobStorageApplicationLogsConfig |
| azureTableStorage | 應用程式記錄至 azure 資料表記憶體組態。 | AzureTableStorageApplicationLogsConfig |
| 檔案系統 | 應用程式記錄至檔案系統組態。 | FileSystemApplicationLogsConfig |
應用註冊
| 名字 | 描述 | 價值 |
|---|---|---|
| 應用程式ID | 用於登入之應用程式的應用程式識別碼。 | 字串 |
| appSecretSettingName | 包含應用程式秘密的應用程式設定名稱。 | 字串 |
AuthPlatform 認證
| 名字 | 描述 | 價值 |
|---|---|---|
| configFilePath 檔 | 如果組態檔來自檔案,則包含驗證設定的路徑。 如果路徑是相對的,基底會是月臺的根目錄。 |
字串 |
| 啟用 | 如果目前應用程式已啟用驗證/授權功能,<程式代碼>true</code>;否則,<程式代碼>false</code>。 | 布爾 (bool) |
| runtimeVersion (運行時版本) | 用於目前應用程式的驗證/授權功能的 RuntimeVersion。 此值中的設定可以控制驗證/授權模組中特定功能的行為。 |
字串 |
AutoHealActions 自動修復作
| 名字 | 描述 | 價值 |
|---|---|---|
| 動作類型 | 要採取的預先定義動作。 | 'CustomAction' “LogEvent” '回收' |
| 自訂作 | 要採取的自定義動作。 | AutohealCustomAction 自動修復 |
| minProcessExecutionTime (最小進程執行時間) | 進程必須執行的時間下限 採取動作之前 |
字串 |
AutohealCustomAction 自動修復
| 名字 | 描述 | 價值 |
|---|---|---|
| Exe | 要執行的可執行檔。 | 字串 |
| 參數 | 可執行文件的參數。 | 字串 |
AutoHealRules 自動修復規則
| 名字 | 描述 | 價值 |
|---|---|---|
| 行動 | 觸發規則時要執行的動作。 | AutoHealActions 自動修復作 |
| 觸發器 | 描述何時執行自動癒合動作的條件。 | AutoHealTriggers 自動修復觸發器 |
AutoHealTriggers 自動修復觸發器
| 名字 | 描述 | 價值 |
|---|---|---|
| privateBytesInKB | 以私用位元組為基礎的規則。 | 整數 (int) |
| 請求 | 以要求總數為基礎的規則。 | RequestsBasedTrigger 觸發器 |
| slowRequests 請求 | 根據要求運行時間的規則。 | SlowRequestsBasedTrigger 觸發器 |
| slowRequestsWithPath 的 | 根據具有路徑的多個慢速要求規則的規則 | SlowRequestsBasedTrigger[] |
| statusCodes | 以狀態代碼為基礎的規則。 | StatusCodesBasedTrigger[] |
| statusCodesRange | 根據狀態代碼範圍的規則。 | StatusCodesRangeBasedTrigger[] |
AzureActiveDirectory
| 名字 | 描述 | 價值 |
|---|---|---|
| 啟用 | <程式代碼>false</code>,即使設定註冊,仍不應啟用 Azure Active Directory 提供者;否則,<程式代碼>true</code>。 | 布爾 (bool) |
| isAutoProvisioned | 取得值,指出是否使用第一方工具自動布建 Azure AD 組態。 這是主要用來支援 Azure 管理入口網站的內部旗標。 用戶不應該 讀取或寫入此屬性。 |
布爾 (bool) |
| 登錄 | Azure Active Directory 登入流程的組態設定。 | AzureActiveDirectory登錄 |
| 註冊 | Azure Active Directory 應用程式註冊的組態設定。 | AzureActiveDirectory註冊 |
| 確認 | Azure Active Directory 令牌驗證流程的組態設定。 | AzureActiveDirectory驗證 |
AzureActiveDirectory登錄
| 名字 | 描述 | 價值 |
|---|---|---|
| disableWWWAuthenticate | 如果應該省略 www-authenticate 提供者,<程式代碼>true</code>;否則,<程式代碼>false</code>。 | 布爾 (bool) |
| loginParameters (登錄參數) | 登入參數,以在何時傳送至 OpenID Connect 授權端點 使用者登入。 每個參數的格式都必須是 「key=value」。。 |
字串[] |
AzureActiveDirectory註冊
| 名字 | 描述 | 價值 |
|---|---|---|
| 用戶端ID | 此信賴憑證者應用程式的用戶端標識碼,稱為client_id。 若要使用 Azure Active Directory 啟用 OpenID 連線驗證,則需要此設定或 其他第三方 OpenID Connect 提供者。 OpenID Connect 的詳細資訊:http://openid.net/specs/openid-connect-core-1_0.html |
字串 |
| clientSecretCertificateIssuer | 用戶端密碼指紋的替代方法,也就是用於簽署之憑證的簽發者。 此屬性的作用為 取代用戶端秘密憑證指紋。 它也是選擇性的。 |
字串 |
| clientSecretCertificateSubjectAlternativeName | 用戶端密碼指紋的替代方案,也就是用於簽署之憑證的主體別名。 此屬性的作用為 取代用戶端秘密憑證指紋。 它也是選擇性的。 |
字串 |
| clientSecretCertificate指紋 | 客戶端密碼的替代方案,也就是用於簽署之憑證的指紋。 此屬性的作用為 取代客戶端密碼。 它也是選擇性的。 |
字串 |
| clientSecretSettingName (用戶端 Secret設置名稱) | 包含信賴憑證者應用程式用戶端密碼的應用程式設定名稱。 | 字串 |
| openIdIssuer 的 | OpenID Connect 簽發者 URI,代表發出此應用程式存取令牌的實體。 使用 Azure Active Directory 時,此值是目錄租使用者的 URI,例如 https://login.microsoftonline.com/v2.0/{tenant-guid}/。此 URI 是令牌簽發者的區分大小寫標識碼。 OpenID Connect Discovery 的詳細資訊:http://openid.net/specs/openid-connect-discovery-1_0.html |
字串 |
AzureActiveDirectory驗證
| 名字 | 描述 | 價值 |
|---|---|---|
| allowedAudiences | 可成功進行驗證/授權要求的物件清單。 | 字串[] |
| defaultAuthorizationPolicy | 默認授權原則的組態設定。 | DefaultAuthorizationPolicy |
| jwtClaimChecks | 驗證 JWT 宣告時,應該進行的檢查組態設定。 | JwtClaimChecks |
AzureBlobStorageApplicationLogsConfig
| 名字 | 描述 | 價值 |
|---|---|---|
| 水平儀 | 記錄層級。 | “錯誤” “資訊” “關閉” “冗長” “警告” |
| 保留天數 | 保留天數。 拿掉早於 X 天的 Blob。 0 或更低表示沒有保留。 |
整數 (int) |
| sasUrl 的 | 具有讀取/寫入/清單/刪除許可權的 Azure Blob 容器 SAS URL。 | 字串 |
AzureBlobStorageHttpLogsConfig
| 名字 | 描述 | 價值 |
|---|---|---|
| 啟用 | 如果已啟用組態,則為 True;如果停用則為 false;如果未設定組態則為 null。 | 布爾 (bool) |
| 保留天數 | 保留天數。 拿掉早於 X 天的 Blob。 0 或更低表示沒有保留。 |
整數 (int) |
| sasUrl 的 | 具有讀取/寫入/清單/刪除許可權的 Azure Blob 容器 SAS URL。 | 字串 |
AzureStaticWebApps
| 名字 | 描述 | 價值 |
|---|---|---|
| 啟用 | <程式代碼>false</code>,即使設定註冊,仍不應啟用 Azure Static Web Apps 提供者;否則,<程式代碼>true</code>。 | 布爾 (bool) |
| 註冊 | Azure Static Web Apps 註冊的組態設定。 | AzureStaticWebApps註冊 |
AzureStaticWebApps註冊
| 名字 | 描述 | 價值 |
|---|---|---|
| 用戶端ID | 用於登入之應用程式的用戶端識別碼。 | 字串 |
AzureStorageInfoValue
| 名字 | 描述 | 價值 |
|---|---|---|
| accessKey | 儲存體帳戶的存取金鑰。 | 字串 約束: 敏感性值。 以安全參數的形式傳入。 |
| 帳戶名稱 | 記憶體帳戶的名稱。 | 字串 |
| mountPath | 在站臺運行時間環境中掛接記憶體的路徑。 | 字串 |
| 共享名稱 | 檔案共享的名稱(容器名稱,用於 Blob 記憶體)。 | 字串 |
| 型別 | 記憶體的類型。 | “AzureBlob” “AzureFiles” |
AzureStoragePropertyDictionaryResourceProperties
| 名字 | 描述 | 價值 |
|---|
AzureTableStorageApplicationLogsConfig
| 名字 | 描述 | 價值 |
|---|---|---|
| 水平儀 | 記錄層級。 | “錯誤” “資訊” “關閉” “冗長” “警告” |
| sasUrl 的 | 具有新增/查詢/刪除許可權的 Azure 資料表 SAS URL。 | 字串 (必要) |
BackupRequestProperties
| 名字 | 描述 | 價值 |
|---|---|---|
| backupName (備份名稱) | 備份的名稱。 | 字串 |
| backupSchedule | 定期執行備份時排程備份。 | 備份計劃 |
| 資料庫 | 備份中包含的資料庫。 | DatabaseBackupSetting[] |
| 啟用 | True 是表示 如果備份排程已啟用 (必須包含在該案例中),則為 false,如果應該停用備份排程則為 false。 | 布爾 (bool) |
| storageAccountUrl 的 | 容器的SAS URL。 | 字串 (必要) |
備份計劃
| 名字 | 描述 | 價值 |
|---|---|---|
| 頻率間隔 | 應該執行備份的頻率(例如,針對每周備份,這應該設定為 7,FrequencyUnit 應該設定為 Day) | int (必要) |
| 頻率單位 | 應該執行備份頻率的時間單位(例如,針對每周備份,這應該設定為 Day,FrequencyInterval 應該設定為 7) | “日” 'Hour' (必要) |
| keepAtLeastOneBackup | 如果保留原則應該一律在記憶體帳戶中保留至少一個備份,則為 True,無論其年齡為何;否則為 false。 | 布林 (必要) |
| retentionPeriodInDays (保留期以天為單位) | 應該刪除多少天備份之後。 | int (必要) |
| 開始時間 | 排程應該開始運作的時間。 | 字串 |
BlobStorageTokenStore
| 名字 | 描述 | 價值 |
|---|---|---|
| sasUrlSettingName | 應用程式設定的名稱,其中包含包含令牌之 Blob 記憶體的 SAS URL。 | 字串 |
客戶註冊
| 名字 | 描述 | 價值 |
|---|---|---|
| 用戶端ID | 用於登入之應用程式的用戶端識別碼。 | 字串 |
| clientSecretSettingName (用戶端 Secret設置名稱) | 包含客戶端密碼的應用程式設定名稱。 | 字串 |
ConnectionStringDictionary屬性
| 名字 | 描述 | 價值 |
|---|
ConnStringInfo
| 名字 | 描述 | 價值 |
|---|---|---|
| Connection String (連接字串) | 連接字串值。 | 字串 |
| 名字 | 連接字串的名稱。 | 字串 |
| 型別 | 資料庫的類型。 | 'ApiHub' “自定義” 'DocDb' “EventHub” 'MySql' 'NotificationHub' 'PostgreSQL' “RedisCache” “ServiceBus” 'SQLAzure' 'SQLServer' |
ConnStringValueTypePair
| 名字 | 描述 | 價值 |
|---|---|---|
| 型別 | 資料庫的類型。 | 'ApiHub' “自定義” 'DocDb' “EventHub” 'MySql' 'NotificationHub' 'PostgreSQL' “RedisCache” “ServiceBus” 'SQLAzure' 'SQLServer' (必要) |
| 價值 | 配對的值。 | 字串 (必要) |
Cookie過期
| 名字 | 描述 | 價值 |
|---|---|---|
| 慣例 | 判斷會話 Cookie 到期時所使用的慣例。 | 固定時間' “IdentityProviderDerived” |
| timeToExpiration 時間 | 要求到期的時間。 | 字串 |
CorsSettings
| 名字 | 描述 | 價值 |
|---|---|---|
| allowedOrigins 的 | 取得或設定應該允許建立跨原始來源的來源清單 呼叫 (例如: http://example.com:12345)。 使用 「*」 來允許所有專案。 |
字串[] |
| 支持憑證 | 取得或設定是否允許具有認證的CORS要求。 看 https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS#Requests_with_credentials 請參閱更多詳細資料。 |
布爾 (bool) |
CustomOpenIdConnectProvider
| 名字 | 描述 | 價值 |
|---|---|---|
| 啟用 | 如果不應該啟用自定義的 Open ID 提供者提供者,<程式代碼>false</code>;否則,<程式代碼>true</code>。 | 布爾 (bool) |
| 登錄 | 自訂 Open ID Connect 提供者之登入流程的組態設定。 | OpenIdConnect登錄 |
| 註冊 | 自訂 Open ID Connect 提供者之應用程式註冊的組態設定。 | OpenIdConnect註冊 |
DatabaseBackupSetting 資料庫備份設置
| 名字 | 描述 | 價值 |
|---|---|---|
| Connection String (連接字串) | 包含要備份或還原之資料庫的連接字串。 如果還原應該發生在新的資料庫,內部的資料庫名稱就是新的資料庫名稱。 | 字串 |
| connectionStringName | 包含連結到 SiteConfig.ConnectionStrings 的連接字串名稱。 這會在還原期間使用覆寫連接字串選項。 |
字串 |
| 資料庫類型 | 資料庫類型 (例如 SqlAzure / MySql)。 | 'LocalMySql' 'MySql' 'PostgreSql' 'SqlAzure' (必要) |
| 名字 | 字串 |
DefaultAuthorizationPolicy
| 名字 | 描述 | 價值 |
|---|---|---|
| allowedApplications 應用程式 | Azure Active Directory 允許應用程式的組態設定。 | 字串[] |
| allowedPrincipals 的 | Azure Active Directory 允許主體的組態設定。 | 允許的 Principals |
啟用配置
| 名字 | 描述 | 價值 |
|---|---|---|
| 啟用 | 如果已啟用組態,則為 True;如果停用則為 false;如果未設定組態則為 null。 | 布爾 (bool) |
實驗
| 名字 | 描述 | 價值 |
|---|---|---|
| rampUp規則 | 遞增規則的清單。 | RampUpRule[] |
臉書
| 名字 | 描述 | 價值 |
|---|---|---|
| 啟用 | <程式代碼>false</code> 即使設定註冊,仍不應啟用 Facebook 提供者;否則,<程式代碼>true</code>。 | 布爾 (bool) |
| graphApiVersion | 登入時要使用的Facebook API版本。 | 字串 |
| 登錄 | 登入流程的組態設定。 | 登錄範圍 |
| 註冊 | Facebook 提供者之應用程式註冊的組態設定。 | 應用註冊 |
FileSystemApplicationLogsConfig
| 名字 | 描述 | 價值 |
|---|---|---|
| 水平儀 | 記錄層級。 | “錯誤” “資訊” “關閉” “冗長” “警告” |
FileSystemHttpLogsConfig 檔
| 名字 | 描述 | 價值 |
|---|---|---|
| 啟用 | 如果已啟用組態,則為 True;如果停用則為 false;如果未設定組態則為 null。 | 布爾 (bool) |
| 保留天數 | 保留天數。 拿掉超過 X 天的檔案。 0 或更低表示沒有保留。 |
整數 (int) |
| 保留(以 Mb 為單位) | HTTP 記錄檔可以使用的大小上限,以 MB 為單位。 到達舊的記錄檔時,將會移除,以為新的記錄檔提供空間。 值的範圍可以介於 25 到 100 之間。 |
int 約束: 最小值 = 25 最大值 = 100 |
FileSystemTokenStore 檔
| 名字 | 描述 | 價值 |
|---|---|---|
| 目錄 | 將儲存令牌的目錄。 | 字串 |
轉發代理
| 名字 | 描述 | 價值 |
|---|---|---|
| 慣例 | 用來判斷所提出要求 URL 的慣例。 | “自定義” '無代理' “標準” |
| customHostHeaderName (自定義主機標頭名稱) | 包含要求主機的標頭名稱。 | 字串 |
| customProtoHeaderName | 包含要求配置之標頭的名稱。 | 字串 |
GitHub
| 名字 | 描述 | 價值 |
|---|---|---|
| 啟用 | <程式代碼>false</code>,即使設定註冊,仍不應啟用 GitHub 提供者;否則,<程式代碼>true</code>。 | 布爾 (bool) |
| 登錄 | 登入流程的組態設定。 | 登錄範圍 |
| 註冊 | GitHub 提供者的應用程式註冊組態設定。 | 客戶註冊 |
全域驗證
| 名字 | 描述 | 價值 |
|---|---|---|
| excludedPaths | 未經驗證流程的路徑不會重新導向至登入頁面。 | 字串[] |
| redirectToProvider | 設定多個提供者時要使用的預設驗證提供者。 只有在已設定多個提供者和未經驗證的用戶端時,才需要此設定 action 設定為 「RedirectToLoginPage」。。 |
字串 |
| requireAuthentication 認證 | <程式代碼>true</code> 如果需要驗證流程,則為任何要求;否則,<程式代碼>false</code>。 | 布爾 (bool) |
| unauthenticatedClientAction | 當未經驗證的客戶端嘗試存取應用程式時要採取的動作。 | '允許匿名' 'RedirectToLoginPage' '返回 401' '返回 403' |
谷歌
| 名字 | 描述 | 價值 |
|---|---|---|
| 啟用 | <程式代碼>false</code>,即使設定註冊,也不應該啟用 Google 提供者;否則,<程式代碼>true</code>。 | 布爾 (bool) |
| 登錄 | 登入流程的組態設定。 | 登錄範圍 |
| 註冊 | Google 提供者應用程式註冊的組態設定。 | 客戶註冊 |
| 確認 | Azure Active Directory 令牌驗證流程的組態設定。 | AllowedAudiences驗證 |
HandlerMapping
| 名字 | 描述 | 價值 |
|---|---|---|
| 參數 | 要傳遞至腳本處理器的命令行自變數。 | 字串 |
| 副檔名 | 使用此擴充功能的要求將會使用指定的 FastCGI 應用程式來處理。 | 字串 |
| scriptProcessor | FastCGI 應用程式的絕對路徑。 | 字串 |
HttpLogsConfig
| 名字 | 描述 | 價值 |
|---|---|---|
| azureBlobStorage | Http 記錄至 Azure Blob 記憶體組態。 | AzureBlobStorageHttpLogsConfig |
| 檔案系統 | Http 記錄至檔案系統組態。 | FileSystemHttpLogsConfig 檔 |
HttpSettings
| 名字 | 描述 | 價值 |
|---|---|---|
| 轉發代理 | 用來提出要求的轉寄 Proxy 組態設定。 | 轉發代理 |
| requireHttps 的 | 如果不允許驗證/授權回應沒有 HTTPS 配置,<程式代碼>false</code>;否則,<程式代碼>true</code>。 | 布爾 (bool) |
| 路線 | 路徑 HTTP 要求的組態設定。 | HttpSettingsRoutes |
HttpSettingsRoutes
| 名字 | 描述 | 價值 |
|---|---|---|
| apiPrefix 的 | 前置詞,應該位於所有驗證/授權路徑之前。 | 字串 |
身份提供程式
| 名字 | 描述 | 價值 |
|---|---|---|
| 蘋果 | Apple 提供者的組態設定。 | 蘋果 |
| azureActiveDirectory | Azure Active Directory 提供者的組態設定。 | AzureActiveDirectory |
| azureStaticWebApps | Azure Static Web Apps 提供者的組態設定。 | AzureStaticWebApps |
| 自定義OpenIdConnectProviders | 每個自定義 Open ID Connect 提供者別名名稱的對應 自訂 Open ID Connect 提供者的組態設定。 |
身份提供程式自定義OpenIdConnectProviders |
| 臉書 | Facebook 提供者的組態設定。 | 臉書 |
| 極狐 GitHub | GitHub 提供者的組態設定。 | GitHub的 |
| 谷歌 | Google 提供者的組態設定。 | 谷歌 |
| legacyMicrosoftAccount | 舊版Microsoft帳戶提供者的組態設定。 | 舊版MicrosoftAccount |
| 唽 | Twitter 提供者的組態設定。 | 唽 |
身份提供程式自定義OpenIdConnectProviders
| 名字 | 描述 | 價值 |
|---|
IpSecurityRestriction
| 名字 | 描述 | 價值 |
|---|---|---|
| 動作 | 允許或拒絕此IP範圍的存取。 | 字串 |
| 描述 | IP 限制規則描述。 | 字串 |
| 頭 | IP 限制規則標頭。 X-Forwarded-Host (https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-Host#Examples)。 比對邏輯為 。。 - 如果屬性為 Null 或空白(預設值),則允許所有主機(或缺少)。 - 使用序數忽略大小寫來比較值(不包括埠號碼)。 - 允許子域通配符,但不符合根域。 例如,*.contoso.com 符合子域 foo.contoso.com 但不是根域 contoso.com 或多層級 foo.bar.contoso.com - 允許 Unicode 主機名,但會轉換成 Punycode 進行比對。 X-Forwarded-For (https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-For#Examples)。 比對邏輯為 。。 - 如果屬性為 Null 或空白(預設值),則允許任何轉送的鏈結(或缺少)。 - 如果鏈結中有任何位址(不包括埠號碼)符合 屬性所定義的 CIDR。 X-Azure-FDID 和 X-FD-HealthProbe。 比對邏輯完全相符。 |
IpSecurityRestrictionHeaders |
| IP位址 | 安全性限制的有效IP位址。 它可以是純 ipv4 位址的形式(必要的 SubnetMask 屬性) 或 CIDR 表示法,例如 ipv4/mask(前置位比對)。 針對 CIDR, 不可指定 SubnetMask 屬性。 |
字串 |
| 名字 | IP 限制規則名稱。 | 字串 |
| 優先權 | IP 限制規則的優先順序。 | 整數 (int) |
| 子網掩碼 | 限制的有效IP位址範圍的子網掩碼。 | 字串 |
| subnetTrafficTag | (內部)子網流量標記 | 整數 (int) |
| 加標籤 | 定義此IP篩選器將用於哪些專案。 這是為了支援 Proxy 的IP篩選。 | 預設 “服務標籤” 'XffProxy' |
| vnetSubnetResourceId | 虛擬網路資源標識碼 | 字串 |
| vnetTrafficTag | (內部)Vnet 流量標籤 | 整數 (int) |
IpSecurityRestrictionHeaders
| 名字 | 描述 | 價值 |
|---|
JwtClaimChecks
| 名字 | 描述 | 價值 |
|---|---|---|
| allowedClient應用程式 | 允許的用戶端應用程式清單。 | 字串[] |
| allowed組 | 允許的群組清單。 | 字串[] |
舊版MicrosoftAccount
| 名字 | 描述 | 價值 |
|---|---|---|
| 啟用 | <程式代碼>false</code>,即使設定註冊,仍不應啟用舊版Microsoft帳戶提供者;否則,<程式代碼>true</code>。 | 布爾 (bool) |
| 登錄 | 登入流程的組態設定。 | 登錄範圍 |
| 註冊 | 舊版 Microsoft 帳戶提供者之應用程式註冊的組態設定。 | 客戶註冊 |
| 確認 | 舊版Microsoft帳戶提供者令牌驗證流程的組態設定。 | AllowedAudiences驗證 |
登錄
| 名字 | 描述 | 價值 |
|---|---|---|
| allowedExternalRedirectUrls | 可在登入或註銷應用程式時重新導向至 的外部URL。 請注意,會忽略 URL 的查詢字串部分。 這是 Windows 市集應用程式後端通常需要的進階設定。 請注意,目前網域內的URL一律是隱含允許的。 |
字串[] |
| cookie過期 | 會話 Cookie 到期的組態設定。 | Cookie過期 |
| nonce | 登入流程中使用的 Nonce 組態設定。 | 隨機數 |
| preserveUrlFragmentsForLogins | 如果提出登入要求之後保留來自要求的片段,<程式代碼>true</code>;否則,<程式代碼>false</code>。 | 布爾 (bool) |
| 路線 | 指定用於登入和註銷要求的端點的路由。 | LoginRoutes (登錄路由) |
| tokenStore | 令牌存放區的組態設定。 | TokenStore 倉庫 |
LoginRoutes (登錄路由)
| 名字 | 描述 | 價值 |
|---|---|---|
| logout端點 | 應該提出註銷要求的端點。 | 字串 |
登錄範圍
| 名字 | 描述 | 價值 |
|---|---|---|
| 範圍 | 驗證時應要求的範圍清單。 | 字串[] |
microsoft.web/sites/config
| 名字 | 描述 | 價值 |
|---|---|---|
| 名字 | 針對類型 Microsoft.Web/sites/config設定為 'appsettings'。針對 type Microsoft.Web/sites/config設定為 'authsettings'。針對 type Microsoft.Web/sites/config,設定為 'authsettingsV2'。針對 type Microsoft.Web/sites/config,設定為 'azurestorageaccounts'。針對類型 Microsoft.Web/sites/config設定為 'backup'。針對 type Microsoft.Web/sites/config,設定為 'connectionstrings'。針對類型 Microsoft.Web/sites/config設定為 'logs'。針對類型 Microsoft.Web/sites/config設定為 'metadata'。針對類型 Microsoft.Web/sites/config設定為 'pushsettings'。針對 type Microsoft.Web/sites/config設定為 'slotConfigNames'。將 類型設定為 'web' Microsoft.Web/sites/config。 | '應用程式設置' 'authsettings' 'authsettingsV2' 'azurestorageaccounts' '備份' 'connectionstrings' '日誌' '元數據' 'pushsettings' 'slotConfigNames' 'web' (必要) |
NameValuePair
| 名字 | 描述 | 價值 |
|---|---|---|
| 名字 | 配對名稱。 | 字串 |
| 價值 | 配對值。 | 字串 |
隨機數
| 名字 | 描述 | 價值 |
|---|---|---|
| nonceExpirationInterval | 要求到期后的時間。 | 字串 |
| 驗證隨機數 | 如果完成登入流程時不應該驗證 nonce,<程式代碼>false</code>;否則,<程式代碼>true</code>。 | 布爾 (bool) |
OpenIdConnectClientCredential
| 名字 | 描述 | 價值 |
|---|---|---|
| clientSecretSettingName (用戶端 Secret設置名稱) | 包含自訂 Open ID Connect 提供者用戶端密碼的應用程式設定。 | 字串 |
| 方法 | 應該用來驗證使用者的方法。 | “ClientSecretPost” |
OpenIdConnectConfig
| 名字 | 描述 | 價值 |
|---|---|---|
| authorizationEndpoint | 要用來提出授權要求的端點。 | 字串 |
| certificationUri 認證 | 提供驗證令牌所需金鑰的端點。 | 字串 |
| 簽發者 | 發出令牌的端點。 | 字串 |
| tokenEndpoint | 要用來要求令牌的端點。 | 字串 |
| wellKnownOpenIdConfiguration | 包含提供者所有組態端點的端點。 | 字串 |
OpenIdConnect登錄
| 名字 | 描述 | 價值 |
|---|---|---|
| nameClaimType | 包含用戶名稱的宣告名稱。 | 字串 |
| 範圍 | 驗證時應要求的範圍清單。 | 字串[] |
OpenIdConnect註冊
| 名字 | 描述 | 價值 |
|---|---|---|
| clientCredential 的 | 自訂 Open ID Connect 提供者的驗證認證。 | OpenIdConnectClientCredential |
| 用戶端ID | 自訂 Open ID Connect 提供者的用戶端識別碼。 | 字串 |
| openIdConnect配置 | 用於自訂 Open ID Connect 提供者之端點的組態設定。 | OpenIdConnectConfig |
PushSettings 設置
| 名字 | 描述 | 價值 |
|---|---|---|
| 類 | 資源種類。 | 字串 |
| 性能 | PushSettings 資源特定屬性 | PushSettingsProperties |
PushSettingsProperties
| 名字 | 描述 | 價值 |
|---|---|---|
| 動態標籤Json | 取得或設定 JSON 字串,其中包含將從推送註冊端點中的使用者宣告評估的動態標籤清單。 | 字串 |
| isPush已啟用 | 取得或設定旗標,指出是否啟用推送端點。 | 布林 (必要) |
| tagsRequiringAuth | 取得或設定 JSON 字串,其中包含要求使用者驗證用於推送註冊端點的標籤清單。 標記可以包含英數位元和下列專案: '_', '@', '#', '.', ':', '-'. 驗證應該在 PushRequestHandler 上執行。 |
字串 |
| tagWhitelistJson | 取得或設定 JSON 字串,其中包含允許清單中可供推送註冊端點使用的標籤清單。 | 字串 |
RampUpRule
| 名字 | 描述 | 價值 |
|---|---|---|
| actionHostName (作主機名稱) | 如果決定要重新導向流量的位置主機名。 例如 myapp-stage.azurewebsites.net。 | 字串 |
| 更改決定回調網址 | 您可以在可指定 URL 的 TiPCallback 網站延伸模組中提供自訂決策演算法。 | 字串 |
| 更改間隔以分鐘為單位 | 指定以分鐘為單位重新評估 ReroutePercentage 的間隔。 | 整數 (int) |
| changeStep | 在自動增加案例中,這是從 <程式代碼新增/移除的步驟,>ReroutePercentage</code>,\n<直到>MinReroutePercentage</code> 或 <程式代碼>MaxReroutePercentage</code>。 網站計量會每隔 N <分鐘檢查一次,>ChangeIntervalInMinutes</code>中指定的程式代碼。\n自定義決策演算法 可以在 TiPCallback 網站延伸模組中提供,您可以在 <程式代碼中指定 URL>ChangeDecisionCallbackUrl</code>。 |
整數 (int) |
| maxReroutePercentage | 指定 ReroutePercentage 將保留的上限。 | 整數 (int) |
| minReroutePercentage | 指定上方的下限,讓 ReroutePercentage 維持不變。 | 整數 (int) |
| 名字 | 路由規則的名稱。 建議的名稱會指向將接收實驗中流量的位置。 | 字串 |
| reroutePercentage | 將重新導向至 <程式代碼的流量百分比,>ActionHostName</code>。 | 整數 (int) |
RequestsBasedTrigger 觸發器
| 名字 | 描述 | 價值 |
|---|---|---|
| 計數 | 要求計數。 | 整數 (int) |
| timeInterval 時間 | 時間間隔。 | 字串 |
SiteAuthSettingsProperties
| 名字 | 描述 | 價值 |
|---|---|---|
| aadClaimsAuthorization | 取得包含 Azure AD Acl 設定的 JSON 字串。 | 字串 |
| additionalLoginParams | 登入參數,以在何時傳送至 OpenID Connect 授權端點 使用者登入。 每個參數的格式都必須是 「key=value」。。 |
字串[] |
| allowedAudiences | 允許的物件值在驗證 所發出的 JWT 時考慮 Azure Active Directory。 請注意,<程式代碼>ClientID</code> 值一律視為 允許的物件,不論此設定為何。 |
字串[] |
| allowedExternalRedirectUrls | 可在登入或註銷應用程式時重新導向至 的外部URL。 請注意,會忽略 URL 的查詢字串部分。 這是 Windows 市集應用程式後端通常需要的進階設定。 請注意,目前網域內的URL一律是隱含允許的。 |
字串[] |
| authFilePath 文件路徑 | 包含驗證設定的組態檔路徑。 如果路徑是相對的,基底會是月臺的根目錄。 |
字串 |
| 用戶端ID | 此信賴憑證者應用程式的用戶端標識碼,稱為client_id。 若要使用 Azure Active Directory 啟用 OpenID 連線驗證,則需要此設定或 其他第三方 OpenID Connect 提供者。 OpenID Connect 的詳細資訊:http://openid.net/specs/openid-connect-core-1_0.html |
字串 |
| 用戶端密鑰 | 此信賴憑證者應用程式的客戶端密碼(在 Azure Active Directory 中,也稱為密鑰)。 此設定是選擇性的。 如果未設定任何客戶端密碼,則會使用 OpenID Connect 隱含驗證流程來驗證終端使用者。 否則,OpenID Connect 授權碼流程會用來驗證使用者。 OpenID Connect 的詳細資訊:http://openid.net/specs/openid-connect-core-1_0.html |
字串 |
| clientSecretCertificate指紋 | 客戶端密碼的替代方案,也就是用於簽署之憑證的指紋。 此屬性的作用為 取代客戶端密碼。 它也是選擇性的。 |
字串 |
| clientSecretSettingName (用戶端 Secret設置名稱) | 包含信賴憑證者應用程式用戶端密碼的應用程式設定名稱。 | 字串 |
| configVersion (配置版本) | 用於目前應用程式的驗證/授權功能的 ConfigVersion。 此值中的設定可以控制驗證/授權的控制平面行為。 |
字串 |
| defaultProvider | 設定多個提供者時要使用的預設驗證提供者。 只有在已設定多個提供者和未經驗證的用戶端時,才需要此設定 action 設定為 「RedirectToLoginPage」。。 |
“AzureActiveDirectory” “臉書” 'Github' '谷歌' “MicrosoftAccount” '推特' |
| 啟用 | 如果目前應用程式已啟用驗證/授權功能,<程式代碼>true</code>;否則,<程式代碼>false</code>。 | 布爾 (bool) |
| facebookAppId | 用於登入的 Facebook 應用程式的應用程式識別碼。 啟用Facebook登入需要此設定。 Facebook 登入檔:https://developers.facebook.com/docs/facebook-login |
字串 |
| facebookAppSecret | 用於 Facebook 登入之 Facebook 應用程式的應用程式秘密。 啟用Facebook登入需要此設定。 Facebook 登入檔:https://developers.facebook.com/docs/facebook-login |
字串 |
| facebookAppSecretSettingName | 應用程式設定名稱,其中包含用於 Facebook 登入的應用程式密碼。 | 字串 |
| facebookOAuth範圍 | 將作為Facebook登入驗證一部分要求的OAuth 2.0範圍。 此設定是選擇性的。 Facebook 登入檔:https://developers.facebook.com/docs/facebook-login |
字串[] |
| gitHubClientId | 用於登入的 GitHub 應用程式的用戶端識別碼。 啟用 Github 登入需要此設定 |
字串 |
| gitHubClientSecret | GitHub 應用程式用於 Github 登入的客戶端密碼。 啟用 Github 登入需要此設定。 |
字串 |
| gitHubClientSecretSettingName | 包含 Github 用戶端密碼的應用程式設定名稱 用於 GitHub 登入的應用程式。 |
字串 |
| gitHubOAuth範圍 | 將作為 GitHub 登入驗證一部分要求的 OAuth 2.0 範圍。 此設定是選擇性的 |
字串[] |
| googleClientId | Google Web 應用程式的 OpenID Connect 用戶端識別碼。 啟用Google登入需要此設定。 Google Sign-In 檔:https://developers.google.com/identity/sign-in/web/ |
字串 |
| googleClientSecret | 與Google Web 應用程式相關聯的客戶端密碼。 啟用Google登入需要此設定。 Google Sign-In 檔:https://developers.google.com/identity/sign-in/web/ |
字串 |
| googleClientSecretSettingName | 包含與相關聯之用戶端密碼的應用程式設定名稱 Google Web 應用程式。 |
字串 |
| googleOAuth範圍 | 將作為Google Sign-In 驗證一部分要求的OAuth 2.0範圍。 此設定是選擇性的。 如果未指定,則會使用 「openid」、“profile」 和 「email」 作為預設範圍。 Google Sign-In 檔:https://developers.google.com/identity/sign-in/web/ |
字串[] |
| isAuthFrom檔 | 如果應該從檔案讀取驗證組態設定,則為 “true” 否則為 “false” |
字串 |
| 簽發者 | OpenID Connect 簽發者 URI,代表發出此應用程式存取令牌的實體。 使用 Azure Active Directory 時,此值是目錄租使用者的 URI,例如 https://sts.windows.net/{tenant-guid}/。此 URI 是令牌簽發者的區分大小寫標識碼。 OpenID Connect Discovery 的詳細資訊:http://openid.net/specs/openid-connect-discovery-1_0.html |
字串 |
| microsoftAccountClientId | 針對用於驗證的應用程式所建立的 OAuth 2.0 用戶端識別碼。 啟用Microsoft帳戶驗證需要此設定。 Microsoft帳戶 OAuth 檔:https://dev.onedrive.com/auth/msa_oauth.htm |
字串 |
| microsoftAccountClientSecret | 針對用於驗證的應用程式所建立的 OAuth 2.0 客戶端密碼。 啟用Microsoft帳戶驗證需要此設定。 Microsoft帳戶 OAuth 檔:https://dev.onedrive.com/auth/msa_oauth.htm |
字串 |
| microsoftAccountClientSecretSettingName | 包含針對 建立之 OAuth 2.0 用戶端密碼的應用程式設定名稱 用於驗證的應用程式。 |
字串 |
| microsoftAccountOAuth範圍 | 將在帳戶驗證Microsoft一部分要求的 OAuth 2.0 範圍。 此設定是選擇性的。 如果未指定,則會使用 「wl.basic」 作為預設範圍。 Microsoft帳戶範圍和許可權檔:https://msdn.microsoft.com/en-us/library/dn631845.aspx |
字串[] |
| runtimeVersion (運行時版本) | 用於目前應用程式的驗證/授權功能的 RuntimeVersion。 此值中的設定可以控制驗證/授權模組中特定功能的行為。 |
字串 |
| tokenRefreshExtension小時 | 會話令牌到期后的時數,會話令牌可用來 呼叫令牌重新整理 API。 預設值為72小時。 |
整數 (int) |
| tokenStore已啟用 |
<程式代碼>true</code>,以永久儲存登入流程期間取得的平臺特定安全性令牌;否則,<程式代碼>false</code>。 預設值為 <程式代碼,>false</code>。 |
布爾 (bool) |
| twitterConsumerKey | 用於登入之 Twitter 應用程式的 OAuth 1.0a 取用者密鑰。 啟用 Twitter 登入需要此設定。 Twitter Sign-In 檔:https://dev.twitter.com/web/sign-in |
字串 |
| 推特消費者秘密 | 用於登入之 Twitter 應用程式的 OAuth 1.0a 取用者秘密。 啟用 Twitter 登入需要此設定。 Twitter Sign-In 檔:https://dev.twitter.com/web/sign-in |
字串 |
| twitterConsumerSecretSettingName | 包含 Twitter OAuth 1.0a 取用者秘密的應用程式設定名稱 用於登入的應用程式。 |
字串 |
| unauthenticatedClientAction | 當未經驗證的客戶端嘗試存取應用程式時要採取的動作。 | '允許匿名' 'RedirectToLoginPage' |
| validateIssuer 的 | 取得值,指出簽發者是否應為有效的 HTTPS URL,並加以驗證。 | 布爾 (bool) |
SiteAuthSettingsV2屬性
| 名字 | 描述 | 價值 |
|---|---|---|
| globalValidation (全域驗證) | 使用 App Service 驗證/授權決定使用者驗證流程的組態設定。 | 全域驗證 |
| HTTP設置 | 針對 App Service 驗證/授權提出的驗證和授權要求的 HTTP 要求組態設定。 | HttpSettings |
| identityProviders | 用來設定 App Service 驗證/授權之每個識別提供者的組態設定。 | 身份提供程式 |
| 登錄 | 使用 App Service 驗證/授權的使用者登入流程組態設定。 | 登入 |
| 平台 | App Service 驗證/授權平臺的組態設定。 | AuthPlatform 認證 |
網站配置
| 名字 | 描述 | 價值 |
|---|---|---|
| acrUseManagedIdentityCreds | 使用受控識別 Creds 進行 ACR 提取的旗標 | 布爾 (bool) |
| acrUserManagedIdentityID | 如果使用使用者受控識別,則使用者受控識別 ClientId | 字串 |
| 永遠在線 | 如果已啟用 Always On,<程式代碼>true</code>;否則,<程式代碼>false</code>。 | 布爾 (bool) |
| api定義 | 應用程式正式 API 定義的相關信息。 | ApiDefinitionInfo |
| apiManagementConfig | 連結至應用程式的 Azure API 管理設定。 | ApiManagementConfig 介面 |
| app命令行 | 要啟動的應用程式命令行。 | 字串 |
| appSettings | 應用程式設定。 | NameValuePair[] |
| autoHealEnabled 已啟用 | 如果啟用自動癒合,<程式代碼>true</code>;否則,<程式代碼>false</code>。 | 布爾 (bool) |
| autoHealRules 自動修復規則 | 自動治癒規則。 | AutoHealRules 自動修復規則 |
| autoSwapSlotName (自動交換槽名稱) | 自動交換位置名稱。 | 字串 |
| azureStorageAccounts | Azure 記憶體帳戶的清單。 | SiteConfigAzureStorageAccounts |
| connectionStrings 連接字串 | 連接字串。 | ConnStringInfo[] |
| 跨來源資源共享 (CORS) | 跨原始來源資源分享 (CORS) 設定。 | CorsSettings |
| defaultDocuments 文檔 | 默認檔。 | 字串[] |
| detailedErrorLogging已啟用 | 如果啟用詳細的錯誤記錄,<程式代碼>true</code>;否則,<程式代碼>false</code>。 | 布爾 (bool) |
| documentRoot | 檔根目錄。 | 字串 |
| 實驗 | 這適用於多型類型。 | 實驗 |
| ftps狀態 | FTP / FTPS 服務的狀態 | '全部允許' “已禁用” '僅限 FTPS' |
| functionAppScaleLimit 函數 | 網站可相應放大至的工作者數目上限。 此設定僅適用於取用和彈性進階方案 |
int 約束: 最小值 = 0 |
| 函數RuntimeScaleMonitoringEnabled | 取得或設定值,指出是否啟用函式運行時間調整監視。 啟用時, ScaleController 不會直接監視事件來源,而是會改為呼叫 運行時間以取得調整狀態。 |
布爾 (bool) |
| handlerMappings | 處理程序對應。 | HandlerMapping[] |
| healthCheckPath (健康檢查路徑) | 健康情況檢查路徑 | 字串 |
| HTTP20已啟用 | Http20Enabled:設定網站以允許用戶端透過 HTTP2.0 連線 | 布爾 (bool) |
| HTTPLogging已啟用 | 如果啟用 HTTP 記錄,<程式代碼>true</code>;否則,<程式代碼>false</code>。 | 布爾 (bool) |
| ipSecurity限制 | main 的IP安全性限制。 | IpSecurityRestriction[] |
| java容器 | Java 容器。 | 字串 |
| javaContainerVersion | Java 容器版本。 | 字串 |
| java版本 | Java 版本。 | 字串 |
| keyVaultReferenceIdentity | 要用於 金鑰保存庫 參考驗證的身分識別。 | 字串 |
| 限制 | 網站限制。 | 網站限制 |
| linuxFx版本 | Linux 應用程式架構和版本 | 字串 |
| 負載平衡 | 網站負載平衡。 | '最少請求' '最小回應時間' 'PerSiteRoundRobin' '請求哈希' 'WeightedRoundRobin' '加權總流量' |
| localMySql已啟用 | <程式代碼>true</code> 啟用本機 MySQL;否則,<程式代碼>false</code>。 | 布爾 (bool) |
| logsDirectorySizeLimit | HTTP 記錄目錄大小限制。 | 整數 (int) |
| managedPipelineMode | 受控管線模式。 | “經典” “集成” |
| managedServiceIdentityId | 受控服務識別標識碼 | 整數 (int) |
| minimumElasticInstanceCount | 月臺的最小實例計數數目 此設定僅適用於彈性方案 |
int 約束: 最小值 = 0 最大值 = 20 |
| minTlsVersion (最小版本 | MinTlsVersion:設定 SSL 要求所需的最低 TLS 版本 | '1.0' '1.1' '1.2' |
| netFrameworkVersion | .NET Framework 版本。 | 字串 |
| nodeVersion | Node.js的版本。 | 字串 |
| 工人數 | 背景工作角色數目。 | 整數 (int) |
| php版本 | PHP 版本。 | 字串 |
| PowerShell版本 | PowerShell 版本。 | 字串 |
| preWarmedInstanceCount | 預先Warmed 實例的數目。 此設定僅適用於取用和彈性方案 |
int 約束: 最小值 = 0 最大值 = 10 |
| 公共網路存取 | 允許或封鎖所有公用流量的屬性。 | 字串 |
| publishing使用者名 | 發佈用戶名稱。 | 字串 |
| 推送 | 推送端點設定。 | PushSettings 設置 |
| python版本 | Python 版本。 | 字串 |
| remoteDebugging已啟用 | 如果啟用遠端偵錯,<程式代碼>true</code>;否則,<程式代碼>false</code>。 | 布爾 (bool) |
| remoteDebuggingVersion (遠端調試版本) | 遠端偵錯版本。 | 字串 |
| requestTracing已啟用 | 如果啟用要求追蹤,<程式代碼>true</code>;否則,<程式代碼>false</code>。 | 布爾 (bool) |
| 請求TracingExpirationTime | 要求追蹤到期時間。 | 字串 |
| scmIpSecurity限制 | scm 的IP安全性限制。 | IpSecurityRestriction[] |
| scmIpSecurityRestrictionsUseMain | scm 使用 main 的 IP 安全性限制。 | 布爾 (bool) |
| scmMinTlsVersion | ScmMinTlsVersion:設定 SCM 網站 SSL 要求所需的最低 TLS 版本 | '1.0' '1.1' '1.2' |
| scm類型 | SCM 類型。 | 'BitbucketGit' 'BitbucketHg' 'CodePlexGit' “CodePlexHg” 'Dropbox' '外部 Git' '外部汞' “GitHub” '本地 Git' “無” “OneDrive” 'Tfs' 'VSO' 'VSTSRM' |
| tracing選項 | 追蹤選項。 | 字串 |
| use32BitWorker進程 | <程式代碼>true</code> 使用 32 位背景工作進程;否則,<程式代碼>false</code>。 | 布爾 (bool) |
| 虛擬應用程式 | 虛擬應用程式。 | VirtualApplication[] |
| vnet名稱 | 虛擬網路名稱。 | 字串 |
| vnetPrivatePortsCount | 指派給此應用程式的私人埠數目。 這些會在運行時間動態指派。 | 整數 (int) |
| 虛擬網路所有路由啟用 (vnetRouteAllEnabled) | 虛擬網路路由全部啟用。 這會導致所有輸出流量套用虛擬網路安全組和用戶定義的路由。 | 布爾 (bool) |
| websiteTimeZone 網站時區 | 設定網站用來產生時間戳的時區。 與 Linux 和 Windows 應用程式 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 | 字串 |
| webSockets已啟用 | 如果已啟用 WebSocket,<程式代碼>true</code>;否則,<程式代碼>false</code>。 | 布爾 (bool) |
| windowsFx版本 | Xenon App Framework 和版本 | 字串 |
| xManagedServiceIdentityId | 明確受控服務識別標識碼 | 整數 (int) |
SiteConfigAzureStorageAccounts
| 名字 | 描述 | 價值 |
|---|
網站限制
| 名字 | 描述 | 價值 |
|---|---|---|
| 最大磁碟大小(以 Mb 為單位) | 允許的磁碟大小使用量上限,以 MB 為單位。 | 整數 (int) |
| 最大記憶體 | MB 允許的記憶體使用量上限。 | 整數 (int) |
| maxPercentageCpu | 允許的CPU使用量百分比上限。 | 整數 (int) |
SiteLogsConfigProperties
| 名字 | 描述 | 價值 |
|---|---|---|
| 應用程式記錄 | 應用程式記錄設定。 | 應用程式記錄配置 |
| detailedErrorMessages | 詳細的錯誤訊息組態。 | 啟用配置 |
| failedRequestsTracing 請求 | 失敗的要求追蹤組態。 | 啟用配置 |
| HTTP日誌 | HTTP 記錄組態。 | HttpLogsConfig |
SlotConfig名稱
| 名字 | 描述 | 價值 |
|---|---|---|
| appSetting名稱 | 應用程式設定名稱的清單。 | 字串[] |
| azureStorageConfigNames | 外部 Azure 記憶體帳戶標識碼的清單。 | 字串[] |
| connectionString名稱 | 連接字串名稱的清單。 | 字串[] |
SlowRequestsBasedTrigger 觸發器
| 名字 | 描述 | 價值 |
|---|---|---|
| 計數 | 要求計數。 | 整數 (int) |
| 路徑 | 要求路徑。 | 字串 |
| timeInterval 時間 | 時間間隔。 | 字串 |
| 花費時間 | 所花費的時間。 | 字串 |
StatusCodesBased觸發器
| 名字 | 描述 | 價值 |
|---|---|---|
| 計數 | 要求計數。 | 整數 (int) |
| 路徑 | 要求路徑 | 字串 |
| 狀態 | HTTP 狀態代碼。 | 整數 (int) |
| 子狀態 | 要求子狀態。 | 整數 (int) |
| timeInterval 時間 | 時間間隔。 | 字串 |
| win32狀態 | Win32 錯誤碼。 | 整數 (int) |
StatusCodesRangeBasedTrigger
| 名字 | 描述 | 價值 |
|---|---|---|
| 計數 | 要求計數。 | 整數 (int) |
| 路徑 | 字串 | |
| statusCodes | HTTP 狀態代碼。 | 字串 |
| timeInterval 時間 | 時間間隔。 | 字串 |
StringDictionaryProperties
| 名字 | 描述 | 價值 |
|---|
StringDictionaryProperties
| 名字 | 描述 | 價值 |
|---|
TokenStore 倉庫
| 名字 | 描述 | 價值 |
|---|---|---|
| azureBlobStorage | 如果使用 Blob 記憶體,令牌的記憶體組態設定。 | BlobStorageTokenStore |
| 啟用 |
<程式代碼>true</code>,以永久儲存登入流程期間取得的平臺特定安全性令牌;否則,<程式代碼>false</code>。 預設值為 <程式代碼,>false</code>。 |
布爾 (bool) |
| 檔案系統 | 如果使用檔案系統,則為令牌記憶體的組態設定。 | FileSystemTokenStore 檔 |
| tokenRefreshExtension小時 | 會話令牌到期后的時數,會話令牌可用來 呼叫令牌重新整理 API。 預設值為72小時。 |
整數 (int) |
唽
| 名字 | 描述 | 價值 |
|---|---|---|
| 啟用 | <程式代碼>false</code>,即使設定註冊,也不應該啟用 Twitter 提供者;否則,<程式代碼>true</code>。 | 布爾 (bool) |
| 註冊 | Twitter 提供者之應用程式註冊的組態設定。 | 推特註冊 |
推特註冊
| 名字 | 描述 | 價值 |
|---|---|---|
| consumerKey | 用於登入之 Twitter 應用程式的 OAuth 1.0a 取用者密鑰。 啟用 Twitter 登入需要此設定。 Twitter Sign-In 檔:https://dev.twitter.com/web/sign-in |
字串 |
| consumerSecretSettingName | 包含 Twitter OAuth 1.0a 取用者秘密的應用程式設定名稱 用於登入的應用程式。 |
字串 |
虛擬應用程式
| 名字 | 描述 | 價值 |
|---|---|---|
| 物理路徑 | 實體路徑。 | 字串 |
| preload已啟用 | 如果啟用預先載入,<程式代碼>true</code>;否則,<程式代碼>false</code>。 | 布爾 (bool) |
| 虛擬目錄 | 虛擬應用程式的虛擬目錄。 | VirtualDirectory [] |
| 虛擬路徑 | 虛擬路徑。 | 字串 |
虛擬目錄
| 名字 | 描述 | 價值 |
|---|---|---|
| 物理路徑 | 實體路徑。 | 字串 |
| 虛擬路徑 | 虛擬應用程式的路徑。 | 字串 |
Terraform (AzAPI 提供者) 資源定義
月臺/設定資源類型可以使用目標作業來部署:
- 資源團體 關於每個 API 版本變更屬性的清單,請參見 變更日誌。
使用範例
Terraform 範例
部署 App Service 虛擬網路關聯的基本範例。
terraform {
required_providers {
azapi = {
source = "Azure/azapi"
}
}
}
provider "azapi" {
skip_provider_registration = false
}
variable "resource_name" {
type = string
default = "acctest0001"
}
variable "location" {
type = string
default = "westeurope"
}
resource "azapi_resource" "resourceGroup" {
type = "Microsoft.Resources/resourceGroups@2020-06-01"
name = var.resource_name
location = var.location
}
resource "azapi_resource" "serverfarm" {
type = "Microsoft.Web/serverfarms@2022-09-01"
parent_id = azapi_resource.resourceGroup.id
name = var.resource_name
location = var.location
body = {
properties = {
hyperV = false
perSiteScaling = false
reserved = false
zoneRedundant = false
}
sku = {
name = "S1"
}
}
schema_validation_enabled = false
response_export_values = ["*"]
}
resource "azapi_resource" "site" {
type = "Microsoft.Web/sites@2022-09-01"
parent_id = azapi_resource.resourceGroup.id
name = var.resource_name
location = var.location
body = {
properties = {
clientAffinityEnabled = false
clientCertEnabled = false
clientCertMode = "Required"
enabled = true
httpsOnly = false
publicNetworkAccess = "Enabled"
serverFarmId = azapi_resource.serverfarm.id
siteConfig = {
acrUseManagedIdentityCreds = false
alwaysOn = true
autoHealEnabled = false
ftpsState = "Disabled"
http20Enabled = false
loadBalancing = "LeastRequests"
localMySqlEnabled = false
managedPipelineMode = "Integrated"
minTlsVersion = "1.2"
publicNetworkAccess = "Enabled"
remoteDebuggingEnabled = false
scmIpSecurityRestrictionsUseMain = false
scmMinTlsVersion = "1.2"
use32BitWorkerProcess = true
vnetRouteAllEnabled = false
webSocketsEnabled = false
windowsFxVersion = ""
}
vnetRouteAllEnabled = false
}
}
schema_validation_enabled = false
response_export_values = ["*"]
}
data "azapi_resource_id" "config" {
type = "Microsoft.Web/sites/config@2022-09-01"
parent_id = azapi_resource.site.id
name = "azurestorageaccounts"
}
resource "azapi_resource_action" "config" {
type = "Microsoft.Web/sites/config@2022-09-01"
resource_id = data.azapi_resource_id.config.id
method = "PUT"
body = {
name = "azurestorageaccounts"
properties = {
}
}
response_export_values = ["*"]
}
資源格式
若要建立 Microsoft.Web/sites/config 資源,請將下列 Terraform 新增至您的範本。
resource "azapi_resource" "symbolicname" {
name = "string"
// For remaining properties, see microsoft.web/sites/config objects
}
microsoft.web/sites/config 物件
設定 名稱 屬性,以指定物件的類型。
針對 appsettings,請使用:
{
kind = "string"
name = "appsettings"
properties = {
{customized property} = "string"
}
}
針對 authsettings,請使用:
{
kind = "string"
name = "authsettings"
properties = {
aadClaimsAuthorization = "string"
additionalLoginParams = [
"string"
]
allowedAudiences = [
"string"
]
allowedExternalRedirectUrls = [
"string"
]
authFilePath = "string"
clientId = "string"
clientSecret = "string"
clientSecretCertificateThumbprint = "string"
clientSecretSettingName = "string"
configVersion = "string"
defaultProvider = "string"
enabled = bool
facebookAppId = "string"
facebookAppSecret = "string"
facebookAppSecretSettingName = "string"
facebookOAuthScopes = [
"string"
]
gitHubClientId = "string"
gitHubClientSecret = "string"
gitHubClientSecretSettingName = "string"
gitHubOAuthScopes = [
"string"
]
googleClientId = "string"
googleClientSecret = "string"
googleClientSecretSettingName = "string"
googleOAuthScopes = [
"string"
]
isAuthFromFile = "string"
issuer = "string"
microsoftAccountClientId = "string"
microsoftAccountClientSecret = "string"
microsoftAccountClientSecretSettingName = "string"
microsoftAccountOAuthScopes = [
"string"
]
runtimeVersion = "string"
tokenRefreshExtensionHours = int
tokenStoreEnabled = bool
twitterConsumerKey = "string"
twitterConsumerSecret = "string"
twitterConsumerSecretSettingName = "string"
unauthenticatedClientAction = "string"
validateIssuer = bool
}
}
針對 authsettingsV2,請使用:
{
kind = "string"
name = "authsettingsV2"
properties = {
globalValidation = {
excludedPaths = [
"string"
]
redirectToProvider = "string"
requireAuthentication = bool
unauthenticatedClientAction = "string"
}
httpSettings = {
forwardProxy = {
convention = "string"
customHostHeaderName = "string"
customProtoHeaderName = "string"
}
requireHttps = bool
routes = {
apiPrefix = "string"
}
}
identityProviders = {
apple = {
enabled = bool
login = {
scopes = [
"string"
]
}
registration = {
clientId = "string"
clientSecretSettingName = "string"
}
}
azureActiveDirectory = {
enabled = bool
isAutoProvisioned = bool
login = {
disableWWWAuthenticate = bool
loginParameters = [
"string"
]
}
registration = {
clientId = "string"
clientSecretCertificateIssuer = "string"
clientSecretCertificateSubjectAlternativeName = "string"
clientSecretCertificateThumbprint = "string"
clientSecretSettingName = "string"
openIdIssuer = "string"
}
validation = {
allowedAudiences = [
"string"
]
defaultAuthorizationPolicy = {
allowedApplications = [
"string"
]
allowedPrincipals = {
groups = [
"string"
]
identities = [
"string"
]
}
}
jwtClaimChecks = {
allowedClientApplications = [
"string"
]
allowedGroups = [
"string"
]
}
}
}
azureStaticWebApps = {
enabled = bool
registration = {
clientId = "string"
}
}
customOpenIdConnectProviders = {
{customized property} = {
enabled = bool
login = {
nameClaimType = "string"
scopes = [
"string"
]
}
registration = {
clientCredential = {
clientSecretSettingName = "string"
method = "ClientSecretPost"
}
clientId = "string"
openIdConnectConfiguration = {
authorizationEndpoint = "string"
certificationUri = "string"
issuer = "string"
tokenEndpoint = "string"
wellKnownOpenIdConfiguration = "string"
}
}
}
}
facebook = {
enabled = bool
graphApiVersion = "string"
login = {
scopes = [
"string"
]
}
registration = {
appId = "string"
appSecretSettingName = "string"
}
}
gitHub = {
enabled = bool
login = {
scopes = [
"string"
]
}
registration = {
clientId = "string"
clientSecretSettingName = "string"
}
}
google = {
enabled = bool
login = {
scopes = [
"string"
]
}
registration = {
clientId = "string"
clientSecretSettingName = "string"
}
validation = {
allowedAudiences = [
"string"
]
}
}
legacyMicrosoftAccount = {
enabled = bool
login = {
scopes = [
"string"
]
}
registration = {
clientId = "string"
clientSecretSettingName = "string"
}
validation = {
allowedAudiences = [
"string"
]
}
}
twitter = {
enabled = bool
registration = {
consumerKey = "string"
consumerSecretSettingName = "string"
}
}
}
login = {
allowedExternalRedirectUrls = [
"string"
]
cookieExpiration = {
convention = "string"
timeToExpiration = "string"
}
nonce = {
nonceExpirationInterval = "string"
validateNonce = bool
}
preserveUrlFragmentsForLogins = bool
routes = {
logoutEndpoint = "string"
}
tokenStore = {
azureBlobStorage = {
sasUrlSettingName = "string"
}
enabled = bool
fileSystem = {
directory = "string"
}
tokenRefreshExtensionHours = int
}
}
platform = {
configFilePath = "string"
enabled = bool
runtimeVersion = "string"
}
}
}
針對 azurestorageaccounts ,請使用:
{
kind = "string"
name = "azurestorageaccounts"
properties = {
{customized property} = {
accessKey = "string"
accountName = "string"
mountPath = "string"
shareName = "string"
type = "string"
}
}
}
針對 備份,請使用:
{
kind = "string"
name = "backup"
properties = {
backupName = "string"
backupSchedule = {
frequencyInterval = int
frequencyUnit = "string"
keepAtLeastOneBackup = bool
retentionPeriodInDays = int
startTime = "string"
}
databases = [
{
connectionString = "string"
connectionStringName = "string"
databaseType = "string"
name = "string"
}
]
enabled = bool
storageAccountUrl = "string"
}
}
針對 connectionstrings,請使用:
{
kind = "string"
name = "connectionstrings"
properties = {
{customized property} = {
type = "string"
value = "string"
}
}
}
針對 記錄,請使用:
{
kind = "string"
name = "logs"
properties = {
applicationLogs = {
azureBlobStorage = {
level = "string"
retentionInDays = int
sasUrl = "string"
}
azureTableStorage = {
level = "string"
sasUrl = "string"
}
fileSystem = {
level = "string"
}
}
detailedErrorMessages = {
enabled = bool
}
failedRequestsTracing = {
enabled = bool
}
httpLogs = {
azureBlobStorage = {
enabled = bool
retentionInDays = int
sasUrl = "string"
}
fileSystem = {
enabled = bool
retentionInDays = int
retentionInMb = int
}
}
}
}
針對 元數據,請使用:
{
kind = "string"
name = "metadata"
properties = {
{customized property} = "string"
}
}
針對 pushsettings,請使用:
{
kind = "string"
name = "pushsettings"
properties = {
dynamicTagsJson = "string"
isPushEnabled = bool
tagsRequiringAuth = "string"
tagWhitelistJson = "string"
}
}
針對 slotConfigNames,請使用:
{
kind = "string"
name = "slotConfigNames"
properties = {
appSettingNames = [
"string"
]
azureStorageConfigNames = [
"string"
]
connectionStringNames = [
"string"
]
}
}
針對 Web,請使用:
{
kind = "string"
name = "web"
properties = {
acrUseManagedIdentityCreds = bool
acrUserManagedIdentityID = "string"
alwaysOn = bool
apiDefinition = {
url = "string"
}
apiManagementConfig = {
id = "string"
}
appCommandLine = "string"
appSettings = [
{
name = "string"
value = "string"
}
]
autoHealEnabled = bool
autoHealRules = {
actions = {
actionType = "string"
customAction = {
exe = "string"
parameters = "string"
}
minProcessExecutionTime = "string"
}
triggers = {
privateBytesInKB = int
requests = {
count = int
timeInterval = "string"
}
slowRequests = {
count = int
path = "string"
timeInterval = "string"
timeTaken = "string"
}
slowRequestsWithPath = [
{
count = int
path = "string"
timeInterval = "string"
timeTaken = "string"
}
]
statusCodes = [
{
count = int
path = "string"
status = int
subStatus = int
timeInterval = "string"
win32Status = int
}
]
statusCodesRange = [
{
count = int
path = "string"
statusCodes = "string"
timeInterval = "string"
}
]
}
}
autoSwapSlotName = "string"
azureStorageAccounts = {
{customized property} = {
accessKey = "string"
accountName = "string"
mountPath = "string"
shareName = "string"
type = "string"
}
}
connectionStrings = [
{
connectionString = "string"
name = "string"
type = "string"
}
]
cors = {
allowedOrigins = [
"string"
]
supportCredentials = bool
}
defaultDocuments = [
"string"
]
detailedErrorLoggingEnabled = bool
documentRoot = "string"
experiments = {
rampUpRules = [
{
actionHostName = "string"
changeDecisionCallbackUrl = "string"
changeIntervalInMinutes = int
changeStep = int
maxReroutePercentage = int
minReroutePercentage = int
name = "string"
reroutePercentage = int
}
]
}
ftpsState = "string"
functionAppScaleLimit = int
functionsRuntimeScaleMonitoringEnabled = bool
handlerMappings = [
{
arguments = "string"
extension = "string"
scriptProcessor = "string"
}
]
healthCheckPath = "string"
http20Enabled = bool
httpLoggingEnabled = bool
ipSecurityRestrictions = [
{
action = "string"
description = "string"
headers = {
{customized property} = [
"string"
]
}
ipAddress = "string"
name = "string"
priority = int
subnetMask = "string"
subnetTrafficTag = int
tag = "string"
vnetSubnetResourceId = "string"
vnetTrafficTag = int
}
]
javaContainer = "string"
javaContainerVersion = "string"
javaVersion = "string"
keyVaultReferenceIdentity = "string"
limits = {
maxDiskSizeInMb = int
maxMemoryInMb = int
maxPercentageCpu = int
}
linuxFxVersion = "string"
loadBalancing = "string"
localMySqlEnabled = bool
logsDirectorySizeLimit = int
managedPipelineMode = "string"
managedServiceIdentityId = int
minimumElasticInstanceCount = int
minTlsVersion = "string"
netFrameworkVersion = "string"
nodeVersion = "string"
numberOfWorkers = int
phpVersion = "string"
powerShellVersion = "string"
preWarmedInstanceCount = int
publicNetworkAccess = "string"
publishingUsername = "string"
push = {
kind = "string"
properties = {
dynamicTagsJson = "string"
isPushEnabled = bool
tagsRequiringAuth = "string"
tagWhitelistJson = "string"
}
}
pythonVersion = "string"
remoteDebuggingEnabled = bool
remoteDebuggingVersion = "string"
requestTracingEnabled = bool
requestTracingExpirationTime = "string"
scmIpSecurityRestrictions = [
{
action = "string"
description = "string"
headers = {
{customized property} = [
"string"
]
}
ipAddress = "string"
name = "string"
priority = int
subnetMask = "string"
subnetTrafficTag = int
tag = "string"
vnetSubnetResourceId = "string"
vnetTrafficTag = int
}
]
scmIpSecurityRestrictionsUseMain = bool
scmMinTlsVersion = "string"
scmType = "string"
tracingOptions = "string"
use32BitWorkerProcess = bool
virtualApplications = [
{
physicalPath = "string"
preloadEnabled = bool
virtualDirectories = [
{
physicalPath = "string"
virtualPath = "string"
}
]
virtualPath = "string"
}
]
vnetName = "string"
vnetPrivatePortsCount = int
vnetRouteAllEnabled = bool
websiteTimeZone = "string"
webSocketsEnabled = bool
windowsFxVersion = "string"
xManagedServiceIdentityId = int
}
}
屬性值
Microsoft.Web/sites/config
| 名字 | 描述 | 價值 |
|---|---|---|
| 類 | 資源種類。 | 字串 |
| 名字 | 資源名稱 | 'appsettings' (必要) |
| 父項識別碼 | 此資源為父系之資源的標識碼。 | 類型資源的標識碼:網站 |
| 性能 | 設置。 | StringDictionaryProperties |
| 型別 | 資源類型 | “Microsoft.Web/sites/config@2022-03-01” |
Microsoft.Web/sites/config
| 名字 | 描述 | 價值 |
|---|---|---|
| 類 | 資源種類。 | 字串 |
| 名字 | 資源名稱 | 'authsettings' (必要) |
| 父項識別碼 | 此資源為父系之資源的標識碼。 | 類型資源的標識碼:網站 |
| 性能 | SiteAuthSettings 資源特定屬性 | SiteAuthSettingsProperties |
| 型別 | 資源類型 | “Microsoft.Web/sites/config@2022-03-01” |
Microsoft.Web/sites/config
| 名字 | 描述 | 價值 |
|---|---|---|
| 類 | 資源種類。 | 字串 |
| 名字 | 資源名稱 | 'authsettingsV2' (必要) |
| 父項識別碼 | 此資源為父系之資源的標識碼。 | 類型資源的標識碼:網站 |
| 性能 | SiteAuthSettingsV2 資源特定屬性 | SiteAuthSettingsV2屬性 |
| 型別 | 資源類型 | “Microsoft.Web/sites/config@2022-03-01” |
Microsoft.Web/sites/config
| 名字 | 描述 | 價值 |
|---|---|---|
| 類 | 資源種類。 | 字串 |
| 名字 | 資源名稱 | 'azurestorageaccounts' (必要) |
| 父項識別碼 | 此資源為父系之資源的標識碼。 | 類型資源的標識碼:網站 |
| 性能 | Azure 記憶體帳戶。 | AzureStoragePropertyDictionaryResourceProperties |
| 型別 | 資源類型 | “Microsoft.Web/sites/config@2022-03-01” |
Microsoft.Web/sites/config
| 名字 | 描述 | 價值 |
|---|---|---|
| 類 | 資源種類。 | 字串 |
| 名字 | 資源名稱 | 'backup' (必要) |
| 父項識別碼 | 此資源為父系之資源的標識碼。 | 類型資源的標識碼:網站 |
| 性能 | BackupRequest 資源特定屬性 | BackupRequestProperties |
| 型別 | 資源類型 | “Microsoft.Web/sites/config@2022-03-01” |
Microsoft.Web/sites/config
| 名字 | 描述 | 價值 |
|---|---|---|
| 類 | 資源種類。 | 字串 |
| 名字 | 資源名稱 | 'connectionstrings' (必要) |
| 父項識別碼 | 此資源為父系之資源的標識碼。 | 類型資源的標識碼:網站 |
| 性能 | 連接字串。 | ConnectionStringDictionary屬性 |
| 型別 | 資源類型 | “Microsoft.Web/sites/config@2022-03-01” |
Microsoft.Web/sites/config
| 名字 | 描述 | 價值 |
|---|---|---|
| 類 | 資源種類。 | 字串 |
| 名字 | 資源名稱 | 'logs' (必要) |
| 父項識別碼 | 此資源為父系之資源的標識碼。 | 類型資源的標識碼:網站 |
| 性能 | SiteLogsConfig 資源特定屬性 | SiteLogsConfigProperties |
| 型別 | 資源類型 | “Microsoft.Web/sites/config@2022-03-01” |
Microsoft.Web/sites/config
| 名字 | 描述 | 價值 |
|---|---|---|
| 類 | 資源種類。 | 字串 |
| 名字 | 資源名稱 | 'metadata' (必要) |
| 父項識別碼 | 此資源為父系之資源的標識碼。 | 類型資源的標識碼:網站 |
| 性能 | 設置。 | StringDictionaryProperties |
| 型別 | 資源類型 | “Microsoft.Web/sites/config@2022-03-01” |
Microsoft.Web/sites/config
| 名字 | 描述 | 價值 |
|---|---|---|
| 類 | 資源種類。 | 字串 |
| 名字 | 資源名稱 | 'pushsettings' (必要) |
| 父項識別碼 | 此資源為父系之資源的標識碼。 | 類型資源的標識碼:網站 |
| 性能 | PushSettings 資源特定屬性 | PushSettingsProperties |
| 型別 | 資源類型 | “Microsoft.Web/sites/config@2022-03-01” |
Microsoft.Web/sites/config
| 名字 | 描述 | 價值 |
|---|---|---|
| 類 | 資源種類。 | 字串 |
| 名字 | 資源名稱 | 'slotConfigNames' (必要) |
| 父項識別碼 | 此資源為父系之資源的標識碼。 | 類型資源的標識碼:網站 |
| 性能 | 核心資源屬性 | SlotConfig名稱 |
| 型別 | 資源類型 | “Microsoft.Web/sites/config@2022-03-01” |
Microsoft.Web/sites/config
| 名字 | 描述 | 價值 |
|---|---|---|
| 類 | 資源種類。 | 字串 |
| 名字 | 資源名稱 | 'web' (必要) |
| 父項識別碼 | 此資源為父系之資源的標識碼。 | 類型資源的標識碼:網站 |
| 性能 | 核心資源屬性 | 網站配置 |
| 型別 | 資源類型 | “Microsoft.Web/sites/config@2022-03-01” |
AllowedAudiences驗證
| 名字 | 描述 | 價值 |
|---|---|---|
| allowedAudiences | 要從中驗證 JWT 令牌的物件允許清單的組態設定。 | 字串[] |
允許的 Principals
| 名字 | 描述 | 價值 |
|---|---|---|
| 組 | 允許的群組清單。 | 字串[] |
| 身份 | 允許的身分識別清單。 | 字串[] |
ApiDefinitionInfo
| 名字 | 描述 | 價值 |
|---|---|---|
| URL | API 定義的 URL。 | 字串 |
ApiManagementConfig 介面
| 名字 | 描述 | 價值 |
|---|---|---|
| 識別碼 | APIM-Api 標識碼。 | 字串 |
蘋果
| 名字 | 描述 | 價值 |
|---|---|---|
| 啟用 | <程式代碼>false</code> 即使設定註冊,還是應該啟用 Apple 提供者;否則,<程式代碼>true</code>。 | 布爾 (bool) |
| 登錄 | 登入流程的組態設定。 | 登錄範圍 |
| 註冊 | Apple 註冊的組態設定。 | 蘋果註冊 |
蘋果註冊
| 名字 | 描述 | 價值 |
|---|---|---|
| 用戶端ID | 用於登入之應用程式的用戶端識別碼。 | 字串 |
| clientSecretSettingName (用戶端 Secret設置名稱) | 包含客戶端密碼的應用程式設定名稱。 | 字串 |
應用程式記錄配置
| 名字 | 描述 | 價值 |
|---|---|---|
| azureBlobStorage | 應用程式記錄至 Blob 記憶體組態。 | AzureBlobStorageApplicationLogsConfig |
| azureTableStorage | 應用程式記錄至 azure 資料表記憶體組態。 | AzureTableStorageApplicationLogsConfig |
| 檔案系統 | 應用程式記錄至檔案系統組態。 | FileSystemApplicationLogsConfig |
應用註冊
| 名字 | 描述 | 價值 |
|---|---|---|
| 應用程式ID | 用於登入之應用程式的應用程式識別碼。 | 字串 |
| appSecretSettingName | 包含應用程式秘密的應用程式設定名稱。 | 字串 |
AuthPlatform 認證
| 名字 | 描述 | 價值 |
|---|---|---|
| configFilePath 檔 | 如果組態檔來自檔案,則包含驗證設定的路徑。 如果路徑是相對的,基底會是月臺的根目錄。 |
字串 |
| 啟用 | 如果目前應用程式已啟用驗證/授權功能,<程式代碼>true</code>;否則,<程式代碼>false</code>。 | 布爾 (bool) |
| runtimeVersion (運行時版本) | 用於目前應用程式的驗證/授權功能的 RuntimeVersion。 此值中的設定可以控制驗證/授權模組中特定功能的行為。 |
字串 |
AutoHealActions 自動修復作
| 名字 | 描述 | 價值 |
|---|---|---|
| 動作類型 | 要採取的預先定義動作。 | 'CustomAction' “LogEvent” '回收' |
| 自訂作 | 要採取的自定義動作。 | AutohealCustomAction 自動修復 |
| minProcessExecutionTime (最小進程執行時間) | 進程必須執行的時間下限 採取動作之前 |
字串 |
AutohealCustomAction 自動修復
| 名字 | 描述 | 價值 |
|---|---|---|
| Exe | 要執行的可執行檔。 | 字串 |
| 參數 | 可執行文件的參數。 | 字串 |
AutoHealRules 自動修復規則
| 名字 | 描述 | 價值 |
|---|---|---|
| 行動 | 觸發規則時要執行的動作。 | AutoHealActions 自動修復作 |
| 觸發器 | 描述何時執行自動癒合動作的條件。 | AutoHealTriggers 自動修復觸發器 |
AutoHealTriggers 自動修復觸發器
| 名字 | 描述 | 價值 |
|---|---|---|
| privateBytesInKB | 以私用位元組為基礎的規則。 | 整數 (int) |
| 請求 | 以要求總數為基礎的規則。 | RequestsBasedTrigger 觸發器 |
| slowRequests 請求 | 根據要求運行時間的規則。 | SlowRequestsBasedTrigger 觸發器 |
| slowRequestsWithPath 的 | 根據具有路徑的多個慢速要求規則的規則 | SlowRequestsBasedTrigger[] |
| statusCodes | 以狀態代碼為基礎的規則。 | StatusCodesBasedTrigger[] |
| statusCodesRange | 根據狀態代碼範圍的規則。 | StatusCodesRangeBasedTrigger[] |
AzureActiveDirectory
| 名字 | 描述 | 價值 |
|---|---|---|
| 啟用 | <程式代碼>false</code>,即使設定註冊,仍不應啟用 Azure Active Directory 提供者;否則,<程式代碼>true</code>。 | 布爾 (bool) |
| isAutoProvisioned | 取得值,指出是否使用第一方工具自動布建 Azure AD 組態。 這是主要用來支援 Azure 管理入口網站的內部旗標。 用戶不應該 讀取或寫入此屬性。 |
布爾 (bool) |
| 登錄 | Azure Active Directory 登入流程的組態設定。 | AzureActiveDirectory登錄 |
| 註冊 | Azure Active Directory 應用程式註冊的組態設定。 | AzureActiveDirectory註冊 |
| 確認 | Azure Active Directory 令牌驗證流程的組態設定。 | AzureActiveDirectory驗證 |
AzureActiveDirectory登錄
| 名字 | 描述 | 價值 |
|---|---|---|
| disableWWWAuthenticate | 如果應該省略 www-authenticate 提供者,<程式代碼>true</code>;否則,<程式代碼>false</code>。 | 布爾 (bool) |
| loginParameters (登錄參數) | 登入參數,以在何時傳送至 OpenID Connect 授權端點 使用者登入。 每個參數的格式都必須是 「key=value」。。 |
字串[] |
AzureActiveDirectory註冊
| 名字 | 描述 | 價值 |
|---|---|---|
| 用戶端ID | 此信賴憑證者應用程式的用戶端標識碼,稱為client_id。 若要使用 Azure Active Directory 啟用 OpenID 連線驗證,則需要此設定或 其他第三方 OpenID Connect 提供者。 OpenID Connect 的詳細資訊:http://openid.net/specs/openid-connect-core-1_0.html |
字串 |
| clientSecretCertificateIssuer | 用戶端密碼指紋的替代方法,也就是用於簽署之憑證的簽發者。 此屬性的作用為 取代用戶端秘密憑證指紋。 它也是選擇性的。 |
字串 |
| clientSecretCertificateSubjectAlternativeName | 用戶端密碼指紋的替代方案,也就是用於簽署之憑證的主體別名。 此屬性的作用為 取代用戶端秘密憑證指紋。 它也是選擇性的。 |
字串 |
| clientSecretCertificate指紋 | 客戶端密碼的替代方案,也就是用於簽署之憑證的指紋。 此屬性的作用為 取代客戶端密碼。 它也是選擇性的。 |
字串 |
| clientSecretSettingName (用戶端 Secret設置名稱) | 包含信賴憑證者應用程式用戶端密碼的應用程式設定名稱。 | 字串 |
| openIdIssuer 的 | OpenID Connect 簽發者 URI,代表發出此應用程式存取令牌的實體。 使用 Azure Active Directory 時,此值是目錄租使用者的 URI,例如 https://login.microsoftonline.com/v2.0/{tenant-guid}/。此 URI 是令牌簽發者的區分大小寫標識碼。 OpenID Connect Discovery 的詳細資訊:http://openid.net/specs/openid-connect-discovery-1_0.html |
字串 |
AzureActiveDirectory驗證
| 名字 | 描述 | 價值 |
|---|---|---|
| allowedAudiences | 可成功進行驗證/授權要求的物件清單。 | 字串[] |
| defaultAuthorizationPolicy | 默認授權原則的組態設定。 | DefaultAuthorizationPolicy |
| jwtClaimChecks | 驗證 JWT 宣告時,應該進行的檢查組態設定。 | JwtClaimChecks |
AzureBlobStorageApplicationLogsConfig
| 名字 | 描述 | 價值 |
|---|---|---|
| 水平儀 | 記錄層級。 | “錯誤” “資訊” “關閉” “冗長” “警告” |
| 保留天數 | 保留天數。 拿掉早於 X 天的 Blob。 0 或更低表示沒有保留。 |
整數 (int) |
| sasUrl 的 | 具有讀取/寫入/清單/刪除許可權的 Azure Blob 容器 SAS URL。 | 字串 |
AzureBlobStorageHttpLogsConfig
| 名字 | 描述 | 價值 |
|---|---|---|
| 啟用 | 如果已啟用組態,則為 True;如果停用則為 false;如果未設定組態則為 null。 | 布爾 (bool) |
| 保留天數 | 保留天數。 拿掉早於 X 天的 Blob。 0 或更低表示沒有保留。 |
整數 (int) |
| sasUrl 的 | 具有讀取/寫入/清單/刪除許可權的 Azure Blob 容器 SAS URL。 | 字串 |
AzureStaticWebApps
| 名字 | 描述 | 價值 |
|---|---|---|
| 啟用 | <程式代碼>false</code>,即使設定註冊,仍不應啟用 Azure Static Web Apps 提供者;否則,<程式代碼>true</code>。 | 布爾 (bool) |
| 註冊 | Azure Static Web Apps 註冊的組態設定。 | AzureStaticWebApps註冊 |
AzureStaticWebApps註冊
| 名字 | 描述 | 價值 |
|---|---|---|
| 用戶端ID | 用於登入之應用程式的用戶端識別碼。 | 字串 |
AzureStorageInfoValue
| 名字 | 描述 | 價值 |
|---|---|---|
| accessKey | 儲存體帳戶的存取金鑰。 | 字串 約束: 敏感性值。 以安全參數的形式傳入。 |
| 帳戶名稱 | 記憶體帳戶的名稱。 | 字串 |
| mountPath | 在站臺運行時間環境中掛接記憶體的路徑。 | 字串 |
| 共享名稱 | 檔案共享的名稱(容器名稱,用於 Blob 記憶體)。 | 字串 |
| 型別 | 記憶體的類型。 | “AzureBlob” “AzureFiles” |
AzureStoragePropertyDictionaryResourceProperties
| 名字 | 描述 | 價值 |
|---|
AzureTableStorageApplicationLogsConfig
| 名字 | 描述 | 價值 |
|---|---|---|
| 水平儀 | 記錄層級。 | “錯誤” “資訊” “關閉” “冗長” “警告” |
| sasUrl 的 | 具有新增/查詢/刪除許可權的 Azure 資料表 SAS URL。 | 字串 (必要) |
BackupRequestProperties
| 名字 | 描述 | 價值 |
|---|---|---|
| backupName (備份名稱) | 備份的名稱。 | 字串 |
| backupSchedule | 定期執行備份時排程備份。 | 備份計劃 |
| 資料庫 | 備份中包含的資料庫。 | DatabaseBackupSetting[] |
| 啟用 | True 是表示 如果備份排程已啟用 (必須包含在該案例中),則為 false,如果應該停用備份排程則為 false。 | 布爾 (bool) |
| storageAccountUrl 的 | 容器的SAS URL。 | 字串 (必要) |
備份計劃
| 名字 | 描述 | 價值 |
|---|---|---|
| 頻率間隔 | 應該執行備份的頻率(例如,針對每周備份,這應該設定為 7,FrequencyUnit 應該設定為 Day) | int (必要) |
| 頻率單位 | 應該執行備份頻率的時間單位(例如,針對每周備份,這應該設定為 Day,FrequencyInterval 應該設定為 7) | “日” 'Hour' (必要) |
| keepAtLeastOneBackup | 如果保留原則應該一律在記憶體帳戶中保留至少一個備份,則為 True,無論其年齡為何;否則為 false。 | 布林 (必要) |
| retentionPeriodInDays (保留期以天為單位) | 應該刪除多少天備份之後。 | int (必要) |
| 開始時間 | 排程應該開始運作的時間。 | 字串 |
BlobStorageTokenStore
| 名字 | 描述 | 價值 |
|---|---|---|
| sasUrlSettingName | 應用程式設定的名稱,其中包含包含令牌之 Blob 記憶體的 SAS URL。 | 字串 |
客戶註冊
| 名字 | 描述 | 價值 |
|---|---|---|
| 用戶端ID | 用於登入之應用程式的用戶端識別碼。 | 字串 |
| clientSecretSettingName (用戶端 Secret設置名稱) | 包含客戶端密碼的應用程式設定名稱。 | 字串 |
ConnectionStringDictionary屬性
| 名字 | 描述 | 價值 |
|---|
ConnStringInfo
| 名字 | 描述 | 價值 |
|---|---|---|
| Connection String (連接字串) | 連接字串值。 | 字串 |
| 名字 | 連接字串的名稱。 | 字串 |
| 型別 | 資料庫的類型。 | 'ApiHub' “自定義” 'DocDb' “EventHub” 'MySql' 'NotificationHub' 'PostgreSQL' “RedisCache” “ServiceBus” 'SQLAzure' 'SQLServer' |
ConnStringValueTypePair
| 名字 | 描述 | 價值 |
|---|---|---|
| 型別 | 資料庫的類型。 | 'ApiHub' “自定義” 'DocDb' “EventHub” 'MySql' 'NotificationHub' 'PostgreSQL' “RedisCache” “ServiceBus” 'SQLAzure' 'SQLServer' (必要) |
| 價值 | 配對的值。 | 字串 (必要) |
Cookie過期
| 名字 | 描述 | 價值 |
|---|---|---|
| 慣例 | 判斷會話 Cookie 到期時所使用的慣例。 | 固定時間' “IdentityProviderDerived” |
| timeToExpiration 時間 | 要求到期的時間。 | 字串 |
CorsSettings
| 名字 | 描述 | 價值 |
|---|---|---|
| allowedOrigins 的 | 取得或設定應該允許建立跨原始來源的來源清單 呼叫 (例如: http://example.com:12345)。 使用 「*」 來允許所有專案。 |
字串[] |
| 支持憑證 | 取得或設定是否允許具有認證的CORS要求。 看 https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS#Requests_with_credentials 請參閱更多詳細資料。 |
布爾 (bool) |
CustomOpenIdConnectProvider
| 名字 | 描述 | 價值 |
|---|---|---|
| 啟用 | 如果不應該啟用自定義的 Open ID 提供者提供者,<程式代碼>false</code>;否則,<程式代碼>true</code>。 | 布爾 (bool) |
| 登錄 | 自訂 Open ID Connect 提供者之登入流程的組態設定。 | OpenIdConnect登錄 |
| 註冊 | 自訂 Open ID Connect 提供者之應用程式註冊的組態設定。 | OpenIdConnect註冊 |
DatabaseBackupSetting 資料庫備份設置
| 名字 | 描述 | 價值 |
|---|---|---|
| Connection String (連接字串) | 包含要備份或還原之資料庫的連接字串。 如果還原應該發生在新的資料庫,內部的資料庫名稱就是新的資料庫名稱。 | 字串 |
| connectionStringName | 包含連結到 SiteConfig.ConnectionStrings 的連接字串名稱。 這會在還原期間使用覆寫連接字串選項。 |
字串 |
| 資料庫類型 | 資料庫類型 (例如 SqlAzure / MySql)。 | 'LocalMySql' 'MySql' 'PostgreSql' 'SqlAzure' (必要) |
| 名字 | 字串 |
DefaultAuthorizationPolicy
| 名字 | 描述 | 價值 |
|---|---|---|
| allowedApplications 應用程式 | Azure Active Directory 允許應用程式的組態設定。 | 字串[] |
| allowedPrincipals 的 | Azure Active Directory 允許主體的組態設定。 | 允許的 Principals |
啟用配置
| 名字 | 描述 | 價值 |
|---|---|---|
| 啟用 | 如果已啟用組態,則為 True;如果停用則為 false;如果未設定組態則為 null。 | 布爾 (bool) |
實驗
| 名字 | 描述 | 價值 |
|---|---|---|
| rampUp規則 | 遞增規則的清單。 | RampUpRule[] |
臉書
| 名字 | 描述 | 價值 |
|---|---|---|
| 啟用 | <程式代碼>false</code> 即使設定註冊,仍不應啟用 Facebook 提供者;否則,<程式代碼>true</code>。 | 布爾 (bool) |
| graphApiVersion | 登入時要使用的Facebook API版本。 | 字串 |
| 登錄 | 登入流程的組態設定。 | 登錄範圍 |
| 註冊 | Facebook 提供者之應用程式註冊的組態設定。 | 應用註冊 |
FileSystemApplicationLogsConfig
| 名字 | 描述 | 價值 |
|---|---|---|
| 水平儀 | 記錄層級。 | “錯誤” “資訊” “關閉” “冗長” “警告” |
FileSystemHttpLogsConfig 檔
| 名字 | 描述 | 價值 |
|---|---|---|
| 啟用 | 如果已啟用組態,則為 True;如果停用則為 false;如果未設定組態則為 null。 | 布爾 (bool) |
| 保留天數 | 保留天數。 拿掉超過 X 天的檔案。 0 或更低表示沒有保留。 |
整數 (int) |
| 保留(以 Mb 為單位) | HTTP 記錄檔可以使用的大小上限,以 MB 為單位。 到達舊的記錄檔時,將會移除,以為新的記錄檔提供空間。 值的範圍可以介於 25 到 100 之間。 |
int 約束: 最小值 = 25 最大值 = 100 |
FileSystemTokenStore 檔
| 名字 | 描述 | 價值 |
|---|---|---|
| 目錄 | 將儲存令牌的目錄。 | 字串 |
轉發代理
| 名字 | 描述 | 價值 |
|---|---|---|
| 慣例 | 用來判斷所提出要求 URL 的慣例。 | “自定義” '無代理' “標準” |
| customHostHeaderName (自定義主機標頭名稱) | 包含要求主機的標頭名稱。 | 字串 |
| customProtoHeaderName | 包含要求配置之標頭的名稱。 | 字串 |
GitHub
| 名字 | 描述 | 價值 |
|---|---|---|
| 啟用 | <程式代碼>false</code>,即使設定註冊,仍不應啟用 GitHub 提供者;否則,<程式代碼>true</code>。 | 布爾 (bool) |
| 登錄 | 登入流程的組態設定。 | 登錄範圍 |
| 註冊 | GitHub 提供者的應用程式註冊組態設定。 | 客戶註冊 |
全域驗證
| 名字 | 描述 | 價值 |
|---|---|---|
| excludedPaths | 未經驗證流程的路徑不會重新導向至登入頁面。 | 字串[] |
| redirectToProvider | 設定多個提供者時要使用的預設驗證提供者。 只有在已設定多個提供者和未經驗證的用戶端時,才需要此設定 action 設定為 「RedirectToLoginPage」。。 |
字串 |
| requireAuthentication 認證 | <程式代碼>true</code> 如果需要驗證流程,則為任何要求;否則,<程式代碼>false</code>。 | 布爾 (bool) |
| unauthenticatedClientAction | 當未經驗證的客戶端嘗試存取應用程式時要採取的動作。 | '允許匿名' 'RedirectToLoginPage' '返回 401' '返回 403' |
谷歌
| 名字 | 描述 | 價值 |
|---|---|---|
| 啟用 | <程式代碼>false</code>,即使設定註冊,也不應該啟用 Google 提供者;否則,<程式代碼>true</code>。 | 布爾 (bool) |
| 登錄 | 登入流程的組態設定。 | 登錄範圍 |
| 註冊 | Google 提供者應用程式註冊的組態設定。 | 客戶註冊 |
| 確認 | Azure Active Directory 令牌驗證流程的組態設定。 | AllowedAudiences驗證 |
HandlerMapping
| 名字 | 描述 | 價值 |
|---|---|---|
| 參數 | 要傳遞至腳本處理器的命令行自變數。 | 字串 |
| 副檔名 | 使用此擴充功能的要求將會使用指定的 FastCGI 應用程式來處理。 | 字串 |
| scriptProcessor | FastCGI 應用程式的絕對路徑。 | 字串 |
HttpLogsConfig
| 名字 | 描述 | 價值 |
|---|---|---|
| azureBlobStorage | Http 記錄至 Azure Blob 記憶體組態。 | AzureBlobStorageHttpLogsConfig |
| 檔案系統 | Http 記錄至檔案系統組態。 | FileSystemHttpLogsConfig 檔 |
HttpSettings
| 名字 | 描述 | 價值 |
|---|---|---|
| 轉發代理 | 用來提出要求的轉寄 Proxy 組態設定。 | 轉發代理 |
| requireHttps 的 | 如果不允許驗證/授權回應沒有 HTTPS 配置,<程式代碼>false</code>;否則,<程式代碼>true</code>。 | 布爾 (bool) |
| 路線 | 路徑 HTTP 要求的組態設定。 | HttpSettingsRoutes |
HttpSettingsRoutes
| 名字 | 描述 | 價值 |
|---|---|---|
| apiPrefix 的 | 前置詞,應該位於所有驗證/授權路徑之前。 | 字串 |
身份提供程式
| 名字 | 描述 | 價值 |
|---|---|---|
| 蘋果 | Apple 提供者的組態設定。 | 蘋果 |
| azureActiveDirectory | Azure Active Directory 提供者的組態設定。 | AzureActiveDirectory |
| azureStaticWebApps | Azure Static Web Apps 提供者的組態設定。 | AzureStaticWebApps |
| 自定義OpenIdConnectProviders | 每個自定義 Open ID Connect 提供者別名名稱的對應 自訂 Open ID Connect 提供者的組態設定。 |
身份提供程式自定義OpenIdConnectProviders |
| 臉書 | Facebook 提供者的組態設定。 | 臉書 |
| 極狐 GitHub | GitHub 提供者的組態設定。 | GitHub的 |
| 谷歌 | Google 提供者的組態設定。 | 谷歌 |
| legacyMicrosoftAccount | 舊版Microsoft帳戶提供者的組態設定。 | 舊版MicrosoftAccount |
| 唽 | Twitter 提供者的組態設定。 | 唽 |
身份提供程式自定義OpenIdConnectProviders
| 名字 | 描述 | 價值 |
|---|
IpSecurityRestriction
| 名字 | 描述 | 價值 |
|---|---|---|
| 動作 | 允許或拒絕此IP範圍的存取。 | 字串 |
| 描述 | IP 限制規則描述。 | 字串 |
| 頭 | IP 限制規則標頭。 X-Forwarded-Host (https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-Host#Examples)。 比對邏輯為 。。 - 如果屬性為 Null 或空白(預設值),則允許所有主機(或缺少)。 - 使用序數忽略大小寫來比較值(不包括埠號碼)。 - 允許子域通配符,但不符合根域。 例如,*.contoso.com 符合子域 foo.contoso.com 但不是根域 contoso.com 或多層級 foo.bar.contoso.com - 允許 Unicode 主機名,但會轉換成 Punycode 進行比對。 X-Forwarded-For (https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-For#Examples)。 比對邏輯為 。。 - 如果屬性為 Null 或空白(預設值),則允許任何轉送的鏈結(或缺少)。 - 如果鏈結中有任何位址(不包括埠號碼)符合 屬性所定義的 CIDR。 X-Azure-FDID 和 X-FD-HealthProbe。 比對邏輯完全相符。 |
IpSecurityRestrictionHeaders |
| IP位址 | 安全性限制的有效IP位址。 它可以是純 ipv4 位址的形式(必要的 SubnetMask 屬性) 或 CIDR 表示法,例如 ipv4/mask(前置位比對)。 針對 CIDR, 不可指定 SubnetMask 屬性。 |
字串 |
| 名字 | IP 限制規則名稱。 | 字串 |
| 優先權 | IP 限制規則的優先順序。 | 整數 (int) |
| 子網掩碼 | 限制的有效IP位址範圍的子網掩碼。 | 字串 |
| subnetTrafficTag | (內部)子網流量標記 | 整數 (int) |
| 加標籤 | 定義此IP篩選器將用於哪些專案。 這是為了支援 Proxy 的IP篩選。 | 預設 “服務標籤” 'XffProxy' |
| vnetSubnetResourceId | 虛擬網路資源標識碼 | 字串 |
| vnetTrafficTag | (內部)Vnet 流量標籤 | 整數 (int) |
IpSecurityRestrictionHeaders
| 名字 | 描述 | 價值 |
|---|
JwtClaimChecks
| 名字 | 描述 | 價值 |
|---|---|---|
| allowedClient應用程式 | 允許的用戶端應用程式清單。 | 字串[] |
| allowed組 | 允許的群組清單。 | 字串[] |
舊版MicrosoftAccount
| 名字 | 描述 | 價值 |
|---|---|---|
| 啟用 | <程式代碼>false</code>,即使設定註冊,仍不應啟用舊版Microsoft帳戶提供者;否則,<程式代碼>true</code>。 | 布爾 (bool) |
| 登錄 | 登入流程的組態設定。 | 登錄範圍 |
| 註冊 | 舊版 Microsoft 帳戶提供者之應用程式註冊的組態設定。 | 客戶註冊 |
| 確認 | 舊版Microsoft帳戶提供者令牌驗證流程的組態設定。 | AllowedAudiences驗證 |
登錄
| 名字 | 描述 | 價值 |
|---|---|---|
| allowedExternalRedirectUrls | 可在登入或註銷應用程式時重新導向至 的外部URL。 請注意,會忽略 URL 的查詢字串部分。 這是 Windows 市集應用程式後端通常需要的進階設定。 請注意,目前網域內的URL一律是隱含允許的。 |
字串[] |
| cookie過期 | 會話 Cookie 到期的組態設定。 | Cookie過期 |
| nonce | 登入流程中使用的 Nonce 組態設定。 | 隨機數 |
| preserveUrlFragmentsForLogins | 如果提出登入要求之後保留來自要求的片段,<程式代碼>true</code>;否則,<程式代碼>false</code>。 | 布爾 (bool) |
| 路線 | 指定用於登入和註銷要求的端點的路由。 | LoginRoutes (登錄路由) |
| tokenStore | 令牌存放區的組態設定。 | TokenStore 倉庫 |
LoginRoutes (登錄路由)
| 名字 | 描述 | 價值 |
|---|---|---|
| logout端點 | 應該提出註銷要求的端點。 | 字串 |
登錄範圍
| 名字 | 描述 | 價值 |
|---|---|---|
| 範圍 | 驗證時應要求的範圍清單。 | 字串[] |
microsoft.web/sites/config
| 名字 | 描述 | 價值 |
|---|---|---|
| 名字 | 針對類型 Microsoft.Web/sites/config設定為 'appsettings'。針對 type Microsoft.Web/sites/config設定為 'authsettings'。針對 type Microsoft.Web/sites/config,設定為 'authsettingsV2'。針對 type Microsoft.Web/sites/config,設定為 'azurestorageaccounts'。針對類型 Microsoft.Web/sites/config設定為 'backup'。針對 type Microsoft.Web/sites/config,設定為 'connectionstrings'。針對類型 Microsoft.Web/sites/config設定為 'logs'。針對類型 Microsoft.Web/sites/config設定為 'metadata'。針對類型 Microsoft.Web/sites/config設定為 'pushsettings'。針對 type Microsoft.Web/sites/config設定為 'slotConfigNames'。將 類型設定為 'web' Microsoft.Web/sites/config。 | '應用程式設置' 'authsettings' 'authsettingsV2' 'azurestorageaccounts' '備份' 'connectionstrings' '日誌' '元數據' 'pushsettings' 'slotConfigNames' 'web' (必要) |
NameValuePair
| 名字 | 描述 | 價值 |
|---|---|---|
| 名字 | 配對名稱。 | 字串 |
| 價值 | 配對值。 | 字串 |
隨機數
| 名字 | 描述 | 價值 |
|---|---|---|
| nonceExpirationInterval | 要求到期后的時間。 | 字串 |
| 驗證隨機數 | 如果完成登入流程時不應該驗證 nonce,<程式代碼>false</code>;否則,<程式代碼>true</code>。 | 布爾 (bool) |
OpenIdConnectClientCredential
| 名字 | 描述 | 價值 |
|---|---|---|
| clientSecretSettingName (用戶端 Secret設置名稱) | 包含自訂 Open ID Connect 提供者用戶端密碼的應用程式設定。 | 字串 |
| 方法 | 應該用來驗證使用者的方法。 | “ClientSecretPost” |
OpenIdConnectConfig
| 名字 | 描述 | 價值 |
|---|---|---|
| authorizationEndpoint | 要用來提出授權要求的端點。 | 字串 |
| certificationUri 認證 | 提供驗證令牌所需金鑰的端點。 | 字串 |
| 簽發者 | 發出令牌的端點。 | 字串 |
| tokenEndpoint | 要用來要求令牌的端點。 | 字串 |
| wellKnownOpenIdConfiguration | 包含提供者所有組態端點的端點。 | 字串 |
OpenIdConnect登錄
| 名字 | 描述 | 價值 |
|---|---|---|
| nameClaimType | 包含用戶名稱的宣告名稱。 | 字串 |
| 範圍 | 驗證時應要求的範圍清單。 | 字串[] |
OpenIdConnect註冊
| 名字 | 描述 | 價值 |
|---|---|---|
| clientCredential 的 | 自訂 Open ID Connect 提供者的驗證認證。 | OpenIdConnectClientCredential |
| 用戶端ID | 自訂 Open ID Connect 提供者的用戶端識別碼。 | 字串 |
| openIdConnect配置 | 用於自訂 Open ID Connect 提供者之端點的組態設定。 | OpenIdConnectConfig |
PushSettings 設置
| 名字 | 描述 | 價值 |
|---|---|---|
| 類 | 資源種類。 | 字串 |
| 性能 | PushSettings 資源特定屬性 | PushSettingsProperties |
PushSettingsProperties
| 名字 | 描述 | 價值 |
|---|---|---|
| 動態標籤Json | 取得或設定 JSON 字串,其中包含將從推送註冊端點中的使用者宣告評估的動態標籤清單。 | 字串 |
| isPush已啟用 | 取得或設定旗標,指出是否啟用推送端點。 | 布林 (必要) |
| tagsRequiringAuth | 取得或設定 JSON 字串,其中包含要求使用者驗證用於推送註冊端點的標籤清單。 標記可以包含英數位元和下列專案: '_', '@', '#', '.', ':', '-'. 驗證應該在 PushRequestHandler 上執行。 |
字串 |
| tagWhitelistJson | 取得或設定 JSON 字串,其中包含允許清單中可供推送註冊端點使用的標籤清單。 | 字串 |
RampUpRule
| 名字 | 描述 | 價值 |
|---|---|---|
| actionHostName (作主機名稱) | 如果決定要重新導向流量的位置主機名。 例如 myapp-stage.azurewebsites.net。 | 字串 |
| 更改決定回調網址 | 您可以在可指定 URL 的 TiPCallback 網站延伸模組中提供自訂決策演算法。 | 字串 |
| 更改間隔以分鐘為單位 | 指定以分鐘為單位重新評估 ReroutePercentage 的間隔。 | 整數 (int) |
| changeStep | 在自動增加案例中,這是從 <程式代碼新增/移除的步驟,>ReroutePercentage</code>,\n<直到>MinReroutePercentage</code> 或 <程式代碼>MaxReroutePercentage</code>。 網站計量會每隔 N <分鐘檢查一次,>ChangeIntervalInMinutes</code>中指定的程式代碼。\n自定義決策演算法 可以在 TiPCallback 網站延伸模組中提供,您可以在 <程式代碼中指定 URL>ChangeDecisionCallbackUrl</code>。 |
整數 (int) |
| maxReroutePercentage | 指定 ReroutePercentage 將保留的上限。 | 整數 (int) |
| minReroutePercentage | 指定上方的下限,讓 ReroutePercentage 維持不變。 | 整數 (int) |
| 名字 | 路由規則的名稱。 建議的名稱會指向將接收實驗中流量的位置。 | 字串 |
| reroutePercentage | 將重新導向至 <程式代碼的流量百分比,>ActionHostName</code>。 | 整數 (int) |
RequestsBasedTrigger 觸發器
| 名字 | 描述 | 價值 |
|---|---|---|
| 計數 | 要求計數。 | 整數 (int) |
| timeInterval 時間 | 時間間隔。 | 字串 |
SiteAuthSettingsProperties
| 名字 | 描述 | 價值 |
|---|---|---|
| aadClaimsAuthorization | 取得包含 Azure AD Acl 設定的 JSON 字串。 | 字串 |
| additionalLoginParams | 登入參數,以在何時傳送至 OpenID Connect 授權端點 使用者登入。 每個參數的格式都必須是 「key=value」。。 |
字串[] |
| allowedAudiences | 允許的物件值在驗證 所發出的 JWT 時考慮 Azure Active Directory。 請注意,<程式代碼>ClientID</code> 值一律視為 允許的物件,不論此設定為何。 |
字串[] |
| allowedExternalRedirectUrls | 可在登入或註銷應用程式時重新導向至 的外部URL。 請注意,會忽略 URL 的查詢字串部分。 這是 Windows 市集應用程式後端通常需要的進階設定。 請注意,目前網域內的URL一律是隱含允許的。 |
字串[] |
| authFilePath 文件路徑 | 包含驗證設定的組態檔路徑。 如果路徑是相對的,基底會是月臺的根目錄。 |
字串 |
| 用戶端ID | 此信賴憑證者應用程式的用戶端標識碼,稱為client_id。 若要使用 Azure Active Directory 啟用 OpenID 連線驗證,則需要此設定或 其他第三方 OpenID Connect 提供者。 OpenID Connect 的詳細資訊:http://openid.net/specs/openid-connect-core-1_0.html |
字串 |
| 用戶端密鑰 | 此信賴憑證者應用程式的客戶端密碼(在 Azure Active Directory 中,也稱為密鑰)。 此設定是選擇性的。 如果未設定任何客戶端密碼,則會使用 OpenID Connect 隱含驗證流程來驗證終端使用者。 否則,OpenID Connect 授權碼流程會用來驗證使用者。 OpenID Connect 的詳細資訊:http://openid.net/specs/openid-connect-core-1_0.html |
字串 |
| clientSecretCertificate指紋 | 客戶端密碼的替代方案,也就是用於簽署之憑證的指紋。 此屬性的作用為 取代客戶端密碼。 它也是選擇性的。 |
字串 |
| clientSecretSettingName (用戶端 Secret設置名稱) | 包含信賴憑證者應用程式用戶端密碼的應用程式設定名稱。 | 字串 |
| configVersion (配置版本) | 用於目前應用程式的驗證/授權功能的 ConfigVersion。 此值中的設定可以控制驗證/授權的控制平面行為。 |
字串 |
| defaultProvider | 設定多個提供者時要使用的預設驗證提供者。 只有在已設定多個提供者和未經驗證的用戶端時,才需要此設定 action 設定為 「RedirectToLoginPage」。。 |
“AzureActiveDirectory” “臉書” 'Github' '谷歌' “MicrosoftAccount” '推特' |
| 啟用 | 如果目前應用程式已啟用驗證/授權功能,<程式代碼>true</code>;否則,<程式代碼>false</code>。 | 布爾 (bool) |
| facebookAppId | 用於登入的 Facebook 應用程式的應用程式識別碼。 啟用Facebook登入需要此設定。 Facebook 登入檔:https://developers.facebook.com/docs/facebook-login |
字串 |
| facebookAppSecret | 用於 Facebook 登入之 Facebook 應用程式的應用程式秘密。 啟用Facebook登入需要此設定。 Facebook 登入檔:https://developers.facebook.com/docs/facebook-login |
字串 |
| facebookAppSecretSettingName | 應用程式設定名稱,其中包含用於 Facebook 登入的應用程式密碼。 | 字串 |
| facebookOAuth範圍 | 將作為Facebook登入驗證一部分要求的OAuth 2.0範圍。 此設定是選擇性的。 Facebook 登入檔:https://developers.facebook.com/docs/facebook-login |
字串[] |
| gitHubClientId | 用於登入的 GitHub 應用程式的用戶端識別碼。 啟用 Github 登入需要此設定 |
字串 |
| gitHubClientSecret | GitHub 應用程式用於 Github 登入的客戶端密碼。 啟用 Github 登入需要此設定。 |
字串 |
| gitHubClientSecretSettingName | 包含 Github 用戶端密碼的應用程式設定名稱 用於 GitHub 登入的應用程式。 |
字串 |
| gitHubOAuth範圍 | 將作為 GitHub 登入驗證一部分要求的 OAuth 2.0 範圍。 此設定是選擇性的 |
字串[] |
| googleClientId | Google Web 應用程式的 OpenID Connect 用戶端識別碼。 啟用Google登入需要此設定。 Google Sign-In 檔:https://developers.google.com/identity/sign-in/web/ |
字串 |
| googleClientSecret | 與Google Web 應用程式相關聯的客戶端密碼。 啟用Google登入需要此設定。 Google Sign-In 檔:https://developers.google.com/identity/sign-in/web/ |
字串 |
| googleClientSecretSettingName | 包含與相關聯之用戶端密碼的應用程式設定名稱 Google Web 應用程式。 |
字串 |
| googleOAuth範圍 | 將作為Google Sign-In 驗證一部分要求的OAuth 2.0範圍。 此設定是選擇性的。 如果未指定,則會使用 「openid」、“profile」 和 「email」 作為預設範圍。 Google Sign-In 檔:https://developers.google.com/identity/sign-in/web/ |
字串[] |
| isAuthFrom檔 | 如果應該從檔案讀取驗證組態設定,則為 “true” 否則為 “false” |
字串 |
| 簽發者 | OpenID Connect 簽發者 URI,代表發出此應用程式存取令牌的實體。 使用 Azure Active Directory 時,此值是目錄租使用者的 URI,例如 https://sts.windows.net/{tenant-guid}/。此 URI 是令牌簽發者的區分大小寫標識碼。 OpenID Connect Discovery 的詳細資訊:http://openid.net/specs/openid-connect-discovery-1_0.html |
字串 |
| microsoftAccountClientId | 針對用於驗證的應用程式所建立的 OAuth 2.0 用戶端識別碼。 啟用Microsoft帳戶驗證需要此設定。 Microsoft帳戶 OAuth 檔:https://dev.onedrive.com/auth/msa_oauth.htm |
字串 |
| microsoftAccountClientSecret | 針對用於驗證的應用程式所建立的 OAuth 2.0 客戶端密碼。 啟用Microsoft帳戶驗證需要此設定。 Microsoft帳戶 OAuth 檔:https://dev.onedrive.com/auth/msa_oauth.htm |
字串 |
| microsoftAccountClientSecretSettingName | 包含針對 建立之 OAuth 2.0 用戶端密碼的應用程式設定名稱 用於驗證的應用程式。 |
字串 |
| microsoftAccountOAuth範圍 | 將在帳戶驗證Microsoft一部分要求的 OAuth 2.0 範圍。 此設定是選擇性的。 如果未指定,則會使用 「wl.basic」 作為預設範圍。 Microsoft帳戶範圍和許可權檔:https://msdn.microsoft.com/en-us/library/dn631845.aspx |
字串[] |
| runtimeVersion (運行時版本) | 用於目前應用程式的驗證/授權功能的 RuntimeVersion。 此值中的設定可以控制驗證/授權模組中特定功能的行為。 |
字串 |
| tokenRefreshExtension小時 | 會話令牌到期后的時數,會話令牌可用來 呼叫令牌重新整理 API。 預設值為72小時。 |
整數 (int) |
| tokenStore已啟用 |
<程式代碼>true</code>,以永久儲存登入流程期間取得的平臺特定安全性令牌;否則,<程式代碼>false</code>。 預設值為 <程式代碼,>false</code>。 |
布爾 (bool) |
| twitterConsumerKey | 用於登入之 Twitter 應用程式的 OAuth 1.0a 取用者密鑰。 啟用 Twitter 登入需要此設定。 Twitter Sign-In 檔:https://dev.twitter.com/web/sign-in |
字串 |
| 推特消費者秘密 | 用於登入之 Twitter 應用程式的 OAuth 1.0a 取用者秘密。 啟用 Twitter 登入需要此設定。 Twitter Sign-In 檔:https://dev.twitter.com/web/sign-in |
字串 |
| twitterConsumerSecretSettingName | 包含 Twitter OAuth 1.0a 取用者秘密的應用程式設定名稱 用於登入的應用程式。 |
字串 |
| unauthenticatedClientAction | 當未經驗證的客戶端嘗試存取應用程式時要採取的動作。 | '允許匿名' 'RedirectToLoginPage' |
| validateIssuer 的 | 取得值,指出簽發者是否應為有效的 HTTPS URL,並加以驗證。 | 布爾 (bool) |
SiteAuthSettingsV2屬性
| 名字 | 描述 | 價值 |
|---|---|---|
| globalValidation (全域驗證) | 使用 App Service 驗證/授權決定使用者驗證流程的組態設定。 | 全域驗證 |
| HTTP設置 | 針對 App Service 驗證/授權提出的驗證和授權要求的 HTTP 要求組態設定。 | HttpSettings |
| identityProviders | 用來設定 App Service 驗證/授權之每個識別提供者的組態設定。 | 身份提供程式 |
| 登錄 | 使用 App Service 驗證/授權的使用者登入流程組態設定。 | 登入 |
| 平台 | App Service 驗證/授權平臺的組態設定。 | AuthPlatform 認證 |
網站配置
| 名字 | 描述 | 價值 |
|---|---|---|
| acrUseManagedIdentityCreds | 使用受控識別 Creds 進行 ACR 提取的旗標 | 布爾 (bool) |
| acrUserManagedIdentityID | 如果使用使用者受控識別,則使用者受控識別 ClientId | 字串 |
| 永遠在線 | 如果已啟用 Always On,<程式代碼>true</code>;否則,<程式代碼>false</code>。 | 布爾 (bool) |
| api定義 | 應用程式正式 API 定義的相關信息。 | ApiDefinitionInfo |
| apiManagementConfig | 連結至應用程式的 Azure API 管理設定。 | ApiManagementConfig 介面 |
| app命令行 | 要啟動的應用程式命令行。 | 字串 |
| appSettings | 應用程式設定。 | NameValuePair[] |
| autoHealEnabled 已啟用 | 如果啟用自動癒合,<程式代碼>true</code>;否則,<程式代碼>false</code>。 | 布爾 (bool) |
| autoHealRules 自動修復規則 | 自動治癒規則。 | AutoHealRules 自動修復規則 |
| autoSwapSlotName (自動交換槽名稱) | 自動交換位置名稱。 | 字串 |
| azureStorageAccounts | Azure 記憶體帳戶的清單。 | SiteConfigAzureStorageAccounts |
| connectionStrings 連接字串 | 連接字串。 | ConnStringInfo[] |
| 跨來源資源共享 (CORS) | 跨原始來源資源分享 (CORS) 設定。 | CorsSettings |
| defaultDocuments 文檔 | 默認檔。 | 字串[] |
| detailedErrorLogging已啟用 | 如果啟用詳細的錯誤記錄,<程式代碼>true</code>;否則,<程式代碼>false</code>。 | 布爾 (bool) |
| documentRoot | 檔根目錄。 | 字串 |
| 實驗 | 這適用於多型類型。 | 實驗 |
| ftps狀態 | FTP / FTPS 服務的狀態 | '全部允許' “已禁用” '僅限 FTPS' |
| functionAppScaleLimit 函數 | 網站可相應放大至的工作者數目上限。 此設定僅適用於取用和彈性進階方案 |
int 約束: 最小值 = 0 |
| 函數RuntimeScaleMonitoringEnabled | 取得或設定值,指出是否啟用函式運行時間調整監視。 啟用時, ScaleController 不會直接監視事件來源,而是會改為呼叫 運行時間以取得調整狀態。 |
布爾 (bool) |
| handlerMappings | 處理程序對應。 | HandlerMapping[] |
| healthCheckPath (健康檢查路徑) | 健康情況檢查路徑 | 字串 |
| HTTP20已啟用 | Http20Enabled:設定網站以允許用戶端透過 HTTP2.0 連線 | 布爾 (bool) |
| HTTPLogging已啟用 | 如果啟用 HTTP 記錄,<程式代碼>true</code>;否則,<程式代碼>false</code>。 | 布爾 (bool) |
| ipSecurity限制 | main 的IP安全性限制。 | IpSecurityRestriction[] |
| java容器 | Java 容器。 | 字串 |
| javaContainerVersion | Java 容器版本。 | 字串 |
| java版本 | Java 版本。 | 字串 |
| keyVaultReferenceIdentity | 要用於 金鑰保存庫 參考驗證的身分識別。 | 字串 |
| 限制 | 網站限制。 | 網站限制 |
| linuxFx版本 | Linux 應用程式架構和版本 | 字串 |
| 負載平衡 | 網站負載平衡。 | '最少請求' '最小回應時間' 'PerSiteRoundRobin' '請求哈希' 'WeightedRoundRobin' '加權總流量' |
| localMySql已啟用 | <程式代碼>true</code> 啟用本機 MySQL;否則,<程式代碼>false</code>。 | 布爾 (bool) |
| logsDirectorySizeLimit | HTTP 記錄目錄大小限制。 | 整數 (int) |
| managedPipelineMode | 受控管線模式。 | “經典” “集成” |
| managedServiceIdentityId | 受控服務識別標識碼 | 整數 (int) |
| minimumElasticInstanceCount | 月臺的最小實例計數數目 此設定僅適用於彈性方案 |
int 約束: 最小值 = 0 最大值 = 20 |
| minTlsVersion (最小版本 | MinTlsVersion:設定 SSL 要求所需的最低 TLS 版本 | '1.0' '1.1' '1.2' |
| netFrameworkVersion | .NET Framework 版本。 | 字串 |
| nodeVersion | Node.js的版本。 | 字串 |
| 工人數 | 背景工作角色數目。 | 整數 (int) |
| php版本 | PHP 版本。 | 字串 |
| PowerShell版本 | PowerShell 版本。 | 字串 |
| preWarmedInstanceCount | 預先Warmed 實例的數目。 此設定僅適用於取用和彈性方案 |
int 約束: 最小值 = 0 最大值 = 10 |
| 公共網路存取 | 允許或封鎖所有公用流量的屬性。 | 字串 |
| publishing使用者名 | 發佈用戶名稱。 | 字串 |
| 推送 | 推送端點設定。 | PushSettings 設置 |
| python版本 | Python 版本。 | 字串 |
| remoteDebugging已啟用 | 如果啟用遠端偵錯,<程式代碼>true</code>;否則,<程式代碼>false</code>。 | 布爾 (bool) |
| remoteDebuggingVersion (遠端調試版本) | 遠端偵錯版本。 | 字串 |
| requestTracing已啟用 | 如果啟用要求追蹤,<程式代碼>true</code>;否則,<程式代碼>false</code>。 | 布爾 (bool) |
| 請求TracingExpirationTime | 要求追蹤到期時間。 | 字串 |
| scmIpSecurity限制 | scm 的IP安全性限制。 | IpSecurityRestriction[] |
| scmIpSecurityRestrictionsUseMain | scm 使用 main 的 IP 安全性限制。 | 布爾 (bool) |
| scmMinTlsVersion | ScmMinTlsVersion:設定 SCM 網站 SSL 要求所需的最低 TLS 版本 | '1.0' '1.1' '1.2' |
| scm類型 | SCM 類型。 | 'BitbucketGit' 'BitbucketHg' 'CodePlexGit' “CodePlexHg” 'Dropbox' '外部 Git' '外部汞' “GitHub” '本地 Git' “無” “OneDrive” 'Tfs' 'VSO' 'VSTSRM' |
| tracing選項 | 追蹤選項。 | 字串 |
| use32BitWorker進程 | <程式代碼>true</code> 使用 32 位背景工作進程;否則,<程式代碼>false</code>。 | 布爾 (bool) |
| 虛擬應用程式 | 虛擬應用程式。 | VirtualApplication[] |
| vnet名稱 | 虛擬網路名稱。 | 字串 |
| vnetPrivatePortsCount | 指派給此應用程式的私人埠數目。 這些會在運行時間動態指派。 | 整數 (int) |
| 虛擬網路所有路由啟用 (vnetRouteAllEnabled) | 虛擬網路路由全部啟用。 這會導致所有輸出流量套用虛擬網路安全組和用戶定義的路由。 | 布爾 (bool) |
| websiteTimeZone 網站時區 | 設定網站用來產生時間戳的時區。 與 Linux 和 Windows 應用程式 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 | 字串 |
| webSockets已啟用 | 如果已啟用 WebSocket,<程式代碼>true</code>;否則,<程式代碼>false</code>。 | 布爾 (bool) |
| windowsFx版本 | Xenon App Framework 和版本 | 字串 |
| xManagedServiceIdentityId | 明確受控服務識別標識碼 | 整數 (int) |
SiteConfigAzureStorageAccounts
| 名字 | 描述 | 價值 |
|---|
網站限制
| 名字 | 描述 | 價值 |
|---|---|---|
| 最大磁碟大小(以 Mb 為單位) | 允許的磁碟大小使用量上限,以 MB 為單位。 | 整數 (int) |
| 最大記憶體 | MB 允許的記憶體使用量上限。 | 整數 (int) |
| maxPercentageCpu | 允許的CPU使用量百分比上限。 | 整數 (int) |
SiteLogsConfigProperties
| 名字 | 描述 | 價值 |
|---|---|---|
| 應用程式記錄 | 應用程式記錄設定。 | 應用程式記錄配置 |
| detailedErrorMessages | 詳細的錯誤訊息組態。 | 啟用配置 |
| failedRequestsTracing 請求 | 失敗的要求追蹤組態。 | 啟用配置 |
| HTTP日誌 | HTTP 記錄組態。 | HttpLogsConfig |
SlotConfig名稱
| 名字 | 描述 | 價值 |
|---|---|---|
| appSetting名稱 | 應用程式設定名稱的清單。 | 字串[] |
| azureStorageConfigNames | 外部 Azure 記憶體帳戶標識碼的清單。 | 字串[] |
| connectionString名稱 | 連接字串名稱的清單。 | 字串[] |
SlowRequestsBasedTrigger 觸發器
| 名字 | 描述 | 價值 |
|---|---|---|
| 計數 | 要求計數。 | 整數 (int) |
| 路徑 | 要求路徑。 | 字串 |
| timeInterval 時間 | 時間間隔。 | 字串 |
| 花費時間 | 所花費的時間。 | 字串 |
StatusCodesBased觸發器
| 名字 | 描述 | 價值 |
|---|---|---|
| 計數 | 要求計數。 | 整數 (int) |
| 路徑 | 要求路徑 | 字串 |
| 狀態 | HTTP 狀態代碼。 | 整數 (int) |
| 子狀態 | 要求子狀態。 | 整數 (int) |
| timeInterval 時間 | 時間間隔。 | 字串 |
| win32狀態 | Win32 錯誤碼。 | 整數 (int) |
StatusCodesRangeBasedTrigger
| 名字 | 描述 | 價值 |
|---|---|---|
| 計數 | 要求計數。 | 整數 (int) |
| 路徑 | 字串 | |
| statusCodes | HTTP 狀態代碼。 | 字串 |
| timeInterval 時間 | 時間間隔。 | 字串 |
StringDictionaryProperties
| 名字 | 描述 | 價值 |
|---|
StringDictionaryProperties
| 名字 | 描述 | 價值 |
|---|
TokenStore 倉庫
| 名字 | 描述 | 價值 |
|---|---|---|
| azureBlobStorage | 如果使用 Blob 記憶體,令牌的記憶體組態設定。 | BlobStorageTokenStore |
| 啟用 |
<程式代碼>true</code>,以永久儲存登入流程期間取得的平臺特定安全性令牌;否則,<程式代碼>false</code>。 預設值為 <程式代碼,>false</code>。 |
布爾 (bool) |
| 檔案系統 | 如果使用檔案系統,則為令牌記憶體的組態設定。 | FileSystemTokenStore 檔 |
| tokenRefreshExtension小時 | 會話令牌到期后的時數,會話令牌可用來 呼叫令牌重新整理 API。 預設值為72小時。 |
整數 (int) |
唽
| 名字 | 描述 | 價值 |
|---|---|---|
| 啟用 | <程式代碼>false</code>,即使設定註冊,也不應該啟用 Twitter 提供者;否則,<程式代碼>true</code>。 | 布爾 (bool) |
| 註冊 | Twitter 提供者之應用程式註冊的組態設定。 | 推特註冊 |
推特註冊
| 名字 | 描述 | 價值 |
|---|---|---|
| consumerKey | 用於登入之 Twitter 應用程式的 OAuth 1.0a 取用者密鑰。 啟用 Twitter 登入需要此設定。 Twitter Sign-In 檔:https://dev.twitter.com/web/sign-in |
字串 |
| consumerSecretSettingName | 包含 Twitter OAuth 1.0a 取用者秘密的應用程式設定名稱 用於登入的應用程式。 |
字串 |
虛擬應用程式
| 名字 | 描述 | 價值 |
|---|---|---|
| 物理路徑 | 實體路徑。 | 字串 |
| preload已啟用 | 如果啟用預先載入,<程式代碼>true</code>;否則,<程式代碼>false</code>。 | 布爾 (bool) |
| 虛擬目錄 | 虛擬應用程式的虛擬目錄。 | VirtualDirectory [] |
| 虛擬路徑 | 虛擬路徑。 | 字串 |
虛擬目錄
| 名字 | 描述 | 價值 |
|---|---|---|
| 物理路徑 | 實體路徑。 | 字串 |
| 虛擬路徑 | 虛擬應用程式的路徑。 | 字串 |