[egulu CLI reference](../index.md) / [egulu discovery-jobs](index.md)

# egulu discovery-jobs create

POST /v1/projects/{project}/locations/{location}/discoveryJobs

```sh
egulu discovery-jobs create <NAME> [options]
```

## API operation

[DiscoveryJobs_create](../../api/discovery/DiscoveryJobs_create.md): `POST /v1/projects/{project}/locations/{location}/discoveryJobs` (discovery module)

## Arguments

| Name | Required | Description |
|---|---|---|
| `NAME` | yes | the discoveryJobId |

## Options

| Option | Takes | Required | Description |
|---|---|---|---|
| `--bucket` | value | no | bucket |
| `--classes` | value | no | classes: comma-separated, or @file with one item a line |
| `--description` | value | no | description |
| `--display-name` | value | no | displayName |
| `--finding-threshold` | value | no | findingThreshold |
| `--location` | value | yes | location |
| `--max-bytes` | value | no | maxBytes |
| `--max-object-bytes` | value | no | maxObjectBytes |
| `--max-objects` | value | no | maxObjects |
| `--prefixes` | value | no | prefixes: comma-separated, or @file with one item a line |
| `--project` | value | yes | project |
| `--sample-per-prefix` | value | no | samplePerPrefix |
| `--sampling` | value | no | sampling |
| `--schedule` | value | no | schedule |
| `--validate-only` | value | no | validateOnly |

The [global options](../index.md) apply too.
