- release_tracks: [GA]
  help_text:
    brief: List revisions
    description: List revisions for a deployment
    examples: |-
      To list all revisions for deployment projects/p1/locations/l1/deployments/d1, run:

      $ {command} --deployment=projects/p1/locations/l1/deployments/d1
  arguments:
    resource:
      spec: !REF googlecloudsdk.command_lib.infra_manager.resources:deployment
      help_text: The deployment for which we want to list all revisions.
  request:
    collection: config.projects.locations.deployments.revisions
  response:
    id_field: name
  output:
    format: |
      table(
      name.basename(),
      state,
      tfVersion,
      createTime:sort=1,
      updateTime
      )
