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