PUT /vdc/{id}/vmAffinityRules/{ruleId}

Operation:
PUT /vdc/{id}/vmAffinityRules/{ruleId}
Description:
Updates the specified VM affinity/anti-affinity rule. This operation is asynchronous and returns a task that you can monitor to track the progress of the request.
Since:
Input parameters
Consume media type(s):
application/vnd.vmware.vcloud.vmaffinityrule+xml
Input type:
VmAffinityRuleType
Output parameters
representation of a Task {@link TaskSpec}

Produce media type(s):
application/vnd.vmware.vcloud.task+xml
Output type:
TaskType
Examples