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

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 This property is required. string
The unique name of the resource.
args This property is required. WorkflowFormFieldConditionArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. 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 This property is required. string
The unique name of the resource.
args This property is required. WorkflowFormFieldConditionArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. WorkflowFormFieldConditionArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. 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",
});
Copy
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"),
})
Copy
var workflowFormFieldConditionResource = new WorkflowFormFieldCondition("workflowFormFieldConditionResource", WorkflowFormFieldConditionArgs.builder()
    .formFieldId("string")
    .incidentCondition("string")
    .selectedOptionIds("string")
    .selectedUserIds(0)
    .values("string")
    .workflowId("string")
    .build());
Copy
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")
Copy
const workflowFormFieldConditionResource = new rootly.WorkflowFormFieldCondition("workflowFormFieldConditionResource", {
    formFieldId: "string",
    incidentCondition: "string",
    selectedOptionIds: ["string"],
    selectedUserIds: [0],
    values: ["string"],
    workflowId: "string",
});
Copy
type: rootly:WorkflowFormFieldCondition
properties:
    formFieldId: string
    incidentCondition: string
    selectedOptionIds:
        - string
    selectedUserIds:
        - 0
    values:
        - string
    workflowId: string
Copy

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

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

The WorkflowFormFieldCondition resource accepts the following input properties:

FormFieldId This property is required. 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 Changes to this property will trigger replacement. string
The workflow for this condition
FormFieldId This property is required. 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 Changes to this property will trigger replacement. string
The workflow for this condition
formFieldId This property is required. 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 Changes to this property will trigger replacement. String
The workflow for this condition
formFieldId This property is required. 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 Changes to this property will trigger replacement. string
The workflow for this condition
form_field_id This property is required. 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 Changes to this property will trigger replacement. str
The workflow for this condition
formFieldId This property is required. 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 Changes to this property will trigger replacement. 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)
resources:  _:    type: rootly:WorkflowFormFieldCondition    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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.