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
Definisi sumber daya Bicep
Jenis sumber daya expressRouteCircuits/peerings/connections dapat digunakan 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 penyebaran Koneksi Sirkuit Rute Ekspres.
param resourceName string = 'acctest0001'
param location string = 'westeurope'
@secure()
@description('The shared key for the Express Route circuit peering connections')
param expressRouteConnectionSharedKey string
resource expressRoutePort 'Microsoft.Network/ExpressRoutePorts@2022-07-01' = {
name: resourceName
location: location
properties: {
bandwidthInGbps: 10
encapsulation: 'Dot1Q'
peeringLocation: 'Airtel-Chennai2-CLS'
}
}
resource expressRoutePort2 'Microsoft.Network/ExpressRoutePorts@2022-07-01' = {
name: resourceName
location: location
properties: {
bandwidthInGbps: 10
encapsulation: 'Dot1Q'
peeringLocation: 'CDC-Canberra'
}
}
resource expressRouteCircuit 'Microsoft.Network/expressRouteCircuits@2022-07-01' = {
name: resourceName
location: location
sku: {
family: 'MeteredData'
name: 'Standard_MeteredData'
tier: 'Standard'
}
properties: {
authorizationKey: ''
bandwidthInGbps: 5
expressRoutePort: {
id: expressRoutePort.id
}
}
}
resource expressRouteCircuit2 'Microsoft.Network/expressRouteCircuits@2022-07-01' = {
name: resourceName
location: location
sku: {
family: 'MeteredData'
name: 'Standard_MeteredData'
tier: 'Standard'
}
properties: {
authorizationKey: ''
bandwidthInGbps: 5
expressRoutePort: {
id: expressRoutePort2.id
}
}
}
resource peering 'Microsoft.Network/expressRouteCircuits/peerings@2022-07-01' = {
name: 'AzurePrivatePeering'
parent: expressRouteCircuit
properties: {
azureASN: 12076
gatewayManagerEtag: ''
peerASN: 100
peeringType: 'AzurePrivatePeering'
primaryPeerAddressPrefix: '192.168.1.0/30'
secondaryPeerAddressPrefix: '192.168.1.0/30'
sharedKey: expressRouteConnectionSharedKey
state: 'Enabled'
vlanId: 100
}
}
resource peering2 'Microsoft.Network/expressRouteCircuits/peerings@2022-07-01' = {
name: 'AzurePrivatePeering'
parent: expressRouteCircuit2
properties: {
azureASN: 12076
gatewayManagerEtag: ''
peerASN: 100
peeringType: 'AzurePrivatePeering'
primaryPeerAddressPrefix: '192.168.1.0/30'
secondaryPeerAddressPrefix: '192.168.1.0/30'
sharedKey: expressRouteConnectionSharedKey
state: 'Enabled'
vlanId: 100
}
}
resource connection 'Microsoft.Network/expressRouteCircuits/peerings/connections@2022-07-01' = {
name: resourceName
parent: peering
properties: {
addressPrefix: '192.169.8.0/29'
expressRouteCircuitPeering: {
id: peering.id
}
peerExpressRouteCircuitPeering: {
id: peering2.id
}
}
}
Format sumber daya
Untuk membuat sumber daya Microsoft.Network/expressRouteCircuits/peerings/connections, tambahkan Bicep berikut ke templat Anda.
resource symbolicname 'Microsoft.Network/expressRouteCircuits/peerings/connections@2022-01-01' = {
parent: resourceSymbolicName
name: 'string'
properties: {
addressPrefix: 'string'
authorizationKey: 'string'
expressRouteCircuitPeering: {
id: 'string'
}
ipv6CircuitConnectionConfig: {
addressPrefix: 'string'
}
peerExpressRouteCircuitPeering: {
id: 'string'
}
}
}
Nilai Properti
Microsoft.Network/expressRouteCircuits/peerings/koneksi
| Nama | Deskripsi | Nilai |
|---|---|---|
| Nama | Nama sumber daya | string (diperlukan) |
| induk | Di Bicep, Anda dapat menentukan sumber daya induk untuk sumber daya anak. Anda hanya perlu menambahkan properti ini ketika sumber daya anak dideklarasikan di luar sumber daya induk. Untuk informasi selengkapnya, lihat sumber daya Turunan di luar sumber daya induk. |
Nama simbolis untuk sumber daya jenis: expressRouteCircuits/peerings |
| Properti | Properti koneksi sirkuit rute ekspres. | ExpressRouteCircuitConnectionPropertiesFormat |
ExpressRouteCircuitConnectionPropertiesFormat
| Nama | Deskripsi | Nilai |
|---|---|---|
| alamatAwalan | /29 ruang alamat IP untuk mengukir alamat Pelanggan untuk terowongan. | string |
| Kunci otorisasi | Kunci otorisasi. | string |
| expressRouteCircuitPeering | Referensi ke Express Route Circuit Private Peering Resource dari koneksi yang memulai sirkuit. | SubResource |
| ipv6CircuitConnectionConfig | Prefiks Alamat IPv6Properti dari koneksi sirkuit rute ekspres. | Ipv6CircuitConnectionConfig |
| peerExpressExpressRouteCircuitPeering | Referensi ke Express Route Circuit Private Peering Resource dari sirkuit yang di-peering. | SubResource |
Ipv6CircuitConnectionConfig
| Nama | Deskripsi | Nilai |
|---|---|---|
| alamatAwalan | /125 ruang alamat IP untuk mengukir alamat pelanggan untuk jangkauan global. | string |
SubSumber Daya
| Nama | Deskripsi | Nilai |
|---|---|---|
| Id | ID Sumber Daya. | string |
Definisi sumber daya templat ARM
Jenis sumber daya expressRouteCircuits/peerings/connections dapat digunakan 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
Format sumber daya
Untuk membuat sumber daya Microsoft.Network/expressRouteCircuits/peerings/connections, tambahkan JSON berikut ke templat Anda.
{
"type": "Microsoft.Network/expressRouteCircuits/peerings/connections",
"apiVersion": "2022-01-01",
"name": "string",
"properties": {
"addressPrefix": "string",
"authorizationKey": "string",
"expressRouteCircuitPeering": {
"id": "string"
},
"ipv6CircuitConnectionConfig": {
"addressPrefix": "string"
},
"peerExpressRouteCircuitPeering": {
"id": "string"
}
}
}
Nilai Properti
Microsoft.Network/expressRouteCircuits/peerings/koneksi
| Nama | Deskripsi | Nilai |
|---|---|---|
| apiVersi | Versi api | '2022-01-01' |
| Nama | Nama sumber daya | string (diperlukan) |
| Properti | Properti koneksi sirkuit rute ekspres. | ExpressRouteCircuitConnectionPropertiesFormat |
| jenis | Jenis sumber daya | 'Microsoft.Network/expressRouteCircuits/peerings/connections' |
ExpressRouteCircuitConnectionPropertiesFormat
| Nama | Deskripsi | Nilai |
|---|---|---|
| alamatAwalan | /29 ruang alamat IP untuk mengukir alamat Pelanggan untuk terowongan. | string |
| Kunci otorisasi | Kunci otorisasi. | string |
| expressRouteCircuitPeering | Referensi ke Express Route Circuit Private Peering Resource dari koneksi yang memulai sirkuit. | SubResource |
| ipv6CircuitConnectionConfig | Prefiks Alamat IPv6Properti dari koneksi sirkuit rute ekspres. | Ipv6CircuitConnectionConfig |
| peerExpressExpressRouteCircuitPeering | Referensi ke Express Route Circuit Private Peering Resource dari sirkuit yang di-peering. | SubResource |
Ipv6CircuitConnectionConfig
| Nama | Deskripsi | Nilai |
|---|---|---|
| alamatAwalan | /125 ruang alamat IP untuk mengukir alamat pelanggan untuk jangkauan global. | string |
SubSumber Daya
| Nama | Deskripsi | Nilai |
|---|---|---|
| Id | ID Sumber Daya. | string |
Definisi sumber daya Terraform (penyedia AzAPI)
Jenis sumber daya expressRouteCircuits/peerings/connections dapat digunakan 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 penyebaran Koneksi Sirkuit Rute Ekspres.
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"
}
variable "express_route_connection_shared_key" {
type = string
description = "The shared key for the Express Route circuit peering connections"
sensitive = true
}
resource "azapi_resource" "resourceGroup" {
type = "Microsoft.Resources/resourceGroups@2020-06-01"
name = var.resource_name
location = var.location
}
resource "azapi_resource" "ExpressRoutePort" {
type = "Microsoft.Network/ExpressRoutePorts@2022-07-01"
parent_id = azapi_resource.resourceGroup.id
name = var.resource_name
location = var.location
body = {
properties = {
bandwidthInGbps = 10
encapsulation = "Dot1Q"
peeringLocation = "Airtel-Chennai2-CLS"
}
}
schema_validation_enabled = false
response_export_values = ["*"]
}
resource "azapi_resource" "ExpressRoutePort2" {
type = "Microsoft.Network/ExpressRoutePorts@2022-07-01"
parent_id = azapi_resource.resourceGroup.id
name = var.resource_name
location = var.location
body = {
properties = {
bandwidthInGbps = 10
encapsulation = "Dot1Q"
peeringLocation = "CDC-Canberra"
}
}
schema_validation_enabled = false
response_export_values = ["*"]
}
resource "azapi_resource" "expressRouteCircuit" {
type = "Microsoft.Network/expressRouteCircuits@2022-07-01"
parent_id = azapi_resource.resourceGroup.id
name = var.resource_name
location = var.location
body = {
properties = {
authorizationKey = ""
bandwidthInGbps = 5
expressRoutePort = {
id = azapi_resource.ExpressRoutePort.id
}
}
sku = {
family = "MeteredData"
name = "Standard_MeteredData"
tier = "Standard"
}
}
ignore_casing = true
schema_validation_enabled = false
response_export_values = ["*"]
}
resource "azapi_resource" "expressRouteCircuit2" {
type = "Microsoft.Network/expressRouteCircuits@2022-07-01"
parent_id = azapi_resource.resourceGroup.id
name = var.resource_name
location = var.location
body = {
properties = {
authorizationKey = ""
bandwidthInGbps = 5
expressRoutePort = {
id = azapi_resource.ExpressRoutePort2.id
}
}
sku = {
family = "MeteredData"
name = "Standard_MeteredData"
tier = "Standard"
}
}
ignore_casing = true
schema_validation_enabled = false
response_export_values = ["*"]
}
resource "azapi_resource" "peering" {
type = "Microsoft.Network/expressRouteCircuits/peerings@2022-07-01"
parent_id = azapi_resource.expressRouteCircuit.id
name = "AzurePrivatePeering"
body = {
properties = {
azureASN = 12076
gatewayManagerEtag = ""
peerASN = 100
peeringType = "AzurePrivatePeering"
primaryPeerAddressPrefix = "192.168.1.0/30"
secondaryPeerAddressPrefix = "192.168.1.0/30"
sharedKey = var.express_route_connection_shared_key
state = "Enabled"
vlanId = 100
}
}
schema_validation_enabled = false
response_export_values = ["*"]
}
resource "azapi_resource" "peering2" {
type = "Microsoft.Network/expressRouteCircuits/peerings@2022-07-01"
parent_id = azapi_resource.expressRouteCircuit2.id
name = "AzurePrivatePeering"
body = {
properties = {
azureASN = 12076
gatewayManagerEtag = ""
peerASN = 100
peeringType = "AzurePrivatePeering"
primaryPeerAddressPrefix = "192.168.1.0/30"
secondaryPeerAddressPrefix = "192.168.1.0/30"
sharedKey = var.express_route_connection_shared_key
state = "Enabled"
vlanId = 100
}
}
schema_validation_enabled = false
response_export_values = ["*"]
}
resource "azapi_resource" "connection" {
type = "Microsoft.Network/expressRouteCircuits/peerings/connections@2022-07-01"
parent_id = azapi_resource.peering.id
name = var.resource_name
body = {
properties = {
addressPrefix = "192.169.8.0/29"
expressRouteCircuitPeering = {
id = azapi_resource.peering.id
}
peerExpressRouteCircuitPeering = {
id = azapi_resource.peering2.id
}
}
}
schema_validation_enabled = false
response_export_values = ["*"]
}
Format sumber daya
Untuk membuat sumber daya Microsoft.Network/expressRouteCircuits/peerings/connections, tambahkan Terraform berikut ke templat Anda.
resource "azapi_resource" "symbolicname" {
type = "Microsoft.Network/expressRouteCircuits/peerings/connections@2022-01-01"
name = "string"
parent_id = "string"
body = {
properties = {
addressPrefix = "string"
authorizationKey = "string"
expressRouteCircuitPeering = {
id = "string"
}
ipv6CircuitConnectionConfig = {
addressPrefix = "string"
}
peerExpressRouteCircuitPeering = {
id = "string"
}
}
}
}
Nilai Properti
Microsoft.Network/expressRouteCircuits/peerings/koneksi
| Nama | Deskripsi | Nilai |
|---|---|---|
| Nama | Nama sumber daya | string (diperlukan) |
| parent_id | ID sumber daya yang merupakan induk untuk sumber daya ini. | ID untuk sumber daya jenis: expressRouteCircuits/peerings |
| Properti | Properti koneksi sirkuit rute ekspres. | ExpressRouteCircuitConnectionPropertiesFormat |
| jenis | Jenis sumber daya | "Microsoft.Network/expressRouteCircuits/peerings/connections@2022-01-01" |
ExpressRouteCircuitConnectionPropertiesFormat
| Nama | Deskripsi | Nilai |
|---|---|---|
| alamatAwalan | /29 ruang alamat IP untuk mengukir alamat Pelanggan untuk terowongan. | string |
| Kunci otorisasi | Kunci otorisasi. | string |
| expressRouteCircuitPeering | Referensi ke Express Route Circuit Private Peering Resource dari koneksi yang memulai sirkuit. | SubResource |
| ipv6CircuitConnectionConfig | Prefiks Alamat IPv6Properti dari koneksi sirkuit rute ekspres. | Ipv6CircuitConnectionConfig |
| peerExpressExpressRouteCircuitPeering | Referensi ke Express Route Circuit Private Peering Resource dari sirkuit yang di-peering. | SubResource |
Ipv6CircuitConnectionConfig
| Nama | Deskripsi | Nilai |
|---|---|---|
| alamatAwalan | /125 ruang alamat IP untuk mengukir alamat pelanggan untuk jangkauan global. | string |
SubSumber Daya
| Nama | Deskripsi | Nilai |
|---|---|---|
| Id | ID Sumber Daya. | string |