EligibleCluster#
- class EligibleCluster(cluster_uuid=None, cluster_name=None, is_hosting_pe=None, backed_up_entities_count_supported=None, *args, **kwargs)#
Bases:
object
Eligible cluster object for PC backup. Containing some basic properties like cluster_uuid, cluster_name, remainingStorage, totalStorage
- Parameters:
cluster_uuid – (
cluster_uuid
) Uuid of the eligible PE(cluster).cluster_name – (
cluster_name
) Name of the eligible PE(cluster).is_hosting_pe – (
is_hosting_pe
) Whether the candidate PE was hosting PC.backed_up_entities_count_supported – (
backed_up_entities_count_supported
) The amount of entities which can be backed up to the PE from PC.
- property backed_up_entities_count_supported#
The amount of entities which can be backed up to the PE from PC.
- Type:
int
- property cluster_name#
Name of the eligible PE(cluster).
- Type:
str
- property cluster_uuid#
Uuid of the eligible PE(cluster).
- Type:
str
- property is_hosting_pe#
Whether the candidate PE was hosting PC.
- Type:
bool
- to_dict()#
Returns the model properties as a dictionary
- to_str()#
Returns the string representation of the model