description:'Agent argument. Can either be a JSON string or a plain object. The argument can be retrieved with buster.argument in the agent’s script.',
},
{
displayName:'Arguments',
name:'argumentsUi',
placeholder:'Add Argument',
type:'fixedCollection',
default:'',
typeOptions:{
multipleValues: true,
},
displayOptions:{
show:{
'/jsonParameters':[
false,
],
},
},
options:[
{
name:'argumentValues',
displayName:'Argument',
values:[
{
displayName:'Key',
name:'key',
type:'string',
default:'',
description:'Name of the argument key to add.',
},
{
displayName:'Value',
name:'value',
type:'string',
default:'',
description:'Value to set for the argument key.',
},
],
},
],
},
{
displayName:'Bonus Argument',
name:'bonusArgumentUi',
placeholder:'Add Bonus Argument',
type:'fixedCollection',
default:'',
typeOptions:{
multipleValues: true,
},
displayOptions:{
show:{
'/jsonParameters':[
false,
],
},
},
options:[
{
name:'bonusArgumentValue',
displayName:'Bonus Argument',
values:[
{
displayName:'Key',
name:'key',
type:'string',
default:'',
description:'Name of the argument key to add.',
},
{
displayName:'Value',
name:'value',
type:'string',
default:'',
description:'Value to set for the argument key.',
},
],
},
],
},
{
displayName:'Bonus Argument (JSON)',
name:'bonusArgumentJson',
type:'string',
displayOptions:{
show:{
'/jsonParameters':[
true,
],
},
},
default:'',
description:`Agent bonus argument. Can either be a JSON string or a plain object. This bonus argument is single-use, it will only be used for the current launch. If present, it will be merged with the original argument, resulting in an effective argument that can be retrieved with buster.argument in the agent’s script.`,
},
{
displayName:'Manual Launch',
name:'manualLaunch',
type:'boolean',
default:false,
description:'If set, the agent will be considered as "launched manually".',
},
{
displayName:'Max Instance Count',
name:'maxInstanceCount',
type:'number',
default:0,
description:'If set, the agent will only be launched if the number of already running instances is below the specified number.',
},
{
displayName:'Save Argument',
name:'saveArgument',
type:'string',
default:'',
description:'If true, argument will be saved as the default launch options for the agent.',