DatabaseConsoleDetails

class oci.mysql.models.DatabaseConsoleDetails(**kwargs)

Bases: object

Database console configuration details.

Attributes

STATUS_DISABLED A constant which can be used with the status property of a DatabaseConsoleDetails.
STATUS_ENABLED A constant which can be used with the status property of a DatabaseConsoleDetails.
port Gets the port of this DatabaseConsoleDetails.
status [Required] Gets the status of this DatabaseConsoleDetails.

Methods

__init__(**kwargs) Initializes a new DatabaseConsoleDetails object with values from keyword arguments.
STATUS_DISABLED = 'DISABLED'

A constant which can be used with the status property of a DatabaseConsoleDetails. This constant has a value of “DISABLED”

STATUS_ENABLED = 'ENABLED'

A constant which can be used with the status property of a DatabaseConsoleDetails. This constant has a value of “ENABLED”

__init__(**kwargs)

Initializes a new DatabaseConsoleDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • status (str) – The value to assign to the status property of this DatabaseConsoleDetails. Allowed values for this property are: “ENABLED”, “DISABLED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • port (int) – The value to assign to the port property of this DatabaseConsoleDetails.
port

Gets the port of this DatabaseConsoleDetails. The port on which the database console can be accessed. Supported port numbers are 443 and from 1024 to 65535.

Returns:The port of this DatabaseConsoleDetails.
Return type:int
status

[Required] Gets the status of this DatabaseConsoleDetails. Whether the database console is enabled on the DB System.

Allowed values for this property are: “ENABLED”, “DISABLED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The status of this DatabaseConsoleDetails.
Return type:str