import * as pulumi from "@pulumi/pulumi"; /** * Creates a policy tag in a 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. If not set, defaults to empty. The description must contain only Unicode characters, tabs, newlines, carriage returns and page breaks, and be at most 2000 bytes long when encoded in UTF-8. */ readonly description: pulumi.Output; /** * User-defined name of this policy tag. The name can't start or end with spaces and must be unique within the parent taxonomy, contain only Unicode letters, numbers, underscores, dashes and 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 in the URL format. The policy tag manager generates unique taxonomy IDs and policy tag IDs. */ readonly name: pulumi.Output; /** * Resource name of this policy tag's parent policy tag. If empty, this is a top level tag. If not set, defaults to an empty string. For example, for the "LatLong" policy tag in the example above, this field contains the resource name of the "Geolocation" policy tag, and, for "Geolocation", this field is empty. */ 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. If not set, defaults to empty. The description must contain only Unicode characters, tabs, newlines, carriage returns and page breaks, and be at most 2000 bytes long when encoded in UTF-8. */ description?: pulumi.Input; /** * User-defined name of this policy tag. The name can't start or end with spaces and must be unique within the parent taxonomy, contain only Unicode letters, numbers, underscores, dashes and 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. If empty, this is a top level tag. If not set, defaults to an empty string. For example, for the "LatLong" policy tag in the example above, this field contains the resource name of the "Geolocation" policy tag, and, for "Geolocation", this field is empty. */ parentPolicyTag?: pulumi.Input; project?: pulumi.Input; taxonomyId: pulumi.Input; }