- 最新の を
する - 2026-03-01
- 2026-01-01
- 2025-09-01
- 2025-07-01
- 2025-05-01
- 2025-03-01
- 2025-01-01
- 2024-10-01
- 2024-07-01
- 2024-05-01
- 2024-03-01
- 2024-01-01
- 2023-11-01
- 2023-09-01
- 2023-06-01
- 2023-05-01
- 2023-04-01
- 2023-02-01
- 2022-11-01
- 2022-09-01
- 2022-07-01
- 2022-05-01
- 2022-01-01
- 2021-08-01
- 2021-05-01
- 2021-03-01
- 2021-02-01
- 2020-11-01
- 2020-08-01
- 2020-07-01
- 2020-06-01
- 2020-05-01
- 2020-04-01
- 2020-03-01
- 2019-12-01
- 2019-11-01
- 2019-09-01
- 2019-08-01
- 2019-07-01
- 2019-06-01
- 2019-04-01
- 2019-02-01
- 2018-12-01
- 2018-11-01
- 2018-10-01
- 2018-08-01
- 2018-07-01
- 2018-06-01
- 2018-04-01
- 2018-02-01
- 2018-01-01
- 2017-11-01
- 2017-10-01
- 2017-09-01
- 2017-08-01
- 2017-06-01
- 2017-03-30
- 2017-03-01
- 2016-12-01
- 2016-09-01
- 2016-06-01
- 2016-03-30
- 2015-06-15
- 2015-05-01-プレビュー
Bicep リソース定義
接続リソースの種類は、次をターゲットとする操作と共にデプロイできます。
- リソース グループの - リソース グループのデプロイ コマンド 参照
各 API バージョンで変更されたプロパティの一覧については、変更ログの
使用例
Azure 検証済みモジュール
次の Azure 検証済みモジュール を使用して、このリソースの種類をデプロイできます。
| モジュール | 形容 |
|---|---|
| 仮想ネットワーク ゲートウェイ接続 の | 仮想ネットワーク ゲートウェイ接続用の AVM リソース モジュール |
Azure クイック スタートのサンプル
次 Azure クイック スタート テンプレート、このリソースの種類をデプロイするための Bicep サンプルが含まれています。
| Bicep ファイル | 形容 |
|---|---|
| BGP VNET から VNET への接続 を作成する | このテンプレートを使用すると、仮想ネットワーク ゲートウェイと BGP を使用して 2 つの VNET を接続できます。 |
| BGP を使用してアクティブ/アクティブ VPN ゲートウェイを使用してサイト間 VPN を |
このテンプレートを使用すると、BGP を使用してアクティブ/アクティブ構成の VPN ゲートウェイを持つ 2 つの VNet 間にサイト間 VPN をデプロイできます。 各 Azure VPN Gateway は、リモート ピアの FQDN を解決して、リモート VPN ゲートウェイのパブリック IP を決定します。 テンプレートは、可用性ゾーンを持つ Azure リージョンで想定どおりに実行されます。 |
リソースの形式
Microsoft.Network/connections リソースを作成するには、次の Bicep をテンプレートに追加します。
resource symbolicname 'Microsoft.Network/connections@2023-02-01' = {
location: 'string'
name: 'string'
properties: {
authorizationKey: 'string'
connectionMode: 'string'
connectionProtocol: 'string'
connectionType: 'string'
dpdTimeoutSeconds: int
egressNatRules: [
{
id: 'string'
}
]
enableBgp: bool
enablePrivateLinkFastPath: bool
expressRouteGatewayBypass: bool
gatewayCustomBgpIpAddresses: [
{
customBgpIpAddress: 'string'
ipConfigurationId: 'string'
}
]
ingressNatRules: [
{
id: 'string'
}
]
ipsecPolicies: [
{
dhGroup: 'string'
ikeEncryption: 'string'
ikeIntegrity: 'string'
ipsecEncryption: 'string'
ipsecIntegrity: 'string'
pfsGroup: 'string'
saDataSizeKilobytes: int
saLifeTimeSeconds: int
}
]
localNetworkGateway2: {
id: 'string'
location: 'string'
properties: {
bgpSettings: {
asn: int
bgpPeeringAddress: 'string'
bgpPeeringAddresses: [
{
customBgpIpAddresses: [
'string'
]
ipconfigurationId: 'string'
}
]
peerWeight: int
}
fqdn: 'string'
gatewayIpAddress: 'string'
localNetworkAddressSpace: {
addressPrefixes: [
'string'
]
}
}
tags: {
{customized property}: 'string'
}
}
peer: {
id: 'string'
}
routingWeight: int
sharedKey: 'string'
trafficSelectorPolicies: [
{
localAddressRanges: [
'string'
]
remoteAddressRanges: [
'string'
]
}
]
useLocalAzureIpAddress: bool
usePolicyBasedTrafficSelectors: bool
virtualNetworkGateway1: {
extendedLocation: {
name: 'string'
type: 'string'
}
id: 'string'
location: 'string'
properties: {
activeActive: bool
adminState: 'string'
allowRemoteVnetTraffic: bool
allowVirtualWanTraffic: 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'
}
virtualNetworkGatewayPolicyGroups: [
{
id: 'string'
name: 'string'
properties: {
isDefault: bool
policyMembers: [
{
attributeType: 'string'
attributeValue: 'string'
name: 'string'
}
]
priority: int
}
}
]
vNetExtendedLocationResourceId: 'string'
vpnClientConfiguration: {
aadAudience: 'string'
aadIssuer: 'string'
aadTenant: 'string'
radiusServerAddress: 'string'
radiusServers: [
{
radiusServerAddress: 'string'
radiusServerScore: int
radiusServerSecret: 'string'
}
]
radiusServerSecret: 'string'
vngClientConnectionConfigurations: [
{
id: 'string'
name: 'string'
properties: {
virtualNetworkGatewayPolicyGroups: [
{
id: 'string'
}
]
vpnClientAddressPool: {
addressPrefixes: [
'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'
}
tags: {
{customized property}: 'string'
}
}
virtualNetworkGateway2: {
extendedLocation: {
name: 'string'
type: 'string'
}
id: 'string'
location: 'string'
properties: {
activeActive: bool
adminState: 'string'
allowRemoteVnetTraffic: bool
allowVirtualWanTraffic: 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'
}
virtualNetworkGatewayPolicyGroups: [
{
id: 'string'
name: 'string'
properties: {
isDefault: bool
policyMembers: [
{
attributeType: 'string'
attributeValue: 'string'
name: 'string'
}
]
priority: int
}
}
]
vNetExtendedLocationResourceId: 'string'
vpnClientConfiguration: {
aadAudience: 'string'
aadIssuer: 'string'
aadTenant: 'string'
radiusServerAddress: 'string'
radiusServers: [
{
radiusServerAddress: 'string'
radiusServerScore: int
radiusServerSecret: 'string'
}
]
radiusServerSecret: 'string'
vngClientConnectionConfigurations: [
{
id: 'string'
name: 'string'
properties: {
virtualNetworkGatewayPolicyGroups: [
{
id: 'string'
}
]
vpnClientAddressPool: {
addressPrefixes: [
'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'
}
tags: {
{customized property}: 'string'
}
}
}
tags: {
{customized property}: 'string'
}
}
プロパティ値
Microsoft.Network/connections (英語)
| 名前 | 形容 | 価値 |
|---|---|---|
| 位置 | リソースの場所。 | 文字列 |
| 名前 | リソース名 | string (必須) |
| プロパティ | 仮想ネットワーク ゲートウェイ接続のプロパティ。 | VirtualNetworkGatewayConnectionPropertiesFormat (必須) |
| タグ | リソース タグ | タグ名と値のディクショナリ。 テンプレート の |
アドレス空間
| 名前 | 形容 | 価値 |
|---|---|---|
| addressプレフィックス | CIDR 表記でこの仮想ネットワーク用に予約されているアドレス ブロックの一覧。 | 文字列[] |
Bgp設定
| 名前 | 形容 | 価値 |
|---|---|---|
| ASN(エーエスエヌ) | BGP スピーカーの ASN。 | int 制約: 最小値 = 0 最大値 = 4294967295 |
| bgpピアリングアドレス | この BGP スピーカーの BGP ピアリング アドレスと BGP 識別子。 | 文字列 |
| bgpPeeringアドレス | 仮想ネットワーク ゲートウェイの IP 構成 ID を持つ BGP ピアリング アドレス。 | IPConfigurationBgpPeeringAddress[] |
| ピアウェイト | この BGP スピーカーから学習したルートに追加された重み。 | 整数 (int) |
拡張ロケーション
| 名前 | 形容 | 価値 |
|---|---|---|
| 名前 | 拡張された場所の名前。 | 文字列 |
| 型 | 拡張された場所の型。 | 「エッジゾーン」 |
GatewayCustomBgpIpAddressIpConfiguration
| 名前 | 形容 | 価値 |
|---|---|---|
| customBgpIpアドレス | IpconfigurationId に属するカスタム BgpPeeringAddress。 | string (必須) |
| ipConfigurationId(イプコンフィグレーションイ | ゲートウェイに属する ipconfiguration の IpconfigurationId。 | string (必須) |
IPConfigurationBgpPeeringAddress (英語)
| 名前 | 形容 | 価値 |
|---|---|---|
| customBgpIpアドレス | IP 構成に属するカスタム BGP ピアリング アドレスの一覧。 | 文字列[] |
| ipconfigurationId (英語) | ゲートウェイに属する IP 構成の ID。 | 文字列 |
IpsecPolicy (英語)
| 名前 | 形容 | 価値 |
|---|---|---|
| dhGroupの | 初期 SA に IKE フェーズ 1 で使用される DH グループ。 | 「DHGroup1」 「DHGroup14」 「DHGroup2」 「DHGroup2048」 「DHGroup24」 「ECP256」 「ECP384」 'None' (必須) |
| ike暗号化 | IKE 暗号化アルゴリズム (IKE フェーズ 2)。 | 「AES128」 「AES192」 「AES256」 「DES」 「DES3」 「GCMAES128」 'GCMAES256' (必須) |
| ikeIntegrityの | IKE 整合性アルゴリズム (IKE フェーズ 2)。 | 「GCMAES128」 「GCMAES256」 「MD5」 「SHA1」 「SHA256」 'SHA384' (必須) |
| ipsec暗号化 | IPSec 暗号化アルゴリズム (IKE フェーズ 1)。 | 「AES128」 「AES192」 「AES256」 「DES」 「DES3」 「GCMAES128」 「GCMAES192」 「GCMAES256」 'None' (必須) |
| ipsec整合性 | IPSec 整合性アルゴリズム (IKE フェーズ 1)。 | 「GCMAES128」 「GCMAES192」 「GCMAES256」 「MD5」 「SHA1」 'SHA256' (必須) |
| pfsグループ | IKE フェーズ 2 で新しい子 SA に使用される Pfs グループ。 | 「ECP256」 「ECP384」 「なし」 「PFS1」 「PFS14」 「PFS2」 「PFS2048」 「PFS24」 'PFSMM' (必須) |
| saDataSizeキロバイト | サイト間 VPN トンネルの IPSec セキュリティ アソシエーション (クイック モードまたはフェーズ 2 SA とも呼ばれます) ペイロード サイズ (KB)。 | int (必須) |
| saLifeTimeSeconds (英語) | サイト間 VPN トンネルの IPSec セキュリティ アソシエーション (クイック モードまたはフェーズ 2 SA とも呼ばれます) の有効期間 (秒単位)。 | int (必須) |
ローカルネットワークゲートウェイ
| 名前 | 形容 | 価値 |
|---|---|---|
| 身分証明書 | リソース ID。 | 文字列 |
| 位置 | リソースの場所。 | 文字列 |
| プロパティ | ローカル ネットワーク ゲートウェイのプロパティ。 | LocalNetworkGatewayPropertiesFormat (必須) |
| タグ | リソース タグ。 | リソースタグ |
LocalNetworkGatewayPropertiesFormat (英語)
| 名前 | 形容 | 価値 |
|---|---|---|
| bgp設定 | ローカル ネットワーク ゲートウェイの BGP スピーカー設定。 | Bgp設定 |
| FQDNの | ローカル ネットワーク ゲートウェイの FQDN。 | 文字列 |
| ゲートウェイ IP アドレス | ローカル ネットワーク ゲートウェイの IP アドレス。 | 文字列 |
| localNetworkAddressSpace (ローカルネットワークアドレススペース) | ローカル ネットワーク サイトのアドレス空間。 | アドレス空間 |
Radiusサーバー
| 名前 | 形容 | 価値 |
|---|---|---|
| radiusサーバーアドレス | この Radius サーバーのアドレス。 | string (必須) |
| radiusサーバースコア | この Radius サーバーに割り当てられた初期スコア。 | 整数 (int) |
| radiusサーバーシークレット | この Radius サーバーに使用されるシークレット。 | 文字列 |
リソースタグ
| 名前 | 形容 | 価値 |
|---|
リソースタグ
| 名前 | 形容 | 価値 |
|---|
リソースタグ
| 名前 | 形容 | 価値 |
|---|
サブリソース
| 名前 | 形容 | 価値 |
|---|---|---|
| 身分証明書 | リソース ID。 | 文字列 |
トラフィックセレクタポリシー
| 名前 | 形容 | 価値 |
|---|---|---|
| localAddressRanges (英語) | CIDR 形式のローカル アドレス空間のコレクション。 | string[] (必須) |
| リモートアドレス範囲 | CIDR 形式のリモート アドレス空間のコレクション。 | string[] (必須) |
VirtualNetworkGateway(英語)
| 名前 | 形容 | 価値 |
|---|---|---|
| 拡張ロケーション | ローカル仮想ネットワーク ゲートウェイの種類の拡張された場所。 | ExtendedLocation の |
| 身分証明書 | リソース ID。 | 文字列 |
| 位置 | リソースの場所。 | 文字列 |
| プロパティ | 仮想ネットワーク ゲートウェイのプロパティ。 | VirtualNetworkGatewayPropertiesFormat (必須) |
| タグ | リソース タグ。 | リソースタグ |
VirtualNetworkGatewayConnectionPropertiesFormat
| 名前 | 形容 | 価値 |
|---|---|---|
| authorizationキー | authorizationKey。 | 文字列 |
| コネクションモード | この接続の接続モード。 | デフォルト 'イニシエータのみ' 「レスポンダーのみ」 |
| コネクションプロトコル | この接続に使用される接続プロトコル。 | 「IKEv1」 「IKEv2」 |
| 接続タイプ | ゲートウェイ接続の種類。 | 「エクスプレスルート」 「IPsec」 「Vnet2Vnet」 'VPNClient' (必須) |
| dpdTimeoutSeconds (英語) | この接続のデッド ピア検出タイムアウト (秒単位)。 | 整数 (int) |
| エグレスナットルール | エグレス NatRules の一覧。 | サブリソース[] |
| enableBgpの | EnableBgp フラグ。 | ブール (bool) |
| enablePrivateLinkFastPath | プライベート リンクにアクセスするときは、ExpressRoute ゲートウェイをバイパスします。 ExpressRoute FastPath (expressRouteGatewayBypass) を有効にする必要があります。 | ブール (bool) |
| expressRouteGatewayバイパス | データ転送のために ExpressRoute ゲートウェイをバイパスします。 | ブール (bool) |
| ゲートウェイCustomBgpIpアドレス | 仮想ネットワーク ゲートウェイ接続に使用する GatewayCustomBgpIpAddresses。 | GatewayCustomBgpIpAddressIpConfiguration[] |
| ingressナットルール | イングレス NatRules の一覧。 | サブリソース[] |
| ipsecポリシー | この接続によって考慮される IPSec ポリシー。 | イプセックポリシー[] |
| localNetworkGateway2 の | ローカル ネットワーク ゲートウェイ リソースへの参照。 | ローカルネットワークゲートウェイ |
| Peer | ピアリング リソースへの参照。 | SubResource の |
| ルーティングウェイト | ルーティングの重み。 | 整数 (int) |
| 共有キー | IPSec 共有キー。 | 文字列 |
| trafficSelectorPolicies (トラフィックセレクタポリシー) | この接続によって考慮されるトラフィック セレクター ポリシー。 | トラフィックセレクタポリシー[] |
| useLocalAzureIpAddress | 接続にはプライベート ローカル Azure IP を使用します。 | ブール (bool) |
| usePolicyBasedTrafficSelectors | ポリシー ベースのトラフィック セレクターを有効にします。 | ブール (bool) |
| virtualNetworkGateway1 | 仮想ネットワーク ゲートウェイ リソースへの参照。 | VirtualNetworkGateway (必須) |
| virtualNetworkGateway2 (英語) | 仮想ネットワーク ゲートウェイ リソースへの参照。 | VirtualNetworkGateway の |
VirtualNetworkGatewayIPConfiguration (英語)
| 名前 | 形容 | 価値 |
|---|---|---|
| 身分証明書 | リソース ID。 | 文字列 |
| 名前 | リソース グループ内で一意であるリソースの名前。 この名前は、リソースへのアクセスに使用できます。 | 文字列 |
| プロパティ | 仮想ネットワーク ゲートウェイの IP 構成のプロパティ。 | VirtualNetworkGatewayIPConfigurationPropertiesFormat |
VirtualNetworkGatewayIPConfigurationPropertiesFormat
| 名前 | 形容 | 価値 |
|---|---|---|
| privateIPAllocationメソッド | プライベート IP アドレスの割り当て方法。 | 「ダイナミック」 「静的」 |
| publicIPアドレス | パブリック IP リソースへの参照。 | SubResource の |
| サブネット | サブネット リソースへの参照。 | SubResource の |
VirtualNetworkGatewayNatRule
| 名前 | 形容 | 価値 |
|---|---|---|
| 身分証明書 | リソース ID。 | 文字列 |
| 名前 | リソース グループ内で一意であるリソースの名前。 この名前は、リソースへのアクセスに使用できます。 | 文字列 |
| プロパティ | 仮想ネットワーク ゲートウェイ NAT 規則のプロパティ。 | VirtualNetworkGatewayNatRuleProperties の |
VirtualNetworkGatewayNatRuleプロパティ
| 名前 | 形容 | 価値 |
|---|---|---|
| externalMappings (英語) | NAT のプライベート IP アドレス外部マッピング。 | VpnNatRuleマッピング[] |
| internalMappings (英語) | NAT のプライベート IP アドレスの内部マッピング。 | VpnNatRuleマッピング[] |
| ipConfigurationId(イプコンフィグレーションイ | この NAT 規則が適用される IP 構成 ID。 | 文字列 |
| モード | VPN NAT のソース NAT の方向。 | 「エグレスナット」 「イングレススナット」 |
| 型 | VPN NAT の NAT 規則の種類。 | 「ダイナミック」 「静的」 |
VirtualNetworkGatewayPolicyGroup
| 名前 | 形容 | 価値 |
|---|---|---|
| 身分証明書 | リソース ID。 | 文字列 |
| 名前 | リソース グループ内で一意であるリソースの名前。 この名前は、リソースへのアクセスに使用できます。 | 文字列 |
| プロパティ | tVirtualNetworkGatewayPolicyGroup のプロパティ。 | VirtualNetworkGatewayPolicyGroupProperties の |
VirtualNetworkGatewayPolicyGroupMember (英語)
| 名前 | 形容 | 価値 |
|---|---|---|
| 属性タイプ | Vpn Policy メンバー属性の種類。 | 「AADGroupId」 'CertificateGroupId' 'RadiusAzureGroupId' |
| attributeValue(属性値) | この VirtualNetworkGatewayPolicyGroupMember に使用される属性の値。 | 文字列 |
| 名前 | VirtualNetworkGatewayPolicyGroupMember の名前。 | 文字列 |
VirtualNetworkGatewayPolicyGroupプロパティ
| 名前 | 形容 | 価値 |
|---|---|---|
| isDefault (デフォルト) | これが既定の VirtualNetworkGatewayPolicyGroup であるかどうかを示します。 | bool (必須) |
| ポリシーメンバー | VirtualNetworkGatewayPolicyGroup の複数の PolicyMembers。 | VirtualNetworkGatewayPolicyGroupMember[] (必須) |
| 優先権 | VirtualNetworkGatewayPolicyGroup の優先度。 | int (必須) |
VirtualNetworkGatewayPropertiesFormat
| 名前 | 形容 | 価値 |
|---|---|---|
| アクティブアクティブ | ActiveActive フラグ。 | ブール (bool) |
| adminStateの | vnet に複数の Express Route ゲートウェイがある場合に Express Route ゲートウェイがトラフィックを処理するかどうかを示すプロパティ | 「無効」 「有効」 |
| allowRemoteVnetTraffic (英語) | 他の Azure 仮想ネットワークからのトラフィックを受け入れるように、このゲートウェイを構成します。 この構成では、Azure Virtual WAN への接続はサポートされていません。 | ブール (bool) |
| VirtualWanTraffic を許可する | リモート Virtual WAN ネットワークからのトラフィックを受け入れるように、このゲートウェイを構成します。 | ブール (bool) |
| bgp設定 | 仮想ネットワーク ゲートウェイの BGP スピーカー設定。 | Bgp設定 |
| カスタムルート | 仮想ネットワーク ゲートウェイと VpnClient に対して顧客によって指定されたカスタム ルートアドレス空間を表すアドレス空間リソースへの参照。 | アドレス空間 |
| disableIPSecReplayProtection (IPSecリプレイ保護) | disableIPSecReplayProtection フラグ。 | ブール (bool) |
| enableBgpの | この仮想ネットワーク ゲートウェイに対して BGP が有効かどうか。 | ブール (bool) |
| enableBgpRouteTranslationForNat | EnableBgpRouteTranslationForNat フラグ。 | ブール (bool) |
| enableDnsForwarding(英語) | DNS 転送が有効かどうか。 | ブール (bool) |
| enablePrivateIpAddress | 接続のためにこのゲートウェイでプライベート IP を有効にする必要があるかどうか。 | ブール (bool) |
| ゲートウェイ・デフォルト・サイト | 既定のルートを持つローカル ネットワーク サイトを表す LocalNetworkGateway リソースへの参照。 既存の既定のサイト設定を削除する場合は Null 値を割り当てます。 | SubResource の |
| ゲートウェイタイプ | この仮想ネットワーク ゲートウェイの種類。 | 「エクスプレスルート」 「ローカルゲートウェイ」 「VPN」 |
| ipConfigurationsの | 仮想ネットワーク ゲートウェイの IP 構成。 | VirtualNetworkGatewayIPConfiguration[] |
| natRulesの | 仮想ネットワーク ゲートウェイの NatRules。 | VirtualNetworkGatewayNatRule[] |
| エスケーユー | 仮想ネットワーク ゲートウェイ用に選択された SKU を表す VirtualNetworkGatewaySku リソースへの参照。 | VirtualNetworkGatewaySku |
| virtualNetworkGatewayPolicyGroups | ゲートウェイで使用可能な VirtualNetworkGatewayPolicyGroup を表す VirtualNetworkGatewayPolicyGroup リソースへの参照。 | VirtualNetworkGatewayPolicyGroup[] |
| vNetExtendedLocationResourceId | 顧客 vnet リソース ID。ローカル ゲートウェイの種類の VirtualNetworkGateway は、顧客の vnet に関連付けられています。 | 文字列 |
| vpnClientConfiguration (vpnクライアント構成) | P2S VpnClient 構成を表す VpnClientConfiguration リソースへの参照。 | VpnClientConfiguration の |
| vpnGatewayGeneration | この VirtualNetworkGateway の世代。 gatewayType が VPN でない場合は None にする必要があります。 | 「ジェネレーション1」 「ジェネレーション2」 「なし」 |
| vpnタイプ | この仮想ネットワーク ゲートウェイの種類。 | 「ポリシーベース」 「ルートベース」 |
VirtualNetworkGatewaySku
| 名前 | 形容 | 価値 |
|---|---|---|
| 名前 | ゲートウェイ SKU 名。 | 「ベーシック」 「ErGw1AZ」 「ErGw2AZ」 「ErGw3AZ」 「ハイパフォーマンス」 「スタンダード」 「ウルトラパフォーマンス」 「VpnGw1」 「VpnGw1AZ」 「VpnGw2」 「VpnGw2AZ」 「VpnGw3」 「VpnGw3AZ」 「VpnGw4」 「VpnGw4AZ」 「VpnGw5」 「VpnGw5AZ」 |
| レベル | ゲートウェイ SKU レベル。 | 「ベーシック」 「ErGw1AZ」 「ErGw2AZ」 「ErGw3AZ」 「ハイパフォーマンス」 「スタンダード」 「ウルトラパフォーマンス」 「VpnGw1」 「VpnGw1AZ」 「VpnGw2」 「VpnGw2AZ」 「VpnGw3」 「VpnGw3AZ」 「VpnGw4」 「VpnGw4AZ」 「VpnGw5」 「VpnGw5AZ」 |
VngClientConnectionConfiguration (英語)
| 名前 | 形容 | 価値 |
|---|---|---|
| 身分証明書 | リソース ID。 | 文字列 |
| 名前 | リソース グループ内で一意であるリソースの名前。 この名前は、リソースへのアクセスに使用できます。 | 文字列 |
| プロパティ | VPN クライアントルート証明書のプロパティ。 | VngClientConnectionConfigurationProperties の |
VngClientConnectionConfigurationProperties (英語)
| 名前 | 形容 | 価値 |
|---|---|---|
| virtualNetworkGatewayPolicyGroups | virtualNetworkGatewayPolicyGroups への参照の一覧 | SubResource[] (必須) |
| vpnClientAddressPool | P2S VpnClient のアドレス空間を表すアドレス空間リソースへの参照。 | AddressSpace (必須) |
VpnClientConfiguration (英語)
| 名前 | 形容 | 価値 |
|---|---|---|
| aadオーディエンス | AAD 認証に使用される VPN クライアント接続用の VirtualNetworkGateway リソースの AADAudience プロパティ。 | 文字列 |
| aad発行者 | AAD 認証に使用される VPN クライアント接続用の VirtualNetworkGateway リソースの AADIssuer プロパティ。 | 文字列 |
| aadテナント | AAD 認証に使用される VPN クライアント接続用の VirtualNetworkGateway リソースの AADTenant プロパティ。 | 文字列 |
| radiusサーバーアドレス | VPN クライアント接続用の VirtualNetworkGateway リソースの radius サーバー アドレス プロパティ。 | 文字列 |
| radiusサーバー | 複数の radius サーバー構成の radiusServers プロパティ。 | RadiusServer[] |
| radiusサーバーシークレット | VPN クライアント接続用の VirtualNetworkGateway リソースの radius シークレット プロパティ。 | 文字列 |
| vngClientConnectionConfigurations(vngClientConnectionConfigurations) | 仮想ネットワーク ゲートウェイ P2S クライアントの IP アドレス プールごとの接続ポリシー。 | VngClientConnectionConfiguration[] |
| vpnAuthenticationTypes (vpn認証タイプ) | 仮想ネットワーク ゲートウェイの VPN 認証の種類。. | 次のいずれかを含む文字列配列: 「AAD」 「証明書」 「ラジアス」 |
| vpnClientAddressPool | P2S VpnClient のアドレス空間を表すアドレス空間リソースへの参照。 | アドレス空間 |
| vpnClientIpsecPolicies (英語) | 仮想ネットワーク ゲートウェイ P2S クライアントの VpnClientIpsecPolicies。 | イプセックポリシー[] |
| vpnClientプロトコル | 仮想ネットワーク ゲートウェイの VpnClientProtocols。 | 次のいずれかを含む文字列配列: 「IkeV2」 「OpenVPN」 「SSTP」 |
| vpnClientRevokedCertificates (英語) | 仮想ネットワーク ゲートウェイの VpnClientRevokedCertificate。 | VpnClientRevokedCertificate[] |
| vpnClientRoot証明書 | 仮想ネットワーク ゲートウェイの VpnClientRootCertificate。 | VpnClientRoot証明書[] |
VpnClientRevokedCertificate (英語)
| 名前 | 形容 | 価値 |
|---|---|---|
| 身分証明書 | リソース ID。 | 文字列 |
| 名前 | リソース グループ内で一意であるリソースの名前。 この名前は、リソースへのアクセスに使用できます。 | 文字列 |
| プロパティ | VPN クライアントが失効した証明書のプロパティ。 | VpnClientRevokedCertificatePropertiesFormat の |
VpnClientRevokedCertificatePropertiesFormat
| 名前 | 形容 | 価値 |
|---|---|---|
| サムプリント | 失効した VPN クライアント証明書の拇印。 | 文字列 |
VpnClientRoot証明書
| 名前 | 形容 | 価値 |
|---|---|---|
| 身分証明書 | リソース ID。 | 文字列 |
| 名前 | リソース グループ内で一意であるリソースの名前。 この名前は、リソースへのアクセスに使用できます。 | 文字列 |
| プロパティ | VPN クライアントルート証明書のプロパティ。 | VpnClientRootCertificatePropertiesFormat (必須) |
VpnClientRootCertificatePropertiesFormat
| 名前 | 形容 | 価値 |
|---|---|---|
| publicCertData の | 証明書のパブリック データ。 | string (必須) |
VpnNatRuleMapping(英語)
| 名前 | 形容 | 価値 |
|---|---|---|
| アドレス空間 | Vpn NatRule マッピングのアドレス空間。 | 文字列 |
| ポートレンジ | Vpn NatRule マッピングのポート範囲。 | 文字列 |
ARM テンプレート リソース定義
接続リソースの種類は、次をターゲットとする操作と共にデプロイできます。
- リソースグループ - リソースグループのデプロイコマンドを参照してください。 各APIバージョンの変更プロパティ一覧は 変更ログをご覧ください。
使用例
Azure クイック スタート テンプレート
このリソースの種類 デプロイする Azure クイック スタート テンプレート 次に示します。
| テンプレート | 形容 |
|---|---|
|
ExpressRoute 回線を VNET に接続する Azure にデプロイする |
このテンプレートでは、VNET、ExpresRoute ゲートウェイ、および AzurePrivatePeering が構成されたプロビジョニング済みで有効な ExpressRoute 回線への接続が作成されます。 |
|
BGP VNET から VNET への接続 を作成する Azure にデプロイする |
このテンプレートを使用すると、仮想ネットワーク ゲートウェイと BGP を使用して 2 つの VNET を接続できます。 |
|
サイト間 VPN 接続 を作成する Azure にデプロイする |
このテンプレートを使用すると、仮想ネットワーク ゲートウェイを使用してサイト間 VPN 接続を作成できます。 |
|
VM を使用してサイト間 VPN 接続を作成する Azure にデプロイする |
このテンプレートを使用すると、仮想ネットワーク ゲートウェイを使用してサイト間 VPN 接続を作成できます。 |
|
2 つのリージョン間で VNET 間接続を作成 Azure にデプロイする |
このテンプレートを使用すると、Virtual Network ゲートウェイを使用して、異なるリージョンの 2 つの VNET を接続できます。 |
|
推移的な BGP 接続の を示す 3 つの vNet を作成する Azure にデプロイする |
このテンプレートでは、仮想ネットワーク ゲートウェイと BGP 対応接続を使用して接続された 3 つの vNet をデプロイします |
|
HBase geo レプリケーション をデプロイする Azure にデプロイする |
このテンプレートを使用すると、VPN vnet 間接続を使用して、2 つの異なるリージョン間で HBase レプリケーション用の Azure 環境を構成できます。 |
|
既存の Azure VNET をマルチ VNET 構成 に拡張する Azure にデプロイする |
このテンプレートを使用すると、既存の単一の VNET 環境を、VNET 間ゲートウェイを使用して 2 つのデータセンター リージョンにまたがるマルチ VNET 環境に拡張できます。 |
| BGP を使用してアクティブ/アクティブ VPN ゲートウェイを使用してサイト間 VPN を Azure |
このテンプレートを使用すると、BGP を使用してアクティブ/アクティブ構成の VPN ゲートウェイを持つ 2 つの VNet 間にサイト間 VPN をデプロイできます。 各 Azure VPN Gateway は、リモート ピアの FQDN を解決して、リモート VPN ゲートウェイのパブリック IP を決定します。 テンプレートは、可用性ゾーンを持つ Azure リージョンで想定どおりに実行されます。 |
| VPN カスタム IPSec ポリシー の Azure |
このカスタム IPSec ポリシーを使用すると、IKE パラメーターをより詳細に構成できます。 これにより、サイト間 VPN ポリシーを展開して、VPN Endpoit デバイス上の特定の設定をサポートできます。 |
リソースの形式
Microsoft.Network/connections リソースを作成するには、次の JSON をテンプレートに追加します。
{
"type": "Microsoft.Network/connections",
"apiVersion": "2023-02-01",
"name": "string",
"location": "string",
"properties": {
"authorizationKey": "string",
"connectionMode": "string",
"connectionProtocol": "string",
"connectionType": "string",
"dpdTimeoutSeconds": "int",
"egressNatRules": [
{
"id": "string"
}
],
"enableBgp": "bool",
"enablePrivateLinkFastPath": "bool",
"expressRouteGatewayBypass": "bool",
"gatewayCustomBgpIpAddresses": [
{
"customBgpIpAddress": "string",
"ipConfigurationId": "string"
}
],
"ingressNatRules": [
{
"id": "string"
}
],
"ipsecPolicies": [
{
"dhGroup": "string",
"ikeEncryption": "string",
"ikeIntegrity": "string",
"ipsecEncryption": "string",
"ipsecIntegrity": "string",
"pfsGroup": "string",
"saDataSizeKilobytes": "int",
"saLifeTimeSeconds": "int"
}
],
"localNetworkGateway2": {
"id": "string",
"location": "string",
"properties": {
"bgpSettings": {
"asn": "int",
"bgpPeeringAddress": "string",
"bgpPeeringAddresses": [
{
"customBgpIpAddresses": [ "string" ],
"ipconfigurationId": "string"
}
],
"peerWeight": "int"
},
"fqdn": "string",
"gatewayIpAddress": "string",
"localNetworkAddressSpace": {
"addressPrefixes": [ "string" ]
}
},
"tags": {
"{customized property}": "string"
}
},
"peer": {
"id": "string"
},
"routingWeight": "int",
"sharedKey": "string",
"trafficSelectorPolicies": [
{
"localAddressRanges": [ "string" ],
"remoteAddressRanges": [ "string" ]
}
],
"useLocalAzureIpAddress": "bool",
"usePolicyBasedTrafficSelectors": "bool",
"virtualNetworkGateway1": {
"extendedLocation": {
"name": "string",
"type": "string"
},
"id": "string",
"location": "string",
"properties": {
"activeActive": "bool",
"adminState": "string",
"allowRemoteVnetTraffic": "bool",
"allowVirtualWanTraffic": "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"
},
"virtualNetworkGatewayPolicyGroups": [
{
"id": "string",
"name": "string",
"properties": {
"isDefault": "bool",
"policyMembers": [
{
"attributeType": "string",
"attributeValue": "string",
"name": "string"
}
],
"priority": "int"
}
}
],
"vNetExtendedLocationResourceId": "string",
"vpnClientConfiguration": {
"aadAudience": "string",
"aadIssuer": "string",
"aadTenant": "string",
"radiusServerAddress": "string",
"radiusServers": [
{
"radiusServerAddress": "string",
"radiusServerScore": "int",
"radiusServerSecret": "string"
}
],
"radiusServerSecret": "string",
"vngClientConnectionConfigurations": [
{
"id": "string",
"name": "string",
"properties": {
"virtualNetworkGatewayPolicyGroups": [
{
"id": "string"
}
],
"vpnClientAddressPool": {
"addressPrefixes": [ "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"
},
"tags": {
"{customized property}": "string"
}
},
"virtualNetworkGateway2": {
"extendedLocation": {
"name": "string",
"type": "string"
},
"id": "string",
"location": "string",
"properties": {
"activeActive": "bool",
"adminState": "string",
"allowRemoteVnetTraffic": "bool",
"allowVirtualWanTraffic": "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"
},
"virtualNetworkGatewayPolicyGroups": [
{
"id": "string",
"name": "string",
"properties": {
"isDefault": "bool",
"policyMembers": [
{
"attributeType": "string",
"attributeValue": "string",
"name": "string"
}
],
"priority": "int"
}
}
],
"vNetExtendedLocationResourceId": "string",
"vpnClientConfiguration": {
"aadAudience": "string",
"aadIssuer": "string",
"aadTenant": "string",
"radiusServerAddress": "string",
"radiusServers": [
{
"radiusServerAddress": "string",
"radiusServerScore": "int",
"radiusServerSecret": "string"
}
],
"radiusServerSecret": "string",
"vngClientConnectionConfigurations": [
{
"id": "string",
"name": "string",
"properties": {
"virtualNetworkGatewayPolicyGroups": [
{
"id": "string"
}
],
"vpnClientAddressPool": {
"addressPrefixes": [ "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"
},
"tags": {
"{customized property}": "string"
}
}
},
"tags": {
"{customized property}": "string"
}
}
プロパティ値
Microsoft.Network/connections (英語)
| 名前 | 形容 | 価値 |
|---|---|---|
| apiVersion (英語) | API のバージョン | '2023-02-01' |
| 位置 | リソースの場所。 | 文字列 |
| 名前 | リソース名 | string (必須) |
| プロパティ | 仮想ネットワーク ゲートウェイ接続のプロパティ。 | VirtualNetworkGatewayConnectionPropertiesFormat (必須) |
| タグ | リソース タグ | タグ名と値のディクショナリ。 テンプレート の |
| 型 | リソースの種類 | 'Microsoft.Network/connections' |
アドレス空間
| 名前 | 形容 | 価値 |
|---|---|---|
| addressプレフィックス | CIDR 表記でこの仮想ネットワーク用に予約されているアドレス ブロックの一覧。 | 文字列[] |
Bgp設定
| 名前 | 形容 | 価値 |
|---|---|---|
| ASN(エーエスエヌ) | BGP スピーカーの ASN。 | int 制約: 最小値 = 0 最大値 = 4294967295 |
| bgpピアリングアドレス | この BGP スピーカーの BGP ピアリング アドレスと BGP 識別子。 | 文字列 |
| bgpPeeringアドレス | 仮想ネットワーク ゲートウェイの IP 構成 ID を持つ BGP ピアリング アドレス。 | IPConfigurationBgpPeeringAddress[] |
| ピアウェイト | この BGP スピーカーから学習したルートに追加された重み。 | 整数 (int) |
拡張ロケーション
| 名前 | 形容 | 価値 |
|---|---|---|
| 名前 | 拡張された場所の名前。 | 文字列 |
| 型 | 拡張された場所の型。 | 「エッジゾーン」 |
GatewayCustomBgpIpAddressIpConfiguration
| 名前 | 形容 | 価値 |
|---|---|---|
| customBgpIpアドレス | IpconfigurationId に属するカスタム BgpPeeringAddress。 | string (必須) |
| ipConfigurationId(イプコンフィグレーションイ | ゲートウェイに属する ipconfiguration の IpconfigurationId。 | string (必須) |
IPConfigurationBgpPeeringAddress (英語)
| 名前 | 形容 | 価値 |
|---|---|---|
| customBgpIpアドレス | IP 構成に属するカスタム BGP ピアリング アドレスの一覧。 | 文字列[] |
| ipconfigurationId (英語) | ゲートウェイに属する IP 構成の ID。 | 文字列 |
IpsecPolicy (英語)
| 名前 | 形容 | 価値 |
|---|---|---|
| dhGroupの | 初期 SA に IKE フェーズ 1 で使用される DH グループ。 | 「DHGroup1」 「DHGroup14」 「DHGroup2」 「DHGroup2048」 「DHGroup24」 「ECP256」 「ECP384」 'None' (必須) |
| ike暗号化 | IKE 暗号化アルゴリズム (IKE フェーズ 2)。 | 「AES128」 「AES192」 「AES256」 「DES」 「DES3」 「GCMAES128」 'GCMAES256' (必須) |
| ikeIntegrityの | IKE 整合性アルゴリズム (IKE フェーズ 2)。 | 「GCMAES128」 「GCMAES256」 「MD5」 「SHA1」 「SHA256」 'SHA384' (必須) |
| ipsec暗号化 | IPSec 暗号化アルゴリズム (IKE フェーズ 1)。 | 「AES128」 「AES192」 「AES256」 「DES」 「DES3」 「GCMAES128」 「GCMAES192」 「GCMAES256」 'None' (必須) |
| ipsec整合性 | IPSec 整合性アルゴリズム (IKE フェーズ 1)。 | 「GCMAES128」 「GCMAES192」 「GCMAES256」 「MD5」 「SHA1」 'SHA256' (必須) |
| pfsグループ | IKE フェーズ 2 で新しい子 SA に使用される Pfs グループ。 | 「ECP256」 「ECP384」 「なし」 「PFS1」 「PFS14」 「PFS2」 「PFS2048」 「PFS24」 'PFSMM' (必須) |
| saDataSizeキロバイト | サイト間 VPN トンネルの IPSec セキュリティ アソシエーション (クイック モードまたはフェーズ 2 SA とも呼ばれます) ペイロード サイズ (KB)。 | int (必須) |
| saLifeTimeSeconds (英語) | サイト間 VPN トンネルの IPSec セキュリティ アソシエーション (クイック モードまたはフェーズ 2 SA とも呼ばれます) の有効期間 (秒単位)。 | int (必須) |
ローカルネットワークゲートウェイ
| 名前 | 形容 | 価値 |
|---|---|---|
| 身分証明書 | リソース ID。 | 文字列 |
| 位置 | リソースの場所。 | 文字列 |
| プロパティ | ローカル ネットワーク ゲートウェイのプロパティ。 | LocalNetworkGatewayPropertiesFormat (必須) |
| タグ | リソース タグ。 | リソースタグ |
LocalNetworkGatewayPropertiesFormat (英語)
| 名前 | 形容 | 価値 |
|---|---|---|
| bgp設定 | ローカル ネットワーク ゲートウェイの BGP スピーカー設定。 | Bgp設定 |
| FQDNの | ローカル ネットワーク ゲートウェイの FQDN。 | 文字列 |
| ゲートウェイ IP アドレス | ローカル ネットワーク ゲートウェイの IP アドレス。 | 文字列 |
| localNetworkAddressSpace (ローカルネットワークアドレススペース) | ローカル ネットワーク サイトのアドレス空間。 | アドレス空間 |
Radiusサーバー
| 名前 | 形容 | 価値 |
|---|---|---|
| radiusサーバーアドレス | この Radius サーバーのアドレス。 | string (必須) |
| radiusサーバースコア | この Radius サーバーに割り当てられた初期スコア。 | 整数 (int) |
| radiusサーバーシークレット | この Radius サーバーに使用されるシークレット。 | 文字列 |
リソースタグ
| 名前 | 形容 | 価値 |
|---|
リソースタグ
| 名前 | 形容 | 価値 |
|---|
リソースタグ
| 名前 | 形容 | 価値 |
|---|
サブリソース
| 名前 | 形容 | 価値 |
|---|---|---|
| 身分証明書 | リソース ID。 | 文字列 |
トラフィックセレクタポリシー
| 名前 | 形容 | 価値 |
|---|---|---|
| localAddressRanges (英語) | CIDR 形式のローカル アドレス空間のコレクション。 | string[] (必須) |
| リモートアドレス範囲 | CIDR 形式のリモート アドレス空間のコレクション。 | string[] (必須) |
VirtualNetworkGateway(英語)
| 名前 | 形容 | 価値 |
|---|---|---|
| 拡張ロケーション | ローカル仮想ネットワーク ゲートウェイの種類の拡張された場所。 | ExtendedLocation の |
| 身分証明書 | リソース ID。 | 文字列 |
| 位置 | リソースの場所。 | 文字列 |
| プロパティ | 仮想ネットワーク ゲートウェイのプロパティ。 | VirtualNetworkGatewayPropertiesFormat (必須) |
| タグ | リソース タグ。 | リソースタグ |
VirtualNetworkGatewayConnectionPropertiesFormat
| 名前 | 形容 | 価値 |
|---|---|---|
| authorizationキー | authorizationKey。 | 文字列 |
| コネクションモード | この接続の接続モード。 | デフォルト 'イニシエータのみ' 「レスポンダーのみ」 |
| コネクションプロトコル | この接続に使用される接続プロトコル。 | 「IKEv1」 「IKEv2」 |
| 接続タイプ | ゲートウェイ接続の種類。 | 「エクスプレスルート」 「IPsec」 「Vnet2Vnet」 'VPNClient' (必須) |
| dpdTimeoutSeconds (英語) | この接続のデッド ピア検出タイムアウト (秒単位)。 | 整数 (int) |
| エグレスナットルール | エグレス NatRules の一覧。 | サブリソース[] |
| enableBgpの | EnableBgp フラグ。 | ブール (bool) |
| enablePrivateLinkFastPath | プライベート リンクにアクセスするときは、ExpressRoute ゲートウェイをバイパスします。 ExpressRoute FastPath (expressRouteGatewayBypass) を有効にする必要があります。 | ブール (bool) |
| expressRouteGatewayバイパス | データ転送のために ExpressRoute ゲートウェイをバイパスします。 | ブール (bool) |
| ゲートウェイCustomBgpIpアドレス | 仮想ネットワーク ゲートウェイ接続に使用する GatewayCustomBgpIpAddresses。 | GatewayCustomBgpIpAddressIpConfiguration[] |
| ingressナットルール | イングレス NatRules の一覧。 | サブリソース[] |
| ipsecポリシー | この接続によって考慮される IPSec ポリシー。 | イプセックポリシー[] |
| localNetworkGateway2 の | ローカル ネットワーク ゲートウェイ リソースへの参照。 | ローカルネットワークゲートウェイ |
| Peer | ピアリング リソースへの参照。 | SubResource の |
| ルーティングウェイト | ルーティングの重み。 | 整数 (int) |
| 共有キー | IPSec 共有キー。 | 文字列 |
| trafficSelectorPolicies (トラフィックセレクタポリシー) | この接続によって考慮されるトラフィック セレクター ポリシー。 | トラフィックセレクタポリシー[] |
| useLocalAzureIpAddress | 接続にはプライベート ローカル Azure IP を使用します。 | ブール (bool) |
| usePolicyBasedTrafficSelectors | ポリシー ベースのトラフィック セレクターを有効にします。 | ブール (bool) |
| virtualNetworkGateway1 | 仮想ネットワーク ゲートウェイ リソースへの参照。 | VirtualNetworkGateway (必須) |
| virtualNetworkGateway2 (英語) | 仮想ネットワーク ゲートウェイ リソースへの参照。 | VirtualNetworkGateway の |
VirtualNetworkGatewayIPConfiguration (英語)
| 名前 | 形容 | 価値 |
|---|---|---|
| 身分証明書 | リソース ID。 | 文字列 |
| 名前 | リソース グループ内で一意であるリソースの名前。 この名前は、リソースへのアクセスに使用できます。 | 文字列 |
| プロパティ | 仮想ネットワーク ゲートウェイの IP 構成のプロパティ。 | VirtualNetworkGatewayIPConfigurationPropertiesFormat |
VirtualNetworkGatewayIPConfigurationPropertiesFormat
| 名前 | 形容 | 価値 |
|---|---|---|
| privateIPAllocationメソッド | プライベート IP アドレスの割り当て方法。 | 「ダイナミック」 「静的」 |
| publicIPアドレス | パブリック IP リソースへの参照。 | SubResource の |
| サブネット | サブネット リソースへの参照。 | SubResource の |
VirtualNetworkGatewayNatRule
| 名前 | 形容 | 価値 |
|---|---|---|
| 身分証明書 | リソース ID。 | 文字列 |
| 名前 | リソース グループ内で一意であるリソースの名前。 この名前は、リソースへのアクセスに使用できます。 | 文字列 |
| プロパティ | 仮想ネットワーク ゲートウェイ NAT 規則のプロパティ。 | VirtualNetworkGatewayNatRuleProperties の |
VirtualNetworkGatewayNatRuleプロパティ
| 名前 | 形容 | 価値 |
|---|---|---|
| externalMappings (英語) | NAT のプライベート IP アドレス外部マッピング。 | VpnNatRuleマッピング[] |
| internalMappings (英語) | NAT のプライベート IP アドレスの内部マッピング。 | VpnNatRuleマッピング[] |
| ipConfigurationId(イプコンフィグレーションイ | この NAT 規則が適用される IP 構成 ID。 | 文字列 |
| モード | VPN NAT のソース NAT の方向。 | 「エグレスナット」 「イングレススナット」 |
| 型 | VPN NAT の NAT 規則の種類。 | 「ダイナミック」 「静的」 |
VirtualNetworkGatewayPolicyGroup
| 名前 | 形容 | 価値 |
|---|---|---|
| 身分証明書 | リソース ID。 | 文字列 |
| 名前 | リソース グループ内で一意であるリソースの名前。 この名前は、リソースへのアクセスに使用できます。 | 文字列 |
| プロパティ | tVirtualNetworkGatewayPolicyGroup のプロパティ。 | VirtualNetworkGatewayPolicyGroupProperties の |
VirtualNetworkGatewayPolicyGroupMember (英語)
| 名前 | 形容 | 価値 |
|---|---|---|
| 属性タイプ | Vpn Policy メンバー属性の種類。 | 「AADGroupId」 'CertificateGroupId' 'RadiusAzureGroupId' |
| attributeValue(属性値) | この VirtualNetworkGatewayPolicyGroupMember に使用される属性の値。 | 文字列 |
| 名前 | VirtualNetworkGatewayPolicyGroupMember の名前。 | 文字列 |
VirtualNetworkGatewayPolicyGroupプロパティ
| 名前 | 形容 | 価値 |
|---|---|---|
| isDefault (デフォルト) | これが既定の VirtualNetworkGatewayPolicyGroup であるかどうかを示します。 | bool (必須) |
| ポリシーメンバー | VirtualNetworkGatewayPolicyGroup の複数の PolicyMembers。 | VirtualNetworkGatewayPolicyGroupMember[] (必須) |
| 優先権 | VirtualNetworkGatewayPolicyGroup の優先度。 | int (必須) |
VirtualNetworkGatewayPropertiesFormat
| 名前 | 形容 | 価値 |
|---|---|---|
| アクティブアクティブ | ActiveActive フラグ。 | ブール (bool) |
| adminStateの | vnet に複数の Express Route ゲートウェイがある場合に Express Route ゲートウェイがトラフィックを処理するかどうかを示すプロパティ | 「無効」 「有効」 |
| allowRemoteVnetTraffic (英語) | 他の Azure 仮想ネットワークからのトラフィックを受け入れるように、このゲートウェイを構成します。 この構成では、Azure Virtual WAN への接続はサポートされていません。 | ブール (bool) |
| VirtualWanTraffic を許可する | リモート Virtual WAN ネットワークからのトラフィックを受け入れるように、このゲートウェイを構成します。 | ブール (bool) |
| bgp設定 | 仮想ネットワーク ゲートウェイの BGP スピーカー設定。 | Bgp設定 |
| カスタムルート | 仮想ネットワーク ゲートウェイと VpnClient に対して顧客によって指定されたカスタム ルートアドレス空間を表すアドレス空間リソースへの参照。 | アドレス空間 |
| disableIPSecReplayProtection (IPSecリプレイ保護) | disableIPSecReplayProtection フラグ。 | ブール (bool) |
| enableBgpの | この仮想ネットワーク ゲートウェイに対して BGP が有効かどうか。 | ブール (bool) |
| enableBgpRouteTranslationForNat | EnableBgpRouteTranslationForNat フラグ。 | ブール (bool) |
| enableDnsForwarding(英語) | DNS 転送が有効かどうか。 | ブール (bool) |
| enablePrivateIpAddress | 接続のためにこのゲートウェイでプライベート IP を有効にする必要があるかどうか。 | ブール (bool) |
| ゲートウェイ・デフォルト・サイト | 既定のルートを持つローカル ネットワーク サイトを表す LocalNetworkGateway リソースへの参照。 既存の既定のサイト設定を削除する場合は Null 値を割り当てます。 | SubResource の |
| ゲートウェイタイプ | この仮想ネットワーク ゲートウェイの種類。 | 「エクスプレスルート」 「ローカルゲートウェイ」 「VPN」 |
| ipConfigurationsの | 仮想ネットワーク ゲートウェイの IP 構成。 | VirtualNetworkGatewayIPConfiguration[] |
| natRulesの | 仮想ネットワーク ゲートウェイの NatRules。 | VirtualNetworkGatewayNatRule[] |
| エスケーユー | 仮想ネットワーク ゲートウェイ用に選択された SKU を表す VirtualNetworkGatewaySku リソースへの参照。 | VirtualNetworkGatewaySku |
| virtualNetworkGatewayPolicyGroups | ゲートウェイで使用可能な VirtualNetworkGatewayPolicyGroup を表す VirtualNetworkGatewayPolicyGroup リソースへの参照。 | VirtualNetworkGatewayPolicyGroup[] |
| vNetExtendedLocationResourceId | 顧客 vnet リソース ID。ローカル ゲートウェイの種類の VirtualNetworkGateway は、顧客の vnet に関連付けられています。 | 文字列 |
| vpnClientConfiguration (vpnクライアント構成) | P2S VpnClient 構成を表す VpnClientConfiguration リソースへの参照。 | VpnClientConfiguration の |
| vpnGatewayGeneration | この VirtualNetworkGateway の世代。 gatewayType が VPN でない場合は None にする必要があります。 | 「ジェネレーション1」 「ジェネレーション2」 「なし」 |
| vpnタイプ | この仮想ネットワーク ゲートウェイの種類。 | 「ポリシーベース」 「ルートベース」 |
VirtualNetworkGatewaySku
| 名前 | 形容 | 価値 |
|---|---|---|
| 名前 | ゲートウェイ SKU 名。 | 「ベーシック」 「ErGw1AZ」 「ErGw2AZ」 「ErGw3AZ」 「ハイパフォーマンス」 「スタンダード」 「ウルトラパフォーマンス」 「VpnGw1」 「VpnGw1AZ」 「VpnGw2」 「VpnGw2AZ」 「VpnGw3」 「VpnGw3AZ」 「VpnGw4」 「VpnGw4AZ」 「VpnGw5」 「VpnGw5AZ」 |
| レベル | ゲートウェイ SKU レベル。 | 「ベーシック」 「ErGw1AZ」 「ErGw2AZ」 「ErGw3AZ」 「ハイパフォーマンス」 「スタンダード」 「ウルトラパフォーマンス」 「VpnGw1」 「VpnGw1AZ」 「VpnGw2」 「VpnGw2AZ」 「VpnGw3」 「VpnGw3AZ」 「VpnGw4」 「VpnGw4AZ」 「VpnGw5」 「VpnGw5AZ」 |
VngClientConnectionConfiguration (英語)
| 名前 | 形容 | 価値 |
|---|---|---|
| 身分証明書 | リソース ID。 | 文字列 |
| 名前 | リソース グループ内で一意であるリソースの名前。 この名前は、リソースへのアクセスに使用できます。 | 文字列 |
| プロパティ | VPN クライアントルート証明書のプロパティ。 | VngClientConnectionConfigurationProperties の |
VngClientConnectionConfigurationProperties (英語)
| 名前 | 形容 | 価値 |
|---|---|---|
| virtualNetworkGatewayPolicyGroups | virtualNetworkGatewayPolicyGroups への参照の一覧 | SubResource[] (必須) |
| vpnClientAddressPool | P2S VpnClient のアドレス空間を表すアドレス空間リソースへの参照。 | AddressSpace (必須) |
VpnClientConfiguration (英語)
| 名前 | 形容 | 価値 |
|---|---|---|
| aadオーディエンス | AAD 認証に使用される VPN クライアント接続用の VirtualNetworkGateway リソースの AADAudience プロパティ。 | 文字列 |
| aad発行者 | AAD 認証に使用される VPN クライアント接続用の VirtualNetworkGateway リソースの AADIssuer プロパティ。 | 文字列 |
| aadテナント | AAD 認証に使用される VPN クライアント接続用の VirtualNetworkGateway リソースの AADTenant プロパティ。 | 文字列 |
| radiusサーバーアドレス | VPN クライアント接続用の VirtualNetworkGateway リソースの radius サーバー アドレス プロパティ。 | 文字列 |
| radiusサーバー | 複数の radius サーバー構成の radiusServers プロパティ。 | RadiusServer[] |
| radiusサーバーシークレット | VPN クライアント接続用の VirtualNetworkGateway リソースの radius シークレット プロパティ。 | 文字列 |
| vngClientConnectionConfigurations(vngClientConnectionConfigurations) | 仮想ネットワーク ゲートウェイ P2S クライアントの IP アドレス プールごとの接続ポリシー。 | VngClientConnectionConfiguration[] |
| vpnAuthenticationTypes (vpn認証タイプ) | 仮想ネットワーク ゲートウェイの VPN 認証の種類。. | 次のいずれかを含む文字列配列: 「AAD」 「証明書」 「ラジアス」 |
| vpnClientAddressPool | P2S VpnClient のアドレス空間を表すアドレス空間リソースへの参照。 | アドレス空間 |
| vpnClientIpsecPolicies (英語) | 仮想ネットワーク ゲートウェイ P2S クライアントの VpnClientIpsecPolicies。 | イプセックポリシー[] |
| vpnClientプロトコル | 仮想ネットワーク ゲートウェイの VpnClientProtocols。 | 次のいずれかを含む文字列配列: 「IkeV2」 「OpenVPN」 「SSTP」 |
| vpnClientRevokedCertificates (英語) | 仮想ネットワーク ゲートウェイの VpnClientRevokedCertificate。 | VpnClientRevokedCertificate[] |
| vpnClientRoot証明書 | 仮想ネットワーク ゲートウェイの VpnClientRootCertificate。 | VpnClientRoot証明書[] |
VpnClientRevokedCertificate (英語)
| 名前 | 形容 | 価値 |
|---|---|---|
| 身分証明書 | リソース ID。 | 文字列 |
| 名前 | リソース グループ内で一意であるリソースの名前。 この名前は、リソースへのアクセスに使用できます。 | 文字列 |
| プロパティ | VPN クライアントが失効した証明書のプロパティ。 | VpnClientRevokedCertificatePropertiesFormat の |
VpnClientRevokedCertificatePropertiesFormat
| 名前 | 形容 | 価値 |
|---|---|---|
| サムプリント | 失効した VPN クライアント証明書の拇印。 | 文字列 |
VpnClientRoot証明書
| 名前 | 形容 | 価値 |
|---|---|---|
| 身分証明書 | リソース ID。 | 文字列 |
| 名前 | リソース グループ内で一意であるリソースの名前。 この名前は、リソースへのアクセスに使用できます。 | 文字列 |
| プロパティ | VPN クライアントルート証明書のプロパティ。 | VpnClientRootCertificatePropertiesFormat (必須) |
VpnClientRootCertificatePropertiesFormat
| 名前 | 形容 | 価値 |
|---|---|---|
| publicCertData の | 証明書のパブリック データ。 | string (必須) |
VpnNatRuleMapping(英語)
| 名前 | 形容 | 価値 |
|---|---|---|
| アドレス空間 | Vpn NatRule マッピングのアドレス空間。 | 文字列 |
| ポートレンジ | Vpn NatRule マッピングのポート範囲。 | 文字列 |
Terraform (AzAPI プロバイダー) リソース定義
接続リソースの種類は、次をターゲットとする操作と共にデプロイできます。
- リソースグループ 各APIバージョンの変更プロパティ一覧については、 変更ログをご覧ください。
使用例
Azure 検証済みモジュール
次の Azure 検証済みモジュール を使用して、このリソースの種類をデプロイできます。
| モジュール | 形容 |
|---|---|
| 仮想ネットワーク ゲートウェイ接続 の | 仮想ネットワーク ゲートウェイ接続用の AVM リソース モジュール |
リソースの形式
Microsoft.Network/connections リソースを作成するには、次の Terraform をテンプレートに追加します。
resource "azapi_resource" "symbolicname" {
type = "Microsoft.Network/connections@2023-02-01"
name = "string"
parent_id = "string"
location = "string"
tags = {
{customized property} = "string"
}
body = {
properties = {
authorizationKey = "string"
connectionMode = "string"
connectionProtocol = "string"
connectionType = "string"
dpdTimeoutSeconds = int
egressNatRules = [
{
id = "string"
}
]
enableBgp = bool
enablePrivateLinkFastPath = bool
expressRouteGatewayBypass = bool
gatewayCustomBgpIpAddresses = [
{
customBgpIpAddress = "string"
ipConfigurationId = "string"
}
]
ingressNatRules = [
{
id = "string"
}
]
ipsecPolicies = [
{
dhGroup = "string"
ikeEncryption = "string"
ikeIntegrity = "string"
ipsecEncryption = "string"
ipsecIntegrity = "string"
pfsGroup = "string"
saDataSizeKilobytes = int
saLifeTimeSeconds = int
}
]
localNetworkGateway2 = {
id = "string"
location = "string"
properties = {
bgpSettings = {
asn = int
bgpPeeringAddress = "string"
bgpPeeringAddresses = [
{
customBgpIpAddresses = [
"string"
]
ipconfigurationId = "string"
}
]
peerWeight = int
}
fqdn = "string"
gatewayIpAddress = "string"
localNetworkAddressSpace = {
addressPrefixes = [
"string"
]
}
}
tags = {
{customized property} = "string"
}
}
peer = {
id = "string"
}
routingWeight = int
sharedKey = "string"
trafficSelectorPolicies = [
{
localAddressRanges = [
"string"
]
remoteAddressRanges = [
"string"
]
}
]
useLocalAzureIpAddress = bool
usePolicyBasedTrafficSelectors = bool
virtualNetworkGateway1 = {
extendedLocation = {
name = "string"
type = "string"
}
id = "string"
location = "string"
properties = {
activeActive = bool
adminState = "string"
allowRemoteVnetTraffic = bool
allowVirtualWanTraffic = 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"
}
virtualNetworkGatewayPolicyGroups = [
{
id = "string"
name = "string"
properties = {
isDefault = bool
policyMembers = [
{
attributeType = "string"
attributeValue = "string"
name = "string"
}
]
priority = int
}
}
]
vNetExtendedLocationResourceId = "string"
vpnClientConfiguration = {
aadAudience = "string"
aadIssuer = "string"
aadTenant = "string"
radiusServerAddress = "string"
radiusServers = [
{
radiusServerAddress = "string"
radiusServerScore = int
radiusServerSecret = "string"
}
]
radiusServerSecret = "string"
vngClientConnectionConfigurations = [
{
id = "string"
name = "string"
properties = {
virtualNetworkGatewayPolicyGroups = [
{
id = "string"
}
]
vpnClientAddressPool = {
addressPrefixes = [
"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"
}
tags = {
{customized property} = "string"
}
}
virtualNetworkGateway2 = {
extendedLocation = {
name = "string"
type = "string"
}
id = "string"
location = "string"
properties = {
activeActive = bool
adminState = "string"
allowRemoteVnetTraffic = bool
allowVirtualWanTraffic = 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"
}
virtualNetworkGatewayPolicyGroups = [
{
id = "string"
name = "string"
properties = {
isDefault = bool
policyMembers = [
{
attributeType = "string"
attributeValue = "string"
name = "string"
}
]
priority = int
}
}
]
vNetExtendedLocationResourceId = "string"
vpnClientConfiguration = {
aadAudience = "string"
aadIssuer = "string"
aadTenant = "string"
radiusServerAddress = "string"
radiusServers = [
{
radiusServerAddress = "string"
radiusServerScore = int
radiusServerSecret = "string"
}
]
radiusServerSecret = "string"
vngClientConnectionConfigurations = [
{
id = "string"
name = "string"
properties = {
virtualNetworkGatewayPolicyGroups = [
{
id = "string"
}
]
vpnClientAddressPool = {
addressPrefixes = [
"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"
}
tags = {
{customized property} = "string"
}
}
}
}
}
プロパティ値
Microsoft.Network/connections (英語)
| 名前 | 形容 | 価値 |
|---|---|---|
| 位置 | リソースの場所。 | 文字列 |
| 名前 | リソース名 | string (必須) |
| プロパティ | 仮想ネットワーク ゲートウェイ接続のプロパティ。 | VirtualNetworkGatewayConnectionPropertiesFormat (必須) |
| タグ | リソース タグ | タグ名と値のディクショナリ。 |
| 型 | リソースの種類 | "Microsoft.Network/connections@2023-02-01" (英語) |
アドレス空間
| 名前 | 形容 | 価値 |
|---|---|---|
| addressプレフィックス | CIDR 表記でこの仮想ネットワーク用に予約されているアドレス ブロックの一覧。 | 文字列[] |
Bgp設定
| 名前 | 形容 | 価値 |
|---|---|---|
| ASN(エーエスエヌ) | BGP スピーカーの ASN。 | int 制約: 最小値 = 0 最大値 = 4294967295 |
| bgpピアリングアドレス | この BGP スピーカーの BGP ピアリング アドレスと BGP 識別子。 | 文字列 |
| bgpPeeringアドレス | 仮想ネットワーク ゲートウェイの IP 構成 ID を持つ BGP ピアリング アドレス。 | IPConfigurationBgpPeeringAddress[] |
| ピアウェイト | この BGP スピーカーから学習したルートに追加された重み。 | 整数 (int) |
拡張ロケーション
| 名前 | 形容 | 価値 |
|---|---|---|
| 名前 | 拡張された場所の名前。 | 文字列 |
| 型 | 拡張された場所の型。 | 「エッジゾーン」 |
GatewayCustomBgpIpAddressIpConfiguration
| 名前 | 形容 | 価値 |
|---|---|---|
| customBgpIpアドレス | IpconfigurationId に属するカスタム BgpPeeringAddress。 | string (必須) |
| ipConfigurationId(イプコンフィグレーションイ | ゲートウェイに属する ipconfiguration の IpconfigurationId。 | string (必須) |
IPConfigurationBgpPeeringAddress (英語)
| 名前 | 形容 | 価値 |
|---|---|---|
| customBgpIpアドレス | IP 構成に属するカスタム BGP ピアリング アドレスの一覧。 | 文字列[] |
| ipconfigurationId (英語) | ゲートウェイに属する IP 構成の ID。 | 文字列 |
IpsecPolicy (英語)
| 名前 | 形容 | 価値 |
|---|---|---|
| dhGroupの | 初期 SA に IKE フェーズ 1 で使用される DH グループ。 | 「DHGroup1」 「DHGroup14」 「DHGroup2」 「DHGroup2048」 「DHGroup24」 「ECP256」 「ECP384」 'None' (必須) |
| ike暗号化 | IKE 暗号化アルゴリズム (IKE フェーズ 2)。 | 「AES128」 「AES192」 「AES256」 「DES」 「DES3」 「GCMAES128」 'GCMAES256' (必須) |
| ikeIntegrityの | IKE 整合性アルゴリズム (IKE フェーズ 2)。 | 「GCMAES128」 「GCMAES256」 「MD5」 「SHA1」 「SHA256」 'SHA384' (必須) |
| ipsec暗号化 | IPSec 暗号化アルゴリズム (IKE フェーズ 1)。 | 「AES128」 「AES192」 「AES256」 「DES」 「DES3」 「GCMAES128」 「GCMAES192」 「GCMAES256」 'None' (必須) |
| ipsec整合性 | IPSec 整合性アルゴリズム (IKE フェーズ 1)。 | 「GCMAES128」 「GCMAES192」 「GCMAES256」 「MD5」 「SHA1」 'SHA256' (必須) |
| pfsグループ | IKE フェーズ 2 で新しい子 SA に使用される Pfs グループ。 | 「ECP256」 「ECP384」 「なし」 「PFS1」 「PFS14」 「PFS2」 「PFS2048」 「PFS24」 'PFSMM' (必須) |
| saDataSizeキロバイト | サイト間 VPN トンネルの IPSec セキュリティ アソシエーション (クイック モードまたはフェーズ 2 SA とも呼ばれます) ペイロード サイズ (KB)。 | int (必須) |
| saLifeTimeSeconds (英語) | サイト間 VPN トンネルの IPSec セキュリティ アソシエーション (クイック モードまたはフェーズ 2 SA とも呼ばれます) の有効期間 (秒単位)。 | int (必須) |
ローカルネットワークゲートウェイ
| 名前 | 形容 | 価値 |
|---|---|---|
| 身分証明書 | リソース ID。 | 文字列 |
| 位置 | リソースの場所。 | 文字列 |
| プロパティ | ローカル ネットワーク ゲートウェイのプロパティ。 | LocalNetworkGatewayPropertiesFormat (必須) |
| タグ | リソース タグ。 | リソースタグ |
LocalNetworkGatewayPropertiesFormat (英語)
| 名前 | 形容 | 価値 |
|---|---|---|
| bgp設定 | ローカル ネットワーク ゲートウェイの BGP スピーカー設定。 | Bgp設定 |
| FQDNの | ローカル ネットワーク ゲートウェイの FQDN。 | 文字列 |
| ゲートウェイ IP アドレス | ローカル ネットワーク ゲートウェイの IP アドレス。 | 文字列 |
| localNetworkAddressSpace (ローカルネットワークアドレススペース) | ローカル ネットワーク サイトのアドレス空間。 | アドレス空間 |
Radiusサーバー
| 名前 | 形容 | 価値 |
|---|---|---|
| radiusサーバーアドレス | この Radius サーバーのアドレス。 | string (必須) |
| radiusサーバースコア | この Radius サーバーに割り当てられた初期スコア。 | 整数 (int) |
| radiusサーバーシークレット | この Radius サーバーに使用されるシークレット。 | 文字列 |
リソースタグ
| 名前 | 形容 | 価値 |
|---|
リソースタグ
| 名前 | 形容 | 価値 |
|---|
リソースタグ
| 名前 | 形容 | 価値 |
|---|
サブリソース
| 名前 | 形容 | 価値 |
|---|---|---|
| 身分証明書 | リソース ID。 | 文字列 |
トラフィックセレクタポリシー
| 名前 | 形容 | 価値 |
|---|---|---|
| localAddressRanges (英語) | CIDR 形式のローカル アドレス空間のコレクション。 | string[] (必須) |
| リモートアドレス範囲 | CIDR 形式のリモート アドレス空間のコレクション。 | string[] (必須) |
VirtualNetworkGateway(英語)
| 名前 | 形容 | 価値 |
|---|---|---|
| 拡張ロケーション | ローカル仮想ネットワーク ゲートウェイの種類の拡張された場所。 | ExtendedLocation の |
| 身分証明書 | リソース ID。 | 文字列 |
| 位置 | リソースの場所。 | 文字列 |
| プロパティ | 仮想ネットワーク ゲートウェイのプロパティ。 | VirtualNetworkGatewayPropertiesFormat (必須) |
| タグ | リソース タグ。 | リソースタグ |
VirtualNetworkGatewayConnectionPropertiesFormat
| 名前 | 形容 | 価値 |
|---|---|---|
| authorizationキー | authorizationKey。 | 文字列 |
| コネクションモード | この接続の接続モード。 | デフォルト 'イニシエータのみ' 「レスポンダーのみ」 |
| コネクションプロトコル | この接続に使用される接続プロトコル。 | 「IKEv1」 「IKEv2」 |
| 接続タイプ | ゲートウェイ接続の種類。 | 「エクスプレスルート」 「IPsec」 「Vnet2Vnet」 'VPNClient' (必須) |
| dpdTimeoutSeconds (英語) | この接続のデッド ピア検出タイムアウト (秒単位)。 | 整数 (int) |
| エグレスナットルール | エグレス NatRules の一覧。 | サブリソース[] |
| enableBgpの | EnableBgp フラグ。 | ブール (bool) |
| enablePrivateLinkFastPath | プライベート リンクにアクセスするときは、ExpressRoute ゲートウェイをバイパスします。 ExpressRoute FastPath (expressRouteGatewayBypass) を有効にする必要があります。 | ブール (bool) |
| expressRouteGatewayバイパス | データ転送のために ExpressRoute ゲートウェイをバイパスします。 | ブール (bool) |
| ゲートウェイCustomBgpIpアドレス | 仮想ネットワーク ゲートウェイ接続に使用する GatewayCustomBgpIpAddresses。 | GatewayCustomBgpIpAddressIpConfiguration[] |
| ingressナットルール | イングレス NatRules の一覧。 | サブリソース[] |
| ipsecポリシー | この接続によって考慮される IPSec ポリシー。 | イプセックポリシー[] |
| localNetworkGateway2 の | ローカル ネットワーク ゲートウェイ リソースへの参照。 | ローカルネットワークゲートウェイ |
| Peer | ピアリング リソースへの参照。 | SubResource の |
| ルーティングウェイト | ルーティングの重み。 | 整数 (int) |
| 共有キー | IPSec 共有キー。 | 文字列 |
| trafficSelectorPolicies (トラフィックセレクタポリシー) | この接続によって考慮されるトラフィック セレクター ポリシー。 | トラフィックセレクタポリシー[] |
| useLocalAzureIpAddress | 接続にはプライベート ローカル Azure IP を使用します。 | ブール (bool) |
| usePolicyBasedTrafficSelectors | ポリシー ベースのトラフィック セレクターを有効にします。 | ブール (bool) |
| virtualNetworkGateway1 | 仮想ネットワーク ゲートウェイ リソースへの参照。 | VirtualNetworkGateway (必須) |
| virtualNetworkGateway2 (英語) | 仮想ネットワーク ゲートウェイ リソースへの参照。 | VirtualNetworkGateway の |
VirtualNetworkGatewayIPConfiguration (英語)
| 名前 | 形容 | 価値 |
|---|---|---|
| 身分証明書 | リソース ID。 | 文字列 |
| 名前 | リソース グループ内で一意であるリソースの名前。 この名前は、リソースへのアクセスに使用できます。 | 文字列 |
| プロパティ | 仮想ネットワーク ゲートウェイの IP 構成のプロパティ。 | VirtualNetworkGatewayIPConfigurationPropertiesFormat |
VirtualNetworkGatewayIPConfigurationPropertiesFormat
| 名前 | 形容 | 価値 |
|---|---|---|
| privateIPAllocationメソッド | プライベート IP アドレスの割り当て方法。 | 「ダイナミック」 「静的」 |
| publicIPアドレス | パブリック IP リソースへの参照。 | SubResource の |
| サブネット | サブネット リソースへの参照。 | SubResource の |
VirtualNetworkGatewayNatRule
| 名前 | 形容 | 価値 |
|---|---|---|
| 身分証明書 | リソース ID。 | 文字列 |
| 名前 | リソース グループ内で一意であるリソースの名前。 この名前は、リソースへのアクセスに使用できます。 | 文字列 |
| プロパティ | 仮想ネットワーク ゲートウェイ NAT 規則のプロパティ。 | VirtualNetworkGatewayNatRuleProperties の |
VirtualNetworkGatewayNatRuleプロパティ
| 名前 | 形容 | 価値 |
|---|---|---|
| externalMappings (英語) | NAT のプライベート IP アドレス外部マッピング。 | VpnNatRuleマッピング[] |
| internalMappings (英語) | NAT のプライベート IP アドレスの内部マッピング。 | VpnNatRuleマッピング[] |
| ipConfigurationId(イプコンフィグレーションイ | この NAT 規則が適用される IP 構成 ID。 | 文字列 |
| モード | VPN NAT のソース NAT の方向。 | 「エグレスナット」 「イングレススナット」 |
| 型 | VPN NAT の NAT 規則の種類。 | 「ダイナミック」 「静的」 |
VirtualNetworkGatewayPolicyGroup
| 名前 | 形容 | 価値 |
|---|---|---|
| 身分証明書 | リソース ID。 | 文字列 |
| 名前 | リソース グループ内で一意であるリソースの名前。 この名前は、リソースへのアクセスに使用できます。 | 文字列 |
| プロパティ | tVirtualNetworkGatewayPolicyGroup のプロパティ。 | VirtualNetworkGatewayPolicyGroupProperties の |
VirtualNetworkGatewayPolicyGroupMember (英語)
| 名前 | 形容 | 価値 |
|---|---|---|
| 属性タイプ | Vpn Policy メンバー属性の種類。 | 「AADGroupId」 'CertificateGroupId' 'RadiusAzureGroupId' |
| attributeValue(属性値) | この VirtualNetworkGatewayPolicyGroupMember に使用される属性の値。 | 文字列 |
| 名前 | VirtualNetworkGatewayPolicyGroupMember の名前。 | 文字列 |
VirtualNetworkGatewayPolicyGroupプロパティ
| 名前 | 形容 | 価値 |
|---|---|---|
| isDefault (デフォルト) | これが既定の VirtualNetworkGatewayPolicyGroup であるかどうかを示します。 | bool (必須) |
| ポリシーメンバー | VirtualNetworkGatewayPolicyGroup の複数の PolicyMembers。 | VirtualNetworkGatewayPolicyGroupMember[] (必須) |
| 優先権 | VirtualNetworkGatewayPolicyGroup の優先度。 | int (必須) |
VirtualNetworkGatewayPropertiesFormat
| 名前 | 形容 | 価値 |
|---|---|---|
| アクティブアクティブ | ActiveActive フラグ。 | ブール (bool) |
| adminStateの | vnet に複数の Express Route ゲートウェイがある場合に Express Route ゲートウェイがトラフィックを処理するかどうかを示すプロパティ | 「無効」 「有効」 |
| allowRemoteVnetTraffic (英語) | 他の Azure 仮想ネットワークからのトラフィックを受け入れるように、このゲートウェイを構成します。 この構成では、Azure Virtual WAN への接続はサポートされていません。 | ブール (bool) |
| VirtualWanTraffic を許可する | リモート Virtual WAN ネットワークからのトラフィックを受け入れるように、このゲートウェイを構成します。 | ブール (bool) |
| bgp設定 | 仮想ネットワーク ゲートウェイの BGP スピーカー設定。 | Bgp設定 |
| カスタムルート | 仮想ネットワーク ゲートウェイと VpnClient に対して顧客によって指定されたカスタム ルートアドレス空間を表すアドレス空間リソースへの参照。 | アドレス空間 |
| disableIPSecReplayProtection (IPSecリプレイ保護) | disableIPSecReplayProtection フラグ。 | ブール (bool) |
| enableBgpの | この仮想ネットワーク ゲートウェイに対して BGP が有効かどうか。 | ブール (bool) |
| enableBgpRouteTranslationForNat | EnableBgpRouteTranslationForNat フラグ。 | ブール (bool) |
| enableDnsForwarding(英語) | DNS 転送が有効かどうか。 | ブール (bool) |
| enablePrivateIpAddress | 接続のためにこのゲートウェイでプライベート IP を有効にする必要があるかどうか。 | ブール (bool) |
| ゲートウェイ・デフォルト・サイト | 既定のルートを持つローカル ネットワーク サイトを表す LocalNetworkGateway リソースへの参照。 既存の既定のサイト設定を削除する場合は Null 値を割り当てます。 | SubResource の |
| ゲートウェイタイプ | この仮想ネットワーク ゲートウェイの種類。 | 「エクスプレスルート」 「ローカルゲートウェイ」 「VPN」 |
| ipConfigurationsの | 仮想ネットワーク ゲートウェイの IP 構成。 | VirtualNetworkGatewayIPConfiguration[] |
| natRulesの | 仮想ネットワーク ゲートウェイの NatRules。 | VirtualNetworkGatewayNatRule[] |
| エスケーユー | 仮想ネットワーク ゲートウェイ用に選択された SKU を表す VirtualNetworkGatewaySku リソースへの参照。 | VirtualNetworkGatewaySku |
| virtualNetworkGatewayPolicyGroups | ゲートウェイで使用可能な VirtualNetworkGatewayPolicyGroup を表す VirtualNetworkGatewayPolicyGroup リソースへの参照。 | VirtualNetworkGatewayPolicyGroup[] |
| vNetExtendedLocationResourceId | 顧客 vnet リソース ID。ローカル ゲートウェイの種類の VirtualNetworkGateway は、顧客の vnet に関連付けられています。 | 文字列 |
| vpnClientConfiguration (vpnクライアント構成) | P2S VpnClient 構成を表す VpnClientConfiguration リソースへの参照。 | VpnClientConfiguration の |
| vpnGatewayGeneration | この VirtualNetworkGateway の世代。 gatewayType が VPN でない場合は None にする必要があります。 | 「ジェネレーション1」 「ジェネレーション2」 「なし」 |
| vpnタイプ | この仮想ネットワーク ゲートウェイの種類。 | 「ポリシーベース」 「ルートベース」 |
VirtualNetworkGatewaySku
| 名前 | 形容 | 価値 |
|---|---|---|
| 名前 | ゲートウェイ SKU 名。 | 「ベーシック」 「ErGw1AZ」 「ErGw2AZ」 「ErGw3AZ」 「ハイパフォーマンス」 「スタンダード」 「ウルトラパフォーマンス」 「VpnGw1」 「VpnGw1AZ」 「VpnGw2」 「VpnGw2AZ」 「VpnGw3」 「VpnGw3AZ」 「VpnGw4」 「VpnGw4AZ」 「VpnGw5」 「VpnGw5AZ」 |
| レベル | ゲートウェイ SKU レベル。 | 「ベーシック」 「ErGw1AZ」 「ErGw2AZ」 「ErGw3AZ」 「ハイパフォーマンス」 「スタンダード」 「ウルトラパフォーマンス」 「VpnGw1」 「VpnGw1AZ」 「VpnGw2」 「VpnGw2AZ」 「VpnGw3」 「VpnGw3AZ」 「VpnGw4」 「VpnGw4AZ」 「VpnGw5」 「VpnGw5AZ」 |
VngClientConnectionConfiguration (英語)
| 名前 | 形容 | 価値 |
|---|---|---|
| 身分証明書 | リソース ID。 | 文字列 |
| 名前 | リソース グループ内で一意であるリソースの名前。 この名前は、リソースへのアクセスに使用できます。 | 文字列 |
| プロパティ | VPN クライアントルート証明書のプロパティ。 | VngClientConnectionConfigurationProperties の |
VngClientConnectionConfigurationProperties (英語)
| 名前 | 形容 | 価値 |
|---|---|---|
| virtualNetworkGatewayPolicyGroups | virtualNetworkGatewayPolicyGroups への参照の一覧 | SubResource[] (必須) |
| vpnClientAddressPool | P2S VpnClient のアドレス空間を表すアドレス空間リソースへの参照。 | AddressSpace (必須) |
VpnClientConfiguration (英語)
| 名前 | 形容 | 価値 |
|---|---|---|
| aadオーディエンス | AAD 認証に使用される VPN クライアント接続用の VirtualNetworkGateway リソースの AADAudience プロパティ。 | 文字列 |
| aad発行者 | AAD 認証に使用される VPN クライアント接続用の VirtualNetworkGateway リソースの AADIssuer プロパティ。 | 文字列 |
| aadテナント | AAD 認証に使用される VPN クライアント接続用の VirtualNetworkGateway リソースの AADTenant プロパティ。 | 文字列 |
| radiusサーバーアドレス | VPN クライアント接続用の VirtualNetworkGateway リソースの radius サーバー アドレス プロパティ。 | 文字列 |
| radiusサーバー | 複数の radius サーバー構成の radiusServers プロパティ。 | RadiusServer[] |
| radiusサーバーシークレット | VPN クライアント接続用の VirtualNetworkGateway リソースの radius シークレット プロパティ。 | 文字列 |
| vngClientConnectionConfigurations(vngClientConnectionConfigurations) | 仮想ネットワーク ゲートウェイ P2S クライアントの IP アドレス プールごとの接続ポリシー。 | VngClientConnectionConfiguration[] |
| vpnAuthenticationTypes (vpn認証タイプ) | 仮想ネットワーク ゲートウェイの VPN 認証の種類。. | 次のいずれかを含む文字列配列: 「AAD」 「証明書」 「ラジアス」 |
| vpnClientAddressPool | P2S VpnClient のアドレス空間を表すアドレス空間リソースへの参照。 | アドレス空間 |
| vpnClientIpsecPolicies (英語) | 仮想ネットワーク ゲートウェイ P2S クライアントの VpnClientIpsecPolicies。 | イプセックポリシー[] |
| vpnClientプロトコル | 仮想ネットワーク ゲートウェイの VpnClientProtocols。 | 次のいずれかを含む文字列配列: 「IkeV2」 「OpenVPN」 「SSTP」 |
| vpnClientRevokedCertificates (英語) | 仮想ネットワーク ゲートウェイの VpnClientRevokedCertificate。 | VpnClientRevokedCertificate[] |
| vpnClientRoot証明書 | 仮想ネットワーク ゲートウェイの VpnClientRootCertificate。 | VpnClientRoot証明書[] |
VpnClientRevokedCertificate (英語)
| 名前 | 形容 | 価値 |
|---|---|---|
| 身分証明書 | リソース ID。 | 文字列 |
| 名前 | リソース グループ内で一意であるリソースの名前。 この名前は、リソースへのアクセスに使用できます。 | 文字列 |
| プロパティ | VPN クライアントが失効した証明書のプロパティ。 | VpnClientRevokedCertificatePropertiesFormat の |
VpnClientRevokedCertificatePropertiesFormat
| 名前 | 形容 | 価値 |
|---|---|---|
| サムプリント | 失効した VPN クライアント証明書の拇印。 | 文字列 |
VpnClientRoot証明書
| 名前 | 形容 | 価値 |
|---|---|---|
| 身分証明書 | リソース ID。 | 文字列 |
| 名前 | リソース グループ内で一意であるリソースの名前。 この名前は、リソースへのアクセスに使用できます。 | 文字列 |
| プロパティ | VPN クライアントルート証明書のプロパティ。 | VpnClientRootCertificatePropertiesFormat (必須) |
VpnClientRootCertificatePropertiesFormat
| 名前 | 形容 | 価値 |
|---|---|---|
| publicCertData の | 証明書のパブリック データ。 | string (必須) |
VpnNatRuleMapping(英語)
| 名前 | 形容 | 価値 |
|---|---|---|
| アドレス空間 | Vpn NatRule マッピングのアドレス空間。 | 文字列 |
| ポートレンジ | Vpn NatRule マッピングのポート範囲。 | 文字列 |