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

Microsoft.Web connectionGateways 2016-06-01

Bicep 资源定义

connectionGateways 资源类型可以使用以下目标操作进行部署:

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

资源格式

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

resource symbolicname 'Microsoft.Web/connectionGateways@2016-06-01' = {
  name: 'string'
  location: 'string'
  tags: {
    tagName1: 'tagValue1'
    tagName2: 'tagValue2'
  }
  etag: 'string'
  properties: {
    backendUri: 'string'
    connectionGatewayInstallation: {
      id: 'string'
      location: 'string'
      name: 'string'
      type: 'string'
    }
    contactInformation: [
      'string'
    ]
    description: 'string'
    displayName: 'string'
    machineName: 'string'
    status: any()
  }
}

属性值

connectionGateways

名称 说明 Value
name 资源名称 字符串 (必需)
location 资源位置 string
标记 资源标记 标记名称和值的字典。 请参阅 模板中的标记
etag 资源 ETag string
properties ConnectionGatewayDefinitionProperties

ConnectionGatewayDefinitionProperties

名称 说明 Value
backendUri 后端的 URI 字符串
connectionGatewayInstallation 网关安装参考 ConnectionGatewayReference
contactInformation 网关管理员 string[]
description 网关说明 string
displayName 网关显示名称 字符串
machineName 网关的计算机名称 字符串
状态 网关状态 对于 Bicep,可以使用 any () 函数。

ConnectionGatewayReference

名称 说明 Value
id 资源引用 ID 字符串
location 资源引用位置 字符串
name 资源引用名称 字符串
type 资源引用类型 字符串

ARM 模板资源定义

connectionGateways 资源类型可以使用以下目标操作进行部署:

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

资源格式

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

{
  "type": "Microsoft.Web/connectionGateways",
  "apiVersion": "2016-06-01",
  "name": "string",
  "location": "string",
  "tags": {
    "tagName1": "tagValue1",
    "tagName2": "tagValue2"
  },
  "etag": "string",
  "properties": {
    "backendUri": "string",
    "connectionGatewayInstallation": {
      "id": "string",
      "location": "string",
      "name": "string",
      "type": "string"
    },
    "contactInformation": [ "string" ],
    "description": "string",
    "displayName": "string",
    "machineName": "string",
    "status": {}
  }
}

属性值

connectionGateways

名称 说明 Value
type 资源类型 “Microsoft.Web/connectionGateways”
apiVersion 资源 API 版本 '2016-06-01'
name 资源名称 字符串 (必需)
location 资源位置 string
标记 资源标记 标记名称和值的字典。 请参阅 模板中的标记
etag 资源 ETag string
properties ConnectionGatewayDefinitionProperties

ConnectionGatewayDefinitionProperties

名称 说明
backendUri 后端的 URI 字符串
connectionGatewayInstallation 网关安装参考 ConnectionGatewayReference
contactInformation 网关管理员 string[]
description 网关说明 字符串
displayName 网关显示名称 字符串
machineName 网关的计算机名称 string
状态 网关状态

ConnectionGatewayReference

名称 说明 Value
id 资源引用 ID 字符串
location 资源引用位置 字符串
name 资源引用名称 字符串
type 资源引用类型 字符串

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

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

  • 资源组

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

资源格式

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

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.Web/connectionGateways@2016-06-01"
  name = "string"
  location = "string"
  parent_id = "string"
  tags = {
    tagName1 = "tagValue1"
    tagName2 = "tagValue2"
  }
  body = jsonencode({
    properties = {
      backendUri = "string"
      connectionGatewayInstallation = {
        id = "string"
        location = "string"
        name = "string"
        type = "string"
      }
      contactInformation = [
        "string"
      ]
      description = "string"
      displayName = "string"
      machineName = "string"
    }
    etag = "string"
  })
}

属性值

connectionGateways

名称 说明 Value
type 资源类型 “Microsoft.Web/connectionGateways@2016-06-01”
name 资源名称 字符串 (必需)
location 资源位置 字符串
parent_id 若要部署到资源组,请使用该资源组的 ID。 字符串 (必需)
标记 资源标记 标记名称和值的字典。
etag 资源 ETag string
properties ConnectionGatewayDefinitionProperties

ConnectionGatewayDefinitionProperties

名称 说明
backendUri 后端的 URI 字符串
connectionGatewayInstallation 网关安装参考 ConnectionGatewayReference
contactInformation 网关管理员 string[]
description 网关说明 字符串
displayName 网关显示名称 字符串
machineName 网关的计算机名称 字符串
状态 网关状态

ConnectionGatewayReference

名称 说明 Value
id 资源引用 ID 字符串
location 资源引用位置 字符串
name 资源引用名称 字符串
type 资源引用类型 字符串