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