import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * Manages a Datadog secure embed shared dashboard. NOTE: The HMAC `credential` is only returned by the API once on creation and is stored in Terraform state. Ensure your state backend uses encryption at rest and has appropriate access controls. */ export declare class SecureEmbedDashboard extends pulumi.CustomResource { /** * Get an existing SecureEmbedDashboard 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?: SecureEmbedDashboardState, opts?: pulumi.CustomResourceOptions): SecureEmbedDashboard; /** * Returns true if the given object is an instance of SecureEmbedDashboard. 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 SecureEmbedDashboard; /** * The HMAC credential granting access to this secure embed. Only available on initial creation; stored in state. */ readonly credential: pulumi.Output; /** * The ID of the dashboard to create a secure embed for. */ readonly dashboardId: pulumi.Output; /** * The live span for the global time, e.g. `1h`, `4h`, `1d`, `2d`, `1w`. Defaults to `"1h"`. */ readonly globalTimeLiveSpan: pulumi.Output; /** * Whether viewers can change the global time range. Defaults to `true`. */ readonly globalTimeSelectable: pulumi.Output; /** * Template variables that viewers can filter by. */ readonly selectableTemplateVars: pulumi.Output; /** * Status of the secure embed. Valid values are `active` and `paused`. Defaults to `"active"`. */ readonly status: pulumi.Output; /** * Title of the secure embed share. */ readonly title: pulumi.Output; /** * The share token for the secure embed. */ readonly token: pulumi.Output; /** * The public URL for the embedded dashboard. */ readonly url: pulumi.Output; /** * Whether to display the dashboard in high density mode. Defaults to `false`. */ readonly viewingPreferencesHighDensity: pulumi.Output; /** * Display theme for the embedded dashboard. Valid values are `system`, `dark`, `light`. Defaults to `"system"`. */ readonly viewingPreferencesTheme: pulumi.Output; /** * Create a SecureEmbedDashboard 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: SecureEmbedDashboardArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering SecureEmbedDashboard resources. */ export interface SecureEmbedDashboardState { /** * The HMAC credential granting access to this secure embed. Only available on initial creation; stored in state. */ credential?: pulumi.Input; /** * The ID of the dashboard to create a secure embed for. */ dashboardId?: pulumi.Input; /** * The live span for the global time, e.g. `1h`, `4h`, `1d`, `2d`, `1w`. Defaults to `"1h"`. */ globalTimeLiveSpan?: pulumi.Input; /** * Whether viewers can change the global time range. Defaults to `true`. */ globalTimeSelectable?: pulumi.Input; /** * Template variables that viewers can filter by. */ selectableTemplateVars?: pulumi.Input[]>; /** * Status of the secure embed. Valid values are `active` and `paused`. Defaults to `"active"`. */ status?: pulumi.Input; /** * Title of the secure embed share. */ title?: pulumi.Input; /** * The share token for the secure embed. */ token?: pulumi.Input; /** * The public URL for the embedded dashboard. */ url?: pulumi.Input; /** * Whether to display the dashboard in high density mode. Defaults to `false`. */ viewingPreferencesHighDensity?: pulumi.Input; /** * Display theme for the embedded dashboard. Valid values are `system`, `dark`, `light`. Defaults to `"system"`. */ viewingPreferencesTheme?: pulumi.Input; } /** * The set of arguments for constructing a SecureEmbedDashboard resource. */ export interface SecureEmbedDashboardArgs { /** * The ID of the dashboard to create a secure embed for. */ dashboardId: pulumi.Input; /** * The live span for the global time, e.g. `1h`, `4h`, `1d`, `2d`, `1w`. Defaults to `"1h"`. */ globalTimeLiveSpan?: pulumi.Input; /** * Whether viewers can change the global time range. Defaults to `true`. */ globalTimeSelectable?: pulumi.Input; /** * Template variables that viewers can filter by. */ selectableTemplateVars?: pulumi.Input[]>; /** * Status of the secure embed. Valid values are `active` and `paused`. Defaults to `"active"`. */ status?: pulumi.Input; /** * Title of the secure embed share. */ title: pulumi.Input; /** * Whether to display the dashboard in high density mode. Defaults to `false`. */ viewingPreferencesHighDensity?: pulumi.Input; /** * Display theme for the embedded dashboard. Valid values are `system`, `dark`, `light`. Defaults to `"system"`. */ viewingPreferencesTheme?: pulumi.Input; }