public sealed class LogicalNetworkInterface : IMessage<LogicalInterface.Types.LogicalNetworkInterface>, IEquatable<LogicalInterface.Types.LogicalNetworkInterface>, IDeepCloneable<LogicalInterface.Types.LogicalNetworkInterface>, IBufferMessage, IMessage
Reference documentation and code samples for the Bare Metal Solution v2 API class LogicalInterface.Types.LogicalNetworkInterface.
Each logical network interface is effectively a network and IP pair.
Implements
IMessage<LogicalInterface.Types.LogicalNetworkInterface>, IEquatable<LogicalInterface.Types.LogicalNetworkInterface>, IDeepCloneable<LogicalInterface.Types.LogicalNetworkInterface>, IBufferMessage, IMessageNamespace
Google.Cloud.BareMetalSolution.V2Assembly
Google.Cloud.BareMetalSolution.V2.dll
Constructors
LogicalNetworkInterface()
public LogicalNetworkInterface()
LogicalNetworkInterface(LogicalInterface.Types.LogicalNetworkInterface)
public LogicalNetworkInterface(LogicalInterface.Types.LogicalNetworkInterface other)
Parameter | |
---|---|
Name | Description |
other | LogicalInterface.Types.LogicalNetworkInterface |
Properties
DefaultGateway
public bool DefaultGateway { get; set; }
Whether this interface is the default gateway for the instance. Only one interface can be the default gateway for the instance.
Property Value | |
---|---|
Type | Description |
Boolean |
Id
public string Id { get; set; }
An identifier for the Network
, generated by the backend.
Property Value | |
---|---|
Type | Description |
String |
IpAddress
public string IpAddress { get; set; }
IP address in the network
Property Value | |
---|---|
Type | Description |
String |
Network
public string Network { get; set; }
Name of the network
Property Value | |
---|---|
Type | Description |
String |
NetworkType
public Network.Types.Type NetworkType { get; set; }
Type of network.
Property Value | |
---|---|
Type | Description |
Network.Types.Type |