POST /vdc/{id}/vmAffinityRules

Operation:
POST /vdc/{id}/vmAffinityRules
Description:
Creates a new VM affinity rule.This operation is asynchronous and returns a task that you can monitor to track the progress of the request.
Since:
Input parameters
representation of a VM affinity rule Extension {@link VmAffinityRuleInfo}

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