WorkersScriptMigrationsArgs

data class WorkersScriptMigrationsArgs(val deletedClasses: Output<List<String>>? = null, val newClasses: Output<List<String>>? = null, val newSqliteClasses: Output<List<String>>? = null, val newTag: Output<String>? = null, val oldTag: Output<String>? = null, val renamedClasses: Output<List<WorkersScriptMigrationsRenamedClassArgs>>? = null, val steps: Output<List<WorkersScriptMigrationsStepArgs>>? = null, val transferredClasses: Output<List<WorkersScriptMigrationsTransferredClassArgs>>? = null) : ConvertibleToJava<WorkersScriptMigrationsArgs>

Constructors

Link copied to clipboard
constructor(deletedClasses: Output<List<String>>? = null, newClasses: Output<List<String>>? = null, newSqliteClasses: Output<List<String>>? = null, newTag: Output<String>? = null, oldTag: Output<String>? = null, renamedClasses: Output<List<WorkersScriptMigrationsRenamedClassArgs>>? = null, steps: Output<List<WorkersScriptMigrationsStepArgs>>? = null, transferredClasses: Output<List<WorkersScriptMigrationsTransferredClassArgs>>? = null)

Properties

Link copied to clipboard
val deletedClasses: Output<List<String>>? = null

A list of classes to delete Durable Object namespaces from.

Link copied to clipboard
val newClasses: Output<List<String>>? = null

A list of classes to create Durable Object namespaces from.

Link copied to clipboard
val newSqliteClasses: Output<List<String>>? = null

A list of classes to create Durable Object namespaces with SQLite from.

Link copied to clipboard
val newTag: Output<String>? = null

Tag to set as the latest migration tag.

Link copied to clipboard
val oldTag: Output<String>? = null

Tag used to verify against the latest migration tag for this Worker. If they don't match, the upload is rejected.

Link copied to clipboard

A list of classes with Durable Object namespaces that were renamed.

Link copied to clipboard

Migrations to apply in order.

Link copied to clipboard

A list of transfers for Durable Object namespaces from a different Worker and class to a class defined in this Worker.

Functions

Link copied to clipboard
open override fun toJava(): WorkersScriptMigrationsArgs