Variable Commands
uac variable
Commands for managing variables, including setting, updating, and listing variables
uac variable [OPTIONS] COMMAND [ARGS]...
create
Create a Global Variable
uac variable create [OPTIONS] retain_sys_ids=value
Options
- -o, --output <output>
- -i, --input <input>
Required
- -s, --select <select>
select which field to be returned. JSONPATH
Arguments
- retain_sys_ids=value
Optional argument(s)
delete
Delete a Global Variable
uac variable delete [OPTIONS] variableid=value variablename=value
Options
- -o, --output <output>
- -s, --select <select>
select which field to be returned. JSONPATH
Arguments
- variableid=value variablename=value
Required argument(s)
get
Read a Global Variable
uac variable get [OPTIONS] variableid=value variablename=value
Options
- -o, --output <output>
- -s, --select <select>
select which field to be returned. JSONPATH
Arguments
- variableid=value variablename=value
Required argument(s)
list
List Variables
uac variable list [OPTIONS] variable_name=value scope=value task_name=value
trigger_name=value
Options
- -o, --output <output>
- -s, --select <select>
select which field to be returned. JSONPATH
Arguments
- variable_name=value scope=value task_name=value trigger_name=value
Optional argument(s)
list-advanced
List Variables - Advanced
uac variable list-advanced [OPTIONS] scope=value variablename=value
taskname=value triggername=value
business_services=value
Options
- -o, --output <output>
- -s, --select <select>
select which field to be returned. JSONPATH
Arguments
- scope=value variablename=value taskname=value triggername=value business_services=value
Optional argument(s)
set
Set Variable
uac variable set [OPTIONS] scope=value create=value trigger=value task=value
variable=value
Options
- -o, --output <output>
- -i, --input <input>
Required
- -s, --select <select>
select which field to be returned. JSONPATH
Arguments
- scope=value create=value trigger=value task=value variable=value
Optional argument(s)
update
Modify a Global Variable
uac variable update [OPTIONS] version=value sys_id=value exclude_related=value
export_release_level=value export_table=value name=value
value=value description=value opswise_groups=value
retain_sys_ids=value
Options
- -o, --output <output>
- -i, --input <input>
Required
- -s, --select <select>
select which field to be returned. JSONPATH
Arguments
- version=value sys_id=value exclude_related=value export_release_level=value export_table=value name=value value=value description=value opswise_groups=value retain_sys_ids=value
Optional argument(s)