[{"label":"Latest (2.0.0)","version":"latest"},{"version":"1.0.0"}]
srm-rest-api

CalloutCreateSpec

A spec describing the new callout settings.


Properties

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: PROMPTRUN_ON_VMRUN_ON_SRM_SERVER


string
content Required

Content of the callout.


string
name Required

Name of the callout.


integer as int32
position Required

A position in the current recovery steps list.

Zero-based.


integer 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.

JSON Example

{
	"callout_type": "PROMPT",
	"content": "string",
	"name": "string",
	"position": 0,
	"timeout_seconds": 0
}
[{"label":"Latest (2.0.0)","version":"latest"},{"version":"1.0.0"}]
srm-rest-api
Parameter To

Create Recovery Steps Callout
What's changed in 2.0.0?

New! in version 2.0.0

Feedback

Was this page helpful?