get static method
NetworkInterface
get(
- String name,
- Input<
String> id, { - NetworkInterfaceState? state,
- CustomResourceOptions? options,
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,
pulumi.CustomResourceOptions? options,
}) {
return NetworkInterface._get(
name,
state: state?.toMap(),
options: pulumi.CustomResourceOptions(id: id).merge(options),
);
}