import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * This data source provides details about a specific Event resource in Oracle Cloud Infrastructure Os Management Hub service. * * Returns information about the specified event. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testEvent = oci.osmanagementhub.getEvent({ * eventId: testEventOciOsManagementHubEvent.id, * }); * ``` */ export declare function getEvent(args: GetEventArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getEvent. */ export interface GetEventArgs { /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the event. */ eventId: string; } /** * A collection of values returned by getEvent. */ export interface GetEventResult { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ readonly compartmentId: string; /** * Provides additional information for a management station event. */ readonly datas: outputs.OsManagementHub.GetEventData[]; /** * Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` */ readonly definedTags: { [key: string]: string; }; /** * Details of an event. */ readonly eventDetails: string; readonly eventId: string; /** * Summary of the event. */ readonly eventSummary: string; /** * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` */ readonly freeformTags: { [key: string]: string; }; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the event. */ readonly id: string; /** * Indicates whether the event occurred on a resource that is managed by the Autonomous Linux service. */ readonly isManagedByAutonomousLinux: boolean; /** * Describes the current state of the event in more detail. For example, the message can provide actionable information for a resource in the 'FAILED' state. */ readonly lifecycleDetails: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance or resource where the event occurred. */ readonly resourceId: string; /** * The current state of the event. */ readonly state: string; /** * Provides information about the system architecture and operating system. */ readonly systemDetails: outputs.OsManagementHub.GetEventSystemDetail[]; /** * System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ readonly systemTags: { [key: string]: string; }; /** * The date and time the Event was created, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` */ readonly timeCreated: string; /** * The date and time that the event occurred. */ readonly timeOccurred: string; /** * The date and time that the event was updated (in [RFC 3339](https://tools.ietf.org/html/rfc3339) format). Example: `2016-08-25T21:10:29.600Z` */ readonly timeUpdated: string; /** * Event type: * * `KERNEL_OOPS` - Used to identify a kernel panic condition event * * `KERNEL_CRASH` - Used to identify an internal fatal kernel error that cannot be safely recovered from * * `EXPLOIT_ATTEMPT` - Used to identify a known exploit detection as identified by Ksplice * * `SOFTWARE_UPDATE` - Software updates - Packages * * `KSPLICE_UPDATE` - Ksplice updates * * `SOFTWARE_SOURCE` - Software source * * `AGENT` - Agent * * `MANAGEMENT_STATION` - Management Station * * `SYSADMIN` - Used to identify attempts on fixing agent errors on the instance * * `REBOOT` - Reboot */ readonly type: string; } /** * This data source provides details about a specific Event resource in Oracle Cloud Infrastructure Os Management Hub service. * * Returns information about the specified event. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testEvent = oci.osmanagementhub.getEvent({ * eventId: testEventOciOsManagementHubEvent.id, * }); * ``` */ export declare function getEventOutput(args: GetEventOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getEvent. */ export interface GetEventOutputArgs { /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the event. */ eventId: pulumi.Input; } //# sourceMappingURL=getEvent.d.ts.map