code: func expandHostNicOrderPolicy(d *schema.ResourceData) *types.HostNicOrderPolicy {
  	obj := &types.HostNicOrderPolicy{}
  	activeNics, activeOk := d.GetOkExists("active_nics")
  	standbyNics, standbyOk := d.GetOkExists("standby_nics")
  	if !activeOk && !standbyOk {
  		return nil
  	}
  	obj.ActiveNic = structure.SliceInterfacesToStrings(activeNics.([]interface{}))
  	obj.StandbyNic = structure.SliceInterfacesToStrings(standbyNics.([]interface{}))
  	return obj
  }
docs: // expandHostNicOrderPolicy reads certain ResourceData keys and returns a
  // HostNicOrderPolicy.