sylphx notify masked_aliases
Every sylphx notify masked_aliases command: its argument, its flags and a run line.
The masked_aliases commands of Sylphx Notify, as the CLI spells them: the same
calls as the masked_aliases API page, typed for the
shell. Install, sign in and the grammar are on the CLI index.
get
Gets a masked alias.
NAME — the resource's name; a bare id is enough below the linked
project.
CLI
sylphx notify masked-aliases get orgs/acme/projects/shop/envs/production/masked_aliases/masked-aliasGET https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/masked_aliases/masked-alias · scope notify:read · effect read · Request, response and examples
list
Lists the masked alias collection.
PARENT — optional: the CLI fills it from the linked project or the
key's scope when it is left out.
CLI
sylphx notify masked-aliases list orgs/acme/projects/shop/envs/productionGET https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/masked_aliases · scope notify:read · effect read · Request, response and examples
Flags
| Flag | Type | What it does |
|---|---|---|
--page-size | int | The requested page size. |
--page-token | string | The token returned by a previous call. |
create
Creates a masked alias.
ID — The id segment of the new Resource's name; the server assigns one when omitted.
CLI
sylphx notify masked-aliases create --parent orgs/acme/projects/shop/envs/production --spec.address … --spec.mailbox …POST https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/masked_aliases · scope notify:write · effect write · Request, response and examples
Flags
| Flag | Type | What it does |
|---|---|---|
--parent | string | The parent to create in; defaults to the linked project or the key's scope. |
--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. |
--spec.address | string | An unused address on a receiving domain in this environment. Required. |
--spec.mailbox | string | The hosted mailbox that receives the alias's mail. Required. |
--spec.state | enum | Defaults to ACTIVE on creation. REVOKED never transitions again. One of active, paused, revoked. |
--spec.reply-mode | enum | Defaults to DISABLED. Does not grant outbound permission. One of disabled, reverse_alias. |
--dry-run | bool | Validate and print the result without writing (validate_only). |
update
Updates a masked alias.
NAME — the resource's name; a bare id is enough below the linked
project.
CLI
sylphx notify masked-aliases update orgs/acme/projects/shop/envs/production/masked_aliases/masked-aliasPATCH https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/masked_aliases/masked-alias · scope notify: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. |
--spec.state | enum | Defaults to ACTIVE on creation. REVOKED never transitions again. One of active, paused, revoked. |
--spec.reply-mode | enum | Defaults to DISABLED. Does not grant outbound permission. One of disabled, reverse_alias. |
--dry-run | bool | Validate and print the result without writing (validate_only). |