- release_tracks: [ALPHA, GA]
  help_text:
    brief: |
      Enable interactive serial console for a Bare Metal Solution instance.
    description: |
      Enables interactive serial console for a Bare Metal Solution instance.
    examples: |
      To enable interactive serial console for 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 enable interactive serial console for.

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

  output:
    format: none

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