models.netapp_protection_source module¶
-
class
models.netapp_protection_source.
NetappProtectionSource
(cluster_info=None, is_top_level=None, license_types=None, name=None, mtype=None, uuid=None, version=None, volume_info=None, vserver_info=None)[source]¶ Bases:
object
Implementation of the ‘NetappProtectionSource’ model.
Specifies a Protection Source in a NetApp environment.
- Attributes:
- cluster_info (NetappClusterInfo): Specifies information about a NetApp
Cluster Protection Source.
- is_top_level (bool): Specifies if this Object is a top level Object.
Because a top level Object can either be a NetApp cluster or a Vserver, this cannot be determined only by type.
- license_types (LicenseTypesEnum): Specifies the type of license
available on Netapp Cluster ‘kSnapmirrorCloud’ indicates a SnapMirror license on Netapp.
name (string): Specifies the name of the NetApp Object. mtype (TypeNetappProtectionSourceEnum): Specifies the type of managed
NetApp Object in a NetApp Protection Source such as ‘kCluster’, ‘kVserver’ or ‘kVolume’. ‘kCluster’ indicates a Netapp cluster as a protection source. ‘kVserver’ indicates a Netapp vserver in a cluster as a protection source. ‘kVolume’ indicates a volume in Netapp vserver as a protection source.
- uuid (string): Specifies the globally unique ID of this Object
assigned by the NetApp server.
version (string): Specifies the version of Netapp Cluster. volume_info (NetappVolumeInfo): Specifies information about a volume
in a NetApp cluster.
- vserver_info (NetappVserverInfo): Specifies information about a NetApp
Vserver in a NetApp Protection Source.
-
classmethod
from_dictionary
(dictionary)[source]¶ Creates an instance of this model from a dictionary
- Args:
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.
- Returns:
object: An instance of this structure class.