CLICommands
orl vms visibility set
Set a VM's endpoint visibility, part of the orl CLI for OpenRelay GPU VMs, pods, batches and billing. Usage, every flag and an example.
orl vms visibility set <id> --publicMakes a VM's HTTP endpoint public (no data-plane auth) or private (the org's API key required) and returns the VM; a running VM's route changes at once.
Flags
| Flag | Type | Required | |
|---|---|---|---|
--public | bool | yes | true = open endpoint (no data-plane auth); false = require an org API key |
--body | string | no | a JSON object of request body fields, merged under any of this command's own flags that are also set, e.g. {"key":"value"} |
--body-file | string | no | read the --body JSON object from a file (- for stdin) |
This wraps the setVmVisibility API operation.