# IngressPortMappingProxy

- Module: [Aspire.Hosting.Azure.Provisioning.AppContainers](/reference/api/typescript/aspire.hosting.azure.provisioning.appcontainers.md)
- Version: `13.6.0-preview.1.26478.8`
- Kind: `handle`
- Source: [GitHub](https://github.com/microsoft/aspire/tree/f4c27f2d43ddc1cacd0dd083b30d1fea1cee7a62)

Represents the IngressPortMapping Azure Provisioning model.

## Definition

```typescript
interface IngressPortMappingProxy {
  exposedPort: BicepValueProxy | number;
  external: BicepValueProxy | boolean;
  targetPort: BicepValueProxy | number;
  clearExposedPort(): void;
  clearExternal(): void;
  clearTargetPort(): void;
}
```

## Properties

- `exposedPort`: `BicepValueProxy | number` `get - set` -- Gets or sets the ExposedPort provisioning property.
- `external`: `BicepValueProxy | boolean` `get - set` -- Gets or sets the External provisioning property.
- `targetPort`: `BicepValueProxy | number` `get - set` -- Gets or sets the TargetPort provisioning property.

## Methods

- [clearExposedPort](/reference/api/typescript/aspire.hosting.azure.provisioning.appcontainers/ingressportmappingproxy/clearexposedport.md) -- `method` -- Clears the ExposedPort provisioning property.
    ```typescript
  clearExposedPort(): void
  ```
- [clearExternal](/reference/api/typescript/aspire.hosting.azure.provisioning.appcontainers/ingressportmappingproxy/clearexternal.md) -- `method` -- Clears the External provisioning property.
    ```typescript
  clearExternal(): void
  ```
- [clearTargetPort](/reference/api/typescript/aspire.hosting.azure.provisioning.appcontainers/ingressportmappingproxy/cleartargetport.md) -- `method` -- Clears the TargetPort provisioning property.
    ```typescript
  clearTargetPort(): void
  ```
