-
Notifications
You must be signed in to change notification settings - Fork 4.8k
/
PeeringReceivedRoute.cs
52 lines (47 loc) · 2.6 KB
/
PeeringReceivedRoute.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
// 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 received route. </summary>
public partial class PeeringReceivedRoute
{
/// <summary> Initializes a new instance of <see cref="PeeringReceivedRoute"/>. </summary>
internal PeeringReceivedRoute()
{
}
/// <summary> Initializes a new instance of <see cref="PeeringReceivedRoute"/>. </summary>
/// <param name="prefix"> The prefix. </param>
/// <param name="nextHop"> The next hop for the prefix. </param>
/// <param name="asPath"> The AS path for the prefix. </param>
/// <param name="originAsValidationState"> The origin AS change information for the prefix. </param>
/// <param name="rpkiValidationState"> The RPKI validation state for the prefix and origin AS that's listed in the AS path. </param>
/// <param name="trustAnchor"> The authority which holds the Route Origin Authorization record for the prefix, if any. </param>
/// <param name="receivedTimestamp"> The received timestamp associated with the prefix. </param>
internal PeeringReceivedRoute(string prefix, string nextHop, string asPath, string originAsValidationState, string rpkiValidationState, string trustAnchor, string receivedTimestamp)
{
Prefix = prefix;
NextHop = nextHop;
AsPath = asPath;
OriginAsValidationState = originAsValidationState;
RpkiValidationState = rpkiValidationState;
TrustAnchor = trustAnchor;
ReceivedTimestamp = receivedTimestamp;
}
/// <summary> The prefix. </summary>
public string Prefix { get; }
/// <summary> The next hop for the prefix. </summary>
public string NextHop { get; }
/// <summary> The AS path for the prefix. </summary>
public string AsPath { get; }
/// <summary> The origin AS change information for the prefix. </summary>
public string OriginAsValidationState { get; }
/// <summary> The RPKI validation state for the prefix and origin AS that's listed in the AS path. </summary>
public string RpkiValidationState { get; }
/// <summary> The authority which holds the Route Origin Authorization record for the prefix, if any. </summary>
public string TrustAnchor { get; }
/// <summary> The received timestamp associated with the prefix. </summary>
public string ReceivedTimestamp { get; }
}
}