1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. OsManagementHub
  5. getEvents
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi

oci.OsManagementHub.getEvents

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi

    This data source provides the list of Events in Oracle Cloud Infrastructure Os Management Hub service.

    Lists events that match the specified criteria, such as compartment, state, and event type.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testEvents = oci.OsManagementHub.getEvents({
        compartmentId: compartmentId,
        eventFingerprint: eventEventFingerprint,
        eventSummary: eventEventSummary,
        eventSummaryContains: eventEventSummaryContains,
        id: eventId,
        isManagedByAutonomousLinux: eventIsManagedByAutonomousLinux,
        resourceId: testResource.id,
        state: eventState,
        timeCreatedGreaterThanOrEqualTo: eventTimeCreatedGreaterThanOrEqualTo,
        timeCreatedLessThan: eventTimeCreatedLessThan,
        types: eventType,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_events = oci.OsManagementHub.get_events(compartment_id=compartment_id,
        event_fingerprint=event_event_fingerprint,
        event_summary=event_event_summary,
        event_summary_contains=event_event_summary_contains,
        id=event_id,
        is_managed_by_autonomous_linux=event_is_managed_by_autonomous_linux,
        resource_id=test_resource["id"],
        state=event_state,
        time_created_greater_than_or_equal_to=event_time_created_greater_than_or_equal_to,
        time_created_less_than=event_time_created_less_than,
        types=event_type)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/go/oci/OsManagementHub"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := OsManagementHub.GetEvents(ctx, &osmanagementhub.GetEventsArgs{
    			CompartmentId:                   pulumi.StringRef(compartmentId),
    			EventFingerprint:                pulumi.StringRef(eventEventFingerprint),
    			EventSummary:                    pulumi.StringRef(eventEventSummary),
    			EventSummaryContains:            pulumi.StringRef(eventEventSummaryContains),
    			Id:                              pulumi.StringRef(eventId),
    			IsManagedByAutonomousLinux:      pulumi.BoolRef(eventIsManagedByAutonomousLinux),
    			ResourceId:                      pulumi.StringRef(testResource.Id),
    			State:                           pulumi.StringRef(eventState),
    			TimeCreatedGreaterThanOrEqualTo: pulumi.StringRef(eventTimeCreatedGreaterThanOrEqualTo),
    			TimeCreatedLessThan:             pulumi.StringRef(eventTimeCreatedLessThan),
    			Types:                           eventType,
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Oci = Pulumi.Oci;
    
    return await Deployment.RunAsync(() => 
    {
        var testEvents = Oci.OsManagementHub.GetEvents.Invoke(new()
        {
            CompartmentId = compartmentId,
            EventFingerprint = eventEventFingerprint,
            EventSummary = eventEventSummary,
            EventSummaryContains = eventEventSummaryContains,
            Id = eventId,
            IsManagedByAutonomousLinux = eventIsManagedByAutonomousLinux,
            ResourceId = testResource.Id,
            State = eventState,
            TimeCreatedGreaterThanOrEqualTo = eventTimeCreatedGreaterThanOrEqualTo,
            TimeCreatedLessThan = eventTimeCreatedLessThan,
            Types = eventType,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.OsManagementHub.OsManagementHubFunctions;
    import com.pulumi.oci.OsManagementHub.inputs.GetEventsArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var testEvents = OsManagementHubFunctions.getEvents(GetEventsArgs.builder()
                .compartmentId(compartmentId)
                .eventFingerprint(eventEventFingerprint)
                .eventSummary(eventEventSummary)
                .eventSummaryContains(eventEventSummaryContains)
                .id(eventId)
                .isManagedByAutonomousLinux(eventIsManagedByAutonomousLinux)
                .resourceId(testResource.id())
                .state(eventState)
                .timeCreatedGreaterThanOrEqualTo(eventTimeCreatedGreaterThanOrEqualTo)
                .timeCreatedLessThan(eventTimeCreatedLessThan)
                .types(eventType)
                .build());
    
        }
    }
    
    variables:
      testEvents:
        fn::invoke:
          Function: oci:OsManagementHub:getEvents
          Arguments:
            compartmentId: ${compartmentId}
            eventFingerprint: ${eventEventFingerprint}
            eventSummary: ${eventEventSummary}
            eventSummaryContains: ${eventEventSummaryContains}
            id: ${eventId}
            isManagedByAutonomousLinux: ${eventIsManagedByAutonomousLinux}
            resourceId: ${testResource.id}
            state: ${eventState}
            timeCreatedGreaterThanOrEqualTo: ${eventTimeCreatedGreaterThanOrEqualTo}
            timeCreatedLessThan: ${eventTimeCreatedLessThan}
            types: ${eventType}
    

    Using getEvents

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getEvents(args: GetEventsArgs, opts?: InvokeOptions): Promise<GetEventsResult>
    function getEventsOutput(args: GetEventsOutputArgs, opts?: InvokeOptions): Output<GetEventsResult>
    def get_events(compartment_id: Optional[str] = None,
                   event_fingerprint: Optional[str] = None,
                   event_summary: Optional[str] = None,
                   event_summary_contains: Optional[str] = None,
                   filters: Optional[Sequence[_osmanagementhub.GetEventsFilter]] = None,
                   id: Optional[str] = None,
                   is_managed_by_autonomous_linux: Optional[bool] = None,
                   resource_id: Optional[str] = None,
                   state: Optional[str] = None,
                   time_created_greater_than_or_equal_to: Optional[str] = None,
                   time_created_less_than: Optional[str] = None,
                   types: Optional[Sequence[str]] = None,
                   opts: Optional[InvokeOptions] = None) -> GetEventsResult
    def get_events_output(compartment_id: Optional[pulumi.Input[str]] = None,
                   event_fingerprint: Optional[pulumi.Input[str]] = None,
                   event_summary: Optional[pulumi.Input[str]] = None,
                   event_summary_contains: Optional[pulumi.Input[str]] = None,
                   filters: Optional[pulumi.Input[Sequence[pulumi.Input[_osmanagementhub.GetEventsFilterArgs]]]] = None,
                   id: Optional[pulumi.Input[str]] = None,
                   is_managed_by_autonomous_linux: Optional[pulumi.Input[bool]] = None,
                   resource_id: Optional[pulumi.Input[str]] = None,
                   state: Optional[pulumi.Input[str]] = None,
                   time_created_greater_than_or_equal_to: Optional[pulumi.Input[str]] = None,
                   time_created_less_than: Optional[pulumi.Input[str]] = None,
                   types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                   opts: Optional[InvokeOptions] = None) -> Output[GetEventsResult]
    func GetEvents(ctx *Context, args *GetEventsArgs, opts ...InvokeOption) (*GetEventsResult, error)
    func GetEventsOutput(ctx *Context, args *GetEventsOutputArgs, opts ...InvokeOption) GetEventsResultOutput

    > Note: This function is named GetEvents in the Go SDK.

    public static class GetEvents 
    {
        public static Task<GetEventsResult> InvokeAsync(GetEventsArgs args, InvokeOptions? opts = null)
        public static Output<GetEventsResult> Invoke(GetEventsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetEventsResult> getEvents(GetEventsArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:OsManagementHub/getEvents:getEvents
      arguments:
        # arguments dictionary

    The following arguments are supported:

    CompartmentId string
    The OCID of the compartment that contains the resources to list. This filter returns only resources contained within the specified compartment.
    EventFingerprint string
    The eventFingerprint of the KernelEventData.
    EventSummary string
    A filter to return only events whose summary matches the given value.
    EventSummaryContains string
    A filter to return only events with a summary that contains the value provided.
    Filters List<GetEventsFilter>
    Id string
    The OCID of the event.
    IsManagedByAutonomousLinux bool
    Indicates whether to list only resources managed by the Autonomous Linux service.
    ResourceId string
    The OCID of the resource. This filter returns resources associated with the specified resource.
    State string
    A filter to return only events that match the state provided. The state value is case-insensitive.
    TimeCreatedGreaterThanOrEqualTo string
    A filter that returns events that occurred on or after the date provided. Example: 2016-08-25T21:10:29.600Z
    TimeCreatedLessThan string
    A filter that returns events that occurred on or before the date provided. Example: 2016-08-25T21:10:29.600Z
    Types List<string>
    A filter to return only resources whose type matches the given value.
    CompartmentId string
    The OCID of the compartment that contains the resources to list. This filter returns only resources contained within the specified compartment.
    EventFingerprint string
    The eventFingerprint of the KernelEventData.
    EventSummary string
    A filter to return only events whose summary matches the given value.
    EventSummaryContains string
    A filter to return only events with a summary that contains the value provided.
    Filters []GetEventsFilter
    Id string
    The OCID of the event.
    IsManagedByAutonomousLinux bool
    Indicates whether to list only resources managed by the Autonomous Linux service.
    ResourceId string
    The OCID of the resource. This filter returns resources associated with the specified resource.
    State string
    A filter to return only events that match the state provided. The state value is case-insensitive.
    TimeCreatedGreaterThanOrEqualTo string
    A filter that returns events that occurred on or after the date provided. Example: 2016-08-25T21:10:29.600Z
    TimeCreatedLessThan string
    A filter that returns events that occurred on or before the date provided. Example: 2016-08-25T21:10:29.600Z
    Types []string
    A filter to return only resources whose type matches the given value.
    compartmentId String
    The OCID of the compartment that contains the resources to list. This filter returns only resources contained within the specified compartment.
    eventFingerprint String
    The eventFingerprint of the KernelEventData.
    eventSummary String
    A filter to return only events whose summary matches the given value.
    eventSummaryContains String
    A filter to return only events with a summary that contains the value provided.
    filters List<GetEventsFilter>
    id String
    The OCID of the event.
    isManagedByAutonomousLinux Boolean
    Indicates whether to list only resources managed by the Autonomous Linux service.
    resourceId String
    The OCID of the resource. This filter returns resources associated with the specified resource.
    state String
    A filter to return only events that match the state provided. The state value is case-insensitive.
    timeCreatedGreaterThanOrEqualTo String
    A filter that returns events that occurred on or after the date provided. Example: 2016-08-25T21:10:29.600Z
    timeCreatedLessThan String
    A filter that returns events that occurred on or before the date provided. Example: 2016-08-25T21:10:29.600Z
    types List<String>
    A filter to return only resources whose type matches the given value.
    compartmentId string
    The OCID of the compartment that contains the resources to list. This filter returns only resources contained within the specified compartment.
    eventFingerprint string
    The eventFingerprint of the KernelEventData.
    eventSummary string
    A filter to return only events whose summary matches the given value.
    eventSummaryContains string
    A filter to return only events with a summary that contains the value provided.
    filters GetEventsFilter[]
    id string
    The OCID of the event.
    isManagedByAutonomousLinux boolean
    Indicates whether to list only resources managed by the Autonomous Linux service.
    resourceId string
    The OCID of the resource. This filter returns resources associated with the specified resource.
    state string
    A filter to return only events that match the state provided. The state value is case-insensitive.
    timeCreatedGreaterThanOrEqualTo string
    A filter that returns events that occurred on or after the date provided. Example: 2016-08-25T21:10:29.600Z
    timeCreatedLessThan string
    A filter that returns events that occurred on or before the date provided. Example: 2016-08-25T21:10:29.600Z
    types string[]
    A filter to return only resources whose type matches the given value.
    compartment_id str
    The OCID of the compartment that contains the resources to list. This filter returns only resources contained within the specified compartment.
    event_fingerprint str
    The eventFingerprint of the KernelEventData.
    event_summary str
    A filter to return only events whose summary matches the given value.
    event_summary_contains str
    A filter to return only events with a summary that contains the value provided.
    filters Sequence[osmanagementhub.GetEventsFilter]
    id str
    The OCID of the event.
    is_managed_by_autonomous_linux bool
    Indicates whether to list only resources managed by the Autonomous Linux service.
    resource_id str
    The OCID of the resource. This filter returns resources associated with the specified resource.
    state str
    A filter to return only events that match the state provided. The state value is case-insensitive.
    time_created_greater_than_or_equal_to str
    A filter that returns events that occurred on or after the date provided. Example: 2016-08-25T21:10:29.600Z
    time_created_less_than str
    A filter that returns events that occurred on or before the date provided. Example: 2016-08-25T21:10:29.600Z
    types Sequence[str]
    A filter to return only resources whose type matches the given value.
    compartmentId String
    The OCID of the compartment that contains the resources to list. This filter returns only resources contained within the specified compartment.
    eventFingerprint String
    The eventFingerprint of the KernelEventData.
    eventSummary String
    A filter to return only events whose summary matches the given value.
    eventSummaryContains String
    A filter to return only events with a summary that contains the value provided.
    filters List<Property Map>
    id String
    The OCID of the event.
    isManagedByAutonomousLinux Boolean
    Indicates whether to list only resources managed by the Autonomous Linux service.
    resourceId String
    The OCID of the resource. This filter returns resources associated with the specified resource.
    state String
    A filter to return only events that match the state provided. The state value is case-insensitive.
    timeCreatedGreaterThanOrEqualTo String
    A filter that returns events that occurred on or after the date provided. Example: 2016-08-25T21:10:29.600Z
    timeCreatedLessThan String
    A filter that returns events that occurred on or before the date provided. Example: 2016-08-25T21:10:29.600Z
    types List<String>
    A filter to return only resources whose type matches the given value.

    getEvents Result

    The following output properties are available:

    EventCollections List<GetEventsEventCollection>
    The list of event_collection.
    CompartmentId string
    The OCID of the compartment.
    EventFingerprint string
    Fingerprint of the event.
    EventSummary string
    Summary of the event.
    EventSummaryContains string
    Filters List<GetEventsFilter>
    Id string
    The OCID of the event.
    IsManagedByAutonomousLinux bool
    Indicates whether the event occurred on a resource that is managed by the Autonomous Linux service.
    ResourceId string
    The OCID of the managed instance or resource where the event occurred.
    State string
    The current state of the event.
    TimeCreatedGreaterThanOrEqualTo string
    TimeCreatedLessThan string
    Types List<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
    EventCollections []GetEventsEventCollection
    The list of event_collection.
    CompartmentId string
    The OCID of the compartment.
    EventFingerprint string
    Fingerprint of the event.
    EventSummary string
    Summary of the event.
    EventSummaryContains string
    Filters []GetEventsFilter
    Id string
    The OCID of the event.
    IsManagedByAutonomousLinux bool
    Indicates whether the event occurred on a resource that is managed by the Autonomous Linux service.
    ResourceId string
    The OCID of the managed instance or resource where the event occurred.
    State string
    The current state of the event.
    TimeCreatedGreaterThanOrEqualTo string
    TimeCreatedLessThan string
    Types []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
    eventCollections List<GetEventsEventCollection>
    The list of event_collection.
    compartmentId String
    The OCID of the compartment.
    eventFingerprint String
    Fingerprint of the event.
    eventSummary String
    Summary of the event.
    eventSummaryContains String
    filters List<GetEventsFilter>
    id String
    The OCID of the event.
    isManagedByAutonomousLinux Boolean
    Indicates whether the event occurred on a resource that is managed by the Autonomous Linux service.
    resourceId String
    The OCID of the managed instance or resource where the event occurred.
    state String
    The current state of the event.
    timeCreatedGreaterThanOrEqualTo String
    timeCreatedLessThan String
    types List<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
    eventCollections GetEventsEventCollection[]
    The list of event_collection.
    compartmentId string
    The OCID of the compartment.
    eventFingerprint string
    Fingerprint of the event.
    eventSummary string
    Summary of the event.
    eventSummaryContains string
    filters GetEventsFilter[]
    id string
    The OCID of the event.
    isManagedByAutonomousLinux boolean
    Indicates whether the event occurred on a resource that is managed by the Autonomous Linux service.
    resourceId string
    The OCID of the managed instance or resource where the event occurred.
    state string
    The current state of the event.
    timeCreatedGreaterThanOrEqualTo string
    timeCreatedLessThan string
    types 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
    event_collections Sequence[osmanagementhub.GetEventsEventCollection]
    The list of event_collection.
    compartment_id str
    The OCID of the compartment.
    event_fingerprint str
    Fingerprint of the event.
    event_summary str
    Summary of the event.
    event_summary_contains str
    filters Sequence[osmanagementhub.GetEventsFilter]
    id str
    The OCID of the event.
    is_managed_by_autonomous_linux bool
    Indicates whether the event occurred on a resource that is managed by the Autonomous Linux service.
    resource_id str
    The OCID of the managed instance or resource where the event occurred.
    state str
    The current state of the event.
    time_created_greater_than_or_equal_to str
    time_created_less_than str
    types Sequence[str]
    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
    eventCollections List<Property Map>
    The list of event_collection.
    compartmentId String
    The OCID of the compartment.
    eventFingerprint String
    Fingerprint of the event.
    eventSummary String
    Summary of the event.
    eventSummaryContains String
    filters List<Property Map>
    id String
    The OCID of the event.
    isManagedByAutonomousLinux Boolean
    Indicates whether the event occurred on a resource that is managed by the Autonomous Linux service.
    resourceId String
    The OCID of the managed instance or resource where the event occurred.
    state String
    The current state of the event.
    timeCreatedGreaterThanOrEqualTo String
    timeCreatedLessThan String
    types List<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

    Supporting Types

    GetEventsEventCollection

    GetEventsEventCollectionItem

    CompartmentId string
    The OCID of the compartment that contains the resources to list. This filter returns only resources contained within the specified compartment.
    Datas List<GetEventsEventCollectionItemData>
    Provides additional information for a management station event.
    DefinedTags Dictionary<string, object>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    EventDetails string
    Details of an event.
    EventId string
    EventSummary string
    A filter to return only events whose summary matches the given value.
    FreeformTags Dictionary<string, object>
    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. Example: {"Department": "Finance"}
    Id string
    The OCID of the event.
    IsManagedByAutonomousLinux bool
    Indicates whether to list only resources managed by the Autonomous Linux service.
    LifecycleDetails string
    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.
    ResourceId string
    The OCID of the resource. This filter returns resources associated with the specified resource.
    State string
    A filter to return only events that match the state provided. The state value is case-insensitive.
    SystemDetails List<GetEventsEventCollectionItemSystemDetail>
    Provides information about the system architecture and operating system.
    SystemTags Dictionary<string, object>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The date and time the Event was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    TimeOccurred string
    The date and time that the event occurred.
    TimeUpdated string
    The date and time that the event was updated (in RFC 3339 format). Example: 2016-08-25T21:10:29.600Z
    Type string
    A filter to return only resources whose type matches the given value.
    CompartmentId string
    The OCID of the compartment that contains the resources to list. This filter returns only resources contained within the specified compartment.
    Datas []GetEventsEventCollectionItemData
    Provides additional information for a management station event.
    DefinedTags map[string]interface{}
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    EventDetails string
    Details of an event.
    EventId string
    EventSummary string
    A filter to return only events whose summary matches the given value.
    FreeformTags map[string]interface{}
    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. Example: {"Department": "Finance"}
    Id string
    The OCID of the event.
    IsManagedByAutonomousLinux bool
    Indicates whether to list only resources managed by the Autonomous Linux service.
    LifecycleDetails string
    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.
    ResourceId string
    The OCID of the resource. This filter returns resources associated with the specified resource.
    State string
    A filter to return only events that match the state provided. The state value is case-insensitive.
    SystemDetails []GetEventsEventCollectionItemSystemDetail
    Provides information about the system architecture and operating system.
    SystemTags map[string]interface{}
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The date and time the Event was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    TimeOccurred string
    The date and time that the event occurred.
    TimeUpdated string
    The date and time that the event was updated (in RFC 3339 format). Example: 2016-08-25T21:10:29.600Z
    Type string
    A filter to return only resources whose type matches the given value.
    compartmentId String
    The OCID of the compartment that contains the resources to list. This filter returns only resources contained within the specified compartment.
    datas List<GetEventsEventCollectionItemData>
    Provides additional information for a management station event.
    definedTags Map<String,Object>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    eventDetails String
    Details of an event.
    eventId String
    eventSummary String
    A filter to return only events whose summary matches the given value.
    freeformTags Map<String,Object>
    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. Example: {"Department": "Finance"}
    id String
    The OCID of the event.
    isManagedByAutonomousLinux Boolean
    Indicates whether to list only resources managed by the Autonomous Linux service.
    lifecycleDetails String
    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.
    resourceId String
    The OCID of the resource. This filter returns resources associated with the specified resource.
    state String
    A filter to return only events that match the state provided. The state value is case-insensitive.
    systemDetails List<GetEventsEventCollectionItemSystemDetail>
    Provides information about the system architecture and operating system.
    systemTags Map<String,Object>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The date and time the Event was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    timeOccurred String
    The date and time that the event occurred.
    timeUpdated String
    The date and time that the event was updated (in RFC 3339 format). Example: 2016-08-25T21:10:29.600Z
    type String
    A filter to return only resources whose type matches the given value.
    compartmentId string
    The OCID of the compartment that contains the resources to list. This filter returns only resources contained within the specified compartment.
    datas GetEventsEventCollectionItemData[]
    Provides additional information for a management station event.
    definedTags {[key: string]: any}
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    eventDetails string
    Details of an event.
    eventId string
    eventSummary string
    A filter to return only events whose summary matches the given value.
    freeformTags {[key: string]: any}
    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. Example: {"Department": "Finance"}
    id string
    The OCID of the event.
    isManagedByAutonomousLinux boolean
    Indicates whether to list only resources managed by the Autonomous Linux service.
    lifecycleDetails string
    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.
    resourceId string
    The OCID of the resource. This filter returns resources associated with the specified resource.
    state string
    A filter to return only events that match the state provided. The state value is case-insensitive.
    systemDetails GetEventsEventCollectionItemSystemDetail[]
    Provides information about the system architecture and operating system.
    systemTags {[key: string]: any}
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated string
    The date and time the Event was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    timeOccurred string
    The date and time that the event occurred.
    timeUpdated string
    The date and time that the event was updated (in RFC 3339 format). Example: 2016-08-25T21:10:29.600Z
    type string
    A filter to return only resources whose type matches the given value.
    compartment_id str
    The OCID of the compartment that contains the resources to list. This filter returns only resources contained within the specified compartment.
    datas Sequence[osmanagementhub.GetEventsEventCollectionItemData]
    Provides additional information for a management station event.
    defined_tags Mapping[str, Any]
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    event_details str
    Details of an event.
    event_id str
    event_summary str
    A filter to return only events whose summary matches the given value.
    freeform_tags Mapping[str, Any]
    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. Example: {"Department": "Finance"}
    id str
    The OCID of the event.
    is_managed_by_autonomous_linux bool
    Indicates whether to list only resources managed by the Autonomous Linux service.
    lifecycle_details str
    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.
    resource_id str
    The OCID of the resource. This filter returns resources associated with the specified resource.
    state str
    A filter to return only events that match the state provided. The state value is case-insensitive.
    system_details Sequence[osmanagementhub.GetEventsEventCollectionItemSystemDetail]
    Provides information about the system architecture and operating system.
    system_tags Mapping[str, Any]
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    time_created str
    The date and time the Event was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    time_occurred str
    The date and time that the event occurred.
    time_updated str
    The date and time that the event was updated (in RFC 3339 format). Example: 2016-08-25T21:10:29.600Z
    type str
    A filter to return only resources whose type matches the given value.
    compartmentId String
    The OCID of the compartment that contains the resources to list. This filter returns only resources contained within the specified compartment.
    datas List<Property Map>
    Provides additional information for a management station event.
    definedTags Map<Any>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    eventDetails String
    Details of an event.
    eventId String
    eventSummary String
    A filter to return only events whose summary matches the given value.
    freeformTags Map<Any>
    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. Example: {"Department": "Finance"}
    id String
    The OCID of the event.
    isManagedByAutonomousLinux Boolean
    Indicates whether to list only resources managed by the Autonomous Linux service.
    lifecycleDetails String
    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.
    resourceId String
    The OCID of the resource. This filter returns resources associated with the specified resource.
    state String
    A filter to return only events that match the state provided. The state value is case-insensitive.
    systemDetails List<Property Map>
    Provides information about the system architecture and operating system.
    systemTags Map<Any>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The date and time the Event was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    timeOccurred String
    The date and time that the event occurred.
    timeUpdated String
    The date and time that the event was updated (in RFC 3339 format). Example: 2016-08-25T21:10:29.600Z
    type String
    A filter to return only resources whose type matches the given value.

    GetEventsEventCollectionItemData

    AdditionalDetails List<GetEventsEventCollectionItemDataAdditionalDetail>
    Provides additional information for the work request associated with an event.
    Contents List<GetEventsEventCollectionItemDataContent>
    Provides information collected for the exploit attempt event.
    EventCount int
    Number of times the event has occurred.
    EventFingerprint string
    The eventFingerprint of the KernelEventData.
    OperationType string
    Type of management station operation.
    Reason string
    Reason for the event.
    Status string
    Status of the management station operation.
    TimeFirstOccurred string
    The date and time that the event first occurred.
    AdditionalDetails []GetEventsEventCollectionItemDataAdditionalDetail
    Provides additional information for the work request associated with an event.
    Contents []GetEventsEventCollectionItemDataContent
    Provides information collected for the exploit attempt event.
    EventCount int
    Number of times the event has occurred.
    EventFingerprint string
    The eventFingerprint of the KernelEventData.
    OperationType string
    Type of management station operation.
    Reason string
    Reason for the event.
    Status string
    Status of the management station operation.
    TimeFirstOccurred string
    The date and time that the event first occurred.
    additionalDetails List<GetEventsEventCollectionItemDataAdditionalDetail>
    Provides additional information for the work request associated with an event.
    contents List<GetEventsEventCollectionItemDataContent>
    Provides information collected for the exploit attempt event.
    eventCount Integer
    Number of times the event has occurred.
    eventFingerprint String
    The eventFingerprint of the KernelEventData.
    operationType String
    Type of management station operation.
    reason String
    Reason for the event.
    status String
    Status of the management station operation.
    timeFirstOccurred String
    The date and time that the event first occurred.
    additionalDetails GetEventsEventCollectionItemDataAdditionalDetail[]
    Provides additional information for the work request associated with an event.
    contents GetEventsEventCollectionItemDataContent[]
    Provides information collected for the exploit attempt event.
    eventCount number
    Number of times the event has occurred.
    eventFingerprint string
    The eventFingerprint of the KernelEventData.
    operationType string
    Type of management station operation.
    reason string
    Reason for the event.
    status string
    Status of the management station operation.
    timeFirstOccurred string
    The date and time that the event first occurred.
    additional_details Sequence[osmanagementhub.GetEventsEventCollectionItemDataAdditionalDetail]
    Provides additional information for the work request associated with an event.
    contents Sequence[osmanagementhub.GetEventsEventCollectionItemDataContent]
    Provides information collected for the exploit attempt event.
    event_count int
    Number of times the event has occurred.
    event_fingerprint str
    The eventFingerprint of the KernelEventData.
    operation_type str
    Type of management station operation.
    reason str
    Reason for the event.
    status str
    Status of the management station operation.
    time_first_occurred str
    The date and time that the event first occurred.
    additionalDetails List<Property Map>
    Provides additional information for the work request associated with an event.
    contents List<Property Map>
    Provides information collected for the exploit attempt event.
    eventCount Number
    Number of times the event has occurred.
    eventFingerprint String
    The eventFingerprint of the KernelEventData.
    operationType String
    Type of management station operation.
    reason String
    Reason for the event.
    status String
    Status of the management station operation.
    timeFirstOccurred String
    The date and time that the event first occurred.

    GetEventsEventCollectionItemDataAdditionalDetail

    ExploitCves List<string>
    List of CVEs in the exploit.
    InitiatorId string
    The OCID of the resource that triggered the event, such as scheduled job id.
    Vmcores List<GetEventsEventCollectionItemDataAdditionalDetailVmcore>
    Kernel event vmcore details
    WorkRequestIds List<string>
    List of all work request OCIDs associated with the event.
    ExploitCves []string
    List of CVEs in the exploit.
    InitiatorId string
    The OCID of the resource that triggered the event, such as scheduled job id.
    Vmcores []GetEventsEventCollectionItemDataAdditionalDetailVmcore
    Kernel event vmcore details
    WorkRequestIds []string
    List of all work request OCIDs associated with the event.
    exploitCves List<String>
    List of CVEs in the exploit.
    initiatorId String
    The OCID of the resource that triggered the event, such as scheduled job id.
    vmcores List<GetEventsEventCollectionItemDataAdditionalDetailVmcore>
    Kernel event vmcore details
    workRequestIds List<String>
    List of all work request OCIDs associated with the event.
    exploitCves string[]
    List of CVEs in the exploit.
    initiatorId string
    The OCID of the resource that triggered the event, such as scheduled job id.
    vmcores GetEventsEventCollectionItemDataAdditionalDetailVmcore[]
    Kernel event vmcore details
    workRequestIds string[]
    List of all work request OCIDs associated with the event.
    exploit_cves Sequence[str]
    List of CVEs in the exploit.
    initiator_id str
    The OCID of the resource that triggered the event, such as scheduled job id.
    vmcores Sequence[osmanagementhub.GetEventsEventCollectionItemDataAdditionalDetailVmcore]
    Kernel event vmcore details
    work_request_ids Sequence[str]
    List of all work request OCIDs associated with the event.
    exploitCves List<String>
    List of CVEs in the exploit.
    initiatorId String
    The OCID of the resource that triggered the event, such as scheduled job id.
    vmcores List<Property Map>
    Kernel event vmcore details
    workRequestIds List<String>
    List of all work request OCIDs associated with the event.

    GetEventsEventCollectionItemDataAdditionalDetailVmcore

    Backtrace string
    Kernel vmcore backtrace.
    Component string
    Kernel vmcore component.
    Backtrace string
    Kernel vmcore backtrace.
    Component string
    Kernel vmcore component.
    backtrace String
    Kernel vmcore backtrace.
    component String
    Kernel vmcore component.
    backtrace string
    Kernel vmcore backtrace.
    component string
    Kernel vmcore component.
    backtrace str
    Kernel vmcore backtrace.
    component str
    Kernel vmcore component.
    backtrace String
    Kernel vmcore backtrace.
    component String
    Kernel vmcore component.

    GetEventsEventCollectionItemDataContent

    ContentAvailability string
    Crash content availability status:

    • 'NOT_AVAILABLE' indicates the content is not available on the instance nor in the service
    • 'AVAILABLE_ON_INSTANCE' indicates the content is only available on the instance.
    • 'AVAILABLE_ON_SERVICE' indicates the content is only available on the service.
    • 'AVAILABLE_ON_INSTANCE_AND_SERVICE' indicates the content is available both on the instance and the service
    • 'AVAILABLE_ON_INSTANCE_UPLOAD_IN_PROGRESS' indicates the content is available on the instance and its upload to the service is in progress.
    ContentLocation string
    Location of the Kernel event content.
    ExploitDetectionLogContent string
    The content of the exploit detection log.
    ExploitObjectStoreLocation string
    The location of the exploit detection log within object storage.
    Size int
    Size of the event content.
    Type string
    A filter to return only resources whose type matches the given value.
    ContentAvailability string
    Crash content availability status:

    • 'NOT_AVAILABLE' indicates the content is not available on the instance nor in the service
    • 'AVAILABLE_ON_INSTANCE' indicates the content is only available on the instance.
    • 'AVAILABLE_ON_SERVICE' indicates the content is only available on the service.
    • 'AVAILABLE_ON_INSTANCE_AND_SERVICE' indicates the content is available both on the instance and the service
    • 'AVAILABLE_ON_INSTANCE_UPLOAD_IN_PROGRESS' indicates the content is available on the instance and its upload to the service is in progress.
    ContentLocation string
    Location of the Kernel event content.
    ExploitDetectionLogContent string
    The content of the exploit detection log.
    ExploitObjectStoreLocation string
    The location of the exploit detection log within object storage.
    Size int
    Size of the event content.
    Type string
    A filter to return only resources whose type matches the given value.
    contentAvailability String
    Crash content availability status:

    • 'NOT_AVAILABLE' indicates the content is not available on the instance nor in the service
    • 'AVAILABLE_ON_INSTANCE' indicates the content is only available on the instance.
    • 'AVAILABLE_ON_SERVICE' indicates the content is only available on the service.
    • 'AVAILABLE_ON_INSTANCE_AND_SERVICE' indicates the content is available both on the instance and the service
    • 'AVAILABLE_ON_INSTANCE_UPLOAD_IN_PROGRESS' indicates the content is available on the instance and its upload to the service is in progress.
    contentLocation String
    Location of the Kernel event content.
    exploitDetectionLogContent String
    The content of the exploit detection log.
    exploitObjectStoreLocation String
    The location of the exploit detection log within object storage.
    size Integer
    Size of the event content.
    type String
    A filter to return only resources whose type matches the given value.
    contentAvailability string
    Crash content availability status:

    • 'NOT_AVAILABLE' indicates the content is not available on the instance nor in the service
    • 'AVAILABLE_ON_INSTANCE' indicates the content is only available on the instance.
    • 'AVAILABLE_ON_SERVICE' indicates the content is only available on the service.
    • 'AVAILABLE_ON_INSTANCE_AND_SERVICE' indicates the content is available both on the instance and the service
    • 'AVAILABLE_ON_INSTANCE_UPLOAD_IN_PROGRESS' indicates the content is available on the instance and its upload to the service is in progress.
    contentLocation string
    Location of the Kernel event content.
    exploitDetectionLogContent string
    The content of the exploit detection log.
    exploitObjectStoreLocation string
    The location of the exploit detection log within object storage.
    size number
    Size of the event content.
    type string
    A filter to return only resources whose type matches the given value.
    content_availability str
    Crash content availability status:

    • 'NOT_AVAILABLE' indicates the content is not available on the instance nor in the service
    • 'AVAILABLE_ON_INSTANCE' indicates the content is only available on the instance.
    • 'AVAILABLE_ON_SERVICE' indicates the content is only available on the service.
    • 'AVAILABLE_ON_INSTANCE_AND_SERVICE' indicates the content is available both on the instance and the service
    • 'AVAILABLE_ON_INSTANCE_UPLOAD_IN_PROGRESS' indicates the content is available on the instance and its upload to the service is in progress.
    content_location str
    Location of the Kernel event content.
    exploit_detection_log_content str
    The content of the exploit detection log.
    exploit_object_store_location str
    The location of the exploit detection log within object storage.
    size int
    Size of the event content.
    type str
    A filter to return only resources whose type matches the given value.
    contentAvailability String
    Crash content availability status:

    • 'NOT_AVAILABLE' indicates the content is not available on the instance nor in the service
    • 'AVAILABLE_ON_INSTANCE' indicates the content is only available on the instance.
    • 'AVAILABLE_ON_SERVICE' indicates the content is only available on the service.
    • 'AVAILABLE_ON_INSTANCE_AND_SERVICE' indicates the content is available both on the instance and the service
    • 'AVAILABLE_ON_INSTANCE_UPLOAD_IN_PROGRESS' indicates the content is available on the instance and its upload to the service is in progress.
    contentLocation String
    Location of the Kernel event content.
    exploitDetectionLogContent String
    The content of the exploit detection log.
    exploitObjectStoreLocation String
    The location of the exploit detection log within object storage.
    size Number
    Size of the event content.
    type String
    A filter to return only resources whose type matches the given value.

    GetEventsEventCollectionItemSystemDetail

    Architecture string
    Architecture type.
    KspliceEffectiveKernelVersion string
    Version of the Ksplice effective kernel.
    OsFamily string
    Operating system type.
    OsKernelRelease string
    Release of the kernel.
    OsKernelVersion string
    Version of the kernel.
    OsName string
    Name of the operating system.
    OsSystemVersion string
    Version of the operating system.
    Architecture string
    Architecture type.
    KspliceEffectiveKernelVersion string
    Version of the Ksplice effective kernel.
    OsFamily string
    Operating system type.
    OsKernelRelease string
    Release of the kernel.
    OsKernelVersion string
    Version of the kernel.
    OsName string
    Name of the operating system.
    OsSystemVersion string
    Version of the operating system.
    architecture String
    Architecture type.
    kspliceEffectiveKernelVersion String
    Version of the Ksplice effective kernel.
    osFamily String
    Operating system type.
    osKernelRelease String
    Release of the kernel.
    osKernelVersion String
    Version of the kernel.
    osName String
    Name of the operating system.
    osSystemVersion String
    Version of the operating system.
    architecture string
    Architecture type.
    kspliceEffectiveKernelVersion string
    Version of the Ksplice effective kernel.
    osFamily string
    Operating system type.
    osKernelRelease string
    Release of the kernel.
    osKernelVersion string
    Version of the kernel.
    osName string
    Name of the operating system.
    osSystemVersion string
    Version of the operating system.
    architecture str
    Architecture type.
    ksplice_effective_kernel_version str
    Version of the Ksplice effective kernel.
    os_family str
    Operating system type.
    os_kernel_release str
    Release of the kernel.
    os_kernel_version str
    Version of the kernel.
    os_name str
    Name of the operating system.
    os_system_version str
    Version of the operating system.
    architecture String
    Architecture type.
    kspliceEffectiveKernelVersion String
    Version of the Ksplice effective kernel.
    osFamily String
    Operating system type.
    osKernelRelease String
    Release of the kernel.
    osKernelVersion String
    Version of the kernel.
    osName String
    Name of the operating system.
    osSystemVersion String
    Version of the operating system.

    GetEventsFilter

    Name string
    Values List<string>
    Regex bool
    Name string
    Values []string
    Regex bool
    name String
    values List<String>
    regex Boolean
    name string
    values string[]
    regex boolean
    name str
    values Sequence[str]
    regex bool
    name String
    values List<String>
    regex Boolean

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi