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