1. Packages
  2. Rootly
  3. API Docs
  4. WorkflowIncident
Rootly v1.1.1 published on Thursday, Jan 11, 2024 by Rootly

rootly.WorkflowIncident

Explore with Pulumi AI

rootly logo
Rootly v1.1.1 published on Thursday, Jan 11, 2024 by Rootly

    Example Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Rootly = Pulumi.Rootly;
    
    return await Deployment.RunAsync(() => 
    {
        var critical = Rootly.GetSeverity.Invoke(new()
        {
            Slug = "sev0",
        });
    
        var my_workflow = new Rootly.WorkflowIncident("my-workflow", new()
        {
            Description = "This workflow will trigger when an incident is created and severity is critical",
            TriggerParams = new Rootly.Inputs.WorkflowIncidentTriggerParamsArgs
            {
                Triggers = new[]
                {
                    "incident_created",
                },
                IncidentConditionKind = "IS",
                IncidentKinds = new[]
                {
                    "normal",
                },
                IncidentConditionStatus = "IS",
                IncidentStatuses = new[]
                {
                    "started",
                },
                IncidentConditionSeverity = "IS",
            },
            SeverityIds = new[]
            {
                critical.Apply(getSeverityResult => getSeverityResult.Id),
            },
            Enabled = true,
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-rootly/sdk/go/rootly"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		critical, err := rootly.LookupSeverity(ctx, &rootly.LookupSeverityArgs{
    			Slug: pulumi.StringRef("sev0"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		_, err = rootly.NewWorkflowIncident(ctx, "my-workflow", &rootly.WorkflowIncidentArgs{
    			Description: pulumi.String("This workflow will trigger when an incident is created and severity is critical"),
    			TriggerParams: &rootly.WorkflowIncidentTriggerParamsArgs{
    				Triggers: pulumi.StringArray{
    					pulumi.String("incident_created"),
    				},
    				IncidentConditionKind: pulumi.String("IS"),
    				IncidentKinds: pulumi.StringArray{
    					pulumi.String("normal"),
    				},
    				IncidentConditionStatus: pulumi.String("IS"),
    				IncidentStatuses: pulumi.StringArray{
    					pulumi.String("started"),
    				},
    				IncidentConditionSeverity: pulumi.String("IS"),
    			},
    			SeverityIds: pulumi.StringArray{
    				*pulumi.String(critical.Id),
    			},
    			Enabled: pulumi.Bool(true),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.rootly.RootlyFunctions;
    import com.pulumi.rootly.inputs.GetSeverityArgs;
    import com.pulumi.rootly.WorkflowIncident;
    import com.pulumi.rootly.WorkflowIncidentArgs;
    import com.pulumi.rootly.inputs.WorkflowIncidentTriggerParamsArgs;
    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) {
            final var critical = RootlyFunctions.getSeverity(GetSeverityArgs.builder()
                .slug("sev0")
                .build());
    
            var my_workflow = new WorkflowIncident("my-workflow", WorkflowIncidentArgs.builder()        
                .description("This workflow will trigger when an incident is created and severity is critical")
                .triggerParams(WorkflowIncidentTriggerParamsArgs.builder()
                    .triggers("incident_created")
                    .incidentConditionKind("IS")
                    .incidentKinds("normal")
                    .incidentConditionStatus("IS")
                    .incidentStatuses("started")
                    .incidentConditionSeverity("IS")
                    .build())
                .severityIds(critical.applyValue(getSeverityResult -> getSeverityResult.id()))
                .enabled(true)
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_rootly as rootly
    
    critical = rootly.get_severity(slug="sev0")
    my_workflow = rootly.WorkflowIncident("my-workflow",
        description="This workflow will trigger when an incident is created and severity is critical",
        trigger_params=rootly.WorkflowIncidentTriggerParamsArgs(
            triggers=["incident_created"],
            incident_condition_kind="IS",
            incident_kinds=["normal"],
            incident_condition_status="IS",
            incident_statuses=["started"],
            incident_condition_severity="IS",
        ),
        severity_ids=[critical.id],
        enabled=True)
    
    import * as pulumi from "@pulumi/pulumi";
    import * as rootly from "@pulumi/rootly";
    
    const critical = rootly.getSeverity({
        slug: "sev0",
    });
    const my_workflow = new rootly.WorkflowIncident("my-workflow", {
        description: "This workflow will trigger when an incident is created and severity is critical",
        triggerParams: {
            triggers: ["incident_created"],
            incidentConditionKind: "IS",
            incidentKinds: ["normal"],
            incidentConditionStatus: "IS",
            incidentStatuses: ["started"],
            incidentConditionSeverity: "IS",
        },
        severityIds: [critical.then(critical => critical.id)],
        enabled: true,
    });
    
    resources:
      my-workflow:
        type: rootly:WorkflowIncident
        properties:
          description: This workflow will trigger when an incident is created and severity is critical
          triggerParams:
            triggers:
              - incident_created
            incidentConditionKind: IS
            incidentKinds:
              - normal
            incidentConditionStatus: IS
            incidentStatuses:
              - started
            incidentConditionSeverity: IS
          severityIds:
            - ${critical.id}
          enabled: true
    variables:
      critical:
        fn::invoke:
          Function: rootly:getSeverity
          Arguments:
            slug: sev0
    

    Create WorkflowIncident Resource

    new WorkflowIncident(name: string, args?: WorkflowIncidentArgs, opts?: CustomResourceOptions);
    @overload
    def WorkflowIncident(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         cause_ids: Optional[Sequence[str]] = None,
                         command: Optional[str] = None,
                         command_feedback_enabled: Optional[bool] = None,
                         description: Optional[str] = None,
                         enabled: Optional[bool] = None,
                         environment_ids: Optional[Sequence[str]] = None,
                         functionality_ids: Optional[Sequence[str]] = None,
                         group_ids: Optional[Sequence[str]] = None,
                         incident_role_ids: Optional[Sequence[str]] = None,
                         incident_type_ids: Optional[Sequence[str]] = None,
                         name: Optional[str] = None,
                         position: Optional[int] = None,
                         repeat_every_duration: Optional[str] = None,
                         repeat_ons: Optional[Sequence[str]] = None,
                         service_ids: Optional[Sequence[str]] = None,
                         severity_ids: Optional[Sequence[str]] = None,
                         slug: Optional[str] = None,
                         trigger_params: Optional[WorkflowIncidentTriggerParamsArgs] = None,
                         wait: Optional[str] = None,
                         workflow_group_id: Optional[str] = None)
    @overload
    def WorkflowIncident(resource_name: str,
                         args: Optional[WorkflowIncidentArgs] = None,
                         opts: Optional[ResourceOptions] = None)
    func NewWorkflowIncident(ctx *Context, name string, args *WorkflowIncidentArgs, opts ...ResourceOption) (*WorkflowIncident, error)
    public WorkflowIncident(string name, WorkflowIncidentArgs? args = null, CustomResourceOptions? opts = null)
    public WorkflowIncident(String name, WorkflowIncidentArgs args)
    public WorkflowIncident(String name, WorkflowIncidentArgs args, CustomResourceOptions options)
    
    type: rootly:WorkflowIncident
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args WorkflowIncidentArgs
    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 WorkflowIncidentArgs
    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 WorkflowIncidentArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args WorkflowIncidentArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args WorkflowIncidentArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

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

    CauseIds List<string>
    Command string
    Workflow command
    CommandFeedbackEnabled bool
    This will notify you back when the workflow is starting. Value must be one of true or false
    Description string
    The description of the workflow
    Enabled bool
    EnvironmentIds List<string>
    FunctionalityIds List<string>
    GroupIds List<string>
    IncidentRoleIds List<string>
    IncidentTypeIds List<string>
    Name string
    The title of the workflow
    Position int
    The order which the workflow should run with other workflows.
    RepeatEveryDuration string
    Repeat workflow every duration
    RepeatOns List<string>
    Repeat on weekdays. Value must be one of S, M, T, W, R, F, U.
    ServiceIds List<string>
    SeverityIds List<string>
    Slug string
    The slug of the workflow
    TriggerParams WorkflowIncidentTriggerParams
    Wait string
    Wait this duration before executing
    WorkflowGroupId string
    The group this workflow belongs to.
    CauseIds []string
    Command string
    Workflow command
    CommandFeedbackEnabled bool
    This will notify you back when the workflow is starting. Value must be one of true or false
    Description string
    The description of the workflow
    Enabled bool
    EnvironmentIds []string
    FunctionalityIds []string
    GroupIds []string
    IncidentRoleIds []string
    IncidentTypeIds []string
    Name string
    The title of the workflow
    Position int
    The order which the workflow should run with other workflows.
    RepeatEveryDuration string
    Repeat workflow every duration
    RepeatOns []string
    Repeat on weekdays. Value must be one of S, M, T, W, R, F, U.
    ServiceIds []string
    SeverityIds []string
    Slug string
    The slug of the workflow
    TriggerParams WorkflowIncidentTriggerParamsArgs
    Wait string
    Wait this duration before executing
    WorkflowGroupId string
    The group this workflow belongs to.
    causeIds List<String>
    command String
    Workflow command
    commandFeedbackEnabled Boolean
    This will notify you back when the workflow is starting. Value must be one of true or false
    description String
    The description of the workflow
    enabled Boolean
    environmentIds List<String>
    functionalityIds List<String>
    groupIds List<String>
    incidentRoleIds List<String>
    incidentTypeIds List<String>
    name String
    The title of the workflow
    position Integer
    The order which the workflow should run with other workflows.
    repeatEveryDuration String
    Repeat workflow every duration
    repeatOns List<String>
    Repeat on weekdays. Value must be one of S, M, T, W, R, F, U.
    serviceIds List<String>
    severityIds List<String>
    slug String
    The slug of the workflow
    triggerParams WorkflowIncidentTriggerParams
    wait_ String
    Wait this duration before executing
    workflowGroupId String
    The group this workflow belongs to.
    causeIds string[]
    command string
    Workflow command
    commandFeedbackEnabled boolean
    This will notify you back when the workflow is starting. Value must be one of true or false
    description string
    The description of the workflow
    enabled boolean
    environmentIds string[]
    functionalityIds string[]
    groupIds string[]
    incidentRoleIds string[]
    incidentTypeIds string[]
    name string
    The title of the workflow
    position number
    The order which the workflow should run with other workflows.
    repeatEveryDuration string
    Repeat workflow every duration
    repeatOns string[]
    Repeat on weekdays. Value must be one of S, M, T, W, R, F, U.
    serviceIds string[]
    severityIds string[]
    slug string
    The slug of the workflow
    triggerParams WorkflowIncidentTriggerParams
    wait string
    Wait this duration before executing
    workflowGroupId string
    The group this workflow belongs to.
    cause_ids Sequence[str]
    command str
    Workflow command
    command_feedback_enabled bool
    This will notify you back when the workflow is starting. Value must be one of true or false
    description str
    The description of the workflow
    enabled bool
    environment_ids Sequence[str]
    functionality_ids Sequence[str]
    group_ids Sequence[str]
    incident_role_ids Sequence[str]
    incident_type_ids Sequence[str]
    name str
    The title of the workflow
    position int
    The order which the workflow should run with other workflows.
    repeat_every_duration str
    Repeat workflow every duration
    repeat_ons Sequence[str]
    Repeat on weekdays. Value must be one of S, M, T, W, R, F, U.
    service_ids Sequence[str]
    severity_ids Sequence[str]
    slug str
    The slug of the workflow
    trigger_params WorkflowIncidentTriggerParamsArgs
    wait str
    Wait this duration before executing
    workflow_group_id str
    The group this workflow belongs to.
    causeIds List<String>
    command String
    Workflow command
    commandFeedbackEnabled Boolean
    This will notify you back when the workflow is starting. Value must be one of true or false
    description String
    The description of the workflow
    enabled Boolean
    environmentIds List<String>
    functionalityIds List<String>
    groupIds List<String>
    incidentRoleIds List<String>
    incidentTypeIds List<String>
    name String
    The title of the workflow
    position Number
    The order which the workflow should run with other workflows.
    repeatEveryDuration String
    Repeat workflow every duration
    repeatOns List<String>
    Repeat on weekdays. Value must be one of S, M, T, W, R, F, U.
    serviceIds List<String>
    severityIds List<String>
    slug String
    The slug of the workflow
    triggerParams Property Map
    wait String
    Wait this duration before executing
    workflowGroupId String
    The group this workflow belongs to.

    Outputs

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

    Get an existing WorkflowIncident 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?: WorkflowIncidentState, opts?: CustomResourceOptions): WorkflowIncident
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            cause_ids: Optional[Sequence[str]] = None,
            command: Optional[str] = None,
            command_feedback_enabled: Optional[bool] = None,
            description: Optional[str] = None,
            enabled: Optional[bool] = None,
            environment_ids: Optional[Sequence[str]] = None,
            functionality_ids: Optional[Sequence[str]] = None,
            group_ids: Optional[Sequence[str]] = None,
            incident_role_ids: Optional[Sequence[str]] = None,
            incident_type_ids: Optional[Sequence[str]] = None,
            name: Optional[str] = None,
            position: Optional[int] = None,
            repeat_every_duration: Optional[str] = None,
            repeat_ons: Optional[Sequence[str]] = None,
            service_ids: Optional[Sequence[str]] = None,
            severity_ids: Optional[Sequence[str]] = None,
            slug: Optional[str] = None,
            trigger_params: Optional[WorkflowIncidentTriggerParamsArgs] = None,
            wait: Optional[str] = None,
            workflow_group_id: Optional[str] = None) -> WorkflowIncident
    func GetWorkflowIncident(ctx *Context, name string, id IDInput, state *WorkflowIncidentState, opts ...ResourceOption) (*WorkflowIncident, error)
    public static WorkflowIncident Get(string name, Input<string> id, WorkflowIncidentState? state, CustomResourceOptions? opts = null)
    public static WorkflowIncident get(String name, Output<String> id, WorkflowIncidentState 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:
    CauseIds List<string>
    Command string
    Workflow command
    CommandFeedbackEnabled bool
    This will notify you back when the workflow is starting. Value must be one of true or false
    Description string
    The description of the workflow
    Enabled bool
    EnvironmentIds List<string>
    FunctionalityIds List<string>
    GroupIds List<string>
    IncidentRoleIds List<string>
    IncidentTypeIds List<string>
    Name string
    The title of the workflow
    Position int
    The order which the workflow should run with other workflows.
    RepeatEveryDuration string
    Repeat workflow every duration
    RepeatOns List<string>
    Repeat on weekdays. Value must be one of S, M, T, W, R, F, U.
    ServiceIds List<string>
    SeverityIds List<string>
    Slug string
    The slug of the workflow
    TriggerParams WorkflowIncidentTriggerParams
    Wait string
    Wait this duration before executing
    WorkflowGroupId string
    The group this workflow belongs to.
    CauseIds []string
    Command string
    Workflow command
    CommandFeedbackEnabled bool
    This will notify you back when the workflow is starting. Value must be one of true or false
    Description string
    The description of the workflow
    Enabled bool
    EnvironmentIds []string
    FunctionalityIds []string
    GroupIds []string
    IncidentRoleIds []string
    IncidentTypeIds []string
    Name string
    The title of the workflow
    Position int
    The order which the workflow should run with other workflows.
    RepeatEveryDuration string
    Repeat workflow every duration
    RepeatOns []string
    Repeat on weekdays. Value must be one of S, M, T, W, R, F, U.
    ServiceIds []string
    SeverityIds []string
    Slug string
    The slug of the workflow
    TriggerParams WorkflowIncidentTriggerParamsArgs
    Wait string
    Wait this duration before executing
    WorkflowGroupId string
    The group this workflow belongs to.
    causeIds List<String>
    command String
    Workflow command
    commandFeedbackEnabled Boolean
    This will notify you back when the workflow is starting. Value must be one of true or false
    description String
    The description of the workflow
    enabled Boolean
    environmentIds List<String>
    functionalityIds List<String>
    groupIds List<String>
    incidentRoleIds List<String>
    incidentTypeIds List<String>
    name String
    The title of the workflow
    position Integer
    The order which the workflow should run with other workflows.
    repeatEveryDuration String
    Repeat workflow every duration
    repeatOns List<String>
    Repeat on weekdays. Value must be one of S, M, T, W, R, F, U.
    serviceIds List<String>
    severityIds List<String>
    slug String
    The slug of the workflow
    triggerParams WorkflowIncidentTriggerParams
    wait_ String
    Wait this duration before executing
    workflowGroupId String
    The group this workflow belongs to.
    causeIds string[]
    command string
    Workflow command
    commandFeedbackEnabled boolean
    This will notify you back when the workflow is starting. Value must be one of true or false
    description string
    The description of the workflow
    enabled boolean
    environmentIds string[]
    functionalityIds string[]
    groupIds string[]
    incidentRoleIds string[]
    incidentTypeIds string[]
    name string
    The title of the workflow
    position number
    The order which the workflow should run with other workflows.
    repeatEveryDuration string
    Repeat workflow every duration
    repeatOns string[]
    Repeat on weekdays. Value must be one of S, M, T, W, R, F, U.
    serviceIds string[]
    severityIds string[]
    slug string
    The slug of the workflow
    triggerParams WorkflowIncidentTriggerParams
    wait string
    Wait this duration before executing
    workflowGroupId string
    The group this workflow belongs to.
    cause_ids Sequence[str]
    command str
    Workflow command
    command_feedback_enabled bool
    This will notify you back when the workflow is starting. Value must be one of true or false
    description str
    The description of the workflow
    enabled bool
    environment_ids Sequence[str]
    functionality_ids Sequence[str]
    group_ids Sequence[str]
    incident_role_ids Sequence[str]
    incident_type_ids Sequence[str]
    name str
    The title of the workflow
    position int
    The order which the workflow should run with other workflows.
    repeat_every_duration str
    Repeat workflow every duration
    repeat_ons Sequence[str]
    Repeat on weekdays. Value must be one of S, M, T, W, R, F, U.
    service_ids Sequence[str]
    severity_ids Sequence[str]
    slug str
    The slug of the workflow
    trigger_params WorkflowIncidentTriggerParamsArgs
    wait str
    Wait this duration before executing
    workflow_group_id str
    The group this workflow belongs to.
    causeIds List<String>
    command String
    Workflow command
    commandFeedbackEnabled Boolean
    This will notify you back when the workflow is starting. Value must be one of true or false
    description String
    The description of the workflow
    enabled Boolean
    environmentIds List<String>
    functionalityIds List<String>
    groupIds List<String>
    incidentRoleIds List<String>
    incidentTypeIds List<String>
    name String
    The title of the workflow
    position Number
    The order which the workflow should run with other workflows.
    repeatEveryDuration String
    Repeat workflow every duration
    repeatOns List<String>
    Repeat on weekdays. Value must be one of S, M, T, W, R, F, U.
    serviceIds List<String>
    severityIds List<String>
    slug String
    The slug of the workflow
    triggerParams Property Map
    wait String
    Wait this duration before executing
    workflowGroupId String
    The group this workflow belongs to.

    Supporting Types

    WorkflowIncidentTriggerParams, WorkflowIncidentTriggerParamsArgs

    IncidentCondition string
    Value must be one off ALL, ANY, NONE.
    IncidentConditionAcknowledgedAt string
    IncidentConditionCause string
    Value must be one off IS, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    IncidentConditionDetectedAt string
    IncidentConditionEnvironment string
    Value must be one off IS, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    IncidentConditionFunctionality string
    Value must be one off IS, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    IncidentConditionGroup string
    Value must be one off IS, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    IncidentConditionIncidentRoles string
    Value must be one off IS, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    IncidentConditionIncidentType string
    Value must be one off IS, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    IncidentConditionKind string
    Value must be one off IS, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    IncidentConditionMitigatedAt string
    IncidentConditionResolvedAt string
    IncidentConditionService string
    Value must be one off IS, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    IncidentConditionSeverity string
    Value must be one off IS, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    IncidentConditionStartedAt string
    IncidentConditionStatus string
    Value must be one off IS, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    IncidentConditionSummary string
    IncidentConditionVisibility string
    Value must be one off IS, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    IncidentConditionalInactivity string
    IncidentInactivityDuration string
    ex. 10 min, 1h, 3 days, 2 weeks
    IncidentKinds List<string>
    Value must be one of example, example_sub, normal, normal_sub, test, test_sub, backfilled, scheduled.
    IncidentPostMortemConditionCause string
    [DEPRECATED] Use incidentconditioncause instead. Value must be one off IS, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    IncidentStatuses List<string>
    Value must be one of in_triage, started, detected, acknowledged, mitigated, resolved, cancelled, scheduled, in_progress, completed.
    IncidentVisibilities List<string>
    TriggerType string
    Value must be one off incident.
    Triggers List<string>
    Actions that trigger the workflow. One of customfields.\n\n.updated, incidentintriage, incidentcreated, incidentstarted, incidentupdated, titleupdated, summaryupdated, statusupdated, severityupdated, environmentsadded, environmentsremoved, environmentsupdated, incidenttypesadded, incidenttypesremoved, incidenttypesupdated, servicesadded, servicesremoved, servicesupdated, functionalitiesadded, functionalitiesremoved, functionalitiesupdated, teamsadded, teamsremoved, teamsupdated, causesadded, causesremoved, causesupdated, timelineupdated, statuspagetimelineupdated, roleassignmentsupdated, roleassignmentsadded, roleassignmentsremoved, slackcommand, slackchannelcreated, slackchannelconverted, subscribersupdated, subscribersadded, subscribersremoved, userjoinedslackchannel, userleftslack_channel
    IncidentCondition string
    Value must be one off ALL, ANY, NONE.
    IncidentConditionAcknowledgedAt string
    IncidentConditionCause string
    Value must be one off IS, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    IncidentConditionDetectedAt string
    IncidentConditionEnvironment string
    Value must be one off IS, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    IncidentConditionFunctionality string
    Value must be one off IS, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    IncidentConditionGroup string
    Value must be one off IS, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    IncidentConditionIncidentRoles string
    Value must be one off IS, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    IncidentConditionIncidentType string
    Value must be one off IS, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    IncidentConditionKind string
    Value must be one off IS, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    IncidentConditionMitigatedAt string
    IncidentConditionResolvedAt string
    IncidentConditionService string
    Value must be one off IS, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    IncidentConditionSeverity string
    Value must be one off IS, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    IncidentConditionStartedAt string
    IncidentConditionStatus string
    Value must be one off IS, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    IncidentConditionSummary string
    IncidentConditionVisibility string
    Value must be one off IS, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    IncidentConditionalInactivity string
    IncidentInactivityDuration string
    ex. 10 min, 1h, 3 days, 2 weeks
    IncidentKinds []string
    Value must be one of example, example_sub, normal, normal_sub, test, test_sub, backfilled, scheduled.
    IncidentPostMortemConditionCause string
    [DEPRECATED] Use incidentconditioncause instead. Value must be one off IS, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    IncidentStatuses []string
    Value must be one of in_triage, started, detected, acknowledged, mitigated, resolved, cancelled, scheduled, in_progress, completed.
    IncidentVisibilities []string
    TriggerType string
    Value must be one off incident.
    Triggers []string
    Actions that trigger the workflow. One of customfields.\n\n.updated, incidentintriage, incidentcreated, incidentstarted, incidentupdated, titleupdated, summaryupdated, statusupdated, severityupdated, environmentsadded, environmentsremoved, environmentsupdated, incidenttypesadded, incidenttypesremoved, incidenttypesupdated, servicesadded, servicesremoved, servicesupdated, functionalitiesadded, functionalitiesremoved, functionalitiesupdated, teamsadded, teamsremoved, teamsupdated, causesadded, causesremoved, causesupdated, timelineupdated, statuspagetimelineupdated, roleassignmentsupdated, roleassignmentsadded, roleassignmentsremoved, slackcommand, slackchannelcreated, slackchannelconverted, subscribersupdated, subscribersadded, subscribersremoved, userjoinedslackchannel, userleftslack_channel
    incidentCondition String
    Value must be one off ALL, ANY, NONE.
    incidentConditionAcknowledgedAt String
    incidentConditionCause String
    Value must be one off IS, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    incidentConditionDetectedAt String
    incidentConditionEnvironment String
    Value must be one off IS, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    incidentConditionFunctionality String
    Value must be one off IS, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    incidentConditionGroup String
    Value must be one off IS, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    incidentConditionIncidentRoles String
    Value must be one off IS, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    incidentConditionIncidentType String
    Value must be one off IS, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    incidentConditionKind String
    Value must be one off IS, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    incidentConditionMitigatedAt String
    incidentConditionResolvedAt String
    incidentConditionService String
    Value must be one off IS, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    incidentConditionSeverity String
    Value must be one off IS, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    incidentConditionStartedAt String
    incidentConditionStatus String
    Value must be one off IS, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    incidentConditionSummary String
    incidentConditionVisibility String
    Value must be one off IS, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    incidentConditionalInactivity String
    incidentInactivityDuration String
    ex. 10 min, 1h, 3 days, 2 weeks
    incidentKinds List<String>
    Value must be one of example, example_sub, normal, normal_sub, test, test_sub, backfilled, scheduled.
    incidentPostMortemConditionCause String
    [DEPRECATED] Use incidentconditioncause instead. Value must be one off IS, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    incidentStatuses List<String>
    Value must be one of in_triage, started, detected, acknowledged, mitigated, resolved, cancelled, scheduled, in_progress, completed.
    incidentVisibilities List<String>
    triggerType String
    Value must be one off incident.
    triggers List<String>
    Actions that trigger the workflow. One of customfields.\n\n.updated, incidentintriage, incidentcreated, incidentstarted, incidentupdated, titleupdated, summaryupdated, statusupdated, severityupdated, environmentsadded, environmentsremoved, environmentsupdated, incidenttypesadded, incidenttypesremoved, incidenttypesupdated, servicesadded, servicesremoved, servicesupdated, functionalitiesadded, functionalitiesremoved, functionalitiesupdated, teamsadded, teamsremoved, teamsupdated, causesadded, causesremoved, causesupdated, timelineupdated, statuspagetimelineupdated, roleassignmentsupdated, roleassignmentsadded, roleassignmentsremoved, slackcommand, slackchannelcreated, slackchannelconverted, subscribersupdated, subscribersadded, subscribersremoved, userjoinedslackchannel, userleftslack_channel
    incidentCondition string
    Value must be one off ALL, ANY, NONE.
    incidentConditionAcknowledgedAt string
    incidentConditionCause string
    Value must be one off IS, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    incidentConditionDetectedAt string
    incidentConditionEnvironment string
    Value must be one off IS, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    incidentConditionFunctionality string
    Value must be one off IS, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    incidentConditionGroup string
    Value must be one off IS, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    incidentConditionIncidentRoles string
    Value must be one off IS, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    incidentConditionIncidentType string
    Value must be one off IS, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    incidentConditionKind string
    Value must be one off IS, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    incidentConditionMitigatedAt string
    incidentConditionResolvedAt string
    incidentConditionService string
    Value must be one off IS, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    incidentConditionSeverity string
    Value must be one off IS, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    incidentConditionStartedAt string
    incidentConditionStatus string
    Value must be one off IS, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    incidentConditionSummary string
    incidentConditionVisibility string
    Value must be one off IS, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    incidentConditionalInactivity string
    incidentInactivityDuration string
    ex. 10 min, 1h, 3 days, 2 weeks
    incidentKinds string[]
    Value must be one of example, example_sub, normal, normal_sub, test, test_sub, backfilled, scheduled.
    incidentPostMortemConditionCause string
    [DEPRECATED] Use incidentconditioncause instead. Value must be one off IS, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    incidentStatuses string[]
    Value must be one of in_triage, started, detected, acknowledged, mitigated, resolved, cancelled, scheduled, in_progress, completed.
    incidentVisibilities string[]
    triggerType string
    Value must be one off incident.
    triggers string[]
    Actions that trigger the workflow. One of customfields.\n\n.updated, incidentintriage, incidentcreated, incidentstarted, incidentupdated, titleupdated, summaryupdated, statusupdated, severityupdated, environmentsadded, environmentsremoved, environmentsupdated, incidenttypesadded, incidenttypesremoved, incidenttypesupdated, servicesadded, servicesremoved, servicesupdated, functionalitiesadded, functionalitiesremoved, functionalitiesupdated, teamsadded, teamsremoved, teamsupdated, causesadded, causesremoved, causesupdated, timelineupdated, statuspagetimelineupdated, roleassignmentsupdated, roleassignmentsadded, roleassignmentsremoved, slackcommand, slackchannelcreated, slackchannelconverted, subscribersupdated, subscribersadded, subscribersremoved, userjoinedslackchannel, userleftslack_channel
    incident_condition str
    Value must be one off ALL, ANY, NONE.
    incident_condition_acknowledged_at str
    incident_condition_cause str
    Value must be one off IS, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    incident_condition_detected_at str
    incident_condition_environment str
    Value must be one off IS, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    incident_condition_functionality str
    Value must be one off IS, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    incident_condition_group str
    Value must be one off IS, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    incident_condition_incident_roles str
    Value must be one off IS, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    incident_condition_incident_type str
    Value must be one off IS, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    incident_condition_kind str
    Value must be one off IS, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    incident_condition_mitigated_at str
    incident_condition_resolved_at str
    incident_condition_service str
    Value must be one off IS, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    incident_condition_severity str
    Value must be one off IS, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    incident_condition_started_at str
    incident_condition_status str
    Value must be one off IS, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    incident_condition_summary str
    incident_condition_visibility str
    Value must be one off IS, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    incident_conditional_inactivity str
    incident_inactivity_duration str
    ex. 10 min, 1h, 3 days, 2 weeks
    incident_kinds Sequence[str]
    Value must be one of example, example_sub, normal, normal_sub, test, test_sub, backfilled, scheduled.
    incident_post_mortem_condition_cause str
    [DEPRECATED] Use incidentconditioncause instead. Value must be one off IS, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    incident_statuses Sequence[str]
    Value must be one of in_triage, started, detected, acknowledged, mitigated, resolved, cancelled, scheduled, in_progress, completed.
    incident_visibilities Sequence[str]
    trigger_type str
    Value must be one off incident.
    triggers Sequence[str]
    Actions that trigger the workflow. One of customfields.\n\n.updated, incidentintriage, incidentcreated, incidentstarted, incidentupdated, titleupdated, summaryupdated, statusupdated, severityupdated, environmentsadded, environmentsremoved, environmentsupdated, incidenttypesadded, incidenttypesremoved, incidenttypesupdated, servicesadded, servicesremoved, servicesupdated, functionalitiesadded, functionalitiesremoved, functionalitiesupdated, teamsadded, teamsremoved, teamsupdated, causesadded, causesremoved, causesupdated, timelineupdated, statuspagetimelineupdated, roleassignmentsupdated, roleassignmentsadded, roleassignmentsremoved, slackcommand, slackchannelcreated, slackchannelconverted, subscribersupdated, subscribersadded, subscribersremoved, userjoinedslackchannel, userleftslack_channel
    incidentCondition String
    Value must be one off ALL, ANY, NONE.
    incidentConditionAcknowledgedAt String
    incidentConditionCause String
    Value must be one off IS, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    incidentConditionDetectedAt String
    incidentConditionEnvironment String
    Value must be one off IS, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    incidentConditionFunctionality String
    Value must be one off IS, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    incidentConditionGroup String
    Value must be one off IS, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    incidentConditionIncidentRoles String
    Value must be one off IS, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    incidentConditionIncidentType String
    Value must be one off IS, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    incidentConditionKind String
    Value must be one off IS, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    incidentConditionMitigatedAt String
    incidentConditionResolvedAt String
    incidentConditionService String
    Value must be one off IS, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    incidentConditionSeverity String
    Value must be one off IS, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    incidentConditionStartedAt String
    incidentConditionStatus String
    Value must be one off IS, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    incidentConditionSummary String
    incidentConditionVisibility String
    Value must be one off IS, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    incidentConditionalInactivity String
    incidentInactivityDuration String
    ex. 10 min, 1h, 3 days, 2 weeks
    incidentKinds List<String>
    Value must be one of example, example_sub, normal, normal_sub, test, test_sub, backfilled, scheduled.
    incidentPostMortemConditionCause String
    [DEPRECATED] Use incidentconditioncause instead. Value must be one off IS, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    incidentStatuses List<String>
    Value must be one of in_triage, started, detected, acknowledged, mitigated, resolved, cancelled, scheduled, in_progress, completed.
    incidentVisibilities List<String>
    triggerType String
    Value must be one off incident.
    triggers List<String>
    Actions that trigger the workflow. One of customfields.\n\n.updated, incidentintriage, incidentcreated, incidentstarted, incidentupdated, titleupdated, summaryupdated, statusupdated, severityupdated, environmentsadded, environmentsremoved, environmentsupdated, incidenttypesadded, incidenttypesremoved, incidenttypesupdated, servicesadded, servicesremoved, servicesupdated, functionalitiesadded, functionalitiesremoved, functionalitiesupdated, teamsadded, teamsremoved, teamsupdated, causesadded, causesremoved, causesupdated, timelineupdated, statuspagetimelineupdated, roleassignmentsupdated, roleassignmentsadded, roleassignmentsremoved, slackcommand, slackchannelcreated, slackchannelconverted, subscribersupdated, subscribersadded, subscribersremoved, userjoinedslackchannel, userleftslack_channel

    Package Details

    Repository
    rootly rootlyhq/pulumi-rootly
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the rootly Terraform Provider.
    rootly logo
    Rootly v1.1.1 published on Thursday, Jan 11, 2024 by Rootly