import * as pulumi from "@pulumi/pulumi"; import { input as inputs, output as outputs } from "../../types"; /** * Adds a user provided trial to a study. */ export declare class StudyTrial extends pulumi.CustomResource { /** * Get an existing StudyTrial 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): StudyTrial; /** * Returns true if the given object is an instance of StudyTrial. 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 StudyTrial; /** * 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; /** * 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; /** * Time at which the trial was started. */ readonly startTime: pulumi.Output; /** * The detailed state of a trial. */ readonly state: pulumi.Output; /** * If true, the parameters in this trial are not attempted again. */ readonly trialInfeasible: pulumi.Output; /** * Create a StudyTrial 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: StudyTrialArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a StudyTrial resource. */ export interface StudyTrialArgs { /** * The final measurement containing the objective value. */ readonly finalMeasurement?: pulumi.Input; readonly locationsId: 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. */ readonly measurements?: pulumi.Input[]>; /** * The parameters of the trial. */ readonly parameters?: pulumi.Input[]>; readonly projectsId: pulumi.Input; /** * The detailed state of a trial. */ readonly state?: pulumi.Input; readonly studiesId: pulumi.Input; readonly trialsId: pulumi.Input; }