models.couchbase_protection_source module¶
-
class
models.couchbase_protection_source.
CouchbaseProtectionSource
(bucket_info=None, cluster_info=None, name=None, mtype=None, uuid=None)[source]¶ Bases:
object
Implementation of the ‘CouchbaseProtectionSource’ model.
Specifies an Object representing Couchbase.
- Attributes:
- bucket_info (CouchbaseBucket): Information of a Couchbase Bucket, only
valid for an entity of type kBucket.
- cluster_info (CouchbaseCluster): Information of a couchbase cluster,
only valid for an entity of type kCluster.
name (string): Specifies the instance name of the Couchbase entity. mtype (TypeCouchbaseProtectionSourceEnum): Specifies the type of the
managed Object in Couchbase Protection Source. Specifies the type of an Couchbase source entity. ‘kCluster’ indicates a Couchbase cluster distributed over several physical nodes. ‘kBucket’ indicates a bucket within the Couchbase environment.
uuid (string): Specifies the UUID for the Couchbase entity.
-
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.