Skip to main content

console_history_contents

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

Overview​

Nameconsole_history_contents
TypeResource
Idoci.compute.console_history_contents

Fields​

The following fields are returned by SELECT queries:

The information is being retrieved.

NameDatatypeDescription

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectinstanceConsoleHistoryId, regionoffset, lengthGets the actual console history data (not the metadata).<br />See [CaptureConsoleHistory](#/en/iaas/latest/ConsoleHistory/CaptureConsoleHistory)<br />for details about using the console history operations.<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
instanceConsoleHistoryIdstringThe OCID of the console history.
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)
lengthinteger (int32)Length of the snapshot data to retrieve.
offsetinteger (int32)Offset of the snapshot data to retrieve.

SELECT examples​

Gets the actual console history data (not the metadata).<br />See [CaptureConsoleHistory](#/en/iaas/latest/ConsoleHistory/CaptureConsoleHistory)<br />for details about using the console history operations.<br />

SELECT
*
FROM oci.compute.console_history_contents
WHERE instanceConsoleHistoryId = '{{ instanceConsoleHistoryId }}' -- required
AND region = '{{ region }}' -- required
AND offset = '{{ offset }}'
AND length = '{{ length }}'
;