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