getLien function

Future<GetLienResult> getLien(
  1. GetLienArgs args, {
  2. InvokeOptions? options,
})

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 args Arguments passed to this invoke. Arguments for getLien. options Invoke options controlling this call.

Implementation

Future<GetLienResult> getLien(
  GetLienArgs args, {
  pulumi.InvokeOptions? options,
}) async {
  final deployment = pulumi.Deployment.instance;
  final result = await deployment.invoke<Map<String, dynamic>>(
    'google-native:cloudresourcemanager/v1:getLien',
    args.toMap(),
    options: pulumi.toDeploymentInvokeOptions(options),
  );
  return GetLienResult.fromMap(result);
}