ClusterHostAffinityRule Table

The ClusterHostAffinityRule table stores rules that define whether there is affinity between different VM groups and host groups within a cluster.

Note: To cater for multi-tenant mode, this table may contain data for multiple tenants. Access requires that the database TenantID has been set in the SQL Server connection context information. That setting filters an underlying table to produce this view of data for the single, selected tenant.
Table 1. Database columns for ClusterHostAffinityRule table

Database Column

Details

ClusterHostAffinityRuleID

Type: integer. Key. Generated ID

A unique identifier for each ClusterHostAffinityRule.

ClusterHostAffinity RuleTypeID

Type: integer

A unique identifier indicating a type of Cluster Host Affinity Rule.

Name

Type: text (max 256 characters). Key

The name assigned to an affinity rule.

HostGroupClusterID

Type: integer

The unique identifier of the host group to which the affinity rule applies. Foreign key to the Cluster table.

VMGroupClusterID

Type: integer

The unique identifier of the VM group to which the affinity rule applies. Foreign key to the Cluster table.

ClusterID

Type: integer. Key

Foreign key to the Cluster table.

ComplianceComputer InventorySourceTypeID

Type: integer

Whether this cluster host affinity rule has ever been reported in inventory, or has been manually created and maintained. Foreign key to the ComplianceComputerInventorySourceType table.