import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * Provides a Datadog powerpack resource. This can be used to create and manage Datadog powerpacks. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as datadog from "@pulumi/datadog"; * * // Manage Datadog Powerpacks * const foo = new datadog.Powerpack("foo", { * description: "Created using the Datadog provider in terraform", * liveSpan: "4h", * layout: { * height: 10, * width: 3, * x: 1, * y: 0, * }, * templateVariables: [{ * defaults: ["defaults"], * name: "datacenter", * }], * widgets: [{ * eventStreamDefinition: { * query: "*", * eventSize: "l", * title: "Widget Title", * titleSize: "16", * titleAlign: "right", * }, * }], * }); * ``` * * ## Import * * The `pulumi import` command can be used, for example: * * ```sh * $ pulumi import datadog:index/powerpack:Powerpack foo 11111111-2222-3333-4444-555555555555 * ``` */ export declare class Powerpack extends pulumi.CustomResource { /** * Get an existing Powerpack 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?: PowerpackState, opts?: pulumi.CustomResourceOptions): Powerpack; /** * Returns true if the given object is an instance of Powerpack. 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 Powerpack; /** * The description of the powerpack. */ readonly description: pulumi.Output; /** * The layout of the powerpack on a free-form dashboard. */ readonly layout: pulumi.Output; /** * The timeframe to use when displaying the powerpack. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. */ readonly liveSpan: pulumi.Output; /** * The name for the powerpack. */ readonly name: pulumi.Output; /** * Whether or not title should be displayed in the powerpack. */ readonly showTitle: pulumi.Output; /** * List of tags to identify this powerpack. */ readonly tags: pulumi.Output; /** * The list of template variables for this powerpack. */ readonly templateVariables: pulumi.Output; /** * The list of widgets to display in the powerpack. */ readonly widgets: pulumi.Output; /** * Create a Powerpack 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?: PowerpackArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Powerpack resources. */ export interface PowerpackState { /** * The description of the powerpack. */ description?: pulumi.Input; /** * The layout of the powerpack on a free-form dashboard. */ layout?: pulumi.Input; /** * The timeframe to use when displaying the powerpack. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. */ liveSpan?: pulumi.Input; /** * The name for the powerpack. */ name?: pulumi.Input; /** * Whether or not title should be displayed in the powerpack. */ showTitle?: pulumi.Input; /** * List of tags to identify this powerpack. */ tags?: pulumi.Input[]>; /** * The list of template variables for this powerpack. */ templateVariables?: pulumi.Input[]>; /** * The list of widgets to display in the powerpack. */ widgets?: pulumi.Input[]>; } /** * The set of arguments for constructing a Powerpack resource. */ export interface PowerpackArgs { /** * The description of the powerpack. */ description?: pulumi.Input; /** * The layout of the powerpack on a free-form dashboard. */ layout?: pulumi.Input; /** * The timeframe to use when displaying the powerpack. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `weekToDate`, `monthToDate`, `1y`, `alert`. */ liveSpan?: pulumi.Input; /** * The name for the powerpack. */ name?: pulumi.Input; /** * Whether or not title should be displayed in the powerpack. */ showTitle?: pulumi.Input; /** * List of tags to identify this powerpack. */ tags?: pulumi.Input[]>; /** * The list of template variables for this powerpack. */ templateVariables?: pulumi.Input[]>; /** * The list of widgets to display in the powerpack. */ widgets?: pulumi.Input[]>; }