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