1. Packages
  2. Auth0 Provider
  3. API Docs
  4. getPromptScreenPartials
Auth0 v3.8.3 published on Wednesday, Nov 6, 2024 by Pulumi

auth0.getPromptScreenPartials

Explore with Pulumi AI

auth0 logo
Auth0 v3.8.3 published on Wednesday, Nov 6, 2024 by Pulumi

    Data source to retrieve a specific Auth0 prompt screen partials by prompt_type.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as auth0 from "@pulumi/auth0";
    
    const promptScreenPartials = auth0.getPromptScreenPartials({
        promptType: "prompt-name",
    });
    
    import pulumi
    import pulumi_auth0 as auth0
    
    prompt_screen_partials = auth0.get_prompt_screen_partials(prompt_type="prompt-name")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-auth0/sdk/v3/go/auth0"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := auth0.LookupPromptScreenPartials(ctx, &auth0.LookupPromptScreenPartialsArgs{
    			PromptType: "prompt-name",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Auth0 = Pulumi.Auth0;
    
    return await Deployment.RunAsync(() => 
    {
        var promptScreenPartials = Auth0.GetPromptScreenPartials.Invoke(new()
        {
            PromptType = "prompt-name",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.auth0.Auth0Functions;
    import com.pulumi.auth0.inputs.GetPromptScreenPartialsArgs;
    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 promptScreenPartials = Auth0Functions.getPromptScreenPartials(GetPromptScreenPartialsArgs.builder()
                .promptType("prompt-name")
                .build());
    
        }
    }
    
    variables:
      promptScreenPartials:
        fn::invoke:
          Function: auth0:getPromptScreenPartials
          Arguments:
            promptType: prompt-name
    

    Using getPromptScreenPartials

    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 getPromptScreenPartials(args: GetPromptScreenPartialsArgs, opts?: InvokeOptions): Promise<GetPromptScreenPartialsResult>
    function getPromptScreenPartialsOutput(args: GetPromptScreenPartialsOutputArgs, opts?: InvokeOptions): Output<GetPromptScreenPartialsResult>
    def get_prompt_screen_partials(prompt_type: Optional[str] = None,
                                   screen_partials: Optional[Sequence[GetPromptScreenPartialsScreenPartial]] = None,
                                   opts: Optional[InvokeOptions] = None) -> GetPromptScreenPartialsResult
    def get_prompt_screen_partials_output(prompt_type: Optional[pulumi.Input[str]] = None,
                                   screen_partials: Optional[pulumi.Input[Sequence[pulumi.Input[GetPromptScreenPartialsScreenPartialArgs]]]] = None,
                                   opts: Optional[InvokeOptions] = None) -> Output[GetPromptScreenPartialsResult]
    func LookupPromptScreenPartials(ctx *Context, args *LookupPromptScreenPartialsArgs, opts ...InvokeOption) (*LookupPromptScreenPartialsResult, error)
    func LookupPromptScreenPartialsOutput(ctx *Context, args *LookupPromptScreenPartialsOutputArgs, opts ...InvokeOption) LookupPromptScreenPartialsResultOutput

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

    public static class GetPromptScreenPartials 
    {
        public static Task<GetPromptScreenPartialsResult> InvokeAsync(GetPromptScreenPartialsArgs args, InvokeOptions? opts = null)
        public static Output<GetPromptScreenPartialsResult> Invoke(GetPromptScreenPartialsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetPromptScreenPartialsResult> getPromptScreenPartials(GetPromptScreenPartialsArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: auth0:index/getPromptScreenPartials:getPromptScreenPartials
      arguments:
        # arguments dictionary

    The following arguments are supported:

    PromptType string
    The type of prompt to customize.
    ScreenPartials List<GetPromptScreenPartialsScreenPartial>
    The screen partials associated with the prompt type.
    PromptType string
    The type of prompt to customize.
    ScreenPartials []GetPromptScreenPartialsScreenPartial
    The screen partials associated with the prompt type.
    promptType String
    The type of prompt to customize.
    screenPartials List<GetPromptScreenPartialsScreenPartial>
    The screen partials associated with the prompt type.
    promptType string
    The type of prompt to customize.
    screenPartials GetPromptScreenPartialsScreenPartial[]
    The screen partials associated with the prompt type.
    prompt_type str
    The type of prompt to customize.
    screen_partials Sequence[GetPromptScreenPartialsScreenPartial]
    The screen partials associated with the prompt type.
    promptType String
    The type of prompt to customize.
    screenPartials List<Property Map>
    The screen partials associated with the prompt type.

    getPromptScreenPartials Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    PromptType string
    The type of prompt to customize.
    ScreenPartials List<GetPromptScreenPartialsScreenPartial>
    The screen partials associated with the prompt type.
    Id string
    The provider-assigned unique ID for this managed resource.
    PromptType string
    The type of prompt to customize.
    ScreenPartials []GetPromptScreenPartialsScreenPartial
    The screen partials associated with the prompt type.
    id String
    The provider-assigned unique ID for this managed resource.
    promptType String
    The type of prompt to customize.
    screenPartials List<GetPromptScreenPartialsScreenPartial>
    The screen partials associated with the prompt type.
    id string
    The provider-assigned unique ID for this managed resource.
    promptType string
    The type of prompt to customize.
    screenPartials GetPromptScreenPartialsScreenPartial[]
    The screen partials associated with the prompt type.
    id str
    The provider-assigned unique ID for this managed resource.
    prompt_type str
    The type of prompt to customize.
    screen_partials Sequence[GetPromptScreenPartialsScreenPartial]
    The screen partials associated with the prompt type.
    id String
    The provider-assigned unique ID for this managed resource.
    promptType String
    The type of prompt to customize.
    screenPartials List<Property Map>
    The screen partials associated with the prompt type.

    Supporting Types

    GetPromptScreenPartialsScreenPartial

    InsertionPoints List<GetPromptScreenPartialsScreenPartialInsertionPoint>
    ScreenName string
    The name of the screen associated with the partials
    InsertionPoints []GetPromptScreenPartialsScreenPartialInsertionPoint
    ScreenName string
    The name of the screen associated with the partials
    insertionPoints List<GetPromptScreenPartialsScreenPartialInsertionPoint>
    screenName String
    The name of the screen associated with the partials
    insertionPoints GetPromptScreenPartialsScreenPartialInsertionPoint[]
    screenName string
    The name of the screen associated with the partials
    insertionPoints List<Property Map>
    screenName String
    The name of the screen associated with the partials

    GetPromptScreenPartialsScreenPartialInsertionPoint

    FormContentEnd string
    Content that goes at the end of the form.
    FormContentStart string
    Content that goes at the start of the form.
    FormFooterEnd string
    Footer content for the end of the footer.
    FormFooterStart string
    Footer content for the start of the footer.
    SecondaryActionsEnd string
    Actions that go at the end of secondary actions.
    SecondaryActionsStart string
    Actions that go at the start of secondary actions.
    FormContentEnd string
    Content that goes at the end of the form.
    FormContentStart string
    Content that goes at the start of the form.
    FormFooterEnd string
    Footer content for the end of the footer.
    FormFooterStart string
    Footer content for the start of the footer.
    SecondaryActionsEnd string
    Actions that go at the end of secondary actions.
    SecondaryActionsStart string
    Actions that go at the start of secondary actions.
    formContentEnd String
    Content that goes at the end of the form.
    formContentStart String
    Content that goes at the start of the form.
    formFooterEnd String
    Footer content for the end of the footer.
    formFooterStart String
    Footer content for the start of the footer.
    secondaryActionsEnd String
    Actions that go at the end of secondary actions.
    secondaryActionsStart String
    Actions that go at the start of secondary actions.
    formContentEnd string
    Content that goes at the end of the form.
    formContentStart string
    Content that goes at the start of the form.
    formFooterEnd string
    Footer content for the end of the footer.
    formFooterStart string
    Footer content for the start of the footer.
    secondaryActionsEnd string
    Actions that go at the end of secondary actions.
    secondaryActionsStart string
    Actions that go at the start of secondary actions.
    form_content_end str
    Content that goes at the end of the form.
    form_content_start str
    Content that goes at the start of the form.
    form_footer_end str
    Footer content for the end of the footer.
    form_footer_start str
    Footer content for the start of the footer.
    secondary_actions_end str
    Actions that go at the end of secondary actions.
    secondary_actions_start str
    Actions that go at the start of secondary actions.
    formContentEnd String
    Content that goes at the end of the form.
    formContentStart String
    Content that goes at the start of the form.
    formFooterEnd String
    Footer content for the end of the footer.
    formFooterStart String
    Footer content for the start of the footer.
    secondaryActionsEnd String
    Actions that go at the end of secondary actions.
    secondaryActionsStart String
    Actions that go at the start of secondary actions.

    Package Details

    Repository
    Auth0 pulumi/pulumi-auth0
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the auth0 Terraform Provider.
    auth0 logo
    Auth0 v3.8.3 published on Wednesday, Nov 6, 2024 by Pulumi