1. Packages
  2. Packages
  3. Rootly
  4. API Docs
  5. getFormField
Viewing docs for Rootly v3.3.0
published on Thursday, May 7, 2026 by rootlyhq
rootly logo
Viewing docs for Rootly v3.3.0
published on Thursday, May 7, 2026 by rootlyhq

    Example Usage

    data "rootly_form_field" "my-form-field" {
      slug = "my-form-field"
    }
    

    Using getFormField

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getFormField(args: GetFormFieldArgs, opts?: InvokeOptions): Promise<GetFormFieldResult>
    function getFormFieldOutput(args: GetFormFieldOutputArgs, opts?: InvokeOptions): Output<GetFormFieldResult>
    def get_form_field(created_at: Optional[Mapping[str, str]] = None,
                       enabled: Optional[bool] = None,
                       kind: Optional[str] = None,
                       name: Optional[str] = None,
                       slug: Optional[str] = None,
                       opts: Optional[InvokeOptions] = None) -> GetFormFieldResult
    def get_form_field_output(created_at: pulumi.Input[Optional[Mapping[str, pulumi.Input[str]]]] = None,
                       enabled: pulumi.Input[Optional[bool]] = None,
                       kind: pulumi.Input[Optional[str]] = None,
                       name: pulumi.Input[Optional[str]] = None,
                       slug: pulumi.Input[Optional[str]] = None,
                       opts: Optional[InvokeOptions] = None) -> Output[GetFormFieldResult]
    func LookupFormField(ctx *Context, args *LookupFormFieldArgs, opts ...InvokeOption) (*LookupFormFieldResult, error)
    func LookupFormFieldOutput(ctx *Context, args *LookupFormFieldOutputArgs, opts ...InvokeOption) LookupFormFieldResultOutput

    > Note: This function is named LookupFormField in the Go SDK.

    public static class GetFormField 
    {
        public static Task<GetFormFieldResult> InvokeAsync(GetFormFieldArgs args, InvokeOptions? opts = null)
        public static Output<GetFormFieldResult> Invoke(GetFormFieldInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetFormFieldResult> getFormField(GetFormFieldArgs args, InvokeOptions options)
    public static Output<GetFormFieldResult> getFormField(GetFormFieldArgs args, InvokeOptions options)
    
    fn::invoke:
      function: rootly:index/getFormField:getFormField
      arguments:
        # arguments dictionary

    The following arguments are supported:

    CreatedAt Dictionary<string, string>
    Filter by date range using 'lt' and 'gt'.
    Enabled bool
    Kind string
    Name string
    Slug string
    CreatedAt map[string]string
    Filter by date range using 'lt' and 'gt'.
    Enabled bool
    Kind string
    Name string
    Slug string
    createdAt Map<String,String>
    Filter by date range using 'lt' and 'gt'.
    enabled Boolean
    kind String
    name String
    slug String
    createdAt {[key: string]: string}
    Filter by date range using 'lt' and 'gt'.
    enabled boolean
    kind string
    name string
    slug string
    created_at Mapping[str, str]
    Filter by date range using 'lt' and 'gt'.
    enabled bool
    kind str
    name str
    slug str
    createdAt Map<String>
    Filter by date range using 'lt' and 'gt'.
    enabled Boolean
    kind String
    name String
    slug String

    getFormField Result

    The following output properties are available:

    Id string
    The ID of this resource.
    Kind string
    Name string
    Slug string
    CreatedAt Dictionary<string, string>
    Filter by date range using 'lt' and 'gt'.
    Enabled bool
    Id string
    The ID of this resource.
    Kind string
    Name string
    Slug string
    CreatedAt map[string]string
    Filter by date range using 'lt' and 'gt'.
    Enabled bool
    id String
    The ID of this resource.
    kind String
    name String
    slug String
    createdAt Map<String,String>
    Filter by date range using 'lt' and 'gt'.
    enabled Boolean
    id string
    The ID of this resource.
    kind string
    name string
    slug string
    createdAt {[key: string]: string}
    Filter by date range using 'lt' and 'gt'.
    enabled boolean
    id str
    The ID of this resource.
    kind str
    name str
    slug str
    created_at Mapping[str, str]
    Filter by date range using 'lt' and 'gt'.
    enabled bool
    id String
    The ID of this resource.
    kind String
    name String
    slug String
    createdAt Map<String>
    Filter by date range using 'lt' and 'gt'.
    enabled Boolean

    Package Details

    Repository
    rootly rootlyhq/pulumi-rootly
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the rootly Terraform Provider.
    rootly logo
    Viewing docs for Rootly v3.3.0
    published on Thursday, May 7, 2026 by rootlyhq
      Try Pulumi Cloud free. Your team will thank you.