import * as pulumi from "@pulumi/pulumi"; import { input as inputs, output as outputs } from "../../types"; /** * Creates an Experiment in the specified Environment. */ export declare class AgentEnvironmentExperiment extends pulumi.CustomResource { /** * Get an existing AgentEnvironmentExperiment 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): AgentEnvironmentExperiment; /** * Returns true if the given object is an instance of AgentEnvironmentExperiment. 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 AgentEnvironmentExperiment; /** * Creation time of this experiment. */ readonly createTime: pulumi.Output; /** * The definition of the experiment. */ readonly definition: pulumi.Output; /** * The human-readable description of the experiment. */ readonly description: pulumi.Output; /** * Required. The human-readable name of the experiment (unique in an environment). Limit of 64 characters. */ readonly displayName: pulumi.Output; /** * End time of this experiment. */ readonly endTime: pulumi.Output; /** * Maximum number of days to run the experiment. If auto-rollout is not enabled, default value and maximum will be 30 days. If auto-rollout is enabled, default value and maximum will be 6 days. */ readonly experimentLength: pulumi.Output; /** * Last update time of this experiment. */ readonly lastUpdateTime: pulumi.Output; /** * The name of the experiment. Format: projects//locations//agents//environments//experiments/.. */ readonly name: pulumi.Output; /** * Inference result of the experiment. */ readonly result: pulumi.Output; /** * Start time of this experiment. */ readonly startTime: pulumi.Output; /** * The current state of the experiment. Transition triggered by Expriments.StartExperiment: PENDING->RUNNING. Transition triggered by Expriments.CancelExperiment: PENDING->CANCELLED or RUNNING->CANCELLED. */ readonly state: pulumi.Output; /** * The history of updates to the experiment variants. */ readonly variantsHistory: pulumi.Output; /** * Create a AgentEnvironmentExperiment 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: AgentEnvironmentExperimentArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a AgentEnvironmentExperiment resource. */ export interface AgentEnvironmentExperimentArgs { readonly agentsId: pulumi.Input; /** * Creation time of this experiment. */ readonly createTime?: pulumi.Input; /** * The definition of the experiment. */ readonly definition?: pulumi.Input; /** * The human-readable description of the experiment. */ readonly description?: pulumi.Input; /** * Required. The human-readable name of the experiment (unique in an environment). Limit of 64 characters. */ readonly displayName?: pulumi.Input; /** * End time of this experiment. */ readonly endTime?: pulumi.Input; readonly environmentsId: pulumi.Input; /** * Maximum number of days to run the experiment. If auto-rollout is not enabled, default value and maximum will be 30 days. If auto-rollout is enabled, default value and maximum will be 6 days. */ readonly experimentLength?: pulumi.Input; readonly experimentsId: pulumi.Input; /** * Last update time of this experiment. */ readonly lastUpdateTime?: pulumi.Input; readonly locationsId: pulumi.Input; /** * The name of the experiment. Format: projects//locations//agents//environments//experiments/.. */ readonly name?: pulumi.Input; readonly projectsId: pulumi.Input; /** * Inference result of the experiment. */ readonly result?: pulumi.Input; /** * Start time of this experiment. */ readonly startTime?: pulumi.Input; /** * The current state of the experiment. Transition triggered by Expriments.StartExperiment: PENDING->RUNNING. Transition triggered by Expriments.CancelExperiment: PENDING->CANCELLED or RUNNING->CANCELLED. */ readonly state?: pulumi.Input; /** * The history of updates to the experiment variants. */ readonly variantsHistory?: pulumi.Input[]>; }