# general


01/26/2023, 9:43 PM
Hi pulumi team, I'm in the process of implementing a native provider, and am struggling to understand the Get Functions. The autodoc indicates the Get Function should accept
Copy code
optional extra properties used to qualify the lookup.
In this case, I need to pass the physical id of the resource's parent. I can't find any examples of "qualifying the lookup", or grok where the interface supports that behavior. This is what I think it should look like:
Copy code
const existingEnvironment = zeet.resources.Environment.get("existing-env", existingEnvIdConfig, {
    projectId: existingEnvProjectIdConfig
But that does not respect the interface, and the
implementation does not respect any EnvironmentArgs when the
is given (see generated sdk here) Hoping someone might be able to clarify what I am doing wrong, or if I understand incorrectly. Thanks!