Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 1.6 KB

File metadata and controls

32 lines (23 loc) · 1.6 KB

PostgresUser

Credentials for the primary database user to be created.

Properties

Name Type Description Notes
username str The username of the master database user. Must be 16 characters or less and must include only alphanumeric characters (`[A-Za-z0-9_]`) and underscores (`_`).
password str The password for the master database user. Must meet the following requirements: - At least 8 characters long. - Contains at least one lowercase letter. - Contains at least one uppercase letter. - Contains at least one digit (0-9). - Contains at least one special character from the set: @$!%*?&
database str The name of the initial database to be created. Must be 63 characters or less and must include only alphanumeric characters (`[a-z0-9A-Z]`) and underscores (`_`).

Example

from ionoscloud_dbaas_postgres.models.postgres_user import PostgresUser

# TODO update the JSON string below
json = "{}"
# create an instance of PostgresUser from a JSON string
postgres_user_instance = PostgresUser.from_json(json)
# print the JSON string representation of the object
print(PostgresUser.to_json())

# convert the object into a dict
postgres_user_dict = postgres_user_instance.to_dict()
# create an instance of PostgresUser from a dict
postgres_user_from_dict = PostgresUser.from_dict(postgres_user_dict)

[Back to Model list] [Back to API list] [Back to README]