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 list the components and groups of a Datadog status page, for discovery or import. An empty result is not an error.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as datadog from "@pulumi/datadog";
const all = datadog.getStatusPageComponents({
pageId: "5e9bd12c-6cde-4247-85fd-98045fbd9b8f",
});
import pulumi
import pulumi_datadog as datadog
all = datadog.get_status_page_components(page_id="5e9bd12c-6cde-4247-85fd-98045fbd9b8f")
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.GetStatusPageComponents(ctx, &datadog.GetStatusPageComponentsArgs{
PageId: "5e9bd12c-6cde-4247-85fd-98045fbd9b8f",
}, 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 all = Datadog.GetStatusPageComponents.Invoke(new()
{
PageId = "5e9bd12c-6cde-4247-85fd-98045fbd9b8f",
});
});
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.GetStatusPageComponentsArgs;
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 all = DatadogFunctions.getStatusPageComponents(GetStatusPageComponentsArgs.builder()
.pageId("5e9bd12c-6cde-4247-85fd-98045fbd9b8f")
.build());
}
}
variables:
all:
fn::invoke:
function: datadog:getStatusPageComponents
arguments:
pageId: 5e9bd12c-6cde-4247-85fd-98045fbd9b8f
pulumi {
required_providers {
datadog = {
source = "pulumi/datadog"
}
}
}
data "datadog_getstatuspagecomponents" "all" {
page_id = "5e9bd12c-6cde-4247-85fd-98045fbd9b8f"
}
Using getStatusPageComponents
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 getStatusPageComponents(args: GetStatusPageComponentsArgs, opts?: InvokeOptions): Promise<GetStatusPageComponentsResult>
function getStatusPageComponentsOutput(args: GetStatusPageComponentsOutputArgs, opts?: InvokeOutputOptions): Output<GetStatusPageComponentsResult>def get_status_page_components(name: Optional[str] = None,
page_id: Optional[str] = None,
type: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetStatusPageComponentsResult
def get_status_page_components_output(name: pulumi.Input[Optional[str]] = None,
page_id: pulumi.Input[Optional[str]] = None,
type: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetStatusPageComponentsResult]func GetStatusPageComponents(ctx *Context, args *GetStatusPageComponentsArgs, opts ...InvokeOption) (*GetStatusPageComponentsResult, error)
func GetStatusPageComponentsOutput(ctx *Context, args *GetStatusPageComponentsOutputArgs, opts ...InvokeOption) GetStatusPageComponentsResultOutput> Note: This function is named GetStatusPageComponents in the Go SDK.
public static class GetStatusPageComponents
{
public static Task<GetStatusPageComponentsResult> InvokeAsync(GetStatusPageComponentsArgs args, InvokeOptions? opts = null)
public static Output<GetStatusPageComponentsResult> Invoke(GetStatusPageComponentsInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetStatusPageComponentsResult> Invoke(GetStatusPageComponentsInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetStatusPageComponentsResult> getStatusPageComponents(GetStatusPageComponentsArgs args, InvokeOptions options)
public static Output<GetStatusPageComponentsResult> getStatusPageComponents(GetStatusPageComponentsArgs args, InvokeOptions options)
public static Output<GetStatusPageComponentsResult> getStatusPageComponents(GetStatusPageComponentsArgs args, InvokeOutputOptions options)
fn::invoke:
function: datadog:index/getStatusPageComponents:getStatusPageComponents
arguments:
# arguments dictionarydata "datadog_get_status_page_components" "name" {
# arguments
}The following arguments are supported:
getStatusPageComponents Result
The following output properties are available:
- Components
List<Get
Status Page Components Component> - The list of matching components and groups.
- Id string
- The ID of this resource.
- Page
Id string - The ID of the status page whose components to list.
- Name string
- Filter the results to components with this exact name.
- Type string
- Filter the results by type (
componentorgroup).
- Components
[]Get
Status Page Components Component - The list of matching components and groups.
- Id string
- The ID of this resource.
- Page
Id string - The ID of the status page whose components to list.
- Name string
- Filter the results to components with this exact name.
- Type string
- Filter the results by type (
componentorgroup).
- components list(object)
- The list of matching components and groups.
- id string
- The ID of this resource.
- page_
id string - The ID of the status page whose components to list.
- name string
- Filter the results to components with this exact name.
- type string
- Filter the results by type (
componentorgroup).
- components
List<Get
Status Page Components Component> - The list of matching components and groups.
- id String
- The ID of this resource.
- page
Id String - The ID of the status page whose components to list.
- name String
- Filter the results to components with this exact name.
- type String
- Filter the results by type (
componentorgroup).
- components
Get
Status Page Components Component[] - The list of matching components and groups.
- id string
- The ID of this resource.
- page
Id string - The ID of the status page whose components to list.
- name string
- Filter the results to components with this exact name.
- type string
- Filter the results by type (
componentorgroup).
- components
Sequence[Get
Status Page Components Component] - The list of matching components and groups.
- id str
- The ID of this resource.
- page_
id str - The ID of the status page whose components to list.
- name str
- Filter the results to components with this exact name.
- type str
- Filter the results by type (
componentorgroup).
- components List<Property Map>
- The list of matching components and groups.
- id String
- The ID of this resource.
- page
Id String - The ID of the status page whose components to list.
- name String
- Filter the results to components with this exact name.
- type String
- Filter the results by type (
componentorgroup).
Supporting Types
GetStatusPageComponentsComponent
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