import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../../types/input"; import * as outputs from "../../types/output"; import * as enums from "../../types/enums"; /** * Creates a new data policy under a project with the given `dataPolicyId` (used as the display name), policy tag, and data policy type. * Auto-naming is currently not supported for this resource. */ export declare class DataPolicy extends pulumi.CustomResource { /** * Get an existing DataPolicy 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): DataPolicy; /** * Returns true if the given object is an instance of DataPolicy. 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 DataPolicy; /** * The data masking policy that specifies the data masking rule to use. */ readonly dataMaskingPolicy: pulumi.Output; /** * User-assigned (human readable) ID of the data policy that needs to be unique within a project. Used as {data_policy_id} in part of the resource name. */ readonly dataPolicyId: pulumi.Output; /** * Type of data policy. */ readonly dataPolicyType: pulumi.Output; readonly location: pulumi.Output; /** * Resource name of this data policy, in the format of `projects/{project_number}/locations/{location_id}/dataPolicies/{data_policy_id}`. */ readonly name: pulumi.Output; /** * Policy tag resource name, in the format of `projects/{project_number}/locations/{location_id}/taxonomies/{taxonomy_id}/policyTags/{policyTag_id}`. */ readonly policyTag: pulumi.Output; readonly project: pulumi.Output; /** * Create a DataPolicy 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?: DataPolicyArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a DataPolicy resource. */ export interface DataPolicyArgs { /** * The data masking policy that specifies the data masking rule to use. */ dataMaskingPolicy?: pulumi.Input; /** * User-assigned (human readable) ID of the data policy that needs to be unique within a project. Used as {data_policy_id} in part of the resource name. */ dataPolicyId?: pulumi.Input; /** * Type of data policy. */ dataPolicyType?: pulumi.Input; location?: pulumi.Input; /** * Policy tag resource name, in the format of `projects/{project_number}/locations/{location_id}/taxonomies/{taxonomy_id}/policyTags/{policyTag_id}`. */ policyTag?: pulumi.Input; project?: pulumi.Input; }