models.restore_kubernetes_namespaces_params module¶
-
class
models.restore_kubernetes_namespaces_params.
RestoreKubernetesNamespacesParams
(backup_cluster_id=None, backup_job_name=None, cluster_entity=None, management_namespace=None, rename_restored_object_param=None)[source]¶ Bases:
object
Implementation of the ‘RestoreKubernetesNamespacesParams’ model.
TODO: type model description here.
- Attributes:
- backup_cluster_id (long|int): Cluster id of the cluster which
performed the backup.
- backup_job_name (string): Backup job that needs to be used for
recovering the namespace.
- cluster_entity (EntityProto): Specifies the attributes and the latest
statistics about an entity.
- management_namespace (string): Namespace in which restore job will be
created in K8s cluster.
- rename_restored_object_param (RenameObjectParamProto): Message to
specify the prefix/suffix added to rename an object. At least one of prefix or suffix must be specified. Please note that both prefix and suffix can be specified.
-
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.