sked artifacts horizon-custom-action
Manage the retrieval and deployment of Horizon custom actions.
Overview
Manage the retrieval and deployment of a custom bulk, single, or batch action (its request definition and UI configuration) that can be attached to a Horizon resource. This is currently in beta.
$ sked artifact horizon-custom-action <command>
Commands
Command
Description
Create
Create a HorizonCustomAction from a state file [deprecated, use upsert instead]
Delete
Delete a HorizonCustomAction
Get
Get the state of a HorizonCustomAction
List
List the existing HorizonCustomAction
Update
Update a HorizonCustomAction from a state file [deprecated, use upsert instead]
Upsert
Create or Update a HorizonCustomAction from a state file
Create
Description
Create a HorizonCustomAction from a state file [deprecated, use upsert instead]
Usage
$ sked artifacts horizon-custom-action create -f <value> [ --json] [ -a <value>] [ -w <value>] [ --name <value>] [ --objectName <value>]
Flags
Flag
Description
Required
-f, --filename=
The state file.
Yes
-a, --alias=<value>
The alias to use to authenticate.
No
-w, --wait=<value>
[default: 900] Number of seconds to wait for the command to complete and display results to the terminal window.
No
--name=<value>
The name of the custom action.
No
--objectName=<value>
The name of the object the action is attached to.
No
Global flags
Flag
Description
Required
--json
Format output as json.
No
Delete
Description
Delete a HorizonCustomAction
Usage
$ sked artifacts horizon-custom-action delete [ --json] [ -a <value>] [ -w <value>] [ --name <value>] [ --objectName <value>]
Flags
Flag
Description
Required
--name=<value>
The name of the custom action.
Yes
--objectName=<value>
The name of the object the action is attached to.
No
-a, --alias=<value>
The alias to use to authenticate.
No
-w, --wait=<value>
[default: 900] Number of seconds to wait for the command to complete and display results to the terminal window.
No
Global flags
Flag
Description
Required
--json
Format output as json.
No
Get
Description
Get the state of a HorizonCustomAction
Usage
$ sked artifacts horizon-custom-action get --name <value> [ --objectName <value>] [ --json] [ -o <value>] [ -a <value>]
Flags
Flag
Description
Required
-a, --alias=<value>
The alias to use to authenticate.
No
-o, --outputdir=<value>
The output directory.
No
--name=<value>
The name of the custom action.
Yes
--objectName=<value>
The name of the object the action is attached to.
No
Global flags
Flag
Description
Required
--json
Format output as json.
No
List
Description
List the existing HorizonCustomAction
Usage
$ sked artifacts horizon-custom-action list [ --json] [ --columns <value> | -x] [ --filter <value>] [ --no-header | [ --csv |
--no-truncate]] [ --output csv| json| yaml | | ] [ --sort <value>] [ -a <value>]
Flags
Flag
Description
Required
-a, --alias=<value>
The alias to use to authenticate.
No
-x, --extended
Show extra columns.
No
--columns=<value>
Only show provided columns (comma-separated).
No
--csv
Output is CSV format [alias: --output=csv].
No
--filter=<value>
Filter property by partial string matching, ex: name=foo.
No
--no-header
Hide table header from output.
No
--no-truncate
Do not truncate output to fit screen.
No
--output=<option>
Output in a more machine-friendly format. <options: csv|json|yaml>.
No
--sort=<value>
Property to sort by (prepend ‘-’ for descending).
No
Global flags
Flag
Description
Required
--json
Format output as json.
No
Update
Description
Update a HorizonCustomAction from a state file [deprecated, use upsert instead]
Usage
$ sked artifacts horizon-custom-action update -f <value> [ --json] [ -a <value>] [ -w <value>] [ --name <value>] [ --objectName <value>]
Flags
Flag
Description
Required
-f, --filename=<value>
The state file.
Yes
-a, --alias=<value>
The alias to use to authenticate.
No
-w, --wait=<value>
[default: 900] Number of seconds to wait for the command to complete and display results to the terminal window.
No
--name=<value>
The name of the custom action.
No
--objectName=<value>
The name of the object the action is attached to.
No
Global flags
Flag
Description
Required
--json
Format output as json.
No
Upsert
Description
Create or Update a HorizonCustomAction from a state file
Usage
$ sked artifacts horizon-custom-action upsert -f <value> [ --json] [ -a <value>] [ -w <value>] [ --name <value>] [ --objectName <value>]
Flags
Flag
Description
Required
-f, --filename=<value>
The state file.
Yes
-a, --alias=<value>
The alias to use to authenticate.
No
-w, --wait=<value>
[default: 900] Number of seconds to wait for the command to complete and display results to the terminal window.
No
--name=<value>
The name of the custom action.
No
--objectName=<value>
The name of the object the action is attached to.
No
Global flags
Flag
Description
Required
--json
Format output as json.
No
Feedback
Was this page helpful?
Yes
No