# ExpressRouteCircuitProxy

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

## Definition

```typescript
interface ExpressRouteCircuitProxy {
  allowClassicOperations: BicepValueProxy | boolean;
  authorizationKey: BicepValueProxy | string;
  authorizations: Aspire_Hosting_Azure_Provisioning_Network_Generated_ListOfExpressRouteCircuitAuthorizationProxy;
  readonly authorizationStatus: BicepValueProxy | string;
  bandwidthInGbps: BicepValueProxy | number;
  circuitProvisioningState: BicepValueProxy | string;
  enableDirectPortRateLimit: BicepValueProxy | boolean;
  readonly eTag: BicepValueProxy;
  expressRoutePortId: BicepValueProxy;
  gatewayManagerETag: BicepValueProxy | string;
  globalReachEnabled: BicepValueProxy | boolean;
  readonly id: BicepValueProxy;
  location: BicepValueProxy;
  name: BicepValueProxy | string;
  peerings: Aspire_Hosting_Azure_Provisioning_Network_Generated_ListOfExpressRouteCircuitPeeringProxy;
  readonly provisioningState: BicepValueProxy | NetworkProvisioningState;
  serviceKey: BicepValueProxy | string;
  serviceProviderNotes: BicepValueProxy | string;
  serviceProviderProperties: ExpressRouteCircuitServiceProviderPropertiesProxy;
  serviceProviderProvisioningState: BicepValueProxy | ServiceProviderProvisioningState;
  sku: ExpressRouteCircuitSkuProxy;
  readonly sTag: BicepValueProxy | number;
  tags: Aspire_Hosting_Azure_Provisioning_Network_Generated_DictionaryOfStringProxy;
  addTo(infrastructure: AzureResourceInfrastructure): void;
  clearAllowClassicOperations(): void;
  clearAuthorizationKey(): void;
  clearBandwidthInGbps(): void;
  clearCircuitProvisioningState(): void;
  clearEnableDirectPortRateLimit(): void;
  clearExpressRoutePortId(): void;
  clearGatewayManagerETag(): void;
  clearGlobalReachEnabled(): void;
  clearLocation(): void;
  clearName(): void;
  clearServiceKey(): void;
  clearServiceProviderNotes(): void;
  clearServiceProviderProvisioningState(): void;
}
```

## Properties

- `allowClassicOperations`: `BicepValueProxy | boolean` `get - set` -- Gets or sets the AllowClassicOperations provisioning property.
- `authorizationKey`: `BicepValueProxy | string` `get - set` -- Gets or sets the AuthorizationKey provisioning property.
- `authorizations`: [Aspire_Hosting_Azure_Provisioning_Network_Generated_ListOfExpressRouteCircuitAuthorizationProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.network/aspire-hosting-azure-provisioning-network-generated-listofexpressroutecircuitauthorizationproxy.md) `get - set` -- Gets or sets the Authorizations provisioning property.
- `authorizationStatus`: `BicepValueProxy | string` `get` -- Gets the AuthorizationStatus provisioning property.
- `bandwidthInGbps`: `BicepValueProxy | number` `get - set` -- Gets or sets the BandwidthInGbps provisioning property.
- `circuitProvisioningState`: `BicepValueProxy | string` `get - set` -- Gets or sets the CircuitProvisioningState provisioning property.
- `enableDirectPortRateLimit`: `BicepValueProxy | boolean` `get - set` -- Gets or sets the EnableDirectPortRateLimit provisioning property.
- `eTag`: `BicepValueProxy` `get` -- Gets the ETag provisioning property.
- `expressRoutePortId`: `BicepValueProxy` `get - set` -- Gets or sets the ExpressRoutePortId provisioning property.
- `gatewayManagerETag`: `BicepValueProxy | string` `get - set` -- Gets or sets the GatewayManagerETag provisioning property.
- `globalReachEnabled`: `BicepValueProxy | boolean` `get - set` -- Gets or sets the GlobalReachEnabled 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.
- `peerings`: [Aspire_Hosting_Azure_Provisioning_Network_Generated_ListOfExpressRouteCircuitPeeringProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.network/aspire-hosting-azure-provisioning-network-generated-listofexpressroutecircuitpeeringproxy.md) `get - set` -- Gets or sets the Peerings provisioning property.
- `provisioningState`: `BicepValueProxy | NetworkProvisioningState` `get` -- Gets the ProvisioningState provisioning property.
- `serviceKey`: `BicepValueProxy | string` `get - set` -- Gets or sets the ServiceKey provisioning property.
- `serviceProviderNotes`: `BicepValueProxy | string` `get - set` -- Gets or sets the ServiceProviderNotes provisioning property.
- `serviceProviderProperties`: [ExpressRouteCircuitServiceProviderPropertiesProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.network/expressroutecircuitserviceproviderpropertiesproxy.md) `get - set` -- Gets or sets the ServiceProviderProperties provisioning property.
- `serviceProviderProvisioningState`: `BicepValueProxy | ServiceProviderProvisioningState` `get - set` -- Gets or sets the ServiceProviderProvisioningState provisioning property.
- `sku`: [ExpressRouteCircuitSkuProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.network/expressroutecircuitskuproxy.md) `get - set` -- Gets or sets the Sku 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/expressroutecircuitproxy/addto.md) -- `method` -- Adds this provisioning resource to the Azure resource infrastructure.
    ```typescript
  addTo(infrastructure: AzureResourceInfrastructure): void
  ```
- [clearAllowClassicOperations](/reference/api/typescript/aspire.hosting.azure.provisioning.network/expressroutecircuitproxy/clearallowclassicoperations.md) -- `method` -- Clears the AllowClassicOperations provisioning property.
    ```typescript
  clearAllowClassicOperations(): void
  ```
- [clearAuthorizationKey](/reference/api/typescript/aspire.hosting.azure.provisioning.network/expressroutecircuitproxy/clearauthorizationkey.md) -- `method` -- Clears the AuthorizationKey provisioning property.
    ```typescript
  clearAuthorizationKey(): void
  ```
- [clearBandwidthInGbps](/reference/api/typescript/aspire.hosting.azure.provisioning.network/expressroutecircuitproxy/clearbandwidthingbps.md) -- `method` -- Clears the BandwidthInGbps provisioning property.
    ```typescript
  clearBandwidthInGbps(): void
  ```
- [clearCircuitProvisioningState](/reference/api/typescript/aspire.hosting.azure.provisioning.network/expressroutecircuitproxy/clearcircuitprovisioningstate.md) -- `method` -- Clears the CircuitProvisioningState provisioning property.
    ```typescript
  clearCircuitProvisioningState(): void
  ```
- [clearEnableDirectPortRateLimit](/reference/api/typescript/aspire.hosting.azure.provisioning.network/expressroutecircuitproxy/clearenabledirectportratelimit.md) -- `method` -- Clears the EnableDirectPortRateLimit provisioning property.
    ```typescript
  clearEnableDirectPortRateLimit(): void
  ```
- [clearExpressRoutePortId](/reference/api/typescript/aspire.hosting.azure.provisioning.network/expressroutecircuitproxy/clearexpressrouteportid.md) -- `method` -- Clears the ExpressRoutePortId provisioning property.
    ```typescript
  clearExpressRoutePortId(): void
  ```
- [clearGatewayManagerETag](/reference/api/typescript/aspire.hosting.azure.provisioning.network/expressroutecircuitproxy/cleargatewaymanageretag.md) -- `method` -- Clears the GatewayManagerETag provisioning property.
    ```typescript
  clearGatewayManagerETag(): void
  ```
- [clearGlobalReachEnabled](/reference/api/typescript/aspire.hosting.azure.provisioning.network/expressroutecircuitproxy/clearglobalreachenabled.md) -- `method` -- Clears the GlobalReachEnabled provisioning property.
    ```typescript
  clearGlobalReachEnabled(): void
  ```
- [clearLocation](/reference/api/typescript/aspire.hosting.azure.provisioning.network/expressroutecircuitproxy/clearlocation.md) -- `method` -- Clears the Location provisioning property.
    ```typescript
  clearLocation(): void
  ```
- [clearName](/reference/api/typescript/aspire.hosting.azure.provisioning.network/expressroutecircuitproxy/clearname.md) -- `method` -- Clears the Name provisioning property.
    ```typescript
  clearName(): void
  ```
- [clearServiceKey](/reference/api/typescript/aspire.hosting.azure.provisioning.network/expressroutecircuitproxy/clearservicekey.md) -- `method` -- Clears the ServiceKey provisioning property.
    ```typescript
  clearServiceKey(): void
  ```
- [clearServiceProviderNotes](/reference/api/typescript/aspire.hosting.azure.provisioning.network/expressroutecircuitproxy/clearserviceprovidernotes.md) -- `method` -- Clears the ServiceProviderNotes provisioning property.
    ```typescript
  clearServiceProviderNotes(): void
  ```
- [clearServiceProviderProvisioningState](/reference/api/typescript/aspire.hosting.azure.provisioning.network/expressroutecircuitproxy/clearserviceproviderprovisioningstate.md) -- `method` -- Clears the ServiceProviderProvisioningState provisioning property.
    ```typescript
  clearServiceProviderProvisioningState(): void
  ```
