# BgpSettingsProxy

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

## Definition

```typescript
interface BgpSettingsProxy {
  asn: BicepValueProxy | number;
  bgpPeeringAddress: BicepValueProxy | string;
  bgpPeeringAddresses: Aspire_Hosting_Azure_Provisioning_Network_Generated_ListOfNetworkIPConfigurationBgpPeeringAddressProxy;
  peerWeight: BicepValueProxy | number;
  clearAsn(): void;
  clearBgpPeeringAddress(): void;
  clearPeerWeight(): void;
}
```

## Properties

- `asn`: `BicepValueProxy | number` `get - set` -- Gets or sets the Asn provisioning property.
- `bgpPeeringAddress`: `BicepValueProxy | string` `get - set` -- Gets or sets the BgpPeeringAddress provisioning property.
- `bgpPeeringAddresses`: [Aspire_Hosting_Azure_Provisioning_Network_Generated_ListOfNetworkIPConfigurationBgpPeeringAddressProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.network/aspire-hosting-azure-provisioning-network-generated-listofnetworkipconfigurationbgppeeringaddressproxy.md) `get - set` -- Gets or sets the BgpPeeringAddresses provisioning property.
- `peerWeight`: `BicepValueProxy | number` `get - set` -- Gets or sets the PeerWeight provisioning property.

## Methods

- [clearAsn](/reference/api/typescript/aspire.hosting.azure.provisioning.network/bgpsettingsproxy/clearasn.md) -- `method` -- Clears the Asn provisioning property.
    ```typescript
  clearAsn(): void
  ```
- [clearBgpPeeringAddress](/reference/api/typescript/aspire.hosting.azure.provisioning.network/bgpsettingsproxy/clearbgppeeringaddress.md) -- `method` -- Clears the BgpPeeringAddress provisioning property.
    ```typescript
  clearBgpPeeringAddress(): void
  ```
- [clearPeerWeight](/reference/api/typescript/aspire.hosting.azure.provisioning.network/bgpsettingsproxy/clearpeerweight.md) -- `method` -- Clears the PeerWeight provisioning property.
    ```typescript
  clearPeerWeight(): void
  ```
