You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: scaleway-async/scaleway_async/rdb/v1/api.py
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -993,7 +993,7 @@ async def create_instance(
993
993
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.
994
994
:param engine: Database engine of the Database Instance (PostgreSQL, MySQL, ...).
995
995
:param user_name: Username created when the Database Instance is created.
996
-
:param password: Password of the user.
996
+
: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.
997
997
:param node_type: Type of node to use for the Database Instance.
998
998
:param region: Region to target. If none is passed will use default region from the config.
999
999
:param organization_id: Please use project_id instead.
@@ -2313,7 +2313,7 @@ async def create_user(
2313
2313
Create a new user for a Database Instance. You must define the `name`, `password` and `is_admin` parameters.
2314
2314
:param instance_id: UUID of the Database Instance in which you want to create a user.
2315
2315
:param name: Name of the user you want to create.
2316
-
:param password: Password of the user you want to create.
2316
+
: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.
2317
2317
:param is_admin: Defines whether the user will have administrative privileges.
2318
2318
:param region: Region to target. If none is passed will use default region from the config.
2319
2319
:return: :class:`User <User>`
@@ -2367,7 +2367,7 @@ async def update_user(
2367
2367
:param instance_id: UUID of the Database Instance the user belongs to.
2368
2368
:param name: Name of the database user.
2369
2369
:param region: Region to target. If none is passed will use default region from the config.
2370
-
:param password: Password of the database user.
2370
+
: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.
2371
2371
:param is_admin: Defines whether or not this user got administrative privileges.
Copy file name to clipboardExpand all lines: scaleway-async/scaleway_async/rdb/v1/types.py
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1347,7 +1347,7 @@ class CreateInstanceRequest:
1347
1347
1348
1348
password: str
1349
1349
"""
1350
-
Password of the user.
1350
+
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.
1351
1351
"""
1352
1352
1353
1353
node_type: str
@@ -1493,7 +1493,7 @@ class CreateUserRequest:
1493
1493
1494
1494
password: str
1495
1495
"""
1496
-
Password of the user you want to create.
1496
+
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.
1497
1497
"""
1498
1498
1499
1499
is_admin: bool
@@ -2567,7 +2567,7 @@ class UpdateUserRequest:
2567
2567
2568
2568
password: Optional[str]
2569
2569
"""
2570
-
Password of the database user.
2570
+
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.
Copy file name to clipboardExpand all lines: scaleway/scaleway/rdb/v1/api.py
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -989,7 +989,7 @@ def create_instance(
989
989
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.
990
990
:param engine: Database engine of the Database Instance (PostgreSQL, MySQL, ...).
991
991
:param user_name: Username created when the Database Instance is created.
992
-
:param password: Password of the user.
992
+
: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.
993
993
:param node_type: Type of node to use for the Database Instance.
994
994
:param region: Region to target. If none is passed will use default region from the config.
995
995
:param organization_id: Please use project_id instead.
@@ -2305,7 +2305,7 @@ def create_user(
2305
2305
Create a new user for a Database Instance. You must define the `name`, `password` and `is_admin` parameters.
2306
2306
:param instance_id: UUID of the Database Instance in which you want to create a user.
2307
2307
:param name: Name of the user you want to create.
2308
-
:param password: Password of the user you want to create.
2308
+
: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.
2309
2309
:param is_admin: Defines whether the user will have administrative privileges.
2310
2310
:param region: Region to target. If none is passed will use default region from the config.
2311
2311
:return: :class:`User <User>`
@@ -2359,7 +2359,7 @@ def update_user(
2359
2359
:param instance_id: UUID of the Database Instance the user belongs to.
2360
2360
:param name: Name of the database user.
2361
2361
:param region: Region to target. If none is passed will use default region from the config.
2362
-
:param password: Password of the database user.
2362
+
: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.
2363
2363
:param is_admin: Defines whether or not this user got administrative privileges.
Copy file name to clipboardExpand all lines: scaleway/scaleway/rdb/v1/types.py
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1347,7 +1347,7 @@ class CreateInstanceRequest:
1347
1347
1348
1348
password: str
1349
1349
"""
1350
-
Password of the user.
1350
+
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.
1351
1351
"""
1352
1352
1353
1353
node_type: str
@@ -1493,7 +1493,7 @@ class CreateUserRequest:
1493
1493
1494
1494
password: str
1495
1495
"""
1496
-
Password of the user you want to create.
1496
+
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.
1497
1497
"""
1498
1498
1499
1499
is_admin: bool
@@ -2567,7 +2567,7 @@ class UpdateUserRequest:
2567
2567
2568
2568
password: Optional[str]
2569
2569
"""
2570
-
Password of the database user.
2570
+
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.
0 commit comments