-
Notifications
You must be signed in to change notification settings - Fork 4.1k
PS Development for UDR and NSG Management #25810
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 2 commits
Commits
Show all changes
57 commits
Select commit
Hold shift + click to select a range
d0338ec
Base commit
ankursood23 ba7fcb2
Update to the base commit
ankursood23 3649637
Support for MemberType in NG cmdlet
ankursood23 c55484e
Resolving comments
ankursood23 7a86a5c
Cleanup help files
ankursood23 4ee3d4d
Readme file changes for Routing and NSG
ankursood23 6295a40
Merge branch 'release-network-2024-03-01' into ankursood/psUdrNsgDev
ankursood23 89b4438
Update README.md
ankursood23 d770063
Merge branch 'ankursood/psUdrNsgDev' of https://github.com/ankursood2…
ankursood23 116abdd
Resolving PR comments
ankursood23 fecae23
Update NetworkManagerTests.ps1
ankursood23 95f2958
Update NetworkManagerTests.ps1
ankursood23 2e4b694
Update NetworkManagerTests.ps1
ankursood23 ec04fe4
Update README.md
ankursood23 556e98d
Committing generated files
ankursood23 63866e2
Commit more gen files
ankursood23 ef37722
Commit more gen files
ankursood23 7338c78
Yet more gen files
ankursood23 64f686a
Update NetworkManagementClient.cs
ankursood23 cbd28bd
Update
ankursood23 5ca79ab
Help file updates
ankursood23 2d8beb1
Help file updates
ankursood23 61cef6b
Fix for failing checks
ankursood23 bd4e6de
Commit recording files
ankursood23 4955392
Merge branch 'release-network-2024-03-01' into ankursood/psUdrNsgDev
ankursood23 edc8504
Update to fix checks
ankursood23 87620a5
Merge branch 'ankursood/psUdrNsgDev' of https://github.com/ankursood2…
ankursood23 19ebad2
Update New-AzNetworkManagerRoutingRuleNextHop.md
ankursood23 2b39a67
Update
ankursood23 36a38e3
Update SignatureIssues.csv
ankursood23 b437e8f
Update SignatureIssues.csv
ankursood23 ded6b6f
Update New-AzNetworkManagerRoutingRuleNextHop.md
ankursood23 97b4583
Update collection property
ankursood23 3dee5aa
Update session recording files
ankursood23 41bfe4d
Merge branch 'release-network-2024-03-01' into ankursood/psUdrNsgDev
ankursood23 ab005cf
Update to test file
ankursood23 76a9960
Merge branch 'ankursood/psUdrNsgDev' of https://github.com/ankursood2…
ankursood23 b2c7420
Updating session record files
ankursood23 dc3eefa
Update
ankursood23 36eccb7
Update ChangeLog.md
msJinLei a093560
Resolving routing related PR comments
ankursood23 9a4c3d9
Resolving PR comments for NSG
ankursood23 a5fcb4d
Update test file
ankursood23 52763bc
Merge branch 'main' into network
f2e958f
Update help docs of Az.Network
a6a8696
Update
ankursood23 38f0efe
Merge branch 'ankursood/psUdrNsgDev' of https://github.com/ankursood2…
ankursood23 aa97f06
Reverting the previous change
ankursood23 9ff2103
Update to Get- and Set- cmdlets for Routing
ankursood23 d76978e
Update to routing commands
ankursood23 2892a8b
Updating routing cmdlets with Description
ankursood23 7bcf74a
Security User command updates
ankursood23 adfe271
Update security user command
ankursood23 e607f44
Minor update
ankursood23 e7898e8
Update with additional options and parameter set
ankursood23 46277f0
Merge branch 'main' into ankursood/psUdrNsgDev
ankursood23 f975a3c
Update the help doc of Az.Network
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
271 changes: 271 additions & 0 deletions
271
src/Network/Network.Test/ScenarioTests/NetworkManagerTests.ps1
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 28 additions & 0 deletions
28
src/Network/Network/Models/NetworkManager/PSNetworkManagerRoutingConfiguration.cs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
// | ||
// Copyright (c) Microsoft. All rights reserved. | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// http://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
// | ||
|
||
|
||
namespace Microsoft.Azure.Commands.Network.Models.NetworkManager | ||
{ | ||
using System.Collections; | ||
using System.Collections.Generic; | ||
using Newtonsoft.Json; | ||
using WindowsAzure.Commands.Common.Attributes; | ||
|
||
public class PSNetworkManagerRoutingConfiguration : PSNetworkManagerBaseResource | ||
{ | ||
public string NetworkManagerName { get; set; } | ||
} | ||
} |
9 changes: 9 additions & 0 deletions
9
src/Network/Network/Models/NetworkManager/PSNetworkManagerRoutingGroupItem.cs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
using Newtonsoft.Json; | ||
|
||
namespace Microsoft.Azure.Commands.Network.Models.NetworkManager | ||
{ | ||
public class PSNetworkManagerRoutingGroupItem | ||
{ | ||
public string NetworkGroupId { get; set; } | ||
} | ||
} |
37 changes: 37 additions & 0 deletions
37
src/Network/Network/Models/NetworkManager/PSNetworkManagerRoutingRule.cs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
// | ||
// Copyright (c) Microsoft. All rights reserved. | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// http://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
// | ||
|
||
|
||
namespace Microsoft.Azure.Commands.Network.Models.NetworkManager | ||
{ | ||
using Microsoft.Azure.Management.Network.Models; | ||
using Newtonsoft.Json; | ||
using System.Collections; | ||
using System.Collections.Generic; | ||
using WindowsAzure.Commands.Common.Attributes; | ||
|
||
public class PSNetworkManagerRoutingRule : PSNetworkManagerBaseResource | ||
{ | ||
public PSNetworkManagerRoutingRuleDestination Destination { get; set; } | ||
|
||
public PSNetworkManagerRoutingRuleNextHop NextHop { get; set; } | ||
|
||
public string NetworkManagerName { get; set; } | ||
|
||
public string RoutingConfigurationName { get; set; } | ||
|
||
public string RuleCollectionName { get; set; } | ||
} | ||
} |
39 changes: 39 additions & 0 deletions
39
src/Network/Network/Models/NetworkManager/PSNetworkManagerRoutingRuleCollection.cs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
// | ||
// Copyright (c) Microsoft. All rights reserved. | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// http://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
// | ||
|
||
|
||
namespace Microsoft.Azure.Commands.Network.Models.NetworkManager | ||
{ | ||
using Newtonsoft.Json; | ||
using System.Collections.Generic; | ||
using System.Management.Automation; | ||
|
||
public class PSNetworkManagerRoutingRuleCollection : PSNetworkManagerBaseResource | ||
{ | ||
public string NetworkManagerName { get; set; } | ||
public string RoutingConfigurationName { get; set; } | ||
|
||
[JsonProperty(Order = 1)] | ||
public IList<PSNetworkManagerRoutingGroupItem> AppliesTo { get; set; } | ||
|
||
public SwitchParameter DisableBgpRoutePropagation { get; set; } | ||
|
||
[JsonIgnore] | ||
public string AppliesToText | ||
{ | ||
get { return JsonConvert.SerializeObject(AppliesTo, Formatting.Indented, new JsonSerializerSettings() { NullValueHandling = NullValueHandling.Ignore }); } | ||
} | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
src/Network/Network/Models/NetworkManager/PSNetworkManagerRoutingRuleDestination.cs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
using Microsoft.Azure.Management.Network.Models; | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Text; | ||
|
||
namespace Microsoft.Azure.Commands.Network.Models.NetworkManager | ||
{ | ||
public class PSNetworkManagerRoutingRuleDestination | ||
{ | ||
public string DestinationAddress { get; set; } | ||
|
||
public string Type { get; set; } | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
src/Network/Network/Models/NetworkManager/PSNetworkManagerRoutingRuleNextHop.cs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
using Microsoft.Azure.Management.Network.Models; | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Text; | ||
|
||
namespace Microsoft.Azure.Commands.Network.Models.NetworkManager | ||
{ | ||
public class PSNetworkManagerRoutingRuleNextHop | ||
{ | ||
public string NextHopAddress { get; set; } | ||
|
||
public string NextHopType { get; set; } | ||
} | ||
} |
28 changes: 28 additions & 0 deletions
28
src/Network/Network/Models/NetworkManager/PSNetworkManagerSecurityUserConfiguration.cs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
// | ||
// Copyright (c) Microsoft. All rights reserved. | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// http://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
// | ||
|
||
|
||
namespace Microsoft.Azure.Commands.Network.Models.NetworkManager | ||
{ | ||
using System.Collections; | ||
using System.Collections.Generic; | ||
using Newtonsoft.Json; | ||
using WindowsAzure.Commands.Common.Attributes; | ||
|
||
public class PSNetworkManagerSecurityUserConfiguration : PSNetworkManagerBaseResource | ||
{ | ||
public string NetworkManagerName { get; set; } | ||
} | ||
} |
9 changes: 9 additions & 0 deletions
9
src/Network/Network/Models/NetworkManager/PSNetworkManagerSecurityUserGroupItem.cs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
using Newtonsoft.Json; | ||
|
||
namespace Microsoft.Azure.Commands.Network.Models.NetworkManager | ||
{ | ||
public class PSNetworkManagerSecurityUserGroupItem | ||
{ | ||
public string NetworkGroupId { get; set; } | ||
} | ||
} |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.