import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * Provides a Datadog RUM Operation resource. This can be used to create and manage RUM operations. When automatic SLO creation is enabled for the organization, creating an operation also creates an availability SLO tagged `feature_operation:`, and deleting it deletes the SLOs carrying that tag for the operation's application. Renaming the operation or changing its application leaves the previous SLO in place. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as datadog from "@pulumi/datadog"; * * const checkout = new datadog.RumOperation("checkout", { * name: "checkout", * displayName: "Checkout", * applicationId: "00000000-0000-0000-0000-000000000000", * description: "From the cart to the order confirmation page.", * category: "form_submission", * tags: ["team:payments"], * steps: [ * { * type: "start", * nodes: [{ * query: "@view.name:/cart @action.name:checkout", * }], * }, * { * type: "stop", * nodes: [{ * query: "@view.name:/order/confirmation", * }], * }, * { * type: "error", * composite: { * kind: "in_order", * maxWindowMs: 60000, * predicates: [ * { * query: "@type:action @action.name:pay", * }, * { * query: "@type:error @error.message:*declined*", * }, * ], * }, * }, * ], * }); * ``` * * ## Import * * The `pulumi import` command can be used, for example: * * ```sh * $ pulumi import datadog:index/rumOperation:RumOperation checkout "" * ``` */ export declare class RumOperation extends pulumi.CustomResource { /** * Get an existing RumOperation 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, state?: RumOperationState, opts?: pulumi.CustomResourceOptions): RumOperation; /** * Check whether an existing RumOperation resource with the given ID exists. * * @param id The _unique_ provider ID of the resource to check. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static exists(id: pulumi.Input, state?: RumOperationState, opts?: pulumi.CustomResourceOptions): pulumi.Output; /** * Returns true if the given object is an instance of RumOperation. 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 RumOperation; /** * ID of the RUM application the operation belongs to. */ readonly applicationId: pulumi.Output; /** * Category of the operation. */ readonly category: pulumi.Output; /** * Description of the operation. */ readonly description: pulumi.Output; /** * Human readable name of the operation. Defaults to `name`. */ readonly displayName: pulumi.Output; /** * Unique name of the operation within the organization. Must not contain spaces. Changing it recreates the operation. */ readonly name: pulumi.Output; /** * Ordered steps defining how RUM events drive the operation lifecycle. */ readonly steps: pulumi.Output; /** * Tags attached to the operation. */ readonly tags: pulumi.Output; /** * Create a RumOperation 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: RumOperationArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering RumOperation resources. */ export interface RumOperationState { /** * ID of the RUM application the operation belongs to. */ applicationId?: pulumi.Input; /** * Category of the operation. */ category?: pulumi.Input; /** * Description of the operation. */ description?: pulumi.Input; /** * Human readable name of the operation. Defaults to `name`. */ displayName?: pulumi.Input; /** * Unique name of the operation within the organization. Must not contain spaces. Changing it recreates the operation. */ name?: pulumi.Input; /** * Ordered steps defining how RUM events drive the operation lifecycle. */ steps?: pulumi.Input[] | undefined>; /** * Tags attached to the operation. */ tags?: pulumi.Input[] | undefined>; } /** * The set of arguments for constructing a RumOperation resource. */ export interface RumOperationArgs { /** * ID of the RUM application the operation belongs to. */ applicationId: pulumi.Input; /** * Category of the operation. */ category?: pulumi.Input; /** * Description of the operation. */ description?: pulumi.Input; /** * Human readable name of the operation. Defaults to `name`. */ displayName?: pulumi.Input; /** * Unique name of the operation within the organization. Must not contain spaces. Changing it recreates the operation. */ name: pulumi.Input; /** * Ordered steps defining how RUM events drive the operation lifecycle. */ steps: pulumi.Input[]>; /** * Tags attached to the operation. */ tags?: pulumi.Input[] | undefined>; } //# sourceMappingURL=rumOperation.d.ts.map