opentelekomcloud 1.36.43 published on Thursday, Jul 17, 2025 by opentelekomcloud
opentelekomcloud.getCesEventsV1
Explore with Pulumi AI
opentelekomcloud 1.36.43 published on Thursday, Jul 17, 2025 by opentelekomcloud
Up-to-date reference of API arguments for CES events v1 you can get at documentation portal
Get details about CES events within OpenTelekomCloud.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as opentelekomcloud from "@pulumi/opentelekomcloud";
const events1 = opentelekomcloud.getCesEventsV1({
eventType: "EVENT.CUSTOM",
from: 1257893000000,
to: 1257895000000,
});
import pulumi
import pulumi_opentelekomcloud as opentelekomcloud
events1 = opentelekomcloud.get_ces_events_v1(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.GetCesEventsV1(ctx, &opentelekomcloud.GetCesEventsV1Args{
EventType: pulumi.StringRef("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 events1 = Opentelekomcloud.GetCesEventsV1.Invoke(new()
{
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.GetCesEventsV1Args;
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 events1 = OpentelekomcloudFunctions.getCesEventsV1(GetCesEventsV1Args.builder()
.eventType("EVENT.CUSTOM")
.from(1257893000000)
.to(1257895000000)
.build());
}
}
variables:
events1:
fn::invoke:
function: opentelekomcloud:getCesEventsV1
arguments:
eventType: EVENT.CUSTOM
from: 1.257893e+12
to: 1.257895e+12
Using getCesEventsV1
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 getCesEventsV1(args: GetCesEventsV1Args, opts?: InvokeOptions): Promise<GetCesEventsV1Result>
function getCesEventsV1Output(args: GetCesEventsV1OutputArgs, opts?: InvokeOptions): Output<GetCesEventsV1Result>
def get_ces_events_v1(event_name: Optional[str] = None,
event_type: Optional[str] = None,
from_: Optional[float] = None,
id: Optional[str] = None,
limit: Optional[float] = None,
to: Optional[float] = None,
opts: Optional[InvokeOptions] = None) -> GetCesEventsV1Result
def get_ces_events_v1_output(event_name: Optional[pulumi.Input[str]] = None,
event_type: 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[GetCesEventsV1Result]
func GetCesEventsV1(ctx *Context, args *GetCesEventsV1Args, opts ...InvokeOption) (*GetCesEventsV1Result, error)
func GetCesEventsV1Output(ctx *Context, args *GetCesEventsV1OutputArgs, opts ...InvokeOption) GetCesEventsV1ResultOutput
> Note: This function is named GetCesEventsV1
in the Go SDK.
public static class GetCesEventsV1
{
public static Task<GetCesEventsV1Result> InvokeAsync(GetCesEventsV1Args args, InvokeOptions? opts = null)
public static Output<GetCesEventsV1Result> Invoke(GetCesEventsV1InvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetCesEventsV1Result> getCesEventsV1(GetCesEventsV1Args args, InvokeOptions options)
public static Output<GetCesEventsV1Result> getCesEventsV1(GetCesEventsV1Args args, InvokeOptions options)
fn::invoke:
function: opentelekomcloud:index/getCesEventsV1:getCesEventsV1
arguments:
# arguments dictionary
The following arguments are supported:
- Event
Name string - Specifies the event name.
- Event
Type string - Specifies the event type. The value can be
EVENT.SYS
(system event) orEVENT.CUSTOM
(custom event). - 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
to100
(default) - To double
- Specifies the end time of the query, which is a UNIX timestamp (ms).
- Event
Name string - Specifies the event name.
- Event
Type string - Specifies the event type. The value can be
EVENT.SYS
(system event) orEVENT.CUSTOM
(custom event). - 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
to100
(default) - To float64
- Specifies the end time of the query, which is a UNIX timestamp (ms).
- event
Name String - Specifies the event name.
- event
Type String - Specifies the event type. The value can be
EVENT.SYS
(system event) orEVENT.CUSTOM
(custom event). - 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
to100
(default) - to Double
- Specifies the end time of the query, which is a UNIX timestamp (ms).
- event
Name string - Specifies the event name.
- event
Type string - Specifies the event type. The value can be
EVENT.SYS
(system event) orEVENT.CUSTOM
(custom event). - 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
to100
(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) orEVENT.CUSTOM
(custom event). - 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
to100
(default) - to float
- Specifies the end time of the query, which is a UNIX timestamp (ms).
- event
Name String - Specifies the event name.
- event
Type String - Specifies the event type. The value can be
EVENT.SYS
(system event) orEVENT.CUSTOM
(custom event). - 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
to100
(default) - to Number
- Specifies the end time of the query, which is a UNIX timestamp (ms).
getCesEventsV1 Result
The following output properties are available:
- Events
List<Get
Ces Events V1Event> - Specifies one or more pieces of event data. The structure is described below.
- Id string
- Meta
Datas List<GetCes Events V1Meta Data> - Specifies the number of metadata records in the query result. The structure is described below.
- Event
Name string - Specifies the event name.
- Event
Type string - Specifies the event type.
- From double
- Limit double
- To double
- Events
[]Get
Ces Events V1Event - Specifies one or more pieces of event data. The structure is described below.
- Id string
- Meta
Datas []GetCes Events V1Meta Data - Specifies the number of metadata records in the query result. The structure is described below.
- Event
Name string - Specifies the event name.
- Event
Type string - Specifies the event type.
- From float64
- Limit float64
- To float64
- events
List<Get
Ces Events V1Event> - Specifies one or more pieces of event data. The structure is described below.
- id String
- meta
Datas List<GetCes Events V1Meta Data> - Specifies the number of metadata records in the query result. The structure is described below.
- event
Name String - Specifies the event name.
- event
Type String - Specifies the event type.
- from Double
- limit Double
- to Double
- events
Get
Ces Events V1Event[] - Specifies one or more pieces of event data. The structure is described below.
- id string
- meta
Datas GetCes Events V1Meta Data[] - Specifies the number of metadata records in the query result. The structure is described below.
- event
Name string - Specifies the event name.
- event
Type string - Specifies the event type.
- from number
- limit number
- to number
- events
Sequence[Get
Ces Events V1Event] - Specifies one or more pieces of event data. The structure is described below.
- id str
- meta_
datas Sequence[GetCes Events V1Meta Data] - Specifies the number of metadata records in the query result. The structure is described below.
- event_
name str - Specifies the event name.
- event_
type str - Specifies the event type.
- from_ float
- limit float
- to float
- events List<Property Map>
- Specifies one or more pieces of event data. The structure is described below.
- id String
- meta
Datas List<Property Map> - Specifies the number of metadata records in the query result. The structure is described below.
- event
Name String - Specifies the event name.
- event
Type String - Specifies the event type.
- from Number
- limit Number
- to Number
Supporting Types
GetCesEventsV1Event
- Event
Count double - Specifies the number of occurrences of this event within the specified query time range.
- Event
Name string - Specifies the event name.
- Event
Type string - Specifies the event type. The value can be
EVENT.SYS
(system event) orEVENT.CUSTOM
(custom event). - Latest
Event stringSource - Specifies the event source. If the event is a system event, the source is the namespace of each service. If the event is a custom event, the event source is defined by the user.
- Latest
Occur doubleTime - Specifies when the event occurred, which is a UNIX timestamp (ms).
- Event
Count float64 - Specifies the number of occurrences of this event within the specified query time range.
- Event
Name string - Specifies the event name.
- Event
Type string - Specifies the event type. The value can be
EVENT.SYS
(system event) orEVENT.CUSTOM
(custom event). - Latest
Event stringSource - Specifies the event source. If the event is a system event, the source is the namespace of each service. If the event is a custom event, the event source is defined by the user.
- Latest
Occur float64Time - Specifies when the event occurred, which is a UNIX timestamp (ms).
- event
Count Double - Specifies the number of occurrences of this event within the specified query time range.
- event
Name String - Specifies the event name.
- event
Type String - Specifies the event type. The value can be
EVENT.SYS
(system event) orEVENT.CUSTOM
(custom event). - latest
Event StringSource - Specifies the event source. If the event is a system event, the source is the namespace of each service. If the event is a custom event, the event source is defined by the user.
- latest
Occur DoubleTime - Specifies when the event occurred, which is a UNIX timestamp (ms).
- event
Count number - Specifies the number of occurrences of this event within the specified query time range.
- event
Name string - Specifies the event name.
- event
Type string - Specifies the event type. The value can be
EVENT.SYS
(system event) orEVENT.CUSTOM
(custom event). - latest
Event stringSource - Specifies the event source. If the event is a system event, the source is the namespace of each service. If the event is a custom event, the event source is defined by the user.
- latest
Occur numberTime - Specifies when the event occurred, which is a UNIX timestamp (ms).
- event_
count float - Specifies the number of occurrences of this event within the specified query time range.
- event_
name str - Specifies the event name.
- event_
type str - Specifies the event type. The value can be
EVENT.SYS
(system event) orEVENT.CUSTOM
(custom event). - latest_
event_ strsource - Specifies the event source. If the event is a system event, the source is the namespace of each service. If the event is a custom event, the event source is defined by the user.
- latest_
occur_ floattime - Specifies when the event occurred, which is a UNIX timestamp (ms).
- event
Count Number - Specifies the number of occurrences of this event within the specified query time range.
- event
Name String - Specifies the event name.
- event
Type String - Specifies the event type. The value can be
EVENT.SYS
(system event) orEVENT.CUSTOM
(custom event). - latest
Event StringSource - Specifies the event source. If the event is a system event, the source is the namespace of each service. If the event is a custom event, the event source is defined by the user.
- latest
Occur NumberTime - Specifies when the event occurred, which is a UNIX timestamp (ms).
GetCesEventsV1MetaData
- 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 1.36.43 published on Thursday, Jul 17, 2025 by opentelekomcloud