console_history_contents
Creates, updates, deletes, gets or lists a console_history_contents resource.
Overview​
| Name | console_history_contents |
| Type | Resource |
| Id | oci.compute.console_history_contents |
Fields​
The following fields are returned by SELECT queries:
- get
The information is being retrieved.
| Name | Datatype | Description |
|---|
Methods​
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | instanceConsoleHistoryId, region | offset, length | 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 /> |
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.
| Name | Datatype | Description |
|---|---|---|
instanceConsoleHistoryId | string | The OCID of the console history. |
region | string | OCI 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) |
length | integer (int32) | Length of the snapshot data to retrieve. |
offset | integer (int32) | Offset of the snapshot data to retrieve. |
SELECT examples​
- get
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 }}'
;