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.
-
nameThe name of the launch configuration.
-
launchDispositionThe state of the Recovery Instance in EC2 after the recovery operation.
-
targetInstanceTypeRightSizingMethodWhether Elastic Disaster Recovery should try to automatically choose the instance type that best matches the OS, CPU, and RAM of your Source Server.
-
copyPrivateIpWhether we should copy the Private IP of the Source Server to the Recovery Instance.
-
copyTagsWhether we want to copy the tags of the Source Server to the EC2 machine of the Recovery Instance.
-
licensingThe licensing configuration to be used for this launch configuration.
-
postLaunchEnabledWhether we want to enable post-launch actions for the Source Server.
-
launchIntoInstancePropertiesLaunch into existing instance properties.
-
recoveryModeRecovery 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"
)