# NetworkVirtualApplianceConnectionProxy

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

## Definition

```typescript
interface NetworkVirtualApplianceConnectionProxy {
  asn: BicepValueProxy | number;
  bgpPeerAddress: Aspire_Hosting_Azure_Provisioning_Network_Generated_ListOfStringProxy;
  connectionRoutingConfiguration: RoutingConfigurationProxy;
  enableInternetSecurity: BicepValueProxy | boolean;
  readonly id: BicepValueProxy;
  name: BicepValueProxy | string;
  namePropertiesName: BicepValueProxy | string;
  parent: NetworkVirtualApplianceProxy;
  readonly provisioningState: BicepValueProxy | NetworkProvisioningState;
  tunnelIdentifier: BicepValueProxy | number;
  addTo(infrastructure: AzureResourceInfrastructure): void;
  clearAsn(): void;
  clearEnableInternetSecurity(): void;
  clearName(): void;
  clearNamePropertiesName(): void;
  clearTunnelIdentifier(): void;
}
```

## Properties

- `asn`: `BicepValueProxy | number` `get - set` -- Gets or sets the Asn provisioning property.
- `bgpPeerAddress`: [Aspire_Hosting_Azure_Provisioning_Network_Generated_ListOfStringProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.network/aspire-hosting-azure-provisioning-network-generated-listofstringproxy.md) `get - set` -- Gets or sets the BgpPeerAddress provisioning property.
- `connectionRoutingConfiguration`: [RoutingConfigurationProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.network/routingconfigurationproxy.md) `get - set` -- Gets or sets the ConnectionRoutingConfiguration provisioning property.
- `enableInternetSecurity`: `BicepValueProxy | boolean` `get - set` -- Gets or sets the EnableInternetSecurity provisioning property.
- `id`: `BicepValueProxy` `get` -- Gets the Id provisioning property.
- `name`: `BicepValueProxy | string` `get - set` -- Gets or sets the Name provisioning property.
- `namePropertiesName`: `BicepValueProxy | string` `get - set` -- Gets or sets the NamePropertiesName provisioning property.
- `parent`: [NetworkVirtualApplianceProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.network/networkvirtualapplianceproxy.md) `get - set` -- Gets or sets the Parent provisioning property.
- `provisioningState`: `BicepValueProxy | NetworkProvisioningState` `get` -- Gets the ProvisioningState provisioning property.
- `tunnelIdentifier`: `BicepValueProxy | number` `get - set` -- Gets or sets the TunnelIdentifier provisioning property.

## Methods

- [addTo](/reference/api/typescript/aspire.hosting.azure.provisioning.network/networkvirtualapplianceconnectionproxy/addto.md) -- `method` -- Adds this provisioning resource to the Azure resource infrastructure.
    ```typescript
  addTo(infrastructure: AzureResourceInfrastructure): void
  ```
- [clearAsn](/reference/api/typescript/aspire.hosting.azure.provisioning.network/networkvirtualapplianceconnectionproxy/clearasn.md) -- `method` -- Clears the Asn provisioning property.
    ```typescript
  clearAsn(): void
  ```
- [clearEnableInternetSecurity](/reference/api/typescript/aspire.hosting.azure.provisioning.network/networkvirtualapplianceconnectionproxy/clearenableinternetsecurity.md) -- `method` -- Clears the EnableInternetSecurity provisioning property.
    ```typescript
  clearEnableInternetSecurity(): void
  ```
- [clearName](/reference/api/typescript/aspire.hosting.azure.provisioning.network/networkvirtualapplianceconnectionproxy/clearname.md) -- `method` -- Clears the Name provisioning property.
    ```typescript
  clearName(): void
  ```
- [clearNamePropertiesName](/reference/api/typescript/aspire.hosting.azure.provisioning.network/networkvirtualapplianceconnectionproxy/clearnamepropertiesname.md) -- `method` -- Clears the NamePropertiesName provisioning property.
    ```typescript
  clearNamePropertiesName(): void
  ```
- [clearTunnelIdentifier](/reference/api/typescript/aspire.hosting.azure.provisioning.network/networkvirtualapplianceconnectionproxy/cleartunnelidentifier.md) -- `method` -- Clears the TunnelIdentifier provisioning property.
    ```typescript
  clearTunnelIdentifier(): void
  ```
