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.
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}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis webpage provides documentation for the \u003ccode\u003eVRF.Types.VlanAttachment\u003c/code\u003e class within the Google Cloud Bare Metal Solution v2 API.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eVRF.Types.VlanAttachment\u003c/code\u003e class is used to represent VLAN attachment details and implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe page includes links to various versions of the documentation, with version 1.7.0 being the latest release.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eVlanAttachment\u003c/code\u003e class include \u003ccode\u003eId\u003c/code\u003e, \u003ccode\u003eInterconnectAttachment\u003c/code\u003e, \u003ccode\u003ePairingKey\u003c/code\u003e, \u003ccode\u003ePeerIp\u003c/code\u003e, \u003ccode\u003ePeerVlanId\u003c/code\u003e, \u003ccode\u003eQosPolicy\u003c/code\u003e, and \u003ccode\u003eRouterIp\u003c/code\u003e, detailing the characteristics and configuration of a VLAN attachment.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation shows that \u003ccode\u003eVlanAttachment\u003c/code\u003e inherits from \u003ccode\u003eobject\u003c/code\u003e and it has constructor overloads, one of which takes a parameter of the type \u003ccode\u003eVRF.Types.VlanAttachment\u003c/code\u003e which allows for creating a copy of an existing attachment.\u003c/p\u003e\n"]]],[],null,["# Bare Metal Solution v2 API - Class VRF.Types.VlanAttachment (1.7.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.7.0 (latest)](/dotnet/docs/reference/Google.Cloud.BareMetalSolution.V2/latest/Google.Cloud.BareMetalSolution.V2.VRF.Types.VlanAttachment)\n- [1.6.0](/dotnet/docs/reference/Google.Cloud.BareMetalSolution.V2/1.6.0/Google.Cloud.BareMetalSolution.V2.VRF.Types.VlanAttachment)\n- [1.5.0](/dotnet/docs/reference/Google.Cloud.BareMetalSolution.V2/1.5.0/Google.Cloud.BareMetalSolution.V2.VRF.Types.VlanAttachment)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.BareMetalSolution.V2/1.4.0/Google.Cloud.BareMetalSolution.V2.VRF.Types.VlanAttachment)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.BareMetalSolution.V2/1.3.0/Google.Cloud.BareMetalSolution.V2.VRF.Types.VlanAttachment)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.BareMetalSolution.V2/1.2.0/Google.Cloud.BareMetalSolution.V2.VRF.Types.VlanAttachment)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.BareMetalSolution.V2/1.1.0/Google.Cloud.BareMetalSolution.V2.VRF.Types.VlanAttachment)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.BareMetalSolution.V2/1.0.0/Google.Cloud.BareMetalSolution.V2.VRF.Types.VlanAttachment) \n\n public sealed class VRF.Types.VlanAttachment : IMessage\u003cVRF.Types.VlanAttachment\u003e, IEquatable\u003cVRF.Types.VlanAttachment\u003e, IDeepCloneable\u003cVRF.Types.VlanAttachment\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Bare Metal Solution v2 API class VRF.Types.VlanAttachment.\n\nVLAN attachment details. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e VRF.Types.VlanAttachment \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[VRF](/dotnet/docs/reference/Google.Cloud.BareMetalSolution.V2/latest/Google.Cloud.BareMetalSolution.V2.VRF)[Types](/dotnet/docs/reference/Google.Cloud.BareMetalSolution.V2/latest/Google.Cloud.BareMetalSolution.V2.VRF.Types)[VlanAttachment](/dotnet/docs/reference/Google.Cloud.BareMetalSolution.V2/latest/Google.Cloud.BareMetalSolution.V2.VRF.Types.VlanAttachment), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[VRF](/dotnet/docs/reference/Google.Cloud.BareMetalSolution.V2/latest/Google.Cloud.BareMetalSolution.V2.VRF)[Types](/dotnet/docs/reference/Google.Cloud.BareMetalSolution.V2/latest/Google.Cloud.BareMetalSolution.V2.VRF.Types)[VlanAttachment](/dotnet/docs/reference/Google.Cloud.BareMetalSolution.V2/latest/Google.Cloud.BareMetalSolution.V2.VRF.Types.VlanAttachment), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[VRF](/dotnet/docs/reference/Google.Cloud.BareMetalSolution.V2/latest/Google.Cloud.BareMetalSolution.V2.VRF)[Types](/dotnet/docs/reference/Google.Cloud.BareMetalSolution.V2/latest/Google.Cloud.BareMetalSolution.V2.VRF.Types)[VlanAttachment](/dotnet/docs/reference/Google.Cloud.BareMetalSolution.V2/latest/Google.Cloud.BareMetalSolution.V2.VRF.Types.VlanAttachment), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.BareMetalSolution.V2](/dotnet/docs/reference/Google.Cloud.BareMetalSolution.V2/latest/Google.Cloud.BareMetalSolution.V2)\n\nAssembly\n--------\n\nGoogle.Cloud.BareMetalSolution.V2.dll\n\nConstructors\n------------\n\n### VlanAttachment()\n\n public VlanAttachment()\n\n### VlanAttachment(VlanAttachment)\n\n public VlanAttachment(VRF.Types.VlanAttachment other)\n\nProperties\n----------\n\n### Id\n\n public string Id { get; set; }\n\nImmutable. The identifier of the attachment within vrf.\n\n### InterconnectAttachment\n\n public string InterconnectAttachment { get; set; }\n\nOptional. The name of the vlan attachment within vrf. This is of the form\nprojects/{project_number}/regions/{region}/interconnectAttachments/{interconnect_attachment}\n\n### InterconnectAttachmentAsInterconnectAttachmentName\n\n public InterconnectAttachmentName InterconnectAttachmentAsInterconnectAttachmentName { get; set; }\n\n[InterconnectAttachmentName](/dotnet/docs/reference/Google.Cloud.BareMetalSolution.V2/latest/Google.Cloud.BareMetalSolution.V2.InterconnectAttachmentName)-typed view over the [InterconnectAttachment](/dotnet/docs/reference/Google.Cloud.BareMetalSolution.V2/latest/Google.Cloud.BareMetalSolution.V2.VRF.Types.VlanAttachment#Google_Cloud_BareMetalSolution_V2_VRF_Types_VlanAttachment_InterconnectAttachment)\nresource name property.\n\n### PairingKey\n\n public string PairingKey { get; set; }\n\nInput only. Pairing key.\n\n### PeerIp\n\n public string PeerIp { get; set; }\n\nThe peer IP of the attachment.\n\n### PeerVlanId\n\n public long PeerVlanId { get; set; }\n\nThe peer vlan ID of the attachment.\n\n### QosPolicy\n\n public VRF.Types.QosPolicy QosPolicy { get; set; }\n\nThe QOS policy applied to this VLAN attachment.\nThis value should be preferred to using qos at vrf level.\n\n### RouterIp\n\n public string RouterIp { get; set; }\n\nThe router IP of the attachment."]]