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

rootly.getFormFieldOption

Explore with Pulumi AI

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

    Example Usage

    Coming soon!

    Coming soon!

    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.rootly.RootlyFunctions;
    import com.pulumi.rootly.inputs.GetFormFieldOptionArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var my-form-field-option = RootlyFunctions.getFormFieldOption(GetFormFieldOptionArgs.builder()
                .slug("my-form-field-option")
                .build());
    
        }
    }
    

    Coming soon!

    Coming soon!

    variables:
      my-form-field-option:
        fn::invoke:
          Function: rootly:getFormFieldOption
          Arguments:
            slug: my-form-field-option
    

    Using getFormFieldOption

    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 getFormFieldOption(args: GetFormFieldOptionArgs, opts?: InvokeOptions): Promise<GetFormFieldOptionResult>
    function getFormFieldOptionOutput(args: GetFormFieldOptionOutputArgs, opts?: InvokeOptions): Output<GetFormFieldOptionResult>
    def get_form_field_option(color: Optional[str] = None,
                              value: Optional[str] = None,
                              opts: Optional[InvokeOptions] = None) -> GetFormFieldOptionResult
    def get_form_field_option_output(color: Optional[pulumi.Input[str]] = None,
                              value: Optional[pulumi.Input[str]] = None,
                              opts: Optional[InvokeOptions] = None) -> Output[GetFormFieldOptionResult]
    func LookupFormFieldOption(ctx *Context, args *LookupFormFieldOptionArgs, opts ...InvokeOption) (*LookupFormFieldOptionResult, error)
    func LookupFormFieldOptionOutput(ctx *Context, args *LookupFormFieldOptionOutputArgs, opts ...InvokeOption) LookupFormFieldOptionResultOutput

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

    public static class GetFormFieldOption 
    {
        public static Task<GetFormFieldOptionResult> InvokeAsync(GetFormFieldOptionArgs args, InvokeOptions? opts = null)
        public static Output<GetFormFieldOptionResult> Invoke(GetFormFieldOptionInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetFormFieldOptionResult> getFormFieldOption(GetFormFieldOptionArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: rootly:index/getFormFieldOption:getFormFieldOption
      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

    getFormFieldOption 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
    Rootly v1.5.0 published on Thursday, Apr 25, 2024 by Rootly