code: func expandVMwareUplinkPortOrderPolicy(d *schema.ResourceData) *types.VMwareUplinkPortOrderPolicy {
  	obj := &types.VMwareUplinkPortOrderPolicy{
  		ActiveUplinkPort:  structure.SliceInterfacesToStrings(d.Get("active_uplinks").([]interface{})),
  		StandbyUplinkPort: structure.SliceInterfacesToStrings(d.Get("standby_uplinks").([]interface{})),
  	}
  
  	if structure.AllFieldsEmpty(obj) {
  		return nil
  	}
  	return obj
  }
docs: // expandVMwareUplinkPortOrderPolicy reads certain ResourceData keys and
  // returns a VMwareUplinkPortOrderPolicy.