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