From efad5a9247c16f396379dbf2a4ac292c7501be6c Mon Sep 17 00:00:00 2001 From: scaleway-bot Date: Mon, 25 Nov 2024 16:03:01 +0000 Subject: [PATCH] feat: update generated APIs --- scaleway-async/scaleway_async/rdb/v1/api.py | 6 +++--- scaleway-async/scaleway_async/rdb/v1/types.py | 6 +++--- scaleway/scaleway/rdb/v1/api.py | 6 +++--- scaleway/scaleway/rdb/v1/types.py | 6 +++--- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/scaleway-async/scaleway_async/rdb/v1/api.py b/scaleway-async/scaleway_async/rdb/v1/api.py index 454fafb2a..8ddd7751d 100644 --- a/scaleway-async/scaleway_async/rdb/v1/api.py +++ b/scaleway-async/scaleway_async/rdb/v1/api.py @@ -993,7 +993,7 @@ async def create_instance( Create a new Database Instance. You must set the `engine`, `user_name`, `password` and `node_type` parameters. Optionally, you can specify the volume type and size. :param engine: Database engine of the Database Instance (PostgreSQL, MySQL, ...). :param user_name: Username created when the Database Instance is created. - :param password: Password of the user. + :param password: Password of the user. Password must be between 8 and 128 characters, contain at least one digit, one uppercase, one lowercase and one special character. :param node_type: Type of node to use for the Database Instance. :param region: Region to target. If none is passed will use default region from the config. :param organization_id: Please use project_id instead. @@ -2313,7 +2313,7 @@ async def create_user( Create a new user for a Database Instance. You must define the `name`, `password` and `is_admin` parameters. :param instance_id: UUID of the Database Instance in which you want to create a user. :param name: Name of the user you want to create. - :param password: Password of the user you want to create. + :param password: Password of the user you want to create. Password must be between 8 and 128 characters, contain at least one digit, one uppercase, one lowercase and one special character. :param is_admin: Defines whether the user will have administrative privileges. :param region: Region to target. If none is passed will use default region from the config. :return: :class:`User ` @@ -2367,7 +2367,7 @@ async def update_user( :param instance_id: UUID of the Database Instance the user belongs to. :param name: Name of the database user. :param region: Region to target. If none is passed will use default region from the config. - :param password: Password of the database user. + :param password: Password of the database user. Password must be between 8 and 128 characters, contain at least one digit, one uppercase, one lowercase and one special character. :param is_admin: Defines whether or not this user got administrative privileges. :return: :class:`User ` diff --git a/scaleway-async/scaleway_async/rdb/v1/types.py b/scaleway-async/scaleway_async/rdb/v1/types.py index 054003fb6..19fcdb817 100644 --- a/scaleway-async/scaleway_async/rdb/v1/types.py +++ b/scaleway-async/scaleway_async/rdb/v1/types.py @@ -1347,7 +1347,7 @@ class CreateInstanceRequest: password: str """ - Password of the user. + Password of the user. Password must be between 8 and 128 characters, contain at least one digit, one uppercase, one lowercase and one special character. """ node_type: str @@ -1493,7 +1493,7 @@ class CreateUserRequest: password: str """ - Password of the user you want to create. + Password of the user you want to create. Password must be between 8 and 128 characters, contain at least one digit, one uppercase, one lowercase and one special character. """ is_admin: bool @@ -2567,7 +2567,7 @@ class UpdateUserRequest: password: Optional[str] """ - Password of the database user. + Password of the database user. Password must be between 8 and 128 characters, contain at least one digit, one uppercase, one lowercase and one special character. """ is_admin: Optional[bool] diff --git a/scaleway/scaleway/rdb/v1/api.py b/scaleway/scaleway/rdb/v1/api.py index bc000cb3d..d5a34fcfb 100644 --- a/scaleway/scaleway/rdb/v1/api.py +++ b/scaleway/scaleway/rdb/v1/api.py @@ -989,7 +989,7 @@ def create_instance( Create a new Database Instance. You must set the `engine`, `user_name`, `password` and `node_type` parameters. Optionally, you can specify the volume type and size. :param engine: Database engine of the Database Instance (PostgreSQL, MySQL, ...). :param user_name: Username created when the Database Instance is created. - :param password: Password of the user. + :param password: Password of the user. Password must be between 8 and 128 characters, contain at least one digit, one uppercase, one lowercase and one special character. :param node_type: Type of node to use for the Database Instance. :param region: Region to target. If none is passed will use default region from the config. :param organization_id: Please use project_id instead. @@ -2305,7 +2305,7 @@ def create_user( Create a new user for a Database Instance. You must define the `name`, `password` and `is_admin` parameters. :param instance_id: UUID of the Database Instance in which you want to create a user. :param name: Name of the user you want to create. - :param password: Password of the user you want to create. + :param password: Password of the user you want to create. Password must be between 8 and 128 characters, contain at least one digit, one uppercase, one lowercase and one special character. :param is_admin: Defines whether the user will have administrative privileges. :param region: Region to target. If none is passed will use default region from the config. :return: :class:`User ` @@ -2359,7 +2359,7 @@ def update_user( :param instance_id: UUID of the Database Instance the user belongs to. :param name: Name of the database user. :param region: Region to target. If none is passed will use default region from the config. - :param password: Password of the database user. + :param password: Password of the database user. Password must be between 8 and 128 characters, contain at least one digit, one uppercase, one lowercase and one special character. :param is_admin: Defines whether or not this user got administrative privileges. :return: :class:`User ` diff --git a/scaleway/scaleway/rdb/v1/types.py b/scaleway/scaleway/rdb/v1/types.py index 054003fb6..19fcdb817 100644 --- a/scaleway/scaleway/rdb/v1/types.py +++ b/scaleway/scaleway/rdb/v1/types.py @@ -1347,7 +1347,7 @@ class CreateInstanceRequest: password: str """ - Password of the user. + Password of the user. Password must be between 8 and 128 characters, contain at least one digit, one uppercase, one lowercase and one special character. """ node_type: str @@ -1493,7 +1493,7 @@ class CreateUserRequest: password: str """ - Password of the user you want to create. + Password of the user you want to create. Password must be between 8 and 128 characters, contain at least one digit, one uppercase, one lowercase and one special character. """ is_admin: bool @@ -2567,7 +2567,7 @@ class UpdateUserRequest: password: Optional[str] """ - Password of the database user. + Password of the database user. Password must be between 8 and 128 characters, contain at least one digit, one uppercase, one lowercase and one special character. """ is_admin: Optional[bool]