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