getProjectCloudresourcemanagerV1beta1 function

Future<GetProjectCloudresourcemanagerV1beta1Result> getProjectCloudresourcemanagerV1beta1(
  1. GetProjectCloudresourcemanagerV1beta1Args args, {
  2. InvokeOptions? options,
})

Retrieves the Project identified by the specified project_id (for example, my-project-123). The caller must have read permissions for this Project. args Arguments passed to this invoke. Arguments for getProject. options Invoke options controlling this call.

Implementation

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