VMware Cloud Director API - POST-CreateVmAffinityRule
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
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
-