ProtectedResource#

class ProtectedResource(entity_ext_id=None, entity_type=None, source_site_reference=None, site_protection_info=None, replication_states=None, consistency_group_ext_id=None, category_fq_names=None, ext_id=None, links=None, tenant_id=None, *args, **kwargs)#

Bases: ExternalizableAbstractModel

Once a VM or volume group is associated with some protection policy, the schedule(s) in the protection policy kick in to achieve the specified recovery point objective. A protected resource represents the data protection view of such a VM or volume group. It contains information such as the restorable time ranges on the local Prism Central and the state of replication to the targets specified in all the applied protection policies.

Parameters:
  • entity_ext_id – (entity_ext_id) The external identifier of the VM or the volume group associated with the protected resource.

  • entity_type – (entity_type)

  • source_site_reference – (source_site_reference)

  • site_protection_info – (site_protection_info) The data protection details for the protected resource that are relevant to any of the sites in the local Prism Central, like the time ranges available for recovery.

  • replication_states – (replication_states)

  • consistency_group_ext_id – (consistency_group_ext_id) External identifier of the Consistency group which the protected resource is part of.

  • category_fq_names – (category_fq_names) Category key-value pairs associated with the protected resource at the time of protection. The category key and value are separated by ‘/’. For example, a category with key ‘dept’ and value ‘hr’ will be represented as ‘dept/hr’.

property category_fq_names#

Category key-value pairs associated with the protected resource at the time of protection. The category key and value are separated by ‘/’. For example, a category with key ‘dept’ and value ‘hr’ will be represented as ‘dept/hr’.

Type:

list[ str ]

property consistency_group_ext_id#

External identifier of the Consistency group which the protected resource is part of.

Type:

str

property entity_ext_id#

The external identifier of the VM or the volume group associated with the protected resource.

Type:

str

property entity_type#
Type:

ProtectedEntityType

property replication_states#
Type:

list[ ReplicationState ]

property site_protection_info#

The data protection details for the protected resource that are relevant to any of the sites in the local Prism Central, like the time ranges available for recovery.

Type:

list[ SiteProtectionInfo ]

property source_site_reference#
Type:

DataProtectionSiteReference

to_dict()#

Returns the model properties as a dictionary

to_str()#

Returns the string representation of the model