# ExpressRouteConnectionProxy

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

## Definition

```typescript
interface ExpressRouteConnectionProxy {
  authorizationKey: BicepValueProxy | string;
  enableInternetSecurity: BicepValueProxy | boolean;
  enablePrivateLinkFastPath: BicepValueProxy | boolean;
  expressRouteCircuitPeeringId: BicepValueProxy;
  expressRouteGatewayBypass: BicepValueProxy | boolean;
  readonly id: BicepValueProxy;
  name: BicepValueProxy | string;
  parent: ExpressRouteGatewayProxy;
  readonly provisioningState: BicepValueProxy | NetworkProvisioningState;
  routingConfiguration: RoutingConfigurationProxy;
  routingWeight: BicepValueProxy | number;
  addTo(infrastructure: AzureResourceInfrastructure): void;
  clearAuthorizationKey(): void;
  clearEnableInternetSecurity(): void;
  clearEnablePrivateLinkFastPath(): void;
  clearExpressRouteCircuitPeeringId(): void;
  clearExpressRouteGatewayBypass(): void;
  clearName(): void;
  clearRoutingWeight(): void;
}
```

## Properties

- `authorizationKey`: `BicepValueProxy | string` `get - set` -- Gets or sets the AuthorizationKey provisioning property.
- `enableInternetSecurity`: `BicepValueProxy | boolean` `get - set` -- Gets or sets the EnableInternetSecurity provisioning property.
- `enablePrivateLinkFastPath`: `BicepValueProxy | boolean` `get - set` -- Gets or sets the EnablePrivateLinkFastPath provisioning property.
- `expressRouteCircuitPeeringId`: `BicepValueProxy` `get - set` -- Gets or sets the ExpressRouteCircuitPeeringId provisioning property.
- `expressRouteGatewayBypass`: `BicepValueProxy | boolean` `get - set` -- Gets or sets the ExpressRouteGatewayBypass provisioning property.
- `id`: `BicepValueProxy` `get` -- Gets the Id provisioning property.
- `name`: `BicepValueProxy | string` `get - set` -- Gets or sets the Name provisioning property.
- `parent`: [ExpressRouteGatewayProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.network/expressroutegatewayproxy.md) `get - set` -- Gets or sets the Parent provisioning property.
- `provisioningState`: `BicepValueProxy | NetworkProvisioningState` `get` -- Gets the ProvisioningState provisioning property.
- `routingConfiguration`: [RoutingConfigurationProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.network/routingconfigurationproxy.md) `get - set` -- Gets or sets the RoutingConfiguration provisioning property.
- `routingWeight`: `BicepValueProxy | number` `get - set` -- Gets or sets the RoutingWeight provisioning property.

## Methods

- [addTo](/reference/api/typescript/aspire.hosting.azure.provisioning.network/expressrouteconnectionproxy/addto.md) -- `method` -- Adds this provisioning resource to the Azure resource infrastructure.
    ```typescript
  addTo(infrastructure: AzureResourceInfrastructure): void
  ```
- [clearAuthorizationKey](/reference/api/typescript/aspire.hosting.azure.provisioning.network/expressrouteconnectionproxy/clearauthorizationkey.md) -- `method` -- Clears the AuthorizationKey provisioning property.
    ```typescript
  clearAuthorizationKey(): void
  ```
- [clearEnableInternetSecurity](/reference/api/typescript/aspire.hosting.azure.provisioning.network/expressrouteconnectionproxy/clearenableinternetsecurity.md) -- `method` -- Clears the EnableInternetSecurity provisioning property.
    ```typescript
  clearEnableInternetSecurity(): void
  ```
- [clearEnablePrivateLinkFastPath](/reference/api/typescript/aspire.hosting.azure.provisioning.network/expressrouteconnectionproxy/clearenableprivatelinkfastpath.md) -- `method` -- Clears the EnablePrivateLinkFastPath provisioning property.
    ```typescript
  clearEnablePrivateLinkFastPath(): void
  ```
- [clearExpressRouteCircuitPeeringId](/reference/api/typescript/aspire.hosting.azure.provisioning.network/expressrouteconnectionproxy/clearexpressroutecircuitpeeringid.md) -- `method` -- Clears the ExpressRouteCircuitPeeringId provisioning property.
    ```typescript
  clearExpressRouteCircuitPeeringId(): void
  ```
- [clearExpressRouteGatewayBypass](/reference/api/typescript/aspire.hosting.azure.provisioning.network/expressrouteconnectionproxy/clearexpressroutegatewaybypass.md) -- `method` -- Clears the ExpressRouteGatewayBypass provisioning property.
    ```typescript
  clearExpressRouteGatewayBypass(): void
  ```
- [clearName](/reference/api/typescript/aspire.hosting.azure.provisioning.network/expressrouteconnectionproxy/clearname.md) -- `method` -- Clears the Name provisioning property.
    ```typescript
  clearName(): void
  ```
- [clearRoutingWeight](/reference/api/typescript/aspire.hosting.azure.provisioning.network/expressrouteconnectionproxy/clearroutingweight.md) -- `method` -- Clears the RoutingWeight provisioning property.
    ```typescript
  clearRoutingWeight(): void
  ```
