[egulu CLI reference](../index.md) / [egulu uptime-checks](index.md)

# egulu uptime-checks create

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

```sh
egulu uptime-checks create <NAME> [options]
```

## API operation

[UptimeChecks_create](../../api/observability/UptimeChecks_create.md): `POST /v1/projects/{project}/locations/{location}/uptimeChecks` (observability module)

## Arguments

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

## Options

| Option | Takes | Required | Description |
|---|---|---|---|
| `--display-name` | value | no | displayName |
| `--expected-body-substring` | value | no | expectedBodySubstring |
| `--expected-status-code` | value | no | expectedStatusCode |
| `--interval-seconds` | value | no | intervalSeconds |
| `--location` | value | yes | location |
| `--method` | value | no | method |
| `--probe-locations` | value | no | probeLocations: comma-separated, or @file with one item a line |
| `--project` | value | yes | project |
| `--target-url` | value | no | targetUrl |
| `--timeout-seconds` | value | no | timeoutSeconds |
| `--validate-only` | value | no | validateOnly |

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