getLienCloudresourcemanagerV3 function

Future<GetLienCloudresourcemanagerV3Result> getLienCloudresourcemanagerV3(
  1. GetLienCloudresourcemanagerV3Args 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<GetLienCloudresourcemanagerV3Result> getLienCloudresourcemanagerV3(
  GetLienCloudresourcemanagerV3Args args, {
  pulumi.InvokeOptions? options,
}) async {
  final deployment = pulumi.Deployment.instance;
  final result = await deployment.invoke<Map<String, dynamic>>(
    'google-native:cloudresourcemanager/v3:getLien',
    args.toMap(),
    options: pulumi.toDeploymentInvokeOptions(options),
  );
  return GetLienCloudresourcemanagerV3Result.fromMap(result);
}