| | 1 | | // Copyright (c) Microsoft Corporation. All rights reserved. |
| | 2 | | // Licensed under the MIT License. |
| | 3 | |
|
| | 4 | | // <auto-generated/> |
| | 5 | |
|
| | 6 | | #nullable disable |
| | 7 | |
|
| | 8 | | using System; |
| | 9 | |
|
| | 10 | | namespace Azure.ResourceManager.Network.Models |
| | 11 | | { |
| | 12 | | /// <summary> Bgp Communities sent over ExpressRoute with each route corresponding to a prefix in this VNET. </summa |
| | 13 | | public partial class VirtualNetworkBgpCommunities |
| | 14 | | { |
| | 15 | | /// <summary> Initializes a new instance of VirtualNetworkBgpCommunities. </summary> |
| | 16 | | /// <param name="virtualNetworkCommunity"> The BGP community associated with the virtual network. </param> |
| 0 | 17 | | public VirtualNetworkBgpCommunities(string virtualNetworkCommunity) |
| | 18 | | { |
| 0 | 19 | | if (virtualNetworkCommunity == null) |
| | 20 | | { |
| 0 | 21 | | throw new ArgumentNullException(nameof(virtualNetworkCommunity)); |
| | 22 | | } |
| | 23 | |
|
| 0 | 24 | | VirtualNetworkCommunity = virtualNetworkCommunity; |
| 0 | 25 | | } |
| | 26 | |
|
| | 27 | | /// <summary> Initializes a new instance of VirtualNetworkBgpCommunities. </summary> |
| | 28 | | /// <param name="virtualNetworkCommunity"> The BGP community associated with the virtual network. </param> |
| | 29 | | /// <param name="regionalCommunity"> The BGP community associated with the region of the virtual network. </para |
| 0 | 30 | | internal VirtualNetworkBgpCommunities(string virtualNetworkCommunity, string regionalCommunity) |
| | 31 | | { |
| 0 | 32 | | VirtualNetworkCommunity = virtualNetworkCommunity; |
| 0 | 33 | | RegionalCommunity = regionalCommunity; |
| 0 | 34 | | } |
| | 35 | |
|
| | 36 | | /// <summary> The BGP community associated with the virtual network. </summary> |
| 0 | 37 | | public string VirtualNetworkCommunity { get; set; } |
| | 38 | | /// <summary> The BGP community associated with the region of the virtual network. </summary> |
| 0 | 39 | | public string RegionalCommunity { get; } |
| | 40 | | } |
| | 41 | | } |