Viewing docs for Datadog v5.11.0
published on Tuesday, Sep 15, 2026 by Pulumi
published on Tuesday, Sep 15, 2026 by Pulumi
Viewing docs for Datadog v5.11.0
published on Tuesday, Sep 15, 2026 by Pulumi
published on Tuesday, Sep 15, 2026 by Pulumi
Use this data source to retrieve information about an existing Datadog status page maintenance template.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as datadog from "@pulumi/datadog";
const routine = datadog.getStatusPageMaintenanceTemplate({
pageId: "5e9bd12c-6cde-4247-85fd-98045fbd9b8f",
id: "8fd8c3ef-07b1-4441-b52a-7e42d8474d5c",
});
import pulumi
import pulumi_datadog as datadog
routine = datadog.get_status_page_maintenance_template(page_id="5e9bd12c-6cde-4247-85fd-98045fbd9b8f",
id="8fd8c3ef-07b1-4441-b52a-7e42d8474d5c")
package main
import (
"github.com/pulumi/pulumi-datadog/sdk/v5/go/datadog"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := datadog.GetStatusPageMaintenanceTemplate(ctx, &datadog.LookupStatusPageMaintenanceTemplateArgs{
PageId: "5e9bd12c-6cde-4247-85fd-98045fbd9b8f",
Id: "8fd8c3ef-07b1-4441-b52a-7e42d8474d5c",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Datadog = Pulumi.Datadog;
return await Deployment.RunAsync(() =>
{
var routine = Datadog.GetStatusPageMaintenanceTemplate.Invoke(new()
{
PageId = "5e9bd12c-6cde-4247-85fd-98045fbd9b8f",
Id = "8fd8c3ef-07b1-4441-b52a-7e42d8474d5c",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.datadog.DatadogFunctions;
import com.pulumi.datadog.inputs.GetStatusPageMaintenanceTemplateArgs;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var routine = DatadogFunctions.getStatusPageMaintenanceTemplate(GetStatusPageMaintenanceTemplateArgs.builder()
.pageId("5e9bd12c-6cde-4247-85fd-98045fbd9b8f")
.id("8fd8c3ef-07b1-4441-b52a-7e42d8474d5c")
.build());
}
}
variables:
routine:
fn::invoke:
function: datadog:getStatusPageMaintenanceTemplate
arguments:
pageId: 5e9bd12c-6cde-4247-85fd-98045fbd9b8f
id: 8fd8c3ef-07b1-4441-b52a-7e42d8474d5c
pulumi {
required_providers {
datadog = {
source = "pulumi/datadog"
}
}
}
data "datadog_getstatuspagemaintenancetemplate" "routine" {
page_id = "5e9bd12c-6cde-4247-85fd-98045fbd9b8f"
id = "8fd8c3ef-07b1-4441-b52a-7e42d8474d5c"
}
Using getStatusPageMaintenanceTemplate
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getStatusPageMaintenanceTemplate(args: GetStatusPageMaintenanceTemplateArgs, opts?: InvokeOptions): Promise<GetStatusPageMaintenanceTemplateResult>
function getStatusPageMaintenanceTemplateOutput(args: GetStatusPageMaintenanceTemplateOutputArgs, opts?: InvokeOutputOptions): Output<GetStatusPageMaintenanceTemplateResult>def get_status_page_maintenance_template(id: Optional[str] = None,
page_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetStatusPageMaintenanceTemplateResult
def get_status_page_maintenance_template_output(id: pulumi.Input[Optional[str]] = None,
page_id: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetStatusPageMaintenanceTemplateResult]func LookupStatusPageMaintenanceTemplate(ctx *Context, args *LookupStatusPageMaintenanceTemplateArgs, opts ...InvokeOption) (*LookupStatusPageMaintenanceTemplateResult, error)
func LookupStatusPageMaintenanceTemplateOutput(ctx *Context, args *LookupStatusPageMaintenanceTemplateOutputArgs, opts ...InvokeOption) LookupStatusPageMaintenanceTemplateResultOutput> Note: This function is named LookupStatusPageMaintenanceTemplate in the Go SDK.
public static class GetStatusPageMaintenanceTemplate
{
public static Task<GetStatusPageMaintenanceTemplateResult> InvokeAsync(GetStatusPageMaintenanceTemplateArgs args, InvokeOptions? opts = null)
public static Output<GetStatusPageMaintenanceTemplateResult> Invoke(GetStatusPageMaintenanceTemplateInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetStatusPageMaintenanceTemplateResult> Invoke(GetStatusPageMaintenanceTemplateInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetStatusPageMaintenanceTemplateResult> getStatusPageMaintenanceTemplate(GetStatusPageMaintenanceTemplateArgs args, InvokeOptions options)
public static Output<GetStatusPageMaintenanceTemplateResult> getStatusPageMaintenanceTemplate(GetStatusPageMaintenanceTemplateArgs args, InvokeOptions options)
public static Output<GetStatusPageMaintenanceTemplateResult> getStatusPageMaintenanceTemplate(GetStatusPageMaintenanceTemplateArgs args, InvokeOutputOptions options)
fn::invoke:
function: datadog:index/getStatusPageMaintenanceTemplate:getStatusPageMaintenanceTemplate
arguments:
# arguments dictionarydata "datadog_get_status_page_maintenance_template" "name" {
# arguments
}The following arguments are supported:
getStatusPageMaintenanceTemplate Result
The following output properties are available:
- Completed
Description string - The pre-filled description shown once the maintenance is completed.
- Component
Ids List<string> - The IDs of the components affected by a maintenance created from this template.
- Created
At string - Timestamp when the maintenance template was created.
- Id string
- The ID of the maintenance template.
- In
Progress stringDescription - The pre-filled description shown while the maintenance is in progress.
- Maintenance
Title string - The title used for a maintenance created from this template.
- Modified
At string - Timestamp of when the maintenance template was last modified.
- Name string
- The name of the maintenance template.
- Page
Id string - The ID of the status page this maintenance template belongs to.
- Scheduled
Description string - The pre-filled description shown while the maintenance is scheduled.
- Completed
Description string - The pre-filled description shown once the maintenance is completed.
- Component
Ids []string - The IDs of the components affected by a maintenance created from this template.
- Created
At string - Timestamp when the maintenance template was created.
- Id string
- The ID of the maintenance template.
- In
Progress stringDescription - The pre-filled description shown while the maintenance is in progress.
- Maintenance
Title string - The title used for a maintenance created from this template.
- Modified
At string - Timestamp of when the maintenance template was last modified.
- Name string
- The name of the maintenance template.
- Page
Id string - The ID of the status page this maintenance template belongs to.
- Scheduled
Description string - The pre-filled description shown while the maintenance is scheduled.
- completed_
description string - The pre-filled description shown once the maintenance is completed.
- component_
ids list(string) - The IDs of the components affected by a maintenance created from this template.
- created_
at string - Timestamp when the maintenance template was created.
- id string
- The ID of the maintenance template.
- in_
progress_ stringdescription - The pre-filled description shown while the maintenance is in progress.
- maintenance_
title string - The title used for a maintenance created from this template.
- modified_
at string - Timestamp of when the maintenance template was last modified.
- name string
- The name of the maintenance template.
- page_
id string - The ID of the status page this maintenance template belongs to.
- scheduled_
description string - The pre-filled description shown while the maintenance is scheduled.
- completed
Description String - The pre-filled description shown once the maintenance is completed.
- component
Ids List<String> - The IDs of the components affected by a maintenance created from this template.
- created
At String - Timestamp when the maintenance template was created.
- id String
- The ID of the maintenance template.
- in
Progress StringDescription - The pre-filled description shown while the maintenance is in progress.
- maintenance
Title String - The title used for a maintenance created from this template.
- modified
At String - Timestamp of when the maintenance template was last modified.
- name String
- The name of the maintenance template.
- page
Id String - The ID of the status page this maintenance template belongs to.
- scheduled
Description String - The pre-filled description shown while the maintenance is scheduled.
- completed
Description string - The pre-filled description shown once the maintenance is completed.
- component
Ids string[] - The IDs of the components affected by a maintenance created from this template.
- created
At string - Timestamp when the maintenance template was created.
- id string
- The ID of the maintenance template.
- in
Progress stringDescription - The pre-filled description shown while the maintenance is in progress.
- maintenance
Title string - The title used for a maintenance created from this template.
- modified
At string - Timestamp of when the maintenance template was last modified.
- name string
- The name of the maintenance template.
- page
Id string - The ID of the status page this maintenance template belongs to.
- scheduled
Description string - The pre-filled description shown while the maintenance is scheduled.
- completed_
description str - The pre-filled description shown once the maintenance is completed.
- component_
ids Sequence[str] - The IDs of the components affected by a maintenance created from this template.
- created_
at str - Timestamp when the maintenance template was created.
- id str
- The ID of the maintenance template.
- in_
progress_ strdescription - The pre-filled description shown while the maintenance is in progress.
- maintenance_
title str - The title used for a maintenance created from this template.
- modified_
at str - Timestamp of when the maintenance template was last modified.
- name str
- The name of the maintenance template.
- page_
id str - The ID of the status page this maintenance template belongs to.
- scheduled_
description str - The pre-filled description shown while the maintenance is scheduled.
- completed
Description String - The pre-filled description shown once the maintenance is completed.
- component
Ids List<String> - The IDs of the components affected by a maintenance created from this template.
- created
At String - Timestamp when the maintenance template was created.
- id String
- The ID of the maintenance template.
- in
Progress StringDescription - The pre-filled description shown while the maintenance is in progress.
- maintenance
Title String - The title used for a maintenance created from this template.
- modified
At String - Timestamp of when the maintenance template was last modified.
- name String
- The name of the maintenance template.
- page
Id String - The ID of the status page this maintenance template belongs to.
- scheduled
Description String - The pre-filled description shown while the maintenance is scheduled.
Package Details
- Repository
- Datadog pulumi/pulumi-datadog
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
datadogTerraform Provider.
Viewing docs for Datadog v5.11.0
published on Tuesday, Sep 15, 2026 by Pulumi
published on Tuesday, Sep 15, 2026 by Pulumi