# LinuxOSConfigProxy

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

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
  ```
