Skip to main content

console_history_contents

Creates, updates, deletes, gets or lists a console_history_contents resource.

Overview​

Nameconsole_history_contents
TypeResource
Idoci.database.console_history_contents

Fields​

The following fields are returned by SELECT queries:

The console history content was retrieved.

NameDatatypeDescription

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectdbNodeId, consoleHistoryId, regionopc-request-idRetrieves the specified database node console history contents upto a megabyte.<br />

Parameters​

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
consoleHistoryIdstringThe OCID of the console history.
dbNodeIdstringThe database node [OCID](/Content/General/Concepts/identifiers.htm).
regionstringOCI region identifier (e.g. us-ashburn-1, ap-sydney-1); resolves from OCI_REGION when not supplied in the query. (default: us-ashburn-1, x-stackQL-envVar: OCI_REGION)
opc-request-idstringUnique identifier for the request.

SELECT examples​

Retrieves the specified database node console history contents upto a megabyte.<br />

SELECT
*
FROM oci.database.console_history_contents
WHERE dbNodeId = '{{ dbNodeId }}' -- required
AND consoleHistoryId = '{{ consoleHistoryId }}' -- required
AND region = '{{ region }}' -- required
AND opc-request-id = '{{ opc-request-id }}'
;