VmStartupPolicy#

class VmStartupPolicy(name=None, description=None, create_time=None, update_time=None, created_by=None, updated_by=None, groups=None, start_conditions=None, num_compliant_vms=None, num_non_compliant_vms=None, num_pending_vms=None, num_dependency_conflicts=None, num_start_condition_conflicts=None, ext_id=None, links=None, tenant_id=None, *args, **kwargs)#

Bases: ExternalizableAbstractModel

VM startup policy configuration.

Parameters:
  • name (min=1 chars, max=80 chars) – (name) Name of the VM startup policy.

  • description – (description) Description of the VM startup policy.

  • create_time – (create_time) VM startup policy creation time.

  • update_time – (update_time) VM startup policy last updated time.

  • created_by – (created_by)

  • updated_by – (updated_by)

  • groups – (groups) Ordered list of groups configured for the VM startup policy. Each group is represented by one or more Categories which VMs are expected to be associated with. The list should be ordered in the order in which VMs should be started in an HA event or Cluster restart event.

  • start_conditions – (start_conditions) Ordered list of start conditions for the VM startup policy.

  • num_compliant_vms – (num_compliant_vms) Number of compliant VMs in the VM startup policy.

  • num_non_compliant_vms – (num_non_compliant_vms) Number of non-compliant VMs in the VM startup policy.

  • num_pending_vms – (num_pending_vms) Number of pending VMs in the VM startup policy.

  • num_dependency_conflicts – (num_dependency_conflicts) Number of dependency conflicts of the VM startup policy.

  • num_start_condition_conflicts – (num_start_condition_conflicts) Number of start condition conflicts of the VM startup policy.

property create_time#

VM startup policy creation time.

Type:

datetime

property created_by#
Type:

UserReference

property description#

Description of the VM startup policy.

Type:

str

property groups#

Ordered list of groups configured for the VM startup policy. Each group is represented by one or more Categories which VMs are expected to be associated with. The list should be ordered in the order in which VMs should be started in an HA event or Cluster restart event.

Type:

list[ DependencyGroup ]

property name#

Name of the VM startup policy.

Type:

str

property num_compliant_vms#

Number of compliant VMs in the VM startup policy.

Type:

int

property num_dependency_conflicts#

Number of dependency conflicts of the VM startup policy.

Type:

int

property num_non_compliant_vms#

Number of non-compliant VMs in the VM startup policy.

Type:

int

property num_pending_vms#

Number of pending VMs in the VM startup policy.

Type:

int

property num_start_condition_conflicts#

Number of start condition conflicts of the VM startup policy.

Type:

int

property start_conditions#

Ordered list of start conditions for the VM startup policy.

Type:

list[ StartCondition ]

to_dict()#

Returns the model properties as a dictionary

to_str()#

Returns the string representation of the model

property update_time#

VM startup policy last updated time.

Type:

datetime

property updated_by#
Type:

UserReference