# ExpressRouteCircuitPeeringProxy

- Module: [Aspire.Hosting.Azure.Provisioning.Network](/reference/api/typescript/aspire.hosting.azure.provisioning.network.md)
- Version: `17.0.0-preview.1.26567.5`
- Kind: `handle`
- Source: [GitHub](https://github.com/microsoft/aspire/tree/2d325b13709752ba6d9a943635c5e2940a2530c0)

Represents the ExpressRouteCircuitPeering Azure Provisioning model.

## Definition

```typescript
interface ExpressRouteCircuitPeeringProxy {
  azureASN: BicepValueProxy | number;
  connections: Aspire_Hosting_Azure_Provisioning_Network_Generated_ListOfExpressRouteCircuitConnectionProxy;
  readonly eTag: BicepValueProxy;
  readonly expressRouteConnectionId: BicepValueProxy;
  gatewayManagerETag: BicepValueProxy | string;
  readonly id: BicepValueProxy;
  iPv6PeeringConfig: IPv6ExpressRouteCircuitPeeringConfigProxy;
  readonly lastModifiedBy: BicepValueProxy | string;
  microsoftPeeringConfig: ExpressRouteCircuitPeeringConfigProxy;
  name: BicepValueProxy | string;
  parent: ExpressRouteCircuitProxy;
  peerASN: BicepValueProxy | number;
  readonly peeredConnections: Aspire_Hosting_Azure_Provisioning_Network_Generated_ListOfPeerExpressRouteCircuitConnectionDataProxy;
  peeringType: BicepValueProxy | ExpressRoutePeeringType;
  primaryAzurePort: BicepValueProxy | string;
  primaryPeerAddressPrefix: BicepValueProxy | string;
  readonly provisioningState: BicepValueProxy | NetworkProvisioningState;
  routeFilterId: BicepValueProxy;
  secondaryAzurePort: BicepValueProxy | string;
  secondaryPeerAddressPrefix: BicepValueProxy | string;
  sharedKey: BicepValueProxy | string;
  state: BicepValueProxy | ExpressRoutePeeringState;
  stats: ExpressRouteCircuitStatsProxy;
  vlanId: BicepValueProxy | number;
  addTo(infrastructure: AzureResourceInfrastructure): void;
  clearAzureASN(): void;
  clearGatewayManagerETag(): void;
  clearName(): void;
  clearPeerASN(): void;
  clearPeeringType(): void;
  clearPrimaryAzurePort(): void;
  clearPrimaryPeerAddressPrefix(): void;
  clearRouteFilterId(): void;
  clearSecondaryAzurePort(): void;
  clearSecondaryPeerAddressPrefix(): void;
  clearSharedKey(): void;
  clearState(): void;
  clearVlanId(): void;
}
```

## Properties

- `azureASN`: `BicepValueProxy | number` `get - set` -- Gets or sets the AzureASN provisioning property.
- `connections`: [Aspire_Hosting_Azure_Provisioning_Network_Generated_ListOfExpressRouteCircuitConnectionProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.network/aspire-hosting-azure-provisioning-network-generated-listofexpressroutecircuitconnectionproxy.md) `get - set` -- Gets or sets the Connections provisioning property.
- `eTag`: `BicepValueProxy` `get` -- Gets the ETag provisioning property.
- `expressRouteConnectionId`: `BicepValueProxy` `get` -- Gets the ExpressRouteConnectionId provisioning property.
- `gatewayManagerETag`: `BicepValueProxy | string` `get - set` -- Gets or sets the GatewayManagerETag provisioning property.
- `id`: `BicepValueProxy` `get` -- Gets the Id provisioning property.
- `iPv6PeeringConfig`: [IPv6ExpressRouteCircuitPeeringConfigProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.network/ipv6expressroutecircuitpeeringconfigproxy.md) `get - set` -- Gets or sets the IPv6PeeringConfig provisioning property.
- `lastModifiedBy`: `BicepValueProxy | string` `get` -- Gets the LastModifiedBy provisioning property.
- `microsoftPeeringConfig`: [ExpressRouteCircuitPeeringConfigProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.network/expressroutecircuitpeeringconfigproxy.md) `get - set` -- Gets or sets the MicrosoftPeeringConfig provisioning property.
- `name`: `BicepValueProxy | string` `get - set` -- Gets or sets the Name provisioning property.
- `parent`: [ExpressRouteCircuitProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.network/expressroutecircuitproxy.md) `get - set` -- Gets or sets the Parent provisioning property.
- `peerASN`: `BicepValueProxy | number` `get - set` -- Gets or sets the PeerASN provisioning property.
- `peeredConnections`: [Aspire_Hosting_Azure_Provisioning_Network_Generated_ListOfPeerExpressRouteCircuitConnectionDataProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.network/aspire-hosting-azure-provisioning-network-generated-listofpeerexpressroutecircuitconnectiondataproxy.md) `get` -- Gets the PeeredConnections provisioning property.
- `peeringType`: `BicepValueProxy | ExpressRoutePeeringType` `get - set` -- Gets or sets the PeeringType provisioning property.
- `primaryAzurePort`: `BicepValueProxy | string` `get - set` -- Gets or sets the PrimaryAzurePort provisioning property.
- `primaryPeerAddressPrefix`: `BicepValueProxy | string` `get - set` -- Gets or sets the PrimaryPeerAddressPrefix provisioning property.
- `provisioningState`: `BicepValueProxy | NetworkProvisioningState` `get` -- Gets the ProvisioningState provisioning property.
- `routeFilterId`: `BicepValueProxy` `get - set` -- Gets or sets the RouteFilterId provisioning property.
- `secondaryAzurePort`: `BicepValueProxy | string` `get - set` -- Gets or sets the SecondaryAzurePort provisioning property.
- `secondaryPeerAddressPrefix`: `BicepValueProxy | string` `get - set` -- Gets or sets the SecondaryPeerAddressPrefix provisioning property.
- `sharedKey`: `BicepValueProxy | string` `get - set` -- Gets or sets the SharedKey provisioning property.
- `state`: `BicepValueProxy | ExpressRoutePeeringState` `get - set` -- Gets or sets the State provisioning property.
- `stats`: [ExpressRouteCircuitStatsProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.network/expressroutecircuitstatsproxy.md) `get - set` -- Gets or sets the Stats provisioning property.
- `vlanId`: `BicepValueProxy | number` `get - set` -- Gets or sets the VlanId provisioning property.

## Methods

- [addTo](/reference/api/typescript/aspire.hosting.azure.provisioning.network/expressroutecircuitpeeringproxy/addto.md) -- `method` -- Adds this provisioning resource to the Azure resource infrastructure.
    ```typescript
  addTo(infrastructure: AzureResourceInfrastructure): void
  ```
- [clearAzureASN](/reference/api/typescript/aspire.hosting.azure.provisioning.network/expressroutecircuitpeeringproxy/clearazureasn.md) -- `method` -- Clears the AzureASN provisioning property.
    ```typescript
  clearAzureASN(): void
  ```
- [clearGatewayManagerETag](/reference/api/typescript/aspire.hosting.azure.provisioning.network/expressroutecircuitpeeringproxy/cleargatewaymanageretag.md) -- `method` -- Clears the GatewayManagerETag provisioning property.
    ```typescript
  clearGatewayManagerETag(): void
  ```
- [clearName](/reference/api/typescript/aspire.hosting.azure.provisioning.network/expressroutecircuitpeeringproxy/clearname.md) -- `method` -- Clears the Name provisioning property.
    ```typescript
  clearName(): void
  ```
- [clearPeerASN](/reference/api/typescript/aspire.hosting.azure.provisioning.network/expressroutecircuitpeeringproxy/clearpeerasn.md) -- `method` -- Clears the PeerASN provisioning property.
    ```typescript
  clearPeerASN(): void
  ```
- [clearPeeringType](/reference/api/typescript/aspire.hosting.azure.provisioning.network/expressroutecircuitpeeringproxy/clearpeeringtype.md) -- `method` -- Clears the PeeringType provisioning property.
    ```typescript
  clearPeeringType(): void
  ```
- [clearPrimaryAzurePort](/reference/api/typescript/aspire.hosting.azure.provisioning.network/expressroutecircuitpeeringproxy/clearprimaryazureport.md) -- `method` -- Clears the PrimaryAzurePort provisioning property.
    ```typescript
  clearPrimaryAzurePort(): void
  ```
- [clearPrimaryPeerAddressPrefix](/reference/api/typescript/aspire.hosting.azure.provisioning.network/expressroutecircuitpeeringproxy/clearprimarypeeraddressprefix.md) -- `method` -- Clears the PrimaryPeerAddressPrefix provisioning property.
    ```typescript
  clearPrimaryPeerAddressPrefix(): void
  ```
- [clearRouteFilterId](/reference/api/typescript/aspire.hosting.azure.provisioning.network/expressroutecircuitpeeringproxy/clearroutefilterid.md) -- `method` -- Clears the RouteFilterId provisioning property.
    ```typescript
  clearRouteFilterId(): void
  ```
- [clearSecondaryAzurePort](/reference/api/typescript/aspire.hosting.azure.provisioning.network/expressroutecircuitpeeringproxy/clearsecondaryazureport.md) -- `method` -- Clears the SecondaryAzurePort provisioning property.
    ```typescript
  clearSecondaryAzurePort(): void
  ```
- [clearSecondaryPeerAddressPrefix](/reference/api/typescript/aspire.hosting.azure.provisioning.network/expressroutecircuitpeeringproxy/clearsecondarypeeraddressprefix.md) -- `method` -- Clears the SecondaryPeerAddressPrefix provisioning property.
    ```typescript
  clearSecondaryPeerAddressPrefix(): void
  ```
- [clearSharedKey](/reference/api/typescript/aspire.hosting.azure.provisioning.network/expressroutecircuitpeeringproxy/clearsharedkey.md) -- `method` -- Clears the SharedKey provisioning property.
    ```typescript
  clearSharedKey(): void
  ```
- [clearState](/reference/api/typescript/aspire.hosting.azure.provisioning.network/expressroutecircuitpeeringproxy/clearstate.md) -- `method` -- Clears the State provisioning property.
    ```typescript
  clearState(): void
  ```
- [clearVlanId](/reference/api/typescript/aspire.hosting.azure.provisioning.network/expressroutecircuitpeeringproxy/clearvlanid.md) -- `method` -- Clears the VlanId provisioning property.
    ```typescript
  clearVlanId(): void
  ```
