DatabaseTool¶
- class oci.database.models.DatabaseTool(**kwargs)¶
Bases:
objectSummary of database tools of Autonomous AI Database.
Attributes:
A constant which can be used with the name property of a DatabaseTool.
A constant which can be used with the name property of a DatabaseTool.
A constant which can be used with the name property of a DatabaseTool.
A constant which can be used with the name property of a DatabaseTool.
A constant which can be used with the name property of a DatabaseTool.
A constant which can be used with the name property of a DatabaseTool.
A constant which can be used with the name property of a DatabaseTool.
A constant which can be used with the name property of a DatabaseTool.
A constant which can be used with the name property of a DatabaseTool.
A constant which can be used with the name property of a DatabaseTool.
A constant which can be used with the name property of a DatabaseTool.
Gets the compute_count of this DatabaseTool.
Gets the estimated_concurrent_sessions of this DatabaseTool.
Gets the is_enabled of this DatabaseTool.
Gets the max_idle_time_in_minutes of this DatabaseTool.
[Required] Gets the name of this DatabaseTool.
Methods:
__init__(**kwargs)Initializes a new DatabaseTool object with values from keyword arguments.
- NAME_A2_A = 'A2A'¶
A constant which can be used with the name property of a DatabaseTool. This constant has a value of “A2A”
- NAME_APEX = 'APEX'¶
A constant which can be used with the name property of a DatabaseTool. This constant has a value of “APEX”
- NAME_DATABASE_ACTIONS = 'DATABASE_ACTIONS'¶
A constant which can be used with the name property of a DatabaseTool. This constant has a value of “DATABASE_ACTIONS”
- NAME_DATA_TRANSFORMS = 'DATA_TRANSFORMS'¶
A constant which can be used with the name property of a DatabaseTool. This constant has a value of “DATA_TRANSFORMS”
- NAME_ESSBASE = 'ESSBASE'¶
A constant which can be used with the name property of a DatabaseTool. This constant has a value of “ESSBASE”
- NAME_GRAPH_STUDIO = 'GRAPH_STUDIO'¶
A constant which can be used with the name property of a DatabaseTool. This constant has a value of “GRAPH_STUDIO”
- NAME_MCP = 'MCP'¶
A constant which can be used with the name property of a DatabaseTool. This constant has a value of “MCP”
- NAME_MONGODB_API = 'MONGODB_API'¶
A constant which can be used with the name property of a DatabaseTool. This constant has a value of “MONGODB_API”
- NAME_OML = 'OML'¶
A constant which can be used with the name property of a DatabaseTool. This constant has a value of “OML”
- NAME_ORDS = 'ORDS'¶
A constant which can be used with the name property of a DatabaseTool. This constant has a value of “ORDS”
- NAME_SPATIAL_STUDIO = 'SPATIAL_STUDIO'¶
A constant which can be used with the name property of a DatabaseTool. This constant has a value of “SPATIAL_STUDIO”
- __init__(**kwargs)¶
Initializes a new DatabaseTool object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
name (str) – The value to assign to the name property of this DatabaseTool. Allowed values for this property are: “APEX”, “DATABASE_ACTIONS”, “GRAPH_STUDIO”, “OML”, “DATA_TRANSFORMS”, “ORDS”, “MONGODB_API”, “SPATIAL_STUDIO”, “ESSBASE”, “A2A”, “MCP”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
is_enabled (bool) – The value to assign to the is_enabled property of this DatabaseTool.
compute_count (float) – The value to assign to the compute_count property of this DatabaseTool.
max_idle_time_in_minutes (int) – The value to assign to the max_idle_time_in_minutes property of this DatabaseTool.
estimated_concurrent_sessions (int) – The value to assign to the estimated_concurrent_sessions property of this DatabaseTool.
- property compute_count¶
Gets the compute_count of this DatabaseTool. Compute used by database tools.
- Returns
The compute_count of this DatabaseTool.
- Return type
float
- property estimated_concurrent_sessions¶
Gets the estimated_concurrent_sessions of this DatabaseTool. Specifies the estimated number of concurrent user sessions (range 1–64 for Graph, 1–256 for OML, default 1). applies only to OML and Graph tools—not applicable to DLA, Data Transforms, or Spatial.
- Returns
The estimated_concurrent_sessions of this DatabaseTool.
- Return type
int
- property is_enabled¶
Gets the is_enabled of this DatabaseTool. Indicates whether tool is enabled.
- Returns
The is_enabled of this DatabaseTool.
- Return type
bool
- property max_idle_time_in_minutes¶
Gets the max_idle_time_in_minutes of this DatabaseTool. The max idle time, in minutes, after which the VM used by database tools will be terminated.
- Returns
The max_idle_time_in_minutes of this DatabaseTool.
- Return type
int
- property name¶
[Required] Gets the name of this DatabaseTool. Name of database tool.
Allowed values for this property are: “APEX”, “DATABASE_ACTIONS”, “GRAPH_STUDIO”, “OML”, “DATA_TRANSFORMS”, “ORDS”, “MONGODB_API”, “SPATIAL_STUDIO”, “ESSBASE”, “A2A”, “MCP”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The name of this DatabaseTool.
- Return type
str