Callout
Callout
Details about a callout.
JSON Example
{
"name": "string",
"content": "string",
"callout_type": "string",
"timeout_seconds": 0,
"step_type": "string",
"id": "string"
}
string
name
Required
Name of the callout.
string
content
Required
Content of the callout.
string
callout_type
Required
Callout type.
- PROMPT - If the callout is a prompt, it will pause the execution of the recovery script and will display a message until the user acknowledges it.
- RUN_ON_VM - The callout must run inside the recovered VM.
- RUN_ON_SRM_SERVER - The callout must run inside the Site Recovery Manager virtual machine.
Possible values are : PROMPT, RUN_ON_VM, RUN_ON_SRM_SERVER,
integer As int32 As int32
timeout_seconds
Required
Time in seconds to wait until the command completes. If the command is not complete when the timeout occurs, the child process will be stopped.
Applicable only when parameter callout_type
is RUN_ON_VM
or RUN_ON_SRM_SERVER
.
string
step_type
Required
Callout step type.
- PRE_POWER_ON - Means that the callout will be converted into a job during the recovery and executed after the recovery workload is configured, but before it is powered on.
- POST_POWER_ON - Means that the callout will be converted into a job during the recovery and executed after the recovery workload is powered on.
- RECOVERY_STEP - Callout specified at any place during the recovery workload.
Possible values are : PRE_POWER_ON, POST_POWER_ON, RECOVERY_STEP,
string
id
Required
System ID of the callout. Empty string when the callout is about to be created.