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

public sealed class LogicalInterface.Types.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(LogicalNetworkInterface)

public LogicalNetworkInterface(LogicalInterface.Types.LogicalNetworkInterface other)
Parameter
NameDescription
otherLogicalInterfaceTypesLogicalNetworkInterface

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
bool

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
NetworkTypesType