Refuse when this store cannot write here (for a storage provider: no provider by the configured name, its driver is not configured on this server, or a probe object cannot be written under the store's key prefix). The training engine calls it before anything of a run is written and before the trainer runs, so a run never spends its compute and then fails to store its artifacts.
Persist the serialized artifact bytes under a name and return the storage file id to record on the model. The store writes as the user it was built for.
the serialized model artifact
a human-readable artifact name (e.g. model-<pipeline>-v<version>.bin)
the file id to store in MLModel.ArtifactFileID
Artifact-storage seam (plan §11). The serialized model artifact is persisted out-of-row and referenced by file id on the
MJ: ML Modelsrow (ArtifactFileID). The production implementation writes aMJ: Filesrecord; tests use an in-memory map.