# RoleRefV1 Properties

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

Represents a reference to a Kubernetes Role or ClusterRole.

## ApiGroup

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

Gets or sets the API group associated with the Kubernetes resource. The API group is used to specify the group of the resource, allowing the use of resources across different API versions.

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

## Kind

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

Gets or sets the kind of the referenced role resource.

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

## Remarks

The Kind property is used to specify the type of resource being pointed to. This includes values like "Role" or "ClusterRole" in Kubernetes.

## Name

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

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