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