import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../../types/input"; import * as outputs from "../../types/output"; /** * Create a `Ruleset` from `Source`. The `Ruleset` is given a unique generated name which is returned to the caller. `Source` containing syntactic or semantics errors will result in an error response indicating the first error encountered. For a detailed view of `Source` issues, use TestRuleset. * Auto-naming is currently not supported for this resource. */ export declare class Ruleset extends pulumi.CustomResource { /** * Get an existing Ruleset 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): Ruleset; /** * Returns true if the given object is an instance of Ruleset. 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 Ruleset; /** * Time the `Ruleset` was created. */ readonly createTime: pulumi.Output; /** * The metadata for this ruleset. */ readonly metadata: pulumi.Output; /** * Name of the `Ruleset`. The ruleset_id is auto generated by the service. Format: `projects/{project_id}/rulesets/{ruleset_id}` */ readonly name: pulumi.Output; readonly project: pulumi.Output; /** * `Source` for the `Ruleset`. */ readonly source: pulumi.Output; /** * Create a Ruleset 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: RulesetArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a Ruleset resource. */ export interface RulesetArgs { project?: pulumi.Input; /** * `Source` for the `Ruleset`. */ source: pulumi.Input; }