rootly.FormFieldPosition
Explore with Pulumi AI
Create FormFieldPosition Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new FormFieldPosition(name: string, args: FormFieldPositionArgs, opts?: CustomResourceOptions);
@overload
def FormFieldPosition(resource_name: str,
args: FormFieldPositionArgs,
opts: Optional[ResourceOptions] = None)
@overload
def FormFieldPosition(resource_name: str,
opts: Optional[ResourceOptions] = None,
form_field_id: Optional[str] = None,
position: Optional[int] = None,
form: Optional[str] = None)
func NewFormFieldPosition(ctx *Context, name string, args FormFieldPositionArgs, opts ...ResourceOption) (*FormFieldPosition, error)
public FormFieldPosition(string name, FormFieldPositionArgs args, CustomResourceOptions? opts = null)
public FormFieldPosition(String name, FormFieldPositionArgs args)
public FormFieldPosition(String name, FormFieldPositionArgs args, CustomResourceOptions options)
type: rootly:FormFieldPosition
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. FormFieldPositionArgs - 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. FormFieldPositionArgs - 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. FormFieldPositionArgs - 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. FormFieldPositionArgs - 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. FormFieldPositionArgs - 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 formFieldPositionResource = new Rootly.FormFieldPosition("formFieldPositionResource", new()
{
FormFieldId = "string",
Position = 0,
Form = "string",
});
example, err := rootly.NewFormFieldPosition(ctx, "formFieldPositionResource", &rootly.FormFieldPositionArgs{
FormFieldId: pulumi.String("string"),
Position: pulumi.Int(0),
Form: pulumi.String("string"),
})
var formFieldPositionResource = new FormFieldPosition("formFieldPositionResource", FormFieldPositionArgs.builder()
.formFieldId("string")
.position(0)
.form("string")
.build());
form_field_position_resource = rootly.FormFieldPosition("formFieldPositionResource",
form_field_id="string",
position=0,
form="string")
const formFieldPositionResource = new rootly.FormFieldPosition("formFieldPositionResource", {
formFieldId: "string",
position: 0,
form: "string",
});
type: rootly:FormFieldPosition
properties:
form: string
formFieldId: string
position: 0
FormFieldPosition 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 FormFieldPosition resource accepts the following input properties:
- Form
Field Id This property is required. Changes to this property will trigger replacement.
- The ID of the form field.
- Position
This property is required. int - The position of the formfieldposition
- Form string
- The form for the position. Value must be one of
web_new_incident_form
,web_update_incident_form
,web_incident_post_mortem_form
,web_incident_mitigation_form
,web_incident_resolution_form
,web_incident_cancellation_form
,web_scheduled_incident_form
,web_update_scheduled_incident_form
,incident_post_mortem
,slack_new_incident_form
,slack_update_incident_form
,slack_update_incident_status_form
,slack_incident_mitigation_form
,slack_incident_resolution_form
,slack_incident_cancellation_form
,slack_scheduled_incident_form
,slack_update_scheduled_incident_form
.
- Form
Field Id This property is required. Changes to this property will trigger replacement.
- The ID of the form field.
- Position
This property is required. int - The position of the formfieldposition
- Form string
- The form for the position. Value must be one of
web_new_incident_form
,web_update_incident_form
,web_incident_post_mortem_form
,web_incident_mitigation_form
,web_incident_resolution_form
,web_incident_cancellation_form
,web_scheduled_incident_form
,web_update_scheduled_incident_form
,incident_post_mortem
,slack_new_incident_form
,slack_update_incident_form
,slack_update_incident_status_form
,slack_incident_mitigation_form
,slack_incident_resolution_form
,slack_incident_cancellation_form
,slack_scheduled_incident_form
,slack_update_scheduled_incident_form
.
- form
Field Id This property is required. Changes to this property will trigger replacement.
- The ID of the form field.
- position
This property is required. Integer - The position of the formfieldposition
- form String
- The form for the position. Value must be one of
web_new_incident_form
,web_update_incident_form
,web_incident_post_mortem_form
,web_incident_mitigation_form
,web_incident_resolution_form
,web_incident_cancellation_form
,web_scheduled_incident_form
,web_update_scheduled_incident_form
,incident_post_mortem
,slack_new_incident_form
,slack_update_incident_form
,slack_update_incident_status_form
,slack_incident_mitigation_form
,slack_incident_resolution_form
,slack_incident_cancellation_form
,slack_scheduled_incident_form
,slack_update_scheduled_incident_form
.
- form
Field Id This property is required. Changes to this property will trigger replacement.
- The ID of the form field.
- position
This property is required. number - The position of the formfieldposition
- form string
- The form for the position. Value must be one of
web_new_incident_form
,web_update_incident_form
,web_incident_post_mortem_form
,web_incident_mitigation_form
,web_incident_resolution_form
,web_incident_cancellation_form
,web_scheduled_incident_form
,web_update_scheduled_incident_form
,incident_post_mortem
,slack_new_incident_form
,slack_update_incident_form
,slack_update_incident_status_form
,slack_incident_mitigation_form
,slack_incident_resolution_form
,slack_incident_cancellation_form
,slack_scheduled_incident_form
,slack_update_scheduled_incident_form
.
- form_
field_ id This property is required. Changes to this property will trigger replacement.
- The ID of the form field.
- position
This property is required. int - The position of the formfieldposition
- form str
- The form for the position. Value must be one of
web_new_incident_form
,web_update_incident_form
,web_incident_post_mortem_form
,web_incident_mitigation_form
,web_incident_resolution_form
,web_incident_cancellation_form
,web_scheduled_incident_form
,web_update_scheduled_incident_form
,incident_post_mortem
,slack_new_incident_form
,slack_update_incident_form
,slack_update_incident_status_form
,slack_incident_mitigation_form
,slack_incident_resolution_form
,slack_incident_cancellation_form
,slack_scheduled_incident_form
,slack_update_scheduled_incident_form
.
- form
Field Id This property is required. Changes to this property will trigger replacement.
- The ID of the form field.
- position
This property is required. Number - The position of the formfieldposition
- form String
- The form for the position. Value must be one of
web_new_incident_form
,web_update_incident_form
,web_incident_post_mortem_form
,web_incident_mitigation_form
,web_incident_resolution_form
,web_incident_cancellation_form
,web_scheduled_incident_form
,web_update_scheduled_incident_form
,incident_post_mortem
,slack_new_incident_form
,slack_update_incident_form
,slack_update_incident_status_form
,slack_incident_mitigation_form
,slack_incident_resolution_form
,slack_incident_cancellation_form
,slack_scheduled_incident_form
,slack_update_scheduled_incident_form
.
Outputs
All input properties are implicitly available as output properties. Additionally, the FormFieldPosition 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 FormFieldPosition Resource
Get an existing FormFieldPosition 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?: FormFieldPositionState, opts?: CustomResourceOptions): FormFieldPosition
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
form: Optional[str] = None,
form_field_id: Optional[str] = None,
position: Optional[int] = None) -> FormFieldPosition
func GetFormFieldPosition(ctx *Context, name string, id IDInput, state *FormFieldPositionState, opts ...ResourceOption) (*FormFieldPosition, error)
public static FormFieldPosition Get(string name, Input<string> id, FormFieldPositionState? state, CustomResourceOptions? opts = null)
public static FormFieldPosition get(String name, Output<String> id, FormFieldPositionState state, CustomResourceOptions options)
resources: _: type: rootly:FormFieldPosition 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.
- Form string
- The form for the position. Value must be one of
web_new_incident_form
,web_update_incident_form
,web_incident_post_mortem_form
,web_incident_mitigation_form
,web_incident_resolution_form
,web_incident_cancellation_form
,web_scheduled_incident_form
,web_update_scheduled_incident_form
,incident_post_mortem
,slack_new_incident_form
,slack_update_incident_form
,slack_update_incident_status_form
,slack_incident_mitigation_form
,slack_incident_resolution_form
,slack_incident_cancellation_form
,slack_scheduled_incident_form
,slack_update_scheduled_incident_form
. - Form
Field Id Changes to this property will trigger replacement.
- The ID of the form field.
- Position int
- The position of the formfieldposition
- Form string
- The form for the position. Value must be one of
web_new_incident_form
,web_update_incident_form
,web_incident_post_mortem_form
,web_incident_mitigation_form
,web_incident_resolution_form
,web_incident_cancellation_form
,web_scheduled_incident_form
,web_update_scheduled_incident_form
,incident_post_mortem
,slack_new_incident_form
,slack_update_incident_form
,slack_update_incident_status_form
,slack_incident_mitigation_form
,slack_incident_resolution_form
,slack_incident_cancellation_form
,slack_scheduled_incident_form
,slack_update_scheduled_incident_form
. - Form
Field Id Changes to this property will trigger replacement.
- The ID of the form field.
- Position int
- The position of the formfieldposition
- form String
- The form for the position. Value must be one of
web_new_incident_form
,web_update_incident_form
,web_incident_post_mortem_form
,web_incident_mitigation_form
,web_incident_resolution_form
,web_incident_cancellation_form
,web_scheduled_incident_form
,web_update_scheduled_incident_form
,incident_post_mortem
,slack_new_incident_form
,slack_update_incident_form
,slack_update_incident_status_form
,slack_incident_mitigation_form
,slack_incident_resolution_form
,slack_incident_cancellation_form
,slack_scheduled_incident_form
,slack_update_scheduled_incident_form
. - form
Field Id Changes to this property will trigger replacement.
- The ID of the form field.
- position Integer
- The position of the formfieldposition
- form string
- The form for the position. Value must be one of
web_new_incident_form
,web_update_incident_form
,web_incident_post_mortem_form
,web_incident_mitigation_form
,web_incident_resolution_form
,web_incident_cancellation_form
,web_scheduled_incident_form
,web_update_scheduled_incident_form
,incident_post_mortem
,slack_new_incident_form
,slack_update_incident_form
,slack_update_incident_status_form
,slack_incident_mitigation_form
,slack_incident_resolution_form
,slack_incident_cancellation_form
,slack_scheduled_incident_form
,slack_update_scheduled_incident_form
. - form
Field Id Changes to this property will trigger replacement.
- The ID of the form field.
- position number
- The position of the formfieldposition
- form str
- The form for the position. Value must be one of
web_new_incident_form
,web_update_incident_form
,web_incident_post_mortem_form
,web_incident_mitigation_form
,web_incident_resolution_form
,web_incident_cancellation_form
,web_scheduled_incident_form
,web_update_scheduled_incident_form
,incident_post_mortem
,slack_new_incident_form
,slack_update_incident_form
,slack_update_incident_status_form
,slack_incident_mitigation_form
,slack_incident_resolution_form
,slack_incident_cancellation_form
,slack_scheduled_incident_form
,slack_update_scheduled_incident_form
. - form_
field_ id Changes to this property will trigger replacement.
- The ID of the form field.
- position int
- The position of the formfieldposition
- form String
- The form for the position. Value must be one of
web_new_incident_form
,web_update_incident_form
,web_incident_post_mortem_form
,web_incident_mitigation_form
,web_incident_resolution_form
,web_incident_cancellation_form
,web_scheduled_incident_form
,web_update_scheduled_incident_form
,incident_post_mortem
,slack_new_incident_form
,slack_update_incident_form
,slack_update_incident_status_form
,slack_incident_mitigation_form
,slack_incident_resolution_form
,slack_incident_cancellation_form
,slack_scheduled_incident_form
,slack_update_scheduled_incident_form
. - form
Field Id Changes to this property will trigger replacement.
- The ID of the form field.
- position Number
- The position of the formfieldposition
Package Details
- Repository
- rootly rootlyhq/pulumi-rootly
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
rootly
Terraform Provider.