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