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.
Implements
IMessageNetworkInterface, IEquatableNetworkInterface, IDeepCloneableNetworkInterface, IBufferMessage, IMessageNamespace
Google.Cloud.VMMigration.V1Assembly
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 |