1. Registry
  2. Packages
  3. Oh Dear
  4. API Docs
  5. StatusPage
Viewing docs for Oh Dear v1.0.0
published on Tuesday, Sep 1, 2026 by Matthias Hamacher
ohdear logo
Viewing docs for Oh Dear v1.0.0
published on Tuesday, Sep 1, 2026 by Matthias Hamacher

    An Oh Dear status page. monitors is the full set of monitors shown on the page.

    Create StatusPage Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new StatusPage(name: string, args: StatusPageArgs, opts?: CustomResourceOptions);
    @overload
    def StatusPage(resource_name: str,
                   args: StatusPageArgs,
                   opts: Optional[ResourceOptions] = None)
    
    @overload
    def StatusPage(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   monitors: Optional[Sequence[StatusPageMonitorArgs]] = None,
                   team_id: Optional[int] = None,
                   title: Optional[str] = None)
    func NewStatusPage(ctx *Context, name string, args StatusPageArgs, opts ...ResourceOption) (*StatusPage, error)
    public StatusPage(string name, StatusPageArgs args, CustomResourceOptions? opts = null)
    public StatusPage(String name, StatusPageArgs args)
    public StatusPage(String name, StatusPageArgs args, CustomResourceOptions options)
    
    type: ohdear:StatusPage
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "ohdear_status_page" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args StatusPageArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args StatusPageArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args StatusPageArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args StatusPageArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args StatusPageArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var statusPageResource = new Ohdear.StatusPage("statusPageResource", new()
    {
        Monitors = new[]
        {
            new Ohdear.Inputs.StatusPageMonitorArgs
            {
                Id = 0,
                Clickable = false,
            },
        },
        TeamId = 0,
        Title = "string",
    });
    
    example, err := ohdear.NewStatusPage(ctx, "statusPageResource", &ohdear.StatusPageArgs{
    	Monitors: ohdear.StatusPageMonitorArray{
    		&ohdear.StatusPageMonitorArgs{
    			Id:        pulumi.Int(0),
    			Clickable: pulumi.Bool(false),
    		},
    	},
    	TeamId: pulumi.Int(0),
    	Title:  pulumi.String("string"),
    })
    
    resource "ohdear_status_page" "statusPageResource" {
      pulumi {
        replace_on_changes = [team_id, title]
      }
      lifecycle {
        create_before_destroy = true
      }
      monitors {
        id        = 0
        clickable = false
      }
      team_id = 0
      title   = "string"
    }
    
    var statusPageResource = new StatusPage("statusPageResource", StatusPageArgs.builder()
        .monitors(StatusPageMonitorArgs.builder()
            .id(0)
            .clickable(false)
            .build())
        .teamId(0)
        .title("string")
        .build());
    
    status_page_resource = ohdear.StatusPage("statusPageResource",
        monitors=[{
            "id": 0,
            "clickable": False,
        }],
        team_id=0,
        title="string")
    
    const statusPageResource = new ohdear.StatusPage("statusPageResource", {
        monitors: [{
            id: 0,
            clickable: false,
        }],
        teamId: 0,
        title: "string",
    });
    
    type: ohdear:StatusPage
    properties:
        monitors:
            - clickable: false
              id: 0
        teamId: 0
        title: string
    

    StatusPage Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The StatusPage resource accepts the following input properties:

    Monitors List<StatusPageMonitor>
    Full set of monitors shown on the page; syncing this list replaces the previous set.
    TeamId int
    Team that owns the page. Immutable — no API endpoint edits the page itself, so a change replaces it.
    Title string
    Status page title. Immutable, same reason as teamId.
    Monitors []StatusPageMonitorArgs
    Full set of monitors shown on the page; syncing this list replaces the previous set.
    TeamId int
    Team that owns the page. Immutable — no API endpoint edits the page itself, so a change replaces it.
    Title string
    Status page title. Immutable, same reason as teamId.
    monitors list(object)
    Full set of monitors shown on the page; syncing this list replaces the previous set.
    team_id number
    Team that owns the page. Immutable — no API endpoint edits the page itself, so a change replaces it.
    title string
    Status page title. Immutable, same reason as teamId.
    monitors List<StatusPageMonitor>
    Full set of monitors shown on the page; syncing this list replaces the previous set.
    teamId Integer
    Team that owns the page. Immutable — no API endpoint edits the page itself, so a change replaces it.
    title String
    Status page title. Immutable, same reason as teamId.
    monitors StatusPageMonitor[]
    Full set of monitors shown on the page; syncing this list replaces the previous set.
    teamId number
    Team that owns the page. Immutable — no API endpoint edits the page itself, so a change replaces it.
    title string
    Status page title. Immutable, same reason as teamId.
    monitors Sequence[StatusPageMonitorArgs]
    Full set of monitors shown on the page; syncing this list replaces the previous set.
    team_id int
    Team that owns the page. Immutable — no API endpoint edits the page itself, so a change replaces it.
    title str
    Status page title. Immutable, same reason as teamId.
    monitors List<Property Map>
    Full set of monitors shown on the page; syncing this list replaces the previous set.
    teamId Number
    Team that owns the page. Immutable — no API endpoint edits the page itself, so a change replaces it.
    title String
    Status page title. Immutable, same reason as teamId.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the StatusPage resource produces the following output properties:

    BadgeId string
    ID used to build the status badge image URL.
    CreatedAt string
    When the page was created, as an ISO 8601 timestamp.
    Domain string
    Custom domain serving the page, if configured.
    FullUrl string
    Fully-qualified URL of the status page.
    Id string
    The provider-assigned unique ID for this managed resource.
    Slug string
    URL slug on the Oh Dear-hosted domain.
    StatusPageId int
    Numeric Oh Dear status page ID.
    SummarizedStatus string
    Current overall status shown on the page.
    Timezone string
    Timezone the page renders times in.
    UpdatedAt string
    When the page was last updated, as an ISO 8601 timestamp.
    BadgeId string
    ID used to build the status badge image URL.
    CreatedAt string
    When the page was created, as an ISO 8601 timestamp.
    Domain string
    Custom domain serving the page, if configured.
    FullUrl string
    Fully-qualified URL of the status page.
    Id string
    The provider-assigned unique ID for this managed resource.
    Slug string
    URL slug on the Oh Dear-hosted domain.
    StatusPageId int
    Numeric Oh Dear status page ID.
    SummarizedStatus string
    Current overall status shown on the page.
    Timezone string
    Timezone the page renders times in.
    UpdatedAt string
    When the page was last updated, as an ISO 8601 timestamp.
    badge_id string
    ID used to build the status badge image URL.
    created_at string
    When the page was created, as an ISO 8601 timestamp.
    domain string
    Custom domain serving the page, if configured.
    full_url string
    Fully-qualified URL of the status page.
    id string
    The provider-assigned unique ID for this managed resource.
    slug string
    URL slug on the Oh Dear-hosted domain.
    status_page_id number
    Numeric Oh Dear status page ID.
    summarized_status string
    Current overall status shown on the page.
    timezone string
    Timezone the page renders times in.
    updated_at string
    When the page was last updated, as an ISO 8601 timestamp.
    badgeId String
    ID used to build the status badge image URL.
    createdAt String
    When the page was created, as an ISO 8601 timestamp.
    domain String
    Custom domain serving the page, if configured.
    fullUrl String
    Fully-qualified URL of the status page.
    id String
    The provider-assigned unique ID for this managed resource.
    slug String
    URL slug on the Oh Dear-hosted domain.
    statusPageId Integer
    Numeric Oh Dear status page ID.
    summarizedStatus String
    Current overall status shown on the page.
    timezone String
    Timezone the page renders times in.
    updatedAt String
    When the page was last updated, as an ISO 8601 timestamp.
    badgeId string
    ID used to build the status badge image URL.
    createdAt string
    When the page was created, as an ISO 8601 timestamp.
    domain string
    Custom domain serving the page, if configured.
    fullUrl string
    Fully-qualified URL of the status page.
    id string
    The provider-assigned unique ID for this managed resource.
    slug string
    URL slug on the Oh Dear-hosted domain.
    statusPageId number
    Numeric Oh Dear status page ID.
    summarizedStatus string
    Current overall status shown on the page.
    timezone string
    Timezone the page renders times in.
    updatedAt string
    When the page was last updated, as an ISO 8601 timestamp.
    badge_id str
    ID used to build the status badge image URL.
    created_at str
    When the page was created, as an ISO 8601 timestamp.
    domain str
    Custom domain serving the page, if configured.
    full_url str
    Fully-qualified URL of the status page.
    id str
    The provider-assigned unique ID for this managed resource.
    slug str
    URL slug on the Oh Dear-hosted domain.
    status_page_id int
    Numeric Oh Dear status page ID.
    summarized_status str
    Current overall status shown on the page.
    timezone str
    Timezone the page renders times in.
    updated_at str
    When the page was last updated, as an ISO 8601 timestamp.
    badgeId String
    ID used to build the status badge image URL.
    createdAt String
    When the page was created, as an ISO 8601 timestamp.
    domain String
    Custom domain serving the page, if configured.
    fullUrl String
    Fully-qualified URL of the status page.
    id String
    The provider-assigned unique ID for this managed resource.
    slug String
    URL slug on the Oh Dear-hosted domain.
    statusPageId Number
    Numeric Oh Dear status page ID.
    summarizedStatus String
    Current overall status shown on the page.
    timezone String
    Timezone the page renders times in.
    updatedAt String
    When the page was last updated, as an ISO 8601 timestamp.

    Supporting Types

    StatusPageMonitor, StatusPageMonitorArgs

    Id int
    Monitor ID to show on the page.
    Clickable bool
    Whether the entry links to the monitor's detail page. Default false.
    Id int
    Monitor ID to show on the page.
    Clickable bool
    Whether the entry links to the monitor's detail page. Default false.
    id number
    Monitor ID to show on the page.
    clickable bool
    Whether the entry links to the monitor's detail page. Default false.
    id Integer
    Monitor ID to show on the page.
    clickable Boolean
    Whether the entry links to the monitor's detail page. Default false.
    id number
    Monitor ID to show on the page.
    clickable boolean
    Whether the entry links to the monitor's detail page. Default false.
    id int
    Monitor ID to show on the page.
    clickable bool
    Whether the entry links to the monitor's detail page. Default false.
    id Number
    Monitor ID to show on the page.
    clickable Boolean
    Whether the entry links to the monitor's detail page. Default false.

    Package Details

    Repository
    ohdear matthiashamacher/pulumi-ohdear
    License
    Apache-2.0
    ohdear logo
    Viewing docs for Oh Dear v1.0.0
    published on Tuesday, Sep 1, 2026 by Matthias Hamacher

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial