1. Packages
  2. Opentelekomcloud Provider
  3. API Docs
  4. getCesEventDetailsV1
opentelekomcloud 1.36.42 published on Thursday, Jul 3, 2025 by opentelekomcloud

opentelekomcloud.getCesEventDetailsV1

Explore with Pulumi AI

opentelekomcloud logo
opentelekomcloud 1.36.42 published on Thursday, Jul 3, 2025 by opentelekomcloud

    Up-to-date reference of API arguments for CES event details v1 you can get at documentation portal

    Get details about a CES event within OpenTelekomCloud.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as opentelekomcloud from "@pulumi/opentelekomcloud";
    
    const eventDetails1 = opentelekomcloud.getCesEventDetailsV1({
        eventName: "Test_Acc_tf_event",
        eventType: "EVENT.CUSTOM",
        from: 1257893000000,
        to: 1257895000000,
    });
    
    import pulumi
    import pulumi_opentelekomcloud as opentelekomcloud
    
    event_details1 = opentelekomcloud.get_ces_event_details_v1(event_name="Test_Acc_tf_event",
        event_type="EVENT.CUSTOM",
        from_=1257893000000,
        to=1257895000000)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/opentelekomcloud/opentelekomcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := opentelekomcloud.GetCesEventDetailsV1(ctx, &opentelekomcloud.GetCesEventDetailsV1Args{
    			EventName: "Test_Acc_tf_event",
    			EventType: "EVENT.CUSTOM",
    			From:      pulumi.Float64Ref(1257893000000),
    			To:        pulumi.Float64Ref(1257895000000),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Opentelekomcloud = Pulumi.Opentelekomcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var eventDetails1 = Opentelekomcloud.GetCesEventDetailsV1.Invoke(new()
        {
            EventName = "Test_Acc_tf_event",
            EventType = "EVENT.CUSTOM",
            From = 1257893000000,
            To = 1257895000000,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.opentelekomcloud.OpentelekomcloudFunctions;
    import com.pulumi.opentelekomcloud.inputs.GetCesEventDetailsV1Args;
    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 eventDetails1 = OpentelekomcloudFunctions.getCesEventDetailsV1(GetCesEventDetailsV1Args.builder()
                .eventName("Test_Acc_tf_event")
                .eventType("EVENT.CUSTOM")
                .from(1257893000000)
                .to(1257895000000)
                .build());
    
        }
    }
    
    variables:
      eventDetails1:
        fn::invoke:
          function: opentelekomcloud:getCesEventDetailsV1
          arguments:
            eventName: Test_Acc_tf_event
            eventType: EVENT.CUSTOM
            from: 1.257893e+12
            to: 1.257895e+12
    

    Using getCesEventDetailsV1

    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 getCesEventDetailsV1(args: GetCesEventDetailsV1Args, opts?: InvokeOptions): Promise<GetCesEventDetailsV1Result>
    function getCesEventDetailsV1Output(args: GetCesEventDetailsV1OutputArgs, opts?: InvokeOptions): Output<GetCesEventDetailsV1Result>
    def get_ces_event_details_v1(event_level: Optional[str] = None,
                                 event_name: Optional[str] = None,
                                 event_source: Optional[str] = None,
                                 event_state: Optional[str] = None,
                                 event_type: Optional[str] = None,
                                 event_user: Optional[str] = None,
                                 from_: Optional[float] = None,
                                 id: Optional[str] = None,
                                 limit: Optional[float] = None,
                                 to: Optional[float] = None,
                                 opts: Optional[InvokeOptions] = None) -> GetCesEventDetailsV1Result
    def get_ces_event_details_v1_output(event_level: Optional[pulumi.Input[str]] = None,
                                 event_name: Optional[pulumi.Input[str]] = None,
                                 event_source: Optional[pulumi.Input[str]] = None,
                                 event_state: Optional[pulumi.Input[str]] = None,
                                 event_type: Optional[pulumi.Input[str]] = None,
                                 event_user: Optional[pulumi.Input[str]] = None,
                                 from_: Optional[pulumi.Input[float]] = None,
                                 id: Optional[pulumi.Input[str]] = None,
                                 limit: Optional[pulumi.Input[float]] = None,
                                 to: Optional[pulumi.Input[float]] = None,
                                 opts: Optional[InvokeOptions] = None) -> Output[GetCesEventDetailsV1Result]
    func GetCesEventDetailsV1(ctx *Context, args *GetCesEventDetailsV1Args, opts ...InvokeOption) (*GetCesEventDetailsV1Result, error)
    func GetCesEventDetailsV1Output(ctx *Context, args *GetCesEventDetailsV1OutputArgs, opts ...InvokeOption) GetCesEventDetailsV1ResultOutput

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

    public static class GetCesEventDetailsV1 
    {
        public static Task<GetCesEventDetailsV1Result> InvokeAsync(GetCesEventDetailsV1Args args, InvokeOptions? opts = null)
        public static Output<GetCesEventDetailsV1Result> Invoke(GetCesEventDetailsV1InvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetCesEventDetailsV1Result> getCesEventDetailsV1(GetCesEventDetailsV1Args args, InvokeOptions options)
    public static Output<GetCesEventDetailsV1Result> getCesEventDetailsV1(GetCesEventDetailsV1Args args, InvokeOptions options)
    
    fn::invoke:
      function: opentelekomcloud:index/getCesEventDetailsV1:getCesEventDetailsV1
      arguments:
        # arguments dictionary

    The following arguments are supported:

    EventName string
    Specifies the event name.
    EventType string
    Specifies the event type. The value can be EVENT.SYS (system event) or EVENT.CUSTOM (custom event).
    EventLevel string
    Specifies the event severity. The value can be Critical, Major, Minor, or Info.
    EventSource string
    Specifies the event name. The name can be a system event name or a custom event name.
    EventState string
    Specifies the event status. The value can be normal, warning, or incident.
    EventUser string
    Specifies the name of the user who reports the event monitoring data. It can also be a project ID.
    From double
    Specifies the start time of the query, which is a UNIX timestamp (ms).
    Id string
    Limit double
    Specifies the maximum number of records that can be queried at a time. Supported range: 1 to 100 (default)
    To double
    Specifies the end time of the query, which is a UNIX timestamp (ms).
    EventName string
    Specifies the event name.
    EventType string
    Specifies the event type. The value can be EVENT.SYS (system event) or EVENT.CUSTOM (custom event).
    EventLevel string
    Specifies the event severity. The value can be Critical, Major, Minor, or Info.
    EventSource string
    Specifies the event name. The name can be a system event name or a custom event name.
    EventState string
    Specifies the event status. The value can be normal, warning, or incident.
    EventUser string
    Specifies the name of the user who reports the event monitoring data. It can also be a project ID.
    From float64
    Specifies the start time of the query, which is a UNIX timestamp (ms).
    Id string
    Limit float64
    Specifies the maximum number of records that can be queried at a time. Supported range: 1 to 100 (default)
    To float64
    Specifies the end time of the query, which is a UNIX timestamp (ms).
    eventName String
    Specifies the event name.
    eventType String
    Specifies the event type. The value can be EVENT.SYS (system event) or EVENT.CUSTOM (custom event).
    eventLevel String
    Specifies the event severity. The value can be Critical, Major, Minor, or Info.
    eventSource String
    Specifies the event name. The name can be a system event name or a custom event name.
    eventState String
    Specifies the event status. The value can be normal, warning, or incident.
    eventUser String
    Specifies the name of the user who reports the event monitoring data. It can also be a project ID.
    from Double
    Specifies the start time of the query, which is a UNIX timestamp (ms).
    id String
    limit Double
    Specifies the maximum number of records that can be queried at a time. Supported range: 1 to 100 (default)
    to Double
    Specifies the end time of the query, which is a UNIX timestamp (ms).
    eventName string
    Specifies the event name.
    eventType string
    Specifies the event type. The value can be EVENT.SYS (system event) or EVENT.CUSTOM (custom event).
    eventLevel string
    Specifies the event severity. The value can be Critical, Major, Minor, or Info.
    eventSource string
    Specifies the event name. The name can be a system event name or a custom event name.
    eventState string
    Specifies the event status. The value can be normal, warning, or incident.
    eventUser string
    Specifies the name of the user who reports the event monitoring data. It can also be a project ID.
    from number
    Specifies the start time of the query, which is a UNIX timestamp (ms).
    id string
    limit number
    Specifies the maximum number of records that can be queried at a time. Supported range: 1 to 100 (default)
    to number
    Specifies the end time of the query, which is a UNIX timestamp (ms).
    event_name str
    Specifies the event name.
    event_type str
    Specifies the event type. The value can be EVENT.SYS (system event) or EVENT.CUSTOM (custom event).
    event_level str
    Specifies the event severity. The value can be Critical, Major, Minor, or Info.
    event_source str
    Specifies the event name. The name can be a system event name or a custom event name.
    event_state str
    Specifies the event status. The value can be normal, warning, or incident.
    event_user str
    Specifies the name of the user who reports the event monitoring data. It can also be a project ID.
    from_ float
    Specifies the start time of the query, which is a UNIX timestamp (ms).
    id str
    limit float
    Specifies the maximum number of records that can be queried at a time. Supported range: 1 to 100 (default)
    to float
    Specifies the end time of the query, which is a UNIX timestamp (ms).
    eventName String
    Specifies the event name.
    eventType String
    Specifies the event type. The value can be EVENT.SYS (system event) or EVENT.CUSTOM (custom event).
    eventLevel String
    Specifies the event severity. The value can be Critical, Major, Minor, or Info.
    eventSource String
    Specifies the event name. The name can be a system event name or a custom event name.
    eventState String
    Specifies the event status. The value can be normal, warning, or incident.
    eventUser String
    Specifies the name of the user who reports the event monitoring data. It can also be a project ID.
    from Number
    Specifies the start time of the query, which is a UNIX timestamp (ms).
    id String
    limit Number
    Specifies the maximum number of records that can be queried at a time. Supported range: 1 to 100 (default)
    to Number
    Specifies the end time of the query, which is a UNIX timestamp (ms).

    getCesEventDetailsV1 Result

    The following output properties are available:

    EventInfos List<GetCesEventDetailsV1EventInfo>
    Specifies details of one or more events. The structure is described below.
    EventName string
    Specifies the event name.
    EventSources List<string>
    Specifies the event source. For a system event, the source is the namespace of each service.
    EventType string
    Specifies the event type.
    EventUsers List<string>
    Specifies the name of the user who reports the event. It can also be a project ID.
    Id string
    MetaDatas List<GetCesEventDetailsV1MetaData>
    Specifies the number of metadata records in the query result. The structure is described below.
    EventLevel string
    Specifies the event severity.
    EventSource string
    Specifies the event source in the format of service.item.
    EventState string
    Specifies the event status.
    EventUser string
    Specifies the event user.
    From double
    Limit double
    To double
    EventInfos []GetCesEventDetailsV1EventInfo
    Specifies details of one or more events. The structure is described below.
    EventName string
    Specifies the event name.
    EventSources []string
    Specifies the event source. For a system event, the source is the namespace of each service.
    EventType string
    Specifies the event type.
    EventUsers []string
    Specifies the name of the user who reports the event. It can also be a project ID.
    Id string
    MetaDatas []GetCesEventDetailsV1MetaData
    Specifies the number of metadata records in the query result. The structure is described below.
    EventLevel string
    Specifies the event severity.
    EventSource string
    Specifies the event source in the format of service.item.
    EventState string
    Specifies the event status.
    EventUser string
    Specifies the event user.
    From float64
    Limit float64
    To float64
    eventInfos List<GetCesEventDetailsV1EventInfo>
    Specifies details of one or more events. The structure is described below.
    eventName String
    Specifies the event name.
    eventSources List<String>
    Specifies the event source. For a system event, the source is the namespace of each service.
    eventType String
    Specifies the event type.
    eventUsers List<String>
    Specifies the name of the user who reports the event. It can also be a project ID.
    id String
    metaDatas List<GetCesEventDetailsV1MetaData>
    Specifies the number of metadata records in the query result. The structure is described below.
    eventLevel String
    Specifies the event severity.
    eventSource String
    Specifies the event source in the format of service.item.
    eventState String
    Specifies the event status.
    eventUser String
    Specifies the event user.
    from Double
    limit Double
    to Double
    eventInfos GetCesEventDetailsV1EventInfo[]
    Specifies details of one or more events. The structure is described below.
    eventName string
    Specifies the event name.
    eventSources string[]
    Specifies the event source. For a system event, the source is the namespace of each service.
    eventType string
    Specifies the event type.
    eventUsers string[]
    Specifies the name of the user who reports the event. It can also be a project ID.
    id string
    metaDatas GetCesEventDetailsV1MetaData[]
    Specifies the number of metadata records in the query result. The structure is described below.
    eventLevel string
    Specifies the event severity.
    eventSource string
    Specifies the event source in the format of service.item.
    eventState string
    Specifies the event status.
    eventUser string
    Specifies the event user.
    from number
    limit number
    to number
    event_infos Sequence[GetCesEventDetailsV1EventInfo]
    Specifies details of one or more events. The structure is described below.
    event_name str
    Specifies the event name.
    event_sources Sequence[str]
    Specifies the event source. For a system event, the source is the namespace of each service.
    event_type str
    Specifies the event type.
    event_users Sequence[str]
    Specifies the name of the user who reports the event. It can also be a project ID.
    id str
    meta_datas Sequence[GetCesEventDetailsV1MetaData]
    Specifies the number of metadata records in the query result. The structure is described below.
    event_level str
    Specifies the event severity.
    event_source str
    Specifies the event source in the format of service.item.
    event_state str
    Specifies the event status.
    event_user str
    Specifies the event user.
    from_ float
    limit float
    to float
    eventInfos List<Property Map>
    Specifies details of one or more events. The structure is described below.
    eventName String
    Specifies the event name.
    eventSources List<String>
    Specifies the event source. For a system event, the source is the namespace of each service.
    eventType String
    Specifies the event type.
    eventUsers List<String>
    Specifies the name of the user who reports the event. It can also be a project ID.
    id String
    metaDatas List<Property Map>
    Specifies the number of metadata records in the query result. The structure is described below.
    eventLevel String
    Specifies the event severity.
    eventSource String
    Specifies the event source in the format of service.item.
    eventState String
    Specifies the event status.
    eventUser String
    Specifies the event user.
    from Number
    limit Number
    to Number

    Supporting Types

    GetCesEventDetailsV1EventInfo

    Details List<GetCesEventDetailsV1EventInfoDetail>
    Specifies the event details. The structure is described below.
    EventId string
    Specifies the event ID.
    EventName string
    Specifies the event name.
    EventSource string
    Specifies the event name. The name can be a system event name or a custom event name.
    Time double
    Specifies when the event occurred, which is a UNIX timestamp (ms).
    Details []GetCesEventDetailsV1EventInfoDetail
    Specifies the event details. The structure is described below.
    EventId string
    Specifies the event ID.
    EventName string
    Specifies the event name.
    EventSource string
    Specifies the event name. The name can be a system event name or a custom event name.
    Time float64
    Specifies when the event occurred, which is a UNIX timestamp (ms).
    details List<GetCesEventDetailsV1EventInfoDetail>
    Specifies the event details. The structure is described below.
    eventId String
    Specifies the event ID.
    eventName String
    Specifies the event name.
    eventSource String
    Specifies the event name. The name can be a system event name or a custom event name.
    time Double
    Specifies when the event occurred, which is a UNIX timestamp (ms).
    details GetCesEventDetailsV1EventInfoDetail[]
    Specifies the event details. The structure is described below.
    eventId string
    Specifies the event ID.
    eventName string
    Specifies the event name.
    eventSource string
    Specifies the event name. The name can be a system event name or a custom event name.
    time number
    Specifies when the event occurred, which is a UNIX timestamp (ms).
    details Sequence[GetCesEventDetailsV1EventInfoDetail]
    Specifies the event details. The structure is described below.
    event_id str
    Specifies the event ID.
    event_name str
    Specifies the event name.
    event_source str
    Specifies the event name. The name can be a system event name or a custom event name.
    time float
    Specifies when the event occurred, which is a UNIX timestamp (ms).
    details List<Property Map>
    Specifies the event details. The structure is described below.
    eventId String
    Specifies the event ID.
    eventName String
    Specifies the event name.
    eventSource String
    Specifies the event name. The name can be a system event name or a custom event name.
    time Number
    Specifies when the event occurred, which is a UNIX timestamp (ms).

    GetCesEventDetailsV1EventInfoDetail

    Content string
    Specifies the event content.
    EventLevel string
    Specifies the event severity. The value can be Critical, Major, Minor, or Info.
    EventState string
    Specifies the event status. The value can be normal, warning, or incident.
    EventType string
    Specifies the event type. The value can be EVENT.SYS (system event) or EVENT.CUSTOM (custom event).
    EventUser string
    Specifies the name of the user who reports the event monitoring data. It can also be a project ID.
    GroupId string
    Specifies the resource group the event belongs to.
    ResourceId string
    Specifies the resource ID.
    ResourceName string
    Specifies the resource name.
    Content string
    Specifies the event content.
    EventLevel string
    Specifies the event severity. The value can be Critical, Major, Minor, or Info.
    EventState string
    Specifies the event status. The value can be normal, warning, or incident.
    EventType string
    Specifies the event type. The value can be EVENT.SYS (system event) or EVENT.CUSTOM (custom event).
    EventUser string
    Specifies the name of the user who reports the event monitoring data. It can also be a project ID.
    GroupId string
    Specifies the resource group the event belongs to.
    ResourceId string
    Specifies the resource ID.
    ResourceName string
    Specifies the resource name.
    content String
    Specifies the event content.
    eventLevel String
    Specifies the event severity. The value can be Critical, Major, Minor, or Info.
    eventState String
    Specifies the event status. The value can be normal, warning, or incident.
    eventType String
    Specifies the event type. The value can be EVENT.SYS (system event) or EVENT.CUSTOM (custom event).
    eventUser String
    Specifies the name of the user who reports the event monitoring data. It can also be a project ID.
    groupId String
    Specifies the resource group the event belongs to.
    resourceId String
    Specifies the resource ID.
    resourceName String
    Specifies the resource name.
    content string
    Specifies the event content.
    eventLevel string
    Specifies the event severity. The value can be Critical, Major, Minor, or Info.
    eventState string
    Specifies the event status. The value can be normal, warning, or incident.
    eventType string
    Specifies the event type. The value can be EVENT.SYS (system event) or EVENT.CUSTOM (custom event).
    eventUser string
    Specifies the name of the user who reports the event monitoring data. It can also be a project ID.
    groupId string
    Specifies the resource group the event belongs to.
    resourceId string
    Specifies the resource ID.
    resourceName string
    Specifies the resource name.
    content str
    Specifies the event content.
    event_level str
    Specifies the event severity. The value can be Critical, Major, Minor, or Info.
    event_state str
    Specifies the event status. The value can be normal, warning, or incident.
    event_type str
    Specifies the event type. The value can be EVENT.SYS (system event) or EVENT.CUSTOM (custom event).
    event_user str
    Specifies the name of the user who reports the event monitoring data. It can also be a project ID.
    group_id str
    Specifies the resource group the event belongs to.
    resource_id str
    Specifies the resource ID.
    resource_name str
    Specifies the resource name.
    content String
    Specifies the event content.
    eventLevel String
    Specifies the event severity. The value can be Critical, Major, Minor, or Info.
    eventState String
    Specifies the event status. The value can be normal, warning, or incident.
    eventType String
    Specifies the event type. The value can be EVENT.SYS (system event) or EVENT.CUSTOM (custom event).
    eventUser String
    Specifies the name of the user who reports the event monitoring data. It can also be a project ID.
    groupId String
    Specifies the resource group the event belongs to.
    resourceId String
    Specifies the resource ID.
    resourceName String
    Specifies the resource name.

    GetCesEventDetailsV1MetaData

    Total double
    Specifies the total number of events.
    Total float64
    Specifies the total number of events.
    total Double
    Specifies the total number of events.
    total number
    Specifies the total number of events.
    total float
    Specifies the total number of events.
    total Number
    Specifies the total number of events.

    Package Details

    Repository
    opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
    License
    Notes
    This Pulumi package is based on the opentelekomcloud Terraform Provider.
    opentelekomcloud logo
    opentelekomcloud 1.36.42 published on Thursday, Jul 3, 2025 by opentelekomcloud