# ExpressRoutePortProxy

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

## Definition

```typescript
interface ExpressRoutePortProxy {
  readonly allocationDate: BicepValueProxy | string;
  bandwidthInGbps: BicepValueProxy | number;
  billingType: BicepValueProxy | ExpressRoutePortsBillingType;
  readonly circuits: Aspire_Hosting_Azure_Provisioning_Network_Generated_ListOfWritableSubResourceProxy;
  encapsulation: BicepValueProxy | ExpressRoutePortsEncapsulation;
  readonly eTag: BicepValueProxy;
  readonly etherType: BicepValueProxy | string;
  readonly id: BicepValueProxy;
  identity: NetworkManagedServiceIdentityProxy;
  links: Aspire_Hosting_Azure_Provisioning_Network_Generated_ListOfExpressRouteLinkDataProxy;
  location: BicepValueProxy;
  readonly mtu: BicepValueProxy | string;
  name: BicepValueProxy | string;
  peeringLocation: BicepValueProxy | string;
  readonly provisionedBandwidthInGbps: BicepValueProxy | number;
  readonly provisioningState: BicepValueProxy | NetworkProvisioningState;
  readonly resourceGuid: BicepValueProxy | guid;
  tags: Aspire_Hosting_Azure_Provisioning_Network_Generated_DictionaryOfStringProxy;
  addTo(infrastructure: AzureResourceInfrastructure): void;
  clearBandwidthInGbps(): void;
  clearBillingType(): void;
  clearEncapsulation(): void;
  clearLocation(): void;
  clearName(): void;
  clearPeeringLocation(): void;
}
```

## Properties

- `allocationDate`: `BicepValueProxy | string` `get` -- Gets the AllocationDate provisioning property.
- `bandwidthInGbps`: `BicepValueProxy | number` `get - set` -- Gets or sets the BandwidthInGbps provisioning property.
- `billingType`: `BicepValueProxy | ExpressRoutePortsBillingType` `get - set` -- Gets or sets the BillingType provisioning property.
- `circuits`: [Aspire_Hosting_Azure_Provisioning_Network_Generated_ListOfWritableSubResourceProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.network/aspire-hosting-azure-provisioning-network-generated-listofwritablesubresourceproxy.md) `get` -- Gets the Circuits provisioning property.
- `encapsulation`: `BicepValueProxy | ExpressRoutePortsEncapsulation` `get - set` -- Gets or sets the Encapsulation provisioning property.
- `eTag`: `BicepValueProxy` `get` -- Gets the ETag provisioning property.
- `etherType`: `BicepValueProxy | string` `get` -- Gets the EtherType provisioning property.
- `id`: `BicepValueProxy` `get` -- Gets the Id provisioning property.
- `identity`: [NetworkManagedServiceIdentityProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.network/networkmanagedserviceidentityproxy.md) `get - set` -- Gets or sets the Identity provisioning property.
- `links`: [Aspire_Hosting_Azure_Provisioning_Network_Generated_ListOfExpressRouteLinkDataProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.network/aspire-hosting-azure-provisioning-network-generated-listofexpressroutelinkdataproxy.md) `get - set` -- Gets or sets the Links provisioning property.
- `location`: `BicepValueProxy` `get - set` -- Gets or sets the Location provisioning property.
- `mtu`: `BicepValueProxy | string` `get` -- Gets the Mtu provisioning property.
- `name`: `BicepValueProxy | string` `get - set` -- Gets or sets the Name provisioning property.
- `peeringLocation`: `BicepValueProxy | string` `get - set` -- Gets or sets the PeeringLocation provisioning property.
- `provisionedBandwidthInGbps`: `BicepValueProxy | number` `get` -- Gets the ProvisionedBandwidthInGbps provisioning property.
- `provisioningState`: `BicepValueProxy | NetworkProvisioningState` `get` -- Gets the ProvisioningState provisioning property.
- `resourceGuid`: `BicepValueProxy | guid` `get` -- Gets the ResourceGuid 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/expressrouteportproxy/addto.md) -- `method` -- Adds this provisioning resource to the Azure resource infrastructure.
    ```typescript
  addTo(infrastructure: AzureResourceInfrastructure): void
  ```
- [clearBandwidthInGbps](/reference/api/typescript/aspire.hosting.azure.provisioning.network/expressrouteportproxy/clearbandwidthingbps.md) -- `method` -- Clears the BandwidthInGbps provisioning property.
    ```typescript
  clearBandwidthInGbps(): void
  ```
- [clearBillingType](/reference/api/typescript/aspire.hosting.azure.provisioning.network/expressrouteportproxy/clearbillingtype.md) -- `method` -- Clears the BillingType provisioning property.
    ```typescript
  clearBillingType(): void
  ```
- [clearEncapsulation](/reference/api/typescript/aspire.hosting.azure.provisioning.network/expressrouteportproxy/clearencapsulation.md) -- `method` -- Clears the Encapsulation provisioning property.
    ```typescript
  clearEncapsulation(): void
  ```
- [clearLocation](/reference/api/typescript/aspire.hosting.azure.provisioning.network/expressrouteportproxy/clearlocation.md) -- `method` -- Clears the Location provisioning property.
    ```typescript
  clearLocation(): void
  ```
- [clearName](/reference/api/typescript/aspire.hosting.azure.provisioning.network/expressrouteportproxy/clearname.md) -- `method` -- Clears the Name provisioning property.
    ```typescript
  clearName(): void
  ```
- [clearPeeringLocation](/reference/api/typescript/aspire.hosting.azure.provisioning.network/expressrouteportproxy/clearpeeringlocation.md) -- `method` -- Clears the PeeringLocation provisioning property.
    ```typescript
  clearPeeringLocation(): void
  ```
