-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
PeeringDirectConnection.cs
64 lines (59 loc) · 4 KB
/
PeeringDirectConnection.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
namespace Azure.ResourceManager.Peering.Models
{
/// <summary> The properties that define a direct connection. </summary>
public partial class PeeringDirectConnection
{
/// <summary> Initializes a new instance of <see cref="PeeringDirectConnection"/>. </summary>
public PeeringDirectConnection()
{
}
/// <summary> Initializes a new instance of <see cref="PeeringDirectConnection"/>. </summary>
/// <param name="bandwidthInMbps"> The bandwidth of the connection. </param>
/// <param name="provisionedBandwidthInMbps"> The bandwidth that is actually provisioned. </param>
/// <param name="sessionAddressProvider"> The field indicating if Microsoft provides session ip addresses. </param>
/// <param name="useForPeeringService"> The flag that indicates whether or not the connection is used for peering service. </param>
/// <param name="microsoftTrackingId"> The ID used within Microsoft's peering provisioning system to track the connection. </param>
/// <param name="peeringDBFacilityId"> The PeeringDB.com ID of the facility at which the connection has to be set up. </param>
/// <param name="connectionState"> The state of the connection. </param>
/// <param name="bgpSession"> The BGP session associated with the connection. </param>
/// <param name="connectionIdentifier"> The unique identifier (GUID) for the connection. </param>
/// <param name="errorMessage"> The error message related to the connection state, if any. </param>
internal PeeringDirectConnection(int? bandwidthInMbps, int? provisionedBandwidthInMbps, PeeringSessionAddressProvider? sessionAddressProvider, bool? useForPeeringService, string microsoftTrackingId, int? peeringDBFacilityId, PeeringConnectionState? connectionState, PeeringBgpSession bgpSession, string connectionIdentifier, string errorMessage)
{
BandwidthInMbps = bandwidthInMbps;
ProvisionedBandwidthInMbps = provisionedBandwidthInMbps;
SessionAddressProvider = sessionAddressProvider;
UseForPeeringService = useForPeeringService;
MicrosoftTrackingId = microsoftTrackingId;
PeeringDBFacilityId = peeringDBFacilityId;
ConnectionState = connectionState;
BgpSession = bgpSession;
ConnectionIdentifier = connectionIdentifier;
ErrorMessage = errorMessage;
}
/// <summary> The bandwidth of the connection. </summary>
public int? BandwidthInMbps { get; set; }
/// <summary> The bandwidth that is actually provisioned. </summary>
public int? ProvisionedBandwidthInMbps { get; }
/// <summary> The field indicating if Microsoft provides session ip addresses. </summary>
public PeeringSessionAddressProvider? SessionAddressProvider { get; set; }
/// <summary> The flag that indicates whether or not the connection is used for peering service. </summary>
public bool? UseForPeeringService { get; set; }
/// <summary> The ID used within Microsoft's peering provisioning system to track the connection. </summary>
public string MicrosoftTrackingId { get; }
/// <summary> The PeeringDB.com ID of the facility at which the connection has to be set up. </summary>
public int? PeeringDBFacilityId { get; set; }
/// <summary> The state of the connection. </summary>
public PeeringConnectionState? ConnectionState { get; }
/// <summary> The BGP session associated with the connection. </summary>
public PeeringBgpSession BgpSession { get; set; }
/// <summary> The unique identifier (GUID) for the connection. </summary>
public string ConnectionIdentifier { get; set; }
/// <summary> The error message related to the connection state, if any. </summary>
public string ErrorMessage { get; }
}
}