published on Thursday, May 7, 2026 by rootlyhq
published on Thursday, May 7, 2026 by rootlyhq
Import
rootly.FormSetCondition can be imported using the import command.
$ pulumi import rootly:index/formSetCondition:FormSetCondition primary a816421c-6ceb-481a-87c4-585e47451f24
Or using an import block.
Locate the resource id in the web app, or retrieve it by listing resources through the API if it’s not visible in the web app.
HCL can be generated from the import block using the -generate-config-out flag.
pulumi preview -generate-config-out=generated.tf
Create FormSetCondition Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new FormSetCondition(name: string, args: FormSetConditionArgs, opts?: CustomResourceOptions);@overload
def FormSetCondition(resource_name: str,
args: FormSetConditionArgs,
opts: Optional[ResourceOptions] = None)
@overload
def FormSetCondition(resource_name: str,
opts: Optional[ResourceOptions] = None,
form_field_id: Optional[str] = None,
values: Optional[Sequence[str]] = None,
comparison: Optional[str] = None,
form_set_id: Optional[str] = None)func NewFormSetCondition(ctx *Context, name string, args FormSetConditionArgs, opts ...ResourceOption) (*FormSetCondition, error)public FormSetCondition(string name, FormSetConditionArgs args, CustomResourceOptions? opts = null)
public FormSetCondition(String name, FormSetConditionArgs args)
public FormSetCondition(String name, FormSetConditionArgs args, CustomResourceOptions options)
type: rootly:FormSetCondition
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 FormSetConditionArgs
- 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 FormSetConditionArgs
- 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 FormSetConditionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args FormSetConditionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args FormSetConditionArgs
- 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 formSetConditionResource = new Rootly.FormSetCondition("formSetConditionResource", new()
{
FormFieldId = "string",
Values = new[]
{
"string",
},
Comparison = "string",
FormSetId = "string",
});
example, err := rootly.NewFormSetCondition(ctx, "formSetConditionResource", &rootly.FormSetConditionArgs{
FormFieldId: pulumi.String("string"),
Values: pulumi.StringArray{
pulumi.String("string"),
},
Comparison: pulumi.String("string"),
FormSetId: pulumi.String("string"),
})
var formSetConditionResource = new FormSetCondition("formSetConditionResource", FormSetConditionArgs.builder()
.formFieldId("string")
.values("string")
.comparison("string")
.formSetId("string")
.build());
form_set_condition_resource = rootly.FormSetCondition("formSetConditionResource",
form_field_id="string",
values=["string"],
comparison="string",
form_set_id="string")
const formSetConditionResource = new rootly.FormSetCondition("formSetConditionResource", {
formFieldId: "string",
values: ["string"],
comparison: "string",
formSetId: "string",
});
type: rootly:FormSetCondition
properties:
comparison: string
formFieldId: string
formSetId: string
values:
- string
FormSetCondition 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 FormSetCondition resource accepts the following input properties:
- Form
Field stringId - The form field this condition applies.
- Values List<string>
- The values for comparison.
- Comparison string
- The condition comparison.. Value must be one of
equal. - Form
Set stringId - The form set this condition applies.
- Form
Field stringId - The form field this condition applies.
- Values []string
- The values for comparison.
- Comparison string
- The condition comparison.. Value must be one of
equal. - Form
Set stringId - The form set this condition applies.
- form
Field StringId - The form field this condition applies.
- values List<String>
- The values for comparison.
- comparison String
- The condition comparison.. Value must be one of
equal. - form
Set StringId - The form set this condition applies.
- form
Field stringId - The form field this condition applies.
- values string[]
- The values for comparison.
- comparison string
- The condition comparison.. Value must be one of
equal. - form
Set stringId - The form set this condition applies.
- form_
field_ strid - The form field this condition applies.
- values Sequence[str]
- The values for comparison.
- comparison str
- The condition comparison.. Value must be one of
equal. - form_
set_ strid - The form set this condition applies.
- form
Field StringId - The form field this condition applies.
- values List<String>
- The values for comparison.
- comparison String
- The condition comparison.. Value must be one of
equal. - form
Set StringId - The form set this condition applies.
Outputs
All input properties are implicitly available as output properties. Additionally, the FormSetCondition 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 FormSetCondition Resource
Get an existing FormSetCondition 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?: FormSetConditionState, opts?: CustomResourceOptions): FormSetCondition@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
comparison: Optional[str] = None,
form_field_id: Optional[str] = None,
form_set_id: Optional[str] = None,
values: Optional[Sequence[str]] = None) -> FormSetConditionfunc GetFormSetCondition(ctx *Context, name string, id IDInput, state *FormSetConditionState, opts ...ResourceOption) (*FormSetCondition, error)public static FormSetCondition Get(string name, Input<string> id, FormSetConditionState? state, CustomResourceOptions? opts = null)public static FormSetCondition get(String name, Output<String> id, FormSetConditionState state, CustomResourceOptions options)resources: _: type: rootly:FormSetCondition get: id: ${id}- 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.
- Comparison string
- The condition comparison.. Value must be one of
equal. - Form
Field stringId - The form field this condition applies.
- Form
Set stringId - The form set this condition applies.
- Values List<string>
- The values for comparison.
- Comparison string
- The condition comparison.. Value must be one of
equal. - Form
Field stringId - The form field this condition applies.
- Form
Set stringId - The form set this condition applies.
- Values []string
- The values for comparison.
- comparison String
- The condition comparison.. Value must be one of
equal. - form
Field StringId - The form field this condition applies.
- form
Set StringId - The form set this condition applies.
- values List<String>
- The values for comparison.
- comparison string
- The condition comparison.. Value must be one of
equal. - form
Field stringId - The form field this condition applies.
- form
Set stringId - The form set this condition applies.
- values string[]
- The values for comparison.
- comparison str
- The condition comparison.. Value must be one of
equal. - form_
field_ strid - The form field this condition applies.
- form_
set_ strid - The form set this condition applies.
- values Sequence[str]
- The values for comparison.
- comparison String
- The condition comparison.. Value must be one of
equal. - form
Field StringId - The form field this condition applies.
- form
Set StringId - The form set this condition applies.
- values List<String>
- The values for comparison.
Package Details
- Repository
- rootly rootlyhq/pulumi-rootly
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
rootlyTerraform Provider.
published on Thursday, May 7, 2026 by rootlyhq
