I successfully linked a Kubernetes cluster to my Gitlab project. The cluster can be accessed at the following link: https://gitlab.com/steinKo/gitlabcicd/-/clusters/142291. Now, I'm trying to access this cluster using Pulumi. According to the documentation, I should be able to use the "Look up an Existing ProjectCluster Resource" method. Can I make an API call as well?
public static get(name: string, id: Input<ID>, state?: ProjectClusterState, opts?: CustomResourceOptions): ProjectCluster
My attempt:
import * as gitlab from "@pulumi/gitlab";
const cluster = gitlab.get("gitlabcicd", ???)
However, I encountered an error message stating that the property "get" does not exist. How can I properly utilize the "get" API? And where can I find the necessary ID?