# ContainerAppIngressConfigurationProxy

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

Represents the ContainerAppIngressConfiguration Azure Provisioning model.

## Definition

```typescript
interface ContainerAppIngressConfigurationProxy {
  additionalPortMappings: Aspire_Hosting_Azure_Provisioning_AppContainers_Generated_ListOfIngressPortMappingProxy;
  allowInsecure: BicepValueProxy | boolean;
  clientCertificateMode: BicepValueProxy | ContainerAppIngressClientCertificateMode;
  corsPolicy: ContainerAppCorsPolicyProxy;
  customDomains: Aspire_Hosting_Azure_Provisioning_AppContainers_Generated_ListOfContainerAppCustomDomainProxy;
  exposedPort: BicepValueProxy | number;
  external: BicepValueProxy | boolean;
  readonly fqdn: BicepValueProxy | string;
  iPSecurityRestrictions: Aspire_Hosting_Azure_Provisioning_AppContainers_Generated_ListOfContainerAppIPSecurityRestrictionRuleProxy;
  stickySessionsAffinity: BicepValueProxy | StickySessionAffinity;
  targetPort: BicepValueProxy | number;
  traffic: Aspire_Hosting_Azure_Provisioning_AppContainers_Generated_ListOfContainerAppRevisionTrafficWeightProxy;
  transport: BicepValueProxy | ContainerAppIngressTransportMethod;
  clearAllowInsecure(): void;
  clearClientCertificateMode(): void;
  clearExposedPort(): void;
  clearExternal(): void;
  clearStickySessionsAffinity(): void;
  clearTargetPort(): void;
  clearTransport(): void;
}
```

## Properties

- `additionalPortMappings`: [Aspire_Hosting_Azure_Provisioning_AppContainers_Generated_ListOfIngressPortMappingProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.appcontainers/aspire-hosting-azure-provisioning-appcontainers-generated-listofingressportmappingproxy.md) `get - set` -- Gets or sets the AdditionalPortMappings provisioning property.
- `allowInsecure`: `BicepValueProxy | boolean` `get - set` -- Gets or sets the AllowInsecure provisioning property.
- `clientCertificateMode`: `BicepValueProxy | ContainerAppIngressClientCertificateMode` `get - set` -- Gets or sets the ClientCertificateMode provisioning property.
- `corsPolicy`: [ContainerAppCorsPolicyProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.appcontainers/containerappcorspolicyproxy.md) `get - set` -- Gets or sets the CorsPolicy provisioning property.
- `customDomains`: [Aspire_Hosting_Azure_Provisioning_AppContainers_Generated_ListOfContainerAppCustomDomainProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.appcontainers/aspire-hosting-azure-provisioning-appcontainers-generated-listofcontainerappcustomdomainproxy.md) `get - set` -- Gets or sets the CustomDomains provisioning property.
- `exposedPort`: `BicepValueProxy | number` `get - set` -- Gets or sets the ExposedPort provisioning property.
- `external`: `BicepValueProxy | boolean` `get - set` -- Gets or sets the External provisioning property.
- `fqdn`: `BicepValueProxy | string` `get` -- Gets the Fqdn provisioning property.
- `iPSecurityRestrictions`: [Aspire_Hosting_Azure_Provisioning_AppContainers_Generated_ListOfContainerAppIPSecurityRestrictionRuleProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.appcontainers/aspire-hosting-azure-provisioning-appcontainers-generated-listofcontainerappipsecurityrestrictionruleproxy.md) `get - set` -- Gets or sets the IPSecurityRestrictions provisioning property.
- `stickySessionsAffinity`: `BicepValueProxy | StickySessionAffinity` `get - set` -- Gets or sets the StickySessionsAffinity provisioning property.
- `targetPort`: `BicepValueProxy | number` `get - set` -- Gets or sets the TargetPort provisioning property.
- `traffic`: [Aspire_Hosting_Azure_Provisioning_AppContainers_Generated_ListOfContainerAppRevisionTrafficWeightProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.appcontainers/aspire-hosting-azure-provisioning-appcontainers-generated-listofcontainerapprevisiontrafficweightproxy.md) `get - set` -- Gets or sets the Traffic provisioning property.
- `transport`: `BicepValueProxy | ContainerAppIngressTransportMethod` `get - set` -- Gets or sets the Transport provisioning property.

## Methods

- [clearAllowInsecure](/reference/api/typescript/aspire.hosting.azure.provisioning.appcontainers/containerappingressconfigurationproxy/clearallowinsecure.md) -- `method` -- Clears the AllowInsecure provisioning property.
    ```typescript
  clearAllowInsecure(): void
  ```
- [clearClientCertificateMode](/reference/api/typescript/aspire.hosting.azure.provisioning.appcontainers/containerappingressconfigurationproxy/clearclientcertificatemode.md) -- `method` -- Clears the ClientCertificateMode provisioning property.
    ```typescript
  clearClientCertificateMode(): void
  ```
- [clearExposedPort](/reference/api/typescript/aspire.hosting.azure.provisioning.appcontainers/containerappingressconfigurationproxy/clearexposedport.md) -- `method` -- Clears the ExposedPort provisioning property.
    ```typescript
  clearExposedPort(): void
  ```
- [clearExternal](/reference/api/typescript/aspire.hosting.azure.provisioning.appcontainers/containerappingressconfigurationproxy/clearexternal.md) -- `method` -- Clears the External provisioning property.
    ```typescript
  clearExternal(): void
  ```
- [clearStickySessionsAffinity](/reference/api/typescript/aspire.hosting.azure.provisioning.appcontainers/containerappingressconfigurationproxy/clearstickysessionsaffinity.md) -- `method` -- Clears the StickySessionsAffinity provisioning property.
    ```typescript
  clearStickySessionsAffinity(): void
  ```
- [clearTargetPort](/reference/api/typescript/aspire.hosting.azure.provisioning.appcontainers/containerappingressconfigurationproxy/cleartargetport.md) -- `method` -- Clears the TargetPort provisioning property.
    ```typescript
  clearTargetPort(): void
  ```
- [clearTransport](/reference/api/typescript/aspire.hosting.azure.provisioning.appcontainers/containerappingressconfigurationproxy/cleartransport.md) -- `method` -- Clears the Transport provisioning property.
    ```typescript
  clearTransport(): void
  ```
