# LocalNetworkGatewayProxy

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

## Definition

```typescript
interface LocalNetworkGatewayProxy {
  bgpSettings: BgpSettingsProxy;
  readonly eTag: BicepValueProxy;
  fqdn: BicepValueProxy | string;
  gatewayIPAddress: BicepValueProxy | string;
  readonly id: BicepValueProxy;
  localNetworkAddressSpace: VirtualNetworkAddressSpaceProxy;
  location: BicepValueProxy;
  name: BicepValueProxy | string;
  readonly provisioningState: BicepValueProxy | NetworkProvisioningState;
  readonly resourceGuid: BicepValueProxy | guid;
  tags: Aspire_Hosting_Azure_Provisioning_Network_Generated_DictionaryOfStringProxy;
  addTo(infrastructure: AzureResourceInfrastructure): void;
  clearFqdn(): void;
  clearGatewayIPAddress(): void;
  clearLocation(): void;
  clearName(): void;
}
```

## Properties

- `bgpSettings`: [BgpSettingsProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.network/bgpsettingsproxy.md) `get - set` -- Gets or sets the BgpSettings provisioning property.
- `eTag`: `BicepValueProxy` `get` -- Gets the ETag provisioning property.
- `fqdn`: `BicepValueProxy | string` `get - set` -- Gets or sets the Fqdn provisioning property.
- `gatewayIPAddress`: `BicepValueProxy | string` `get - set` -- Gets or sets the GatewayIPAddress provisioning property.
- `id`: `BicepValueProxy` `get` -- Gets the Id provisioning property.
- `localNetworkAddressSpace`: [VirtualNetworkAddressSpaceProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.network/virtualnetworkaddressspaceproxy.md) `get - set` -- Gets or sets the LocalNetworkAddressSpace 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.
- `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/localnetworkgatewayproxy/addto.md) -- `method` -- Adds this provisioning resource to the Azure resource infrastructure.
    ```typescript
  addTo(infrastructure: AzureResourceInfrastructure): void
  ```
- [clearFqdn](/reference/api/typescript/aspire.hosting.azure.provisioning.network/localnetworkgatewayproxy/clearfqdn.md) -- `method` -- Clears the Fqdn provisioning property.
    ```typescript
  clearFqdn(): void
  ```
- [clearGatewayIPAddress](/reference/api/typescript/aspire.hosting.azure.provisioning.network/localnetworkgatewayproxy/cleargatewayipaddress.md) -- `method` -- Clears the GatewayIPAddress provisioning property.
    ```typescript
  clearGatewayIPAddress(): void
  ```
- [clearLocation](/reference/api/typescript/aspire.hosting.azure.provisioning.network/localnetworkgatewayproxy/clearlocation.md) -- `method` -- Clears the Location provisioning property.
    ```typescript
  clearLocation(): void
  ```
- [clearName](/reference/api/typescript/aspire.hosting.azure.provisioning.network/localnetworkgatewayproxy/clearname.md) -- `method` -- Clears the Name provisioning property.
    ```typescript
  clearName(): void
  ```
