Skip to content

Commit 6e9559f

Browse files
authored
fix(mongodb): add missing UpdateSnapshot endpoint in documentation (scaleway#711)
1 parent a8474dc commit 6e9559f

File tree

2 files changed

+4
-0
lines changed
  • scaleway-async/scaleway_async/mongodb/v1alpha1
  • scaleway/scaleway/mongodb/v1alpha1

2 files changed

+4
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -750,6 +750,8 @@ async def update_snapshot(
750750
expires_at: Optional[datetime] = None,
751751
) -> Snapshot:
752752
"""
753+
Update a Database Instance snapshot.
754+
Update the parameters of a snapshot of a Database Instance. You can update the `name` and `expires_at` parameters.
753755
:param snapshot_id: UUID of the Snapshot.
754756
:param region: Region to target. If none is passed will use default region from the config.
755757
:param name: Name of the snapshot.

scaleway/scaleway/mongodb/v1alpha1/api.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -746,6 +746,8 @@ def update_snapshot(
746746
expires_at: Optional[datetime] = None,
747747
) -> Snapshot:
748748
"""
749+
Update a Database Instance snapshot.
750+
Update the parameters of a snapshot of a Database Instance. You can update the `name` and `expires_at` parameters.
749751
:param snapshot_id: UUID of the Snapshot.
750752
:param region: Region to target. If none is passed will use default region from the config.
751753
:param name: Name of the snapshot.

0 commit comments

Comments
 (0)