CreateDatabaseConsoleDetails¶
- class oci.mysql.models.CreateDatabaseConsoleDetails(**kwargs)¶
Bases:
objectDetails required to configure the database console while creating a DB System.
Attributes:
A constant which can be used with the status property of a CreateDatabaseConsoleDetails.
A constant which can be used with the status property of a CreateDatabaseConsoleDetails.
Gets the port of this CreateDatabaseConsoleDetails.
[Required] Gets the status of this CreateDatabaseConsoleDetails.
Methods:
__init__(**kwargs)Initializes a new CreateDatabaseConsoleDetails object with values from keyword arguments.
- STATUS_DISABLED = 'DISABLED'¶
A constant which can be used with the status property of a CreateDatabaseConsoleDetails. This constant has a value of “DISABLED”
- STATUS_ENABLED = 'ENABLED'¶
A constant which can be used with the status property of a CreateDatabaseConsoleDetails. This constant has a value of “ENABLED”
- __init__(**kwargs)¶
Initializes a new CreateDatabaseConsoleDetails 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 CreateDatabaseConsoleDetails. Allowed values for this property are: “ENABLED”, “DISABLED”
port (int) – The value to assign to the port property of this CreateDatabaseConsoleDetails.
- property port¶
Gets the port of this CreateDatabaseConsoleDetails. 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 CreateDatabaseConsoleDetails.
- Return type
int
- property status¶
[Required] Gets the status of this CreateDatabaseConsoleDetails. Enable/disable the database console on the DB System.
Allowed values for this property are: “ENABLED”, “DISABLED”
- Returns
The status of this CreateDatabaseConsoleDetails.
- Return type
str