# ExpressRouteCrossConnectionProxy

- 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 ExpressRouteCrossConnection Azure Provisioning model.

## Definition

```typescript
interface ExpressRouteCrossConnectionProxy {
  readonly bandwidthInMbps: BicepValueProxy | number;
  readonly eTag: BicepValueProxy;
  expressRouteCircuitId: BicepValueProxy;
  readonly id: BicepValueProxy;
  location: BicepValueProxy;
  name: BicepValueProxy | string;
  readonly peeringLocation: BicepValueProxy | string;
  peerings: Aspire_Hosting_Azure_Provisioning_Network_Generated_ListOfExpressRouteCrossConnectionPeeringProxy;
  readonly primaryAzurePort: BicepValueProxy | string;
  readonly provisioningState: BicepValueProxy | NetworkProvisioningState;
  readonly secondaryAzurePort: BicepValueProxy | string;
  serviceProviderNotes: BicepValueProxy | string;
  serviceProviderProvisioningState: BicepValueProxy | ServiceProviderProvisioningState;
  readonly sTag: BicepValueProxy | number;
  tags: Aspire_Hosting_Azure_Provisioning_Network_Generated_DictionaryOfStringProxy;
  addTo(infrastructure: AzureResourceInfrastructure): void;
  clearExpressRouteCircuitId(): void;
  clearLocation(): void;
  clearName(): void;
  clearServiceProviderNotes(): void;
  clearServiceProviderProvisioningState(): void;
}
```

## Properties

- `bandwidthInMbps`: `BicepValueProxy | number` `get` -- Gets the BandwidthInMbps provisioning property.
- `eTag`: `BicepValueProxy` `get` -- Gets the ETag provisioning property.
- `expressRouteCircuitId`: `BicepValueProxy` `get - set` -- Gets or sets the ExpressRouteCircuitId provisioning property.
- `id`: `BicepValueProxy` `get` -- Gets the Id provisioning property.
- `location`: `BicepValueProxy` `get - set` -- Gets or sets the Location provisioning property.
- `name`: `BicepValueProxy | string` `get - set` -- Gets or sets the Name provisioning property.
- `peeringLocation`: `BicepValueProxy | string` `get` -- Gets the PeeringLocation provisioning property.
- `peerings`: [Aspire_Hosting_Azure_Provisioning_Network_Generated_ListOfExpressRouteCrossConnectionPeeringProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.network/aspire-hosting-azure-provisioning-network-generated-listofexpressroutecrossconnectionpeeringproxy.md) `get - set` -- Gets or sets the Peerings provisioning property.
- `primaryAzurePort`: `BicepValueProxy | string` `get` -- Gets the PrimaryAzurePort provisioning property.
- `provisioningState`: `BicepValueProxy | NetworkProvisioningState` `get` -- Gets the ProvisioningState provisioning property.
- `secondaryAzurePort`: `BicepValueProxy | string` `get` -- Gets the SecondaryAzurePort provisioning property.
- `serviceProviderNotes`: `BicepValueProxy | string` `get - set` -- Gets or sets the ServiceProviderNotes provisioning property.
- `serviceProviderProvisioningState`: `BicepValueProxy | ServiceProviderProvisioningState` `get - set` -- Gets or sets the ServiceProviderProvisioningState provisioning property.
- `sTag`: `BicepValueProxy | number` `get` -- Gets the STag provisioning property.
- `tags`: [Aspire_Hosting_Azure_Provisioning_Network_Generated_DictionaryOfStringProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.network/aspire-hosting-azure-provisioning-network-generated-dictionaryofstringproxy.md) `get - set` -- Gets or sets the Tags provisioning property.

## Methods

- [addTo](/reference/api/typescript/aspire.hosting.azure.provisioning.network/expressroutecrossconnectionproxy/addto.md) -- `method` -- Adds this provisioning resource to the Azure resource infrastructure.
    ```typescript
  addTo(infrastructure: AzureResourceInfrastructure): void
  ```
- [clearExpressRouteCircuitId](/reference/api/typescript/aspire.hosting.azure.provisioning.network/expressroutecrossconnectionproxy/clearexpressroutecircuitid.md) -- `method` -- Clears the ExpressRouteCircuitId provisioning property.
    ```typescript
  clearExpressRouteCircuitId(): void
  ```
- [clearLocation](/reference/api/typescript/aspire.hosting.azure.provisioning.network/expressroutecrossconnectionproxy/clearlocation.md) -- `method` -- Clears the Location provisioning property.
    ```typescript
  clearLocation(): void
  ```
- [clearName](/reference/api/typescript/aspire.hosting.azure.provisioning.network/expressroutecrossconnectionproxy/clearname.md) -- `method` -- Clears the Name provisioning property.
    ```typescript
  clearName(): void
  ```
- [clearServiceProviderNotes](/reference/api/typescript/aspire.hosting.azure.provisioning.network/expressroutecrossconnectionproxy/clearserviceprovidernotes.md) -- `method` -- Clears the ServiceProviderNotes provisioning property.
    ```typescript
  clearServiceProviderNotes(): void
  ```
- [clearServiceProviderProvisioningState](/reference/api/typescript/aspire.hosting.azure.provisioning.network/expressroutecrossconnectionproxy/clearserviceproviderprovisioningstate.md) -- `method` -- Clears the ServiceProviderProvisioningState provisioning property.
    ```typescript
  clearServiceProviderProvisioningState(): void
  ```
