1. Packages
  2. Auth0 Provider
  3. API Docs
  4. getPromptScreenPartials
Auth0 v3.17.1 published on Tuesday, Apr 15, 2025 by Pulumi

auth0.getPromptScreenPartials

Explore with Pulumi AI

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",
});
Copy
import pulumi
import pulumi_auth0 as auth0

prompt_screen_partials = auth0.get_prompt_screen_partials(prompt_type="prompt-name")
Copy
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
	})
}
Copy
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",
    });

});
Copy
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());

    }
}
Copy
variables:
  promptScreenPartials:
    fn::invoke:
      function: auth0:getPromptScreenPartials
      arguments:
        promptType: prompt-name
Copy

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>
Copy
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]
Copy
func LookupPromptScreenPartials(ctx *Context, args *LookupPromptScreenPartialsArgs, opts ...InvokeOption) (*LookupPromptScreenPartialsResult, error)
func LookupPromptScreenPartialsOutput(ctx *Context, args *LookupPromptScreenPartialsOutputArgs, opts ...InvokeOption) LookupPromptScreenPartialsResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetPromptScreenPartialsResult> getPromptScreenPartials(GetPromptScreenPartialsArgs args, InvokeOptions options)
public static Output<GetPromptScreenPartialsResult> getPromptScreenPartials(GetPromptScreenPartialsArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: auth0:index/getPromptScreenPartials:getPromptScreenPartials
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

PromptType This property is required. string
The type of prompt to customize.
ScreenPartials List<GetPromptScreenPartialsScreenPartial>
The screen partials associated with the prompt type.
PromptType This property is required. string
The type of prompt to customize.
ScreenPartials []GetPromptScreenPartialsScreenPartial
The screen partials associated with the prompt type.
promptType This property is required. String
The type of prompt to customize.
screenPartials List<GetPromptScreenPartialsScreenPartial>
The screen partials associated with the prompt type.
promptType This property is required. string
The type of prompt to customize.
screenPartials GetPromptScreenPartialsScreenPartial[]
The screen partials associated with the prompt type.
prompt_type This property is required. str
The type of prompt to customize.
screen_partials Sequence[GetPromptScreenPartialsScreenPartial]
The screen partials associated with the prompt type.
promptType This property is required. 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 This property is required. List<GetPromptScreenPartialsScreenPartialInsertionPoint>
ScreenName This property is required. string
The name of the screen associated with the partials
InsertionPoints This property is required. []GetPromptScreenPartialsScreenPartialInsertionPoint
ScreenName This property is required. string
The name of the screen associated with the partials
insertionPoints This property is required. List<GetPromptScreenPartialsScreenPartialInsertionPoint>
screenName This property is required. String
The name of the screen associated with the partials
insertionPoints This property is required. GetPromptScreenPartialsScreenPartialInsertionPoint[]
screenName This property is required. string
The name of the screen associated with the partials
insertion_points This property is required. Sequence[GetPromptScreenPartialsScreenPartialInsertionPoint]
screen_name This property is required. str
The name of the screen associated with the partials
insertionPoints This property is required. List<Property Map>
screenName This property is required. String
The name of the screen associated with the partials

GetPromptScreenPartialsScreenPartialInsertionPoint

FormContent This property is required. string
Content that goes inside the form
FormContentEnd This property is required. string
Content that goes at the end of the form.
FormContentStart This property is required. string
Content that goes at the start of the form.
FormFooterEnd This property is required. string
Footer content for the end of the footer.
FormFooterStart This property is required. string
Footer content for the start of the footer.
SecondaryActionsEnd This property is required. string
Actions that go at the end of secondary actions.
SecondaryActionsStart This property is required. string
Actions that go at the start of secondary actions.
FormContent This property is required. string
Content that goes inside the form
FormContentEnd This property is required. string
Content that goes at the end of the form.
FormContentStart This property is required. string
Content that goes at the start of the form.
FormFooterEnd This property is required. string
Footer content for the end of the footer.
FormFooterStart This property is required. string
Footer content for the start of the footer.
SecondaryActionsEnd This property is required. string
Actions that go at the end of secondary actions.
SecondaryActionsStart This property is required. string
Actions that go at the start of secondary actions.
formContent This property is required. String
Content that goes inside the form
formContentEnd This property is required. String
Content that goes at the end of the form.
formContentStart This property is required. String
Content that goes at the start of the form.
formFooterEnd This property is required. String
Footer content for the end of the footer.
formFooterStart This property is required. String
Footer content for the start of the footer.
secondaryActionsEnd This property is required. String
Actions that go at the end of secondary actions.
secondaryActionsStart This property is required. String
Actions that go at the start of secondary actions.
formContent This property is required. string
Content that goes inside the form
formContentEnd This property is required. string
Content that goes at the end of the form.
formContentStart This property is required. string
Content that goes at the start of the form.
formFooterEnd This property is required. string
Footer content for the end of the footer.
formFooterStart This property is required. string
Footer content for the start of the footer.
secondaryActionsEnd This property is required. string
Actions that go at the end of secondary actions.
secondaryActionsStart This property is required. string
Actions that go at the start of secondary actions.
form_content This property is required. str
Content that goes inside the form
form_content_end This property is required. str
Content that goes at the end of the form.
form_content_start This property is required. str
Content that goes at the start of the form.
form_footer_end This property is required. str
Footer content for the end of the footer.
form_footer_start This property is required. str
Footer content for the start of the footer.
secondary_actions_end This property is required. str
Actions that go at the end of secondary actions.
secondary_actions_start This property is required. str
Actions that go at the start of secondary actions.
formContent This property is required. String
Content that goes inside the form
formContentEnd This property is required. String
Content that goes at the end of the form.
formContentStart This property is required. String
Content that goes at the start of the form.
formFooterEnd This property is required. String
Footer content for the end of the footer.
formFooterStart This property is required. String
Footer content for the start of the footer.
secondaryActionsEnd This property is required. String
Actions that go at the end of secondary actions.
secondaryActionsStart This property is required. 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.