diff --git a/scaleway-async/scaleway_async/mongodb/v1/api.py b/scaleway-async/scaleway_async/mongodb/v1/api.py index b8413dbf8..2555c5f59 100644 --- a/scaleway-async/scaleway_async/mongodb/v1/api.py +++ b/scaleway-async/scaleway_async/mongodb/v1/api.py @@ -1612,7 +1612,7 @@ async def apply_maintenance( ) -> Maintenance: """ Apply a maintenance of a MongoDB® Database Instance. - :param maintenance_id: + :param maintenance_id: ID of the maintenance. :param region: Region to target. If none is passed will use default region from the config. :return: :class:`Maintenance ` diff --git a/scaleway-async/scaleway_async/mongodb/v1/types.py b/scaleway-async/scaleway_async/mongodb/v1/types.py index 13f1094d6..6064b29b7 100644 --- a/scaleway-async/scaleway_async/mongodb/v1/types.py +++ b/scaleway-async/scaleway_async/mongodb/v1/types.py @@ -589,6 +589,10 @@ class Version: @dataclass class ApplyMaintenanceRequest: maintenance_id: str + """ + ID of the maintenance. + """ + region: Optional[ScwRegion] = None """ Region to target. If none is passed will use default region from the config. diff --git a/scaleway/scaleway/mongodb/v1/api.py b/scaleway/scaleway/mongodb/v1/api.py index 787aa332e..e57170e4d 100644 --- a/scaleway/scaleway/mongodb/v1/api.py +++ b/scaleway/scaleway/mongodb/v1/api.py @@ -1606,7 +1606,7 @@ def apply_maintenance( ) -> Maintenance: """ Apply a maintenance of a MongoDB® Database Instance. - :param maintenance_id: + :param maintenance_id: ID of the maintenance. :param region: Region to target. If none is passed will use default region from the config. :return: :class:`Maintenance ` diff --git a/scaleway/scaleway/mongodb/v1/types.py b/scaleway/scaleway/mongodb/v1/types.py index 13f1094d6..6064b29b7 100644 --- a/scaleway/scaleway/mongodb/v1/types.py +++ b/scaleway/scaleway/mongodb/v1/types.py @@ -589,6 +589,10 @@ class Version: @dataclass class ApplyMaintenanceRequest: maintenance_id: str + """ + ID of the maintenance. + """ + region: Optional[ScwRegion] = None """ Region to target. If none is passed will use default region from the config.