VcenterSettingsV1ConfigComponentsInventoryClusterDrsDependencyRule

The DependencyRule structure defines VM-to-VM dependencies. A VM-VM Dependency rule identifies the following groups.

  • A virtual machine group - DependencyRule.vm-group
  • A “depends on” virtual machine group - DependencyRule.depends-on-vm-group.

The VMs in DependencyRule.vm-group depends on the list of VMs specified in DependencyRule.depends-on-vm-group.


Properties

string
depends_on_vm_group Optional

Depdendency virtual group name. The virtual group may contain one or more virtual machines.


boolean
enabled Optional

Flag to indicate whether or not the rule is enabled. Set this property when user configures the rule. The default value is false (disabled). If there is a rule conflict, the Server can override the setting to disable a rule. If unset or empty, the value is skipped.


boolean
in_compliance Optional

Flag to indicate if the rule is in compliance. If unset or empty, the value is skipped.


boolean
mandatory Optional

Flag to indicate whether compliance with this rule is mandatory or optional. The default value is false (optional). If unset or empty, the value is skipped.


string
name Optional

Name of the rule.


status Optional

Flag to indicate whether or not the rule is currently satisfied.

Possible values are: GRAYGREENYELLOWRED


boolean
user_created Optional

Flag to indicate whether the rule is created by the user or the system. If unset or empty, the value is skipped.


string
vm_group Optional

Virtual group name. The virtual group may contain one or more virtual machines.

JSON Example

{
    "depends_on_vm_group": "string",
    "enabled": false,
    "in_compliance": false,
    "mandatory": false,
    "name": "string",
    "status": "enum",
    "user_created": false,
    "vm_group": "string"
}
Feedback

Was this page helpful?