if (vmMonitoringState != null) {
vmToolsMonitoringSettings.setVmMonitoring(vmMonitoringState.name());
}
DasVmConfigInfo dasVmConfigInfo = new DasVmConfigInfoImpl();
dasVmConfigInfo.setKey(getMoRef());
dasVmConfigInfo.setDasSettings(dasVmSettings);
ConfigSpecExImpl configSpec = new ConfigSpecExImpl();
configSpec.setDasVmConfigSpec(new DasVmConfigSpec[] {new DasVmConfigSpecImpl(found? Operation.edit : Operation.add, null, dasVmConfigInfo)});
getResourcePool().getVcCluster().reconfigure(configSpec);
}