variable id/name
variable value
Optionaldescription: string
variable description
OptionalexpressionType: VariableExpressionType
type of the value
OptionalnoEncode: boolean
do not encode if passing a pre-encoded (base64) value
a promise that resolves to a variable object
Delete variable by id/name
variable id/name
a promise that resolves to a variable object
Export variable. The response can be saved to file as is.
variable id/name
OptionalnoDecode: boolean
Do not decode value (default: false)
Promise resolving to a VariablesExportInterface object.
Export all variables
OptionalnoDecode: boolean
Do not decode values (default: false)
Promise resolving to an VariablesExportInterface object.
Import variable by id
variable id/name
import data
imported variable object, or null if no update was made
Import variables
import data
OptionalresultCallback: ResultCallback<VariableSkeleton>
Optional callback to process individual results. When given, the outcome of every variable is passed to it once, as it happens: a variable that was imported as the variable (a variable that needed no update as it is in the import data), a variable that could not be imported as an error that names the variable and carries the cause. Such a variable is not part of the result and does not stop the others, and the function does not throw for it. Without it, the failures are collected and thrown as one error after every variable was tried.
array of imported variable objects
Read variable by id/name
variable id/name
OptionalnoDecode: boolean
Do not decode value (default: false)
a promise that resolves to a variable object
Read all variables
OptionalnoDecode: boolean
Do not decode values (default: false)
a promise that resolves to an array of variable objects
Attempt to resolve a string to an ESV variable in AIC deployments.
Input string to be evaluated as a possible ESV.
Provide an empty or prepopulated map of ESV variables. The function adds any resolved variables to the map that don't exist.
Returns the resolved value of the ESV or the original input string
Update or create variable
variable id/name
Optionalvalue: string
variable value
Optionaldescription: string
variable description
OptionalexpressionType: VariableExpressionType
type of the value
OptionalnoEncode: boolean
do not encode if passing a pre-encoded (base64) value
a promise that resolves to a variable object, or null if no update was made
Update variable description
variable id/name
variable description
a promise that resolves to a variable object, or null if no update was made
Create variable