import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../../types/input"; import * as outputs from "../../types/output"; /** * Creates a new Evaluation in a given project and location. * 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 Evaluation extends pulumi.CustomResource { /** * Get an existing Evaluation 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): Evaluation; /** * Returns true if the given object is an instance of Evaluation. 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 Evaluation; /** * [Output only] Create time stamp */ readonly createTime: pulumi.Output; /** * The Cloud Storage bucket name for custom rules. */ readonly customRulesBucket: pulumi.Output; /** * Description of the Evaluation */ readonly description: pulumi.Output; /** * Required. Id of the requesting object */ readonly evaluationId: pulumi.Output; /** * Labels as key value pairs */ readonly labels: pulumi.Output<{ [key: string]: string; }>; readonly location: pulumi.Output; /** * name of resource names have the form 'projects/{project_id}/locations/{location_id}/evaluations/{evaluation_id}' */ readonly name: pulumi.Output; readonly project: pulumi.Output; /** * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). */ readonly requestId: pulumi.Output; /** * annotations as key value pairs */ readonly resourceFilter: pulumi.Output; /** * [Output only] The updated rule ids if exist. */ readonly resourceStatus: pulumi.Output; /** * the name of the rule */ readonly ruleNames: pulumi.Output; /** * [Output only] The updated rule ids if exist. */ readonly ruleVersions: pulumi.Output; /** * crontab format schedule for scheduled evaluation, currently only support the following schedule: "0 */1 * * *", "0 */6 * * *", "0 */12 * * *", "0 0 */1 * *", "0 0 */7 * *", */ readonly schedule: pulumi.Output; /** * [Output only] Update time stamp */ readonly updateTime: pulumi.Output; /** * Create a Evaluation 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: EvaluationArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a Evaluation resource. */ export interface EvaluationArgs { /** * The Cloud Storage bucket name for custom rules. */ customRulesBucket?: pulumi.Input; /** * Description of the Evaluation */ description?: pulumi.Input; /** * Required. Id of the requesting object */ evaluationId: pulumi.Input; /** * Labels as key value pairs */ labels?: pulumi.Input<{ [key: string]: pulumi.Input; }>; location?: pulumi.Input; /** * name of resource names have the form 'projects/{project_id}/locations/{location_id}/evaluations/{evaluation_id}' */ name?: pulumi.Input; project?: pulumi.Input; /** * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). */ requestId?: pulumi.Input; /** * annotations as key value pairs */ resourceFilter?: pulumi.Input; /** * the name of the rule */ ruleNames?: pulumi.Input[]>; /** * crontab format schedule for scheduled evaluation, currently only support the following schedule: "0 */1 * * *", "0 */6 * * *", "0 */12 * * *", "0 0 */1 * *", "0 0 */7 * *", */ schedule?: pulumi.Input; }