Share via


Microsoft.Network virtualNetworkGateways 2021-05-01

Bicep 資源定義

virtualNetworkGateways 資源類型可以使用目標作業來部署:

如需每個 API 版本中已變更屬性的清單,請參閱 變更記錄

資源格式

若要建立 Microsoft.Network/virtualNetworkGateways 資源,請將下列 Bicep 新增至您的範本。

resource symbolicname 'Microsoft.Network/virtualNetworkGateways@2021-05-01' = {
  name: 'string'
  location: 'string'
  tags: {
    tagName1: 'tagValue1'
    tagName2: 'tagValue2'
  }
  extendedLocation: {
    name: 'string'
    type: 'EdgeZone'
  }
  properties: {
    activeActive: bool
    bgpSettings: {
      asn: int
      bgpPeeringAddress: 'string'
      bgpPeeringAddresses: [
        {
          customBgpIpAddresses: [
            'string'
          ]
          ipconfigurationId: 'string'
        }
      ]
      peerWeight: int
    }
    customRoutes: {
      addressPrefixes: [
        'string'
      ]
    }
    disableIPSecReplayProtection: bool
    enableBgp: bool
    enableBgpRouteTranslationForNat: bool
    enableDnsForwarding: bool
    enablePrivateIpAddress: bool
    gatewayDefaultSite: {
      id: 'string'
    }
    gatewayType: 'string'
    ipConfigurations: [
      {
        id: 'string'
        name: 'string'
        properties: {
          privateIPAllocationMethod: 'string'
          publicIPAddress: {
            id: 'string'
          }
          subnet: {
            id: 'string'
          }
        }
      }
    ]
    natRules: [
      {
        id: 'string'
        name: 'string'
        properties: {
          externalMappings: [
            {
              addressSpace: 'string'
              portRange: 'string'
            }
          ]
          internalMappings: [
            {
              addressSpace: 'string'
              portRange: 'string'
            }
          ]
          ipConfigurationId: 'string'
          mode: 'string'
          type: 'string'
        }
      }
    ]
    sku: {
      name: 'string'
      tier: 'string'
    }
    vNetExtendedLocationResourceId: 'string'
    vpnClientConfiguration: {
      aadAudience: 'string'
      aadIssuer: 'string'
      aadTenant: 'string'
      radiusServerAddress: 'string'
      radiusServers: [
        {
          radiusServerAddress: 'string'
          radiusServerScore: int
          radiusServerSecret: 'string'
        }
      ]
      radiusServerSecret: 'string'
      vpnAuthenticationTypes: [
        'string'
      ]
      vpnClientAddressPool: {
        addressPrefixes: [
          'string'
        ]
      }
      vpnClientIpsecPolicies: [
        {
          dhGroup: 'string'
          ikeEncryption: 'string'
          ikeIntegrity: 'string'
          ipsecEncryption: 'string'
          ipsecIntegrity: 'string'
          pfsGroup: 'string'
          saDataSizeKilobytes: int
          saLifeTimeSeconds: int
        }
      ]
      vpnClientProtocols: [
        'string'
      ]
      vpnClientRevokedCertificates: [
        {
          id: 'string'
          name: 'string'
          properties: {
            thumbprint: 'string'
          }
        }
      ]
      vpnClientRootCertificates: [
        {
          id: 'string'
          name: 'string'
          properties: {
            publicCertData: 'string'
          }
        }
      ]
    }
    vpnGatewayGeneration: 'string'
    vpnType: 'string'
  }
}

屬性值

virtualNetworkGateways

名稱 描述
NAME 資源名稱 字串 (必要)

字元限制:1-80

合法字元:
英數字元、底線、句號和連字號。

以英數字元開頭。 以英數字元或底線結尾。
location 資源位置。 字串
tags 資源標籤。 標記名稱和值的字典。 請參閱 範本中的標記
extendedLocation 本機虛擬網路閘道類型的擴充位置。 ExtendedLocation
properties 虛擬網路閘道的屬性。 VirtualNetworkGatewayPropertiesFormat (必要)

ExtendedLocation

名稱 描述
NAME 擴充位置的名稱。 字串
type 擴充位置的類型。 'EdgeZone'

VirtualNetworkGatewayPropertiesFormat

名稱 描述
activeActive ActiveActive 旗標。 bool
bgpSettings 虛擬網路閘道的 BGP 說話者設定。 BgpSettings
customRoutes 位址空間資源的參考,代表客戶針對虛擬網路網關和 VpnClient 所指定的自定義路由地址空間。 AddressSpace
disableIPSecReplayProtection disableIPSecReplayProtection 旗標。 bool
enableBgp 是否啟用此虛擬網路閘道的 BGP。 bool
enableBgpRouteTranslationForNat EnableBgpRouteTranslationForNat 旗標。 bool
enableDnsForwarding 是否啟用 DNS 轉送。 bool
enablePrivateIpAddress 是否需要在此閘道上啟用私人IP以進行連線。 bool
gatewayDefaultSite LocalNetworkGateway 資源的參考,代表具有預設路由的局域網路網站。 拿掉現有的預設網站設定時,請指派 Null 值。 SubResource
gatewayType 此虛擬網路閘道的類型。 'ExpressRoute'
'LocalGateway'
'Vpn'
ipConfigurations 虛擬網路閘道的IP組態。 VirtualNetworkGatewayIPConfiguration[]
natRules 虛擬網路閘道的 NatRules。 VirtualNetworkGatewayNatRule[]
sku VirtualNetworkGatewaySku 資源的參考,代表針對虛擬網路網關選取的 SKU。 VirtualNetworkGatewaySku
vNetExtendedLocationResourceId 客戶 vnet 資源標識碼。本機閘道類型的 VirtualNetworkGateway 與客戶 vnet 相關聯。 字串
vpnClientConfiguration 代表 P2S VpnClient 組態之 VpnClientConfiguration 資源的參考。 VpnClientConfiguration
vpnGatewayGeneration 此 VirtualNetworkGateway 的產生。 如果 gatewayType 不是 VPN,則必須為 None。 'Generation1'
'Generation2'
'None'
vpnType 此虛擬網路閘道的類型。 'PolicyBased'
'RouteBased'

BgpSettings

名稱 描述
asn BGP 喇叭的 ASN。 int

約束:
最小值 = 0
最大值 = 4294967295
bgpPeeringAddress 此 BGP 說話者的 BGP 對等互連位址和 BGP 識別碼。 字串
bgpPeeringAddresses 具有虛擬網路閘道IP組態標識碼的 BGP 對等互連位址。 IPConfigurationBgpPeeringAddress[]
peerWeight 新增至從此 BGP 喇叭學習路由的權數。 int

IPConfigurationBgpPeeringAddress

名稱 描述
customBgpIpAddresses 屬於IP組態的自訂BGP對等互連位址清單。 string[]
ipconfigurationId 屬於閘道的IP組態標識碼。 字串

AddressSpace

名稱 描述
addressPrefixes 以 CIDR 表示法保留給此虛擬網路的位址區塊清單。 string[]

SubResource

名稱 描述
id 資源識別碼。 字串

VirtualNetworkGatewayIPConfiguration

名稱 描述
id 資源識別碼。 字串
NAME 資源群組內唯一的資源名稱。 此名稱可用來存取資源。 字串
properties 虛擬網路閘道IP組態的屬性。 VirtualNetworkGatewayIPConfigurationPropertiesFormat

VirtualNetworkGatewayIPConfigurationPropertiesFormat

名稱 描述
privateIPAllocationMethod 私人IP位址配置方法。 'Dynamic'
'Static'
publicIPAddress 公用IP資源的參考。 SubResource
子網路 子網資源的參考。 SubResource

VirtualNetworkGatewayNatRule

名稱 描述
id 資源識別碼。 字串
NAME 資源群組內唯一的資源名稱。 此名稱可用來存取資源。 字串
properties 虛擬網路 閘道 NAT 規則的屬性。 VirtualNetworkGatewayNatRuleProperties

VirtualNetworkGatewayNatRuleProperties

名稱 描述
externalMappings NAT 的私人IP位址外部對應。 VpnNatRuleMapping[]
internalMappings NAT 的私人IP位址內部對應。 VpnNatRuleMapping[]
ipConfigurationId 此 NAT 規則適用的IP組態標識碼。 字串
mode VPN NAT 的來源 NAT 方向。 'EgressSnat'
'IngressSnat'
類型 VPN NAT 的 NAT 規則類型。 'Dynamic'
'Static'

VpnNatRuleMapping

名稱 描述
addressSpace Vpn NatRule 對應的地址空間。 字串
portRange Vpn NatRule 對應的埠範圍。 字串

VirtualNetworkGatewaySku

名稱 描述
NAME 閘道 SKU 名稱。 'Basic'
'ErGw1AZ'
'ErGw2AZ'
'ErGw3AZ'
'HighPerformance'
'Standard'
'UltraPerformance'
'VpnGw1'
'VpnGw1AZ'
'VpnGw2'
'VpnGw2AZ'
'VpnGw3'
'VpnGw3AZ'
'VpnGw4'
'VpnGw4AZ'
'VpnGw5'
'VpnGw5AZ'
tier 閘道 SKU 層。 'Basic'
'ErGw1AZ'
'ErGw2AZ'
'ErGw3AZ'
'HighPerformance'
'Standard'
'UltraPerformance'
'VpnGw1'
'VpnGw1AZ'
'VpnGw2'
'VpnGw2AZ'
'VpnGw3'
'VpnGw3AZ'
'VpnGw4'
'VpnGw4AZ'
'VpnGw5'
'VpnGw5AZ'

VpnClientConfiguration

名稱 描述
aadAudience 用於 AAD 驗證之 Vpn 用戶端連線的 VirtualNetworkGateway 資源的 AADAudience 屬性。 字串
aadIssuer 用於 AAD 驗證之 Vpn 用戶端連線的 VirtualNetworkGateway 資源的 AADIssuer 屬性。 字串
aadTenant 用於 AAD 驗證之 Vpn 用戶端連線的 VirtualNetworkGateway 資源的 AADTenant 屬性。 字串
radiusServerAddress Vpn 用戶端連線之 VirtualNetworkGateway 資源的 radius 伺服器地址屬性。 字串
radiusServers 多個半徑伺服器組態的radiusServers屬性。 RadiusServer[]
radiusServerSecret Vpn 用戶端連線之 VirtualNetworkGateway 資源的 radius 秘密屬性。 字串
vpnAuthenticationTypes 虛擬網路閘道的 VPN 驗證類型。 包含任何項目的字串數組:
'AAD'
'Certificate'
'Radius'
vpnClientAddressPool 地址空間資源的參考,代表 P2S VpnClient 的地址空間。 AddressSpace
vpnClientIpsecPolicies 虛擬網路閘道 P2S 用戶端的 VpnClientIpsecPolicies。 IpsecPolicy[]
vpnClientProtocols 虛擬網路閘道的 VpnClientProtocols。 包含任何項目的字串數組:
'IkeV2'
'OpenVPN'
'SSTP'
vpnClientRevokedCertificates 虛擬網路閘道的 VpnClientRevokedCertificate。 VpnClientRevokedCertificate[]
vpnClientRootCertificates 虛擬網路閘道的 VpnClientRootCertificate。 VpnClientRootCertificate[]

RadiusServer

名稱 描述
radiusServerAddress 這個半徑伺服器的位址。 字串 (必要)
radiusServerScore 指派給這個半徑伺服器的初始分數。 int
radiusServerSecret 用於此半徑伺服器的秘密。 字串

IpsecPolicy

名稱 描述
dhGroup IKE 階段 1 中用於初始 SA 的 DH 群組。 'DHGroup1'
'DHGroup14'
'DHGroup2'
'DHGroup2048'
'DHGroup24'
'ECP256'
'ECP384'
必要) ('None'
ikeEncryption IKE 加密演算法 (IKE 階段 2) 。 'AES128'
'AES192'
'AES256'
'DES'
'DES3'
'GCMAES128'
需要 『GCMAES256』 ()
ikeIntegrity IKE 完整性演算法 (IKE 階段 2) 。 'GCMAES128'
'GCMAES256'
'MD5'
'SHA1'
'SHA256'
'SHA384' (必要)
ipsecEncryption IPSec 加密演算法 (IKE 階段 1) 。 'AES128'
'AES192'
'AES256'
'DES'
'DES3'
'GCMAES128'
'GCMAES192'
'GCMAES256'
必要) ('None'
ipsecIntegrity IPSec 完整性演算法 (IKE 階段 1) 。 'GCMAES128'
'GCMAES192'
'GCMAES256'
'MD5'
'SHA1'
必要) 'SHA256' (
pfsGroup IKE 階段 2 中用於新子 SA 的 Pfs 群組。 'ECP256'
'ECP384'
'None'
'PFS1'
'PFS14'
'PFS2'
'PFS2048'
'PFS24'
需要 『PFSMM』 ()
saDataSizeKilobytes IPSec 安全性關聯 (也稱為快速模式或階段 2 SA) KB 的承載大小,供站對站 VPN 通道使用。 int (必要)
saLifeTimeSeconds IPSec 安全性關聯 (也稱為快速模式或階段 2 SA) 存留期,以秒為單位,讓站對站 VPN 通道。 int (必要)

VpnClientRevokedCertificate

名稱 描述
id 資源識別碼。 字串
NAME 資源群組內唯一的資源名稱。 此名稱可用來存取資源。 字串
properties vpn 用戶端撤銷憑證的屬性。 VpnClientRevokedCertificatePropertiesFormat

VpnClientRevokedCertificatePropertiesFormat

名稱 描述
thumbprint 撤銷的 VPN 用戶端憑證指紋。 字串

VpnClientRootCertificate

名稱 描述
id 資源識別碼。 字串
NAME 資源群組內唯一的資源名稱。 此名稱可用來存取資源。 字串
properties vpn 用戶端跟證書的屬性。 VpnClientRootCertificatePropertiesFormat (必要)

VpnClientRootCertificatePropertiesFormat

名稱 描述
publicCertData 憑證公用數據。 字串 (必要)

快速入門範本

下列快速入門範本會部署此資源類型。

範本 描述
BOSH CF 跨區域

部署至 Azure
此範本可協助您設定在 Azure 上跨兩個區域部署 BOSH 和 Cloud Foundry 所需的資源。
Create 具有兩個子網、局域網路和閘道的 VNet

部署至 Azure
此範本會建立 VNet、2 個子網和閘道
使用 P2S VPN 和 IIS Create DevTest 環境

部署至 Azure
此範本會在 Windows 伺服器上建立具有點對站 VPN 和 IIS 的簡單 DevTest 環境,這是開始使用的絕佳方式。
部署中樞和輪輻拓撲沙盒

部署至 Azure
此範本會建立基本的中樞和輪輻拓撲設定。 它會建立具有 DMZ、管理、共用和閘道 (選擇性) 的中樞 VNet,其中兩個輪輻 VNet (開發和生產) 每個子網都包含工作負載子網。 它也會在中樞的管理子網上部署 Windows Jump-Host,並在中樞與兩個輪輻之間建立 VNet 對等互連。
部署 HBase 異地複寫

部署至 Azure
此範本可讓您針對具有 VPN vnet 對 vnet 連線的兩個不同區域設定 HBase 複寫的 Azure 環境。
使用 Azure 防火牆 作為中樞 & 輪輻拓撲中的 DNS Proxy

部署至 Azure
此範例示範如何使用 Azure 防火牆 在 Azure 中部署中樞輪輻拓撲。 中樞虛擬網路可作為透過虛擬網路對等互連連線到中樞虛擬網路的許多輪輻虛擬網路的中央點。
將 ExpressRoute 線路連線至 VNET

部署至 Azure
此範本會建立 VNET、ExpresRoute 閘道,以及已設定 AzurePrivatePeering 的已佈建和啟用 ExpressRoute 線路的連線。
具有私人對等互連和 Azure VNet 的 ExpressRoute 線路

部署至 Azure
此範本會設定 ExpressRoute Microsoft 對等互連、部署具有 Expressroute 閘道的 Azure VNet,並將 VNet 連結到 ExpressRoute 線路
將現有的 Azure VNET 擴充至多 VNET 組態

部署至 Azure
此範本可讓您使用 VNET 對 VNET 閘道,將現有的單一 VNET 環境延伸至跨兩個資料中心區域延伸的多 VNET 環境
Create 點對站閘道

部署至 Azure
此範本可讓您使用 VirtualNetworkGateways 建立點對站連線
使用 Azure AD Create 點對站閘道

部署至 Azure
此範本會部署使用 Azure Active Directory 點對站連線設定的 VPN 虛擬網路 閘道
使用 VM Create 站對站 VPN 連線

部署至 Azure
此範本可讓您使用 虛擬網路 閘道建立站對站 VPN 連線
Create 站對站 VPN 連線

部署至 Azure
此範本可讓您使用 虛擬網路 閘道建立站對站 VPN 連線
具有主動-主動 VPN 閘道與 BGP 的站對站 VPN

部署至 Azure
此範本可讓您在具有 VPN 閘道的兩個 VNet 之間部署站對站 VPN,並使用 BGP 設定作用中。 每個 Azure VPN 閘道 都會解析遠端對等的 FQDN,以判斷遠端 VPN 閘道 的公用 IP。 範本會在具有可用性區域的 Azure 區域中如預期般執行。
跨兩個區域 Create VNET 對 VNET 連線

部署至 Azure
此範本可讓您使用 虛擬網路 網關聯機不同區域中的兩個 VNET
Create BGP VNET 對 VNET 連線

部署至 Azure
此範本可讓您使用 虛擬網路 閘道和 BGP 連線兩個 VNET
Create 三個 vNet 來示範可轉移的 BGP 連線

部署至 Azure
此範本會使用 虛擬網路 閘道和已啟用 BGP 的連線來部署三個已連線的 vNet
Create 已設定點對站連線的 SQL MI

部署至 Azure
部署 Azure Sql Database 受控執行個體 (SQL MI) 和針對新虛擬網路內的點對站連線所設定的虛擬網路網關。
使用 Azure SQL 後端 App Service 環境

部署至 Azure
此範本會建立具有 Azure SQL 後端的 App Service 環境,以及私人端點,以及通常用於私人/隔離環境中的相關聯資源。

ARM 範本資源定義

virtualNetworkGateways 資源類型可以使用目標作業來部署:

如需每個 API 版本中已變更屬性的清單,請參閱 變更記錄檔。

資源格式

若要建立 Microsoft.Network/virtualNetworkGateways 資源,請將下列 JSON 新增至您的範本。

{
  "type": "Microsoft.Network/virtualNetworkGateways",
  "apiVersion": "2021-05-01",
  "name": "string",
  "location": "string",
  "tags": {
    "tagName1": "tagValue1",
    "tagName2": "tagValue2"
  },
  "extendedLocation": {
    "name": "string",
    "type": "EdgeZone"
  },
  "properties": {
    "activeActive": "bool",
    "bgpSettings": {
      "asn": "int",
      "bgpPeeringAddress": "string",
      "bgpPeeringAddresses": [
        {
          "customBgpIpAddresses": [ "string" ],
          "ipconfigurationId": "string"
        }
      ],
      "peerWeight": "int"
    },
    "customRoutes": {
      "addressPrefixes": [ "string" ]
    },
    "disableIPSecReplayProtection": "bool",
    "enableBgp": "bool",
    "enableBgpRouteTranslationForNat": "bool",
    "enableDnsForwarding": "bool",
    "enablePrivateIpAddress": "bool",
    "gatewayDefaultSite": {
      "id": "string"
    },
    "gatewayType": "string",
    "ipConfigurations": [
      {
        "id": "string",
        "name": "string",
        "properties": {
          "privateIPAllocationMethod": "string",
          "publicIPAddress": {
            "id": "string"
          },
          "subnet": {
            "id": "string"
          }
        }
      }
    ],
    "natRules": [
      {
        "id": "string",
        "name": "string",
        "properties": {
          "externalMappings": [
            {
              "addressSpace": "string",
              "portRange": "string"
            }
          ],
          "internalMappings": [
            {
              "addressSpace": "string",
              "portRange": "string"
            }
          ],
          "ipConfigurationId": "string",
          "mode": "string",
          "type": "string"
        }
      }
    ],
    "sku": {
      "name": "string",
      "tier": "string"
    },
    "vNetExtendedLocationResourceId": "string",
    "vpnClientConfiguration": {
      "aadAudience": "string",
      "aadIssuer": "string",
      "aadTenant": "string",
      "radiusServerAddress": "string",
      "radiusServers": [
        {
          "radiusServerAddress": "string",
          "radiusServerScore": "int",
          "radiusServerSecret": "string"
        }
      ],
      "radiusServerSecret": "string",
      "vpnAuthenticationTypes": [ "string" ],
      "vpnClientAddressPool": {
        "addressPrefixes": [ "string" ]
      },
      "vpnClientIpsecPolicies": [
        {
          "dhGroup": "string",
          "ikeEncryption": "string",
          "ikeIntegrity": "string",
          "ipsecEncryption": "string",
          "ipsecIntegrity": "string",
          "pfsGroup": "string",
          "saDataSizeKilobytes": "int",
          "saLifeTimeSeconds": "int"
        }
      ],
      "vpnClientProtocols": [ "string" ],
      "vpnClientRevokedCertificates": [
        {
          "id": "string",
          "name": "string",
          "properties": {
            "thumbprint": "string"
          }
        }
      ],
      "vpnClientRootCertificates": [
        {
          "id": "string",
          "name": "string",
          "properties": {
            "publicCertData": "string"
          }
        }
      ]
    },
    "vpnGatewayGeneration": "string",
    "vpnType": "string"
  }
}

屬性值

virtualNetworkGateways

名稱 描述
類型 資源類型 'Microsoft.Network/virtualNetworkGateways'
apiVersion 資源 API 版本 '2021-05-01'
NAME 資源名稱 需要字串 ()

字元限制:1-80

合法字元:
英數字元、底線、句號和連字號。

以英數字元開頭。 以英數字元或底線結尾。
location 資源位置。 字串
tags 資源標籤。 標記名稱和值的字典。 請參閱 範本中的標籤
extendedLocation 本機虛擬網路閘道類型的擴充位置。 ExtendedLocation
properties 虛擬網路閘道的屬性。 VirtualNetworkGatewayPropertiesFormat (必要)

ExtendedLocation

名稱 描述
NAME 擴充位置的名稱。 字串
type 擴充位置的類型。 'EdgeZone'

VirtualNetworkGatewayPropertiesFormat

名稱 描述
activeActive ActiveActive 旗標。 bool
bgpSettings 虛擬網路閘道的 BGP 喇叭設定。 BgpSettings
customRoutes 位址空間資源的參考,代表客戶針對虛擬網路網關和 VpnClient 所指定的自定義路由地址空間。 AddressSpace
disableIPSecReplayProtection disableIPSecReplayProtection 旗標。 bool
enableBgp 是否啟用此虛擬網路閘道的 BGP。 bool
enableBgpRouteTranslationForNat EnableBgpRouteTranslationForNat 旗標。 bool
enableDnsForwarding 是否啟用 DNS 轉送。 bool
enablePrivateIpAddress 是否需要在此閘道上啟用私人IP以進行連線。 bool
gatewayDefaultSite LocalNetworkGateway 資源的參考,代表具有預設路由的局域網路網站。 拿掉現有的預設網站設定時,請指派 Null 值。 SubResource
gatewayType 此虛擬網路閘道的類型。 'ExpressRoute'
'LocalGateway'
'Vpn'
ipConfigurations 虛擬網路閘道的IP組態。 VirtualNetworkGatewayIPConfiguration[]
natRules 虛擬網路閘道的 NatRules。 VirtualNetworkGatewayNatRule[]
sku VirtualNetworkGatewaySku 資源的參考,代表為虛擬網路網關選取的 SKU。 VirtualNetworkGatewaySku
vNetExtendedLocationResourceId 客戶 vnet 資源標識碼。本機閘道類型的 VirtualNetworkGateway 與客戶 vnet 相關聯。 字串
vpnClientConfiguration 代表 P2S VpnClient 組態之 VpnClientConfiguration 資源的參考。 VpnClientConfiguration
vpnGatewayGeneration 此 VirtualNetworkGateway 的世代。 如果 gatewayType 不是 VPN,就必須是 None。 'Generation1'
'Generation2'
'None'
vpnType 此虛擬網路閘道的類型。 'PolicyBased'
'RouteBased'

BgpSettings

名稱 描述
asn BGP 說話者的 ASN。 int

約束:
最小值 = 0
最大值 = 4294967295
bgpPeeringAddress 這個 BGP 說話者的 BGP 對等互連位址和 BGP 識別碼。 字串
bgpPeeringAddresses 具有虛擬網路閘道IP組態標識碼的 BGP 對等互連位址。 IPConfigurationBgpPeeringAddress[]
peerWeight 新增至從這個 BGP 說話者學到之路由的權數。 int

IPConfigurationBgpPeeringAddress

名稱 描述
customBgpIpAddresses 屬於IP組態的自訂BGP對等互連位址清單。 string[]
ipconfigurationId 屬於閘道的IP組態標識碼。 字串

AddressSpace

名稱 描述
addressPrefixes 在 CIDR 表示法中保留給此虛擬網路的位址區塊清單。 string[]

SubResource

名稱 描述
id 資源識別碼。 字串

VirtualNetworkGatewayIPConfiguration

名稱 描述
id 資源識別碼。 字串
NAME 資源群組內唯一的資源名稱。 此名稱可用來存取資源。 字串
properties 虛擬網路閘道IP組態的屬性。 VirtualNetworkGatewayIPConfigurationPropertiesFormat

VirtualNetworkGatewayIPConfigurationPropertiesFormat

名稱 描述
privateIPAllocationMethod 私人IP位址配置方法。 'Dynamic'
'Static'
publicIPAddress 公用IP資源的參考。 SubResource
子網路 子網資源的參考。 SubResource

VirtualNetworkGatewayNatRule

名稱 描述
id 資源識別碼。 字串
NAME 資源群組內唯一的資源名稱。 此名稱可用來存取資源。 字串
properties 虛擬網路 閘道 NAT 規則的屬性。 VirtualNetworkGatewayNatRuleProperties

VirtualNetworkGatewayNatRuleProperties

名稱 描述
externalMappings NAT 的私人IP位址外部對應。 VpnNatRuleMapping[]
internalMappings NAT 的私人IP位址內部對應。 VpnNatRuleMapping[]
ipConfigurationId 此 NAT 規則適用的IP組態標識碼。 字串
mode VPN NAT 的來源 NAT 方向。 'EgressSnat'
'IngressSnat'
類型 VPN NAT 的 NAT 規則類型。 'Dynamic'
'Static'

VpnNatRuleMapping

名稱 描述
addressSpace Vpn NatRule 對應的地址空間。 字串
portRange Vpn NatRule 對應的埠範圍。 字串

VirtualNetworkGatewaySku

名稱 描述
NAME 閘道 SKU 名稱。 'Basic'
'ErGw1AZ'
'ErGw2AZ'
'ErGw3AZ'
'HighPerformance'
'Standard'
'UltraPerformance'
'VpnGw1'
'VpnGw1AZ'
'VpnGw2'
'VpnGw2AZ'
'VpnGw3'
'VpnGw3AZ'
'VpnGw4'
'VpnGw4AZ'
'VpnGw5'
'VpnGw5AZ'
tier 閘道 SKU 層。 'Basic'
'ErGw1AZ'
'ErGw2AZ'
'ErGw3AZ'
'HighPerformance'
'Standard'
'UltraPerformance'
'VpnGw1'
'VpnGw1AZ'
'VpnGw2'
'VpnGw2AZ'
'VpnGw3'
'VpnGw3AZ'
'VpnGw4'
'VpnGw4AZ'
'VpnGw5'
'VpnGw5AZ'

VpnClientConfiguration

名稱 描述
aadAudience 用於 AAD 驗證之 Vpn 用戶端連線的 VirtualNetworkGateway 資源的 AADAudience 屬性。 字串
aadIssuer 用於 AAD 驗證之 Vpn 用戶端連線的 VirtualNetworkGateway 資源的 AADIssuer 屬性。 字串
aadTenant 用於 AAD 驗證之 Vpn 用戶端連線的 VirtualNetworkGateway 資源的 AADTenant 屬性。 字串
radiusServerAddress Vpn 用戶端連線之 VirtualNetworkGateway 資源的 radius 伺服器地址屬性。 字串
radiusServers 多個半徑伺服器組態的radiusServers屬性。 RadiusServer[]
radiusServerSecret Vpn 用戶端連線之 VirtualNetworkGateway 資源的 radius 秘密屬性。 字串
vpnAuthenticationTypes 虛擬網路閘道的 VPN 驗證類型。 包含任何項目的字串數組:
'AAD'
'Certificate'
'Radius'
vpnClientAddressPool 地址空間資源的參考,代表 P2S VpnClient 的地址空間。 AddressSpace
vpnClientIpsecPolicies 虛擬網路閘道 P2S 用戶端的 VpnClientIpsecPolicies。 IpsecPolicy[]
vpnClientProtocols 虛擬網路閘道的 VpnClientProtocols。 包含任何項目的字串數組:
'IkeV2'
'OpenVPN'
'SSTP'
vpnClientRevokedCertificates 虛擬網路閘道的 VpnClientRevokedCertificate。 VpnClientRevokedCertificate[]
vpnClientRootCertificates 虛擬網路閘道的 VpnClientRootCertificate。 VpnClientRootCertificate[]

RadiusServer

名稱 描述
radiusServerAddress 這個半徑伺服器的位址。 字串 (必要)
radiusServerScore 指派給這個半徑伺服器的初始分數。 int
radiusServerSecret 用於此半徑伺服器的秘密。 字串

IpsecPolicy

名稱 描述
dhGroup IKE 階段 1 中用於初始 SA 的 DH 群組。 'DHGroup1'
'DHGroup14'
'DHGroup2'
'DHGroup2048'
'DHGroup24'
'ECP256'
'ECP384'
必要) ('None'
ikeEncryption IKE 加密演算法 (IKE 階段 2) 。 'AES128'
'AES192'
'AES256'
'DES'
'DES3'
'GCMAES128'
需要 『GCMAES256』 ()
ikeIntegrity IKE 完整性演算法 (IKE 階段 2) 。 'GCMAES128'
'GCMAES256'
'MD5'
'SHA1'
'SHA256'
'SHA384' (必要)
ipsecEncryption IPSec 加密演算法 (IKE 階段 1) 。 'AES128'
'AES192'
'AES256'
'DES'
'DES3'
'GCMAES128'
'GCMAES192'
'GCMAES256'
必要) ('None'
ipsecIntegrity IPSec 完整性演算法 (IKE 階段 1) 。 'GCMAES128'
'GCMAES192'
'GCMAES256'
'MD5'
'SHA1'
必要) 'SHA256' (
pfsGroup IKE 階段 2 中用於新子 SA 的 Pfs 群組。 'ECP256'
'ECP384'
'None'
'PFS1'
'PFS14'
'PFS2'
'PFS2048'
'PFS24'
需要 『PFSMM』 ()
saDataSizeKilobytes IPSec 安全性關聯 (也稱為快速模式或階段 2 SA) KB 的承載大小,適用於站對站 VPN 通道。 需要 int ()
saLifeTimeSeconds IPSec 安全性關聯 (也稱為快速模式或階段 2 SA) 存留期,以秒為單位,讓站對站 VPN 通道。 需要 int ()

VpnClientRevokedCertificate

名稱 描述
id 資源識別碼。 字串
NAME 資源群組內唯一的資源名稱。 此名稱可用來存取資源。 字串
properties VPN 用戶端撤銷憑證的屬性。 VpnClientRevokedCertificatePropertiesFormat

VpnClientRevokedCertificatePropertiesFormat

名稱 描述
thumbprint 撤銷的 VPN 用戶端憑證指紋。 字串

VpnClientRootCertificate

名稱 描述
id 資源識別碼。 字串
NAME 資源群組內唯一的資源名稱。 此名稱可用來存取資源。 字串
properties vpn 用戶端跟證書的屬性。 VpnClientRootCertificatePropertiesFormat (必要)

VpnClientRootCertificatePropertiesFormat

名稱 描述
publicCertData 憑證公用數據。 需要字串 ()

快速入門範本

下列快速入門範本會部署此資源類型。

範本 描述
BOSH CF 跨區域

部署至 Azure
此範本可協助您設定在 Azure 上跨兩個區域部署 BOSH 和 Cloud Foundry 所需的資源。
Create 具有兩個子網、局域網路和閘道的 VNet

部署至 Azure
此範本會建立 VNet、2 個子網和閘道
使用 P2S VPN 和 IIS Create DevTest 環境

部署至 Azure
此範本會在 Windows 伺服器上建立具有點對站 VPN 和 IIS 的簡單 DevTest 環境,這是開始使用的絕佳方式。
部署中樞和輪輻拓撲沙盒

部署至 Azure
此範本會建立基本的中樞和輪輻拓撲設定。 它會建立具有 DMZ、管理、共用和閘道 (選擇性) 的中樞 VNet,其中兩個輪輻 VNet (開發和生產) 包含工作負載子網。 它也會在中樞的管理子網上部署 Windows Jump-Host,並在中樞與兩個輪輻之間建立 VNet 對等互連。
部署 HBase 異地複寫

部署至 Azure
此範本可讓您使用 VPN vnet 對 vnet 連線,在兩個不同的區域中設定 HBase 複寫的 Azure 環境。
使用 Azure 防火牆 作為中樞 & 輪輻拓撲中的 DNS Proxy

部署至 Azure
此範例示範如何使用 Azure 防火牆 在 Azure 中部署中樞輪輻拓撲。 中樞虛擬網路可作為透過虛擬網路對等互連連線到中樞虛擬網路之許多輪輻虛擬網路的連線中心點。
將 ExpressRoute 線路連線至 VNET

部署至 Azure
此範本會建立 VNET、ExpresRoute 閘道,以及已設定 AzurePrivatePeering 的已佈建和已啟用 ExpressRoute 線路的連線。
具有私人對等互連和 Azure VNet 的 ExpressRoute 線路

部署至 Azure
此範本會設定 ExpressRoute Microsoft 對等互連、使用 Expressroute 閘道部署 Azure VNet,並將 VNet 連結到 ExpressRoute 線路
將現有的 Azure VNET 擴充至多 VNET 組態

部署至 Azure
此範本可讓您使用 VNET 對 VNET 閘道,將現有的單一 VNET 環境擴充至跨兩個資料中心區域擴充的多 VNET 環境
Create 點對站閘道

部署至 Azure
此範本可讓您使用 VirtualNetworkGateways 建立點對站連線
使用 Azure AD Create 點對站閘道

部署至 Azure
此範本會部署使用 Azure Active Directory 點對站連線設定的 VPN 虛擬網路 閘道
使用 VM Create 站對站 VPN 連線

部署至 Azure
此範本可讓您使用 虛擬網路 閘道建立站對站 VPN 連線
Create 站對站 VPN 連線

部署至 Azure
此範本可讓您使用 虛擬網路 閘道建立站對站 VPN 連線
具有主動-主動 VPN 閘道與 BGP 的站對站 VPN

部署至 Azure
此範本可讓您在具有 VPN 閘道的兩個 VNet 之間部署站對站 VPN,並使用 BGP 設定作用中。 每個 Azure VPN 閘道 都會解析遠端對等的 FQDN,以判斷遠端 VPN 閘道 的公用 IP。 範本會在具有可用性區域的 Azure 區域中如預期般執行。
Create 跨兩個區域的 VNET 對 VNET 連線

部署至 Azure
此範本可讓您使用 虛擬網路 閘道來連接不同區域中的兩個 VNET
Create BGP VNET 到 VNET 連線

部署至 Azure
此範本可讓您使用 虛擬網路 閘道和 BGP 連線兩個 VNET
Create 三個 vNet 來示範可轉移的 BGP 連線

部署至 Azure
此範本會部署使用 虛擬網路 閘道和 BGP 啟用連線的三個 vNet
Create 已設定點對站連線的 SQL MI

部署至 Azure
部署 Azure Sql Database 受控執行個體 (SQL MI) 和針對新虛擬網路內的點對站連線所設定的虛擬網路網關。
使用 Azure SQL 後端 App Service 環境

部署至 Azure
此範本會建立 App Service 環境 搭配 Azure SQL 後端以及私人端點,以及通常用於私人/隔離環境中的相關聯資源。

Terraform (AzAPI 提供者) 資源定義

virtualNetworkGateways 資源類型可以使用目標作業來部署:

  • 資源群組

如需每個 API 版本中已變更屬性的清單,請參閱 變更記錄

資源格式

若要建立 Microsoft.Network/virtualNetworkGateways 資源,請將下列 Terraform 新增至您的範本。

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.Network/virtualNetworkGateways@2021-05-01"
  name = "string"
  location = "string"
  parent_id = "string"
  tags = {
    tagName1 = "tagValue1"
    tagName2 = "tagValue2"
  }
  body = jsonencode({
    properties = {
      activeActive = bool
      bgpSettings = {
        asn = int
        bgpPeeringAddress = "string"
        bgpPeeringAddresses = [
          {
            customBgpIpAddresses = [
              "string"
            ]
            ipconfigurationId = "string"
          }
        ]
        peerWeight = int
      }
      customRoutes = {
        addressPrefixes = [
          "string"
        ]
      }
      disableIPSecReplayProtection = bool
      enableBgp = bool
      enableBgpRouteTranslationForNat = bool
      enableDnsForwarding = bool
      enablePrivateIpAddress = bool
      gatewayDefaultSite = {
        id = "string"
      }
      gatewayType = "string"
      ipConfigurations = [
        {
          id = "string"
          name = "string"
          properties = {
            privateIPAllocationMethod = "string"
            publicIPAddress = {
              id = "string"
            }
            subnet = {
              id = "string"
            }
          }
        }
      ]
      natRules = [
        {
          id = "string"
          name = "string"
          properties = {
            externalMappings = [
              {
                addressSpace = "string"
                portRange = "string"
              }
            ]
            internalMappings = [
              {
                addressSpace = "string"
                portRange = "string"
              }
            ]
            ipConfigurationId = "string"
            mode = "string"
            type = "string"
          }
        }
      ]
      sku = {
        name = "string"
        tier = "string"
      }
      vNetExtendedLocationResourceId = "string"
      vpnClientConfiguration = {
        aadAudience = "string"
        aadIssuer = "string"
        aadTenant = "string"
        radiusServerAddress = "string"
        radiusServers = [
          {
            radiusServerAddress = "string"
            radiusServerScore = int
            radiusServerSecret = "string"
          }
        ]
        radiusServerSecret = "string"
        vpnAuthenticationTypes = [
          "string"
        ]
        vpnClientAddressPool = {
          addressPrefixes = [
            "string"
          ]
        }
        vpnClientIpsecPolicies = [
          {
            dhGroup = "string"
            ikeEncryption = "string"
            ikeIntegrity = "string"
            ipsecEncryption = "string"
            ipsecIntegrity = "string"
            pfsGroup = "string"
            saDataSizeKilobytes = int
            saLifeTimeSeconds = int
          }
        ]
        vpnClientProtocols = [
          "string"
        ]
        vpnClientRevokedCertificates = [
          {
            id = "string"
            name = "string"
            properties = {
              thumbprint = "string"
            }
          }
        ]
        vpnClientRootCertificates = [
          {
            id = "string"
            name = "string"
            properties = {
              publicCertData = "string"
            }
          }
        ]
      }
      vpnGatewayGeneration = "string"
      vpnType = "string"
    }
    extendedLocation = {
      name = "string"
      type = "EdgeZone"
    }
  })
}

屬性值

virtualNetworkGateways

名稱 描述
類型 資源類型 “Microsoft.Network/virtualNetworkGateways@2021-05-01”
NAME 資源名稱 字串 (必要)

字元限制:1-80

合法字元:
英數字元、底線、句號和連字號。

以英數字元開頭。 以英數字元或底線結尾。
location 資源位置。 字串
parent_id 若要部署至資源群組,請使用該資源群組的標識碼。 字串 (必要)
tags 資源標籤。 標記名稱和值的字典。
extendedLocation 本機虛擬網路閘道類型的擴充位置。 ExtendedLocation
properties 虛擬網路閘道的屬性。 VirtualNetworkGatewayPropertiesFormat (必要)

ExtendedLocation

名稱 描述
NAME 擴充位置的名稱。 字串
type 擴充位置的類型。 “EdgeZone”

VirtualNetworkGatewayPropertiesFormat

名稱 描述
activeActive ActiveActive 旗標。 bool
bgpSettings 虛擬網路閘道的 BGP 說話者設定。 BgpSettings
customRoutes 位址空間資源的參考,代表客戶針對虛擬網路網關和 VpnClient 所指定的自定義路由地址空間。 AddressSpace
disableIPSecReplayProtection disableIPSecReplayProtection 旗標。 bool
enableBgp 是否啟用此虛擬網路閘道的 BGP。 bool
enableBgpRouteTranslationForNat EnableBgpRouteTranslationForNat 旗標。 bool
enableDnsForwarding 是否啟用 DNS 轉送。 bool
enablePrivateIpAddress 是否需要在此閘道上啟用私人IP以進行連線。 bool
gatewayDefaultSite LocalNetworkGateway 資源的參考,代表具有預設路由的局域網路網站。 拿掉現有的預設網站設定時,請指派 Null 值。 SubResource
gatewayType 此虛擬網路閘道的類型。 “ExpressRoute”
“LocalGateway”
“Vpn”
ipConfigurations 虛擬網路閘道的IP組態。 VirtualNetworkGatewayIPConfiguration[]
natRules 虛擬網路閘道的 NatRules。 VirtualNetworkGatewayNatRule[]
sku VirtualNetworkGatewaySku 資源的參考,代表針對虛擬網路網關選取的 SKU。 VirtualNetworkGatewaySku
vNetExtendedLocationResourceId 客戶 vnet 資源標識碼。本機閘道類型的 VirtualNetworkGateway 與客戶 vnet 相關聯。 字串
vpnClientConfiguration 代表 P2S VpnClient 組態之 VpnClientConfiguration 資源的參考。 VpnClientConfiguration
vpnGatewayGeneration 此 VirtualNetworkGateway 的產生。 如果 gatewayType 不是 VPN,則必須為 None。 “Generation1”
“Generation2”
"None"
vpnType 此虛擬網路閘道的類型。 “PolicyBased”
“RouteBased”

BgpSettings

名稱 描述
asn BGP 喇叭的 ASN。 int

約束:
最小值 = 0
最大值 = 4294967295
bgpPeeringAddress 此 BGP 說話者的 BGP 對等互連位址和 BGP 識別碼。 字串
bgpPeeringAddresses 具有虛擬網路閘道IP組態標識碼的 BGP 對等互連位址。 IPConfigurationBgpPeeringAddress[]
peerWeight 新增至從此 BGP 喇叭學習路由的權數。 int

IPConfigurationBgpPeeringAddress

名稱 描述
customBgpIpAddresses 屬於IP組態的自訂BGP對等互連位址清單。 string[]
ipconfigurationId 屬於閘道的IP組態標識碼。 字串

AddressSpace

名稱 描述
addressPrefixes 以 CIDR 表示法保留給此虛擬網路的位址區塊清單。 string[]

SubResource

名稱 描述
id 資源識別碼。 字串

VirtualNetworkGatewayIPConfiguration

名稱 描述
id 資源識別碼。 字串
NAME 資源群組內唯一的資源名稱。 此名稱可用來存取資源。 字串
properties 虛擬網路閘道IP組態的屬性。 VirtualNetworkGatewayIPConfigurationPropertiesFormat

VirtualNetworkGatewayIPConfigurationPropertiesFormat

名稱 描述
privateIPAllocationMethod 私人IP位址配置方法。 “動態”
“Static”
publicIPAddress 公用IP資源的參考。 SubResource
子網路 子網資源的參考。 SubResource

VirtualNetworkGatewayNatRule

名稱 描述
id 資源識別碼。 字串
NAME 資源群組內唯一的資源名稱。 此名稱可用來存取資源。 字串
properties 虛擬網路 閘道 NAT 規則的屬性。 VirtualNetworkGatewayNatRuleProperties

VirtualNetworkGatewayNatRuleProperties

名稱 描述
externalMappings NAT 的私人IP位址外部對應。 VpnNatRuleMapping[]
internalMappings NAT 的私人IP位址內部對應。 VpnNatRuleMapping[]
ipConfigurationId 此 NAT 規則適用的IP組態標識碼。 字串
mode VPN NAT 的來源 NAT 方向。 “EgressSnat”
“IngressSnat”
類型 VPN NAT 的 NAT 規則類型。 “Dynamic”
“Static”

VpnNatRuleMapping

名稱 描述
addressSpace Vpn NatRule 對應的地址空間。 字串
portRange Vpn NatRule 對應的埠範圍。 字串

VirtualNetworkGatewaySku

名稱 描述
NAME 閘道 SKU 名稱。 "Basic"
“ErGw1AZ”
“ErGw2AZ”
“ErGw3AZ”
“HighPerformance”
“Standard”
“UltraPerformance”
“VpnGw1”
“VpnGw1AZ”
“VpnGw2”
“VpnGw2AZ”
“VpnGw3”
“VpnGw3AZ”
“VpnGw4”
“VpnGw4AZ”
“VpnGw5”
“VpnGw5AZ”
tier 閘道 SKU 層。 "Basic"
“ErGw1AZ”
“ErGw2AZ”
“ErGw3AZ”
“HighPerformance”
“Standard”
“UltraPerformance”
“VpnGw1”
“VpnGw1AZ”
“VpnGw2”
“VpnGw2AZ”
“VpnGw3”
“VpnGw3AZ”
“VpnGw4”
“VpnGw4AZ”
“VpnGw5”
“VpnGw5AZ”

VpnClientConfiguration

名稱 描述
aadAudience 用於 AAD 驗證之 Vpn 用戶端連線的 VirtualNetworkGateway 資源的 AADAudience 屬性。 字串
aadIssuer 用於 AAD 驗證之 Vpn 用戶端連線的 VirtualNetworkGateway 資源的 AADIssuer 屬性。 字串
aadTenant 用於 AAD 驗證之 Vpn 用戶端連線的 VirtualNetworkGateway 資源的 AADTenant 屬性。 字串
radiusServerAddress Vpn 用戶端連線之 VirtualNetworkGateway 資源的 radius 伺服器地址屬性。 字串
radiusServers 多個半徑伺服器組態的radiusServers屬性。 RadiusServer[]
radiusServerSecret Vpn 用戶端連線之 VirtualNetworkGateway 資源的 radius 秘密屬性。 字串
vpnAuthenticationTypes 虛擬網路閘道的 VPN 驗證類型。 包含任何項目的字串數組:
“AAD”
“Certificate”
“Radius”
vpnClientAddressPool 地址空間資源的參考,代表 P2S VpnClient 的地址空間。 AddressSpace
vpnClientIpsecPolicies 虛擬網路閘道 P2S 用戶端的 VpnClientIpsecPolicies。 IpsecPolicy[]
vpnClientProtocols 虛擬網路閘道的 VpnClientProtocols。 包含任何項目的字串數組:
“IkeV2”
“OpenVPN”
“SSTP”
vpnClientRevokedCertificates 虛擬網路閘道的 VpnClientRevokedCertificate。 VpnClientRevokedCertificate[]
vpnClientRootCertificates 虛擬網路閘道的 VpnClientRootCertificate。 VpnClientRootCertificate[]

RadiusServer

名稱 描述
radiusServerAddress 這個半徑伺服器的位址。 字串 (必要)
radiusServerScore 指派給這個半徑伺服器的初始分數。 int
radiusServerSecret 用於此半徑伺服器的秘密。 字串

IpsecPolicy

名稱 描述
dhGroup IKE 階段 1 中用於初始 SA 的 DH 群組。 “DHGroup1”
“DHGroup14”
“DHGroup2”
“DHGroup2048”
“DHGroup24”
“ECP256”
“ECP384”
必要) (“None”
ikeEncryption IKE 加密演算法 (IKE 階段 2) 。 “AES128”
“AES192”
“AES256”
“DES”
“DES3”
“GCMAES128”
必要) (“GCMAES256”
ikeIntegrity IKE 完整性演算法 (IKE 階段 2) 。 “GCMAES128”
“GCMAES256”
“MD5”
“SHA1”
“SHA256”
必要 (「SHA384」)
ipsecEncryption IPSec 加密演算法 (IKE 階段 1) 。 “AES128”
“AES192”
“AES256”
“DES”
“DES3”
“GCMAES128”
“GCMAES192”
“GCMAES256”
必要) (“None”
ipsecIntegrity IPSec 完整性演算法 (IKE 階段 1) 。 “GCMAES128”
“GCMAES192”
“GCMAES256”
“MD5”
“SHA1”
需要 「SHA256」 ()
pfsGroup IKE 階段 2 中用於新子 SA 的 Pfs 群組。 “ECP256”
“ECP384”
"None"
“PFS1”
“PFS14”
“PFS2”
“PFS2048”
“PFS24”
必要 (“PFSMM”)
saDataSizeKilobytes IPSec 安全性關聯 (也稱為快速模式或階段 2 SA) KB 的承載大小,供站對站 VPN 通道使用。 int (必要)
saLifeTimeSeconds IPSec 安全性關聯 (也稱為快速模式或階段 2 SA) 存留期,以秒為單位,讓站對站 VPN 通道。 int (必要)

VpnClientRevokedCertificate

名稱 描述
id 資源識別碼。 字串
NAME 資源群組內唯一的資源名稱。 此名稱可用來存取資源。 字串
properties vpn 用戶端撤銷憑證的屬性。 VpnClientRevokedCertificatePropertiesFormat

VpnClientRevokedCertificatePropertiesFormat

名稱 描述
thumbprint 撤銷的 VPN 用戶端憑證指紋。 字串

VpnClientRootCertificate

名稱 描述
id 資源識別碼。 字串
NAME 資源群組內唯一的資源名稱。 此名稱可用來存取資源。 字串
properties vpn 用戶端跟證書的屬性。 VpnClientRootCertificatePropertiesFormat (必要)

VpnClientRootCertificatePropertiesFormat

名稱 描述
publicCertData 憑證公用數據。 字串 (必要)