# Data Object - ClusterDependencyRuleInfo(vim.cluster.DependencyRuleInfo)

Extends
  ClusterRuleInfo
Since
  vSphere API 6.5

## Data Object Description

The ClusterDependencyRuleInfo data object indentifies VM-to-VM dependencies.

A VM-VM Dependency rule identifies the following groups.

- A virtual machine group - vmGroup
- A "depends on" virtual machine group - dependsOnVmGroup.

The VMs in vmGroup depends on the list of VMs specified in dependsOnVmGroup.

For example, this rule is used during vSphere HA VM recovery orchestration. vSphere HA will not restart the VMs in vmGroup until all the VMs in dependsOnVmGroup are deemded "ready" (See ClusterVmReadiness).

All the virtual machines referenced by this rule must be in the same cluster.

Properties

Name | Type | Description
--- | --- | ---
dependsOnVmGroup | xsd:string | Depdendency virtual group name (ClusterVmGroup.name). The virtual group may contain one or more virtual machines.
vmGroup | xsd:string | Virtual group name. The virtual group may contain one or more virtual machines. ClusterVmGroup.name
Properties inherited from ClusterRuleInfo
enabled, inCompliance, key, mandatory, name, ruleUuid, status, userCreated
Properties inherited from DynamicData
None

Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:sms="urn:sms" name="ClusterDependencyRuleInfo"> <complexContent> <extension base="sms:ClusterRuleInfo"> <sequence> <element name="vmGroup" type="xsd:string"/> <element name="dependsOnVmGroup" type="xsd:string"/> </sequence> </extension> </complexContent> </complexType>