code: func (o HostNetworkSystem) AddServiceConsoleVirtualNic(ctx context.Context, portgroup string, nic types.HostVirtualNicSpec) (string, error) {
  	req := types.AddServiceConsoleVirtualNic{
  		This:      o.Reference(),
  		Portgroup: portgroup,
  		Nic:       nic,
  	}
  
  	res, err := methods.AddServiceConsoleVirtualNic(ctx, o.c, &req)
  	if err != nil {
  		return "", err
  	}
  
  	return res.Returnval, nil
  }
docs: // AddServiceConsoleVirtualNic wraps methods.AddServiceConsoleVirtualNic