Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 1.36 KB

File metadata and controls

36 lines (27 loc) · 1.36 KB

DatabaseServer

Properties

Name Type Description Notes
id int ID of the database server [optional]
host str Database server host [optional]
port int Database server port [optional]
type str Database server type [optional]
status str Database server status [optional]
db_count int Database server database count [optional]
is_default bool Flag that server is default for servers of this type [optional]
is_local bool Flag that server is installed on local service node [optional]

Example

from plesk_client.models.database_server import DatabaseServer

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

# convert the object into a dict
database_server_dict = database_server_instance.to_dict()
# create an instance of DatabaseServer from a dict
database_server_from_dict = DatabaseServer.from_dict(database_server_dict)

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