egulu CLI reference / egulu apis
egulu apis create
POST /v1/projects/{project}/locations/{location}/apis
egulu apis create <NAME> [options]
API operation
Apis_create: POST /v1/projects/{project}/locations/{location}/apis (apigw module)
Arguments
| Name | Required | Description |
|---|---|---|
NAME | yes | the apiId |
Options
| Option | Takes | Required | Description |
|---|---|---|---|
--auth | value | no | auth |
--base-path | value | no | basePath |
--default-backend | value | no | defaultBackend |
--display-name | value | no | displayName |
--hosts | value | no | hosts: comma-separated, or @file with one item a line |
--key-in | value | no | keyIn |
--key-name | value | no | keyName |
--location | value | yes | location |
--project | value | yes | project |
--validate-only | value | no | validateOnly |
--version-scheme | value | no | versionScheme |
--versions | value | no | versions: comma-separated, or @file with one item a line |
The global options apply too.