Google Native

Pulumi Official
Package maintained by Pulumi
v0.19.1 published on Tuesday, May 24, 2022 by Pulumi

getLien

Retrieve a Lien by name. Callers of this method will require permission on the parent resource. For example, a Lien with a parent of projects/1234 requires permission resourcemanager.projects.get

Using getLien

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getLien(args: GetLienArgs, opts?: InvokeOptions): Promise<GetLienResult>
function getLienOutput(args: GetLienOutputArgs, opts?: InvokeOptions): Output<GetLienResult>
def get_lien(lien_id: Optional[str] = None,
             opts: Optional[InvokeOptions] = None) -> GetLienResult
def get_lien_output(lien_id: Optional[pulumi.Input[str]] = None,
             opts: Optional[InvokeOptions] = None) -> Output[GetLienResult]
func LookupLien(ctx *Context, args *LookupLienArgs, opts ...InvokeOption) (*LookupLienResult, error)
func LookupLienOutput(ctx *Context, args *LookupLienOutputArgs, opts ...InvokeOption) LookupLienResultOutput

> Note: This function is named LookupLien in the Go SDK.

public static class GetLien 
{
    public static Task<GetLienResult> InvokeAsync(GetLienArgs args, InvokeOptions? opts = null)
    public static Output<GetLienResult> Invoke(GetLienInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetLienResult> getLien(GetLienArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: google-native:cloudresourcemanager/v3:getLien
  Arguments:
    # Arguments dictionary

The following arguments are supported:

LienId string
LienId string
lienId String
lienId string
lienId String

getLien Result

The following output properties are available:

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

Package Details

Repository
https://github.com/pulumi/pulumi-google-native
License
Apache-2.0