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.
Implements
IMessageLogicalInterfaceTypesLogicalNetworkInterface, IEquatableLogicalInterfaceTypesLogicalNetworkInterface, IDeepCloneableLogicalInterfaceTypesLogicalNetworkInterface, IBufferMessage, IMessageNamespace
Google.Cloud.BareMetalSolution.V2Assembly
Google.Cloud.BareMetalSolution.V2.dll
Constructors
LogicalNetworkInterface()
public LogicalNetworkInterface()
LogicalNetworkInterface(LogicalNetworkInterface)
public LogicalNetworkInterface(LogicalInterface.Types.LogicalNetworkInterface other)
Parameter | |
---|---|
Name | Description |
other | LogicalInterfaceTypesLogicalNetworkInterface |
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 |
bool |
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 |
NetworkTypesType |