egulu CLI reference / egulu uptime-checks
egulu uptime-checks create
POST /v1/projects/{project}/locations/{location}/uptimeChecks
egulu uptime-checks create <NAME> [options]
API operation
UptimeChecks_create: 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 apply too.