Update Cluster DRS Configuration operation


The Update Cluster DRS Configuration operation enables you to update the Cluster Distributed Resource Scheduler (DRS) configuration. You can also use this operation to manage DRS settings at the virtual machine level.

The following table describes the adapter request elements for the Update Cluster DRS Configuration operation:

 

The following code sample shows a sample adapter request for the Update Cluster DRS Configuration operation.

Sample adapter request for the Update Cluster DRS Configuration operation

 

<vmware-infrastructure-request>
   <operation-type>Cluster</operation-type>
   <operation-name>Update_Cluster_DRS_Configuration</operation-name>
   <vmware-infrastructure-request>
     <operation-type>Cluster</operation-type>
     <operation-name>Update_Cluster_DRS_Configuration</operation-name>
     <parameters>
       <cluster-compute-resource>Test Cluster</cluster-compute-resource>
       <spec>
         <drs-config>
           <enabled>true</enabled>
           <enable-vm-behavior-overrides>true</enable-vm-behavior-overrides>
           <default-vm-behavior>manual</default-vm-behavior>
         </drs-config>
         <drs-vm-config-spec>
           <operation>add</operation>
           <info>
             <virtual-machine>TestLinuxOne</virtual-machine>
             <enabled>true</enabled>
             <behavior>fullyAutomated</behavior>
           </info>
         </drs-vm-config-spec>
       </spec>
       <modify>true</modify>
     </parameters>
   </vmware-infrastructure-request>
 </vmware-infrastructure-request>

The following code sample shows the response for the sample Update Cluster DRS Configuration operation.

Sample adapter response for the Update Cluster DRS Configuration operation

<vmware-infrastructure-response>
 <metadata>
   <status>success</status>
 </metadata>
 <ReconfigureComputeResource_TaskResponse>
   <Task>task-5162</Task>
 </ReconfigureComputeResource_TaskResponse>
</vmware-infrastructure-response>

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*