code: func flattenHostNicFailureCriteria(d *schema.ResourceData, obj *types.HostNicFailureCriteria) error {
  	if obj.CheckBeacon != nil {
  		d.Set("check_beacon", obj.CheckBeacon)
  	}
  	return nil
  }
docs: // flattenHostNicFailureCriteria reads various fields from a
  // HostNicFailureCriteria into the passed in ResourceData.