# BgpSettingsProxy

- 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 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
  ```
