Skip to content

Commit 94fa99f

Browse files
Migration support for Basic IP based deployment to Standard IP VMSS deployment (#27375)
Co-authored-by: Yash <[email protected]>
1 parent 2cc47e1 commit 94fa99f

File tree

49 files changed

+14517
-248
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+14517
-248
lines changed

src/Network/Network.Management.Sdk/Generated/IVirtualNetworkGatewaysOperations.cs

Lines changed: 320 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
// Copyright (c) Microsoft Corporation. All rights reserved.
2+
// Licensed under the MIT License. See License.txt in the project root for license information.
3+
// Code generated by Microsoft (R) AutoRest Code Generator.
4+
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
5+
6+
namespace Microsoft.Azure.Management.Network.Models
7+
{
8+
using System.Linq;
9+
10+
public partial class CircuitMetadataMap
11+
{
12+
/// <summary>
13+
/// Initializes a new instance of the CircuitMetadataMap class.
14+
/// </summary>
15+
public CircuitMetadataMap()
16+
{
17+
CustomInit();
18+
}
19+
20+
/// <summary>
21+
/// Initializes a new instance of the CircuitMetadataMap class.
22+
/// </summary>
23+
24+
/// <param name="name">Express Route Circuit Name
25+
/// </param>
26+
27+
/// <param name="link">Link to the Express Route circuit
28+
/// </param>
29+
30+
/// <param name="location">Peering location of the Express Route Circuit
31+
/// </param>
32+
public CircuitMetadataMap(string name = default(string), string link = default(string), string location = default(string))
33+
34+
{
35+
this.Name = name;
36+
this.Link = link;
37+
this.Location = location;
38+
CustomInit();
39+
}
40+
41+
/// <summary>
42+
/// An initialization method that performs custom operations like setting defaults
43+
/// </summary>
44+
partial void CustomInit();
45+
46+
47+
/// <summary>
48+
/// Gets or sets express Route Circuit Name
49+
/// </summary>
50+
[Newtonsoft.Json.JsonProperty(PropertyName = "name")]
51+
public string Name {get; set; }
52+
53+
/// <summary>
54+
/// Gets or sets link to the Express Route circuit
55+
/// </summary>
56+
[Newtonsoft.Json.JsonProperty(PropertyName = "link")]
57+
public string Link {get; set; }
58+
59+
/// <summary>
60+
/// Gets or sets peering location of the Express Route Circuit
61+
/// </summary>
62+
[Newtonsoft.Json.JsonProperty(PropertyName = "location")]
63+
public string Location {get; set; }
64+
}
65+
}
Lines changed: 118 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,118 @@
1+
// Copyright (c) Microsoft Corporation. All rights reserved.
2+
// Licensed under the MIT License. See License.txt in the project root for license information.
3+
// Code generated by Microsoft (R) AutoRest Code Generator.
4+
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
5+
6+
namespace Microsoft.Azure.Management.Network.Models
7+
{
8+
using System.Linq;
9+
10+
/// <summary>
11+
/// Gateway Resiliency Information
12+
/// </summary>
13+
public partial class GatewayResiliencyInformation
14+
{
15+
/// <summary>
16+
/// Initializes a new instance of the GatewayResiliencyInformation class.
17+
/// </summary>
18+
public GatewayResiliencyInformation()
19+
{
20+
CustomInit();
21+
}
22+
23+
/// <summary>
24+
/// Initializes a new instance of the GatewayResiliencyInformation class.
25+
/// </summary>
26+
27+
/// <param name="overallScore">Current Resiliency Score for the gateway
28+
/// </param>
29+
30+
/// <param name="scoreChange">Update in the Resiliency Score for the gateway from the last computed score
31+
/// </param>
32+
33+
/// <param name="minScoreFromRecommendations">Minimum increase expected in the score if the at least one of the
34+
/// recommendations is applied for the gateway
35+
/// </param>
36+
37+
/// <param name="maxScoreFromRecommendations">Maximum increase expected in the score if all of the recommendations are
38+
/// applied for the gateway
39+
/// </param>
40+
41+
/// <param name="lastComputedTime">Timestamp denoting the last time when the resiliency score was computed for
42+
/// the gateway
43+
/// </param>
44+
45+
/// <param name="nextEligibleComputeTime">Timestamp denoting the next eligible time to re-compute the resiliency
46+
/// score for the gateway
47+
/// </param>
48+
49+
/// <param name="components">List of Resiliency based Recommendation Components for the gateway
50+
/// </param>
51+
public GatewayResiliencyInformation(string overallScore = default(string), string scoreChange = default(string), string minScoreFromRecommendations = default(string), string maxScoreFromRecommendations = default(string), string lastComputedTime = default(string), string nextEligibleComputeTime = default(string), System.Collections.Generic.IList<ResiliencyRecommendationComponents> components = default(System.Collections.Generic.IList<ResiliencyRecommendationComponents>))
52+
53+
{
54+
this.OverallScore = overallScore;
55+
this.ScoreChange = scoreChange;
56+
this.MinScoreFromRecommendations = minScoreFromRecommendations;
57+
this.MaxScoreFromRecommendations = maxScoreFromRecommendations;
58+
this.LastComputedTime = lastComputedTime;
59+
this.NextEligibleComputeTime = nextEligibleComputeTime;
60+
this.Components = components;
61+
CustomInit();
62+
}
63+
64+
/// <summary>
65+
/// An initialization method that performs custom operations like setting defaults
66+
/// </summary>
67+
partial void CustomInit();
68+
69+
70+
/// <summary>
71+
/// Gets or sets current Resiliency Score for the gateway
72+
/// </summary>
73+
[Newtonsoft.Json.JsonProperty(PropertyName = "overallScore")]
74+
public string OverallScore {get; set; }
75+
76+
/// <summary>
77+
/// Gets or sets update in the Resiliency Score for the gateway from the last
78+
/// computed score
79+
/// </summary>
80+
[Newtonsoft.Json.JsonProperty(PropertyName = "scoreChange")]
81+
public string ScoreChange {get; set; }
82+
83+
/// <summary>
84+
/// Gets or sets minimum increase expected in the score if the at least one of
85+
/// the recommendations is applied for the gateway
86+
/// </summary>
87+
[Newtonsoft.Json.JsonProperty(PropertyName = "minScoreFromRecommendations")]
88+
public string MinScoreFromRecommendations {get; set; }
89+
90+
/// <summary>
91+
/// Gets or sets maximum increase expected in the score if all of the
92+
/// recommendations are applied for the gateway
93+
/// </summary>
94+
[Newtonsoft.Json.JsonProperty(PropertyName = "maxScoreFromRecommendations")]
95+
public string MaxScoreFromRecommendations {get; set; }
96+
97+
/// <summary>
98+
/// Gets or sets timestamp denoting the last time when the resiliency score was
99+
/// computed for the gateway
100+
/// </summary>
101+
[Newtonsoft.Json.JsonProperty(PropertyName = "lastComputedTime")]
102+
public string LastComputedTime {get; set; }
103+
104+
/// <summary>
105+
/// Gets or sets timestamp denoting the next eligible time to re-compute the
106+
/// resiliency score for the gateway
107+
/// </summary>
108+
[Newtonsoft.Json.JsonProperty(PropertyName = "nextEligibleComputeTime")]
109+
public string NextEligibleComputeTime {get; set; }
110+
111+
/// <summary>
112+
/// Gets or sets list of Resiliency based Recommendation Components for the
113+
/// gateway
114+
/// </summary>
115+
[Newtonsoft.Json.JsonProperty(PropertyName = "components")]
116+
public System.Collections.Generic.IList<ResiliencyRecommendationComponents> Components {get; set; }
117+
}
118+
}
Lines changed: 99 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,99 @@
1+
// Copyright (c) Microsoft Corporation. All rights reserved.
2+
// Licensed under the MIT License. See License.txt in the project root for license information.
3+
// Code generated by Microsoft (R) AutoRest Code Generator.
4+
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
5+
6+
namespace Microsoft.Azure.Management.Network.Models
7+
{
8+
using System.Linq;
9+
10+
/// <summary>
11+
/// Resiliency Recommendation details
12+
/// </summary>
13+
public partial class GatewayResiliencyRecommendation
14+
{
15+
/// <summary>
16+
/// Initializes a new instance of the GatewayResiliencyRecommendation class.
17+
/// </summary>
18+
public GatewayResiliencyRecommendation()
19+
{
20+
CustomInit();
21+
}
22+
23+
/// <summary>
24+
/// Initializes a new instance of the GatewayResiliencyRecommendation class.
25+
/// </summary>
26+
27+
/// <param name="recommendationTitle">Recommendation Title
28+
/// </param>
29+
30+
/// <param name="recommendationId">Recommendation Id
31+
/// </param>
32+
33+
/// <param name="severity">Impact associated with the recommendation
34+
/// </param>
35+
36+
/// <param name="recommendationText">Recommendation details
37+
/// </param>
38+
39+
/// <param name="callToActionText">Acton items to apply the recommendation
40+
/// </param>
41+
42+
/// <param name="callToActionLink">Link to the public documentation for the associated recommendation
43+
/// </param>
44+
public GatewayResiliencyRecommendation(string recommendationTitle = default(string), string recommendationId = default(string), string severity = default(string), string recommendationText = default(string), string callToActionText = default(string), string callToActionLink = default(string))
45+
46+
{
47+
this.RecommendationTitle = recommendationTitle;
48+
this.RecommendationId = recommendationId;
49+
this.Severity = severity;
50+
this.RecommendationText = recommendationText;
51+
this.CallToActionText = callToActionText;
52+
this.CallToActionLink = callToActionLink;
53+
CustomInit();
54+
}
55+
56+
/// <summary>
57+
/// An initialization method that performs custom operations like setting defaults
58+
/// </summary>
59+
partial void CustomInit();
60+
61+
62+
/// <summary>
63+
/// Gets or sets recommendation Title
64+
/// </summary>
65+
[Newtonsoft.Json.JsonProperty(PropertyName = "recommendationTitle")]
66+
public string RecommendationTitle {get; set; }
67+
68+
/// <summary>
69+
/// Gets or sets recommendation Id
70+
/// </summary>
71+
[Newtonsoft.Json.JsonProperty(PropertyName = "recommendationId")]
72+
public string RecommendationId {get; set; }
73+
74+
/// <summary>
75+
/// Gets or sets impact associated with the recommendation
76+
/// </summary>
77+
[Newtonsoft.Json.JsonProperty(PropertyName = "severity")]
78+
public string Severity {get; set; }
79+
80+
/// <summary>
81+
/// Gets or sets recommendation details
82+
/// </summary>
83+
[Newtonsoft.Json.JsonProperty(PropertyName = "recommendationText")]
84+
public string RecommendationText {get; set; }
85+
86+
/// <summary>
87+
/// Gets or sets acton items to apply the recommendation
88+
/// </summary>
89+
[Newtonsoft.Json.JsonProperty(PropertyName = "callToActionText")]
90+
public string CallToActionText {get; set; }
91+
92+
/// <summary>
93+
/// Gets or sets link to the public documentation for the associated
94+
/// recommendation
95+
/// </summary>
96+
[Newtonsoft.Json.JsonProperty(PropertyName = "callToActionLink")]
97+
public string CallToActionLink {get; set; }
98+
}
99+
}
Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
// Copyright (c) Microsoft Corporation. All rights reserved.
2+
// Licensed under the MIT License. See License.txt in the project root for license information.
3+
// Code generated by Microsoft (R) AutoRest Code Generator.
4+
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
5+
6+
namespace Microsoft.Azure.Management.Network.Models
7+
{
8+
using System.Linq;
9+
10+
public partial class GatewayRouteSet
11+
{
12+
/// <summary>
13+
/// Initializes a new instance of the GatewayRouteSet class.
14+
/// </summary>
15+
public GatewayRouteSet()
16+
{
17+
CustomInit();
18+
}
19+
20+
/// <summary>
21+
/// Initializes a new instance of the GatewayRouteSet class.
22+
/// </summary>
23+
24+
/// <param name="name">Route Set name
25+
/// </param>
26+
27+
/// <param name="locations">List of different locations from where the routes are learned
28+
/// </param>
29+
30+
/// <param name="details">List of different Route Sources
31+
/// </param>
32+
public GatewayRouteSet(string name = default(string), System.Collections.Generic.IList<string> locations = default(System.Collections.Generic.IList<string>), System.Collections.Generic.IDictionary<string, System.Collections.Generic.IList<RouteSourceDetails>> details = default(System.Collections.Generic.IDictionary<string, System.Collections.Generic.IList<RouteSourceDetails>>))
33+
34+
{
35+
this.Name = name;
36+
this.Locations = locations;
37+
this.Details = details;
38+
CustomInit();
39+
}
40+
41+
/// <summary>
42+
/// An initialization method that performs custom operations like setting defaults
43+
/// </summary>
44+
partial void CustomInit();
45+
46+
47+
/// <summary>
48+
/// Gets or sets route Set name
49+
/// </summary>
50+
[Newtonsoft.Json.JsonProperty(PropertyName = "name")]
51+
public string Name {get; set; }
52+
53+
/// <summary>
54+
/// Gets or sets list of different locations from where the routes are learned
55+
/// </summary>
56+
[Newtonsoft.Json.JsonProperty(PropertyName = "locations")]
57+
public System.Collections.Generic.IList<string> Locations {get; set; }
58+
59+
/// <summary>
60+
/// Gets or sets list of different Route Sources
61+
/// </summary>
62+
[Newtonsoft.Json.JsonProperty(PropertyName = "details")]
63+
public System.Collections.Generic.IDictionary<string, System.Collections.Generic.IList<RouteSourceDetails>> Details {get; set; }
64+
}
65+
}

0 commit comments

Comments
 (0)