- release_tracks: [ALPHA, GA]
  help_text:
    brief: |
      Delete a Database Migration Service migration job.
    description: |
      Delete a Database Migration Service migration job.
    examples: |
      To delete a migration job:

          $ {command} MIGRATION_JOB --region=us-central1

  request:
    collection: datamigration.projects.locations.migrationJobs
    GA:
      api_version: v1
    ALPHA:
      api_version: v1alpha2

  arguments:
    resource:
      help_text: |
        Migration job resource - Database Migration Service migration job to delete.
      spec: !REF googlecloudsdk.command_lib.database_migration.resources:migration_job

    params:
    - api_field: force
      arg_name: force
      required: false
      help_text: |
        The destination Cloud SQL connection profile is always deleted with the
        migration job. In case of force delete, the destination Cloud SQL replica
        database is also deleted.
