import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../../types/output"; /** * 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. Each client is identified by a unique client_id. When a client asks for a suggestion, Vertex AI Vizier will assign it a Trial. The client should evaluate the Trial, complete it, and report back to Vertex AI Vizier. If suggestion is asked again by same client_id before the Trial is completed, the same Trial will be returned. Multiple clients with different client_ids can ask for suggestions simultaneously, each of them will get their own Trial. */ readonly clientId: pulumi.Output; /** * The CustomJob name linked to the Trial. It's set for a HyperparameterTuningJob's Trial. */ readonly customJob: pulumi.Output; /** * Time when the Trial's status changed to `SUCCEEDED` or `INFEASIBLE`. */ 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 is set only if Trial state is `INFEASIBLE`. */ readonly infeasibleReason: pulumi.Output; readonly location: pulumi.Output; /** * A list of measurements that are strictly lexicographically ordered by their induced tuples (steps, elapsed_duration). These are used for early stopping computations. */ readonly measurements: pulumi.Output; /** * Resource 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 when the Trial was started. */ readonly startTime: pulumi.Output; /** * The detailed state of the Trial. */ readonly state: pulumi.Output; readonly studyId: pulumi.Output; /** * URIs for accessing [interactive shells](https://cloud.google.com/vertex-ai/docs/training/monitor-debug-interactive-shell) (one URI for each training node). Only available if this trial is part of a HyperparameterTuningJob and the job's trial_job_spec.enable_web_access field is `true`. The keys are names of each node used for the trial; for example, `workerpool0-0` for the primary node, `workerpool1-0` for the first node in the second worker pool, and `workerpool1-1` for the second node in the second worker pool. The values are the URIs for each node's interactive shell. */ readonly webAccessUris: pulumi.Output<{ [key: string]: string; }>; /** * 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 { location?: pulumi.Input; project?: pulumi.Input; studyId: pulumi.Input; }