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

Callout

Details about a callout.


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
id Required

System ID of the callout. Empty string when the callout is about to be created.


string
name Required

Name of the callout.


string
step_type Required

Callout step type.

  • PRE_POWER_ON - The callout is converted into a job during recovery and executed after the recovery workload is configured, but before it is powered on.
  • POST_POWER_ON - The callout is converted into a job during recovery and executed after the recovery workload is powered on.
  • RECOVERY_STEP - Callout specified at any place during recovery workload.

Possible values are: PRE_POWER_ONPOST_POWER_ONRECOVERY_STEP


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",
	"id": "string",
	"name": "string",
	"step_type": "PRE_POWER_ON",
	"timeout_seconds": 0
}
[{"label":"Latest (2.0.0)","version":"latest"},{"version":"1.0.0"}]
srm-rest-api
Property Of

VmRecoverySettings
VmRecoverySettingsSpec
Used By

CalloutDrResponseEntity

Feedback

Was this page helpful?