1. Packages
  2. Packages
  3. Rootly
  4. API Docs
  5. getCustomFieldOption
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

    DEPRECATED: Please use formField and formFieldOption data sources instead.

    Example Usage

    data "rootly_custom_field_option" "my-custom-field-option" {
      slug = "my-custom-field-option"
    }
    

    Using getCustomFieldOption

    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 getCustomFieldOption(args: GetCustomFieldOptionArgs, opts?: InvokeOptions): Promise<GetCustomFieldOptionResult>
    function getCustomFieldOptionOutput(args: GetCustomFieldOptionOutputArgs, opts?: InvokeOptions): Output<GetCustomFieldOptionResult>
    def get_custom_field_option(color: Optional[str] = None,
                                value: Optional[str] = None,
                                opts: Optional[InvokeOptions] = None) -> GetCustomFieldOptionResult
    def get_custom_field_option_output(color: pulumi.Input[Optional[str]] = None,
                                value: pulumi.Input[Optional[str]] = None,
                                opts: Optional[InvokeOptions] = None) -> Output[GetCustomFieldOptionResult]
    func LookupCustomFieldOption(ctx *Context, args *LookupCustomFieldOptionArgs, opts ...InvokeOption) (*LookupCustomFieldOptionResult, error)
    func LookupCustomFieldOptionOutput(ctx *Context, args *LookupCustomFieldOptionOutputArgs, opts ...InvokeOption) LookupCustomFieldOptionResultOutput

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

    public static class GetCustomFieldOption 
    {
        public static Task<GetCustomFieldOptionResult> InvokeAsync(GetCustomFieldOptionArgs args, InvokeOptions? opts = null)
        public static Output<GetCustomFieldOptionResult> Invoke(GetCustomFieldOptionInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetCustomFieldOptionResult> getCustomFieldOption(GetCustomFieldOptionArgs args, InvokeOptions options)
    public static Output<GetCustomFieldOptionResult> getCustomFieldOption(GetCustomFieldOptionArgs args, InvokeOptions options)
    
    fn::invoke:
      function: rootly:index/getCustomFieldOption:getCustomFieldOption
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Color string
    Value string
    Color string
    Value string
    color String
    value String
    color string
    value string
    color str
    value str
    color String
    value String

    getCustomFieldOption Result

    The following output properties are available:

    Color string
    Id string
    The ID of this resource.
    Value string
    Color string
    Id string
    The ID of this resource.
    Value string
    color String
    id String
    The ID of this resource.
    value String
    color string
    id string
    The ID of this resource.
    value string
    color str
    id str
    The ID of this resource.
    value str
    color String
    id String
    The ID of this resource.
    value String

    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.