import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../../types/input"; import * as outputs from "../../types/output"; /** * Creates a new canary evaluation for an organization. * Auto-naming is currently not supported for this resource. * Note - this resource's API doesn't support deletion. When deleted, the resource will persist * on Google Cloud even though it will be deleted from Pulumi state. */ export declare class CanaryEvaluation extends pulumi.CustomResource { /** * Get an existing CanaryEvaluation 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): CanaryEvaluation; /** * Returns true if the given object is an instance of CanaryEvaluation. 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 CanaryEvaluation; /** * The stable version that is serving requests. */ readonly control: pulumi.Output; /** * Create time of the canary evaluation. */ readonly createTime: pulumi.Output; /** * End time for the evaluation's analysis. */ readonly endTime: pulumi.Output; readonly instanceId: pulumi.Output; /** * Labels used to filter the metrics used for a canary evaluation. */ readonly metricLabels: pulumi.Output; /** * Name of the canary evalution. */ readonly name: pulumi.Output; readonly organizationId: pulumi.Output; /** * Start time for the canary evaluation's analysis. */ readonly startTime: pulumi.Output; /** * The current state of the canary evaluation. */ readonly state: pulumi.Output; /** * The newer version that is serving requests. */ readonly treatment: pulumi.Output; /** * The resulting verdict of the canary evaluations: NONE, PASS, or FAIL. */ readonly verdict: pulumi.Output; /** * Create a CanaryEvaluation 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: CanaryEvaluationArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a CanaryEvaluation resource. */ export interface CanaryEvaluationArgs { /** * The stable version that is serving requests. */ control: pulumi.Input; /** * End time for the evaluation's analysis. */ endTime: pulumi.Input; instanceId: pulumi.Input; /** * Labels used to filter the metrics used for a canary evaluation. */ metricLabels: pulumi.Input; organizationId: pulumi.Input; /** * Start time for the canary evaluation's analysis. */ startTime: pulumi.Input; /** * The newer version that is serving requests. */ treatment: pulumi.Input; }