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 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
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:
- Form
Field stringId - The custom field for this condition
- Incident
Condition string - The trigger condition. Value must be one of
IS
,ANY
,CONTAINS
,CONTAINS_ALL
,CONTAINS_NONE
,NONE
,SET
,UNSET
. - Selected
Option List<string>Ids - Selected
User List<int>Ids - Values List<string>
- Workflow
Id string - The workflow for this condition
- Form
Field stringId - The custom field for this condition
- Incident
Condition string - The trigger condition. Value must be one of
IS
,ANY
,CONTAINS
,CONTAINS_ALL
,CONTAINS_NONE
,NONE
,SET
,UNSET
. - Selected
Option []stringIds - Selected
User []intIds - Values []string
- Workflow
Id string - The workflow for this condition
- form
Field StringId - The custom field for this condition
- incident
Condition String - The trigger condition. Value must be one of
IS
,ANY
,CONTAINS
,CONTAINS_ALL
,CONTAINS_NONE
,NONE
,SET
,UNSET
. - selected
Option List<String>Ids - selected
User List<Integer>Ids - values List<String>
- workflow
Id String - The workflow for this condition
- form
Field stringId - The custom field for this condition
- incident
Condition string - The trigger condition. Value must be one of
IS
,ANY
,CONTAINS
,CONTAINS_ALL
,CONTAINS_NONE
,NONE
,SET
,UNSET
. - selected
Option string[]Ids - selected
User number[]Ids - values string[]
- workflow
Id string - The workflow for this condition
- form_
field_ strid - 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_ Sequence[str]ids - selected_
user_ Sequence[int]ids - values Sequence[str]
- workflow_
id str - The workflow for this condition
- form
Field StringId - The custom field for this condition
- incident
Condition String - The trigger condition. Value must be one of
IS
,ANY
,CONTAINS
,CONTAINS_ALL
,CONTAINS_NONE
,NONE
,SET
,UNSET
. - selected
Option List<String>Ids - selected
User List<Number>Ids - values List<String>
- workflow
Id 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.
- Form
Field stringId - The custom field for this condition
- Incident
Condition string - The trigger condition. Value must be one of
IS
,ANY
,CONTAINS
,CONTAINS_ALL
,CONTAINS_NONE
,NONE
,SET
,UNSET
. - Selected
Option List<string>Ids - Selected
User List<int>Ids - Values List<string>
- Workflow
Id string - The workflow for this condition
- Form
Field stringId - The custom field for this condition
- Incident
Condition string - The trigger condition. Value must be one of
IS
,ANY
,CONTAINS
,CONTAINS_ALL
,CONTAINS_NONE
,NONE
,SET
,UNSET
. - Selected
Option []stringIds - Selected
User []intIds - Values []string
- Workflow
Id string - The workflow for this condition
- form
Field StringId - The custom field for this condition
- incident
Condition String - The trigger condition. Value must be one of
IS
,ANY
,CONTAINS
,CONTAINS_ALL
,CONTAINS_NONE
,NONE
,SET
,UNSET
. - selected
Option List<String>Ids - selected
User List<Integer>Ids - values List<String>
- workflow
Id String - The workflow for this condition
- form
Field stringId - The custom field for this condition
- incident
Condition string - The trigger condition. Value must be one of
IS
,ANY
,CONTAINS
,CONTAINS_ALL
,CONTAINS_NONE
,NONE
,SET
,UNSET
. - selected
Option string[]Ids - selected
User number[]Ids - values string[]
- workflow
Id string - The workflow for this condition
- form_
field_ strid - 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_ Sequence[str]ids - selected_
user_ Sequence[int]ids - values Sequence[str]
- workflow_
id str - The workflow for this condition
- form
Field StringId - The custom field for this condition
- incident
Condition String - The trigger condition. Value must be one of
IS
,ANY
,CONTAINS
,CONTAINS_ALL
,CONTAINS_NONE
,NONE
,SET
,UNSET
. - selected
Option List<String>Ids - selected
User List<Number>Ids - values List<String>
- workflow
Id 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.