## stackit load-balancer target-pool add-target

Adds a target to a target pool

### Synopsis

Adds a target to a target pool.
The target IP must by unique within a target pool and must be a valid IPv4 or IPv6.

```
stackit load-balancer target-pool add-target TARGET_IP [flags]
```

### Examples

```
  Add a target with IP 1.2.3.4 and name "my-new-target" to target pool "my-target-pool" of load balancer with name "my-load-balancer"
  $ stackit load-balancer target-pool add-target 1.2.3.4 --target-name my-new-target --target-pool-name my-target-pool --lb-name my-load-balancer
```

### Options

```
  -h, --help                      Help for "stackit load-balancer target-pool add-target"
      --lb-name string            Load balancer name
  -n, --target-name string        Target name
      --target-pool-name string   Target pool name
```

### Options inherited from parent commands

```
  -y, --assume-yes             If set, skips all confirmation prompts
      --async                  If set, runs the command asynchronously
  -o, --output-format string   Output format, one of ["json" "pretty" "none" "yaml"]
  -p, --project-id string      Project ID
      --region string          Target region for region-specific requests
      --verbosity string       Verbosity of the CLI, one of ["debug" "info" "warning" "error"] (default "info")
```

### SEE ALSO

* [stackit load-balancer target-pool](./stackit_load-balancer_target-pool.md)	 - Provides functionality for target pools

