Summary
Create a new Config Spec.
Description
Create a new Config Spec.
Route
POST /configuration_manager/config_specs
Roles
admin
apiwrite
Parameters
DetailsExampleSchema
Name |
Type |
Required |
Description |
deviceType |
string |
yes |
- |
data |
object |
yes |
- |
Copied to Clipboard
{
"deviceType": "cisco-ios",
"data": {
"template": "ntp server {{ ipAddress }}",
"variables": "{ \"ipAddress\": \"128.31.1.3\"}"
}
}
Copied to Clipboard
{
"type": "object",
"properties": {
"deviceType": {
"title": "deviceType",
"type": "string",
"examples": [
"cisco-ios",
"cisco-ios-xr",
"cisco-nx",
"a10-acos",
"f5-big-ip"
]
},
"data": {
"title": "data",
"type": "object",
"properties": {
"template": {
"type": "string",
"examples": [
"ntp server {{ ipAddress }}"
]
},
"variables": {
"type": "string",
"examples": [
"{ \"ipAddress\": \"128.31.1.3\"}"
]
}
}
}
},
"required": [
"deviceType",
"data"
],
"additionalProperties": false
}
Return
DetailsExampleSchema
Name |
Type |
Description |
configSpec |
object |
- |
Copied to Clipboard
{
"title": "configSpec"
}