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"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 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."]]],[]]