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 VRF.Types.VlanAttachment : IMessage<VRF.Types.VlanAttachment>, IEquatable<VRF.Types.VlanAttachment>, IDeepCloneable<VRF.Types.VlanAttachment>, IBufferMessage, IMessage

Reference documentation and code samples for the Bare Metal Solution v2 API class VRF.Types.VlanAttachment.

VLAN attachment details.

## Inheritance

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

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[VRF](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BareMetalSolution.V2/latest/Google.Cloud.BareMetalSolution.V2.VRF.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BareMetalSolution.V2/latest/Google.Cloud.BareMetalSolution.V2.VRF.Types.md.txt)[VlanAttachment](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BareMetalSolution.V2/latest/Google.Cloud.BareMetalSolution.V2.VRF.Types.VlanAttachment.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[VRF](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BareMetalSolution.V2/latest/Google.Cloud.BareMetalSolution.V2.VRF.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BareMetalSolution.V2/latest/Google.Cloud.BareMetalSolution.V2.VRF.Types.md.txt)[VlanAttachment](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BareMetalSolution.V2/latest/Google.Cloud.BareMetalSolution.V2.VRF.Types.VlanAttachment.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[VRF](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BareMetalSolution.V2/latest/Google.Cloud.BareMetalSolution.V2.VRF.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BareMetalSolution.V2/latest/Google.Cloud.BareMetalSolution.V2.VRF.Types.md.txt)[VlanAttachment](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BareMetalSolution.V2/latest/Google.Cloud.BareMetalSolution.V2.VRF.Types.VlanAttachment.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

### VlanAttachment()

    public VlanAttachment()

### VlanAttachment(VlanAttachment)

    public VlanAttachment(VRF.Types.VlanAttachment other)

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

## Properties

### Id

    public string Id { get; set; }

Immutable. The identifier of the attachment within vrf.

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

### InterconnectAttachment

    public string InterconnectAttachment { get; set; }

Optional. The name of the vlan attachment within vrf. This is of the form
projects/{project_number}/regions/{region}/interconnectAttachments/{interconnect_attachment}

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

### InterconnectAttachmentAsInterconnectAttachmentName

    public InterconnectAttachmentName InterconnectAttachmentAsInterconnectAttachmentName { get; set; }

[InterconnectAttachmentName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BareMetalSolution.V2/latest/Google.Cloud.BareMetalSolution.V2.InterconnectAttachmentName.md.txt)-typed view over the [InterconnectAttachment](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BareMetalSolution.V2/latest/Google.Cloud.BareMetalSolution.V2.VRF.Types.VlanAttachment.md.txt#Google_Cloud_BareMetalSolution_V2_VRF_Types_VlanAttachment_InterconnectAttachment)
resource name property.

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

### PairingKey

    public string PairingKey { get; set; }

Input only. Pairing key.

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

### PeerIp

    public string PeerIp { get; set; }

The peer IP of the attachment.

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

### PeerVlanId

    public long PeerVlanId { get; set; }

The peer vlan ID of the attachment.

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

### QosPolicy

    public VRF.Types.QosPolicy QosPolicy { get; set; }

The QOS policy applied to this VLAN attachment.
This value should be preferred to using qos at vrf level.

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

### RouterIp

    public string RouterIp { get; set; }

The router IP of the attachment.

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