Cluster#

class Cluster(name=None, nodes=None, config=None, network=None, upgrade_status=None, vm_count=None, inefficient_vm_count=None, container_name=None, ext_id=None, links=None, tenant_id=None, *args, **kwargs)[source]#

Bases: ExternalizableAbstractModel

Parameters:
  • name – (name) Cluster name. This is part of payload for both cluster create & update operations.

  • nodes – (nodes)

  • config – (config)

  • network – (network)

  • upgrade_status – (upgrade_status)

  • vm_count – (vm_count) Number of VMs

  • inefficient_vm_count – (inefficient_vm_count) Number of inefficient VMs

  • container_name – (container_name) The name of the default container created as part of cluster creation. This is part of payload for cluster create operation only

property config#
Type:

ClusterConfigReference

property container_name#

The name of the default container created as part of cluster creation. This is part of payload for cluster create operation only

Type:

str

property inefficient_vm_count#

Number of inefficient VMs

Type:

int

property name#

Cluster name. This is part of payload for both cluster create & update operations.

Type:

str

property network#
Type:

ClusterNetworkReference

property nodes#
Type:

NodeReference

to_dict()[source]#

Returns the model properties as a dictionary

to_str()[source]#

Returns the string representation of the model

property upgrade_status#
Type:

UpgradeStatus

property vm_count#

Number of VMs

Type:

int