Compartilhar via


Microsoft.Network expressRouteCircuits/peerings/connections 2018-07-01

Bicep resource definition

The expressRouteCircuits/peerings/connections resource type can be deployed with operations that target:

For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.Network/expressRouteCircuits/peerings/connections resource, add the following Bicep to your template.

resource symbolicname 'Microsoft.Network/expressRouteCircuits/peerings/connections@2018-07-01' = {
  name: 'string'
  properties: {
    addressPrefix: 'string'
    authorizationKey: 'string'
    expressRouteCircuitPeering: {
      id: 'string'
    }
    peerExpressRouteCircuitPeering: {
      id: 'string'
    }
  }
}

Property values

ExpressRouteCircuitConnectionPropertiesFormat

Name Description Value
addressPrefix /29 IP address space to carve out Customer addresses for tunnels. string
authorizationKey The authorization key. string
expressRouteCircuitPeering Reference to Express Route Circuit Private Peering Resource of the circuit initiating connection. SubResource
peerExpressRouteCircuitPeering Reference to Express Route Circuit Private Peering Resource of the peered circuit. SubResource

Microsoft.Network/expressRouteCircuits/peerings/connections

Name Description Value
name The resource name string (required)
parent In Bicep, you can specify the parent resource for a child resource. You only need to add this property when the child resource is declared outside of the parent resource.

For more information, see Child resource outside parent resource.
Symbolic name for resource of type: expressRouteCircuits/peerings
properties ExpressRouteCircuitConnectionPropertiesFormat

SubResource

Name Description Value
id Resource ID. string

ARM template resource definition

The expressRouteCircuits/peerings/connections resource type can be deployed with operations that target:

For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.Network/expressRouteCircuits/peerings/connections resource, add the following JSON to your template.

{
  "type": "Microsoft.Network/expressRouteCircuits/peerings/connections",
  "apiVersion": "2018-07-01",
  "name": "string",
  "properties": {
    "addressPrefix": "string",
    "authorizationKey": "string",
    "expressRouteCircuitPeering": {
      "id": "string"
    },
    "peerExpressRouteCircuitPeering": {
      "id": "string"
    }
  }
}

Property values

ExpressRouteCircuitConnectionPropertiesFormat

Name Description Value
addressPrefix /29 IP address space to carve out Customer addresses for tunnels. string
authorizationKey The authorization key. string
expressRouteCircuitPeering Reference to Express Route Circuit Private Peering Resource of the circuit initiating connection. SubResource
peerExpressRouteCircuitPeering Reference to Express Route Circuit Private Peering Resource of the peered circuit. SubResource

Microsoft.Network/expressRouteCircuits/peerings/connections

Name Description Value
apiVersion The api version '2018-07-01'
name The resource name string (required)
properties ExpressRouteCircuitConnectionPropertiesFormat
type The resource type 'Microsoft.Network/expressRouteCircuits/peerings/connections'

SubResource

Name Description Value
id Resource ID. string

Terraform (AzAPI provider) resource definition

The expressRouteCircuits/peerings/connections resource type can be deployed with operations that target:

  • Resource groups

For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.Network/expressRouteCircuits/peerings/connections resource, add the following Terraform to your template.

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.Network/expressRouteCircuits/peerings/connections@2018-07-01"
  name = "string"
  body = jsonencode({
    properties = {
      addressPrefix = "string"
      authorizationKey = "string"
      expressRouteCircuitPeering = {
        id = "string"
      }
      peerExpressRouteCircuitPeering = {
        id = "string"
      }
    }
  })
}

Property values

ExpressRouteCircuitConnectionPropertiesFormat

Name Description Value
addressPrefix /29 IP address space to carve out Customer addresses for tunnels. string
authorizationKey The authorization key. string
expressRouteCircuitPeering Reference to Express Route Circuit Private Peering Resource of the circuit initiating connection. SubResource
peerExpressRouteCircuitPeering Reference to Express Route Circuit Private Peering Resource of the peered circuit. SubResource

Microsoft.Network/expressRouteCircuits/peerings/connections

Name Description Value
name The resource name string (required)
parent_id The ID of the resource that is the parent for this resource. ID for resource of type: expressRouteCircuits/peerings
properties ExpressRouteCircuitConnectionPropertiesFormat
type The resource type "Microsoft.Network/expressRouteCircuits/peerings/connections@2018-07-01"

SubResource

Name Description Value
id Resource ID. string