# FsGroupStrategyOptionsV1Beta1

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

FSGroupStrategyOptionsV1Beta1 specifies the strategy options for controlling the FSGroup security context within a Pod Security Policy. This helps define the rules and ranges applicable to the FSGroup value, which specifies a supplemental group applied to the pod's file system.

## Definition

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

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

## Constructors

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

## Properties

- [Ranges](/reference/api/csharp/aspire.hosting.kubernetes/fsgroupstrategyoptionsv1beta1/properties.md#ranges) : [List<IdRangeV1Beta1>](/reference/api/csharp/aspire.hosting.kubernetes/idrangev1beta1.md) `get` -- Gets the list of allowed ID ranges. Each element in the list specifies a minimum and maximum value that define a range of allowed IDs. The ranges are applied to the FSGroup security settings in Kubernetes for access control purposes.
- [Rule](/reference/api/csharp/aspire.hosting.kubernetes/fsgroupstrategyoptionsv1beta1/properties.md#rule) : `string` `get; set` -- Gets or sets the rule that defines the strategy used for managing file system group (FSGroup). This specifies the policy that determines which FSGroup is applied to volumes in a pod.
