Skip to content

startRestoreAwsNativeEc2InstanceSnapshotJob

Start an on demand restore snapshot job for AWS EC2 Instance. When completed, this will replace the original EC2 Instance with the selected snapshot.

Arguments

Argument Type Description
input (required) StartRestoreAwsNativeEc2InstanceSnapshotJobInput! Input for restore AWS EC2 Instance snapshot job.

Returns

AsyncJobStatus!

Sample

mutation StartRestoreAwsNativeEc2InstanceSnapshotJob($input: StartRestoreAwsNativeEc2InstanceSnapshotJobInput!) {
  startRestoreAwsNativeEc2InstanceSnapshotJob(input: $input) {
    error
    jobId
  }
}
{
  "input": {
    "shouldPowerOn": true,
    "shouldRestoreTags": true,
    "snapshotId": "example-string"
  }
}
{
  "data": {
    "startRestoreAwsNativeEc2InstanceSnapshotJob": {
      "error": "example-string",
      "jobId": "example-string"
    }
  }
}