# LinuxOSConfigProxy

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

Represents the LinuxOSConfig Azure Provisioning model.

## Definition

```typescript
interface LinuxOSConfigProxy {
  swapFileSizeInMB: BicepValueProxy | number;
  sysctls: SysctlConfigProxy;
  transparentHugePageDefrag: BicepValueProxy | string;
  transparentHugePageEnabled: BicepValueProxy | string;
  clearSwapFileSizeInMB(): void;
  clearTransparentHugePageDefrag(): void;
  clearTransparentHugePageEnabled(): void;
}
```

## Properties

- `swapFileSizeInMB`: `BicepValueProxy | number` `get - set` -- Gets or sets the SwapFileSizeInMB provisioning property.
- `sysctls`: [SysctlConfigProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.containerservice/sysctlconfigproxy.md) `get - set` -- Gets or sets the Sysctls provisioning property.
- `transparentHugePageDefrag`: `BicepValueProxy | string` `get - set` -- Gets or sets the TransparentHugePageDefrag provisioning property.
- `transparentHugePageEnabled`: `BicepValueProxy | string` `get - set` -- Gets or sets the TransparentHugePageEnabled provisioning property.

## Methods

- [clearSwapFileSizeInMB](/reference/api/typescript/aspire.hosting.azure.provisioning.containerservice/linuxosconfigproxy/clearswapfilesizeinmb.md) -- `method` -- Clears the SwapFileSizeInMB provisioning property.
    ```typescript
  clearSwapFileSizeInMB(): void
  ```
- [clearTransparentHugePageDefrag](/reference/api/typescript/aspire.hosting.azure.provisioning.containerservice/linuxosconfigproxy/cleartransparenthugepagedefrag.md) -- `method` -- Clears the TransparentHugePageDefrag provisioning property.
    ```typescript
  clearTransparentHugePageDefrag(): void
  ```
- [clearTransparentHugePageEnabled](/reference/api/typescript/aspire.hosting.azure.provisioning.containerservice/linuxosconfigproxy/cleartransparenthugepageenabled.md) -- `method` -- Clears the TransparentHugePageEnabled provisioning property.
    ```typescript
  clearTransparentHugePageEnabled(): void
  ```
