- release_tracks: [ALPHA]
  help_text:
    brief: Describe a Blockchain Node Engine node.
    description: Describe a Blockchain Node Engine node configuration and state.
    examples: |
      To describe a blockchain node with id `my-node`, run:

        $ {command} my-node

  request:
    collection: blockchainnodeengine.projects.locations.blockchainNodes
    ALPHA:
      api_version: v1

  arguments:
    resource:
      spec: !REF googlecloudsdk.command_lib.blockchain_node_engine.resources:node
      help_text: |
        Arguments and flags that specify the Blockchain Node Engine node you want
        to describe.

  output:
    format: |
      table(
        name.basename(),
        name.segment(-3):label=ZONE,
        blockchainType:label=NETWORK,
        ethereumDetails.network:label=CHAIN,
        ethereumDetails.nodeType:label=TYPE,
        ethereumDetails.executionClient:label=EXECUTION,
        ethereumDetails.consensusClient:label=CONSENSUS,
        connectionInfo.endpointInfo.jsonRpcApiEndpoint:label=JSON-RPC,
        state:label=STATUS
      )
