import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * Data source to retrieve a specific Experiment Center segment by `id`. (EA only) * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as auth0 from "@pulumi/auth0"; * * // An existing Experiment Center segment loaded using its ID. * const premiumTraffic = auth0.getExperimentSegment({ * id: "seg_XXXXXXXXXXXXXXX", * }); * ``` */ export declare function getExperimentSegment(args: GetExperimentSegmentArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getExperimentSegment. */ export interface GetExperimentSegmentArgs { /** * The ID of the segment. */ id: string; } /** * A collection of values returned by getExperimentSegment. */ export interface GetExperimentSegmentResult { /** * The ISO 8601 formatted date the segment was created. */ readonly createdAt: string; /** * Description of the segment. Between 3 and 1024 characters when present. */ readonly description: string; /** * The ID of the segment. */ readonly id: string; /** * The name of the segment. Unique per tenant. Between 3 and 255 characters */ readonly name: string; /** * The rules of the segment. Between 1 and 20 rules. */ readonly rules: outputs.GetExperimentSegmentRule[]; /** * The lifecycle status of the segment. One of "active, archived". A non-`active` status on creation is applied internally after the segment is created as `active`. If the status update fails, Terraform marks the entire resource tainted and plans to replace it on the next apply. Archiving is terminal: an archived segment cannot return to `active`, and its `name`, `description` and `rules` can no longer change. An archived segment can still be deleted and keeps its name reserved until then. */ readonly status: string; /** * The type of the segment. */ readonly type: string; /** * The ISO 8601 formatted date the segment was updated. */ readonly updatedAt: string; } /** * Data source to retrieve a specific Experiment Center segment by `id`. (EA only) * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as auth0 from "@pulumi/auth0"; * * // An existing Experiment Center segment loaded using its ID. * const premiumTraffic = auth0.getExperimentSegment({ * id: "seg_XXXXXXXXXXXXXXX", * }); * ``` */ export declare function getExperimentSegmentOutput(args: GetExperimentSegmentOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getExperimentSegment. */ export interface GetExperimentSegmentOutputArgs { /** * The ID of the segment. */ id: pulumi.Input; } //# sourceMappingURL=getExperimentSegment.d.ts.map