Bare Metal Solution v2 API - Class LogicalInterface.Types.LogicalNetworkInterface (1.1.0)

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.

Inheritance

Object > LogicalInterface.Types.LogicalNetworkInterface

Namespace

Google.Cloud.BareMetalSolution.V2

Assembly

Google.Cloud.BareMetalSolution.V2.dll

Constructors

LogicalNetworkInterface()

public LogicalNetworkInterface()

LogicalNetworkInterface(LogicalInterface.Types.LogicalNetworkInterface)

public LogicalNetworkInterface(LogicalInterface.Types.LogicalNetworkInterface other)
Parameter
NameDescription
otherLogicalInterface.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
TypeDescription
Boolean

Id

public string Id { get; set; }

An identifier for the Network, generated by the backend.

Property Value
TypeDescription
String

IpAddress

public string IpAddress { get; set; }

IP address in the network

Property Value
TypeDescription
String

Network

public string Network { get; set; }

Name of the network

Property Value
TypeDescription
String

NetworkType

public Network.Types.Type NetworkType { get; set; }

Type of network.

Property Value
TypeDescription
Network.Types.Type