你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

Microsoft.Web hostingEnvironments/configurations 2023-01-01

Bicep 资源定义

可以使用目标操作部署 hostingEnvironments/configurations 资源类型:

有关每个 API 版本中已更改属性的列表,请参阅 更改日志

资源格式

若要创建 Microsoft.Web/hostingEnvironments/configurations 资源,请将以下 Bicep 添加到模板。

resource symbolicname 'Microsoft.Web/hostingEnvironments/configurations@2023-01-01' = {
  name: 'string'
  // For remaining properties, see microsoft.web/hostingenvironments/configurations objects
}

microsoft.web/hostingenvironments/configurations 对象

设置 名称 属性以指定对象的类型。

对于 customdnssuffix,请使用:

{
  kind: 'string'
  name: 'customdnssuffix'
  properties: {
    certificateUrl: 'string'
    dnsSuffix: 'string'
    keyVaultReferenceIdentity: 'string'
  }
}

对于 网络,请使用:

{
  kind: 'string'
  name: 'networking'
  properties: {
    allowNewPrivateEndpointConnections: bool
    ftpEnabled: bool
    inboundIpAddressOverride: 'string'
    remoteDebugEnabled: bool
  }
}

属性值

AseV3NetworkingConfigurationProperties

名字 描述 价值
allowNewPrivateEndpointConnections 用于在 ASE 上启用和禁用新的专用终结点连接创建的属性 bool
ftpEnabled 在 ASEV3 上启用或禁用 FTP 的属性 bool
inboundIpAddressOverride 客户提供入站 IP 地址。 只能在 Ase create 上设置。 字符串
remoteDebugEnabled 在 ASEV3 上启用或禁用远程调试的属性 bool

CustomDnsSuffixConfigurationProperties

名字 描述 价值
certificateUrl 引用 Azure Key Vault 证书机密的 URL,该机密应用作具有自定义域后缀的网站的默认 SSL/TLS 证书。 字符串
dnsSuffix 用于 ASE 上部署的所有站点的默认自定义域后缀。 字符串
keyVaultReferenceIdentity 用于解析密钥保管库证书引用的用户分配标识。 如果未指定,将使用系统分配的 ASE 标识(如果可用)。 字符串

microsoft.web/hostingenvironments/configurations

名字 描述 价值
名字 对于类型 Microsoft.Web/hostingEnvironments/configurations,设置为“customdnssuffix”。 对于类型 Microsoft.Web/hostingEnvironments/configurations,设置为“网络”。 “customdnssuffix”
“网络”(必需)

Microsoft.Web/hostingEnvironments/configurations

名字 描述 价值
资源类型。 字符串
名字 资源名称 “customdnssuffix”(必需)
父母 在 Bicep 中,可以为子资源指定父资源。 仅当子资源在父资源外部声明时,才需要添加此属性。

有关详细信息,请参阅 父资源外部的子资源
类型资源的符号名称:hostingEnvironments
性能 CustomDnsSuffixConfiguration 资源特定属性 CustomDnsSuffixConfigurationProperties

Microsoft.Web/hostingEnvironments/configurations

名字 描述 价值
资源类型。 字符串
名字 资源名称 “网络”(必需)
父母 在 Bicep 中,可以为子资源指定父资源。 仅当子资源在父资源外部声明时,才需要添加此属性。

有关详细信息,请参阅 父资源外部的子资源
类型资源的符号名称:hostingEnvironments
性能 AseV3NetworkingConfiguration 资源特定属性 AseV3NetworkingConfigurationProperties

ARM 模板资源定义

可以使用目标操作部署 hostingEnvironments/configurations 资源类型:

有关每个 API 版本中已更改属性的列表,请参阅 更改日志

资源格式

若要创建 Microsoft.Web/hostingEnvironments/configurations 资源,请将以下 JSON 添加到模板。

{
  "name": "string"
  // For remaining properties, see microsoft.web/hostingenvironments/configurations objects
}

microsoft.web/hostingenvironments/configurations 对象

设置 名称 属性以指定对象的类型。

对于 customdnssuffix,请使用:

{
  "kind": "string",
  "name": "customdnssuffix",
  "properties": {
    "certificateUrl": "string",
    "dnsSuffix": "string",
    "keyVaultReferenceIdentity": "string"
  }
}

对于 网络,请使用:

{
  "kind": "string",
  "name": "networking",
  "properties": {
    "allowNewPrivateEndpointConnections": "bool",
    "ftpEnabled": "bool",
    "inboundIpAddressOverride": "string",
    "remoteDebugEnabled": "bool"
  }
}

属性值

AseV3NetworkingConfigurationProperties

名字 描述 价值
allowNewPrivateEndpointConnections 用于在 ASE 上启用和禁用新的专用终结点连接创建的属性 bool
ftpEnabled 在 ASEV3 上启用或禁用 FTP 的属性 bool
inboundIpAddressOverride 客户提供入站 IP 地址。 只能在 Ase create 上设置。 字符串
remoteDebugEnabled 在 ASEV3 上启用或禁用远程调试的属性 bool

CustomDnsSuffixConfigurationProperties

名字 描述 价值
certificateUrl 引用 Azure Key Vault 证书机密的 URL,该机密应用作具有自定义域后缀的网站的默认 SSL/TLS 证书。 字符串
dnsSuffix 用于 ASE 上部署的所有站点的默认自定义域后缀。 字符串
keyVaultReferenceIdentity 用于解析密钥保管库证书引用的用户分配标识。 如果未指定,将使用系统分配的 ASE 标识(如果可用)。 字符串

microsoft.web/hostingenvironments/configurations

名字 描述 价值
名字 对于类型 Microsoft.Web/hostingEnvironments/configurations,设置为“customdnssuffix”。 对于类型 Microsoft.Web/hostingEnvironments/configurations,设置为“网络”。 “customdnssuffix”
“网络”(必需)

Microsoft.Web/hostingEnvironments/configurations

名字 描述 价值
apiVersion API 版本 '2023-01-01'
资源类型。 字符串
名字 资源名称 “customdnssuffix”(必需)
性能 CustomDnsSuffixConfiguration 资源特定属性 CustomDnsSuffixConfigurationProperties
类型 资源类型 “Microsoft.Web/hostingEnvironments/configurations”

Microsoft.Web/hostingEnvironments/configurations

名字 描述 价值
apiVersion API 版本 '2023-01-01'
资源类型。 字符串
名字 资源名称 “网络”(必需)
性能 AseV3NetworkingConfiguration 资源特定属性 AseV3NetworkingConfigurationProperties
类型 资源类型 “Microsoft.Web/hostingEnvironments/configurations”

Terraform (AzAPI 提供程序)资源定义

可以使用目标操作部署 hostingEnvironments/configurations 资源类型:

  • 资源组

有关每个 API 版本中已更改属性的列表,请参阅 更改日志

资源格式

若要创建 Microsoft.Web/hostingEnvironments/configurations 资源,请将以下 Terraform 添加到模板。

resource "azapi_resource" "symbolicname" {
  name = "string"
  // For remaining properties, see microsoft.web/hostingenvironments/configurations objects
}

microsoft.web/hostingenvironments/configurations 对象

设置 名称 属性以指定对象的类型。

对于 customdnssuffix,请使用:

{
  kind = "string"
  name = "customdnssuffix"
  properties = {
    certificateUrl = "string"
    dnsSuffix = "string"
    keyVaultReferenceIdentity = "string"
  }
}

对于 网络,请使用:

{
  kind = "string"
  name = "networking"
  properties = {
    allowNewPrivateEndpointConnections = bool
    ftpEnabled = bool
    inboundIpAddressOverride = "string"
    remoteDebugEnabled = bool
  }
}

属性值

AseV3NetworkingConfigurationProperties

名字 描述 价值
allowNewPrivateEndpointConnections 用于在 ASE 上启用和禁用新的专用终结点连接创建的属性 bool
ftpEnabled 在 ASEV3 上启用或禁用 FTP 的属性 bool
inboundIpAddressOverride 客户提供入站 IP 地址。 只能在 Ase create 上设置。 字符串
remoteDebugEnabled 在 ASEV3 上启用或禁用远程调试的属性 bool

CustomDnsSuffixConfigurationProperties

名字 描述 价值
certificateUrl 引用 Azure Key Vault 证书机密的 URL,该机密应用作具有自定义域后缀的网站的默认 SSL/TLS 证书。 字符串
dnsSuffix 用于 ASE 上部署的所有站点的默认自定义域后缀。 字符串
keyVaultReferenceIdentity 用于解析密钥保管库证书引用的用户分配标识。 如果未指定,将使用系统分配的 ASE 标识(如果可用)。 字符串

microsoft.web/hostingenvironments/configurations

名字 描述 价值
名字 对于类型 Microsoft.Web/hostingEnvironments/configurations,设置为“customdnssuffix”。 对于类型 Microsoft.Web/hostingEnvironments/configurations,设置为“网络”。 “customdnssuffix”
“网络”(必需)

Microsoft.Web/hostingEnvironments/configurations

名字 描述 价值
资源类型。 字符串
名字 资源名称 “customdnssuffix”(必需)
parent_id 此资源的父资源的 ID。 类型资源的 ID:hostingEnvironments
性能 CustomDnsSuffixConfiguration 资源特定属性 CustomDnsSuffixConfigurationProperties
类型 资源类型 “Microsoft.Web/hostingEnvironments/configurations@2023-01-01”

Microsoft.Web/hostingEnvironments/configurations

名字 描述 价值
资源类型。 字符串
名字 资源名称 “网络”(必需)
parent_id 此资源的父资源的 ID。 类型资源的 ID:hostingEnvironments
性能 AseV3NetworkingConfiguration 资源特定属性 AseV3NetworkingConfigurationProperties
类型 资源类型 “Microsoft.Web/hostingEnvironments/configurations@2023-01-01”