Update Launch Configuration
| drs_update_launch_configuration | R Documentation |
Updates a LaunchConfiguration by Source Server ID¶
Description¶
Updates a LaunchConfiguration by Source Server ID.
Usage¶
drs_update_launch_configuration(copyPrivateIp, copyTags,
launchDisposition, launchIntoInstanceProperties, licensing, name,
postLaunchEnabled, sourceServerID, targetInstanceTypeRightSizingMethod)
Arguments¶
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.
launchDispositionThe state of the Recovery Instance in EC2 after the recovery operation.
launchIntoInstancePropertiesLaunch into existing instance properties.
licensingThe licensing configuration to be used for this launch configuration.
nameThe name of the launch configuration.
postLaunchEnabledWhether we want to enable post-launch actions for the Source Server.
sourceServerID[required] The ID of the Source Server that we want to retrieve a Launch Configuration for.
targetInstanceTypeRightSizingMethodWhether Elastic Disaster Recovery should try to automatically choose the instance type that best matches the OS, CPU, and RAM of your Source Server.
Value¶
A list with the following syntax:
list(
copyPrivateIp = TRUE|FALSE,
copyTags = TRUE|FALSE,
ec2LaunchTemplateID = "string",
launchDisposition = "STOPPED"|"STARTED",
launchIntoInstanceProperties = list(
launchIntoEC2InstanceID = "string"
),
licensing = list(
osByol = TRUE|FALSE
),
name = "string",
postLaunchEnabled = TRUE|FALSE,
sourceServerID = "string",
targetInstanceTypeRightSizingMethod = "NONE"|"BASIC"|"IN_AWS"
)
Request syntax¶
svc$update_launch_configuration(
copyPrivateIp = TRUE|FALSE,
copyTags = TRUE|FALSE,
launchDisposition = "STOPPED"|"STARTED",
launchIntoInstanceProperties = list(
launchIntoEC2InstanceID = "string"
),
licensing = list(
osByol = TRUE|FALSE
),
name = "string",
postLaunchEnabled = TRUE|FALSE,
sourceServerID = "string",
targetInstanceTypeRightSizingMethod = "NONE"|"BASIC"|"IN_AWS"
)