共用方式為


Microsoft.Network virtualWans/p2sVpnServerConfigurations 2019-06-01

Bicep 資源定義

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

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

資源格式

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

resource symbolicname 'Microsoft.Network/virtualWans/p2sVpnServerConfigurations@2019-06-01' = {
  parent: resourceSymbolicName
  name: 'string'
  properties: {
    etag: 'string'
    name: 'string'
    p2SVpnServerConfigRadiusClientRootCertificates: [
      {
        etag: 'string'
        id: 'string'
        name: 'string'
        properties: {
          thumbprint: 'string'
        }
      }
    ]
    p2SVpnServerConfigRadiusServerRootCertificates: [
      {
        etag: 'string'
        id: 'string'
        name: 'string'
        properties: {
          publicCertData: 'string'
        }
      }
    ]
    p2SVpnServerConfigVpnClientRevokedCertificates: [
      {
        etag: 'string'
        id: 'string'
        name: 'string'
        properties: {
          thumbprint: 'string'
        }
      }
    ]
    p2SVpnServerConfigVpnClientRootCertificates: [
      {
        etag: 'string'
        id: 'string'
        name: 'string'
        properties: {
          publicCertData: 'string'
        }
      }
    ]
    radiusServerAddress: 'string'
    radiusServerSecret: 'string'
    vpnClientIpsecPolicies: [
      {
        dhGroup: 'string'
        ikeEncryption: 'string'
        ikeIntegrity: 'string'
        ipsecEncryption: 'string'
        ipsecIntegrity: 'string'
        pfsGroup: 'string'
        saDataSizeKilobytes: int
        saLifeTimeSeconds: int
      }
    ]
    vpnProtocols: [
      'string'
    ]
  }
}

屬性值

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 (必要)

Microsoft.Network/virtualWans/p2sVpnServerConfigurations

名字 描述 價值
名字 資源名稱 字串 (必要)
父母 在 Bicep 中,您可以指定子資源的父資源。 只有在父資源外部宣告子資源時,才需要新增這個屬性。

如需詳細資訊,請參閱 父資源外部的子資源
類型資源的符號名稱:virtualWans
性能 P2SVpnServer 組態的屬性。 P2SVpnServerConfigurationProperties

P2SVpnServerConfigRadiusClientRootCertificate

名字 描述 價值
etag 每當更新資源時變更的唯一隻讀字串。 字串
id 資源標識碼。 字串
名字 資源群組內唯一的資源名稱。 此名稱可用來存取資源。 字串
性能 Radius 用戶端跟證書的屬性。 P2SVpnServerConfigRadiusClientRootCertificatePropertiesFormat

P2SVpnServerConfigRadiusClientRootCertificatePropertiesFormat

名字 描述 價值
指紋 Radius 用戶端跟證書指紋。 字串

P2SVpnServerConfigRadiusServerRootCertificate

名字 描述 價值
etag 每當更新資源時變更的唯一隻讀字串。 字串
id 資源標識碼。 字串
名字 資源群組內唯一的資源名稱。 此名稱可用來存取資源。 字串
性能 P2SVpnServerConfiguration Radius 伺服器跟證書的屬性。 P2SVpnServerConfigRadiusServerRootCertificatePropertiesFormat (必要)

P2SVpnServerConfigRadiusServerRootCertificatePropertiesFormat

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

P2SVpnServerConfigurationProperties

名字 描述 價值
etag 每當更新資源時變更的唯一隻讀字串。 字串
名字 資源群組中 VirtualWan 內唯一的 P2SVpnServerConfiguration 名稱。 此名稱可用來存取資源,以及 Paren VirtualWan 資源名稱。 字串
p2SVpnServerConfigRadiusClientRootCertificates P2SVpnServerConfiguration 的Radius用戶端跟證書。 P2SVpnServerConfigRadiusClientRootCertificate[]
p2SVpnServerConfigRadiusServerRootCertificates P2SVpnServerConfiguration 的Radius伺服器跟證書。 P2SVpnServerConfigRadiusServerRootCertificate[]
p2SVpnServerConfigVpnClientRevokedCertificates VPN 用戶端撤銷 P2SVpnServerConfiguration 的憑證。 P2SVpnServerConfigVpnClientRevokedCertificate[]
p2SVpnServerConfigVpnClientRootCertificates P2SVpnServerConfiguration 的 VPN 用戶端跟證書。 P2SVpnServerConfigVpnClientRootCertificate[]
radiusServerAddress P2SVpnServerConfiguration 資源的半徑伺服器位址屬性,用於點對站用戶端連線。 字串
radiusServerSecret P2SVpnServerConfiguration 資源的 radius secret 屬性,用於點對站用戶端連線。 字串
vpnClientIpsecPolicies P2SVpnServerConfiguration 的 VpnClientIpsecPolicies。 IpsecPolicy[]
vpnProtocols P2SVpnServerConfiguration 的 VPN 通訊協定。 包含任何的字串數組:
'IkeV2'
'OpenVPN'

P2SVpnServerConfigVpnClientRevokedCertificate

名字 描述 價值
etag 每當更新資源時變更的唯一隻讀字串。 字串
id 資源標識碼。 字串
名字 資源群組內唯一的資源名稱。 此名稱可用來存取資源。 字串
性能 VPN 用戶端撤銷憑證的屬性。 P2SVpnServerConfigVpnClientRevokedCertificatePropertiesFormat

P2SVpnServerConfigVpnClientRevokedCertificatePropertiesFormat

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

P2SVpnServerConfigVpnClientRootCertificate

名字 描述 價值
etag 每當更新資源時變更的唯一隻讀字串。 字串
id 資源標識碼。 字串
名字 資源群組內唯一的資源名稱。 此名稱可用來存取資源。 字串
性能 P2SVpnServerConfiguration VPN 用戶端跟證書的屬性。 P2SVpnServerConfigVpnClientRootCertificatePropertiesFormat (必要)

P2SVpnServerConfigVpnClientRootCertificatePropertiesFormat

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

ARM 樣本資源定義

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

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

資源格式

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

{
  "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations",
  "apiVersion": "2019-06-01",
  "name": "string",
  "properties": {
    "etag": "string",
    "name": "string",
    "p2SVpnServerConfigRadiusClientRootCertificates": [
      {
        "etag": "string",
        "id": "string",
        "name": "string",
        "properties": {
          "thumbprint": "string"
        }
      }
    ],
    "p2SVpnServerConfigRadiusServerRootCertificates": [
      {
        "etag": "string",
        "id": "string",
        "name": "string",
        "properties": {
          "publicCertData": "string"
        }
      }
    ],
    "p2SVpnServerConfigVpnClientRevokedCertificates": [
      {
        "etag": "string",
        "id": "string",
        "name": "string",
        "properties": {
          "thumbprint": "string"
        }
      }
    ],
    "p2SVpnServerConfigVpnClientRootCertificates": [
      {
        "etag": "string",
        "id": "string",
        "name": "string",
        "properties": {
          "publicCertData": "string"
        }
      }
    ],
    "radiusServerAddress": "string",
    "radiusServerSecret": "string",
    "vpnClientIpsecPolicies": [
      {
        "dhGroup": "string",
        "ikeEncryption": "string",
        "ikeIntegrity": "string",
        "ipsecEncryption": "string",
        "ipsecIntegrity": "string",
        "pfsGroup": "string",
        "saDataSizeKilobytes": "int",
        "saLifeTimeSeconds": "int"
      }
    ],
    "vpnProtocols": [ "string" ]
  }
}

屬性值

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 (必要)

Microsoft.Network/virtualWans/p2sVpnServerConfigurations

名字 描述 價值
apiVersion API 版本 '2019-06-01'
名字 資源名稱 字串 (必要)
性能 P2SVpnServer 組態的屬性。 P2SVpnServerConfigurationProperties
類型 資源類型 'Microsoft.Network/virtualWans/p2sVpnServerConfigurations'

P2SVpnServerConfigRadiusClientRootCertificate

名字 描述 價值
etag 每當更新資源時變更的唯一隻讀字串。 字串
id 資源標識碼。 字串
名字 資源群組內唯一的資源名稱。 此名稱可用來存取資源。 字串
性能 Radius 用戶端跟證書的屬性。 P2SVpnServerConfigRadiusClientRootCertificatePropertiesFormat

P2SVpnServerConfigRadiusClientRootCertificatePropertiesFormat

名字 描述 價值
指紋 Radius 用戶端跟證書指紋。 字串

P2SVpnServerConfigRadiusServerRootCertificate

名字 描述 價值
etag 每當更新資源時變更的唯一隻讀字串。 字串
id 資源標識碼。 字串
名字 資源群組內唯一的資源名稱。 此名稱可用來存取資源。 字串
性能 P2SVpnServerConfiguration Radius 伺服器跟證書的屬性。 P2SVpnServerConfigRadiusServerRootCertificatePropertiesFormat (必要)

P2SVpnServerConfigRadiusServerRootCertificatePropertiesFormat

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

P2SVpnServerConfigurationProperties

名字 描述 價值
etag 每當更新資源時變更的唯一隻讀字串。 字串
名字 資源群組中 VirtualWan 內唯一的 P2SVpnServerConfiguration 名稱。 此名稱可用來存取資源,以及 Paren VirtualWan 資源名稱。 字串
p2SVpnServerConfigRadiusClientRootCertificates P2SVpnServerConfiguration 的Radius用戶端跟證書。 P2SVpnServerConfigRadiusClientRootCertificate[]
p2SVpnServerConfigRadiusServerRootCertificates P2SVpnServerConfiguration 的Radius伺服器跟證書。 P2SVpnServerConfigRadiusServerRootCertificate[]
p2SVpnServerConfigVpnClientRevokedCertificates VPN 用戶端撤銷 P2SVpnServerConfiguration 的憑證。 P2SVpnServerConfigVpnClientRevokedCertificate[]
p2SVpnServerConfigVpnClientRootCertificates P2SVpnServerConfiguration 的 VPN 用戶端跟證書。 P2SVpnServerConfigVpnClientRootCertificate[]
radiusServerAddress P2SVpnServerConfiguration 資源的半徑伺服器位址屬性,用於點對站用戶端連線。 字串
radiusServerSecret P2SVpnServerConfiguration 資源的 radius secret 屬性,用於點對站用戶端連線。 字串
vpnClientIpsecPolicies P2SVpnServerConfiguration 的 VpnClientIpsecPolicies。 IpsecPolicy[]
vpnProtocols P2SVpnServerConfiguration 的 VPN 通訊協定。 包含任何的字串數組:
'IkeV2'
'OpenVPN'

P2SVpnServerConfigVpnClientRevokedCertificate

名字 描述 價值
etag 每當更新資源時變更的唯一隻讀字串。 字串
id 資源標識碼。 字串
名字 資源群組內唯一的資源名稱。 此名稱可用來存取資源。 字串
性能 VPN 用戶端撤銷憑證的屬性。 P2SVpnServerConfigVpnClientRevokedCertificatePropertiesFormat

P2SVpnServerConfigVpnClientRevokedCertificatePropertiesFormat

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

P2SVpnServerConfigVpnClientRootCertificate

名字 描述 價值
etag 每當更新資源時變更的唯一隻讀字串。 字串
id 資源標識碼。 字串
名字 資源群組內唯一的資源名稱。 此名稱可用來存取資源。 字串
性能 P2SVpnServerConfiguration VPN 用戶端跟證書的屬性。 P2SVpnServerConfigVpnClientRootCertificatePropertiesFormat (必要)

P2SVpnServerConfigVpnClientRootCertificatePropertiesFormat

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

Terraform (AzAPI 提供者) 資源定義

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

  • 資源群組

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

資源格式

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

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.Network/virtualWans/p2sVpnServerConfigurations@2019-06-01"
  name = "string"
  body = jsonencode({
    properties = {
      etag = "string"
      name = "string"
      p2SVpnServerConfigRadiusClientRootCertificates = [
        {
          etag = "string"
          id = "string"
          name = "string"
          properties = {
            thumbprint = "string"
          }
        }
      ]
      p2SVpnServerConfigRadiusServerRootCertificates = [
        {
          etag = "string"
          id = "string"
          name = "string"
          properties = {
            publicCertData = "string"
          }
        }
      ]
      p2SVpnServerConfigVpnClientRevokedCertificates = [
        {
          etag = "string"
          id = "string"
          name = "string"
          properties = {
            thumbprint = "string"
          }
        }
      ]
      p2SVpnServerConfigVpnClientRootCertificates = [
        {
          etag = "string"
          id = "string"
          name = "string"
          properties = {
            publicCertData = "string"
          }
        }
      ]
      radiusServerAddress = "string"
      radiusServerSecret = "string"
      vpnClientIpsecPolicies = [
        {
          dhGroup = "string"
          ikeEncryption = "string"
          ikeIntegrity = "string"
          ipsecEncryption = "string"
          ipsecIntegrity = "string"
          pfsGroup = "string"
          saDataSizeKilobytes = int
          saLifeTimeSeconds = int
        }
      ]
      vpnProtocols = [
        "string"
      ]
    }
  })
}

屬性值

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 (必要)

Microsoft.Network/virtualWans/p2sVpnServerConfigurations

名字 描述 價值
名字 資源名稱 字串 (必要)
parent_id 此資源為父系之資源的標識碼。 類型資源的標識碼:virtualWans
性能 P2SVpnServer 組態的屬性。 P2SVpnServerConfigurationProperties
類型 資源類型 “Microsoft.Network/virtualWans/p2sVpnServerConfigurations@2019-06-01”

P2SVpnServerConfigRadiusClientRootCertificate

名字 描述 價值
etag 每當更新資源時變更的唯一隻讀字串。 字串
id 資源標識碼。 字串
名字 資源群組內唯一的資源名稱。 此名稱可用來存取資源。 字串
性能 Radius 用戶端跟證書的屬性。 P2SVpnServerConfigRadiusClientRootCertificatePropertiesFormat

P2SVpnServerConfigRadiusClientRootCertificatePropertiesFormat

名字 描述 價值
指紋 Radius 用戶端跟證書指紋。 字串

P2SVpnServerConfigRadiusServerRootCertificate

名字 描述 價值
etag 每當更新資源時變更的唯一隻讀字串。 字串
id 資源標識碼。 字串
名字 資源群組內唯一的資源名稱。 此名稱可用來存取資源。 字串
性能 P2SVpnServerConfiguration Radius 伺服器跟證書的屬性。 P2SVpnServerConfigRadiusServerRootCertificatePropertiesFormat (必要)

P2SVpnServerConfigRadiusServerRootCertificatePropertiesFormat

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

P2SVpnServerConfigurationProperties

名字 描述 價值
etag 每當更新資源時變更的唯一隻讀字串。 字串
名字 資源群組中 VirtualWan 內唯一的 P2SVpnServerConfiguration 名稱。 此名稱可用來存取資源,以及 Paren VirtualWan 資源名稱。 字串
p2SVpnServerConfigRadiusClientRootCertificates P2SVpnServerConfiguration 的Radius用戶端跟證書。 P2SVpnServerConfigRadiusClientRootCertificate[]
p2SVpnServerConfigRadiusServerRootCertificates P2SVpnServerConfiguration 的Radius伺服器跟證書。 P2SVpnServerConfigRadiusServerRootCertificate[]
p2SVpnServerConfigVpnClientRevokedCertificates VPN 用戶端撤銷 P2SVpnServerConfiguration 的憑證。 P2SVpnServerConfigVpnClientRevokedCertificate[]
p2SVpnServerConfigVpnClientRootCertificates P2SVpnServerConfiguration 的 VPN 用戶端跟證書。 P2SVpnServerConfigVpnClientRootCertificate[]
radiusServerAddress P2SVpnServerConfiguration 資源的半徑伺服器位址屬性,用於點對站用戶端連線。 字串
radiusServerSecret P2SVpnServerConfiguration 資源的 radius secret 屬性,用於點對站用戶端連線。 字串
vpnClientIpsecPolicies P2SVpnServerConfiguration 的 VpnClientIpsecPolicies。 IpsecPolicy[]
vpnProtocols P2SVpnServerConfiguration 的 VPN 通訊協定。 包含任何的字串數組:
'IkeV2'
'OpenVPN'

P2SVpnServerConfigVpnClientRevokedCertificate

名字 描述 價值
etag 每當更新資源時變更的唯一隻讀字串。 字串
id 資源標識碼。 字串
名字 資源群組內唯一的資源名稱。 此名稱可用來存取資源。 字串
性能 VPN 用戶端撤銷憑證的屬性。 P2SVpnServerConfigVpnClientRevokedCertificatePropertiesFormat

P2SVpnServerConfigVpnClientRevokedCertificatePropertiesFormat

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

P2SVpnServerConfigVpnClientRootCertificate

名字 描述 價值
etag 每當更新資源時變更的唯一隻讀字串。 字串
id 資源標識碼。 字串
名字 資源群組內唯一的資源名稱。 此名稱可用來存取資源。 字串
性能 P2SVpnServerConfiguration VPN 用戶端跟證書的屬性。 P2SVpnServerConfigVpnClientRootCertificatePropertiesFormat (必要)

P2SVpnServerConfigVpnClientRootCertificatePropertiesFormat

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