VMware Cloud Director API - GET-VmAffinityRules
GET /vdc/{id}/vmAffinityRules
- Operation:
- GET /vdc/{id}/vmAffinityRules
- Description:
- Retrieves a list of all VM Affinity rules within a given vDC.
- Since:
- Input parameters
-
- Consume media type(s):
- None
- Input type:
- None
- Output parameters
-
a list of all VM Affinity rules( both affinity and anti-affinity) for the given vDC
- Produce media type(s):
- application/vnd.vmware.vcloud.vmaffinityrules+xml
application/vnd.vmware.vcloud.vmaffinityrules+json - Output type:
- VmAffinityRulesType
- Examples
-