models.kvm_protection_source module

class models.kvm_protection_source.KvmProtectionSource(agent_error=None, agent_id=None, cluster_id=None, datacenter_id=None, description=None, name=None, network_id=None, mtype=None, uuid=None)[source]

Bases: object

Implementation of the ‘KvmProtectionSource’ model.

Specifies a Protection Source in KVM environment.

agent_error (string): Specifies a message when the agent cannot be


agent_id (long|int): Specifies the ID of the Agent with which this KVM

entity is associated when the entity represents a Delegate host or KVM host.

cluster_id (string): Specifies the cluster ID for ‘kCluster’ objects. datacenter_id (string): Specifies the ID of the ‘kDatacenter’


description (string): Specifies a description about the Protection


name (string): Specifies the name of the KVM entity. network_id (string): Specifies the network ID to which Vnic is


mtype (TypeKvmProtectionSourceEnum): Specifies the type of KVM

Protection Source entities such as ‘kDatacenter’, ‘kCluster’, ‘kVirtualMachine’, etc. Specifies the type of an KVM source entity. ‘kOVirtManager’ indicates the root entity registered with Cohesity cluster. ‘kStandaloneHost’ indicates a host registered with Cohesity cluster. ‘kDatacenter’ indicates a KVM datacenter managed by the OVirt manager. ‘kCluster’ indicates a KVM cluster managed by the OVirt manager. ‘kHost’ indicates a host within the KVM environment. ‘kVirtualMachine’ indicates a virtual machine in the KVM enironment. ‘kNetwork’ represents a network used by the virtual machine entity. ‘kStorageDomain’ represents a storage domain in the KVM environment. ‘kVNicProfile’ represents a VNic profile.

uuid (string): Specifies the UUID of the Object. This is unique within

the KVM environment.

classmethod from_dictionary(dictionary)[source]

Creates an instance of this model from a dictionary


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.


object: An instance of this structure class.