models.kubernetes_protection_source module¶
-
class
models.kubernetes_protection_source.
KubernetesProtectionSource
(description=None, name=None, mtype=None, uuid=None)[source]¶ Bases:
object
Implementation of the ‘KubernetesProtectionSource’ model.
Specifies a Protection Source in Kubernetes environment.
- Attributes:
- description (string): Specifies an optional description of the
object.
name (string): Specifies a unique name of the Protection Source. mtype (TypeKubernetesProtectionSourceEnum): Specifies the type of the
entity in a Kubernetes environment. Specifies the type of a Kubernetes Protection Source. ‘kCluster’ indicates a Kubernetes Cluster. ‘kNamespace’ indicates a namespace in a Kubernetes Cluster. ‘kService’ indicates a service running on a Kubernetes Cluster.
uuid (string): Specifies the UUID of the object.
-
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.