1. Packages
  2. Checkly
  3. API Docs
  4. StatusPageService
Checkly v2.2.0 published on Wednesday, Apr 9, 2025 by Checkly

checkly.StatusPageService

Explore with Pulumi AI

checkly logo
Checkly v2.2.0 published on Wednesday, Apr 9, 2025 by Checkly

    Status page services represent functional pieces of your application or website, such as landing page, API, support portal etc.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as checkly from "@checkly/pulumi";
    
    const backend = new checkly.StatusPageService("backend", {name: "Backend"});
    const frontend = new checkly.StatusPageService("frontend", {name: "Frontend"});
    
    import pulumi
    import pulumi_checkly as checkly
    
    backend = checkly.StatusPageService("backend", name="Backend")
    frontend = checkly.StatusPageService("frontend", name="Frontend")
    
    package main
    
    import (
    	"github.com/checkly/pulumi-checkly/sdk/v2/go/checkly"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := checkly.NewStatusPageService(ctx, "backend", &checkly.StatusPageServiceArgs{
    			Name: pulumi.String("Backend"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = checkly.NewStatusPageService(ctx, "frontend", &checkly.StatusPageServiceArgs{
    			Name: pulumi.String("Frontend"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Checkly = Pulumi.Checkly;
    
    return await Deployment.RunAsync(() => 
    {
        var backend = new Checkly.StatusPageService("backend", new()
        {
            Name = "Backend",
        });
    
        var frontend = new Checkly.StatusPageService("frontend", new()
        {
            Name = "Frontend",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.checkly.StatusPageService;
    import com.pulumi.checkly.StatusPageServiceArgs;
    import java.util.List;
    import java.util.ArrayList;
    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) {
            var backend = new StatusPageService("backend", StatusPageServiceArgs.builder()
                .name("Backend")
                .build());
    
            var frontend = new StatusPageService("frontend", StatusPageServiceArgs.builder()
                .name("Frontend")
                .build());
    
        }
    }
    
    resources:
      backend:
        type: checkly:StatusPageService
        properties:
          name: Backend
      frontend:
        type: checkly:StatusPageService
        properties:
          name: Frontend
    

    Create StatusPageService Resource

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

    Constructor syntax

    new StatusPageService(name: string, args?: StatusPageServiceArgs, opts?: CustomResourceOptions);
    @overload
    def StatusPageService(resource_name: str,
                          args: Optional[StatusPageServiceArgs] = None,
                          opts: Optional[ResourceOptions] = None)
    
    @overload
    def StatusPageService(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          name: Optional[str] = None)
    func NewStatusPageService(ctx *Context, name string, args *StatusPageServiceArgs, opts ...ResourceOption) (*StatusPageService, error)
    public StatusPageService(string name, StatusPageServiceArgs? args = null, CustomResourceOptions? opts = null)
    public StatusPageService(String name, StatusPageServiceArgs args)
    public StatusPageService(String name, StatusPageServiceArgs args, CustomResourceOptions options)
    
    type: checkly:StatusPageService
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args StatusPageServiceArgs
    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 StatusPageServiceArgs
    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 StatusPageServiceArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args StatusPageServiceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args StatusPageServiceArgs
    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 statusPageServiceResource = new Checkly.StatusPageService("statusPageServiceResource", new()
    {
        Name = "string",
    });
    
    example, err := checkly.NewStatusPageService(ctx, "statusPageServiceResource", &checkly.StatusPageServiceArgs{
    	Name: pulumi.String("string"),
    })
    
    var statusPageServiceResource = new StatusPageService("statusPageServiceResource", StatusPageServiceArgs.builder()
        .name("string")
        .build());
    
    status_page_service_resource = checkly.StatusPageService("statusPageServiceResource", name="string")
    
    const statusPageServiceResource = new checkly.StatusPageService("statusPageServiceResource", {name: "string"});
    
    type: checkly:StatusPageService
    properties:
        name: string
    

    StatusPageService 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 StatusPageService resource accepts the following input properties:

    Name string
    The name of the service.
    Name string
    The name of the service.
    name String
    The name of the service.
    name string
    The name of the service.
    name str
    The name of the service.
    name String
    The name of the service.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing StatusPageService Resource

    Get an existing StatusPageService resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: StatusPageServiceState, opts?: CustomResourceOptions): StatusPageService
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            name: Optional[str] = None) -> StatusPageService
    func GetStatusPageService(ctx *Context, name string, id IDInput, state *StatusPageServiceState, opts ...ResourceOption) (*StatusPageService, error)
    public static StatusPageService Get(string name, Input<string> id, StatusPageServiceState? state, CustomResourceOptions? opts = null)
    public static StatusPageService get(String name, Output<String> id, StatusPageServiceState state, CustomResourceOptions options)
    resources:  _:    type: checkly:StatusPageService    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Name string
    The name of the service.
    Name string
    The name of the service.
    name String
    The name of the service.
    name string
    The name of the service.
    name str
    The name of the service.
    name String
    The name of the service.

    Package Details

    Repository
    checkly checkly/pulumi-checkly
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the checkly Terraform Provider.
    checkly logo
    Checkly v2.2.0 published on Wednesday, Apr 9, 2025 by Checkly