import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../../types/input"; import * as outputs from "../../types/output"; /** * Creates a saved query in a parent project/folder/organization. * Auto-naming is currently not supported for this resource. */ export declare class SavedQuery extends pulumi.CustomResource { /** * Get an existing SavedQuery 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): SavedQuery; /** * Returns true if the given object is an instance of SavedQuery. 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 SavedQuery; /** * The query content. */ readonly content: pulumi.Output; /** * The create time of this saved query. */ readonly createTime: pulumi.Output; /** * The account's email address who has created this saved query. */ readonly creator: pulumi.Output; /** * The description of this saved query. This value should be fewer than 255 characters. */ readonly description: pulumi.Output; /** * Labels applied on the resource. This value should not contain more than 10 entries. The key and value of each entry must be non-empty and fewer than 64 characters. */ readonly labels: pulumi.Output<{ [key: string]: string; }>; /** * The last update time of this saved query. */ readonly lastUpdateTime: pulumi.Output; /** * The account's email address who has updated this saved query most recently. */ readonly lastUpdater: pulumi.Output; /** * The resource name of the saved query. The format must be: * projects/project_number/savedQueries/saved_query_id * folders/folder_number/savedQueries/saved_query_id * organizations/organization_number/savedQueries/saved_query_id */ readonly name: pulumi.Output; /** * Required. The ID to use for the saved query, which must be unique in the specified parent. It will become the final component of the saved query's resource name. This value should be 4-63 characters, and valid characters are `a-z-`. Notice that this field is required in the saved query creation, and the `name` field of the `saved_query` will be ignored. */ readonly savedQueryId: pulumi.Output; readonly v1Id: pulumi.Output; readonly v1Id1: pulumi.Output; /** * Create a SavedQuery 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: SavedQueryArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a SavedQuery resource. */ export interface SavedQueryArgs { /** * The query content. */ content?: pulumi.Input; /** * The description of this saved query. This value should be fewer than 255 characters. */ description?: pulumi.Input; /** * Labels applied on the resource. This value should not contain more than 10 entries. The key and value of each entry must be non-empty and fewer than 64 characters. */ labels?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * The resource name of the saved query. The format must be: * projects/project_number/savedQueries/saved_query_id * folders/folder_number/savedQueries/saved_query_id * organizations/organization_number/savedQueries/saved_query_id */ name?: pulumi.Input; /** * Required. The ID to use for the saved query, which must be unique in the specified parent. It will become the final component of the saved query's resource name. This value should be 4-63 characters, and valid characters are `a-z-`. Notice that this field is required in the saved query creation, and the `name` field of the `saved_query` will be ignored. */ savedQueryId: pulumi.Input; v1Id: pulumi.Input; v1Id1: pulumi.Input; }