CreateRestDetails

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

Bases: object

Details required to configure REST while creating a DB System.

Attributes:

CONFIGURATION_DBSYSTEM_ONLY

A constant which can be used with the configuration property of a CreateRestDetails.

CONFIGURATION_DISABLED

A constant which can be used with the configuration property of a CreateRestDetails.

configuration

[Required] Gets the configuration of this CreateRestDetails.

port

Gets the port of this CreateRestDetails.

Methods:

__init__(**kwargs)

Initializes a new CreateRestDetails object with values from keyword arguments.

CONFIGURATION_DBSYSTEM_ONLY = 'DBSYSTEM_ONLY'

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

CONFIGURATION_DISABLED = 'DISABLED'

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

__init__(**kwargs)

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

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

property configuration

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

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

Returns

The configuration of this CreateRestDetails.

Return type

str

property port

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

Returns

The port of this CreateRestDetails.

Return type

int