diagrid httpendpoint example
Print an example httpendpoint resource
Description
Print an example httpendpoint resource.
The example is a valid, minimal httpendpoint you can edit and apply with "diagrid apply -f <file>". It is read from the spec embedded in the CLI, so no project or login is needed. Use "diagrid httpendpoint schema" for the full field reference.
diagrid httpendpoint example [flags]
Examples
# Print an example httpendpoint as YAML
diagrid httpendpoint example
# Bootstrap a new resource file from the example
diagrid httpendpoint example > httpendpoint.yaml
Options
-h, --help help for example
-o, --output string Output format, supported [yaml, json] (default "yaml")
Options inherited from parent commands
--api-key string Diagrid Cloud API key
SEE ALSO
- diagrid httpendpoint - Manage Dapr HTTP endpoints