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