wavefront logo
Wavefront v1.2.0, Nov 28 22

wavefront.getEvent

Use this data source to get information about a certain Wavefront event.

Example Usage

using System.Collections.Generic;
using Pulumi;
using Wavefront = Pulumi.Wavefront;

return await Deployment.RunAsync(() => 
{
    var example = Wavefront.GetEvent.Invoke(new()
    {
        Id = "sample-event-id",
    });

});
package main

import (
	"github.com/pulumi/pulumi-wavefront/sdk/go/wavefront"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err = wavefront.LookupEvent(ctx, &GetEventArgs{
			Id: "sample-event-id",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.wavefront.WavefrontFunctions;
import com.pulumi.wavefront.inputs.GetEventArgs;
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 example = WavefrontFunctions.getEvent(GetEventArgs.builder()
            .id("sample-event-id")
            .build());

    }
}
import pulumi
import pulumi_wavefront as wavefront

example = wavefront.get_event(id="sample-event-id")
import * as pulumi from "@pulumi/pulumi";
import * as wavefront from "@pulumi/wavefront";

// Get the information about a Wavefront event by its ID.
const example = pulumi.output(wavefront.getEvent({
    id: "sample-event-id",
}));
variables:
  example:
    fn::invoke:
      Function: wavefront:getEvent
      Arguments:
        id: sample-event-id

Using getEvent

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 getEvent(args: GetEventArgs, opts?: InvokeOptions): Promise<GetEventResult>
function getEventOutput(args: GetEventOutputArgs, opts?: InvokeOptions): Output<GetEventResult>
def get_event(id: Optional[str] = None,
              opts: Optional[InvokeOptions] = None) -> GetEventResult
def get_event_output(id: Optional[pulumi.Input[str]] = None,
              opts: Optional[InvokeOptions] = None) -> Output[GetEventResult]
func LookupEvent(ctx *Context, args *LookupEventArgs, opts ...InvokeOption) (*LookupEventResult, error)
func LookupEventOutput(ctx *Context, args *LookupEventOutputArgs, opts ...InvokeOption) LookupEventResultOutput

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

public static class GetEvent 
{
    public static Task<GetEventResult> InvokeAsync(GetEventArgs args, InvokeOptions? opts = null)
    public static Output<GetEventResult> Invoke(GetEventInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetEventResult> getEvent(GetEventArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: wavefront:index/getEvent:getEvent
  arguments:
    # arguments dictionary

The following arguments are supported:

Id string

The ID associated with the event data to be fetched.

Id string

The ID associated with the event data to be fetched.

id String

The ID associated with the event data to be fetched.

id string

The ID associated with the event data to be fetched.

id str

The ID associated with the event data to be fetched.

id String

The ID associated with the event data to be fetched.

getEvent Result

The following output properties are available:

Annotations Dictionary<string, string>

Annotations associated with the event.

Details string

The description of the event.

EndtimeKey int
Id string

The ID of the event in Wavefront.

  • start_time- The start time of the event in epoch milliseconds.
IsEphemeral bool

A Boolean flag. If set to true, creates a point-in-time event (i.e. with no duration).

Name string

The name of the event in Wavefront.

Severity string

The severity category of the event.

StartTime int
Tags List<string>

A set of tags assigned to the event.

Type string

The type of the event.

Annotations map[string]string

Annotations associated with the event.

Details string

The description of the event.

EndtimeKey int
Id string

The ID of the event in Wavefront.

  • start_time- The start time of the event in epoch milliseconds.
IsEphemeral bool

A Boolean flag. If set to true, creates a point-in-time event (i.e. with no duration).

Name string

The name of the event in Wavefront.

Severity string

The severity category of the event.

StartTime int
Tags []string

A set of tags assigned to the event.

Type string

The type of the event.

annotations Map<String,String>

Annotations associated with the event.

details String

The description of the event.

endtimeKey Integer
id String

The ID of the event in Wavefront.

  • start_time- The start time of the event in epoch milliseconds.
isEphemeral Boolean

A Boolean flag. If set to true, creates a point-in-time event (i.e. with no duration).

name String

The name of the event in Wavefront.

severity String

The severity category of the event.

startTime Integer
tags List<String>

A set of tags assigned to the event.

type String

The type of the event.

annotations {[key: string]: string}

Annotations associated with the event.

details string

The description of the event.

endtimeKey number
id string

The ID of the event in Wavefront.

  • start_time- The start time of the event in epoch milliseconds.
isEphemeral boolean

A Boolean flag. If set to true, creates a point-in-time event (i.e. with no duration).

name string

The name of the event in Wavefront.

severity string

The severity category of the event.

startTime number
tags string[]

A set of tags assigned to the event.

type string

The type of the event.

annotations Mapping[str, str]

Annotations associated with the event.

details str

The description of the event.

endtime_key int
id str

The ID of the event in Wavefront.

  • start_time- The start time of the event in epoch milliseconds.
is_ephemeral bool

A Boolean flag. If set to true, creates a point-in-time event (i.e. with no duration).

name str

The name of the event in Wavefront.

severity str

The severity category of the event.

start_time int
tags Sequence[str]

A set of tags assigned to the event.

type str

The type of the event.

annotations Map<String>

Annotations associated with the event.

details String

The description of the event.

endtimeKey Number
id String

The ID of the event in Wavefront.

  • start_time- The start time of the event in epoch milliseconds.
isEphemeral Boolean

A Boolean flag. If set to true, creates a point-in-time event (i.e. with no duration).

name String

The name of the event in Wavefront.

severity String

The severity category of the event.

startTime Number
tags List<String>

A set of tags assigned to the event.

type String

The type of the event.

Package Details

Repository
Wavefront pulumi/pulumi-wavefront
License
Apache-2.0
Notes

This Pulumi package is based on the wavefront Terraform Provider.