你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Microsoft.Web sites/config 'authsettingsV2' 2020-10-01
Bicep 资源定义
可以使用针对以下操作部署站点/配置资源类型:
- 资源组 - 请参阅 资源组部署命令
有关每个 API 版本中更改的属性的列表,请参阅 更改日志。
名称属性的选项
sites/config 资源接受基于 name 属性的值的不同属性。
本文介绍设置 name: 'authsettingsV2'
时可用的属性。
有关其他选项,请参阅:
- appsettings
- authsettings
- azurestorageaccounts
- backup
- connectionstrings
- logs
- metadata
- pushsettings
- slotConfigNames
- web
资源格式
若要创建 Microsoft.Web/sites/config 资源,请将以下 Bicep 添加到模板。
resource symbolicname 'Microsoft.Web/sites/config@2020-10-01' = {
name: 'authsettingsV2'
kind: 'string'
parent: resourceSymbolicName
properties: {
globalValidation: {
kind: 'string'
properties: {
excludedPaths: [
'string'
]
redirectToProvider: 'string'
requireAuthentication: bool
unauthenticatedClientAction: 'string'
}
}
httpSettings: {
kind: 'string'
properties: {
forwardProxy: {
kind: 'string'
properties: {
convention: 'string'
customHostHeaderName: 'string'
customProtoHeaderName: 'string'
}
}
requireHttps: bool
routes: {
kind: 'string'
properties: {
apiPrefix: 'string'
}
}
}
}
identityProviders: {
kind: 'string'
properties: {
azureActiveDirectory: {
kind: 'string'
properties: {
enabled: bool
isAutoProvisioned: bool
login: {
kind: 'string'
properties: {
disableWWWAuthenticate: bool
loginParameters: [
'string'
]
}
}
registration: {
kind: 'string'
properties: {
clientId: 'string'
clientSecretCertificateThumbprint: 'string'
clientSecretSettingName: 'string'
openIdIssuer: 'string'
}
}
validation: {
kind: 'string'
properties: {
allowedAudiences: [
'string'
]
jwtClaimChecks: {
kind: 'string'
properties: {
allowedClientApplications: [
'string'
]
allowedGroups: [
'string'
]
}
}
}
}
}
}
customOpenIdConnectProviders: {}
facebook: {
kind: 'string'
properties: {
enabled: bool
graphApiVersion: 'string'
login: {
kind: 'string'
properties: {
scopes: [
'string'
]
}
}
registration: {
kind: 'string'
properties: {
appId: 'string'
appSecretSettingName: 'string'
}
}
}
}
gitHub: {
kind: 'string'
properties: {
enabled: bool
login: {
kind: 'string'
properties: {
scopes: [
'string'
]
}
}
registration: {
kind: 'string'
properties: {
clientId: 'string'
clientSecretSettingName: 'string'
}
}
}
}
google: {
kind: 'string'
properties: {
enabled: bool
login: {
kind: 'string'
properties: {
scopes: [
'string'
]
}
}
registration: {
kind: 'string'
properties: {
clientId: 'string'
clientSecretSettingName: 'string'
}
}
validation: {
kind: 'string'
properties: {
allowedAudiences: [
'string'
]
}
}
}
}
twitter: {
kind: 'string'
properties: {
enabled: bool
registration: {
kind: 'string'
properties: {
consumerKey: 'string'
consumerSecretSettingName: 'string'
}
}
}
}
}
}
login: {
kind: 'string'
properties: {
allowedExternalRedirectUrls: [
'string'
]
cookieExpiration: {
kind: 'string'
properties: {
convention: 'string'
timeToExpiration: 'string'
}
}
nonce: {
kind: 'string'
properties: {
nonceExpirationInterval: 'string'
validateNonce: bool
}
}
preserveUrlFragmentsForLogins: bool
routes: {
kind: 'string'
properties: {
logoutEndpoint: 'string'
}
}
tokenStore: {
kind: 'string'
properties: {
azureBlobStorage: {
kind: 'string'
properties: {
sasUrlSettingName: 'string'
}
}
enabled: bool
fileSystem: {
kind: 'string'
properties: {
directory: 'string'
}
}
tokenRefreshExtensionHours: int
}
}
}
}
platform: {
kind: 'string'
properties: {
configFilePath: 'string'
enabled: bool
runtimeVersion: 'string'
}
}
}
}
属性值
sites/config-authsettingsV2
名称 | 说明 | 值 |
---|---|---|
name | 资源名称 了解如何在 Bicep 中为子资源设置名称和类型。 |
“authsettingsV2” |
kind | 资源类型。 | 字符串 |
父级 (parent) | 在 Bicep 中,可以为子资源指定父资源。 仅当子资源在父资源外部声明时,才需要添加此属性。 有关详细信息,请参阅 父资源之外的子资源。 |
类型为“站点”的资源的符号名称 |
properties | SiteAuthSettingsV2 资源特定的属性 | SiteAuthSettingsV2Properties |
SiteAuthSettingsV2Properties
名称 | 说明 | 值 |
---|---|---|
globalValidation | GlobalValidation | |
httpSettings | HttpSettings | |
identityProviders | IdentityProviders | |
login | 登录 | |
平台 | AuthPlatform |
GlobalValidation
名称 | 说明 | 值 |
---|---|---|
kind | 资源类型。 | string |
properties | GlobalValidation 资源特定的属性 | GlobalValidationProperties |
GlobalValidationProperties
名称 | 说明 | 值 |
---|---|---|
excludedPaths | string[] | |
redirectToProvider | string | |
requireAuthentication | bool | |
unauthenticatedClientAction | “AllowAnonymous” “RedirectToLoginPage” “Return401” “Return403” |
HttpSettings
名称 | 说明 | 值 |
---|---|---|
kind | 资源类型。 | string |
properties | HttpSettings 资源特定的属性 | HttpSettingsProperties |
HttpSettingsProperties
名称 | 说明 | 值 |
---|---|---|
forwardProxy | ForwardProxy | |
requireHttps | bool | |
routes | HttpSettingsRoutes |
ForwardProxy
名称 | 说明 | 值 |
---|---|---|
kind | 资源类型。 | string |
properties | ForwardProxy 资源特定的属性 | ForwardProxyProperties |
ForwardProxyProperties
名称 | 说明 | 值 |
---|---|---|
公约 | “Custom” “NoProxy” 'Standard' |
|
customHostHeaderName | 字符串 | |
customProtoHeaderName | string |
HttpSettingsRoutes
名称 | 说明 | 值 |
---|---|---|
kind | 资源类型。 | string |
properties | HttpSettingsRoutes 资源特定的属性 | HttpSettingsRoutesProperties |
HttpSettingsRoutesProperties
名称 | 说明 | 值 |
---|---|---|
apiPrefix | 字符串 |
IdentityProviders
名称 | 说明 | 值 |
---|---|---|
kind | 资源类型。 | string |
properties | IdentityProviders 资源特定的属性 | IdentityProvidersProperties |
IdentityProvidersProperties
名称 | 说明 | 值 |
---|---|---|
azureActiveDirectory | AzureActiveDirectory | |
customOpenIdConnectProviders | {CustomOpenIdConnectProvider} 的字典 | 对象 (object) |
gitHub | GitHub | |
AzureActiveDirectory
名称 | 说明 | 值 |
---|---|---|
kind | 资源类型。 | string |
properties | AzureActiveDirectory 资源特定的属性 | AzureActiveDirectoryProperties |
AzureActiveDirectoryProperties
名称 | 说明 | 值 |
---|---|---|
enabled | bool | |
isAutoProvisioned | bool | |
login | AzureActiveDirectoryLogin | |
注册 | AzureActiveDirectoryRegistration | |
validation | AzureActiveDirectoryValidation |
AzureActiveDirectoryLogin
名称 | 说明 | 值 |
---|---|---|
kind | 资源类型。 | string |
properties | AzureActiveDirectoryLogin 资源特定的属性 | AzureActiveDirectoryLoginProperties |
AzureActiveDirectoryLoginProperties
名称 | 说明 | 值 |
---|---|---|
disableWWWAuthenticate | bool | |
loginParameters | string[] |
AzureActiveDirectoryRegistration
名称 | 说明 | 值 |
---|---|---|
kind | 资源类型。 | string |
properties | AzureActiveDirectoryRegistration 资源特定的属性 | AzureActiveDirectoryRegistrationProperties |
AzureActiveDirectoryRegistrationProperties
名称 | 说明 | 值 |
---|---|---|
clientId | 字符串 | |
clientSecretCertificateThumbprint | string | |
clientSecretSettingName | 字符串 | |
openIdIssuer | 字符串 |
AzureActiveDirectoryValidation
名称 | 说明 | 值 |
---|---|---|
kind | 资源类型。 | string |
properties | AzureActiveDirectoryValidation 资源特定的属性 | AzureActiveDirectoryValidationProperties |
AzureActiveDirectoryValidationProperties
名称 | 说明 | 值 |
---|---|---|
allowedAudiences | string[] | |
jwtClaimChecks | JwtClaimChecks |
JwtClaimChecks
名称 | 说明 | 值 |
---|---|---|
kind | 资源类型。 | string |
properties | JwtClaimChecks 资源特定的属性 | JwtClaimChecksProperties |
JwtClaimChecksProperties
名称 | 说明 | 值 |
---|---|---|
allowedClientApplications | string[] | |
allowedGroups | string[] |
名称 | 说明 | 值 |
---|---|---|
kind | 资源类型。 | string |
properties | Facebook资源特定的属性 | FacebookProperties |
FacebookProperties
名称 | 说明 | 值 |
---|---|---|
enabled | bool | |
graphApiVersion | 字符串 | |
login | LoginScopes | |
注册 | AppRegistration |
LoginScopes
名称 | 说明 | 值 |
---|---|---|
kind | 资源类型。 | string |
properties | LoginScopes 资源特定的属性 | LoginScopesProperties |
LoginScopesProperties
名称 | 说明 | 值 |
---|---|---|
范围 | string[] |
AppRegistration
名称 | 说明 | 值 |
---|---|---|
kind | 资源类型。 | string |
properties | 特定于 AppRegistration 资源的属性 | AppRegistrationProperties |
AppRegistrationProperties
名称 | 说明 | 值 |
---|---|---|
appId | string | |
appSecretSettingName | 字符串 |
GitHub
名称 | 说明 | 值 |
---|---|---|
kind | 资源类型。 | string |
properties | GitHub 资源特定的属性 | GitHubProperties |
GitHubProperties
名称 | 说明 | 值 |
---|---|---|
enabled | bool | |
login | LoginScopes | |
注册 | ClientRegistration |
ClientRegistration
名称 | 说明 | 值 |
---|---|---|
kind | 资源类型。 | string |
properties | ClientRegistration 资源特定的属性 | ClientRegistrationProperties |
ClientRegistrationProperties
名称 | 说明 | 值 |
---|---|---|
clientId | 字符串 | |
clientSecretSettingName | 字符串 |
名称 | 说明 | 值 |
---|---|---|
kind | 资源类型。 | string |
properties | Google 资源特定的属性 | GoogleProperties |
GoogleProperties
名称 | 说明 | 值 |
---|---|---|
enabled | bool | |
login | LoginScopes | |
注册 | ClientRegistration | |
validation | AllowedAudiencesValidation |
AllowedAudiencesValidation
名称 | 说明 | 值 |
---|---|---|
kind | 资源类型。 | string |
properties | AllowedAudiencesValidation 资源特定的属性 | AllowedAudiencesValidationProperties |
AllowedAudiencesValidationProperties
名称 | 说明 | 值 |
---|---|---|
allowedAudiences | string[] |
名称 | 说明 | 值 |
---|---|---|
kind | 资源类型。 | string |
properties | Twitter 资源特定的属性 | TwitterProperties |
TwitterProperties
名称 | 说明 | 值 |
---|---|---|
enabled | bool | |
注册 | TwitterRegistration |
TwitterRegistration
名称 | 说明 | 值 |
---|---|---|
kind | 资源类型。 | string |
properties | TwitterRegistration 资源特定的属性 | TwitterRegistrationProperties |
TwitterRegistrationProperties
名称 | 说明 | 值 |
---|---|---|
consumerKey | 字符串 | |
consumerSecretSettingName | 字符串 |
登录
名称 | 说明 | 值 |
---|---|---|
kind | 资源类型。 | string |
properties | 登录资源特定的属性 | LoginProperties |
LoginProperties
名称 | 说明 | 值 |
---|---|---|
allowedExternalRedirectUrls | string[] | |
cookieExpiration | CookieExpiration | |
nonce | Nonce | |
preserveUrlFragmentsForLogins | bool | |
routes | LoginRoutes | |
tokenStore | TokenStore |
CookieExpiration
名称 | 说明 | 值 |
---|---|---|
kind | 资源类型。 | string |
properties | CookieExpiration 资源特定的属性 | CookieExpirationProperties |
CookieExpirationProperties
名称 | 说明 | 值 |
---|---|---|
公约 | “FixedTime” “IdentityProviderDerived” |
|
timeToExpiration | string |
Nonce
名称 | 说明 | 值 |
---|---|---|
kind | 资源类型。 | string |
properties | Nonce 资源特定的属性 | NonceProperties |
NonceProperties
名称 | 说明 | 值 |
---|---|---|
nonceExpirationInterval | 字符串 | |
validateNonce | bool |
LoginRoutes
名称 | 说明 | 值 |
---|---|---|
kind | 资源类型。 | string |
properties | LoginRoutes 资源特定的属性 | LoginRoutesProperties |
LoginRoutesProperties
名称 | 说明 | 值 |
---|---|---|
logoutEndpoint | 字符串 |
TokenStore
名称 | 说明 | 值 |
---|---|---|
kind | 资源类型。 | string |
properties | TokenStore 资源特定的属性 | TokenStoreProperties |
TokenStoreProperties
名称 | 说明 | 值 |
---|---|---|
azureBlobStorage | BlobStorageTokenStore | |
enabled | bool | |
fileSystem | FileSystemTokenStore | |
tokenRefreshExtensionHours | int |
BlobStorageTokenStore
名称 | 说明 | 值 |
---|---|---|
kind | 资源类型。 | string |
properties | BlobStorageTokenStore 资源特定的属性 | BlobStorageTokenStoreProperties |
BlobStorageTokenStoreProperties
名称 | 说明 | 值 |
---|---|---|
sasUrlSettingName | string |
FileSystemTokenStore
名称 | 说明 | 值 |
---|---|---|
kind | 资源类型。 | string |
properties | FileSystemTokenStore 资源特定的属性 | FileSystemTokenStoreProperties |
FileSystemTokenStoreProperties
名称 | 说明 | Value |
---|---|---|
目录 | string |
AuthPlatform
名称 | 说明 | 值 |
---|---|---|
kind | 资源类型。 | string |
properties | AuthPlatform 资源特定的属性 | AuthPlatformProperties |
AuthPlatformProperties
名称 | 说明 | 值 |
---|---|---|
configFilePath | string | |
enabled | bool | |
runtimeVersion | 字符串 |
快速入门模板
以下快速入门模板部署此资源类型。
模板 | 说明 |
---|---|
在应用服务上使用 PostgreSQL 数据库的 Airflow Web 应用 |
用于在应用服务上使用 PostgreSQL 数据库部署 Airflow Web 应用的模板 |
Azure 中的 EPiserverCMS |
此模板允许在 Azure 中创建 EpiServerCMS 部署所需的资源 |
使用 Jenkins 和 Azure Web 应用实现 Java CI/CD |
这是使用 Jenkins 和 Azure Web 应用的 Java CI/CD 的示例。 |
Orchard CMS 视频门户 Web 应用 |
此模板提供了一种在启用和配置 Azure 媒体服务模块的情况下,在 Azure 应用服务 Web 应用 上部署 Orchard CMS 的简单方法。 |
适用于 Azure 事件中心 的 PubNub 实时网关 |
适用于 Azure 的 PubNub 实时网关在 PubNub 数据流网络和Azure 事件中心之间提供实时数据流桥。 - 将其视为 PubNub 和 Azure 之间的双向桥梁! |
可缩放的 Umbraco CMS Web 应用 |
此模板提供了一种在 Azure 应用服务 Web 应用 上部署 umbraco CMS Web 应用的简单方法。 |
简单的 Umbraco CMS Web 应用 |
此模板提供了一种在 Azure 应用服务 Web 应用 上部署 umbraco CMS Web 应用的简单方法。 |
App 服务上的 WordPress 与应用内 MySQL 配合使用 |
此模板使用应用中的 MySQL 在 Windows App 服务上部署 WordPress Web 应用 |
企业治理 - AppService、SQL DB、AD、OMS、Runbook |
企业云采用(无论大小)都需要负责任且高效的治理模型才能从其云部署中获取价值。 CloudWise (解决方案) 的代号,是 Azure 合作伙伴快速入门中提供的复合解决方案,是客户、系统集成商和合作伙伴的采用支持者,可提供可自助的自动化治理和运营解决方案,重点是优化成本、提高应用程序 () 可靠性、降低业务风险。 该解决方案突出了可见性和控制的核心治理支柱。 |
使用Azure SQL专用终结点的 Web 应用 |
此模板演示如何创建使用指向 Azure SQL 服务器的专用终结点的 Web 应用 |
Moesif API 分析和盈利 |
该模板会将 Azure API 管理 的 API 调用记录到 Moesif API 分析和盈利平台 |
从 Azure 逻辑应用调用自定义 API |
尽管逻辑应用为各种服务提供了数百个连接器,但你可能希望调用运行自己的代码的 API。 托管自己的 Web API 的最简单且最可缩放的方法之一是使用 Azure 应用服务。 此模板为自定义 API 部署 Web 应用,并使用 Azure Active Directory 身份验证保护该 API。 |
具有 IP 限制的 Web 应用的应用程序网关 |
此模板在 Azure Web 应用前面创建一个应用程序网关,并在 Web 应用上启用了 IP 限制。 |
使用 Azure SQL 后端应用服务环境 |
此模板创建一个应用服务环境,其中包含Azure SQL后端、专用终结点以及通常在专用/隔离环境中使用的关联资源。 |
预配在 App 服务 计划上运行的函数应用 |
此模板在专用托管计划上预配函数应用,这意味着它将像任何App 服务站点一样运行和计费。 |
具有事件中心和托管标识的 Azure 函数应用 |
他的模板在 Linux 消耗计划上预配 Azure 函数应用,以及事件中心、Azure 存储和 Application Insights。 函数应用能够使用托管标识连接到事件中心和存储帐户 |
使用 vnet 集成部署 Azure Function Premium 计划 |
此模板允许将启用了区域虚拟网络集成的 Azure Function Premium 计划部署到新创建的虚拟网络。 |
使用SQL 数据库预配移动应用 |
此模板预配移动应用、SQL 数据库和通知中心。 它在移动应用中为数据库和通知中心配置连接字符串。 |
具有专用终结点的 Web 应用 |
此模板允许创建 Web 应用并通过专用终结点公开它 |
使用内部API 管理和 Web 应用应用程序网关 |
应用程序网关将 Internet 流量路由到虚拟网络 (内部模式) API 管理 实例,该实例为 Azure Web 应用中托管的 Web API 提供服务。 |
使用 Blob 存储连接字符串创建 Azure Web 应用 |
使用 Blob 存储连接字符串创建 Azure Web 应用,模板最初由 Microsoft 的 Jeff Bowles 创作 |
将诊断日志记录到 Blob 容器的 Web 应用 |
将启用了诊断日志记录的 Web 应用部署到存储帐户 Blob 容器。 |
在启用了 Java 13 和 Tomcat 9 的 Azure 上创建 Web 应用 |
此模板在启用了 Java 13 和 Tomcat 9 的 Azure 上创建 Web 应用,使你可以在 Azure 中运行 Java 应用程序。 模板由 Microsoft 的 Donovan Brown 创作。 |
将 Application Insights 发送到 Log Analytics 的 Web 应用 |
此模板将帮助支持 microsoft.insights/components 的新 API 版本。 从 2020-02-02 开始,创建 Application Inisghts 时需要 WorkspaceID。此模板将部署App 服务计划、App 服务、Application Insights、Log Analytics 工作区并将其全部挂钩在一起。 |
具有托管标识、SQL Server和 ΑΙ 的 Web 应用 |
为应用 + 数据 + 托管标识 + 监视部署 Azure 基础结构的简单示例 |
使用模板创建 Web 应用 + Redis 缓存 + SQL DB |
此模板使用 Redis 缓存和SQL 数据库创建 Azure Web 应用。 |
使用SQL 数据库预配 Web 应用 |
此模板预配 Web 应用、SQL 数据库、自动缩放设置、警报规则和 App Insights。 它在 Web 应用中为数据库配置连接字符串。 |
使用模板创建 Web 应用和 Redis 缓存 |
此模板使用 Redis 缓存创建 Azure Web 应用。 |
具有自定义部署槽位的 Web 应用 |
此模板提供了一种在 Azure Web 应用 上使用自定义部署槽位部署 Web 应用的简单方法。 |
使用 PostgreSQL 的 Linux 上的 Airflow Docker Web 应用 |
此模板提供了一种在 Linux Web 应用上使用 Azure Database for PostgreSQL 部署 puckel/docker-airflow 映像 (最新标记) 的简单方法 |
具有 Azure SQL 的 Linux 上的 Sonarqube Docker Web 应用 |
此模板使用官方 Sonarqube 映像在 Azure 应用服务 Web 应用 Linux 容器中部署 Sonarqube,并由 Azure SQL 服务器提供支持。 |
具有 MySQL 的 Linux 上的 Sonarqube Docker Web 应用 |
此模板提供了一种在 Linux Web 应用上使用 Azure Database for MySQL 部署 Sonarqube docker 映像 (alpine 标记) 的简单方法 |
具有 PostgreSQL 的 Linux 上的 Sonarqube Docker Web 应用 |
此模板提供了一种在 Linux Web 应用上使用 Azure Database for PostgreSQL (预览版部署 Sonarqube docker 映像 (alpine 标记) 的简单方法) |
使用 Azure database for MySQL 的 Web 应用 |
此模板提供了一种使用 Azure database for MySQL 在 Azure 应用服务 Web 应用 上部署 Web 应用的简单方法。 |
Linux 上的 Web 应用和 PostgreSQL |
此模板提供了一种使用 Azure Database for PostgreSQL 在 Linux 上部署 Web 应用的简单方法。 |
具有 VNet 注入和专用终结点的 Web 应用 |
通过此模板,可以使用两个 Web 应用(前端和后端)创建安全的端到端解决方案,前端将通过 VNet 注入和专用终结点安全地使用后端 |
ARM 模板资源定义
可以使用针对以下操作部署站点/配置资源类型:
- 资源组 - 请参阅 资源组部署命令
有关每个 API 版本中更改的属性的列表,请参阅 更改日志。
名称属性的选项
sites/config 资源接受基于 name 属性的值的不同属性。
本文介绍设置 name: 'authsettingsV2'
时可用的属性。
有关其他选项,请参阅:
- appsettings
- authsettings
- azurestorageaccounts
- backup
- connectionstrings
- logs
- metadata
- pushsettings
- slotConfigNames
- web
资源格式
若要创建 Microsoft.Web/sites/config 资源,请将以下 JSON 添加到模板。
{
"type": "Microsoft.Web/sites/config",
"apiVersion": "2020-10-01",
"name": "authsettingsV2",
"kind": "string",
"properties": {
"globalValidation": {
"kind": "string",
"properties": {
"excludedPaths": [ "string" ],
"redirectToProvider": "string",
"requireAuthentication": "bool",
"unauthenticatedClientAction": "string"
}
},
"httpSettings": {
"kind": "string",
"properties": {
"forwardProxy": {
"kind": "string",
"properties": {
"convention": "string",
"customHostHeaderName": "string",
"customProtoHeaderName": "string"
}
},
"requireHttps": "bool",
"routes": {
"kind": "string",
"properties": {
"apiPrefix": "string"
}
}
}
},
"identityProviders": {
"kind": "string",
"properties": {
"azureActiveDirectory": {
"kind": "string",
"properties": {
"enabled": "bool",
"isAutoProvisioned": "bool",
"login": {
"kind": "string",
"properties": {
"disableWWWAuthenticate": "bool",
"loginParameters": [ "string" ]
}
},
"registration": {
"kind": "string",
"properties": {
"clientId": "string",
"clientSecretCertificateThumbprint": "string",
"clientSecretSettingName": "string",
"openIdIssuer": "string"
}
},
"validation": {
"kind": "string",
"properties": {
"allowedAudiences": [ "string" ],
"jwtClaimChecks": {
"kind": "string",
"properties": {
"allowedClientApplications": [ "string" ],
"allowedGroups": [ "string" ]
}
}
}
}
}
},
"customOpenIdConnectProviders": {},
"facebook": {
"kind": "string",
"properties": {
"enabled": "bool",
"graphApiVersion": "string",
"login": {
"kind": "string",
"properties": {
"scopes": [ "string" ]
}
},
"registration": {
"kind": "string",
"properties": {
"appId": "string",
"appSecretSettingName": "string"
}
}
}
},
"gitHub": {
"kind": "string",
"properties": {
"enabled": "bool",
"login": {
"kind": "string",
"properties": {
"scopes": [ "string" ]
}
},
"registration": {
"kind": "string",
"properties": {
"clientId": "string",
"clientSecretSettingName": "string"
}
}
}
},
"google": {
"kind": "string",
"properties": {
"enabled": "bool",
"login": {
"kind": "string",
"properties": {
"scopes": [ "string" ]
}
},
"registration": {
"kind": "string",
"properties": {
"clientId": "string",
"clientSecretSettingName": "string"
}
},
"validation": {
"kind": "string",
"properties": {
"allowedAudiences": [ "string" ]
}
}
}
},
"twitter": {
"kind": "string",
"properties": {
"enabled": "bool",
"registration": {
"kind": "string",
"properties": {
"consumerKey": "string",
"consumerSecretSettingName": "string"
}
}
}
}
}
},
"login": {
"kind": "string",
"properties": {
"allowedExternalRedirectUrls": [ "string" ],
"cookieExpiration": {
"kind": "string",
"properties": {
"convention": "string",
"timeToExpiration": "string"
}
},
"nonce": {
"kind": "string",
"properties": {
"nonceExpirationInterval": "string",
"validateNonce": "bool"
}
},
"preserveUrlFragmentsForLogins": "bool",
"routes": {
"kind": "string",
"properties": {
"logoutEndpoint": "string"
}
},
"tokenStore": {
"kind": "string",
"properties": {
"azureBlobStorage": {
"kind": "string",
"properties": {
"sasUrlSettingName": "string"
}
},
"enabled": "bool",
"fileSystem": {
"kind": "string",
"properties": {
"directory": "string"
}
},
"tokenRefreshExtensionHours": "int"
}
}
}
},
"platform": {
"kind": "string",
"properties": {
"configFilePath": "string",
"enabled": "bool",
"runtimeVersion": "string"
}
}
}
}
属性值
sites/config-authsettingsV2
名称 | 说明 | Value |
---|---|---|
type | 资源类型 | “Microsoft.Web/sites/config” |
apiVersion | 资源 API 版本 | '2020-10-01' |
name | 资源名称 了解如何在 JSON ARM 模板中为子资源设置名称和类型。 |
“authsettingsV2” |
kind | 资源类型。 | string |
properties | SiteAuthSettingsV2 资源特定的属性 | SiteAuthSettingsV2Properties |
SiteAuthSettingsV2Properties
名称 | 说明 | 值 |
---|---|---|
globalValidation | GlobalValidation | |
httpSettings | HttpSettings | |
identityProviders | IdentityProviders | |
login | 登录 | |
平台 | AuthPlatform |
GlobalValidation
名称 | 说明 | 值 |
---|---|---|
kind | 资源类型。 | string |
properties | GlobalValidation 资源特定的属性 | GlobalValidationProperties |
GlobalValidationProperties
名称 | 说明 | 值 |
---|---|---|
excludedPaths | string[] | |
redirectToProvider | 字符串 | |
requireAuthentication | bool | |
unauthenticatedClientAction | “AllowAnonymous” “RedirectToLoginPage” “Return401” “Return403” |
HttpSettings
名称 | 说明 | 值 |
---|---|---|
kind | 资源类型。 | string |
properties | HttpSettings 资源特定的属性 | HttpSettingsProperties |
HttpSettingsProperties
名称 | 说明 | 值 |
---|---|---|
forwardProxy | ForwardProxy | |
requireHttps | bool | |
routes | HttpSettingsRoutes |
ForwardProxy
名称 | 说明 | 值 |
---|---|---|
kind | 资源类型。 | string |
properties | ForwardProxy 资源特定的属性 | ForwardProxyProperties |
ForwardProxyProperties
名称 | 说明 | 值 |
---|---|---|
公约 | “Custom” “NoProxy” “Standard” |
|
customHostHeaderName | 字符串 | |
customProtoHeaderName | 字符串 |
HttpSettingsRoutes
名称 | 说明 | 值 |
---|---|---|
kind | 资源类型。 | string |
properties | HttpSettingsRoutes 资源特定的属性 | HttpSettingsRoutesProperties |
HttpSettingsRoutesProperties
名称 | 说明 | 值 |
---|---|---|
apiPrefix | 字符串 |
IdentityProviders
名称 | 说明 | 值 |
---|---|---|
kind | 资源类型。 | string |
properties | IdentityProviders 资源特定的属性 | IdentityProvidersProperties |
IdentityProvidersProperties
名称 | 说明 | 值 |
---|---|---|
azureActiveDirectory | AzureActiveDirectory | |
customOpenIdConnectProviders | {CustomOpenIdConnectProvider} 的字典 | 对象 (object) |
gitHub | GitHub | |
AzureActiveDirectory
名称 | 说明 | 值 |
---|---|---|
kind | 资源类型。 | string |
properties | AzureActiveDirectory 资源特定的属性 | AzureActiveDirectoryProperties |
AzureActiveDirectoryProperties
名称 | 说明 | 值 |
---|---|---|
enabled | bool | |
isAutoProvisioned | bool | |
login | AzureActiveDirectoryLogin | |
注册 | AzureActiveDirectoryRegistration | |
validation | AzureActiveDirectoryValidation |
AzureActiveDirectoryLogin
名称 | 说明 | 值 |
---|---|---|
kind | 资源类型。 | string |
properties | AzureActiveDirectoryLogin 资源特定的属性 | AzureActiveDirectoryLoginProperties |
AzureActiveDirectoryLoginProperties
名称 | 说明 | 值 |
---|---|---|
disableWWWAuthenticate | bool | |
loginParameters | string[] |
AzureActiveDirectoryRegistration
名称 | 说明 | 值 |
---|---|---|
kind | 资源类型。 | string |
properties | AzureActiveDirectoryRegistration 资源特定的属性 | AzureActiveDirectoryRegistrationProperties |
AzureActiveDirectoryRegistrationProperties
名称 | 说明 | 值 |
---|---|---|
clientId | 字符串 | |
clientSecretCertificateThumbprint | 字符串 | |
clientSecretSettingName | string | |
openIdIssuer | 字符串 |
AzureActiveDirectoryValidation
名称 | 说明 | 值 |
---|---|---|
kind | 资源类型。 | string |
properties | AzureActiveDirectoryValidation 资源特定的属性 | AzureActiveDirectoryValidationProperties |
AzureActiveDirectoryValidationProperties
名称 | 说明 | 值 |
---|---|---|
allowedAudiences | string[] | |
jwtClaimChecks | JwtClaimChecks |
JwtClaimChecks
名称 | 说明 | 值 |
---|---|---|
kind | 资源类型。 | string |
properties | JwtClaimChecks 资源特定的属性 | JwtClaimChecksProperties |
JwtClaimChecksProperties
名称 | 说明 | 值 |
---|---|---|
allowedClientApplications | string[] | |
allowedGroups | string[] |
名称 | 说明 | 值 |
---|---|---|
kind | 资源类型。 | string |
properties | Facebook资源特定的属性 | FacebookProperties |
FacebookProperties
名称 | 说明 | 值 |
---|---|---|
enabled | bool | |
graphApiVersion | string | |
login | LoginScopes | |
注册 | AppRegistration |
LoginScopes
名称 | 说明 | 值 |
---|---|---|
kind | 资源类型。 | string |
properties | LoginScopes 资源特定的属性 | LoginScopesProperties |
LoginScopesProperties
名称 | 说明 | 值 |
---|---|---|
范围 | string[] |
AppRegistration
名称 | 说明 | 值 |
---|---|---|
kind | 资源类型。 | string |
properties | AppRegistration 资源特定的属性 | AppRegistrationProperties |
AppRegistrationProperties
名称 | 说明 | 值 |
---|---|---|
appId | string | |
appSecretSettingName | 字符串 |
GitHub
名称 | 说明 | 值 |
---|---|---|
kind | 资源类型。 | string |
properties | GitHub 资源特定的属性 | GitHubProperties |
GitHubProperties
名称 | 说明 | 值 |
---|---|---|
enabled | bool | |
login | LoginScopes | |
注册 | ClientRegistration |
ClientRegistration
名称 | 说明 | 值 |
---|---|---|
kind | 资源类型。 | string |
properties | ClientRegistration 资源特定的属性 | ClientRegistrationProperties |
ClientRegistrationProperties
名称 | 说明 | 值 |
---|---|---|
clientId | 字符串 | |
clientSecretSettingName | string |
名称 | 说明 | 值 |
---|---|---|
kind | 资源类型。 | string |
properties | Google 资源特定的属性 | GoogleProperties |
GoogleProperties
名称 | 说明 | 值 |
---|---|---|
enabled | bool | |
login | LoginScopes | |
注册 | ClientRegistration | |
validation | AllowedAudiencesValidation |
AllowedAudiencesValidation
名称 | 说明 | 值 |
---|---|---|
kind | 资源类型。 | string |
properties | AllowedAudiencesValidation 资源特定的属性 | AllowedAudiencesValidationProperties |
AllowedAudiencesValidationProperties
名称 | 说明 | 值 |
---|---|---|
allowedAudiences | string[] |
名称 | 说明 | 值 |
---|---|---|
kind | 资源类型。 | string |
properties | Twitter 资源特定的属性 | TwitterProperties |
TwitterProperties
名称 | 说明 | 值 |
---|---|---|
enabled | bool | |
注册 | TwitterRegistration |
TwitterRegistration
名称 | 说明 | 值 |
---|---|---|
kind | 资源类型。 | string |
properties | TwitterRegistration 资源特定的属性 | TwitterRegistrationProperties |
TwitterRegistrationProperties
名称 | 说明 | 值 |
---|---|---|
consumerKey | string | |
consumerSecretSettingName | string |
登录
名称 | 说明 | 值 |
---|---|---|
kind | 资源类型。 | string |
properties | 登录资源特定的属性 | LoginProperties |
LoginProperties
名称 | 说明 | 值 |
---|---|---|
allowedExternalRedirectUrls | string[] | |
cookieExpiration | CookieExpiration | |
nonce | Nonce | |
preserveUrlFragmentsForLogins | bool | |
routes | LoginRoutes | |
tokenStore | TokenStore |
CookieExpiration
名称 | 说明 | 值 |
---|---|---|
kind | 资源类型。 | string |
properties | CookieExpiration 资源特定的属性 | CookieExpirationProperties |
CookieExpirationProperties
名称 | 说明 | 值 |
---|---|---|
公约 | “FixedTime” “IdentityProviderDerived” |
|
timeToExpiration | string |
Nonce
名称 | 说明 | 值 |
---|---|---|
kind | 资源类型。 | string |
properties | Nonce 资源特定的属性 | NonceProperties |
NonceProperties
名称 | 说明 | 值 |
---|---|---|
nonceExpirationInterval | 字符串 | |
validateNonce | bool |
LoginRoutes
名称 | 说明 | 值 |
---|---|---|
kind | 资源类型。 | string |
properties | LoginRoutes 资源特定的属性 | LoginRoutesProperties |
LoginRoutesProperties
名称 | 说明 | 值 |
---|---|---|
logoutEndpoint | 字符串 |
TokenStore
名称 | 说明 | 值 |
---|---|---|
kind | 资源类型。 | string |
properties | TokenStore 资源特定的属性 | TokenStoreProperties |
TokenStoreProperties
名称 | 说明 | 值 |
---|---|---|
azureBlobStorage | BlobStorageTokenStore | |
enabled | bool | |
fileSystem | FileSystemTokenStore | |
tokenRefreshExtensionHours | int |
BlobStorageTokenStore
名称 | 说明 | 值 |
---|---|---|
kind | 资源类型。 | string |
properties | BlobStorageTokenStore 资源特定的属性 | BlobStorageTokenStoreProperties |
BlobStorageTokenStoreProperties
名称 | 说明 | 值 |
---|---|---|
sasUrlSettingName | string |
FileSystemTokenStore
名称 | 说明 | 值 |
---|---|---|
kind | 资源类型。 | string |
properties | FileSystemTokenStore 资源特定的属性 | FileSystemTokenStoreProperties |
FileSystemTokenStoreProperties
名称 | 说明 | Value |
---|---|---|
目录 | string |
AuthPlatform
名称 | 说明 | 值 |
---|---|---|
kind | 资源类型。 | string |
properties | AuthPlatform 资源特定的属性 | AuthPlatformProperties |
AuthPlatformProperties
名称 | 说明 | 值 |
---|---|---|
configFilePath | 字符串 | |
enabled | bool | |
runtimeVersion | 字符串 |
快速入门模板
以下快速入门模板部署此资源类型。
模板 | 说明 |
---|---|
在应用服务上使用 PostgreSQL 数据库的 Airflow Web 应用 |
用于在应用服务上使用 PostgreSQL 数据库部署 Airflow Web 应用的模板 |
Azure 中的 EPiserverCMS |
此模板允许在 Azure 中创建 EpiServerCMS 部署所需的资源 |
使用 Jenkins 和 Azure Web 应用实现 Java CI/CD |
这是使用 Jenkins 和 Azure Web 应用的 Java CI/CD 的示例。 |
Orchard CMS 视频门户 Web 应用 |
此模板提供了一种在启用和配置 Azure 媒体服务模块的情况下,在 Azure 应用服务 Web 应用 上部署 Orchard CMS 的简单方法。 |
适用于 Azure 事件中心 的 PubNub 实时网关 |
适用于 Azure 的 PubNub 实时网关在 PubNub 数据流网络和Azure 事件中心之间提供实时数据流桥。 - 将其视为 PubNub 和 Azure 之间的双向桥梁! |
可缩放的 Umbraco CMS Web 应用 |
此模板提供了一种在 Azure 应用服务 Web 应用 上部署 umbraco CMS Web 应用的简单方法。 |
简单的 Umbraco CMS Web 应用 |
此模板提供了一种在 Azure 应用服务 Web 应用 上部署 umbraco CMS Web 应用的简单方法。 |
App 服务上的 WordPress 与应用内 MySQL 配合使用 |
此模板使用应用中的 MySQL 在 Windows App 服务上部署 WordPress Web 应用 |
企业治理 - AppService、SQL DB、AD、OMS、Runbook |
企业云采用(无论大小)都需要负责任且高效的治理模型才能从其云部署中获取价值。 CloudWise (解决方案) 的代号,是 Azure 合作伙伴快速入门中提供的复合解决方案,是客户、系统集成商和合作伙伴的采用支持者,可提供可自助的自动化治理和运营解决方案,重点是优化成本、提高应用程序 () 可靠性、降低业务风险。 该解决方案突出了可见性和控制的核心治理支柱。 |
使用Azure SQL专用终结点的 Web 应用 |
此模板演示如何创建使用指向 Azure SQL 服务器的专用终结点的 Web 应用 |
Moesif API 分析和盈利 |
该模板会将 Azure API 管理 的 API 调用记录到 Moesif API 分析和盈利平台 |
从 Azure 逻辑应用调用自定义 API |
尽管逻辑应用为各种服务提供了数百个连接器,但你可能希望调用运行自己的代码的 API。 托管自己的 Web API 的最简单且最可缩放的方法之一是使用 Azure 应用服务。 此模板为自定义 API 部署 Web 应用,并使用 Azure Active Directory 身份验证保护该 API。 |
具有 IP 限制的 Web 应用的应用程序网关 |
此模板在 Azure Web 应用前面创建一个应用程序网关,并在 Web 应用上启用了 IP 限制。 |
使用 Azure SQL 后端应用服务环境 |
此模板创建一个应用服务环境,其中包含Azure SQL后端、专用终结点以及通常在专用/隔离环境中使用的关联资源。 |
预配在 App 服务 计划上运行的函数应用 |
此模板在专用托管计划上预配函数应用,这意味着它将像任何App 服务站点一样运行和计费。 |
具有事件中心和托管标识的 Azure 函数应用 |
他的模板在 Linux 消耗计划上预配 Azure 函数应用,以及事件中心、Azure 存储和 Application Insights。 函数应用能够使用托管标识连接到事件中心和存储帐户 |
使用 vnet 集成部署 Azure Function Premium 计划 |
此模板允许将启用了区域虚拟网络集成的 Azure Function Premium 计划部署到新创建的虚拟网络。 |
使用SQL 数据库预配移动应用 |
此模板预配移动应用、SQL 数据库和通知中心。 它在移动应用中为数据库和通知中心配置连接字符串。 |
具有专用终结点的 Web 应用 |
此模板允许创建 Web 应用并通过专用终结点公开它 |
使用内部API 管理和 Web 应用应用程序网关 |
应用程序网关将 Internet 流量路由到虚拟网络 (内部模式) API 管理 实例,该实例为 Azure Web 应用中托管的 Web API 提供服务。 |
使用 Blob 存储连接字符串创建 Azure Web 应用 |
使用 Blob 存储连接字符串创建 Azure Web 应用,模板最初由 Microsoft 的 Jeff Bowles 创作 |
将诊断日志记录到 Blob 容器的 Web 应用 |
将启用了诊断日志记录的 Web 应用部署到存储帐户 Blob 容器。 |
在启用了 Java 13 和 Tomcat 9 的 Azure 上创建 Web 应用 |
此模板在启用了 Java 13 和 Tomcat 9 的 Azure 上创建 Web 应用,使你可以在 Azure 中运行 Java 应用程序。 模板由 Microsoft 的 Donovan Brown 创作。 |
将 Application Insights 发送到 Log Analytics 的 Web 应用 |
此模板将帮助支持 microsoft.insights/components 的新 API 版本。 从 2020-02-02 开始,创建 Application Inisghts 时需要 WorkspaceID。此模板将部署App 服务计划、App 服务、Application Insights、Log Analytics 工作区并将其全部挂钩在一起。 |
具有托管标识、SQL Server和 ΑΙ 的 Web 应用 |
为应用 + 数据 + 托管标识 + 监视部署 Azure 基础结构的简单示例 |
使用模板创建 Web 应用 + Redis 缓存 + SQL DB |
此模板使用 Redis 缓存和SQL 数据库创建 Azure Web 应用。 |
使用SQL 数据库预配 Web 应用 |
此模板预配 Web 应用、SQL 数据库、自动缩放设置、警报规则和 App Insights。 它在 Web 应用中为数据库配置连接字符串。 |
使用模板创建 Web 应用和 Redis 缓存 |
此模板使用 Redis 缓存创建 Azure Web 应用。 |
具有自定义部署槽位的 Web 应用 |
此模板提供了一种在 Azure Web 应用 上部署具有自定义部署槽位的 Web 应用的简单方法。 |
在 Linux 上使用 PostgreSQL 的 Airflow Docker Web 应用 |
此模板提供了一种在 Linux Web 应用上使用 Azure Database for PostgreSQL 部署 puckel/docker-airflow 映像 (最新标记) 的简单方法 |
具有 Azure SQL 的 Linux 上的 Sonarqube Docker Web 应用 |
此模板使用官方 Sonarqube 映像在 Azure 应用服务 Web 应用 Linux 容器中部署 Sonarqube,并由 Azure SQL 服务器提供支持。 |
具有 MySQL 的 Linux 上的 Sonarqube Docker Web 应用 |
此模板提供了一种在 Linux Web 应用上使用 Azure Database for MySQL 部署 Sonarqube docker 映像 (alpine 标记) 的简单方法 |
具有 PostgreSQL 的 Linux 上的 Sonarqube Docker Web 应用 |
此模板提供了一种在 Linux Web 应用上使用 Azure Database for PostgreSQL (预览版部署 Sonarqube docker 映像 (alpine 标记) 的简单方法) |
使用 Azure database for MySQL 的 Web 应用 |
此模板提供了一种使用 Azure database for MySQL 在 Azure 应用服务 Web 应用 上部署 Web 应用的简单方法。 |
Linux 上的 Web 应用和 PostgreSQL |
此模板提供了一种使用 Azure Database for PostgreSQL 在 Linux 上部署 Web 应用的简单方法。 |
具有 VNet 注入和专用终结点的 Web 应用 |
通过此模板,可以使用两个 Web 应用(前端和后端)创建安全的端到端解决方案,前端将通过 VNet 注入和专用终结点安全地使用后端 |
Terraform (AzAPI 提供程序) 资源定义
可以使用针对以下操作部署站点/配置资源类型:
- 资源组
有关每个 API 版本中更改的属性的列表,请参阅 更改日志。
名称属性的选项
sites/config 资源接受基于 name 属性的值的不同属性。
本文介绍设置 name: 'authsettingsV2'
时可用的属性。
有关其他选项,请参阅:
- appsettings
- authsettings
- azurestorageaccounts
- backup
- connectionstrings
- logs
- metadata
- pushsettings
- slotConfigNames
- web
资源格式
若要创建 Microsoft.Web/sites/config 资源,请将以下 Terraform 添加到模板。
resource "azapi_resource" "symbolicname" {
type = "Microsoft.Web/sites/config@2020-10-01"
name = "authsettingsV2"
parent_id = "string"
body = jsonencode({
properties = {
globalValidation = {
kind = "string"
properties = {
excludedPaths = [
"string"
]
redirectToProvider = "string"
requireAuthentication = bool
unauthenticatedClientAction = "string"
}
}
httpSettings = {
kind = "string"
properties = {
forwardProxy = {
kind = "string"
properties = {
convention = "string"
customHostHeaderName = "string"
customProtoHeaderName = "string"
}
}
requireHttps = bool
routes = {
kind = "string"
properties = {
apiPrefix = "string"
}
}
}
}
identityProviders = {
kind = "string"
properties = {
azureActiveDirectory = {
kind = "string"
properties = {
enabled = bool
isAutoProvisioned = bool
login = {
kind = "string"
properties = {
disableWWWAuthenticate = bool
loginParameters = [
"string"
]
}
}
registration = {
kind = "string"
properties = {
clientId = "string"
clientSecretCertificateThumbprint = "string"
clientSecretSettingName = "string"
openIdIssuer = "string"
}
}
validation = {
kind = "string"
properties = {
allowedAudiences = [
"string"
]
jwtClaimChecks = {
kind = "string"
properties = {
allowedClientApplications = [
"string"
]
allowedGroups = [
"string"
]
}
}
}
}
}
}
customOpenIdConnectProviders = {}
facebook = {
kind = "string"
properties = {
enabled = bool
graphApiVersion = "string"
login = {
kind = "string"
properties = {
scopes = [
"string"
]
}
}
registration = {
kind = "string"
properties = {
appId = "string"
appSecretSettingName = "string"
}
}
}
}
gitHub = {
kind = "string"
properties = {
enabled = bool
login = {
kind = "string"
properties = {
scopes = [
"string"
]
}
}
registration = {
kind = "string"
properties = {
clientId = "string"
clientSecretSettingName = "string"
}
}
}
}
google = {
kind = "string"
properties = {
enabled = bool
login = {
kind = "string"
properties = {
scopes = [
"string"
]
}
}
registration = {
kind = "string"
properties = {
clientId = "string"
clientSecretSettingName = "string"
}
}
validation = {
kind = "string"
properties = {
allowedAudiences = [
"string"
]
}
}
}
}
twitter = {
kind = "string"
properties = {
enabled = bool
registration = {
kind = "string"
properties = {
consumerKey = "string"
consumerSecretSettingName = "string"
}
}
}
}
}
}
login = {
kind = "string"
properties = {
allowedExternalRedirectUrls = [
"string"
]
cookieExpiration = {
kind = "string"
properties = {
convention = "string"
timeToExpiration = "string"
}
}
nonce = {
kind = "string"
properties = {
nonceExpirationInterval = "string"
validateNonce = bool
}
}
preserveUrlFragmentsForLogins = bool
routes = {
kind = "string"
properties = {
logoutEndpoint = "string"
}
}
tokenStore = {
kind = "string"
properties = {
azureBlobStorage = {
kind = "string"
properties = {
sasUrlSettingName = "string"
}
}
enabled = bool
fileSystem = {
kind = "string"
properties = {
directory = "string"
}
}
tokenRefreshExtensionHours = int
}
}
}
}
platform = {
kind = "string"
properties = {
configFilePath = "string"
enabled = bool
runtimeVersion = "string"
}
}
}
kind = "string"
})
}
属性值
sites/config-authsettingsV2
名称 | 说明 | Value |
---|---|---|
type | 资源类型 | “Microsoft.Web/sites/config@2020-10-01” |
name | 资源名称 | “authsettingsV2” |
parent_id | 此资源的父资源 ID。 | 类型为“站点”的资源的 ID |
kind | 资源类型。 | string |
properties | SiteAuthSettingsV2 资源特定的属性 | SiteAuthSettingsV2Properties |
SiteAuthSettingsV2Properties
名称 | 说明 | 值 |
---|---|---|
globalValidation | GlobalValidation | |
httpSettings | HttpSettings | |
identityProviders | IdentityProviders | |
login | 登录 | |
平台 | AuthPlatform |
GlobalValidation
名称 | 说明 | 值 |
---|---|---|
kind | 资源类型。 | string |
properties | GlobalValidation 资源特定的属性 | GlobalValidationProperties |
GlobalValidationProperties
名称 | 说明 | 值 |
---|---|---|
excludedPaths | string[] | |
redirectToProvider | string | |
requireAuthentication | bool | |
unauthenticatedClientAction | “AllowAnonymous” “RedirectToLoginPage” “Return401” “Return403” |
HttpSettings
名称 | 说明 | 值 |
---|---|---|
kind | 资源类型。 | string |
properties | HttpSettings 资源特定的属性 | HttpSettingsProperties |
HttpSettingsProperties
名称 | 说明 | 值 |
---|---|---|
forwardProxy | ForwardProxy | |
requireHttps | bool | |
routes | HttpSettingsRoutes |
ForwardProxy
名称 | 说明 | 值 |
---|---|---|
kind | 资源类型。 | string |
properties | ForwardProxy 资源特定的属性 | ForwardProxyProperties |
ForwardProxyProperties
名称 | 说明 | 值 |
---|---|---|
公约 | “Custom” “NoProxy” “Standard” |
|
customHostHeaderName | 字符串 | |
customProtoHeaderName | 字符串 |
HttpSettingsRoutes
名称 | 说明 | 值 |
---|---|---|
kind | 资源类型。 | string |
properties | HttpSettingsRoutes 资源特定的属性 | HttpSettingsRoutesProperties |
HttpSettingsRoutesProperties
名称 | 说明 | 值 |
---|---|---|
apiPrefix | 字符串 |
IdentityProviders
名称 | 说明 | 值 |
---|---|---|
kind | 资源类型。 | string |
properties | IdentityProviders 资源特定的属性 | IdentityProvidersProperties |
IdentityProvidersProperties
名称 | 说明 | 值 |
---|---|---|
azureActiveDirectory | AzureActiveDirectory | |
customOpenIdConnectProviders | {CustomOpenIdConnectProvider} 的字典 | 对象 (object) |
gitHub | GitHub | |
AzureActiveDirectory
名称 | 说明 | 值 |
---|---|---|
kind | 资源类型。 | string |
properties | AzureActiveDirectory 资源特定的属性 | AzureActiveDirectoryProperties |
AzureActiveDirectoryProperties
名称 | 说明 | 值 |
---|---|---|
enabled | bool | |
isAutoProvisioned | bool | |
login | AzureActiveDirectoryLogin | |
注册 | AzureActiveDirectoryRegistration | |
validation | AzureActiveDirectoryValidation |
AzureActiveDirectoryLogin
名称 | 说明 | 值 |
---|---|---|
kind | 资源类型。 | string |
properties | AzureActiveDirectoryLogin 资源特定的属性 | AzureActiveDirectoryLoginProperties |
AzureActiveDirectoryLoginProperties
名称 | 说明 | 值 |
---|---|---|
disableWWWAuthenticate | bool | |
loginParameters | string[] |
AzureActiveDirectoryRegistration
名称 | 说明 | 值 |
---|---|---|
kind | 资源类型。 | string |
properties | AzureActiveDirectoryRegistration 资源特定的属性 | AzureActiveDirectoryRegistrationProperties |
AzureActiveDirectoryRegistrationProperties
名称 | 说明 | 值 |
---|---|---|
clientId | 字符串 | |
clientSecretCertificateThumbprint | 字符串 | |
clientSecretSettingName | 字符串 | |
openIdIssuer | 字符串 |
AzureActiveDirectoryValidation
名称 | 说明 | 值 |
---|---|---|
kind | 资源类型。 | string |
properties | AzureActiveDirectoryValidation 资源特定的属性 | AzureActiveDirectoryValidationProperties |
AzureActiveDirectoryValidationProperties
名称 | 说明 | 值 |
---|---|---|
allowedAudiences | string[] | |
jwtClaimChecks | JwtClaimChecks |
JwtClaimChecks
名称 | 说明 | 值 |
---|---|---|
kind | 资源类型。 | string |
properties | JwtClaimChecks 资源特定的属性 | JwtClaimChecksProperties |
JwtClaimChecksProperties
名称 | 说明 | 值 |
---|---|---|
allowedClientApplications | string[] | |
allowedGroups | string[] |
名称 | 说明 | 值 |
---|---|---|
kind | 资源类型。 | string |
properties | Facebook资源特定的属性 | FacebookProperties |
FacebookProperties
名称 | 说明 | 值 |
---|---|---|
enabled | bool | |
graphApiVersion | string | |
login | LoginScopes | |
注册 | AppRegistration |
LoginScopes
名称 | 说明 | 值 |
---|---|---|
kind | 资源类型。 | string |
properties | LoginScopes 资源特定的属性 | LoginScopesProperties |
LoginScopesProperties
名称 | 说明 | 值 |
---|---|---|
范围 | string[] |
AppRegistration
名称 | 说明 | 值 |
---|---|---|
kind | 资源类型。 | string |
properties | AppRegistration 资源特定的属性 | AppRegistrationProperties |
AppRegistrationProperties
名称 | 说明 | 值 |
---|---|---|
appId | string | |
appSecretSettingName | 字符串 |
GitHub
名称 | 说明 | 值 |
---|---|---|
kind | 资源类型。 | string |
properties | GitHub 资源特定的属性 | GitHubProperties |
GitHubProperties
名称 | 说明 | 值 |
---|---|---|
enabled | bool | |
login | LoginScopes | |
注册 | ClientRegistration |
ClientRegistration
名称 | 说明 | 值 |
---|---|---|
kind | 资源类型。 | string |
properties | ClientRegistration 资源特定的属性 | ClientRegistrationProperties |
ClientRegistrationProperties
名称 | 说明 | 值 |
---|---|---|
clientId | 字符串 | |
clientSecretSettingName | 字符串 |
名称 | 说明 | 值 |
---|---|---|
kind | 资源类型。 | string |
properties | Google 资源特定的属性 | GoogleProperties |
GoogleProperties
名称 | 说明 | 值 |
---|---|---|
enabled | bool | |
login | LoginScopes | |
注册 | ClientRegistration | |
validation | AllowedAudiencesValidation |
AllowedAudiencesValidation
名称 | 说明 | 值 |
---|---|---|
kind | 资源类型。 | string |
properties | AllowedAudiencesValidation 资源特定属性 | AllowedAudiencesValidationProperties |
AllowedAudiencesValidationProperties
名称 | 说明 | 值 |
---|---|---|
allowedAudiences | string[] |
名称 | 说明 | 值 |
---|---|---|
kind | 资源类型。 | string |
properties | Twitter 资源特定的属性 | TwitterProperties |
TwitterProperties
名称 | 说明 | 值 |
---|---|---|
enabled | bool | |
注册 | TwitterRegistration |
TwitterRegistration
名称 | 说明 | 值 |
---|---|---|
kind | 资源类型。 | string |
properties | TwitterRegistration 资源特定的属性 | TwitterRegistrationProperties |
TwitterRegistrationProperties
名称 | 说明 | 值 |
---|---|---|
consumerKey | 字符串 | |
consumerSecretSettingName | string |
登录
名称 | 说明 | 值 |
---|---|---|
kind | 资源类型。 | string |
properties | 登录资源特定的属性 | LoginProperties |
LoginProperties
名称 | 说明 | 值 |
---|---|---|
allowedExternalRedirectUrls | string[] | |
cookieExpiration | CookieExpiration | |
nonce | Nonce | |
preserveUrlFragmentsForLogins | bool | |
routes | LoginRoutes | |
tokenStore | TokenStore |
CookieExpiration
名称 | 说明 | 值 |
---|---|---|
kind | 资源类型。 | string |
properties | CookieExpiration 资源特定的属性 | CookieExpirationProperties |
CookieExpirationProperties
名称 | 说明 | 值 |
---|---|---|
公约 | “FixedTime” “IdentityProviderDerived” |
|
timeToExpiration | string |
Nonce
名称 | 说明 | 值 |
---|---|---|
kind | 资源类型。 | string |
properties | Nonce 资源特定的属性 | NonceProperties |
NonceProperties
名称 | 说明 | 值 |
---|---|---|
nonceExpirationInterval | 字符串 | |
validateNonce | bool |
LoginRoutes
名称 | 说明 | 值 |
---|---|---|
kind | 资源类型。 | string |
properties | LoginRoutes 资源特定的属性 | LoginRoutesProperties |
LoginRoutesProperties
名称 | 说明 | 值 |
---|---|---|
logoutEndpoint | 字符串 |
TokenStore
名称 | 说明 | 值 |
---|---|---|
kind | 资源类型。 | string |
properties | TokenStore 资源特定的属性 | TokenStoreProperties |
TokenStoreProperties
名称 | 说明 | 值 |
---|---|---|
azureBlobStorage | BlobStorageTokenStore | |
enabled | bool | |
fileSystem | FileSystemTokenStore | |
tokenRefreshExtensionHours | int |
BlobStorageTokenStore
名称 | 说明 | 值 |
---|---|---|
kind | 资源类型。 | string |
properties | BlobStorageTokenStore 资源特定的属性 | BlobStorageTokenStoreProperties |
BlobStorageTokenStoreProperties
名称 | 说明 | 值 |
---|---|---|
sasUrlSettingName | 字符串 |
FileSystemTokenStore
名称 | 说明 | 值 |
---|---|---|
kind | 资源类型。 | string |
properties | FileSystemTokenStore 资源特定的属性 | FileSystemTokenStoreProperties |
FileSystemTokenStoreProperties
名称 | 说明 | Value |
---|---|---|
目录 | string |
AuthPlatform
名称 | 说明 | 值 |
---|---|---|
kind | 资源类型。 | string |
properties | AuthPlatform 资源特定的属性 | AuthPlatformProperties |
AuthPlatformProperties
名称 | 说明 | 值 |
---|---|---|
configFilePath | 字符串 | |
enabled | bool | |
runtimeVersion | 字符串 |