VMware Cloud Director API - POST-CreateAffinityRule
POST /admin/extension/resourcePool/{rpId}/rules
- Operation:
- POST /admin/extension/resourcePool/{rpId}/rules
- Description:
- Create VM Affinity Rules within this resource pool.
- Since:
- Input parameters
-
{@link JAXBElement
} request body.
- Consume media type(s):
- application/vnd.vmware.admin.vmwVmHostAffinityRule+xml
application/vnd.vmware.admin.vmwVmHostAffinityRule+json - Input type:
- VMWVmHostAffinityRuleType
- Output parameters
-
the task to create VM Host Affinity Rule
- Produce media type(s):
- application/vnd.vmware.vcloud.task+xml
application/vnd.vmware.vcloud.task+json - Output type:
- TaskType
- Examples
-