get static method
InstanceIamPolicy
get(
- String name,
- Input<
String> id, { - InstanceIamPolicyState? state,
- CustomResourceOptions? options,
Gets an existing InstanceIamPolicy resource's state with the given name and id.
Implementation
static InstanceIamPolicy get(
String name,
pulumi.Input<String> id, {
InstanceIamPolicyState? state,
pulumi.CustomResourceOptions? options,
}) {
return InstanceIamPolicy._get(
name,
state: state?.toMap(),
options: pulumi.CustomResourceOptions(id: id).merge(options),
);
}