Solved

Passing variables to Calm runbooks

  • 26 March 2021
  • 1 reply
  • 80 views

Badge +3

I am trying to figure out how to pass variables to a calm runbook through a JSON post via the API. 

/api/nutanix/v3/runbooks/runbooku_uid/run

{
"kind": "runbook"
"spec": {
"args": [
{
"name": "network_name",
"value": "Test123"
}

]

}

}

 

icon

Best answer by JoseNutanix 6 April 2021, 18:38

View original

This topic has been closed for comments

1 reply

Userlevel 4
Badge +4

Hi AldenG,

Try with:

{
"spec": {
"args": [
{
"name": "var_name",
"value": "var_value"
}
]
}
}