Rootly

v0.1.16 published on Friday, Dec 2, 2022 by Rootly

getCustomFieldOption

DEPRECATED: Please use form_field and form_field_option data sources instead.

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: Optional[pulumi.Input[str]] = 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)
// Output-based functions aren't available in Java yet
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
Value string
Color string
Id string
Value string
color String
id String
value String
color string
id string
value string
color str
id str
value str
color String
id String
value String

Package Details

Repository
https://github.com/rootlyhq/pulumi-rootly
License
Apache-2.0
Notes

This Pulumi package is based on the rootly Terraform Provider.