import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * Provides a Datadog status page component resource. This can be used to create and manage components on a status page. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as datadog from "@pulumi/datadog"; * * // Create new datadog_status_page_component resource * const acmeStatusPage = new datadog.StatusPage("acme_status_page", { * name: "Acme Status", * type: "public", * domainPrefix: "acme-status", * visualizationType: "bars_and_uptime_percentage", * }); * const acmeApi = new datadog.StatusPageComponent("acme_api", { * pageId: acmeStatusPage.id, * name: "API", * type: "component", * position: 0, * }); * const acmeInfrastructure = new datadog.StatusPageComponent("acme_infrastructure", { * pageId: acmeStatusPage.id, * name: "Infrastructure", * type: "group", * position: 1, * components: [ * { * name: "US Region", * type: "component", * position: 0, * }, * { * name: "EU Region", * type: "component", * position: 1, * }, * ], * }); * ``` * * ## Import * * The `pulumi import` command can be used, for example: * * ```sh * $ pulumi import datadog:index/statusPageComponent:StatusPageComponent example "09a89ab4-d622-4fbd-87e5-81b4124bd064:1e2c6615-801b-4630-9d31-5b2f27d5b6f0" * ``` */ export declare class StatusPageComponent extends pulumi.CustomResource { /** * Get an existing StatusPageComponent 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?: StatusPageComponentState, opts?: pulumi.CustomResourceOptions): StatusPageComponent; /** * Check whether an existing StatusPageComponent 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?: StatusPageComponentState, opts?: pulumi.CustomResourceOptions): pulumi.Output; /** * Returns true if the given object is an instance of StatusPageComponent. 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 StatusPageComponent; /** * The sub-components of a component of type `group`. */ readonly components: pulumi.Output; /** * Timestamp when the component was created. */ readonly createdAt: pulumi.Output; /** * Timestamp when the component was last modified. */ readonly modifiedAt: pulumi.Output; /** * The name of the component. */ readonly name: pulumi.Output; /** * The ID of the status page this component belongs to. */ readonly pageId: pulumi.Output; /** * The position of the component on the status page. Must be between `0` and the current number of existing components on the page, inclusive (that is, it can append one past the current highest position, but cannot skip ahead further or be negative). A `position` value that depends on a sibling component being created first requires an explicit `dependsOn` on that sibling to guarantee creation order. */ readonly position: pulumi.Output; /** * The current status of the component. */ readonly status: pulumi.Output; /** * The type of the component. Valid values are: component, group. */ readonly type: pulumi.Output; /** * Create a StatusPageComponent 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: StatusPageComponentArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering StatusPageComponent resources. */ export interface StatusPageComponentState { /** * The sub-components of a component of type `group`. */ components?: pulumi.Input[] | undefined>; /** * Timestamp when the component was created. */ createdAt?: pulumi.Input; /** * Timestamp when the component was last modified. */ modifiedAt?: pulumi.Input; /** * The name of the component. */ name?: pulumi.Input; /** * The ID of the status page this component belongs to. */ pageId?: pulumi.Input; /** * The position of the component on the status page. Must be between `0` and the current number of existing components on the page, inclusive (that is, it can append one past the current highest position, but cannot skip ahead further or be negative). A `position` value that depends on a sibling component being created first requires an explicit `dependsOn` on that sibling to guarantee creation order. */ position?: pulumi.Input; /** * The current status of the component. */ status?: pulumi.Input; /** * The type of the component. Valid values are: component, group. */ type?: pulumi.Input; } /** * The set of arguments for constructing a StatusPageComponent resource. */ export interface StatusPageComponentArgs { /** * The sub-components of a component of type `group`. */ components?: pulumi.Input[] | undefined>; /** * The name of the component. */ name: pulumi.Input; /** * The ID of the status page this component belongs to. */ pageId: pulumi.Input; /** * The position of the component on the status page. Must be between `0` and the current number of existing components on the page, inclusive (that is, it can append one past the current highest position, but cannot skip ahead further or be negative). A `position` value that depends on a sibling component being created first requires an explicit `dependsOn` on that sibling to guarantee creation order. */ position: pulumi.Input; /** * The type of the component. Valid values are: component, group. */ type: pulumi.Input; } //# sourceMappingURL=statusPageComponent.d.ts.map