1. Packages
  2. Rootly
  3. API Docs
  4. FormFieldPosition
Rootly v1.2.1 published on Tuesday, Apr 2, 2024 by Rootly

rootly.FormFieldPosition

Explore with Pulumi AI

rootly logo
Rootly v1.2.1 published on Tuesday, Apr 2, 2024 by Rootly

    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 string
    The unique name of the resource.
    args FormFieldPositionArgs
    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 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 string
    The unique name of the resource.
    args FormFieldPositionArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args FormFieldPositionArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args FormFieldPositionArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    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

    The FormFieldPosition resource accepts the following input properties:

    FormFieldId string
    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.
    FormFieldId string
    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.
    formFieldId String
    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.
    formFieldId string
    The ID of the form field.
    position 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 str
    The ID of the form field.
    position 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.
    formFieldId String
    The ID of the form field.
    position 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)
    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.
    The following state arguments are supported:
    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.
    FormFieldId string
    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.
    FormFieldId string
    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.
    formFieldId String
    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.
    formFieldId string
    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 str
    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.
    formFieldId String
    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.
    rootly logo
    Rootly v1.2.1 published on Tuesday, Apr 2, 2024 by Rootly