public sealed class NetworkInterface : IMessage<NetworkInterface>, IEquatable<NetworkInterface>, IDeepCloneable<NetworkInterface>, IBufferMessage, IMessage
Reference documentation and code samples for the Notebooks v2 API class NetworkInterface.
The definition of a network interface resource attached to a VM.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["The `NetworkInterface` class defines a network interface resource attached to a virtual machine (VM) within the Notebooks v2 API."],["This class implements several interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, and inherits from the `object` class."],["The `NetworkInterface` class has properties to define the `Network`, `NicType`, and `Subnet` that the virtual machine is connected to."],["The `Network` and `Subnet` properties take the form of a formatted string with the project ID and network or subnetwork ID, respectively."],["There are two constructors available for creating a new `NetworkInterface` object: a default constructor and a constructor that accepts another `NetworkInterface` object as an argument."]]],[]]