# SessionPoolLifecycleConfigurationProxy

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

## Definition

```typescript
interface SessionPoolLifecycleConfigurationProxy {
  cooldownPeriodInSeconds: BicepValueProxy | number;
  lifecycleType: BicepValueProxy | SessionPoolLifecycleType;
  maxAlivePeriodInSeconds: BicepValueProxy | number;
  clearCooldownPeriodInSeconds(): void;
  clearLifecycleType(): void;
  clearMaxAlivePeriodInSeconds(): void;
}
```

## Properties

- `cooldownPeriodInSeconds`: `BicepValueProxy | number` `get - set` -- Gets or sets the CooldownPeriodInSeconds provisioning property.
- `lifecycleType`: `BicepValueProxy | SessionPoolLifecycleType` `get - set` -- Gets or sets the LifecycleType provisioning property.
- `maxAlivePeriodInSeconds`: `BicepValueProxy | number` `get - set` -- Gets or sets the MaxAlivePeriodInSeconds provisioning property.

## Methods

- [clearCooldownPeriodInSeconds](/reference/api/typescript/aspire.hosting.azure.provisioning.appcontainers/sessionpoollifecycleconfigurationproxy/clearcooldownperiodinseconds.md) -- `method` -- Clears the CooldownPeriodInSeconds provisioning property.
    ```typescript
  clearCooldownPeriodInSeconds(): void
  ```
- [clearLifecycleType](/reference/api/typescript/aspire.hosting.azure.provisioning.appcontainers/sessionpoollifecycleconfigurationproxy/clearlifecycletype.md) -- `method` -- Clears the LifecycleType provisioning property.
    ```typescript
  clearLifecycleType(): void
  ```
- [clearMaxAlivePeriodInSeconds](/reference/api/typescript/aspire.hosting.azure.provisioning.appcontainers/sessionpoollifecycleconfigurationproxy/clearmaxaliveperiodinseconds.md) -- `method` -- Clears the MaxAlivePeriodInSeconds provisioning property.
    ```typescript
  clearMaxAlivePeriodInSeconds(): void
  ```
