SnapshotPolicy
¶
Source code in docs_src/capo_fsx/types/snapshot_policy.py
enabled
instance-attribute
¶
enabled: NotRequired[Flag]
Specifies whether the snapshot policy is enabled. This value defaults to true.
file_system_id
instance-attribute
¶
file_system_id: NotRequired[FileSystemId]
The globally unique ID of the file system, assigned by Amazon FSx.
lifecycle
instance-attribute
¶
lifecycle: NotRequired[SnapshotPolicyLifecycle]
The lifecycle status of the snapshot policy can be one of the following:
-
CREATED– The snapshot policy is fully available for use. -
CREATING– Amazon FSx is creating the snapshot policy. -
DELETING– Amazon FSx is deleting the snapshot policy. -
FAILED– Amazon FSx was unable to create the snapshot policy.
lifecycle_transition_reason
instance-attribute
¶
lifecycle_transition_reason: NotRequired[LifecycleTransitionReason]
The reason why the snapshot policy lifecycle status changed.
schedules
instance-attribute
¶
schedules: NotRequired[SnapshotPolicyScheduleList]
The schedules on which ONTAP creates snapshots for the snapshot policy.
scope
instance-attribute
¶
scope: NotRequired[SnapshotPolicyScope]
The scope of the snapshot policy can be one of the following:
-
FILESYSTEM– The snapshot policy was created on the file system. -
SVM– The snapshot policy was created on an SVM.
snapshot_policy_id
instance-attribute
¶
snapshot_policy_id: NotRequired[SnapshotPolicyId]
The system-generated, unique ID of the snapshot policy.
storage_virtual_machine_id
instance-attribute
¶
storage_virtual_machine_id: NotRequired[StorageVirtualMachineId]
The ID of the snapshot policy's storage virtual machine, if you created the snapshot policy on a storage virtual machine.