1. Packages
  2. Rootly
  3. API Docs
  4. WorkflowFormFieldCondition
Rootly v1.5.0 published on Thursday, Apr 25, 2024 by Rootly

rootly.WorkflowFormFieldCondition

Explore with Pulumi AI

rootly logo
Rootly v1.5.0 published on Thursday, Apr 25, 2024 by Rootly

    Create WorkflowFormFieldCondition Resource

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

    Constructor syntax

    new WorkflowFormFieldCondition(name: string, args: WorkflowFormFieldConditionArgs, opts?: CustomResourceOptions);
    @overload
    def WorkflowFormFieldCondition(resource_name: str,
                                   args: WorkflowFormFieldConditionArgs,
                                   opts: Optional[ResourceOptions] = None)
    
    @overload
    def WorkflowFormFieldCondition(resource_name: str,
                                   opts: Optional[ResourceOptions] = None,
                                   form_field_id: Optional[str] = None,
                                   incident_condition: Optional[str] = None,
                                   selected_option_ids: Optional[Sequence[str]] = None,
                                   selected_user_ids: Optional[Sequence[int]] = None,
                                   values: Optional[Sequence[str]] = None,
                                   workflow_id: Optional[str] = None)
    func NewWorkflowFormFieldCondition(ctx *Context, name string, args WorkflowFormFieldConditionArgs, opts ...ResourceOption) (*WorkflowFormFieldCondition, error)
    public WorkflowFormFieldCondition(string name, WorkflowFormFieldConditionArgs args, CustomResourceOptions? opts = null)
    public WorkflowFormFieldCondition(String name, WorkflowFormFieldConditionArgs args)
    public WorkflowFormFieldCondition(String name, WorkflowFormFieldConditionArgs args, CustomResourceOptions options)
    
    type: rootly:WorkflowFormFieldCondition
    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 WorkflowFormFieldConditionArgs
    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 WorkflowFormFieldConditionArgs
    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 WorkflowFormFieldConditionArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args WorkflowFormFieldConditionArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args WorkflowFormFieldConditionArgs
    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 workflowFormFieldConditionResource = new Rootly.WorkflowFormFieldCondition("workflowFormFieldConditionResource", new()
    {
        FormFieldId = "string",
        IncidentCondition = "string",
        SelectedOptionIds = new[]
        {
            "string",
        },
        SelectedUserIds = new[]
        {
            0,
        },
        Values = new[]
        {
            "string",
        },
        WorkflowId = "string",
    });
    
    example, err := rootly.NewWorkflowFormFieldCondition(ctx, "workflowFormFieldConditionResource", &rootly.WorkflowFormFieldConditionArgs{
    	FormFieldId:       pulumi.String("string"),
    	IncidentCondition: pulumi.String("string"),
    	SelectedOptionIds: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	SelectedUserIds: pulumi.IntArray{
    		pulumi.Int(0),
    	},
    	Values: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	WorkflowId: pulumi.String("string"),
    })
    
    var workflowFormFieldConditionResource = new WorkflowFormFieldCondition("workflowFormFieldConditionResource", WorkflowFormFieldConditionArgs.builder()
        .formFieldId("string")
        .incidentCondition("string")
        .selectedOptionIds("string")
        .selectedUserIds(0)
        .values("string")
        .workflowId("string")
        .build());
    
    workflow_form_field_condition_resource = rootly.WorkflowFormFieldCondition("workflowFormFieldConditionResource",
        form_field_id="string",
        incident_condition="string",
        selected_option_ids=["string"],
        selected_user_ids=[0],
        values=["string"],
        workflow_id="string")
    
    const workflowFormFieldConditionResource = new rootly.WorkflowFormFieldCondition("workflowFormFieldConditionResource", {
        formFieldId: "string",
        incidentCondition: "string",
        selectedOptionIds: ["string"],
        selectedUserIds: [0],
        values: ["string"],
        workflowId: "string",
    });
    
    type: rootly:WorkflowFormFieldCondition
    properties:
        formFieldId: string
        incidentCondition: string
        selectedOptionIds:
            - string
        selectedUserIds:
            - 0
        values:
            - string
        workflowId: string
    

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

    FormFieldId string
    The custom field for this condition
    IncidentCondition string
    The trigger condition. Value must be one of IS, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    SelectedOptionIds List<string>
    SelectedUserIds List<int>
    Values List<string>
    WorkflowId string
    The workflow for this condition
    FormFieldId string
    The custom field for this condition
    IncidentCondition string
    The trigger condition. Value must be one of IS, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    SelectedOptionIds []string
    SelectedUserIds []int
    Values []string
    WorkflowId string
    The workflow for this condition
    formFieldId String
    The custom field for this condition
    incidentCondition String
    The trigger condition. Value must be one of IS, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    selectedOptionIds List<String>
    selectedUserIds List<Integer>
    values List<String>
    workflowId String
    The workflow for this condition
    formFieldId string
    The custom field for this condition
    incidentCondition string
    The trigger condition. Value must be one of IS, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    selectedOptionIds string[]
    selectedUserIds number[]
    values string[]
    workflowId string
    The workflow for this condition
    form_field_id str
    The custom field for this condition
    incident_condition str
    The trigger condition. Value must be one of IS, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    selected_option_ids Sequence[str]
    selected_user_ids Sequence[int]
    values Sequence[str]
    workflow_id str
    The workflow for this condition
    formFieldId String
    The custom field for this condition
    incidentCondition String
    The trigger condition. Value must be one of IS, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    selectedOptionIds List<String>
    selectedUserIds List<Number>
    values List<String>
    workflowId String
    The workflow for this condition

    Outputs

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

    Get an existing WorkflowFormFieldCondition 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?: WorkflowFormFieldConditionState, opts?: CustomResourceOptions): WorkflowFormFieldCondition
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            form_field_id: Optional[str] = None,
            incident_condition: Optional[str] = None,
            selected_option_ids: Optional[Sequence[str]] = None,
            selected_user_ids: Optional[Sequence[int]] = None,
            values: Optional[Sequence[str]] = None,
            workflow_id: Optional[str] = None) -> WorkflowFormFieldCondition
    func GetWorkflowFormFieldCondition(ctx *Context, name string, id IDInput, state *WorkflowFormFieldConditionState, opts ...ResourceOption) (*WorkflowFormFieldCondition, error)
    public static WorkflowFormFieldCondition Get(string name, Input<string> id, WorkflowFormFieldConditionState? state, CustomResourceOptions? opts = null)
    public static WorkflowFormFieldCondition get(String name, Output<String> id, WorkflowFormFieldConditionState 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:
    FormFieldId string
    The custom field for this condition
    IncidentCondition string
    The trigger condition. Value must be one of IS, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    SelectedOptionIds List<string>
    SelectedUserIds List<int>
    Values List<string>
    WorkflowId string
    The workflow for this condition
    FormFieldId string
    The custom field for this condition
    IncidentCondition string
    The trigger condition. Value must be one of IS, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    SelectedOptionIds []string
    SelectedUserIds []int
    Values []string
    WorkflowId string
    The workflow for this condition
    formFieldId String
    The custom field for this condition
    incidentCondition String
    The trigger condition. Value must be one of IS, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    selectedOptionIds List<String>
    selectedUserIds List<Integer>
    values List<String>
    workflowId String
    The workflow for this condition
    formFieldId string
    The custom field for this condition
    incidentCondition string
    The trigger condition. Value must be one of IS, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    selectedOptionIds string[]
    selectedUserIds number[]
    values string[]
    workflowId string
    The workflow for this condition
    form_field_id str
    The custom field for this condition
    incident_condition str
    The trigger condition. Value must be one of IS, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    selected_option_ids Sequence[str]
    selected_user_ids Sequence[int]
    values Sequence[str]
    workflow_id str
    The workflow for this condition
    formFieldId String
    The custom field for this condition
    incidentCondition String
    The trigger condition. Value must be one of IS, ANY, CONTAINS, CONTAINS_ALL, CONTAINS_NONE, NONE, SET, UNSET.
    selectedOptionIds List<String>
    selectedUserIds List<Number>
    values List<String>
    workflowId String
    The workflow for this condition

    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.5.0 published on Thursday, Apr 25, 2024 by Rootly