UpdateRestDetails

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

Bases: object

Details required to configure REST while updating a DB System.

Attributes

CONFIGURATION_DBSYSTEM_ONLY A constant which can be used with the configuration property of a UpdateRestDetails.
CONFIGURATION_DISABLED A constant which can be used with the configuration property of a UpdateRestDetails.
configuration [Required] Gets the configuration of this UpdateRestDetails.
port Gets the port of this UpdateRestDetails.

Methods

__init__(**kwargs) Initializes a new UpdateRestDetails object with values from keyword arguments.
CONFIGURATION_DBSYSTEM_ONLY = 'DBSYSTEM_ONLY'

A constant which can be used with the configuration property of a UpdateRestDetails. This constant has a value of “DBSYSTEM_ONLY”

CONFIGURATION_DISABLED = 'DISABLED'

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

__init__(**kwargs)

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

Parameters:
  • configuration (str) – The value to assign to the configuration property of this UpdateRestDetails. Allowed values for this property are: “DISABLED”, “DBSYSTEM_ONLY”
  • port (int) – The value to assign to the port property of this UpdateRestDetails.
configuration

[Required] Gets the configuration of this UpdateRestDetails. Select how REST is configured across the DB System instances.

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

Returns:The configuration of this UpdateRestDetails.
Return type:str
port

Gets the port of this UpdateRestDetails. The port for REST to listen on. Supported port numbers are 443 and from 1024 to 65535.

Returns:The port of this UpdateRestDetails.
Return type:int