Catatan
Akses ke halaman ini memerlukan otorisasi. Anda dapat mencoba masuk atau mengubah direktori.
Akses ke halaman ini memerlukan otorisasi. Anda dapat mencoba mengubah direktori.
- Terbaru
- 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
- 11-11-2017
-
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
- Pratinjau 05-01-2015
Definisi sumber daya Bicep
Jenis sumber daya localNetworkGateways dapat disebarkan dengan operasi yang menargetkan:
- Grup sumber daya
- Lihat perintah penyebaran grup sumber daya
Untuk daftar properti yang diubah di setiap versi API, lihat mengubah log.
Contoh Penggunaan
Sampel Bicep
Contoh dasar menyebarkan koneksi gateway jaringan lokal di mana koneksi tertentu dapat dikonfigurasi.
param resourceName string = 'acctest0001'
param location string = 'westeurope'
resource localNetworkGateway 'Microsoft.Network/localNetworkGateways@2022-07-01' = {
name: resourceName
location: location
properties: {
gatewayIpAddress: '168.62.225.23'
localNetworkAddressSpace: {
addressPrefixes: [
'10.1.1.0/24'
]
}
}
}
Modul Terverifikasi Azure
Modul Terverifikasi Azure berikut dapat digunakan untuk menyebarkan jenis sumber daya ini.
Sampel Mulai Cepat Azure
Templat Mulai Cepat Azure berikut ini berisi sampel Bicep untuk menyebarkan jenis sumber daya ini.
| File Bisep | Deskripsi |
|---|---|
| VPN Situs-ke-Situs dengan VPN Gateway aktif-aktif dengan BGP | Templat ini memungkinkan Anda untuk menyebarkan VPN situs-ke-situs antara dua VNet dengan VPN Gateway dalam konfigurasi aktif-aktif dengan BGP. Setiap Azure VPN Gateway menyelesaikan FQDN rekan jarak jauh untuk menentukan IP publik VPN Gateway jarak jauh. Templat berjalan seperti yang diharapkan di wilayah Azure dengan zona ketersediaan. |
Format sumber daya
Untuk membuat sumber daya Microsoft.Network/localNetworkGateways, tambahkan Bicep berikut ke templat Anda.
resource symbolicname 'Microsoft.Network/localNetworkGateways@2023-02-01' = {
location: 'string'
name: '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'
}
}
Nilai Properti
Microsoft.Network/localNetworkGateways
| Nama | Deskripsi | Nilai |
|---|---|---|
| lokasi | Lokasi sumber daya. | string |
| Nama | Nama sumber daya | tali Kendala: Panjang min = 1 (diperlukan) |
| Properti | Properti gateway jaringan lokal. | LocalNetworkGatewayPropertiesFormat (diperlukan) |
| Tags | Tag sumber daya | Kamus nama dan nilai tag. Lihat Tag dalam templat |
Ruang Alamat
| Nama | Deskripsi | Nilai |
|---|---|---|
| alamatPrefiks | Daftar blok alamat yang dicadangkan untuk jaringan virtual ini dalam notasi CIDR. | string[] |
Pengaturan BGP
| Nama | Deskripsi | Nilai |
|---|---|---|
| Asn | ASN pembicara BGP. | Int Kendala: Nilai min = 0 Nilai maks = 4294967295 |
| bgpPeeringAddress | Alamat peering BGP dan pengidentifikasi BGP pembicara BGP ini. | string |
| bgpPeeringAddresses | Alamat peering BGP dengan ID konfigurasi IP untuk gateway jaringan virtual. | IPConfigurationBgpPeeringAddress[] |
| Berat sebaya | Bobot ditambahkan ke rute yang dipelajari dari speaker BGP ini. | Int |
IPConfigurationBgpPeeringAddress
| Nama | Deskripsi | Nilai |
|---|---|---|
| kustomBgpIpAddresses | Daftar alamat peering BGP kustom yang termasuk dalam konfigurasi IP. | string[] |
| ipconfigurationId | ID konfigurasi IP yang termasuk dalam gateway. | string |
LocalNetworkGatewayPropertiesFormat
| Nama | Deskripsi | Nilai |
|---|---|---|
| bgpPengaturan | Pengaturan pembicara BGP gateway jaringan lokal. | BgpSettings |
| Fqdn | FQDN gateway jaringan lokal. | string |
| gatewayAlamat IP | Alamat IP gateway jaringan lokal. | string |
| lokalJaringanRuang Alamat | Ruang alamat situs jaringan lokal. | |
ResourceTags
| Nama | Deskripsi | Nilai |
|---|
Definisi sumber daya templat ARM
Jenis sumber daya localNetworkGateways dapat disebarkan dengan operasi yang menargetkan:
- Grup sumber daya - Lihat perintah penyebaran grup sumber daya Untuk daftar properti yang diubah di setiap versi API, lihat log perubahan.
Contoh Penggunaan
Templat Quickstart Azure
Templat Mulai Cepat Azure berikut ini menyebarkan jenis sumber daya ini.
| Templat | Deskripsi |
|---|---|
|
Membuat Koneksi VPN Situs-ke-Situs |
Templat ini memungkinkan Anda membuat Koneksi VPN Situs-ke-Situs menggunakan Gateway Virtual Network |
|
Membuat Koneksi VPN Situs-ke-Situs dengan VM |
Templat ini memungkinkan Anda membuat Koneksi VPN Situs-ke-Situs menggunakan Gateway Virtual Network |
|
Membuat VNet dengan dua Subnet, jaringan lokal, dan gateway |
Templat ini membuat VNet, 2 subnet, dan gateway |
|
VPN Situs-ke-Situs dengan VPN Gateway aktif-aktif dengan BGP |
Templat ini memungkinkan Anda untuk menyebarkan VPN situs-ke-situs antara dua VNet dengan VPN Gateway dalam konfigurasi aktif-aktif dengan BGP. Setiap Azure VPN Gateway menyelesaikan FQDN rekan jarak jauh untuk menentukan IP publik VPN Gateway jarak jauh. Templat berjalan seperti yang diharapkan di wilayah Azure dengan zona ketersediaan. |
Format sumber daya
Untuk membuat sumber daya Microsoft.Network/localNetworkGateways, tambahkan JSON berikut ke templat Anda.
{
"type": "Microsoft.Network/localNetworkGateways",
"apiVersion": "2023-02-01",
"name": "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"
}
}
Nilai Properti
Microsoft.Network/localNetworkGateways
| Nama | Deskripsi | Nilai |
|---|---|---|
| apiVersi | Versi api | '2023-02-01' |
| lokasi | Lokasi sumber daya. | string |
| Nama | Nama sumber daya | tali Kendala: Panjang min = 1 (diperlukan) |
| Properti | Properti gateway jaringan lokal. | LocalNetworkGatewayPropertiesFormat (diperlukan) |
| Tags | Tag sumber daya | Kamus nama dan nilai tag. Lihat Tag dalam templat |
| jenis | Jenis sumber daya | 'Microsoft.Network/localNetworkGateways' |
Ruang Alamat
| Nama | Deskripsi | Nilai |
|---|---|---|
| alamatPrefiks | Daftar blok alamat yang dicadangkan untuk jaringan virtual ini dalam notasi CIDR. | string[] |
Pengaturan BGP
| Nama | Deskripsi | Nilai |
|---|---|---|
| Asn | ASN pembicara BGP. | Int Kendala: Nilai min = 0 Nilai maks = 4294967295 |
| bgpPeeringAddress | Alamat peering BGP dan pengidentifikasi BGP pembicara BGP ini. | string |
| bgpPeeringAddresses | Alamat peering BGP dengan ID konfigurasi IP untuk gateway jaringan virtual. | IPConfigurationBgpPeeringAddress[] |
| Berat sebaya | Bobot ditambahkan ke rute yang dipelajari dari speaker BGP ini. | Int |
IPConfigurationBgpPeeringAddress
| Nama | Deskripsi | Nilai |
|---|---|---|
| kustomBgpIpAddresses | Daftar alamat peering BGP kustom yang termasuk dalam konfigurasi IP. | string[] |
| ipconfigurationId | ID konfigurasi IP yang termasuk dalam gateway. | string |
LocalNetworkGatewayPropertiesFormat
| Nama | Deskripsi | Nilai |
|---|---|---|
| bgpPengaturan | Pengaturan pembicara BGP gateway jaringan lokal. | BgpSettings |
| Fqdn | FQDN gateway jaringan lokal. | string |
| gatewayAlamat IP | Alamat IP gateway jaringan lokal. | string |
| lokalJaringanRuang Alamat | Ruang alamat situs jaringan lokal. | |
ResourceTags
| Nama | Deskripsi | Nilai |
|---|
Definisi sumber daya Terraform (penyedia AzAPI)
Jenis sumber daya localNetworkGateways dapat disebarkan dengan operasi yang menargetkan:
- Grup sumber daya Untuk daftar properti yang diubah di setiap versi API, lihat log perubahan.
Contoh Penggunaan
Sampel Terraform
Contoh dasar menyebarkan koneksi gateway jaringan lokal di mana koneksi tertentu dapat dikonfigurasi.
terraform {
required_providers {
azapi = {
source = "Azure/azapi"
}
}
}
provider "azapi" {
skip_provider_registration = false
}
variable "resource_name" {
type = string
default = "acctest0001"
}
variable "location" {
type = string
default = "westeurope"
}
resource "azapi_resource" "resourceGroup" {
type = "Microsoft.Resources/resourceGroups@2020-06-01"
name = var.resource_name
location = var.location
}
resource "azapi_resource" "localNetworkGateway" {
type = "Microsoft.Network/localNetworkGateways@2022-07-01"
parent_id = azapi_resource.resourceGroup.id
name = var.resource_name
location = var.location
body = {
properties = {
gatewayIpAddress = "168.62.225.23"
localNetworkAddressSpace = {
addressPrefixes = [
"10.1.1.0/24",
]
}
}
}
schema_validation_enabled = false
response_export_values = ["*"]
}
Modul Terverifikasi Azure
Modul Terverifikasi Azure berikut dapat digunakan untuk menyebarkan jenis sumber daya ini.
Format sumber daya
Untuk membuat sumber daya Microsoft.Network/localNetworkGateways, tambahkan Terraform berikut ke templat Anda.
resource "azapi_resource" "symbolicname" {
type = "Microsoft.Network/localNetworkGateways@2023-02-01"
name = "string"
parent_id = "string"
location = "string"
tags = {
{customized property} = "string"
}
body = {
properties = {
bgpSettings = {
asn = int
bgpPeeringAddress = "string"
bgpPeeringAddresses = [
{
customBgpIpAddresses = [
"string"
]
ipconfigurationId = "string"
}
]
peerWeight = int
}
fqdn = "string"
gatewayIpAddress = "string"
localNetworkAddressSpace = {
addressPrefixes = [
"string"
]
}
}
}
}
Nilai Properti
Microsoft.Network/localNetworkGateways
| Nama | Deskripsi | Nilai |
|---|---|---|
| lokasi | Lokasi sumber daya. | string |
| Nama | Nama sumber daya | tali Kendala: Panjang min = 1 (diperlukan) |
| Properti | Properti gateway jaringan lokal. | LocalNetworkGatewayPropertiesFormat (diperlukan) |
| Tags | Tag sumber daya | Kamus nama dan nilai tag. |
| jenis | Jenis sumber daya | "Microsoft.Jaringan/localNetworkGateways@2023-02-01" |
Ruang Alamat
| Nama | Deskripsi | Nilai |
|---|---|---|
| alamatPrefiks | Daftar blok alamat yang dicadangkan untuk jaringan virtual ini dalam notasi CIDR. | string[] |
Pengaturan BGP
| Nama | Deskripsi | Nilai |
|---|---|---|
| Asn | ASN pembicara BGP. | Int Kendala: Nilai min = 0 Nilai maks = 4294967295 |
| bgpPeeringAddress | Alamat peering BGP dan pengidentifikasi BGP pembicara BGP ini. | string |
| bgpPeeringAddresses | Alamat peering BGP dengan ID konfigurasi IP untuk gateway jaringan virtual. | IPConfigurationBgpPeeringAddress[] |
| Berat sebaya | Bobot ditambahkan ke rute yang dipelajari dari speaker BGP ini. | Int |
IPConfigurationBgpPeeringAddress
| Nama | Deskripsi | Nilai |
|---|---|---|
| kustomBgpIpAddresses | Daftar alamat peering BGP kustom yang termasuk dalam konfigurasi IP. | string[] |
| ipconfigurationId | ID konfigurasi IP yang termasuk dalam gateway. | string |
LocalNetworkGatewayPropertiesFormat
| Nama | Deskripsi | Nilai |
|---|---|---|
| bgpPengaturan | Pengaturan pembicara BGP gateway jaringan lokal. | BgpSettings |
| Fqdn | FQDN gateway jaringan lokal. | string |
| gatewayAlamat IP | Alamat IP gateway jaringan lokal. | string |
| lokalJaringanRuang Alamat | Ruang alamat situs jaringan lokal. | |
ResourceTags
| Nama | Deskripsi | Nilai |
|---|