# FsGroupStrategyOptionsV1Beta1

- 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/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.
