import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * With this resource you can manage custom HTML for the Login, Reset Password, Multi-Factor Authentication and Error pages. * * !> The error block in auth0.Pages is not recommended when you're managing tenant settings via the auth0.Tenant resource. * To avoid conflicts, configure the errorPage directly in auth0.Tenant instead. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as auth0 from "@pulumi/auth0"; * * const myPages = new auth0.Pages("my_pages", { * login: { * enabled: true, * html: "My Custom Login Page", * }, * changePassword: { * enabled: true, * html: "My Custom Reset Password Page", * }, * guardianMfa: { * enabled: true, * html: "My Custom MFA Page", * }, * error: { * showLogLink: true, * html: "My Custom Error Page", * url: "https://example.com", * }, * }); * ``` * * ## Import * * As this is not a resource identifiable by an ID within the Auth0 Management API, * * pages can be imported using a random string. * * We recommend [Version 4 UUID](https://www.uuidgenerator.net/version4) * * Example: * * ```sh * $ pulumi import auth0:index/pages:Pages my_pages "22f4f21b-017a-319d-92e7-2291c1ca36c4" * ``` */ export declare class Pages extends pulumi.CustomResource { /** * Get an existing Pages resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: PagesState, opts?: pulumi.CustomResourceOptions): Pages; /** * Returns true if the given object is an instance of Pages. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is Pages; /** * Configuration settings for customizing the Password Reset page. */ readonly changePassword: pulumi.Output; /** * Configuration settings for the Error pages. */ readonly error: pulumi.Output; /** * Configuration settings for customizing the Guardian Multi-Factor Authentication page. */ readonly guardianMfa: pulumi.Output; /** * Configuration settings for customizing the Login page. */ readonly login: pulumi.Output; /** * Create a Pages resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args?: PagesArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Pages resources. */ export interface PagesState { /** * Configuration settings for customizing the Password Reset page. */ changePassword?: pulumi.Input; /** * Configuration settings for the Error pages. */ error?: pulumi.Input; /** * Configuration settings for customizing the Guardian Multi-Factor Authentication page. */ guardianMfa?: pulumi.Input; /** * Configuration settings for customizing the Login page. */ login?: pulumi.Input; } /** * The set of arguments for constructing a Pages resource. */ export interface PagesArgs { /** * Configuration settings for customizing the Password Reset page. */ changePassword?: pulumi.Input; /** * Configuration settings for the Error pages. */ error?: pulumi.Input; /** * Configuration settings for customizing the Guardian Multi-Factor Authentication page. */ guardianMfa?: pulumi.Input; /** * Configuration settings for customizing the Login page. */ login?: pulumi.Input; }