# io.k8s.api.networking.v1.IngressBackend

From **Kubernetes**.

IngressBackend describes all endpoints for a given service and port.

- Type: `object`

## Properties

### `resource`

- Required: false
resource is an ObjectRef to another Kubernetes resource in the namespace of the Ingress object. If resource is specified, a service.Name and service.Port must not be specified. This is a mutually exclusive setting with "Service".

### `service`

- Required: false
service references a service as a backend. This is a mutually exclusive setting with "Resource".

## JSON Schema

```json
{"description":"IngressBackend describes all endpoints for a given service and port.","properties":{"resource":{"allOf":[{"$ref":"#/components/schemas/io.k8s.api.core.v1.TypedLocalObjectReference"}],"description":"resource is an ObjectRef to another Kubernetes resource in the namespace of the Ingress object. If resource is specified, a service.Name and service.Port must not be specified. This is a mutually exclusive setting with \"Service\"."},"service":{"allOf":[{"$ref":"#/components/schemas/io.k8s.api.networking.v1.IngressServiceBackend"}],"description":"service references a service as a backend. This is a mutually exclusive setting with \"Resource\"."}},"type":"object"}
```
