post /runbooks
Create Runbook (createRunbook)
Generate an initial Runbook in CSV format from on-prem datacenter or AWS cloud.
Consumes
This API call consumes the following media types via the Content-Type request header:
- application/json
Request body
createRunbookRequest CreateRunbookRequest (required)
Body Parameter — CreateRunbookrequest
CreateRunbookRequest
_type |
String Vc or AWS Runbook Enum: CreateVcRunbookRequest CreateAwsRunbookRequest |
CreateVcRunbookRequest
CeId |
String |
useCeDefaults |
Boolean |
_type |
String |
Return type:
String
VC Example data
Content-Type: application/json
{
"_type": "CreateVcRunbookRequest"
"ceId": "azure_datacenter-1_2345678910_aB2"
"useCeDefaults": "true"
"datacenterId": "datacenter-01"
}
AWS Example data
Content-Type: application/json
{
"_type": "CreateAwsRunbookRequest"
"ceId": ""
"useCeDefaults": ""
"detailsName": "awsCloudDetails-ABC"
"tags": "["
"key": "IncludeInRunbook-DEF",
"value": "yes"
} ]
}
Produces
This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
- text/CSV
Responses
200
OK String
value (optional) |
String |
Default
Error ErrorInfo
code (optional) |
String |
detailedMessage (optional) |
String |