Auth0 v3.8.3 published on Wednesday, Nov 6, 2024 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",
});
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:
- Prompt
Type string - The type of prompt to customize.
- Screen
Partials List<GetPrompt Screen Partials Screen Partial> - The screen partials associated with the prompt type.
- Prompt
Type string - The type of prompt to customize.
- Screen
Partials []GetPrompt Screen Partials Screen Partial - The screen partials associated with the prompt type.
- prompt
Type String - The type of prompt to customize.
- screen
Partials List<GetPrompt Screen Partials Screen Partial> - The screen partials associated with the prompt type.
- prompt
Type string - The type of prompt to customize.
- screen
Partials GetPrompt Screen Partials Screen Partial[] - The screen partials associated with the prompt type.
- prompt_
type str - The type of prompt to customize.
- screen_
partials Sequence[GetPrompt Screen Partials Screen Partial] - The screen partials associated with the prompt type.
- prompt
Type String - The type of prompt to customize.
- screen
Partials 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.
- Prompt
Type string - The type of prompt to customize.
- Screen
Partials List<GetPrompt Screen Partials Screen Partial> - The screen partials associated with the prompt type.
- Id string
- The provider-assigned unique ID for this managed resource.
- Prompt
Type string - The type of prompt to customize.
- Screen
Partials []GetPrompt Screen Partials Screen Partial - The screen partials associated with the prompt type.
- id String
- The provider-assigned unique ID for this managed resource.
- prompt
Type String - The type of prompt to customize.
- screen
Partials List<GetPrompt Screen Partials Screen Partial> - The screen partials associated with the prompt type.
- id string
- The provider-assigned unique ID for this managed resource.
- prompt
Type string - The type of prompt to customize.
- screen
Partials GetPrompt Screen Partials Screen Partial[] - 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[GetPrompt Screen Partials Screen Partial] - The screen partials associated with the prompt type.
- id String
- The provider-assigned unique ID for this managed resource.
- prompt
Type String - The type of prompt to customize.
- screen
Partials List<Property Map> - The screen partials associated with the prompt type.
Supporting Types
GetPromptScreenPartialsScreenPartial
- Insertion
Points List<GetPrompt Screen Partials Screen Partial Insertion Point> - Screen
Name string - The name of the screen associated with the partials
- Insertion
Points []GetPrompt Screen Partials Screen Partial Insertion Point - Screen
Name string - The name of the screen associated with the partials
- insertion
Points List<GetPrompt Screen Partials Screen Partial Insertion Point> - screen
Name String - The name of the screen associated with the partials
- insertion
Points GetPrompt Screen Partials Screen Partial Insertion Point[] - screen
Name string - The name of the screen associated with the partials
- insertion_
points Sequence[GetPrompt Screen Partials Screen Partial Insertion Point] - screen_
name str - The name of the screen associated with the partials
- insertion
Points List<Property Map> - screen
Name String - The name of the screen associated with the partials
GetPromptScreenPartialsScreenPartialInsertionPoint
- Form
Content stringEnd - Content that goes at the end of the form.
- Form
Content stringStart - Content that goes at the start of the form.
- string
- Footer content for the end of the footer.
- string
- Footer content for the start of the footer.
- Secondary
Actions stringEnd - Actions that go at the end of secondary actions.
- Secondary
Actions stringStart - Actions that go at the start of secondary actions.
- Form
Content stringEnd - Content that goes at the end of the form.
- Form
Content stringStart - Content that goes at the start of the form.
- string
- Footer content for the end of the footer.
- string
- Footer content for the start of the footer.
- Secondary
Actions stringEnd - Actions that go at the end of secondary actions.
- Secondary
Actions stringStart - Actions that go at the start of secondary actions.
- form
Content StringEnd - Content that goes at the end of the form.
- form
Content StringStart - Content that goes at the start of the form.
- String
- Footer content for the end of the footer.
- String
- Footer content for the start of the footer.
- secondary
Actions StringEnd - Actions that go at the end of secondary actions.
- secondary
Actions StringStart - Actions that go at the start of secondary actions.
- form
Content stringEnd - Content that goes at the end of the form.
- form
Content stringStart - Content that goes at the start of the form.
- string
- Footer content for the end of the footer.
- string
- Footer content for the start of the footer.
- secondary
Actions stringEnd - Actions that go at the end of secondary actions.
- secondary
Actions stringStart - Actions that go at the start of secondary actions.
- form_
content_ strend - Content that goes at the end of the form.
- form_
content_ strstart - Content that goes at the start of the form.
- str
- Footer content for the end of the footer.
- str
- Footer content for the start of the footer.
- secondary_
actions_ strend - Actions that go at the end of secondary actions.
- secondary_
actions_ strstart - Actions that go at the start of secondary actions.
- form
Content StringEnd - Content that goes at the end of the form.
- form
Content StringStart - Content that goes at the start of the form.
- String
- Footer content for the end of the footer.
- String
- Footer content for the start of the footer.
- secondary
Actions StringEnd - Actions that go at the end of secondary actions.
- secondary
Actions StringStart - 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.