code: func flattenHostNasVolume(d *schema.ResourceData, obj *types.HostNasVolume) error {
  	d.Set("remote_path", obj.RemotePath)
  	d.Set("security_type", obj.SecurityType)
  	d.Set("protocol_endpoint", obj.ProtocolEndpoint)
  
  	if err := d.Set("remote_hosts", obj.RemoteHostNames); err != nil {
  		return err
  	}
  	return nil
  }
docs: // flattenHostNasVolume reads various fields from a HostNasVolume into the
  // passed in ResourceData.
  //
  // Note the name attribute is not set here, bur rather set in
  // flattenDatastoreSummary and sourced from there.