- release_tracks: [ALPHA, GA]
  help_text:
    brief: |
      Stop a Bare Metal Solution instance.
    description: |
      Stops a Bare Metal Solution instance.
    examples: |
      To stop an instance named ``test-instance'', run:

        $ {command} test-instance

  arguments:
    resource:
      spec: !REF googlecloudsdk.command_lib.bms.resources:instance
      help_text: |
        Arguments and flags that specify the Bare Metal Solution instance you
        want to stop.

  request:
    method: stop
    collection: baremetalsolution.projects.locations.instances

  output:
    format: none

  async:
    api_version: v2
    collection: baremetalsolution.projects.locations.operations
    request_issued_message: |
      Stop request issued for: [{__name__}]
    extract_resource_result: false
