DatabaseTool¶
-
class
oci.database.models.
DatabaseTool
(**kwargs)¶ Bases:
object
Summary of database tools of autonomous database.
Attributes
NAME_APEX
A constant which can be used with the name property of a DatabaseTool. NAME_DATABASE_ACTIONS
A constant which can be used with the name property of a DatabaseTool. NAME_DATA_TRANSFORMS
A constant which can be used with the name property of a DatabaseTool. NAME_GRAPH_STUDIO
A constant which can be used with the name property of a DatabaseTool. NAME_MONGODB_API
A constant which can be used with the name property of a DatabaseTool. NAME_OML
A constant which can be used with the name property of a DatabaseTool. NAME_ORDS
A constant which can be used with the name property of a DatabaseTool. compute_count
Gets the compute_count of this DatabaseTool. is_enabled
Gets the is_enabled of this DatabaseTool. max_idle_time_in_minutes
Gets the max_idle_time_in_minutes of this DatabaseTool. name
[Required] Gets the name of this DatabaseTool. Methods
__init__
(**kwargs)Initializes a new DatabaseTool object with values from keyword arguments. -
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_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_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”
-
__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”, ‘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.
-
compute_count
¶ Gets the compute_count of this DatabaseTool. Compute used by database tools.
Returns: The compute_count of this DatabaseTool. Return type: float
-
is_enabled
¶ Gets the is_enabled of this DatabaseTool. Indicates whether tool is enabled.
Returns: The is_enabled of this DatabaseTool. Return type: bool
-
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
-
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”, ‘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
-