models.protection_source module

class models.protection_source.ProtectionSource(acropolis_protection_source=None, ad_protection_source=None, aws_protection_source=None, azure_protection_source=None, cassandra_protection_source=None, couchbase_protection_source=None, custom_name=None, elastifile_protection_source=None, environment=None, exchange_protection_source=None, flash_blade_protection_source=None, gcp_protection_source=None, gpfs_protection_source=None, h_base_protection_source=None, hdfs_protection_source=None, hive_protection_source=None, hyper_flex_protection_source=None, hyperv_protection_source=None, id=None, isilon_protection_source=None, kubernetes_protection_source=None, kvm_protection_source=None, mongodb_protection_source=None, name=None, nas_protection_source=None, netapp_protection_source=None, nimble_protection_source=None, office_365_protection_source=None, oracle_protection_source=None, parent_id=None, physical_protection_source=None, pure_protection_source=None, sql_protection_source=None, view_protection_source=None, vmware_protection_source=None)[source]

Bases: object

Implementation of the ‘ProtectionSource’ model.

Specifies a generic structure that represents a node in the Protection Source tree. Node details will depend on the environment of the Protection Source.

Attributes:
acropolis_protection_source (AcropolisProtectionSource): Specifies

details about an Acropolis Protection Source when the environment is set to ‘kAcropolis’.

ad_protection_source (AdProtectionSource): Specifies details about an

AD Protection Source when the environment is set to ‘kAD’.

aws_protection_source (AwsProtectionSource): Specifies details about

an AWS Protection Source when the environment is set to ‘kAWS’.

azure_protection_source (AzureProtectionSource): Specifies details

about an Azure Protection Source when the environment is set to ‘kAzure’.

cassandra_protection_source (CassandraProtectionSource): Specifies

details about a Cassandra Protection Source when the environment is set to ‘kCassandra’.

couchbase_protection_source (CouchbaseProtectionSource): Specifies

details about a Couchbase Protection Source when the environment is set to ‘kCouchbase’.

custom_name (string): Specifies the user provided custom name of the

Protection Source.

elastifile_protection_source (ElastifileProtectionSource): Specifies

details about a Elastifile Protection Source when the environment is set to ‘kElastifile’.

exchange_protection_source (ExchangeProtectionSource): Specifies

details about an Exchange Protection Source when the environment is set to ‘kExchange’.

environment (EnvironmentEnum): Specifies the environment (such as

‘kVMware’ or ‘kSQL’) where the Protection Source exists. Depending on the environment, one of the following Protection Sources are initialized. NOTE: kPuppeteer refers to Cohesity’s Remote Adapter. Supported environment types such as ‘kView’, ‘kSQL’, ‘kVMware’, etc. NOTE: ‘kPuppeteer’ refers to Cohesity’s Remote Adapter. ‘kVMware’ indicates the VMware Protection Source environment. ‘kHyperV’ indicates the HyperV Protection Source environment. ‘kSQL’ indicates the SQL Protection Source environment. ‘kView’ indicates the View Protection Source environment. ‘kPuppeteer’ indicates the Cohesity’s Remote Adapter. ‘kPhysical’ indicates the physical Protection Source environment. ‘kPure’ indicates the Pure Storage Protection Source environment. ‘Nimble’ indicates the Nimble Storage Protection Source environment. ‘kAzure’ indicates the Microsoft’s Azure Protection Source environment. ‘kNetapp’ indicates the Netapp Protection Source environment. ‘kAgent’ indicates the Agent Protection Source environment. ‘kGenericNas’ indicates the Generic Network Attached Storage Protection Source environment. ‘kAcropolis’ indicates the Acropolis Protection Source environment. ‘kPhsicalFiles’ indicates the Physical Files Protection Source environment. ‘kIsilon’ indicates the Dell EMC’s Isilon Protection Source environment. ‘kGPFS’ indicates IBM’s GPFS Protection Source environment. ‘kKVM’ indicates the KVM Protection Source environment. ‘kAWS’ indicates the AWS Protection Source environment. ‘kExchange’ indicates the Exchange Protection Source environment. ‘kHyperVVSS’ indicates the HyperV VSS Protection Source environment. ‘kOracle’ indicates the Oracle Protection Source environment. ‘kGCP’ indicates the Google Cloud Platform Protection Source environment. ‘kFlashBlade’ indicates the Flash Blade Protection Source environment. ‘kAWSNative’ indicates the AWS Native Protection Source environment. ‘kO365’ indicates the Office 365 Protection Source environment. ‘kO365Outlook’ indicates Office 365 outlook Protection Source environment. ‘kHyperFlex’ indicates the Hyper Flex Protection Source environment. ‘kGCPNative’ indicates the GCP Native Protection Source environment. ‘kAzureNative’ indicates the Azure Native Protection Source environment. ‘kKubernetes’ indicates a Kubernetes Protection Source environment. ‘kElastifile’ indicates Elastifile Protection Source environment. ‘kAD’ indicates Active Directory Protection Source environment. ‘kRDSSnapshotManager’ indicates AWS RDS Protection Source environment. ‘kCassandra’ indicates Cassandra Protection Source environment. ‘kMongoDB’ indicates MongoDB Protection Source environment. ‘kCouchbase’ indicates Couchbase Protection Source environment. ‘kHdfs’ indicates Hdfs Protection Source environment. ‘kHive’ indicates Hive Protection Source environment. ‘kHBase’ indicates HBase Protection Source environment.

flash_blade_protection_source (FlashBladeProtectionSource): Specifies

details about a Pure Storage FlashBlade Protection Source when the environment is set to ‘kFlashBlade’.

gcp_protection_source (GcpProtectionSource): Specifies details about

an GCP Protection Source when the environment is set to ‘kGCP’.

gpfs_protection_source (GpfsProtectionSource): Specifies details about

an GPFS Protection Source when the environment is set to ‘kGPFS’.

h_base_protection_source (HBaseProtectionSource): Specifies details

about a HBase Protection Source when the environment is set to ‘kHBase’.

hdfs_protection_source (HdfsProtectionSource): Specifies details about

a Hdfs Protection Source when the environment is set to ‘kHdfs’.

hive_protection_source (HiveProtectionSource): Specifies details about

a Hive Protection Source when the environment is set to ‘kHive’.

hyper_flex_protection_source (HyperFlexProtectionSource): Specifies

details about a HyperFlex Storage Snapshot source when the environment is set to ‘kHyperFlex’

hyperv_protection_source (HypervProtectionSource): Specifies details

about a HyperV Protection Source when the environment is set to ‘kHyperV’.

id (long|int): Specifies an id of the Protection Source. isilon_protection_source (IsilonProtectionSource): Specifies details

about an Isilon OneFs Protection Source when the environment is set to ‘kIsilon’.

kubernetes_protection_source (KubernetesProtectionSource): Specifies

details about a Kubernetes Protection Source when the environment is set to ‘kKubernetes’.

kvm_protection_source (KvmProtectionSource): Specifies details about a

KVM Protection Source when the environment is set to ‘kKVM’.

mongodb_protection_source (MongoDBProtectionSource): Specifies details

about a MongoDB Protection Source when the environment is set to ‘kMongoDB’.

name (string): Specifies a name of the Protection Source. nas_protection_source (NasProtectionSource): Specifies details about a

Generic NAS Protection Source when the environment is set to ‘kGenericNas’.

netapp_protection_source (NetappProtectionSource): Specifies details

about a NetApp Protection Source when the environment is set to ‘kNetapp’.

nimble_protection_source (NimbleProtectionSource): Specifies details

about a SAN Protection Source when the environment is set to ‘kNimble’.

office_365_protection_source (Office365ProtectionSource): Specifies

details about an Office 365 Protection Source when the environment is set to ‘kO365’.

oracle_protection_source (OracleProtectionSource): Specifies details

about an Oracle Protection Source when the environment is set to ‘kOracle’.

parent_id (long|int): Specifies an id of the parent of the Protection

Source.

physical_protection_source (PhysicalProtectionSource): Specifies

details about a Physical Protection Source when the environment is set to ‘kPhysical’.

pure_protection_source (PureProtectionSource): Specifies details about

a Pure Protection Source when the environment is set to ‘kPure’.

sql_protection_source (SqlProtectionSource): Specifies details about a

SQL Protection Source when the environment is set to ‘kSQL’.

view_protection_source (ViewProtectionSource): Specifies details about

a View Protection Source when the environment is set to ‘kView’.

vmware_protection_source (VmwareProtectionSource): Specifies details

about a VMware Protection Source when the environment is set to ‘kVMware’.

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.