import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This resource provides the Event resource in Oracle Cloud Infrastructure Os Management Hub service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/os-management/latest/Event * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/os_management_hub * * Updates the tags for an event. * * ## Import * * Events can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:OsManagementHub/event:Event test_event "id" * ``` */ export declare class Event extends pulumi.CustomResource { /** * Get an existing Event resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: EventState, opts?: pulumi.CustomResourceOptions): Event; /** * Returns true if the given object is an instance of Event. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is Event; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ readonly compartmentId: pulumi.Output; /** * Provides additional information for a management station event. */ readonly datas: pulumi.Output; /** * (Updatable) 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: pulumi.Output<{ [key: string]: string; }>; /** * Details of an event. */ readonly eventDetails: pulumi.Output; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the event. */ readonly eventId: pulumi.Output; /** * Summary of the event. */ readonly eventSummary: pulumi.Output; /** * (Updatable) 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"}` * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ readonly freeformTags: pulumi.Output<{ [key: string]: string; }>; /** * Indicates whether the event occurred on a resource that is managed by the Autonomous Linux service. */ readonly isManagedByAutonomousLinux: pulumi.Output; /** * 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: pulumi.Output; /** * 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: pulumi.Output; /** * The current state of the event. */ readonly state: pulumi.Output; /** * Provides information about the system architecture and operating system. */ readonly systemDetails: pulumi.Output; /** * System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ readonly systemTags: pulumi.Output<{ [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: pulumi.Output; /** * The date and time that the event occurred. */ readonly timeOccurred: pulumi.Output; /** * 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: pulumi.Output; /** * 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: pulumi.Output; /** * Create a Event resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: EventArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Event resources. */ export interface EventState { /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ compartmentId?: pulumi.Input; /** * Provides additional information for a management station event. */ datas?: pulumi.Input[] | undefined>; /** * (Updatable) 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"}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * Details of an event. */ eventDetails?: pulumi.Input; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the event. */ eventId?: pulumi.Input; /** * Summary of the event. */ eventSummary?: pulumi.Input; /** * (Updatable) 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"}` * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * Indicates whether the event occurred on a resource that is managed by the Autonomous Linux service. */ isManagedByAutonomousLinux?: pulumi.Input; /** * 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. */ lifecycleDetails?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance or resource where the event occurred. */ resourceId?: pulumi.Input; /** * The current state of the event. */ state?: pulumi.Input; /** * Provides information about the system architecture and operating system. */ systemDetails?: pulumi.Input[] | undefined>; /** * System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ systemTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * 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` */ timeCreated?: pulumi.Input; /** * The date and time that the event occurred. */ timeOccurred?: pulumi.Input; /** * 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` */ timeUpdated?: pulumi.Input; /** * 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 */ type?: pulumi.Input; } /** * The set of arguments for constructing a Event resource. */ export interface EventArgs { /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ compartmentId?: pulumi.Input; /** * (Updatable) 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"}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the event. */ eventId: pulumi.Input; /** * (Updatable) 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"}` * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; } //# sourceMappingURL=event.d.ts.map