1.8.0 (latest) 1.7.0 1.6.0 1.5.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0

    public sealed class LogicalInterface : IMessage<LogicalInterface>, IEquatable<LogicalInterface>, IDeepCloneable<LogicalInterface>, IBufferMessage, IMessage

Reference documentation and code samples for the Bare Metal Solution v2 API class LogicalInterface.

Each logical interface represents a logical abstraction of the underlying
physical interface (for eg. bond, nic) of the instance. Each logical
interface can effectively map to multiple network-IP pairs and still be
mapped to one underlying physical interface.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> LogicalInterface

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[LogicalInterface](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BareMetalSolution.V2/latest/Google.Cloud.BareMetalSolution.V2.LogicalInterface.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[LogicalInterface](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BareMetalSolution.V2/latest/Google.Cloud.BareMetalSolution.V2.LogicalInterface.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[LogicalInterface](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BareMetalSolution.V2/latest/Google.Cloud.BareMetalSolution.V2.LogicalInterface.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.BareMetalSolution.V2](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BareMetalSolution.V2/latest/Google.Cloud.BareMetalSolution.V2.md.txt)

## Assembly

Google.Cloud.BareMetalSolution.V2.dll

## Constructors

### LogicalInterface()

    public LogicalInterface()

### LogicalInterface(LogicalInterface)

    public LogicalInterface(LogicalInterface other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `LogicalInterface` |

## Properties

### InterfaceIndex

    [Obsolete]
    public int InterfaceIndex { get; set; }

The index of the logical interface mapping to the index of the hardware
bond or nic on the chosen network template. This field is deprecated.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

### LogicalNetworkInterfaces

    public RepeatedField<LogicalInterface.Types.LogicalNetworkInterface> LogicalNetworkInterfaces { get; }

List of logical network interfaces within a logical interface.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `RepeatedFieldLogicalInterfaceTypesLogicalNetworkInterface` |   |

### Name

    public string Name { get; set; }

Interface name. This is of syntax \<bond\>\<bond_mode\> or \<nic\> and
forms part of the network template name.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |