@backblaze-labs/b2-sdk - v0.1.0
    Preparing search index...

    Interface ReplicationRule

    A single replication rule defining how files are replicated to a destination bucket.

    interface ReplicationRule {
        destinationBucketId: BucketId;
        fileNamePrefix: string;
        includeExistingFiles: boolean;
        isEnabled: boolean;
        priority: number;
        replicationRuleName: string;
    }
    Index

    Properties

    destinationBucketId: BucketId

    Destination bucket ID where replicated files are stored.

    fileNamePrefix: string

    Only files with this prefix are replicated. Empty string means all files.

    includeExistingFiles: boolean

    Whether to replicate files that existed before this rule was created.

    isEnabled: boolean

    Whether this replication rule is currently active.

    priority: number

    Priority of this rule relative to other rules. Lower numbers take precedence.

    replicationRuleName: string

    Human-readable name for this replication rule.