import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This data source provides the list of Console Histories in Oracle Cloud Infrastructure Core service. * * Lists the console history metadata for the specified compartment or instance. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testConsoleHistories = oci.core.getConsoleHistories({ * compartmentId: compartmentId, * availabilityDomain: consoleHistoryAvailabilityDomain, * instanceId: testInstance.id, * state: consoleHistoryState, * }); * ``` */ export declare function getConsoleHistories(args: GetConsoleHistoriesArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getConsoleHistories. */ export interface GetConsoleHistoriesArgs { /** * The name of the availability domain. Example: `Uocm:PHX-AD-1` */ availabilityDomain?: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ compartmentId: string; filters?: inputs.Core.GetConsoleHistoriesFilter[]; /** * The OCID of the instance. */ instanceId?: string; /** * A filter to only return resources that match the given lifecycle state. The state value is case-insensitive. */ state?: string; } /** * A collection of values returned by getConsoleHistories. */ export interface GetConsoleHistoriesResult { /** * The availability domain of an instance. Example: `Uocm:PHX-AD-1` */ readonly availabilityDomain?: string; /** * The OCID of the compartment. */ readonly compartmentId: string; /** * The list of console_histories. */ readonly consoleHistories: outputs.Core.GetConsoleHistoriesConsoleHistory[]; readonly filters?: outputs.Core.GetConsoleHistoriesFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The OCID of the instance this console history was fetched from. */ readonly instanceId?: string; /** * The current state of the console history. */ readonly state?: string; } /** * This data source provides the list of Console Histories in Oracle Cloud Infrastructure Core service. * * Lists the console history metadata for the specified compartment or instance. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testConsoleHistories = oci.core.getConsoleHistories({ * compartmentId: compartmentId, * availabilityDomain: consoleHistoryAvailabilityDomain, * instanceId: testInstance.id, * state: consoleHistoryState, * }); * ``` */ export declare function getConsoleHistoriesOutput(args: GetConsoleHistoriesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getConsoleHistories. */ export interface GetConsoleHistoriesOutputArgs { /** * The name of the availability domain. Example: `Uocm:PHX-AD-1` */ availabilityDomain?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ compartmentId: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * The OCID of the instance. */ instanceId?: pulumi.Input; /** * A filter to only return resources that match the given lifecycle state. The state value is case-insensitive. */ state?: pulumi.Input; } //# sourceMappingURL=getConsoleHistories.d.ts.map