1. Packages
  2. Checkly
  3. API Docs
  4. TriggerCheckGroup
Checkly v1.1.4 published on Thursday, Mar 9, 2023 by checkly

checkly.TriggerCheckGroup

Explore with Pulumi AI

checkly logo
Checkly v1.1.4 published on Thursday, Mar 9, 2023 by checkly

    Example Usage

    using Pulumi;
    using Checkly = Pulumi.Checkly;
    
    class MyStack : Stack
    {
        public MyStack()
        {
            var testTriggerGroup = new Checkly.TriggerCheckGroup("testTriggerGroup", new Checkly.TriggerCheckGroupArgs
            {
                GroupId = 215,
            });
            this.TestTriggerGroupUrl = testTriggerGroup.Url;
        }
    
        [Output("testTriggerGroupUrl")]
        public Output<string> TestTriggerGroupUrl { get; set; }
    }
    
    package main
    
    import (
    	"github.com/checkly/pulumi-checkly/sdk/go/checkly"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		testTriggerGroup, err := checkly.NewTriggerCheckGroup(ctx, "testTriggerGroup", &checkly.TriggerCheckGroupArgs{
    			GroupId: pulumi.Int(215),
    		})
    		if err != nil {
    			return err
    		}
    		ctx.Export("testTriggerGroupUrl", testTriggerGroup.Url)
    		return nil
    	})
    }
    

    Coming soon!

    import pulumi
    import pulumi_checkly as checkly
    
    test_trigger_group = checkly.TriggerCheckGroup("testTriggerGroup", group_id=215)
    pulumi.export("testTriggerGroupUrl", test_trigger_group.url)
    
    import * as pulumi from "@pulumi/pulumi";
    import * as pulumi from "@checkly/pulumi";
    
    const testTriggerGroup = new checkly.TriggerCheckGroup("testTriggerGroup", {groupId: "215"});
    export const testTriggerGroupUrl = testTriggerGroup.url;
    

    Coming soon!

    Create TriggerCheckGroup Resource

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

    Constructor syntax

    new TriggerCheckGroup(name: string, args: TriggerCheckGroupArgs, opts?: CustomResourceOptions);
    @overload
    def TriggerCheckGroup(resource_name: str,
                          args: TriggerCheckGroupArgs,
                          opts: Optional[ResourceOptions] = None)
    
    @overload
    def TriggerCheckGroup(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          group_id: Optional[int] = None,
                          token: Optional[str] = None,
                          url: Optional[str] = None)
    func NewTriggerCheckGroup(ctx *Context, name string, args TriggerCheckGroupArgs, opts ...ResourceOption) (*TriggerCheckGroup, error)
    public TriggerCheckGroup(string name, TriggerCheckGroupArgs args, CustomResourceOptions? opts = null)
    public TriggerCheckGroup(String name, TriggerCheckGroupArgs args)
    public TriggerCheckGroup(String name, TriggerCheckGroupArgs args, CustomResourceOptions options)
    
    type: checkly:TriggerCheckGroup
    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 TriggerCheckGroupArgs
    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 TriggerCheckGroupArgs
    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 TriggerCheckGroupArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args TriggerCheckGroupArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args TriggerCheckGroupArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

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

    var triggerCheckGroupResource = new Checkly.TriggerCheckGroup("triggerCheckGroupResource", new()
    {
        GroupId = 0,
        Token = "string",
        Url = "string",
    });
    
    example, err := checkly.NewTriggerCheckGroup(ctx, "triggerCheckGroupResource", &checkly.TriggerCheckGroupArgs{
    	GroupId: pulumi.Int(0),
    	Token:   pulumi.String("string"),
    	Url:     pulumi.String("string"),
    })
    
    var triggerCheckGroupResource = new TriggerCheckGroup("triggerCheckGroupResource", TriggerCheckGroupArgs.builder()        
        .groupId(0)
        .token("string")
        .url("string")
        .build());
    
    trigger_check_group_resource = checkly.TriggerCheckGroup("triggerCheckGroupResource",
        group_id=0,
        token="string",
        url="string")
    
    const triggerCheckGroupResource = new checkly.TriggerCheckGroup("triggerCheckGroupResource", {
        groupId: 0,
        token: "string",
        url: "string",
    });
    
    type: checkly:TriggerCheckGroup
    properties:
        groupId: 0
        token: string
        url: string
    

    TriggerCheckGroup Resource Properties

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

    Inputs

    The TriggerCheckGroup resource accepts the following input properties:

    GroupId int
    The id of the group that you want to attach the trigger to.
    Token string
    The token value created to trigger the group
    Url string
    The request URL to trigger the group run.
    GroupId int
    The id of the group that you want to attach the trigger to.
    Token string
    The token value created to trigger the group
    Url string
    The request URL to trigger the group run.
    groupId Integer
    The id of the group that you want to attach the trigger to.
    token String
    The token value created to trigger the group
    url String
    The request URL to trigger the group run.
    groupId number
    The id of the group that you want to attach the trigger to.
    token string
    The token value created to trigger the group
    url string
    The request URL to trigger the group run.
    group_id int
    The id of the group that you want to attach the trigger to.
    token str
    The token value created to trigger the group
    url str
    The request URL to trigger the group run.
    groupId Number
    The id of the group that you want to attach the trigger to.
    token String
    The token value created to trigger the group
    url String
    The request URL to trigger the group run.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the TriggerCheckGroup 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 TriggerCheckGroup Resource

    Get an existing TriggerCheckGroup 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?: TriggerCheckGroupState, opts?: CustomResourceOptions): TriggerCheckGroup
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            group_id: Optional[int] = None,
            token: Optional[str] = None,
            url: Optional[str] = None) -> TriggerCheckGroup
    func GetTriggerCheckGroup(ctx *Context, name string, id IDInput, state *TriggerCheckGroupState, opts ...ResourceOption) (*TriggerCheckGroup, error)
    public static TriggerCheckGroup Get(string name, Input<string> id, TriggerCheckGroupState? state, CustomResourceOptions? opts = null)
    public static TriggerCheckGroup get(String name, Output<String> id, TriggerCheckGroupState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    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:
    GroupId int
    The id of the group that you want to attach the trigger to.
    Token string
    The token value created to trigger the group
    Url string
    The request URL to trigger the group run.
    GroupId int
    The id of the group that you want to attach the trigger to.
    Token string
    The token value created to trigger the group
    Url string
    The request URL to trigger the group run.
    groupId Integer
    The id of the group that you want to attach the trigger to.
    token String
    The token value created to trigger the group
    url String
    The request URL to trigger the group run.
    groupId number
    The id of the group that you want to attach the trigger to.
    token string
    The token value created to trigger the group
    url string
    The request URL to trigger the group run.
    group_id int
    The id of the group that you want to attach the trigger to.
    token str
    The token value created to trigger the group
    url str
    The request URL to trigger the group run.
    groupId Number
    The id of the group that you want to attach the trigger to.
    token String
    The token value created to trigger the group
    url String
    The request URL to trigger the group run.

    Package Details

    Repository
    checkly checkly/pulumi-checkly
    License
    MIT
    Notes
    This Pulumi package is based on the checkly Terraform Provider.
    checkly logo
    Checkly v1.1.4 published on Thursday, Mar 9, 2023 by checkly