namespace ScadaLink.Commons.Messages.DataConnection;

/// <summary>
/// Command to create a new data connection actor for a specific protocol.
/// Sent from DeploymentManagerActor to DCL Manager Actor.
/// </summary>
public record CreateConnectionCommand(
    string ConnectionName,
    string ProtocolType,
    IDictionary<string, string> PrimaryConnectionDetails,
    IDictionary<string, string>? BackupConnectionDetails = null,
    int FailoverRetryCount = 3);
