code: def _cli_helper_dedicated_host(env, result, table):
      
  
      dedicated_host_id = utils.lookup(result, 'dedicatedHost', 'id')
      if dedicated_host_id:
          table.add_row(['dedicated_host_id', dedicated_host_id])
          # Try to find name of dedicated host
          try:
              dedicated_host = env.client.call('Virtual_DedicatedHost', 'getObject',
                                               id=dedicated_host_id)
          except SoftLayer.SoftLayerAPIError:
              LOGGER.error('Unable to get dedicated host id %s', dedicated_host_id)
              dedicated_host = {}
          table.add_row(['dedicated_host',
                         dedicated_host.get('name') or formatting.blank()])
docs: Get details on dedicated host for a virtual server.