NSX-T Data Center REST API
Create a runbook invocation
Create an Online Diagnostic System Runbook invocation. If an invocation withrunbook invocation.
A runbook invocation along with its report and status will be deleted automatically
after 2 hours, if it is not deleted by delete API.
Request:
Method:
POST
URI Path(s):
/policy/api/v1/infra/sha/runbook-invocations/{invocation-id}
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
OdsRunbookInvocation+
Example Request:
{ "runbook_path":"/infra/sha/pre-defined-runbooks/0000004f-7665-726c-6179-54756e6e656c", "target_node":"80b79e1f-3027-45ef-9eb3-c704a8c947f8", "arguments":[ { "key":"src", "value":"192.168.0.11" }, { "key":"dst", "value":"192.168.0.10" } ], "is_transient": true }Successful Response:
Response Code:
200 OK
Response Headers:
n/a
Response Body:
n/a