# FsGroupStrategyOptionsV1Beta1 Properties

- Package: [Aspire.Hosting.Kubernetes](/reference/api/csharp/aspire.hosting.kubernetes.md)
- Type: [FsGroupStrategyOptionsV1Beta1](/reference/api/csharp/aspire.hosting.kubernetes/fsgroupstrategyoptionsv1beta1.md)
- Kind: `Properties`
- Members: `2`

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.

## Ranges

- Name: `Ranges`
- Modifiers: `get`
- Returns: [List<IdRangeV1Beta1>](/reference/api/csharp/aspire.hosting.kubernetes/idrangev1beta1.md)
- Source: [GitHub](https://github.com/microsoft/aspire/blob/5bd693ae1897dee5e2ce71c2cc08879c1c7eff51/src/Aspire.Hosting.Kubernetes/Resources/FsGroupStrategyOptionsV1Beta1.cs#L30)

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.

```csharp
public List<IdRangeV1Beta1> Ranges { get; }
```

## Rule

- Name: `Rule`
- Modifiers: `get; set`
- Returns: `string`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/5bd693ae1897dee5e2ce71c2cc08879c1c7eff51/src/Aspire.Hosting.Kubernetes/Resources/FsGroupStrategyOptionsV1Beta1.cs)

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.

```csharp
public string Rule { get; set; }
```
