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 degradation template.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as datadog from "@pulumi/datadog";
const outage = datadog.getStatusPageDegradationTemplate({
pageId: "5e9bd12c-6cde-4247-85fd-98045fbd9b8f",
id: "8fd8c3ef-07b1-4441-b52a-7e42d8474d5c",
});
import pulumi
import pulumi_datadog as datadog
outage = datadog.get_status_page_degradation_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.GetStatusPageDegradationTemplate(ctx, &datadog.LookupStatusPageDegradationTemplateArgs{
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 outage = Datadog.GetStatusPageDegradationTemplate.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.GetStatusPageDegradationTemplateArgs;
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 outage = DatadogFunctions.getStatusPageDegradationTemplate(GetStatusPageDegradationTemplateArgs.builder()
.pageId("5e9bd12c-6cde-4247-85fd-98045fbd9b8f")
.id("8fd8c3ef-07b1-4441-b52a-7e42d8474d5c")
.build());
}
}
variables:
outage:
fn::invoke:
function: datadog:getStatusPageDegradationTemplate
arguments:
pageId: 5e9bd12c-6cde-4247-85fd-98045fbd9b8f
id: 8fd8c3ef-07b1-4441-b52a-7e42d8474d5c
pulumi {
required_providers {
datadog = {
source = "pulumi/datadog"
}
}
}
data "datadog_getstatuspagedegradationtemplate" "outage" {
page_id = "5e9bd12c-6cde-4247-85fd-98045fbd9b8f"
id = "8fd8c3ef-07b1-4441-b52a-7e42d8474d5c"
}
Using getStatusPageDegradationTemplate
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 getStatusPageDegradationTemplate(args: GetStatusPageDegradationTemplateArgs, opts?: InvokeOptions): Promise<GetStatusPageDegradationTemplateResult>
function getStatusPageDegradationTemplateOutput(args: GetStatusPageDegradationTemplateOutputArgs, opts?: InvokeOutputOptions): Output<GetStatusPageDegradationTemplateResult>def get_status_page_degradation_template(id: Optional[str] = None,
page_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetStatusPageDegradationTemplateResult
def get_status_page_degradation_template_output(id: pulumi.Input[Optional[str]] = None,
page_id: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetStatusPageDegradationTemplateResult]func LookupStatusPageDegradationTemplate(ctx *Context, args *LookupStatusPageDegradationTemplateArgs, opts ...InvokeOption) (*LookupStatusPageDegradationTemplateResult, error)
func LookupStatusPageDegradationTemplateOutput(ctx *Context, args *LookupStatusPageDegradationTemplateOutputArgs, opts ...InvokeOption) LookupStatusPageDegradationTemplateResultOutput> Note: This function is named LookupStatusPageDegradationTemplate in the Go SDK.
public static class GetStatusPageDegradationTemplate
{
public static Task<GetStatusPageDegradationTemplateResult> InvokeAsync(GetStatusPageDegradationTemplateArgs args, InvokeOptions? opts = null)
public static Output<GetStatusPageDegradationTemplateResult> Invoke(GetStatusPageDegradationTemplateInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetStatusPageDegradationTemplateResult> Invoke(GetStatusPageDegradationTemplateInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetStatusPageDegradationTemplateResult> getStatusPageDegradationTemplate(GetStatusPageDegradationTemplateArgs args, InvokeOptions options)
public static Output<GetStatusPageDegradationTemplateResult> getStatusPageDegradationTemplate(GetStatusPageDegradationTemplateArgs args, InvokeOptions options)
public static Output<GetStatusPageDegradationTemplateResult> getStatusPageDegradationTemplate(GetStatusPageDegradationTemplateArgs args, InvokeOutputOptions options)
fn::invoke:
function: datadog:index/getStatusPageDegradationTemplate:getStatusPageDegradationTemplate
arguments:
# arguments dictionarydata "datadog_get_status_page_degradation_template" "name" {
# arguments
}The following arguments are supported:
getStatusPageDegradationTemplate Result
The following output properties are available:
- Components
Affecteds List<GetStatus Page Degradation Template Components Affected> - The components affected by a degradation created from this template.
- Created
At string - Timestamp when the degradation template was created.
- Degradation
Title string - The title used for a degradation created from this template.
- Id string
- The ID of the degradation template.
- Modified
At string - Timestamp when the degradation template was last modified.
- Name string
- The name of the degradation template.
- Page
Id string - The ID of the status page this degradation template belongs to.
- Updates
List<Get
Status Page Degradation Template Update> - The pre-filled updates for a degradation created from this template.
- Components
Affecteds []GetStatus Page Degradation Template Components Affected - The components affected by a degradation created from this template.
- Created
At string - Timestamp when the degradation template was created.
- Degradation
Title string - The title used for a degradation created from this template.
- Id string
- The ID of the degradation template.
- Modified
At string - Timestamp when the degradation template was last modified.
- Name string
- The name of the degradation template.
- Page
Id string - The ID of the status page this degradation template belongs to.
- Updates
[]Get
Status Page Degradation Template Update - The pre-filled updates for a degradation created from this template.
- components_
affecteds list(object) - The components affected by a degradation created from this template.
- created_
at string - Timestamp when the degradation template was created.
- degradation_
title string - The title used for a degradation created from this template.
- id string
- The ID of the degradation template.
- modified_
at string - Timestamp when the degradation template was last modified.
- name string
- The name of the degradation template.
- page_
id string - The ID of the status page this degradation template belongs to.
- updates list(object)
- The pre-filled updates for a degradation created from this template.
- components
Affecteds List<GetStatus Page Degradation Template Components Affected> - The components affected by a degradation created from this template.
- created
At String - Timestamp when the degradation template was created.
- degradation
Title String - The title used for a degradation created from this template.
- id String
- The ID of the degradation template.
- modified
At String - Timestamp when the degradation template was last modified.
- name String
- The name of the degradation template.
- page
Id String - The ID of the status page this degradation template belongs to.
- updates
List<Get
Status Page Degradation Template Update> - The pre-filled updates for a degradation created from this template.
- components
Affecteds GetStatus Page Degradation Template Components Affected[] - The components affected by a degradation created from this template.
- created
At string - Timestamp when the degradation template was created.
- degradation
Title string - The title used for a degradation created from this template.
- id string
- The ID of the degradation template.
- modified
At string - Timestamp when the degradation template was last modified.
- name string
- The name of the degradation template.
- page
Id string - The ID of the status page this degradation template belongs to.
- updates
Get
Status Page Degradation Template Update[] - The pre-filled updates for a degradation created from this template.
- components_
affecteds Sequence[GetStatus Page Degradation Template Components Affected] - The components affected by a degradation created from this template.
- created_
at str - Timestamp when the degradation template was created.
- degradation_
title str - The title used for a degradation created from this template.
- id str
- The ID of the degradation template.
- modified_
at str - Timestamp when the degradation template was last modified.
- name str
- The name of the degradation template.
- page_
id str - The ID of the status page this degradation template belongs to.
- updates
Sequence[Get
Status Page Degradation Template Update] - The pre-filled updates for a degradation created from this template.
- components
Affecteds List<Property Map> - The components affected by a degradation created from this template.
- created
At String - Timestamp when the degradation template was created.
- degradation
Title String - The title used for a degradation created from this template.
- id String
- The ID of the degradation template.
- modified
At String - Timestamp when the degradation template was last modified.
- name String
- The name of the degradation template.
- page
Id String - The ID of the status page this degradation template belongs to.
- updates List<Property Map>
- The pre-filled updates for a degradation created from this template.
Supporting Types
GetStatusPageDegradationTemplateComponentsAffected
GetStatusPageDegradationTemplateUpdate
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