create_volume_from_backup
¶
create_volume_from_backup(
*,
config_overrides: Optional[FSxClientConfig] = None,
backup_id: Optional[BackupId] = None,
client_request_token: Optional[ClientRequestToken] = None,
name: Optional[VolumeName] = None,
ontap_configuration: Optional[CreateOntapVolumeConfiguration] = None,
tags: Optional[Tags] = None,
) -> CreateVolumeFromBackupResponse
Creates a new Amazon FSx for NetApp ONTAP volume from an existing Amazon FSx volume backup.
Parameters:
-
name(Optional[VolumeName], default:None) –The name of the new volume you're creating.
-
ontap_configuration(Optional[CreateOntapVolumeConfiguration], default:None) –Specifies the configuration of the ONTAP volume that you are creating.
Raises:
-
BackupNotFound–No Amazon FSx backups were found based upon the supplied parameters.
-
BadRequest–A generic error indicating a failure with a client request.
-
FileSystemNotFound–No Amazon FSx file systems were found based upon supplied parameters.
-
IncompatibleParameterError–The error returned when a second request is received with the same client request token but different parameters settings. A client request token should always uniquely identify a single request.
-
InternalServerError–A generic error indicating a server-side failure.
-
MissingVolumeConfiguration–A volume configuration is required for this operation.
-
ServiceLimitExceeded–An error indicating that a particular service limit was exceeded. You can increase some service limits by contacting Amazon Web Services Support.
-
StorageVirtualMachineNotFound–No FSx for ONTAP SVMs were found based upon the supplied parameters.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_fsx/_services/f_sx.py
1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 | |