RestDetails¶
- class oci.mysql.models.RestDetails(**kwargs)¶
Bases:
objectREST configuration details.
Attributes:
A constant which can be used with the configuration property of a RestDetails.
A constant which can be used with the configuration property of a RestDetails.
[Required] Gets the configuration of this RestDetails.
Gets the port of this RestDetails.
Methods:
__init__(**kwargs)Initializes a new RestDetails object with values from keyword arguments.
- CONFIGURATION_DBSYSTEM_ONLY = 'DBSYSTEM_ONLY'¶
A constant which can be used with the configuration property of a RestDetails. This constant has a value of “DBSYSTEM_ONLY”
- CONFIGURATION_DISABLED = 'DISABLED'¶
A constant which can be used with the configuration property of a RestDetails. This constant has a value of “DISABLED”
- __init__(**kwargs)¶
Initializes a new RestDetails 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 RestDetails. Allowed values for this property are: “DISABLED”, “DBSYSTEM_ONLY”, ‘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 RestDetails.
- property configuration¶
[Required] Gets the configuration of this RestDetails. Select how REST is configured across the DB System instances.
Allowed values for this property are: “DISABLED”, “DBSYSTEM_ONLY”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The configuration of this RestDetails.
- Return type
str
- property port¶
Gets the port of this RestDetails. The port for REST to listen on. Supported port numbers are 443 and from 1024 to 65535.
- Returns
The port of this RestDetails.
- Return type
int