Native Config as string or file path relative to NSO run directory
options
object
yes
Options such as mode of loading config and request verbose
Copied to Clipboard
{
"deviceName": "dolor id officia eu ea",
"config": "incididunt",
"options": {
"mode": "cillum sint ea do incididunt",
"verbose": false,
"dry-run": "ullamco magna ut",
"isFile": true
}
}
Copied to Clipboard
{
"type": "object",
"properties": {
"deviceName": {
"type": "string"
},
"config": {
"type": "string"
},
"options": {
"type": "object",
"properties": {
"mode": {
"type": "string",
"description": "Indicates the type of load action",
"enums": [
"merge",
"replace"
]
},
"verbose": {
"type": "boolean",
"description": "Indicates if verbose is needed or not"
},
"dry-run": {
"type": "string",
"description": "Indicates the format to get dry run in",
"enums": [
"cli",
"native",
"xml"
]
},
"isFile": {
"type": "boolean",
"description": "Indicates whether the string passed is file path or config",
"schema": {
"type": "boolean"
}
}
}
}
},
"required": [
"deviceName",
"config",
"options"
],
"additionalProperties": false
}
Return
DetailsExampleSchema
Name
Type
Description
result
object
Returned result of loading the native config on a device