- 최신
- 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
Bicep 리소스 정의
expressRouteCircuits/peerings/connections 리소스 종류는 다음을 대상으로 하는 작업으로 배포할 수 있습니다.
- 리소스 그룹 - 리소스 그룹 배포 명령 참조
각 API 버전에서 변경된 속성 목록은 변경 로그참조하세요.
사용 예제
Bicep 샘플
Express Route 회로 연결을 배포하는 기본 예제입니다.
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
}
}
}
리소스 형식
Microsoft.Network/expressRouteCircuits/peerings/connections 리소스를 만들려면 템플릿에 다음 Bicep을 추가합니다.
resource symbolicname 'Microsoft.Network/expressRouteCircuits/peerings/connections@2019-06-01' = {
parent: resourceSymbolicName
name: 'string'
properties: {
addressPrefix: 'string'
authorizationKey: 'string'
expressRouteCircuitPeering: {
id: 'string'
}
peerExpressRouteCircuitPeering: {
id: 'string'
}
}
}
속성 값
Microsoft.Network/expressRouteCircuits/피어링/연결
| 이름 | 묘사 | 값 |
|---|---|---|
| 이름 | 리소스 이름 | string(필수) |
| 부모 | Bicep에서 자식 리소스에 대한 부모 리소스를 지정할 수 있습니다. 자식 리소스가 부모 리소스 외부에서 선언된 경우에만 이 속성을 추가해야 합니다. 자세한 내용은 부모 리소스외부의 자식 리소스 |
형식 리소스의 기호 이름: expressRouteCircuits/peerings |
| 속성 | Express 경로 회로 연결의 속성입니다. | ExpressRouteCircuitConnectionProperties형식 |
ExpressRouteCircuitConnectionProperties형식
| 이름 | 묘사 | 값 |
|---|---|---|
| 주소접두사 | 터널에 대한 고객 주소를 개척하는 IP 주소 공간을 /29. | 문자열 |
| 권한 부여 키 | 권한 부여 키입니다. | 문자열 |
| expressRouteCircuit피어링 | 연결을 시작하는 회로의 Express Route 회로 프라이빗 피어링 리소스에 대한 참조입니다. | 하위 리소스 |
| 피어익스프레스라우트회로피어링 | 피어링된 회로의 Express Route Circuit 프라이빗 피어링 리소스에 대한 참조입니다. | 하위 리소스 |
하위 리소스
| 이름 | 묘사 | 값 |
|---|---|---|
| 아이디 | 리소스 ID입니다. | 문자열 |
ARM 템플릿 리소스 정의
expressRouteCircuits/peerings/connections 리소스 종류는 다음을 대상으로 하는 작업으로 배포할 수 있습니다.
- 리소스 그룹 - 리소스 그룹 배포 명령 어를 참조하세요. 각 API 버전에서 변경된 속성 목록은 변경 로그를 참조하세요.
사용 예제
리소스 형식
Microsoft.Network/expressRouteCircuits/peerings/connections 리소스를 만들려면 템플릿에 다음 JSON을 추가합니다.
{
"type": "Microsoft.Network/expressRouteCircuits/peerings/connections",
"apiVersion": "2019-06-01",
"name": "string",
"properties": {
"addressPrefix": "string",
"authorizationKey": "string",
"expressRouteCircuitPeering": {
"id": "string"
},
"peerExpressRouteCircuitPeering": {
"id": "string"
}
}
}
속성 값
Microsoft.Network/expressRouteCircuits/피어링/연결
| 이름 | 묘사 | 값 |
|---|---|---|
| API버전 | api 버전 | '2019-06-01' |
| 이름 | 리소스 이름 | string(필수) |
| 속성 | Express 경로 회로 연결의 속성입니다. | ExpressRouteCircuitConnectionProperties형식 |
| 형 | 리소스 종류 | 'Microsoft.Network/expressRouteCircuits/피어링/연결' |
ExpressRouteCircuitConnectionProperties형식
| 이름 | 묘사 | 값 |
|---|---|---|
| 주소접두사 | 터널에 대한 고객 주소를 개척하는 IP 주소 공간을 /29. | 문자열 |
| 권한 부여 키 | 권한 부여 키입니다. | 문자열 |
| expressRouteCircuit피어링 | 연결을 시작하는 회로의 Express Route 회로 프라이빗 피어링 리소스에 대한 참조입니다. | 하위 리소스 |
| 피어익스프레스라우트회로피어링 | 피어링된 회로의 Express Route Circuit 프라이빗 피어링 리소스에 대한 참조입니다. | 하위 리소스 |
하위 리소스
| 이름 | 묘사 | 값 |
|---|---|---|
| 아이디 | 리소스 ID입니다. | 문자열 |
Terraform(AzAPI 공급자) 리소스 정의
expressRouteCircuits/peerings/connections 리소스 종류는 다음을 대상으로 하는 작업으로 배포할 수 있습니다.
- 자원 그룹 각 API 버전에서 변경된 속성 목록은 변경 로그를 참조하세요.
사용 예제
Terraform 샘플
Express Route 회로 연결을 배포하는 기본 예제입니다.
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 = ["*"]
}
리소스 형식
Microsoft.Network/expressRouteCircuits/peerings/connections 리소스를 만들려면 템플릿에 다음 Terraform을 추가합니다.
resource "azapi_resource" "symbolicname" {
type = "Microsoft.Network/expressRouteCircuits/peerings/connections@2019-06-01"
name = "string"
parent_id = "string"
body = {
properties = {
addressPrefix = "string"
authorizationKey = "string"
expressRouteCircuitPeering = {
id = "string"
}
peerExpressRouteCircuitPeering = {
id = "string"
}
}
}
}
속성 값
Microsoft.Network/expressRouteCircuits/피어링/연결
| 이름 | 묘사 | 값 |
|---|---|---|
| 이름 | 리소스 이름 | string(필수) |
| 부모 ID | 이 리소스의 부모인 리소스의 ID입니다. | 형식의 리소스 ID: expressRouteCircuits/peerings |
| 속성 | Express 경로 회로 연결의 속성입니다. | ExpressRouteCircuitConnectionProperties형식 |
| 형 | 리소스 종류 | "Microsoft.Network/expressRouteCircuits/피어링/connections@2019-06-01" |
ExpressRouteCircuitConnectionProperties형식
| 이름 | 묘사 | 값 |
|---|---|---|
| 주소접두사 | 터널에 대한 고객 주소를 개척하는 IP 주소 공간을 /29. | 문자열 |
| 권한 부여 키 | 권한 부여 키입니다. | 문자열 |
| expressRouteCircuit피어링 | 연결을 시작하는 회로의 Express Route 회로 프라이빗 피어링 리소스에 대한 참조입니다. | 하위 리소스 |
| 피어익스프레스라우트회로피어링 | 피어링된 회로의 Express Route Circuit 프라이빗 피어링 리소스에 대한 참조입니다. | 하위 리소스 |
하위 리소스
| 이름 | 묘사 | 값 |
|---|---|---|
| 아이디 | 리소스 ID입니다. | 문자열 |