# ExpressRouteGatewayProxy

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

## Definition

```typescript
interface ExpressRouteGatewayProxy {
  allowNonVirtualWanTraffic: BicepValueProxy | boolean;
  autoScaleBounds: ExpressRouteGatewayPropertiesAutoScaleConfigurationBoundsProxy;
  readonly eTag: BicepValueProxy;
  expressRouteConnectionList: Aspire_Hosting_Azure_Provisioning_Network_Generated_ListOfExpressRouteConnectionProxy;
  readonly id: BicepValueProxy;
  location: BicepValueProxy;
  name: BicepValueProxy | string;
  readonly provisioningState: BicepValueProxy | NetworkProvisioningState;
  tags: Aspire_Hosting_Azure_Provisioning_Network_Generated_DictionaryOfStringProxy;
  virtualHubId: BicepValueProxy;
  addTo(infrastructure: AzureResourceInfrastructure): void;
  clearAllowNonVirtualWanTraffic(): void;
  clearLocation(): void;
  clearName(): void;
  clearVirtualHubId(): void;
}
```

## Properties

- `allowNonVirtualWanTraffic`: `BicepValueProxy | boolean` `get - set` -- Gets or sets the AllowNonVirtualWanTraffic provisioning property.
- `autoScaleBounds`: [ExpressRouteGatewayPropertiesAutoScaleConfigurationBoundsProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.network/expressroutegatewaypropertiesautoscaleconfigurationboundsproxy.md) `get - set` -- Gets or sets the AutoScaleBounds provisioning property.
- `eTag`: `BicepValueProxy` `get` -- Gets the ETag provisioning property.
- `expressRouteConnectionList`: [Aspire_Hosting_Azure_Provisioning_Network_Generated_ListOfExpressRouteConnectionProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.network/aspire-hosting-azure-provisioning-network-generated-listofexpressrouteconnectionproxy.md) `get - set` -- Gets or sets the ExpressRouteConnectionList 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.
- `provisioningState`: `BicepValueProxy | NetworkProvisioningState` `get` -- Gets the ProvisioningState 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.
- `virtualHubId`: `BicepValueProxy` `get - set` -- Gets or sets the VirtualHubId provisioning property.

## Methods

- [addTo](/reference/api/typescript/aspire.hosting.azure.provisioning.network/expressroutegatewayproxy/addto.md) -- `method` -- Adds this provisioning resource to the Azure resource infrastructure.
    ```typescript
  addTo(infrastructure: AzureResourceInfrastructure): void
  ```
- [clearAllowNonVirtualWanTraffic](/reference/api/typescript/aspire.hosting.azure.provisioning.network/expressroutegatewayproxy/clearallownonvirtualwantraffic.md) -- `method` -- Clears the AllowNonVirtualWanTraffic provisioning property.
    ```typescript
  clearAllowNonVirtualWanTraffic(): void
  ```
- [clearLocation](/reference/api/typescript/aspire.hosting.azure.provisioning.network/expressroutegatewayproxy/clearlocation.md) -- `method` -- Clears the Location provisioning property.
    ```typescript
  clearLocation(): void
  ```
- [clearName](/reference/api/typescript/aspire.hosting.azure.provisioning.network/expressroutegatewayproxy/clearname.md) -- `method` -- Clears the Name provisioning property.
    ```typescript
  clearName(): void
  ```
- [clearVirtualHubId](/reference/api/typescript/aspire.hosting.azure.provisioning.network/expressroutegatewayproxy/clearvirtualhubid.md) -- `method` -- Clears the VirtualHubId provisioning property.
    ```typescript
  clearVirtualHubId(): void
  ```
