Notebooks v2 API - Class NetworkInterface (1.0.0-beta02)

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.

Inheritance

object > NetworkInterface

Namespace

Google.Cloud.Notebooks.V2

Assembly

Google.Cloud.Notebooks.V2.dll

Constructors

NetworkInterface()

public NetworkInterface()

NetworkInterface(NetworkInterface)

public NetworkInterface(NetworkInterface other)
Parameter
NameDescription
otherNetworkInterface

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
TypeDescription
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
TypeDescription
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
TypeDescription
string