AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Disconnect a Recovery Instance from Elastic Disaster Recovery. Data replication is stopped immediately. All AWS resources created by Elastic Disaster Recovery for enabling the replication of the Recovery Instance will be terminated / deleted within 90 minutes. If the agent on the Recovery Instance has not been prevented from communicating with the Elastic Disaster Recovery service, then it will receive a command to uninstall itself (within approximately 10 minutes). The following properties of the Recovery Instance will be changed immediately: dataReplicationInfo.dataReplicationState will be set to DISCONNECTED; The totalStorageBytes property for each of dataReplicationInfo.replicatedDisks will be set to zero; dataReplicationInfo.lagDuration and dataReplicationInfo.lagDuration will be nullified.
For .NET Core this operation is only available in asynchronous form. Please refer to DisconnectRecoveryInstanceAsync.
Namespace: Amazon.Drs
Assembly: AWSSDK.Drs.dll
Version: 3.x.y.z
public virtual DisconnectRecoveryInstanceResponse DisconnectRecoveryInstance( DisconnectRecoveryInstanceRequest request )
Container for the necessary parameters to execute the DisconnectRecoveryInstance service method.
Exception | Condition |
---|---|
AccessDeniedException | You do not have sufficient access to perform this action. |
ConflictException | The request could not be completed due to a conflict with the current state of the target resource. |
InternalServerException | The request processing has failed because of an unknown error, exception or failure. |
ResourceNotFoundException | The resource for this operation was not found. |
ThrottlingException | The request was denied due to request throttling. |
UninitializedAccountException | The account performing the request has not been initialized. |
.NET Framework:
Supported in: 4.5 and newer, 3.5