import * as pulumi from "@pulumi/pulumi"; /** * Create a Lien which applies to the resource denoted by the `parent` field. Callers of this method will require permission on the `parent` resource. For example, applying to `projects/1234` requires permission `resourcemanager.projects.updateLiens`. NOTE: Some resources may limit the number of Liens which may be applied. */ export declare class Lien extends pulumi.CustomResource { /** * Get an existing Lien 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): Lien; /** * Returns true if the given object is an instance of Lien. 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 Lien; /** * The creation time of this Lien. */ readonly createTime: pulumi.Output; /** * A system-generated unique identifier for this Lien. Example: `liens/1234abcd` */ readonly name: pulumi.Output; /** * A stable, user-visible/meaningful string identifying the origin of the Lien, intended to be inspected programmatically. Maximum length of 200 characters. Example: 'compute.googleapis.com' */ readonly origin: pulumi.Output; /** * A reference to the resource this Lien is attached to. The server will validate the parent against those for which Liens are supported. Example: `projects/1234` */ readonly parent: pulumi.Output; /** * Concise user-visible strings indicating why an action cannot be performed on a resource. Maximum length of 200 characters. Example: 'Holds production API key' */ readonly reason: pulumi.Output; /** * The types of operations which should be blocked as a result of this Lien. Each value should correspond to an IAM permission. The server will validate the permissions against those for which Liens are supported. An empty list is meaningless and will be rejected. Example: ['resourcemanager.projects.delete'] */ readonly restrictions: pulumi.Output; /** * Create a Lien 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?: LienArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a Lien resource. */ export interface LienArgs { /** * The creation time of this Lien. */ createTime?: pulumi.Input; /** * A system-generated unique identifier for this Lien. Example: `liens/1234abcd` */ name?: pulumi.Input; /** * A stable, user-visible/meaningful string identifying the origin of the Lien, intended to be inspected programmatically. Maximum length of 200 characters. Example: 'compute.googleapis.com' */ origin?: pulumi.Input; /** * A reference to the resource this Lien is attached to. The server will validate the parent against those for which Liens are supported. Example: `projects/1234` */ parent?: pulumi.Input; /** * Concise user-visible strings indicating why an action cannot be performed on a resource. Maximum length of 200 characters. Example: 'Holds production API key' */ reason?: pulumi.Input; /** * The types of operations which should be blocked as a result of this Lien. Each value should correspond to an IAM permission. The server will validate the permissions against those for which Liens are supported. An empty list is meaningless and will be rejected. Example: ['resourcemanager.projects.delete'] */ restrictions?: pulumi.Input[]>; }