import * as pulumi from "@pulumi/pulumi"; /** * Provides a Datadog status page maintenance template resource. This can be used to create and manage pre-filled templates for scheduled maintenances on a status page. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as datadog from "@pulumi/datadog"; * * // Create new datadog_status_page_maintenance_template 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 acmeMaintenanceTemplate = new datadog.StatusPageMaintenanceTemplate("acme_maintenance_template", { * pageId: acmeStatusPage.id, * name: "Scheduled Acme API maintenance", * maintenanceTitle: "Acme API maintenance", * componentIds: [acmeApi.id], * scheduledDescription: "Maintenance has been scheduled for the Acme API.", * inProgressDescription: "Maintenance is in progress for the Acme API.", * completedDescription: "Maintenance is complete for the Acme API.", * }); * ``` * * ## Import * * The `pulumi import` command can be used, for example: * * ```sh * $ pulumi import datadog:index/statusPageMaintenanceTemplate:StatusPageMaintenanceTemplate example "09a89ab4-d622-4fbd-87e5-81b4124bd064:7c4f9a3e-2b1d-4e6a-9f0c-3d8b5a1e6c2f" * ``` */ export declare class StatusPageMaintenanceTemplate extends pulumi.CustomResource { /** * Get an existing StatusPageMaintenanceTemplate 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?: StatusPageMaintenanceTemplateState, opts?: pulumi.CustomResourceOptions): StatusPageMaintenanceTemplate; /** * Check whether an existing StatusPageMaintenanceTemplate 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?: StatusPageMaintenanceTemplateState, opts?: pulumi.CustomResourceOptions): pulumi.Output; /** * Returns true if the given object is an instance of StatusPageMaintenanceTemplate. 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 StatusPageMaintenanceTemplate; /** * The pre-filled description shown once the maintenance is completed. */ readonly completedDescription: pulumi.Output; /** * The IDs of the components affected by a maintenance created from this template. */ readonly componentIds: pulumi.Output; /** * Timestamp when the maintenance template was created. */ readonly createdAt: pulumi.Output; /** * The pre-filled description shown while the maintenance is in progress. */ readonly inProgressDescription: pulumi.Output; /** * The title used for a maintenance created from this template. */ readonly maintenanceTitle: pulumi.Output; /** * Timestamp of when the maintenance template was last modified. */ readonly modifiedAt: pulumi.Output; /** * The name of the maintenance template. */ readonly name: pulumi.Output; /** * The ID of the status page this maintenance template belongs to. */ readonly pageId: pulumi.Output; /** * The pre-filled description shown while the maintenance is scheduled. */ readonly scheduledDescription: pulumi.Output; /** * Create a StatusPageMaintenanceTemplate 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: StatusPageMaintenanceTemplateArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering StatusPageMaintenanceTemplate resources. */ export interface StatusPageMaintenanceTemplateState { /** * The pre-filled description shown once the maintenance is completed. */ completedDescription?: pulumi.Input; /** * The IDs of the components affected by a maintenance created from this template. */ componentIds?: pulumi.Input[] | undefined>; /** * Timestamp when the maintenance template was created. */ createdAt?: pulumi.Input; /** * The pre-filled description shown while the maintenance is in progress. */ inProgressDescription?: pulumi.Input; /** * The title used for a maintenance created from this template. */ maintenanceTitle?: pulumi.Input; /** * Timestamp of when the maintenance template was last modified. */ modifiedAt?: pulumi.Input; /** * The name of the maintenance template. */ name?: pulumi.Input; /** * The ID of the status page this maintenance template belongs to. */ pageId?: pulumi.Input; /** * The pre-filled description shown while the maintenance is scheduled. */ scheduledDescription?: pulumi.Input; } /** * The set of arguments for constructing a StatusPageMaintenanceTemplate resource. */ export interface StatusPageMaintenanceTemplateArgs { /** * The pre-filled description shown once the maintenance is completed. */ completedDescription?: pulumi.Input; /** * The IDs of the components affected by a maintenance created from this template. */ componentIds?: pulumi.Input[] | undefined>; /** * The pre-filled description shown while the maintenance is in progress. */ inProgressDescription?: pulumi.Input; /** * The title used for a maintenance created from this template. */ maintenanceTitle?: pulumi.Input; /** * The name of the maintenance template. */ name: pulumi.Input; /** * The ID of the status page this maintenance template belongs to. */ pageId: pulumi.Input; /** * The pre-filled description shown while the maintenance is scheduled. */ scheduledDescription?: pulumi.Input; } //# sourceMappingURL=statusPageMaintenanceTemplate.d.ts.map