models.cluster_config_proto_vault_cloud_tier_info module¶
-
class
models.cluster_config_proto_vault_cloud_tier_info.
ClusterConfigProto_Vault_CloudTierInfo
(target_tier_type=None, num_secs_to_move_after=None)[source]¶ Bases:
object
Implementation of the ‘ClusterConfigProto_Vault_CloudTierInfo’ model.
Proto representing a cloud tier type.
- Attributes:
- target_tier_type (ClusterConfigProto_Vault_CloudTierType): Represents
the target tier to which a archive snapshot needs to be moved/migrated. Currently we only allow down-tiering (i.e. moving snapshots to a colder tier compared to current tier).
- num_secs_to_move_after (long|int): Represents the number of seconds
since the snapshot first got archived (to default tier) after which it needs to be moved to the target tier. For example, if user selects target as an AWS vault (default: S3 tier) with 3 months retention, move to glacier after 1 month, and move to deep glacier after 2 months, then the below field should be set to appropriate number of seconds corresponding to 1 or 2 months by iris. The snapshot will reside in S3 (default tier) for 1 month, then 1 month in glacier tier, and then another 1 month in deep glacier before being deleted.
-
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.