OptionalcontextOptionalcontextsPre-created storage contexts to use directly. When provided, the SDK skips provider selection and uses these contexts as-is.
Mutually exclusive with providerIds, dataSetIds, and copies.
OptionalcopiesNumber of storage copies to create (default determined by SDK).
OptionaldataSpecific existing data set IDs to target. Mutually exclusive with
providerIds and contexts.
Use only when resuming into a known data set from a prior operation.
For first-time uploads to specific providers, use providerIds instead.
OptionalexcludeProvider IDs to exclude from selection.
OptionalmetadataData set metadata applied when creating or matching contexts.
OptionalonOptional callbacks for monitoring upload progress
OptionalpieceOptional metadata to associate with the upload (per-piece)
OptionalproviderSpecific provider IDs to upload to. The SDK resolves or creates data sets
on each provider automatically. Mutually exclusive with dataSetIds and
contexts.
This is the recommended way to target specific providers. Do not call
createContext() to resolve data sets first. Pass provider IDs here
and the SDK handles the rest.
OptionalsignalOptional AbortSignal to cancel the upload operation.
Context identifier for logging (e.g., pinId, import job ID)