VMware Cloud Director API - PUT-VmAffinityRule

VMware Cloud Director API - PUT-VmAffinityRule

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
application/vnd.vmware.vcloud.vmaffinityrule+json
Input type:
VmAffinityRuleType
Output parameters
representation of a Task {@link TaskSpec}

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