import * as pulumi from "@pulumi/pulumi"; /** * Creates a policy tag in the specified taxonomy. * Auto-naming is currently not supported for this resource. */ export declare class PolicyTag extends pulumi.CustomResource { /** * Get an existing PolicyTag 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): PolicyTag; /** * Returns true if the given object is an instance of PolicyTag. 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 PolicyTag; /** * Resource names of child policy tags of this policy tag. */ readonly childPolicyTags: pulumi.Output; /** * Description of this policy tag. It must: contain only unicode characters, tabs, newlines, carriage returns and page breaks; and be at most 2000 bytes long when encoded in UTF-8. If not set, defaults to an empty description. If not set, defaults to an empty description. */ readonly description: pulumi.Output; /** * User defined name of this policy tag. It must: be unique within the parent taxonomy; contain only unicode letters, numbers, underscores, dashes and spaces; not start or end with spaces; and be at most 200 bytes long when encoded in UTF-8. */ readonly displayName: pulumi.Output; readonly location: pulumi.Output; /** * Resource name of this policy tag, whose format is: "projects/{project_number}/locations/{location_id}/taxonomies/{taxonomy_id}/policyTags/{id}". */ readonly name: pulumi.Output; /** * Resource name of this policy tag's parent policy tag (e.g. for the "LatLong" policy tag in the example above, this field contains the resource name of the "Geolocation" policy tag). If empty, it means this policy tag is a top level policy tag (e.g. this field is empty for the "Geolocation" policy tag in the example above). If not set, defaults to an empty string. */ readonly parentPolicyTag: pulumi.Output; readonly project: pulumi.Output; readonly taxonomyId: pulumi.Output; /** * Create a PolicyTag 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: PolicyTagArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a PolicyTag resource. */ export interface PolicyTagArgs { /** * Description of this policy tag. It must: contain only unicode characters, tabs, newlines, carriage returns and page breaks; and be at most 2000 bytes long when encoded in UTF-8. If not set, defaults to an empty description. If not set, defaults to an empty description. */ description?: pulumi.Input; /** * User defined name of this policy tag. It must: be unique within the parent taxonomy; contain only unicode letters, numbers, underscores, dashes and spaces; not start or end with spaces; and be at most 200 bytes long when encoded in UTF-8. */ displayName: pulumi.Input; location?: pulumi.Input; /** * Resource name of this policy tag's parent policy tag (e.g. for the "LatLong" policy tag in the example above, this field contains the resource name of the "Geolocation" policy tag). If empty, it means this policy tag is a top level policy tag (e.g. this field is empty for the "Geolocation" policy tag in the example above). If not set, defaults to an empty string. */ parentPolicyTag?: pulumi.Input; project?: pulumi.Input; taxonomyId: pulumi.Input; }