Skip to content

Commit 9a7e8c1

Browse files
authored
feat(block): enable snapshot export API (#609)
1 parent e21993b commit 9a7e8c1

File tree

2 files changed

+4
-2
lines changed
  • scaleway/scaleway/block/v1alpha1
  • scaleway-async/scaleway_async/block/v1alpha1

2 files changed

+4
-2
lines changed

scaleway-async/scaleway_async/block/v1alpha1/api.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -661,7 +661,8 @@ async def import_snapshot_from_s3(
661661
size: Optional[int] = None,
662662
) -> Snapshot:
663663
"""
664-
Import a snapshot from a Scaleway Object Storage bucket.
664+
(Deprecated in favor of `ImportSnapshotFromObjectStorage`).
665+
Import a snapshot from a Scaleway Object Storage bucket
665666
The bucket must contain a QCOW2 image.
666667
The bucket can be imported into any Availability Zone as long as it is in the same region as the bucket.
667668
:param bucket: Scaleway Object Storage bucket where the object is stored.

scaleway/scaleway/block/v1alpha1/api.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -659,7 +659,8 @@ def import_snapshot_from_s3(
659659
size: Optional[int] = None,
660660
) -> Snapshot:
661661
"""
662-
Import a snapshot from a Scaleway Object Storage bucket.
662+
(Deprecated in favor of `ImportSnapshotFromObjectStorage`).
663+
Import a snapshot from a Scaleway Object Storage bucket
663664
The bucket must contain a QCOW2 image.
664665
The bucket can be imported into any Availability Zone as long as it is in the same region as the bucket.
665666
:param bucket: Scaleway Object Storage bucket where the object is stored.

0 commit comments

Comments
 (0)