import * as pulumi from "@pulumi/pulumi"; /** * Gets a policy tag. */ export declare function getPolicyTag(args: GetPolicyTagArgs, opts?: pulumi.InvokeOptions): Promise; export interface GetPolicyTagArgs { location: string; policyTagId: string; project?: string; taxonomyId: string; } export interface GetPolicyTagResult { /** * Resource names of child policy tags of this policy tag. */ readonly childPolicyTags: string[]; /** * 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: string; /** * 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: string; /** * Resource name of this policy tag in the URL format. The policy tag manager generates unique taxonomy IDs and policy tag IDs. */ readonly name: string; /** * 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: string; } /** * Gets a policy tag. */ export declare function getPolicyTagOutput(args: GetPolicyTagOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output; export interface GetPolicyTagOutputArgs { location: pulumi.Input; policyTagId: pulumi.Input; project?: pulumi.Input; taxonomyId: pulumi.Input; }