namespace ZB.MOM.WW.ScadaBridge.Commons.Messages.Deployment;
///
/// Internal site-side apply DTO for a single instance deployment. (Its cross-cluster wire
/// use is being retired; notify-and-fetch now moves only ids over the wire.)
///
///
/// and are optional and
/// carry the central fetch coordinates down the in-process apply path so that
/// ApplyDeployment can replicate an id-only notify-and-fetch message to the standby
/// node (instead of the full config JSON, which tripped the 128 KB intra-site frame trap).
/// They are populated on the notify-and-fetch path; all other construction sites omit them.
///
public record DeployInstanceCommand(
string DeploymentId,
string InstanceUniqueName,
string RevisionHash,
string FlattenedConfigurationJson,
string DeployedBy,
DateTimeOffset Timestamp,
string? CentralFetchBaseUrl = null,
string? FetchToken = null);