Module Values.SourceServerSource

Disconnects a specific Source Server from Elastic Disaster Recovery. Data replication is stopped immediately. All AWS resources created by Elastic Disaster Recovery for enabling the replication of the Source Server will be terminated / deleted within 90 minutes. You cannot disconnect a Source Server if it has a Recovery Instance. If the agent on the Source Server 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 SourceServer 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.

Sourcetype nonrec t = {
  1. sourceServerID : SourceServerID.t option;
    (*

    The ID of the Source Server.

    *)
  2. arn : ARN.t option;
    (*

    The ARN of the Source Server.

    *)
  3. tags : TagsMap.t option;
    (*

    The tags associated with the Source Server.

    *)
  4. recoveryInstanceId : RecoveryInstanceID.t option;
    (*

    The ID of the Recovery Instance associated with this Source Server.

    *)
  5. lastLaunchResult : LastLaunchResult.t option;
    (*

    The status of the last recovery launch of this Source Server.

    *)
  6. dataReplicationInfo : DataReplicationInfo.t option;
    (*

    The Data Replication Info of the Source Server.

    *)
  7. lifeCycle : LifeCycle.t option;
    (*

    The lifecycle information of this Source Server.

    *)
  8. sourceProperties : SourceProperties.t option;
    (*

    The source properties of the Source Server.

    *)
  9. stagingArea : StagingArea.t option;
    (*

    The staging area of the source server.

    *)
  10. sourceCloudProperties : SourceCloudProperties.t option;
    (*

    Source cloud properties of the Source Server.

    *)
  11. replicationDirection : ReplicationDirection.t option;
    (*

    Replication direction of the Source Server.

    *)
  12. reversedDirectionSourceServerArn : SourceServerARN.t option;
    (*

    For EC2-originated Source Servers which have been failed over and then failed back, this value will mean the ARN of the Source Server on the opposite replication direction.

    *)
  13. sourceNetworkID : SourceNetworkID.t option;
    (*

    ID of the Source Network which is protecting this Source Server's network.

    *)
  14. agentVersion : AgentVersion.t option;
    (*

    The version of the DRS agent installed on the source server

    *)
}
Sourcetype nonrec error = [
  1. | `ConflictException of ConflictException.t
  2. | `InternalServerException of InternalServerException.t
  3. | `ResourceNotFoundException of ResourceNotFoundException.t
  4. | `ThrottlingException of ThrottlingException.t
  5. | `UninitializedAccountException of UninitializedAccountException.t
  6. | `Unknown_operation_error of string * string option
]
Sourceval make : ?sourceServerID:??? -> ?arn:??? -> ?tags:??? -> ?recoveryInstanceId:??? -> ?lastLaunchResult:??? -> ?dataReplicationInfo:??? -> ?lifeCycle:??? -> ?sourceProperties:??? -> ?stagingArea:??? -> ?sourceCloudProperties:??? -> ?replicationDirection:??? -> ?reversedDirectionSourceServerArn:??? -> ?sourceNetworkID:??? -> ?agentVersion:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `ConflictException of ConflictException.t | `InternalServerException of InternalServerException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `ThrottlingException of ThrottlingException.t | `UninitializedAccountException of UninitializedAccountException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `ConflictException of ConflictException.t | `InternalServerException of InternalServerException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `ThrottlingException of ThrottlingException.t | `UninitializedAccountException of UninitializedAccountException.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Map of ([> `String of TagKey.t ] * [> `String of TagValue.t ]) list | `String of SourceServerID.t | `Structure of (string * [> `Boolean of Boolean.t | `Enum of string | `List of [> `Structure of (string * [> `Boolean of Boolean.t | `Enum of string | `List of [> `String of BoundedString.t ] list | `Long of PositiveInteger.t | `String of BoundedString.t ]) list ] list | `Long of PositiveInteger.t | `String of ISO8601DurationString.t | `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `Enum of string ]) list ] list | `String of ISO8601DatetimeString.t | `Structure of (string * [> `Enum of string | `String of ISO8601DatetimeString.t ]) list ]) list ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t