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

Microsoft.Web hostingEnvironments/configurations 'customdnssuffix' 2022-03-01

Bicep 资源定义

可以使用面向以下操作部署 hostingEnvironments/configurations 资源类型:

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

名称属性的选项

hostingEnvironments/configurations 资源根据 name 属性的值接受不同的属性。 本文介绍设置 name: 'customdnssuffix'时可用的属性。

有关其他选项,请参阅:

资源格式

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

resource symbolicname 'Microsoft.Web/hostingEnvironments/configurations@2022-03-01' = {
  name: 'customdnssuffix'
  kind: 'string'
  parent: resourceSymbolicName
  properties: {
    certificateUrl: 'string'
    dnsSuffix: 'string'
    keyVaultReferenceIdentity: 'string'
  }
}

属性值

hostingEnvironments/configurations-customdnssuffix

名称 说明
name 资源名称

了解如何在 Bicep 中设置子资源的名称和类型。
'customdnssuffix'
kind 资源类型。 string
父级 (parent) 在 Bicep 中,可以为子资源指定父资源。 仅当子资源在父资源外部声明时,才需要添加此属性。

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

CustomDnsSuffixConfigurationProperties

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

ARM 模板资源定义

可以使用面向以下操作部署 hostingEnvironments/configurations 资源类型:

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

名称属性的选项

hostingEnvironments/configurations 资源根据 name 属性的值接受不同的属性。 本文介绍设置 name: 'customdnssuffix'时可用的属性。

有关其他选项,请参阅:

资源格式

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

{
  "type": "Microsoft.Web/hostingEnvironments/configurations",
  "apiVersion": "2022-03-01",
  "name": "customdnssuffix",
  "kind": "string",
  "properties": {
    "certificateUrl": "string",
    "dnsSuffix": "string",
    "keyVaultReferenceIdentity": "string"
  }
}

属性值

hostingEnvironments/configurations-customdnssuffix

名称 说明 Value
type 资源类型 'Microsoft.Web/hostingEnvironments/configurations'
apiVersion 资源 API 版本 '2022-03-01'
name 资源名称

了解如何在 JSON ARM 模板中设置子资源的名称和类型。
'customdnssuffix'
kind 资源类型。 string
properties CustomDnsSuffixConfiguration 资源特定的属性 CustomDnsSuffixConfigurationProperties

CustomDnsSuffixConfigurationProperties

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

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

可以使用面向以下操作部署 hostingEnvironments/configurations 资源类型:

  • 资源组

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

名称属性的选项

hostingEnvironments/configurations 资源根据 name 属性的值接受不同的属性。 本文介绍设置 name: 'customdnssuffix'时可用的属性。

有关其他选项,请参阅:

资源格式

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

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.Web/hostingEnvironments/configurations@2022-03-01"
  name = "customdnssuffix"
  parent_id = "string"
  body = jsonencode({
    properties = {
      certificateUrl = "string"
      dnsSuffix = "string"
      keyVaultReferenceIdentity = "string"
    }
    kind = "string"
  })
}

属性值

hostingEnvironments/configurations-customdnssuffix

名称 说明 Value
type 资源类型 “Microsoft.Web/hostingEnvironments/configurations@2022-03-01”
name 资源名称 “customdnssuffix”
parent_id 此资源的父资源的 ID。 类型为的资源的 ID: hostingEnvironments
kind 资源类型。 string
properties CustomDnsSuffixConfiguration 资源特定的属性 CustomDnsSuffixConfigurationProperties

CustomDnsSuffixConfigurationProperties

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