egulu CLI reference / egulu data-apis
egulu data-apis create
POST /v1/projects/{project}/locations/{location}/postgresClusters/{cluster}/databases/{database}/dataApis
egulu data-apis create <NAME> [options]
API operation
DataApis_create: POST /v1/projects/{project}/locations/{location}/postgresClusters/{cluster}/databases/{database}/dataApis (dataapi module)
Arguments
| Name | Required | Description |
|---|---|---|
NAME | yes | the dataApiId |
Options
| Option | Takes | Required | Description |
|---|---|---|---|
--cluster | value | yes | cluster |
--cors-origins | value | no | corsOrigins: comma-separated, or @file with one item a line |
--database | value | yes | database |
--display-name | value | no | displayName |
--location | value | yes | location |
--max-rows | value | no | maxRows |
--project | value | yes | project |
--statement-timeout-ms | value | no | statementTimeoutMs |
--validate-only | value | no | validateOnly |
The global options apply too.