import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * Data source to retrieve a specific Experiment Center experiment by `id`. (EA only) * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as auth0 from "@pulumi/auth0"; * * // An existing Experiment Center experiment loaded using its ID. * const loginUiTest = auth0.getExperiment({ * id: "exp_XXXXXXXXXXXXXXX", * }); * ``` */ export declare function getExperiment(args: GetExperimentArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getExperiment. */ export interface GetExperimentArgs { /** * The ID of the experiment. */ id: string; } /** * A collection of values returned by getExperiment. */ export interface GetExperimentResult { /** * The traffic allocation strategy. One of percentage, segment. Changing this replaces the experiment. */ readonly allocationStrategy: string; /** * The ordered traffic allocations. At least one is required when configured. Removing all allocations replaces the experiment. */ readonly allocations: outputs.GetExperimentAllocation[]; /** * The authentication flow targeted by the experiment. One of authentication, mfa*enrollment, mfa*challenge, password*reset, passkey*enrollment, all. */ readonly authenticationFlow: string; /** * The ISO 8601 formatted date the experiment was created. */ readonly createdAt: string; /** * The current ramp level, if levels are configured. */ readonly currentLevel: number; /** * The configuration source for an Auth0-managed feature flag. One of tenant, flag. Removing it replaces the experiment. */ readonly defaultConfig: string; /** * Description of the experiment. */ readonly description: string; /** * Fields that the API reports as editable. */ readonly editableFields: string[]; /** * The ISO 8601 formatted date the experiment was completed. */ readonly endedAt: string; /** * The ID of the feature flag evaluated by this experiment. Changing this replaces the experiment. */ readonly featureFlagId: string; /** * The name of the feature flag evaluated by this experiment. */ readonly featureFlagName: string; /** * The snapshot of the feature flag. */ readonly featureFlagSnapshot: string; /** * The ID of the experiment. */ readonly id: string; /** * Whether the experiment is ready to activate. */ readonly isValid: boolean; /** * The ordered ramp levels. Only for the percentage strategy. Removing them replaces the experiment. */ readonly levels: number[]; /** * The name of the experiment. */ readonly name: string; /** * The ISO 8601 formatted date the experiment was first activated. */ readonly startedAt: string; /** * The lifecycle status of the experiment. One of draft, active, paused, completed, archived. A non-draft status on creation is applied internally after the experiment is created as a draft. If the status update fails, Terraform marks the entire resource tainted and plans to replace it on the next apply. An active experiment cannot be deleted. */ readonly status: string; /** * The ISO 8601 formatted date the experiment was updated. */ readonly updatedAt: string; } /** * Data source to retrieve a specific Experiment Center experiment by `id`. (EA only) * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as auth0 from "@pulumi/auth0"; * * // An existing Experiment Center experiment loaded using its ID. * const loginUiTest = auth0.getExperiment({ * id: "exp_XXXXXXXXXXXXXXX", * }); * ``` */ export declare function getExperimentOutput(args: GetExperimentOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getExperiment. */ export interface GetExperimentOutputArgs { /** * The ID of the experiment. */ id: pulumi.Input; } //# sourceMappingURL=getExperiment.d.ts.map