Skip to content

Commit c0731e4

Browse files
ankursood23msJinLeiLei Jin
authored
PS Development for UDR and NSG Management (#25810)
* Base commit * Update to the base commit * Support for MemberType in NG cmdlet * Resolving comments * Cleanup help files * Readme file changes for Routing and NSG * Update README.md * Resolving PR comments * Update NetworkManagerTests.ps1 * Update NetworkManagerTests.ps1 * Update NetworkManagerTests.ps1 * Update README.md * Committing generated files * Commit more gen files * Commit more gen files * Yet more gen files * Update NetworkManagementClient.cs * Update * Help file updates * Help file updates * Fix for failing checks * Commit recording files * Update to fix checks * Update New-AzNetworkManagerRoutingRuleNextHop.md * Update * Update SignatureIssues.csv * Update SignatureIssues.csv * Update New-AzNetworkManagerRoutingRuleNextHop.md * Update collection property * Update session recording files * Update to test file * Updating session record files * Update * Update ChangeLog.md * Resolving routing related PR comments * Resolving PR comments for NSG * Update test file * Update help docs of Az.Network * Update * Reverting the previous change * Update to Get- and Set- cmdlets for Routing * Update to routing commands * Updating routing cmdlets with Description * Security User command updates * Update security user command * Minor update * Update with additional options and parameter set * Update the help doc of Az.Network --------- Co-authored-by: Jin Lei <[email protected]> Co-authored-by: Lei Jin <[email protected]>
1 parent 513d6c0 commit c0731e4

File tree

145 files changed

+43113
-3385
lines changed

Some content is hidden

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

145 files changed

+43113
-3385
lines changed

src/Accounts/Accounts/Utilities/CommandMappings.json

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4600,6 +4600,12 @@
46004600
"Get-AzNetworkManagerSecurityAdminConfiguration": {},
46014601
"Get-AzNetworkManagerSecurityAdminRule": {},
46024602
"Get-AzNetworkManagerSecurityAdminRuleCollection": {},
4603+
"Get-AzNetworkManagerRoutingConfiguration": {},
4604+
"Get-AzNetworkManagerRoutingRule": {},
4605+
"Get-AzNetworkManagerRoutingRuleCollection": {},
4606+
"Get-AzNetworkManagerSecurityUserConfiguration": {},
4607+
"Get-AzNetworkManagerSecurityUserRule": {},
4608+
"Get-AzNetworkManagerSecurityUserRuleCollection": {},
46034609
"Get-AzNetworkManagerStaticMember": {},
46044610
"Get-AzNetworkManagerSubscriptionConnection": {},
46054611
"Get-AzNetworkProfile": {},
@@ -4820,6 +4826,8 @@
48204826
"New-AzNetworkInterfaceIpConfig": {},
48214827
"New-AzNetworkManager": {},
48224828
"New-AzNetworkManagerAddressPrefixItem": {},
4829+
"New-AzNetworkManagerRoutingRuleDestination": {},
4830+
"New-AzNetworkManagerRoutingRuleNextHop": {},
48234831
"New-AzNetworkManagerConnectivityConfiguration": {},
48244832
"New-AzNetworkManagerConnectivityGroupItem": {},
48254833
"New-AzNetworkManagerGroup": {},
@@ -4830,7 +4838,14 @@
48304838
"New-AzNetworkManagerSecurityAdminConfiguration": {},
48314839
"New-AzNetworkManagerSecurityAdminRule": {},
48324840
"New-AzNetworkManagerSecurityAdminRuleCollection": {},
4841+
"New-AzNetworkManagerRoutingConfiguration": {},
4842+
"New-AzNetworkManagerRoutingRule": {},
4843+
"New-AzNetworkManagerRoutingRuleCollection": {},
48334844
"New-AzNetworkManagerSecurityGroupItem": {},
4845+
"New-AzNetworkManagerSecurityUserConfiguration": {},
4846+
"New-AzNetworkManagerSecurityUserRule": {},
4847+
"New-AzNetworkManagerSecurityUserRuleCollection": {},
4848+
"New-AzNetworkManagerSecurityUserGroupItem": {},
48344849
"New-AzNetworkManagerStaticMember": {},
48354850
"New-AzNetworkManagerSubscriptionConnection": {},
48364851
"New-AzNetworkProfile": {},
@@ -4997,6 +5012,12 @@
49975012
"Remove-AzNetworkManagerSecurityAdminConfiguration": {},
49985013
"Remove-AzNetworkManagerSecurityAdminRule": {},
49995014
"Remove-AzNetworkManagerSecurityAdminRuleCollection": {},
5015+
"Remove-AzNetworkManagerRoutingConfiguration": {},
5016+
"Remove-AzNetworkManagerRoutingRule": {},
5017+
"Remove-AzNetworkManagerRoutingRuleCollection": {},
5018+
"Remove-AzNetworkManagerSecurityUserConfiguration": {},
5019+
"Remove-AzNetworkManagerSecurityUserRule": {},
5020+
"Remove-AzNetworkManagerSecurityUserRuleCollection": {},
50005021
"Remove-AzNetworkManagerStaticMember": {},
50015022
"Remove-AzNetworkManagerSubscriptionConnection": {},
50025023
"Remove-AzNetworkProfile": {},
@@ -5131,6 +5152,12 @@
51315152
"Set-AzNetworkManagerSecurityAdminConfiguration": {},
51325153
"Set-AzNetworkManagerSecurityAdminRule": {},
51335154
"Set-AzNetworkManagerSecurityAdminRuleCollection": {},
5155+
"Set-AzNetworkManagerRoutingConfiguration": {},
5156+
"Set-AzNetworkManagerRoutingRule": {},
5157+
"Set-AzNetworkManagerRoutingRuleCollection": {},
5158+
"Set-AzNetworkManagerSecurityUserConfiguration": {},
5159+
"Set-AzNetworkManagerSecurityUserRule": {},
5160+
"Set-AzNetworkManagerSecurityUserRuleCollection": {},
51345161
"Set-AzNetworkManagerSubscriptionConnection": {},
51355162
"Set-AzNetworkProfile": {},
51365163
"Set-AzNetworkSecurityGroup": {},

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

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -407,6 +407,36 @@ public partial interface INetworkManagementClient : System.IDisposable
407407
/// </summary>
408408
IAdminRulesOperations AdminRules { get; }
409409

410+
/// <summary>
411+
/// Gets the INetworkManagerRoutingConfigurationsOperations
412+
/// </summary>
413+
INetworkManagerRoutingConfigurationsOperations NetworkManagerRoutingConfigurations { get; }
414+
415+
/// <summary>
416+
/// Gets the IRoutingRuleCollectionsOperations
417+
/// </summary>
418+
IRoutingRuleCollectionsOperations RoutingRuleCollections { get; }
419+
420+
/// <summary>
421+
/// Gets the IRoutingRulesOperations
422+
/// </summary>
423+
IRoutingRulesOperations RoutingRules { get; }
424+
425+
/// <summary>
426+
/// Gets the ISecurityUserConfigurationsOperations
427+
/// </summary>
428+
ISecurityUserConfigurationsOperations SecurityUserConfigurations { get; }
429+
430+
/// <summary>
431+
/// Gets the ISecurityUserRuleCollectionsOperations
432+
/// </summary>
433+
ISecurityUserRuleCollectionsOperations SecurityUserRuleCollections { get; }
434+
435+
/// <summary>
436+
/// Gets the ISecurityUserRulesOperations
437+
/// </summary>
438+
ISecurityUserRulesOperations SecurityUserRules { get; }
439+
410440
/// <summary>
411441
/// Gets the INetworkProfilesOperations
412442
/// </summary>
Lines changed: 203 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,203 @@
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
7+
{
8+
using Microsoft.Rest.Azure;
9+
using Models;
10+
11+
/// <summary>
12+
/// NetworkManagerRoutingConfigurationsOperations operations.
13+
/// </summary>
14+
public partial interface INetworkManagerRoutingConfigurationsOperations
15+
{
16+
/// <summary>
17+
/// Lists all the network manager routing configurations in a network manager,
18+
/// in a paginated format.
19+
/// </summary>
20+
/// <remarks>
21+
/// Lists all the network manager routing configurations in a network manager,
22+
/// in a paginated format.
23+
/// </remarks>
24+
/// <param name='resourceGroupName'>
25+
/// The name of the resource group. The name is case insensitive.
26+
/// </param>
27+
/// <param name='networkManagerName'>
28+
/// The name of the network manager.
29+
/// </param>
30+
/// <param name='top'>
31+
/// An optional query parameter which specifies the maximum number of records
32+
/// to be returned by the server.
33+
/// </param>
34+
/// <param name='skipToken'>
35+
/// SkipToken is only used if a previous operation returned a partial result.
36+
/// If a previous response contains a nextLink element, the value of the
37+
/// nextLink element will include a skipToken parameter that specifies a
38+
/// starting point to use for subsequent calls.
39+
/// </param>
40+
/// <param name='customHeaders'>
41+
/// The headers that will be added to request.
42+
/// </param>
43+
/// <param name='cancellationToken'>
44+
/// The cancellation token.
45+
/// </param>
46+
/// <exception cref="Microsoft.Rest.Azure.CloudException">
47+
/// Thrown when the operation returned an invalid status code
48+
/// </exception>
49+
/// <exception cref="Microsoft.Rest.SerializationException">
50+
/// Thrown when unable to deserialize the response
51+
/// </exception>
52+
System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Rest.Azure.IPage<NetworkManagerRoutingConfiguration>>> ListWithHttpMessagesAsync(string resourceGroupName, string networkManagerName, int? top = default(int?), string skipToken = default(string), System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
53+
54+
/// <summary>
55+
/// Retrieves a network manager routing configuration.
56+
/// </summary>
57+
/// <remarks>
58+
/// Retrieves a network manager routing configuration.
59+
/// </remarks>
60+
/// <param name='resourceGroupName'>
61+
/// The name of the resource group. The name is case insensitive.
62+
/// </param>
63+
/// <param name='networkManagerName'>
64+
/// The name of the network manager.
65+
/// </param>
66+
/// <param name='configurationName'>
67+
/// The name of the network manager Routing Configuration.
68+
/// </param>
69+
/// <param name='customHeaders'>
70+
/// The headers that will be added to request.
71+
/// </param>
72+
/// <param name='cancellationToken'>
73+
/// The cancellation token.
74+
/// </param>
75+
/// <exception cref="Microsoft.Rest.Azure.CloudException">
76+
/// Thrown when the operation returned an invalid status code
77+
/// </exception>
78+
/// <exception cref="Microsoft.Rest.SerializationException">
79+
/// Thrown when unable to deserialize the response
80+
/// </exception>
81+
System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<NetworkManagerRoutingConfiguration>> GetWithHttpMessagesAsync(string resourceGroupName, string networkManagerName, string configurationName, System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
82+
83+
/// <summary>
84+
/// Creates or updates a network manager routing configuration.
85+
/// </summary>
86+
/// <remarks>
87+
/// Creates or updates a network manager routing configuration.
88+
/// </remarks>
89+
/// <param name='resourceGroupName'>
90+
/// The name of the resource group. The name is case insensitive.
91+
/// </param>
92+
/// <param name='networkManagerName'>
93+
/// The name of the network manager.
94+
/// </param>
95+
/// <param name='configurationName'>
96+
/// The name of the network manager Routing Configuration.
97+
/// </param>
98+
/// <param name='routingConfiguration'>
99+
/// The routing configuration to create or update
100+
/// </param>
101+
/// <param name='customHeaders'>
102+
/// The headers that will be added to request.
103+
/// </param>
104+
/// <param name='cancellationToken'>
105+
/// The cancellation token.
106+
/// </param>
107+
/// <exception cref="Microsoft.Rest.Azure.CloudException">
108+
/// Thrown when the operation returned an invalid status code
109+
/// </exception>
110+
/// <exception cref="Microsoft.Rest.SerializationException">
111+
/// Thrown when unable to deserialize the response
112+
/// </exception>
113+
System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<NetworkManagerRoutingConfiguration>> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string networkManagerName, string configurationName, NetworkManagerRoutingConfiguration routingConfiguration, System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
114+
115+
/// <summary>
116+
/// Deletes a network manager routing configuration.
117+
/// </summary>
118+
/// <remarks>
119+
/// Deletes a network manager routing configuration.
120+
/// </remarks>
121+
/// <param name='resourceGroupName'>
122+
/// The name of the resource group. The name is case insensitive.
123+
/// </param>
124+
/// <param name='networkManagerName'>
125+
/// The name of the network manager.
126+
/// </param>
127+
/// <param name='configurationName'>
128+
/// The name of the network manager Routing Configuration.
129+
/// </param>
130+
/// <param name='force'>
131+
/// Deletes the resource even if it is part of a deployed configuration. If the
132+
/// configuration has been deployed, the service will do a cleanup deployment
133+
/// in the background, prior to the delete.
134+
/// </param>
135+
/// <param name='customHeaders'>
136+
/// The headers that will be added to request.
137+
/// </param>
138+
/// <param name='cancellationToken'>
139+
/// The cancellation token.
140+
/// </param>
141+
/// <exception cref="Microsoft.Rest.Azure.CloudException">
142+
/// Thrown when the operation returned an invalid status code
143+
/// </exception>
144+
System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationHeaderResponse<NetworkManagerRoutingConfigurationsDeleteHeaders>> DeleteWithHttpMessagesAsync(string resourceGroupName, string networkManagerName, string configurationName, bool? force = default(bool?), System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
145+
146+
/// <summary>
147+
/// Deletes a network manager routing configuration.
148+
/// </summary>
149+
/// <remarks>
150+
/// Deletes a network manager routing configuration.
151+
/// </remarks>
152+
/// <param name='resourceGroupName'>
153+
/// The name of the resource group. The name is case insensitive.
154+
/// </param>
155+
/// <param name='networkManagerName'>
156+
/// The name of the network manager.
157+
/// </param>
158+
/// <param name='configurationName'>
159+
/// The name of the network manager Routing Configuration.
160+
/// </param>
161+
/// <param name='force'>
162+
/// Deletes the resource even if it is part of a deployed configuration. If the
163+
/// configuration has been deployed, the service will do a cleanup deployment
164+
/// in the background, prior to the delete.
165+
/// </param>
166+
/// <param name='customHeaders'>
167+
/// The headers that will be added to request.
168+
/// </param>
169+
/// <param name='cancellationToken'>
170+
/// The cancellation token.
171+
/// </param>
172+
/// <exception cref="Microsoft.Rest.Azure.CloudException">
173+
/// Thrown when the operation returned an invalid status code
174+
/// </exception>
175+
System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationHeaderResponse<NetworkManagerRoutingConfigurationsDeleteHeaders>> BeginDeleteWithHttpMessagesAsync(string resourceGroupName, string networkManagerName, string configurationName, bool? force = default(bool?), System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
176+
177+
/// <summary>
178+
/// Lists all the network manager routing configurations in a network manager,
179+
/// in a paginated format.
180+
/// </summary>
181+
/// <remarks>
182+
/// Lists all the network manager routing configurations in a network manager,
183+
/// in a paginated format.
184+
/// </remarks>
185+
/// <param name='nextPageLink'>
186+
/// The NextLink from the previous successful call to List operation.
187+
/// </param>
188+
/// <param name='customHeaders'>
189+
/// The headers that will be added to request.
190+
/// </param>
191+
/// <param name='cancellationToken'>
192+
/// The cancellation token.
193+
/// </param>
194+
/// <exception cref="Microsoft.Rest.Azure.CloudException">
195+
/// Thrown when the operation returned an invalid status code
196+
/// </exception>
197+
/// <exception cref="Microsoft.Rest.SerializationException">
198+
/// Thrown when unable to deserialize the response
199+
/// </exception>
200+
System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Rest.Azure.IPage<NetworkManagerRoutingConfiguration>>> ListNextWithHttpMessagesAsync(string nextPageLink, System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
201+
202+
}
203+
}

0 commit comments

Comments
 (0)