1. Packages
  2. Incident Provider
  3. API Docs
  4. getCustomFieldOption
incident 5.5.0 published on Wednesday, Apr 30, 2025 by incident-io

incident.getCustomFieldOption

Explore with Pulumi AI

incident logo
incident 5.5.0 published on Wednesday, Apr 30, 2025 by incident-io

    This data source provides information about a 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(custom_field_id: Optional[str] = None,
                                sort_key: Optional[float] = None,
                                value: Optional[str] = None,
                                opts: Optional[InvokeOptions] = None) -> GetCustomFieldOptionResult
    def get_custom_field_option_output(custom_field_id: Optional[pulumi.Input[str]] = None,
                                sort_key: Optional[pulumi.Input[float]] = None,
                                value: Optional[pulumi.Input[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: incident:index/getCustomFieldOption:getCustomFieldOption
      arguments:
        # arguments dictionary

    The following arguments are supported:

    CustomFieldId string
    ID of the custom field this option belongs to
    Value string
    Human readable name for the custom field option
    SortKey double
    Sort key used to order the custom field options correctly
    CustomFieldId string
    ID of the custom field this option belongs to
    Value string
    Human readable name for the custom field option
    SortKey float64
    Sort key used to order the custom field options correctly
    customFieldId String
    ID of the custom field this option belongs to
    value String
    Human readable name for the custom field option
    sortKey Double
    Sort key used to order the custom field options correctly
    customFieldId string
    ID of the custom field this option belongs to
    value string
    Human readable name for the custom field option
    sortKey number
    Sort key used to order the custom field options correctly
    custom_field_id str
    ID of the custom field this option belongs to
    value str
    Human readable name for the custom field option
    sort_key float
    Sort key used to order the custom field options correctly
    customFieldId String
    ID of the custom field this option belongs to
    value String
    Human readable name for the custom field option
    sortKey Number
    Sort key used to order the custom field options correctly

    getCustomFieldOption Result

    The following output properties are available:

    CustomFieldId string
    ID of the custom field this option belongs to
    Id string
    Unique identifier for the custom field option
    Value string
    Human readable name for the custom field option
    SortKey double
    Sort key used to order the custom field options correctly
    CustomFieldId string
    ID of the custom field this option belongs to
    Id string
    Unique identifier for the custom field option
    Value string
    Human readable name for the custom field option
    SortKey float64
    Sort key used to order the custom field options correctly
    customFieldId String
    ID of the custom field this option belongs to
    id String
    Unique identifier for the custom field option
    value String
    Human readable name for the custom field option
    sortKey Double
    Sort key used to order the custom field options correctly
    customFieldId string
    ID of the custom field this option belongs to
    id string
    Unique identifier for the custom field option
    value string
    Human readable name for the custom field option
    sortKey number
    Sort key used to order the custom field options correctly
    custom_field_id str
    ID of the custom field this option belongs to
    id str
    Unique identifier for the custom field option
    value str
    Human readable name for the custom field option
    sort_key float
    Sort key used to order the custom field options correctly
    customFieldId String
    ID of the custom field this option belongs to
    id String
    Unique identifier for the custom field option
    value String
    Human readable name for the custom field option
    sortKey Number
    Sort key used to order the custom field options correctly

    Package Details

    Repository
    incident incident-io/terraform-provider-incident
    License
    Notes
    This Pulumi package is based on the incident Terraform Provider.
    incident logo
    incident 5.5.0 published on Wednesday, Apr 30, 2025 by incident-io