- release_tracks: [ALPHA, GA]
  help_text:
    brief: |
      Reset a Bare Metal Solution instance.
    description: |
      Perform a hard reset on a Bare Metal Solution instance.

      This will not perform a clean shutdown of the OS on the instance.
    examples: |
      To reset 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 reset.

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

  output:
    format: none

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