Skip to content

Updates a LaunchConfiguration by Source Server ID

Description

Updates a LaunchConfiguration by Source Server ID.

Usage

drs_update_launch_configuration(sourceServerID, name, launchDisposition,
  targetInstanceTypeRightSizingMethod, copyPrivateIp, copyTags, licensing,
  postLaunchEnabled, launchIntoInstanceProperties, recoveryMode)

Arguments

  • sourceServerID

    [required] The ID of the Source Server that we want to retrieve a Launch Configuration for.

  • name

    The name of the launch configuration.

  • launchDisposition

    The state of the Recovery Instance in EC2 after the recovery operation.

  • targetInstanceTypeRightSizingMethod

    Whether Elastic Disaster Recovery should try to automatically choose the instance type that best matches the OS, CPU, and RAM of your Source Server.

  • copyPrivateIp

    Whether we should copy the Private IP of the Source Server to the Recovery Instance.

  • copyTags

    Whether we want to copy the tags of the Source Server to the EC2 machine of the Recovery Instance.

  • licensing

    The licensing configuration to be used for this launch configuration.

  • postLaunchEnabled

    Whether we want to enable post-launch actions for the Source Server.

  • launchIntoInstanceProperties

    Launch into existing instance properties.

  • recoveryMode

    Recovery mode.

Value

A list with the following syntax:

list(
  sourceServerID = "string",
  name = "string",
  ec2LaunchTemplateID = "string",
  launchDisposition = "STOPPED"|"STARTED",
  targetInstanceTypeRightSizingMethod = "NONE"|"BASIC"|"IN_AWS",
  copyPrivateIp = TRUE|FALSE,
  copyTags = TRUE|FALSE,
  licensing = list(
    osByol = TRUE|FALSE
  ),
  postLaunchEnabled = TRUE|FALSE,
  launchIntoInstanceProperties = list(
    launchIntoEC2InstanceID = "string"
  ),
  recoveryMode = "FAST"|"OPTIMAL"
)

Request syntax

svc$update_launch_configuration(
  sourceServerID = "string",
  name = "string",
  launchDisposition = "STOPPED"|"STARTED",
  targetInstanceTypeRightSizingMethod = "NONE"|"BASIC"|"IN_AWS",
  copyPrivateIp = TRUE|FALSE,
  copyTags = TRUE|FALSE,
  licensing = list(
    osByol = TRUE|FALSE
  ),
  postLaunchEnabled = TRUE|FALSE,
  launchIntoInstanceProperties = list(
    launchIntoEC2InstanceID = "string"
  ),
  recoveryMode = "FAST"|"OPTIMAL"
)