google-native logo
Google Cloud Native v0.28.0, Feb 2 23

google-native.cloudresourcemanager/v3.Lien

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.

Create Lien Resource

new Lien(name: string, args?: LienArgs, opts?: CustomResourceOptions);
@overload
def Lien(resource_name: str,
         opts: Optional[ResourceOptions] = None,
         create_time: Optional[str] = None,
         name: Optional[str] = None,
         origin: Optional[str] = None,
         parent: Optional[str] = None,
         reason: Optional[str] = None,
         restrictions: Optional[Sequence[str]] = None)
@overload
def Lien(resource_name: str,
         args: Optional[LienArgs] = None,
         opts: Optional[ResourceOptions] = None)
func NewLien(ctx *Context, name string, args *LienArgs, opts ...ResourceOption) (*Lien, error)
public Lien(string name, LienArgs? args = null, CustomResourceOptions? opts = null)
public Lien(String name, LienArgs args)
public Lien(String name, LienArgs args, CustomResourceOptions options)
type: google-native:cloudresourcemanager/v3:Lien
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args LienArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args LienArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args LienArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args LienArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args LienArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Lien Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The Lien resource accepts the following input properties:

CreateTime string

The creation time of this Lien.

Name string

A system-generated unique identifier for this Lien. Example: liens/1234abcd

Origin string

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'

Parent string

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

Reason string

Concise user-visible strings indicating why an action cannot be performed on a resource. Maximum length of 200 characters. Example: 'Holds production API key'

Restrictions List<string>

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']

CreateTime string

The creation time of this Lien.

Name string

A system-generated unique identifier for this Lien. Example: liens/1234abcd

Origin string

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'

Parent string

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

Reason string

Concise user-visible strings indicating why an action cannot be performed on a resource. Maximum length of 200 characters. Example: 'Holds production API key'

Restrictions []string

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']

createTime String

The creation time of this Lien.

name String

A system-generated unique identifier for this Lien. Example: liens/1234abcd

origin String

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'

parent String

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

reason String

Concise user-visible strings indicating why an action cannot be performed on a resource. Maximum length of 200 characters. Example: 'Holds production API key'

restrictions List<String>

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']

createTime string

The creation time of this Lien.

name string

A system-generated unique identifier for this Lien. Example: liens/1234abcd

origin string

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'

parent string

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

reason string

Concise user-visible strings indicating why an action cannot be performed on a resource. Maximum length of 200 characters. Example: 'Holds production API key'

restrictions string[]

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']

create_time str

The creation time of this Lien.

name str

A system-generated unique identifier for this Lien. Example: liens/1234abcd

origin str

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'

parent str

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

reason str

Concise user-visible strings indicating why an action cannot be performed on a resource. Maximum length of 200 characters. Example: 'Holds production API key'

restrictions Sequence[str]

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']

createTime String

The creation time of this Lien.

name String

A system-generated unique identifier for this Lien. Example: liens/1234abcd

origin String

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'

parent String

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

reason String

Concise user-visible strings indicating why an action cannot be performed on a resource. Maximum length of 200 characters. Example: 'Holds production API key'

restrictions List<String>

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']

Outputs

All input properties are implicitly available as output properties. Additionally, the Lien resource produces the following output properties:

Id string

The provider-assigned unique ID for this managed resource.

Id string

The provider-assigned unique ID for this managed resource.

id String

The provider-assigned unique ID for this managed resource.

id string

The provider-assigned unique ID for this managed resource.

id str

The provider-assigned unique ID for this managed resource.

id String

The provider-assigned unique ID for this managed resource.

Package Details

Repository
Google Cloud Native pulumi/pulumi-google-native
License
Apache-2.0