models.vm_info module

class models.vm_info.VmInfo(health_detail=None, health_status=None, name=None, node_ports=None)[source]

Bases: object

Implementation of the ‘VmInfo’ model.

VmInfo specifies information of a VM.

Attributes:

health_detail (string): Specifies the reason if vm is unhealthy. health_status (int): Specifies the current health status of the app

instance.

name (string): Specifies name of the VM. node_ports (list of NodePort): Specifies nodeports assigned to the

vm.

classmethod from_dictionary(dictionary)[source]

Creates an instance of this model from a dictionary

Args:

dictionary (dictionary): A dictionary representation of the object as obtained from the deserialization of the server’s response. The keys MUST match property names in the API description.

Returns:

object: An instance of this structure class.