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