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