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.
Implements
IMessageNetworkInterface, IEquatableNetworkInterface, IDeepCloneableNetworkInterface, IBufferMessage, IMessageNamespace
Google.Cloud.Notebooks.V2Assembly
Google.Cloud.Notebooks.V2.dll
Constructors
NetworkInterface()
public NetworkInterface()
NetworkInterface(NetworkInterface)
public NetworkInterface(NetworkInterface other)
Parameter | |
---|---|
Name | Description |
other |
NetworkInterface |
Properties
Network
public string Network { get; set; }
Optional. The name of the VPC that this VM instance is in.
Format:
projects/{project_id}/global/networks/{network_id}
Property Value | |
---|---|
Type | Description |
string |
NicType
public NetworkInterface.Types.NicType NicType { get; set; }
Optional. The type of vNIC to be used on this interface. This may be gVNIC or VirtioNet.
Property Value | |
---|---|
Type | Description |
NetworkInterfaceTypesNicType |
Subnet
public string Subnet { get; set; }
Optional. The name of the subnet that this VM instance is in.
Format:
projects/{project_id}/regions/{region}/subnetworks/{subnetwork_id}
Property Value | |
---|---|
Type | Description |
string |