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