Skip to main content

perpetual view

Manage views.

perpetual view delete​

Delete a view.

perpetual view delete <id> [flags]

Changes: Stages its writes into a changeset.

Output: With --json, prints its result in the JSON envelope and any error in the error envelope.

Arguments​

ArgumentRequiredDescription
idRequiredView ID (VIE_*).

Flags​

FlagTypeRequiredDescription
--base-versionstringOptionalExpected current version for optimistic concurrency.
--changesetstringOptionalChangeset (CHG_*) to stage into; REQUIRED (the CLI makes no live changes).

Also accepts the global flags, including the sign-in flags.

perpetual view export​

Write a view as a GitOps file.

perpetual view export <id> [flags]

Changes: Stages nothing.

Output: With --json, prints its result in the JSON envelope and any error in the error envelope.

Arguments​

ArgumentRequiredDescription
idRequiredView ID (VIE_*).

Flags​

FlagTypeRequiredDescription
--dirstringOptionalDirectory for a new file (default .).
--filestringOptionalExisting .view.yaml/.json file to edit in place.

Also accepts the global flags, including the sign-in flags.

perpetual view get​

Get a view.

perpetual view get <id>

Changes: Stages nothing.

Output: With --json, prints its result in the JSON envelope and any error in the error envelope.

Arguments​

ArgumentRequiredDescription
idRequiredView ID (VIE_*).

Also accepts the global flags, including the sign-in flags.

perpetual view list​

List views.

perpetual view list [flags]

Changes: Stages nothing.

Output: With --json, prints its result in the JSON envelope and any error in the error envelope.

Flags​

FlagTypeRequiredDescription
--spacestring, repeatableOptionalOnly these spaces: SPC_* ids, comma-separated or repeated.
--filterstringOptionalRaw OData $filter expression, passed to the server as is.
--topstringOptionalItems per page (server default 100).
--skipstringOptionalNumber of items to skip.
--allbooleanOptionalFetch every page (1000 items per request).

Also accepts the global flags, including the sign-in flags.

perpetual view status​

Show the deployment status of views.

perpetual view status [ids]

Changes: Stages nothing.

Output: With --json, prints its result in the JSON envelope and any error in the error envelope.

Arguments​

ArgumentRequiredDescription
idsOptionalView ids.

Also accepts the global flags, including the sign-in flags.

perpetual view wait​

Wait until a view reaches a deployment status (requires --timeout).

perpetual view wait <id> [flags]

Changes: Stages nothing.

Output: With --json, prints its result in the JSON envelope and any error in the error envelope.

Arguments​

ArgumentRequiredDescription
idRequiredView id.

Flags​

FlagTypeRequiredDescription
--timeoutstringOptionalGive up after this long, e.g. 90s, 10m, 1h (required; at most 24h).
--untilstringOptionalStatus to wait for (default DEPLOYED): DEPLOYED, FAILED, DEGRADED, UNDEPLOYED, ARCHIVED. One of DEPLOYED, FAILED, DEGRADED, UNDEPLOYED, ARCHIVED.
--versionstringOptionalWait for this committed version (default: the version committed when the wait starts).

Also accepts the global flags, including the sign-in flags.


Perpetual CLI 0.5.0