VM Migration v1 API - Class NetworkInterface (2.4.0)

public sealed class NetworkInterface : IMessage<NetworkInterface>, IEquatable<NetworkInterface>, IDeepCloneable<NetworkInterface>, IBufferMessage, IMessage

Reference documentation and code samples for the VM Migration v1 API class NetworkInterface.

NetworkInterface represents a NIC of a VM.

Inheritance

object > NetworkInterface

Namespace

Google.Cloud.VMMigration.V1

Assembly

Google.Cloud.VMMigration.V1.dll

Constructors

NetworkInterface()

public NetworkInterface()

NetworkInterface(NetworkInterface)

public NetworkInterface(NetworkInterface other)
Parameter
NameDescription
otherNetworkInterface

Properties

ExternalIp

public string ExternalIp { get; set; }

The external IP to define in the NIC.

Property Value
TypeDescription
string

InternalIp

public string InternalIp { get; set; }

The internal IP to define in the NIC. The formats accepted are: ephemeral \ ipv4 address \ a named address resource full path.

Property Value
TypeDescription
string

Network

public string Network { get; set; }

The network to connect the NIC to.

Property Value
TypeDescription
string

Subnetwork

public string Subnetwork { get; set; }

The subnetwork to connect the NIC to.

Property Value
TypeDescription
string