Skip to content

CreateSnapshotPolicyRequest

Source code in docs_src/capo_fsx/types/create_snapshot_policy_request.py
class CreateSnapshotPolicyRequest(TypedDict, closed=True):
    client_request_token: NotRequired[
        "capo_fsx.types.client_request_token.ClientRequestToken"
    ]
    file_system_id: NotRequired["capo_fsx.types.file_system_id.FileSystemId"]
    """<p>Specifies the ID of the Amazon FSx for NetApp ONTAP file system on which to create the snapshot policy. You must specify either a <code>FileSystemId</code> or a <code>StorageVirtualMachineId</code>, but not both.</p>"""
    storage_virtual_machine_id: NotRequired[
        "capo_fsx.types.storage_virtual_machine_id.StorageVirtualMachineId"
    ]
    """<p>Specifies the ID of the SVM on which to create the snapshot policy. You must specify either a <code>FileSystemId</code> or a <code>StorageVirtualMachineId</code>, but not both.</p>"""
    name: NotRequired["capo_fsx.types.snapshot_policy_name.SnapshotPolicyName"]
    """<p>Specifies 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>Specifies the schedules on which ONTAP creates snapshots for the snapshot policy.</p>"""
    tags: NotRequired["capo_fsx.types.tags.Tags"]

client_request_token instance-attribute

client_request_token: NotRequired[ClientRequestToken]

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]

Specifies the ID of the Amazon FSx for NetApp ONTAP file system on which to create the snapshot policy. You must specify either a FileSystemId or a StorageVirtualMachineId, but not both.

name instance-attribute

name: NotRequired[SnapshotPolicyName]

Specifies the name of the snapshot policy.

schedules instance-attribute

schedules: NotRequired[SnapshotPolicyScheduleList]

Specifies the schedules on which ONTAP creates snapshots for the snapshot policy.

storage_virtual_machine_id instance-attribute

storage_virtual_machine_id: NotRequired[StorageVirtualMachineId]

Specifies the ID of the SVM on which to create the snapshot policy. You must specify either a FileSystemId or a StorageVirtualMachineId, but not both.

tags instance-attribute

tags: NotRequired[Tags]