Skip to content

SnapshotPolicy

Source code in docs_src/capo_fsx/types/snapshot_policy.py
class SnapshotPolicy(TypedDict, closed=True):
    resource_arn: NotRequired["capo_fsx.types.resource_arn.ResourceARN"]
    snapshot_policy_id: NotRequired[
        "capo_fsx.types.snapshot_policy_id.SnapshotPolicyId"
    ]
    """<p>The system-generated, unique ID of the snapshot policy.</p>"""
    file_system_id: NotRequired["capo_fsx.types.file_system_id.FileSystemId"]
    """<p>The globally unique ID of the file system, assigned by Amazon FSx.</p>"""
    storage_virtual_machine_id: NotRequired[
        "capo_fsx.types.storage_virtual_machine_id.StorageVirtualMachineId"
    ]
    """<p>The ID of the snapshot policy's storage virtual machine, if you created the snapshot policy on a storage virtual machine.</p>"""
    name: NotRequired["capo_fsx.types.snapshot_policy_name.SnapshotPolicyName"]
    """<p>The name of the snapshot policy.</p>"""
    enabled: NotRequired["capo_fsx.types.flag.Flag"]
    """<p>Specifies whether the snapshot policy is enabled. This value defaults to <code>true</code>.</p>"""
    schedules: NotRequired[
        "capo_fsx.types.snapshot_policy_schedule_list.SnapshotPolicyScheduleList"
    ]
    """<p>The schedules on which ONTAP creates snapshots for the snapshot policy.</p>"""
    scope: NotRequired["capo_fsx.types.snapshot_policy_scope.SnapshotPolicyScope"]
    """<p>The scope of the snapshot policy can be one of the following:</p> <ul> <li> <p> <code>FILESYSTEM</code> – The snapshot policy was created on the file system.</p> </li> <li> <p> <code>SVM</code> – The snapshot policy was created on an SVM.</p> </li> </ul>"""
    lifecycle: NotRequired[
        "capo_fsx.types.snapshot_policy_lifecycle.SnapshotPolicyLifecycle"
    ]
    """<p>The lifecycle status of the snapshot policy can be one of the following:</p> <ul> <li> <p> <code>CREATED</code> – The snapshot policy is fully available for use.</p> </li> <li> <p> <code>CREATING</code> – Amazon FSx is creating the snapshot policy.</p> </li> <li> <p> <code>DELETING</code> – Amazon FSx is deleting the snapshot policy.</p> </li> <li> <p> <code>FAILED</code> – Amazon FSx was unable to create the snapshot policy.</p> </li> </ul>"""
    uuid: NotRequired["capo_fsx.types.uuid.UUID"]
    """<p>The snapshot policy's universally unique identifier (UUID).</p>"""
    lifecycle_transition_reason: NotRequired[
        "capo_fsx.types.lifecycle_transition_reason.LifecycleTransitionReason"
    ]
    """<p>The reason why the snapshot policy lifecycle status changed.</p>"""
    tags: NotRequired["capo_fsx.types.tags.Tags"]

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.

name instance-attribute

name: NotRequired[SnapshotPolicyName]

The name of the snapshot policy.

resource_arn instance-attribute

resource_arn: NotRequired[ResourceARN]

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.

tags instance-attribute

tags: NotRequired[Tags]

uuid instance-attribute

uuid: NotRequired[UUID]

The snapshot policy's universally unique identifier (UUID).