vmware_list_affinity_rules
Lists affinity, anti-affinity, and VM-host rules from a VMware cluster to understand VM placement constraints.
Instructions
Lists the affinity / anti-affinity / VM-host rules of a cluster.
Returns a JSON {cluster, count, rules:[{key, name, type, enabled, vms}]}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cluster | Yes | Cluster name |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |