import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * [BETA] Provides an updated version of the Datadog powerpack resource which improves compliance with Datadog's powerpack API spec. This version is currently experimental and prone to changes. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as datadog from "@pulumi/datadog"; * * // Manage Datadog Powerpacks * const foo = new datadog.PowerpackV2("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: [{ * timeseriesDefinition: { * requests: [{ * formulas: [{ * formulaExpression: "my_query_1", * }], * queries: [{ * metricQuery: { * dataSource: "metrics", * query: "avg:system.cpu.user{*} by {env}", * name: "my_query_1", * aggregator: "avg", * }, * }], * }], * title: "CPU Usage", * }, * }], * }); * ``` * * ## Import * * The `pulumi import` command can be used, for example: * * ```sh * $ pulumi import datadog:index/powerpackV2:PowerpackV2 foo 11111111-2222-3333-4444-555555555555 * ``` */ export declare class PowerpackV2 extends pulumi.CustomResource { /** * Get an existing PowerpackV2 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?: PowerpackV2State, opts?: pulumi.CustomResourceOptions): PowerpackV2; /** * Check whether an existing PowerpackV2 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?: PowerpackV2State, opts?: pulumi.CustomResourceOptions): pulumi.Output; /** * Returns true if the given object is an instance of PowerpackV2. 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 PowerpackV2; /** * 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. */ 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 PowerpackV2 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?: PowerpackV2Args, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering PowerpackV2 resources. */ export interface PowerpackV2State { /** * 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. */ 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[] | undefined>; /** * The list of template variables for this powerpack. */ templateVariables?: pulumi.Input[] | undefined>; /** * The list of widgets to display in the powerpack. */ widgets?: pulumi.Input[] | undefined>; } /** * The set of arguments for constructing a PowerpackV2 resource. */ export interface PowerpackV2Args { /** * 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. */ 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[] | undefined>; /** * The list of template variables for this powerpack. */ templateVariables?: pulumi.Input[] | undefined>; /** * The list of widgets to display in the powerpack. */ widgets?: pulumi.Input[] | undefined>; } //# sourceMappingURL=powerpackV2.d.ts.map