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 component.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as datadog from "@pulumi/datadog";
const api = datadog.getStatusPageComponent({
pageId: "5e9bd12c-6cde-4247-85fd-98045fbd9b8f",
id: "8fd8c3ef-07b1-4441-b52a-7e42d8474d5c",
});
import pulumi
import pulumi_datadog as datadog
api = datadog.get_status_page_component(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.GetStatusPageComponent(ctx, &datadog.LookupStatusPageComponentArgs{
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 api = Datadog.GetStatusPageComponent.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.GetStatusPageComponentArgs;
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 api = DatadogFunctions.getStatusPageComponent(GetStatusPageComponentArgs.builder()
.pageId("5e9bd12c-6cde-4247-85fd-98045fbd9b8f")
.id("8fd8c3ef-07b1-4441-b52a-7e42d8474d5c")
.build());
}
}
variables:
api:
fn::invoke:
function: datadog:getStatusPageComponent
arguments:
pageId: 5e9bd12c-6cde-4247-85fd-98045fbd9b8f
id: 8fd8c3ef-07b1-4441-b52a-7e42d8474d5c
pulumi {
required_providers {
datadog = {
source = "pulumi/datadog"
}
}
}
data "datadog_getstatuspagecomponent" "api" {
page_id = "5e9bd12c-6cde-4247-85fd-98045fbd9b8f"
id = "8fd8c3ef-07b1-4441-b52a-7e42d8474d5c"
}
Using getStatusPageComponent
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 getStatusPageComponent(args: GetStatusPageComponentArgs, opts?: InvokeOptions): Promise<GetStatusPageComponentResult>
function getStatusPageComponentOutput(args: GetStatusPageComponentOutputArgs, opts?: InvokeOutputOptions): Output<GetStatusPageComponentResult>def get_status_page_component(id: Optional[str] = None,
page_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetStatusPageComponentResult
def get_status_page_component_output(id: pulumi.Input[Optional[str]] = None,
page_id: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetStatusPageComponentResult]func LookupStatusPageComponent(ctx *Context, args *LookupStatusPageComponentArgs, opts ...InvokeOption) (*LookupStatusPageComponentResult, error)
func LookupStatusPageComponentOutput(ctx *Context, args *LookupStatusPageComponentOutputArgs, opts ...InvokeOption) LookupStatusPageComponentResultOutput> Note: This function is named LookupStatusPageComponent in the Go SDK.
public static class GetStatusPageComponent
{
public static Task<GetStatusPageComponentResult> InvokeAsync(GetStatusPageComponentArgs args, InvokeOptions? opts = null)
public static Output<GetStatusPageComponentResult> Invoke(GetStatusPageComponentInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetStatusPageComponentResult> Invoke(GetStatusPageComponentInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetStatusPageComponentResult> getStatusPageComponent(GetStatusPageComponentArgs args, InvokeOptions options)
public static Output<GetStatusPageComponentResult> getStatusPageComponent(GetStatusPageComponentArgs args, InvokeOptions options)
public static Output<GetStatusPageComponentResult> getStatusPageComponent(GetStatusPageComponentArgs args, InvokeOutputOptions options)
fn::invoke:
function: datadog:index/getStatusPageComponent:getStatusPageComponent
arguments:
# arguments dictionarydata "datadog_get_status_page_component" "name" {
# arguments
}The following arguments are supported:
getStatusPageComponent Result
The following output properties are available:
- Components
List<Get
Status Page Component Component> - The sub-components of a component of type
group. - Created
At string - Timestamp when the component was created.
- Id string
- The ID of the component.
- Modified
At string - Timestamp when the component was last modified.
- Name string
- The name of the component.
- Page
Id string - The ID of the status page this component belongs to.
- Position int
- The position of the component on the status page.
- Status string
- The current status of the component.
- Type string
- The type of the component.
- Components
[]Get
Status Page Component Component - The sub-components of a component of type
group. - Created
At string - Timestamp when the component was created.
- Id string
- The ID of the component.
- Modified
At string - Timestamp when the component was last modified.
- Name string
- The name of the component.
- Page
Id string - The ID of the status page this component belongs to.
- Position int
- The position of the component on the status page.
- Status string
- The current status of the component.
- Type string
- The type of the component.
- components list(object)
- The sub-components of a component of type
group. - created_
at string - Timestamp when the component was created.
- id string
- The ID of the component.
- modified_
at string - Timestamp when the component was last modified.
- name string
- The name of the component.
- page_
id string - The ID of the status page this component belongs to.
- position number
- The position of the component on the status page.
- status string
- The current status of the component.
- type string
- The type of the component.
- components
List<Get
Status Page Component Component> - The sub-components of a component of type
group. - created
At String - Timestamp when the component was created.
- id String
- The ID of the component.
- modified
At String - Timestamp when the component was last modified.
- name String
- The name of the component.
- page
Id String - The ID of the status page this component belongs to.
- position Integer
- The position of the component on the status page.
- status String
- The current status of the component.
- type String
- The type of the component.
- components
Get
Status Page Component Component[] - The sub-components of a component of type
group. - created
At string - Timestamp when the component was created.
- id string
- The ID of the component.
- modified
At string - Timestamp when the component was last modified.
- name string
- The name of the component.
- page
Id string - The ID of the status page this component belongs to.
- position number
- The position of the component on the status page.
- status string
- The current status of the component.
- type string
- The type of the component.
- components
Sequence[Get
Status Page Component Component] - The sub-components of a component of type
group. - created_
at str - Timestamp when the component was created.
- id str
- The ID of the component.
- modified_
at str - Timestamp when the component was last modified.
- name str
- The name of the component.
- page_
id str - The ID of the status page this component belongs to.
- position int
- The position of the component on the status page.
- status str
- The current status of the component.
- type str
- The type of the component.
- components List<Property Map>
- The sub-components of a component of type
group. - created
At String - Timestamp when the component was created.
- id String
- The ID of the component.
- modified
At String - Timestamp when the component was last modified.
- name String
- The name of the component.
- page
Id String - The ID of the status page this component belongs to.
- position Number
- The position of the component on the status page.
- status String
- The current status of the component.
- type String
- The type of the component.
Supporting Types
GetStatusPageComponentComponent
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