import * as pulumi from "@pulumi/pulumi"; /** * This data source provides details about a specific Console History Content resource in Oracle Cloud Infrastructure Core service. * * Gets the actual console history data (not the metadata). * See [CaptureConsoleHistory](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/latest/ConsoleHistory/CaptureConsoleHistory) * for details about using the console history operations. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testConsoleHistoryData = oci.core.getConsoleHistoryData({ * consoleHistoryId: testConsoleHistory.id, * length: Number(consoleHistoryContentLength), * offset: Number(consoleHistoryContentOffset), * }); * ``` */ export declare function getConsoleHistoryData(args: GetConsoleHistoryDataArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getConsoleHistoryData. */ export interface GetConsoleHistoryDataArgs { /** * The OCID of the console history. */ consoleHistoryId: string; /** * Length of the snapshot data to retrieve. Cannot be less than 10240. */ length?: number; /** * Offset of the snapshot data to retrieve. */ offset?: number; } /** * A collection of values returned by getConsoleHistoryData. */ export interface GetConsoleHistoryDataResult { readonly consoleHistoryId: string; /** * The console history data. */ readonly data: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly length?: number; readonly offset?: number; } /** * This data source provides details about a specific Console History Content resource in Oracle Cloud Infrastructure Core service. * * Gets the actual console history data (not the metadata). * See [CaptureConsoleHistory](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/latest/ConsoleHistory/CaptureConsoleHistory) * for details about using the console history operations. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testConsoleHistoryData = oci.core.getConsoleHistoryData({ * consoleHistoryId: testConsoleHistory.id, * length: Number(consoleHistoryContentLength), * offset: Number(consoleHistoryContentOffset), * }); * ``` */ export declare function getConsoleHistoryDataOutput(args: GetConsoleHistoryDataOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getConsoleHistoryData. */ export interface GetConsoleHistoryDataOutputArgs { /** * The OCID of the console history. */ consoleHistoryId: pulumi.Input; /** * Length of the snapshot data to retrieve. Cannot be less than 10240. */ length?: pulumi.Input; /** * Offset of the snapshot data to retrieve. */ offset?: pulumi.Input; } //# sourceMappingURL=getConsoleHistoryData.d.ts.map