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; }
Optional. The external IP to define in the NIC.
Property Value | |
---|---|
Type | Description |
string |
InternalIp
public string InternalIp { get; set; }
Optional. 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; }
Optional. The network to connect the NIC to.
Property Value | |
---|---|
Type | Description |
string |
NetworkTier
public ComputeEngineNetworkTier NetworkTier { get; set; }
Optional. The networking tier used for optimizing connectivity between instances and systems on the internet. Applies only for external ephemeral IP addresses. If left empty, will default to PREMIUM.
Property Value | |
---|---|
Type | Description |
ComputeEngineNetworkTier |
Subnetwork
public string Subnetwork { get; set; }
Optional. The subnetwork to connect the NIC to.
Property Value | |
---|---|
Type | Description |
string |