@pulumi/wavefront
Version:
A Pulumi package for creating and managing wavefront cloud resources.
122 lines (121 loc) • 3.81 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Provides a Wavefront event resource. This allows events to be created, updated, and deleted.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as wavefront from "@pulumi/wavefront";
*
* const event = new wavefront.Event("event", {
* name: "terraform-test",
* annotations: {
* severity: "info",
* type: "event type",
* details: "description",
* },
* tags: ["eventTag1"],
* });
* ```
*
* ## Import
*
* You can import events by using the id, for example:
*
* ```sh
* $ pulumi import wavefront:index/event:Event event 1479868728473
* ```
*/
export declare class Event extends pulumi.CustomResource {
/**
* Get an existing Event resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param state Any extra arguments used during the lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: EventState, opts?: pulumi.CustomResourceOptions): Event;
/**
* Returns true if the given object is an instance of Event. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
static isInstance(obj: any): obj is Event;
/**
* The annotations associated with the event.
*/
readonly annotations: pulumi.Output<{
[key: string]: string;
}>;
readonly endtimeKey: pulumi.Output<number | undefined>;
/**
* The name of the event as it is displayed in Wavefront.
*/
readonly name: pulumi.Output<string>;
/**
* The start time of the event in epoch milliseconds.
*/
readonly startTime: pulumi.Output<number | undefined>;
/**
* A set of tags to assign to this resource.
*/
readonly tags: pulumi.Output<string[] | undefined>;
/**
* Create a Event resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name: string, args: EventArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering Event resources.
*/
export interface EventState {
/**
* The annotations associated with the event.
*/
annotations?: pulumi.Input<{
[key: string]: pulumi.Input<string>;
}>;
endtimeKey?: pulumi.Input<number>;
/**
* The name of the event as it is displayed in Wavefront.
*/
name?: pulumi.Input<string>;
/**
* The start time of the event in epoch milliseconds.
*/
startTime?: pulumi.Input<number>;
/**
* A set of tags to assign to this resource.
*/
tags?: pulumi.Input<pulumi.Input<string>[]>;
}
/**
* The set of arguments for constructing a Event resource.
*/
export interface EventArgs {
/**
* The annotations associated with the event.
*/
annotations: pulumi.Input<{
[key: string]: pulumi.Input<string>;
}>;
endtimeKey?: pulumi.Input<number>;
/**
* The name of the event as it is displayed in Wavefront.
*/
name?: pulumi.Input<string>;
/**
* The start time of the event in epoch milliseconds.
*/
startTime?: pulumi.Input<number>;
/**
* A set of tags to assign to this resource.
*/
tags?: pulumi.Input<pulumi.Input<string>[]>;
}