sylphx hosting deployment_protections
Every sylphx hosting deployment_protections command: its argument, its flags and a run line.
The deployment_protections commands of Sylphx Hosting, as the CLI spells them: the same
calls as the deployment_protections API page, typed for the
shell. Install, sign in and the grammar are on the CLI index.
get
Reads the environment's desired policy (deployment_protections/default).
NAME — the resource's name; a bare id is enough below the linked
project.
CLI
sylphx hosting deployment-protections get orgs/acme/projects/shop/envs/production/deployment_protections/deployment-protectionGET https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/deployment_protections/deployment-protection · scope hosting:read · effect read · Request, response and examples
update
Updates the environment's desired Deployment Protection policy.
NAME — the resource's name; a bare id is enough below the linked
project.
CLI
sylphx hosting deployment-protections update orgs/acme/projects/shop/envs/production/deployment_protections/deployment-protectionPATCH https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/deployment_protections/deployment-protection · scope hosting:write · effect write · Request, response and examples
Flags
| Flag | Type | What it does |
|---|---|---|
--meta.labels | key=value | Caller-writable, indexed labels (AIP-122 label rules). Repeat the flag for each value. |
--meta.annotations | key=value | Caller-writable, unindexed annotations. Repeat the flag for each value. |
--meta.display-name | string | Caller-writable human-readable name. |
--mode | string | The default mode resolves to org_member in previews and public elsewhere. Explicit public or org_member overrides that default. |