code: func expandClusterDrsVMConfigInfo(d *schema.ResourceData, vm *object.VirtualMachine) (*types.ClusterDrsVmConfigInfo, error) {
  	obj := &types.ClusterDrsVmConfigInfo{
  		Behavior: types.DrsBehavior(d.Get("drs_automation_level").(string)),
  		Enabled:  structure.GetBool(d, "drs_enabled"),
  		Key:      vm.Reference(),
  	}
  
  	return obj, nil
  }
docs: // expandClusterDrsVMConfigInfo reads certain ResourceData keys and returns a
  // ClusterDrsVmConfigInfo.