1. Packages
  2. Rootly
  3. API Docs
  4. getCustomFieldOptions
Rootly v1.5.0 published on Thursday, Apr 25, 2024 by Rootly

rootly.getCustomFieldOptions

Explore with Pulumi AI

rootly logo
Rootly v1.5.0 published on Thursday, Apr 25, 2024 by Rootly

    Using getCustomFieldOptions

    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 getCustomFieldOptions(args: GetCustomFieldOptionsArgs, opts?: InvokeOptions): Promise<GetCustomFieldOptionsResult>
    function getCustomFieldOptionsOutput(args: GetCustomFieldOptionsOutputArgs, opts?: InvokeOptions): Output<GetCustomFieldOptionsResult>
    def get_custom_field_options(color: Optional[str] = None,
                                 custom_field_id: Optional[int] = None,
                                 value: Optional[str] = None,
                                 opts: Optional[InvokeOptions] = None) -> GetCustomFieldOptionsResult
    def get_custom_field_options_output(color: Optional[pulumi.Input[str]] = None,
                                 custom_field_id: Optional[pulumi.Input[int]] = None,
                                 value: Optional[pulumi.Input[str]] = None,
                                 opts: Optional[InvokeOptions] = None) -> Output[GetCustomFieldOptionsResult]
    func GetCustomFieldOptions(ctx *Context, args *GetCustomFieldOptionsArgs, opts ...InvokeOption) (*GetCustomFieldOptionsResult, error)
    func GetCustomFieldOptionsOutput(ctx *Context, args *GetCustomFieldOptionsOutputArgs, opts ...InvokeOption) GetCustomFieldOptionsResultOutput

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

    public static class GetCustomFieldOptions 
    {
        public static Task<GetCustomFieldOptionsResult> InvokeAsync(GetCustomFieldOptionsArgs args, InvokeOptions? opts = null)
        public static Output<GetCustomFieldOptionsResult> Invoke(GetCustomFieldOptionsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetCustomFieldOptionsResult> getCustomFieldOptions(GetCustomFieldOptionsArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: rootly:index/getCustomFieldOptions:getCustomFieldOptions
      arguments:
        # arguments dictionary

    The following arguments are supported:

    CustomFieldId int
    Color string
    Value string
    CustomFieldId int
    Color string
    Value string
    customFieldId Integer
    color String
    value String
    customFieldId number
    color string
    value string
    customFieldId Number
    color String
    value String

    getCustomFieldOptions Result

    The following output properties are available:

    CustomFieldId int
    CustomFieldOptions List<GetCustomFieldOptionsCustomFieldOption>
    Id string
    The provider-assigned unique ID for this managed resource.
    Color string
    Value string
    CustomFieldId int
    CustomFieldOptions []GetCustomFieldOptionsCustomFieldOption
    Id string
    The provider-assigned unique ID for this managed resource.
    Color string
    Value string
    customFieldId Integer
    customFieldOptions List<GetCustomFieldOptionsCustomFieldOption>
    id String
    The provider-assigned unique ID for this managed resource.
    color String
    value String
    customFieldId number
    customFieldOptions GetCustomFieldOptionsCustomFieldOption[]
    id string
    The provider-assigned unique ID for this managed resource.
    color string
    value string
    custom_field_id int
    custom_field_options Sequence[GetCustomFieldOptionsCustomFieldOption]
    id str
    The provider-assigned unique ID for this managed resource.
    color str
    value str
    customFieldId Number
    customFieldOptions List<Property Map>
    id String
    The provider-assigned unique ID for this managed resource.
    color String
    value String

    Supporting Types

    GetCustomFieldOptionsCustomFieldOption

    Color string
    CustomFieldId int
    Id string
    Position int
    Value string
    Color string
    CustomFieldId int
    Id string
    Position int
    Value string
    color String
    customFieldId Integer
    id String
    position Integer
    value String
    color string
    customFieldId number
    id string
    position number
    value string
    color String
    customFieldId Number
    id String
    position Number
    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
    Rootly v1.5.0 published on Thursday, Apr 25, 2024 by Rootly