Apply a WindowsGenerateArtifactsTask .yaml to execute a migration. You must specify the name of the Migration .yaml used to generate the WindowsGenerateArtifacts .yaml to execute the migration.
The WindowsGenerateArtifactsTask .yaml has the following format:
apiVersion: anthos-migrate.cloud.google.com/v1beta2 kind: WindowsGenerateArtifactsTask metadata: name: task-name namespace: v2k-system spec: migration: name: migration-name
- Set the value of the
name
field formigration
to the name specified in the Migration yaml when you created the migration.