Terminate Recovery Instances
| drs_terminate_recovery_instances | R Documentation |
Initiates a Job for terminating the EC2 resources associated with the specified Recovery Instances, and then will delete the Recovery Instances from the Elastic Disaster Recovery service¶
Description¶
Initiates a Job for terminating the EC2 resources associated with the specified Recovery Instances, and then will delete the Recovery Instances from the Elastic Disaster Recovery service.
Usage¶
drs_terminate_recovery_instances(recoveryInstanceIDs)
Arguments¶
recoveryInstanceIDs |
[required] The IDs of the Recovery Instances that should be terminated. |
Value¶
A list with the following syntax:
list(
job = list(
jobID = "string",
arn = "string",
type = "LAUNCH"|"TERMINATE"|"CREATE_CONVERTED_SNAPSHOT",
initiatedBy = "START_RECOVERY"|"START_DRILL"|"FAILBACK"|"DIAGNOSTIC"|"TERMINATE_RECOVERY_INSTANCES"|"TARGET_ACCOUNT"|"CREATE_NETWORK_RECOVERY"|"UPDATE_NETWORK_RECOVERY"|"ASSOCIATE_NETWORK_RECOVERY",
creationDateTime = "string",
endDateTime = "string",
status = "PENDING"|"STARTED"|"COMPLETED",
participatingServers = list(
list(
sourceServerID = "string",
recoveryInstanceID = "string",
launchStatus = "PENDING"|"IN_PROGRESS"|"LAUNCHED"|"FAILED"|"TERMINATED",
launchActionsStatus = list(
ssmAgentDiscoveryDatetime = "string",
runs = list(
list(
action = list(
actionId = "string",
actionCode = "string",
type = "SSM_AUTOMATION"|"SSM_COMMAND",
name = "string",
active = TRUE|FALSE,
order = 123,
actionVersion = "string",
optional = TRUE|FALSE,
parameters = list(
list(
value = "string",
type = "SSM_STORE"|"DYNAMIC"
)
),
description = "string",
category = "MONITORING"|"VALIDATION"|"CONFIGURATION"|"SECURITY"|"OTHER"
),
runId = "string",
status = "IN_PROGRESS"|"SUCCEEDED"|"FAILED",
failureReason = "string"
)
)
)
)
),
tags = list(
"string"
),
participatingResources = list(
list(
participatingResourceID = list(
sourceNetworkID = "string"
),
launchStatus = "PENDING"|"IN_PROGRESS"|"LAUNCHED"|"FAILED"|"TERMINATED"
)
)
)
)
Request syntax¶
svc$terminate_recovery_instances(
recoveryInstanceIDs = list(
"string"
)
)