action-type (act)
Manage action types.
gi action-typeSubcommands
| Command | Description |
|---|---|
gi action-type create | Create a new action type |
gi action-type update | Update an existing action type |
gi action-type get <action-type-id> | Get an action type by its id |
gi action-type list | List all action types |
gi action-type delete <action-type-id> | Delete an action type by its id |
Flags
create / update flags
| Flag | Alias | Description |
|---|---|---|
--id | — | Action type id (required for update) |
--description | — | Action type description |
--name | -n | Action type name |
--plural-name | — | Action type plural name |
--provider | — | Provider |
--service | — | Service |
--asset | — | Asset |
--priority | — | Priority |
--timeout | — | Timeout |
--lifetime | — | Lifetime |
--asset-as-result | — | Asset as result (bool) |
--multi-asset | — | Multi asset (bool) |
--blocking | — | Blocking (bool) |
list flags
| Flag | Alias | Description |
|---|---|---|
--filter | -f | Filter action types (e.g. provider=my-provider) |
Examples
gi action-type list
gi act list -f provider=ops-emea
gi act get my-action-type
gi act create --name my-action --provider ops-emea --service my-svc --asset my-asset
gi act update --id my-action-type --name updated-name
gi act delete my-action-type