import * as pulumi from "@pulumi/pulumi";
/**
 * A TagKey, used to group a set of TagValues.
 *
 * To get more information about TagKey, see:
 *
 * * [API documentation](https://docs.cloud.google.com/resource-manager/reference/rest/v3/tagKeys)
 * * How-to Guides
 *     * [Official Documentation](https://docs.cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing)
 *
 * ## Example Usage
 *
 * ### Tag Key Basic
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as gcp from "@pulumi/gcp";
 *
 * const key = new gcp.tags.TagKey("key", {
 *     parent: "organizations/123456789",
 *     shortName: "keyname",
 *     description: "For keyname resources.",
 * });
 * ```
 *
 * ## Import
 *
 * TagKey can be imported using any of these accepted formats:
 *
 * * `tagKeys/{{name}}`
 * * `{{name}}`
 *
 * When using the `pulumi import` command, TagKey can be imported using one of the formats above. For example:
 *
 * ```sh
 * $ pulumi import gcp:tags/tagKey:TagKey default tagKeys/{{name}}
 * $ pulumi import gcp:tags/tagKey:TagKey default {{name}}
 * ```
 */
export declare class TagKey extends pulumi.CustomResource {
    /**
     * Get an existing TagKey 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 state Any extra arguments used during the lookup.
     * @param opts Optional settings to control the behavior of the CustomResource.
     */
    static get(name: string, id: pulumi.Input<pulumi.ID>, state?: TagKeyState, opts?: pulumi.CustomResourceOptions): TagKey;
    /**
     * Returns true if the given object is an instance of TagKey.  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 TagKey;
    /**
     * Regular expression constraint for dynamic tag values, follows RE2 syntax. If present, it implicitly allows dynamic values (constrained by the regex).
     */
    readonly allowedValuesRegex: pulumi.Output<string | undefined>;
    /**
     * Output only. Creation time.
     * A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
     */
    readonly createTime: pulumi.Output<string>;
    /**
     * Whether Terraform will be prevented from destroying the resource. Defaults to DELETE.
     * When a 'terraform destroy' or 'pulumi up' would delete the resource,
     * the command will fail if this field is set to "PREVENT" in Terraform state.
     * When set to "ABANDON", the command will remove the resource from Terraform
     * management without updating or deleting the resource in the API.
     * When set to "DELETE", deleting the resource is allowed.
     */
    readonly deletionPolicy: pulumi.Output<string>;
    /**
     * User-assigned description of the TagKey. Must not exceed 256 characters.
     */
    readonly description: pulumi.Output<string | undefined>;
    /**
     * The generated numeric id for the TagKey.
     */
    readonly name: pulumi.Output<string>;
    /**
     * Output only. Namespaced name of the TagKey.
     */
    readonly namespacedName: pulumi.Output<string>;
    /**
     * Input only. The resource name of the new TagKey's parent. Must be of the form organizations/{org_id} or projects/{project_id_or_number}.
     */
    readonly parent: pulumi.Output<string>;
    /**
     * Optional. A purpose cannot be changed once set.
     * A purpose denotes that this Tag is intended for use in policies of a specific policy engine, and will involve that policy engine in management operations involving this Tag.
     * Possible values are: `GCE_FIREWALL`, `DATA_GOVERNANCE`.
     */
    readonly purpose: pulumi.Output<string | undefined>;
    /**
     * Optional. Purpose data cannot be changed once set.
     * Purpose data corresponds to the policy system that the tag is intended for. For example, the GCE_FIREWALL purpose expects data in the following format: `network = "<project-name>/<vpc-name>"`.
     */
    readonly purposeData: pulumi.Output<{
        [key: string]: string;
    } | undefined>;
    /**
     * Input only. The user friendly name for a TagKey. The short name should be unique for TagKeys within the same tag namespace.
     * The short name can have a maximum length of 256 characters. The permitted character set for the shortName includes all UTF-8 encoded Unicode characters except single quotes ('), double quotes ("), backslashes (\\), and forward slashes (/).
     */
    readonly shortName: pulumi.Output<string>;
    /**
     * Output only. Update time.
     * A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
     */
    readonly updateTime: pulumi.Output<string>;
    /**
     * Create a TagKey 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: TagKeyArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering TagKey resources.
 */
export interface TagKeyState {
    /**
     * Regular expression constraint for dynamic tag values, follows RE2 syntax. If present, it implicitly allows dynamic values (constrained by the regex).
     */
    allowedValuesRegex?: pulumi.Input<string | undefined>;
    /**
     * Output only. Creation time.
     * A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
     */
    createTime?: pulumi.Input<string | undefined>;
    /**
     * Whether Terraform will be prevented from destroying the resource. Defaults to DELETE.
     * When a 'terraform destroy' or 'pulumi up' would delete the resource,
     * the command will fail if this field is set to "PREVENT" in Terraform state.
     * When set to "ABANDON", the command will remove the resource from Terraform
     * management without updating or deleting the resource in the API.
     * When set to "DELETE", deleting the resource is allowed.
     */
    deletionPolicy?: pulumi.Input<string | undefined>;
    /**
     * User-assigned description of the TagKey. Must not exceed 256 characters.
     */
    description?: pulumi.Input<string | undefined>;
    /**
     * The generated numeric id for the TagKey.
     */
    name?: pulumi.Input<string | undefined>;
    /**
     * Output only. Namespaced name of the TagKey.
     */
    namespacedName?: pulumi.Input<string | undefined>;
    /**
     * Input only. The resource name of the new TagKey's parent. Must be of the form organizations/{org_id} or projects/{project_id_or_number}.
     */
    parent?: pulumi.Input<string | undefined>;
    /**
     * Optional. A purpose cannot be changed once set.
     * A purpose denotes that this Tag is intended for use in policies of a specific policy engine, and will involve that policy engine in management operations involving this Tag.
     * Possible values are: `GCE_FIREWALL`, `DATA_GOVERNANCE`.
     */
    purpose?: pulumi.Input<string | undefined>;
    /**
     * Optional. Purpose data cannot be changed once set.
     * Purpose data corresponds to the policy system that the tag is intended for. For example, the GCE_FIREWALL purpose expects data in the following format: `network = "<project-name>/<vpc-name>"`.
     */
    purposeData?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * Input only. The user friendly name for a TagKey. The short name should be unique for TagKeys within the same tag namespace.
     * The short name can have a maximum length of 256 characters. The permitted character set for the shortName includes all UTF-8 encoded Unicode characters except single quotes ('), double quotes ("), backslashes (\\), and forward slashes (/).
     */
    shortName?: pulumi.Input<string | undefined>;
    /**
     * Output only. Update time.
     * A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
     */
    updateTime?: pulumi.Input<string | undefined>;
}
/**
 * The set of arguments for constructing a TagKey resource.
 */
export interface TagKeyArgs {
    /**
     * Regular expression constraint for dynamic tag values, follows RE2 syntax. If present, it implicitly allows dynamic values (constrained by the regex).
     */
    allowedValuesRegex?: pulumi.Input<string | undefined>;
    /**
     * Whether Terraform will be prevented from destroying the resource. Defaults to DELETE.
     * When a 'terraform destroy' or 'pulumi up' would delete the resource,
     * the command will fail if this field is set to "PREVENT" in Terraform state.
     * When set to "ABANDON", the command will remove the resource from Terraform
     * management without updating or deleting the resource in the API.
     * When set to "DELETE", deleting the resource is allowed.
     */
    deletionPolicy?: pulumi.Input<string | undefined>;
    /**
     * User-assigned description of the TagKey. Must not exceed 256 characters.
     */
    description?: pulumi.Input<string | undefined>;
    /**
     * Input only. The resource name of the new TagKey's parent. Must be of the form organizations/{org_id} or projects/{project_id_or_number}.
     */
    parent: pulumi.Input<string>;
    /**
     * Optional. A purpose cannot be changed once set.
     * A purpose denotes that this Tag is intended for use in policies of a specific policy engine, and will involve that policy engine in management operations involving this Tag.
     * Possible values are: `GCE_FIREWALL`, `DATA_GOVERNANCE`.
     */
    purpose?: pulumi.Input<string | undefined>;
    /**
     * Optional. Purpose data cannot be changed once set.
     * Purpose data corresponds to the policy system that the tag is intended for. For example, the GCE_FIREWALL purpose expects data in the following format: `network = "<project-name>/<vpc-name>"`.
     */
    purposeData?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * Input only. The user friendly name for a TagKey. The short name should be unique for TagKeys within the same tag namespace.
     * The short name can have a maximum length of 256 characters. The permitted character set for the shortName includes all UTF-8 encoded Unicode characters except single quotes ('), double quotes ("), backslashes (\\), and forward slashes (/).
     */
    shortName: pulumi.Input<string>;
}
//# sourceMappingURL=tagKey.d.ts.map