# ClientIPConfigV1

- Kind: `class`
- Package: [Aspire.Hosting.Kubernetes](/reference/api/csharp/aspire.hosting.kubernetes.md)
- Version: `13.3.0-preview.1.26254.5`
- Namespace: `Aspire.Hosting.Kubernetes.Resources`
- Target framework: `net8.0`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/5bd693ae1897dee5e2ce71c2cc08879c1c7eff51/src/Aspire.Hosting.Kubernetes/Resources/ClientIPConfigV1.cs)

Represents the configuration settings for client IP-based session affinity in a Kubernetes resource.

## Definition

```csharp
namespace Aspire.Hosting.Kubernetes.Resources;

public sealed class ClientIPConfigV1
{
    // ...
}
```

## Remarks

This class encapsulates settings that define the behavior of session affinity when based on the client's IP address. It is used within the broader session affinity configuration.

## Constructors

- [ClientIPConfigV1](/reference/api/csharp/aspire.hosting.kubernetes/clientipconfigv1/constructors.md#constructor)

## Properties

- [TimeoutSeconds](/reference/api/csharp/aspire.hosting.kubernetes/clientipconfigv1/properties.md#timeoutseconds) : `int?` `get; set` -- Gets or sets the timeout duration, in seconds, for retaining client IP connections. Represents the time period after which idle client connections will time out. Nullable to indicate that no specific timeout value is set.
