import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../../types/input"; import * as outputs from "../../types/output"; import * as enums from "../../types/enums"; /** * Adds a user provided trial to a study. * Auto-naming is currently not supported for this resource. */ export declare class Trial extends pulumi.CustomResource { /** * Get an existing Trial 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 opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): Trial; /** * Returns true if the given object is an instance of Trial. 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 Trial; /** * The identifier of the client that originally requested this trial. */ readonly clientId: pulumi.Output; /** * Time at which the trial's status changed to COMPLETED. */ readonly endTime: pulumi.Output; /** * The final measurement containing the objective value. */ readonly finalMeasurement: pulumi.Output; /** * A human readable string describing why the trial is infeasible. This should only be set if trial_infeasible is true. */ readonly infeasibleReason: pulumi.Output; readonly location: pulumi.Output; /** * A list of measurements that are strictly lexicographically ordered by their induced tuples (steps, elapsed_time). These are used for early stopping computations. */ readonly measurements: pulumi.Output; /** * Name of the trial assigned by the service. */ readonly name: pulumi.Output; /** * The parameters of the trial. */ readonly parameters: pulumi.Output; readonly project: pulumi.Output; /** * Time at which the trial was started. */ readonly startTime: pulumi.Output; /** * The detailed state of a trial. */ readonly state: pulumi.Output; readonly studyId: pulumi.Output; /** * If true, the parameters in this trial are not attempted again. */ readonly trialInfeasible: pulumi.Output; /** * Create a Trial 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: TrialArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a Trial resource. */ export interface TrialArgs { /** * The final measurement containing the objective value. */ finalMeasurement?: pulumi.Input; location?: pulumi.Input; /** * A list of measurements that are strictly lexicographically ordered by their induced tuples (steps, elapsed_time). These are used for early stopping computations. */ measurements?: pulumi.Input[]>; /** * The parameters of the trial. */ parameters?: pulumi.Input[]>; project?: pulumi.Input; /** * The detailed state of a trial. */ state?: pulumi.Input; studyId: pulumi.Input; }