VM Migration v1 API - Class NetworkInterface (2.5.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
Name Description
other NetworkInterface

Properties

ExternalIp

public string ExternalIp { get; set; }

The external IP to define in the NIC.

Property Value
Type Description
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
Type Description
string

Network

public string Network { get; set; }

The network to connect the NIC to.

Property Value
Type Description
string

Subnetwork

public string Subnetwork { get; set; }

The subnetwork to connect the NIC to.

Property Value
Type Description
string