UpdateDatabaseConsoleDetails

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

Bases: object

Details required to configure the database console while updating a DB System.

Attributes:

STATUS_DISABLED

A constant which can be used with the status property of a UpdateDatabaseConsoleDetails.

STATUS_ENABLED

A constant which can be used with the status property of a UpdateDatabaseConsoleDetails.

port

Gets the port of this UpdateDatabaseConsoleDetails.

status

[Required] Gets the status of this UpdateDatabaseConsoleDetails.

Methods:

__init__(**kwargs)

Initializes a new UpdateDatabaseConsoleDetails object with values from keyword arguments.

STATUS_DISABLED = 'DISABLED'

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

STATUS_ENABLED = 'ENABLED'

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

__init__(**kwargs)

Initializes a new UpdateDatabaseConsoleDetails 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 UpdateDatabaseConsoleDetails. Allowed values for this property are: “ENABLED”, “DISABLED”

  • port (int) – The value to assign to the port property of this UpdateDatabaseConsoleDetails.

property port

Gets the port of this UpdateDatabaseConsoleDetails. 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 UpdateDatabaseConsoleDetails.

Return type

int

property status

[Required] Gets the status of this UpdateDatabaseConsoleDetails. Enable/disable the database console on the DB System.

Allowed values for this property are: “ENABLED”, “DISABLED”

Returns

The status of this UpdateDatabaseConsoleDetails.

Return type

str