Rootly v1.5.0 published on Thursday, Apr 25, 2024 by Rootly
rootly.WorkflowCustomFieldSelection
Explore with Pulumi AI
Create WorkflowCustomFieldSelection Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new WorkflowCustomFieldSelection(name: string, args: WorkflowCustomFieldSelectionArgs, opts?: CustomResourceOptions);
@overload
def WorkflowCustomFieldSelection(resource_name: str,
args: WorkflowCustomFieldSelectionArgs,
opts: Optional[ResourceOptions] = None)
@overload
def WorkflowCustomFieldSelection(resource_name: str,
opts: Optional[ResourceOptions] = None,
custom_field_id: Optional[int] = None,
incident_condition: Optional[str] = None,
selected_option_ids: Optional[Sequence[int]] = None,
values: Optional[Sequence[str]] = None,
workflow_id: Optional[str] = None)
func NewWorkflowCustomFieldSelection(ctx *Context, name string, args WorkflowCustomFieldSelectionArgs, opts ...ResourceOption) (*WorkflowCustomFieldSelection, error)
public WorkflowCustomFieldSelection(string name, WorkflowCustomFieldSelectionArgs args, CustomResourceOptions? opts = null)
public WorkflowCustomFieldSelection(String name, WorkflowCustomFieldSelectionArgs args)
public WorkflowCustomFieldSelection(String name, WorkflowCustomFieldSelectionArgs args, CustomResourceOptions options)
type: rootly:WorkflowCustomFieldSelection
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 WorkflowCustomFieldSelectionArgs
- 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 WorkflowCustomFieldSelectionArgs
- 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 WorkflowCustomFieldSelectionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args WorkflowCustomFieldSelectionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args WorkflowCustomFieldSelectionArgs
- 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 workflowCustomFieldSelectionResource = new Rootly.WorkflowCustomFieldSelection("workflowCustomFieldSelectionResource", new()
{
CustomFieldId = 0,
IncidentCondition = "string",
SelectedOptionIds = new[]
{
0,
},
Values = new[]
{
"string",
},
WorkflowId = "string",
});
example, err := rootly.NewWorkflowCustomFieldSelection(ctx, "workflowCustomFieldSelectionResource", &rootly.WorkflowCustomFieldSelectionArgs{
CustomFieldId: pulumi.Int(0),
IncidentCondition: pulumi.String("string"),
SelectedOptionIds: pulumi.IntArray{
pulumi.Int(0),
},
Values: pulumi.StringArray{
pulumi.String("string"),
},
WorkflowId: pulumi.String("string"),
})
var workflowCustomFieldSelectionResource = new WorkflowCustomFieldSelection("workflowCustomFieldSelectionResource", WorkflowCustomFieldSelectionArgs.builder()
.customFieldId(0)
.incidentCondition("string")
.selectedOptionIds(0)
.values("string")
.workflowId("string")
.build());
workflow_custom_field_selection_resource = rootly.WorkflowCustomFieldSelection("workflowCustomFieldSelectionResource",
custom_field_id=0,
incident_condition="string",
selected_option_ids=[0],
values=["string"],
workflow_id="string")
const workflowCustomFieldSelectionResource = new rootly.WorkflowCustomFieldSelection("workflowCustomFieldSelectionResource", {
customFieldId: 0,
incidentCondition: "string",
selectedOptionIds: [0],
values: ["string"],
workflowId: "string",
});
type: rootly:WorkflowCustomFieldSelection
properties:
customFieldId: 0
incidentCondition: string
selectedOptionIds:
- 0
values:
- string
workflowId: string
WorkflowCustomFieldSelection 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 WorkflowCustomFieldSelection resource accepts the following input properties:
- Custom
Field intId - The custom field for this selection
- Incident
Condition string - The trigger condition. Value must be one of
IS
,ANY
,CONTAINS
,CONTAINS_ALL
,CONTAINS_NONE
,NONE
,SET
,UNSET
. - Selected
Option List<int>Ids - Values List<string>
- Workflow
Id string - The workflow for this selection
- Custom
Field intId - The custom field for this selection
- Incident
Condition string - The trigger condition. Value must be one of
IS
,ANY
,CONTAINS
,CONTAINS_ALL
,CONTAINS_NONE
,NONE
,SET
,UNSET
. - Selected
Option []intIds - Values []string
- Workflow
Id string - The workflow for this selection
- custom
Field IntegerId - The custom field for this selection
- incident
Condition String - The trigger condition. Value must be one of
IS
,ANY
,CONTAINS
,CONTAINS_ALL
,CONTAINS_NONE
,NONE
,SET
,UNSET
. - selected
Option List<Integer>Ids - values List<String>
- workflow
Id String - The workflow for this selection
- custom
Field numberId - The custom field for this selection
- incident
Condition string - The trigger condition. Value must be one of
IS
,ANY
,CONTAINS
,CONTAINS_ALL
,CONTAINS_NONE
,NONE
,SET
,UNSET
. - selected
Option number[]Ids - values string[]
- workflow
Id string - The workflow for this selection
- custom_
field_ intid - The custom field for this selection
- incident_
condition str - The trigger condition. Value must be one of
IS
,ANY
,CONTAINS
,CONTAINS_ALL
,CONTAINS_NONE
,NONE
,SET
,UNSET
. - selected_
option_ Sequence[int]ids - values Sequence[str]
- workflow_
id str - The workflow for this selection
- custom
Field NumberId - The custom field for this selection
- incident
Condition String - The trigger condition. Value must be one of
IS
,ANY
,CONTAINS
,CONTAINS_ALL
,CONTAINS_NONE
,NONE
,SET
,UNSET
. - selected
Option List<Number>Ids - values List<String>
- workflow
Id String - The workflow for this selection
Outputs
All input properties are implicitly available as output properties. Additionally, the WorkflowCustomFieldSelection 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 WorkflowCustomFieldSelection Resource
Get an existing WorkflowCustomFieldSelection 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?: WorkflowCustomFieldSelectionState, opts?: CustomResourceOptions): WorkflowCustomFieldSelection
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
custom_field_id: Optional[int] = None,
incident_condition: Optional[str] = None,
selected_option_ids: Optional[Sequence[int]] = None,
values: Optional[Sequence[str]] = None,
workflow_id: Optional[str] = None) -> WorkflowCustomFieldSelection
func GetWorkflowCustomFieldSelection(ctx *Context, name string, id IDInput, state *WorkflowCustomFieldSelectionState, opts ...ResourceOption) (*WorkflowCustomFieldSelection, error)
public static WorkflowCustomFieldSelection Get(string name, Input<string> id, WorkflowCustomFieldSelectionState? state, CustomResourceOptions? opts = null)
public static WorkflowCustomFieldSelection get(String name, Output<String> id, WorkflowCustomFieldSelectionState 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.
- Custom
Field intId - The custom field for this selection
- Incident
Condition string - The trigger condition. Value must be one of
IS
,ANY
,CONTAINS
,CONTAINS_ALL
,CONTAINS_NONE
,NONE
,SET
,UNSET
. - Selected
Option List<int>Ids - Values List<string>
- Workflow
Id string - The workflow for this selection
- Custom
Field intId - The custom field for this selection
- Incident
Condition string - The trigger condition. Value must be one of
IS
,ANY
,CONTAINS
,CONTAINS_ALL
,CONTAINS_NONE
,NONE
,SET
,UNSET
. - Selected
Option []intIds - Values []string
- Workflow
Id string - The workflow for this selection
- custom
Field IntegerId - The custom field for this selection
- incident
Condition String - The trigger condition. Value must be one of
IS
,ANY
,CONTAINS
,CONTAINS_ALL
,CONTAINS_NONE
,NONE
,SET
,UNSET
. - selected
Option List<Integer>Ids - values List<String>
- workflow
Id String - The workflow for this selection
- custom
Field numberId - The custom field for this selection
- incident
Condition string - The trigger condition. Value must be one of
IS
,ANY
,CONTAINS
,CONTAINS_ALL
,CONTAINS_NONE
,NONE
,SET
,UNSET
. - selected
Option number[]Ids - values string[]
- workflow
Id string - The workflow for this selection
- custom_
field_ intid - The custom field for this selection
- incident_
condition str - The trigger condition. Value must be one of
IS
,ANY
,CONTAINS
,CONTAINS_ALL
,CONTAINS_NONE
,NONE
,SET
,UNSET
. - selected_
option_ Sequence[int]ids - values Sequence[str]
- workflow_
id str - The workflow for this selection
- custom
Field NumberId - The custom field for this selection
- incident
Condition String - The trigger condition. Value must be one of
IS
,ANY
,CONTAINS
,CONTAINS_ALL
,CONTAINS_NONE
,NONE
,SET
,UNSET
. - selected
Option List<Number>Ids - values List<String>
- workflow
Id String - The workflow for this selection
Package Details
- Repository
- rootly rootlyhq/pulumi-rootly
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
rootly
Terraform Provider.