# IngressBackendV1 Properties

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

Represents a backend for a Kubernetes ingress resource.

## Resource

- Name: `Resource`
- Modifiers: `get; set`
- Returns: [TypedLocalObjectReferenceV1](/reference/api/csharp/aspire.hosting.kubernetes/typedlocalobjectreferencev1.md)
- Source: [GitHub](https://github.com/microsoft/aspire/blob/5bd693ae1897dee5e2ce71c2cc08879c1c7eff51/src/Aspire.Hosting.Kubernetes/Resources/IngressBackendV1.cs)

Represents a reference to a Kubernetes resource that is used as a backend for Ingress in the V1 API.

```csharp
public TypedLocalObjectReferenceV1 Resource { get; set; }
```

## Remarks

This property holds a reference to a specific resource using the TypedLocalObjectReferenceV1 type, allowing specification of the resource's kind, name, and associated API group.

## Service

- Name: `Service`
- Modifiers: `get; set`
- Returns: [IngressServiceBackendV1](/reference/api/csharp/aspire.hosting.kubernetes/ingressservicebackendv1.md)
- Source: [GitHub](https://github.com/microsoft/aspire/blob/5bd693ae1897dee5e2ce71c2cc08879c1c7eff51/src/Aspire.Hosting.Kubernetes/Resources/IngressBackendV1.cs)

Gets or sets the backend service information associated with the ingress resource. This includes the name of the service and its corresponding port configuration.

```csharp
public IngressServiceBackendV1 Service { get; set; }
```
