Cluster#

class Cluster(name=None, nodes=None, config=None, network=None, upgrade_status=None, vm_count=None, inefficient_vm_count=None, container_name=None, categories=None, cluster_profile_ext_id=None, backup_eligibility_score=None, ext_id=None, links=None, tenant_id=None, *args, **kwargs)#

Bases: ExternalizableAbstractModel

Cluster entity with its attributes.

Parameters:
  • name (max=75 chars) – (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 (max=64 chars) – (container_name) The name of the default container created as part of cluster creation. This is part of payload for cluster create operation only.

  • categories – (categories) List of categories associated to the PE cluster.

  • cluster_profile_ext_id – (cluster_profile_ext_id) Cluster Profile UUID

  • backup_eligibility_score – (backup_eligibility_score) Score to indicate how much cluster is eligible for storing domain manager backup.

property backup_eligibility_score#

Score to indicate how much cluster is eligible for storing domain manager backup.

Type:

int

property categories#

List of categories associated to the PE cluster.

Type:

list[ str ]

property cluster_profile_ext_id#

Cluster Profile UUID

Type:

str

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()#

Returns the model properties as a dictionary

to_str()#

Returns the string representation of the model

property upgrade_status#
Type:

UpgradeStatus

property vm_count#

Number of VMs.

Type:

int