# ExpressRouteCrossConnectionPeeringProxy

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

Represents the ExpressRouteCrossConnectionPeering Azure Provisioning model.

## Definition

```typescript
interface ExpressRouteCrossConnectionPeeringProxy {
  readonly azureASN: BicepValueProxy | number;
  readonly eTag: BicepValueProxy;
  gatewayManagerETag: BicepValueProxy | string;
  readonly id: BicepValueProxy;
  iPv6PeeringConfig: IPv6ExpressRouteCircuitPeeringConfigProxy;
  readonly lastModifiedBy: BicepValueProxy | string;
  microsoftPeeringConfig: ExpressRouteCircuitPeeringConfigProxy;
  name: BicepValueProxy | string;
  parent: ExpressRouteCrossConnectionProxy;
  peerASN: BicepValueProxy | number;
  peeringType: BicepValueProxy | ExpressRoutePeeringType;
  readonly primaryAzurePort: BicepValueProxy | string;
  primaryPeerAddressPrefix: BicepValueProxy | string;
  readonly provisioningState: BicepValueProxy | NetworkProvisioningState;
  readonly secondaryAzurePort: BicepValueProxy | string;
  secondaryPeerAddressPrefix: BicepValueProxy | string;
  sharedKey: BicepValueProxy | string;
  state: BicepValueProxy | ExpressRoutePeeringState;
  vlanId: BicepValueProxy | number;
  addTo(infrastructure: AzureResourceInfrastructure): void;
  clearGatewayManagerETag(): void;
  clearName(): void;
  clearPeerASN(): void;
  clearPeeringType(): void;
  clearPrimaryPeerAddressPrefix(): void;
  clearSecondaryPeerAddressPrefix(): void;
  clearSharedKey(): void;
  clearState(): void;
  clearVlanId(): void;
}
```

## Properties

- `azureASN`: `BicepValueProxy | number` `get` -- Gets the AzureASN provisioning property.
- `eTag`: `BicepValueProxy` `get` -- Gets the ETag 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`: [ExpressRouteCrossConnectionProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.network/expressroutecrossconnectionproxy.md) `get - set` -- Gets or sets the Parent provisioning property.
- `peerASN`: `BicepValueProxy | number` `get - set` -- Gets or sets the PeerASN provisioning property.
- `peeringType`: `BicepValueProxy | ExpressRoutePeeringType` `get - set` -- Gets or sets the PeeringType provisioning property.
- `primaryAzurePort`: `BicepValueProxy | string` `get` -- Gets 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.
- `secondaryAzurePort`: `BicepValueProxy | string` `get` -- Gets 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.
- `vlanId`: `BicepValueProxy | number` `get - set` -- Gets or sets the VlanId provisioning property.

## Methods

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