NSX-T Data Center REST API

Create a runbook invocation

Create an Online Diagnostic System Runbook invocation. If an invocation with
already exists, throw an exception. Otherwise, create a new
runbook 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.
This API is available when using VMware Cloud (AWS, Dell-EMC, Outpost, Hyperscalers) or VMware NSX.

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

Required Permissions:

crud

Feature:

policy_ops

Additional Errors: