-
Notifications
You must be signed in to change notification settings - Fork 4k
Adding support for security provider integration in cortex cmdlets. #7261
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
Adding support for security provider integration in cortex cmdlets. #7261
Conversation
Powershell document review: https://github.com/Azure/azure-powershell-cmdlet-review-pr/issues/123 |
Can one of the admins verify this patch? |
@azuresdkci Add to whitelist |
...Commands.Network/Cortex/HubVnetConnection/UpdateAzureRmHubVirtualNetworkConnectionCommand.cs
Outdated
Show resolved
Hide resolved
|
||
[Alias("VirtualHubName", "ParentVirtualHubName")] | ||
[Parameter( | ||
Mandatory = false, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be mandatory
...Commands.Network/Cortex/HubVnetConnection/UpdateAzureRmHubVirtualNetworkConnectionCommand.cs
Outdated
Show resolved
Hide resolved
...Commands.Network/Cortex/HubVnetConnection/UpdateAzureRmHubVirtualNetworkConnectionCommand.cs
Outdated
Show resolved
Hide resolved
public override void Execute() | ||
{ | ||
base.Execute(); | ||
WriteWarning("The output object type of this cmdlet will be modified in a future release."); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove this line
...Commands.Network/Cortex/HubVnetConnection/UpdateAzureRmHubVirtualNetworkConnectionCommand.cs
Outdated
Show resolved
Hide resolved
src/ResourceManager/Network/Commands.Network/Cortex/VirtualWan/NewAzureRmVirtualWanCommand.cs
Outdated
Show resolved
Hide resolved
...ourceManager/Network/Commands.Network/help/Get-AzureRmVirtualWanSupportedSecurityProvider.md
Show resolved
Hide resolved
...Commands.Network/Cortex/HubVnetConnection/UpdateAzureRmHubVirtualNetworkConnectionCommand.cs
Outdated
Show resolved
Hide resolved
@nalinrajgupta Please ping me when you are ready for me to take another look. |
@maddieclayton : I've resolved all comments, can you please take a look ? |
src/ResourceManager/Network/Commands.Network.Test/ScenarioTests/CortexTests.ps1
Outdated
Show resolved
Hide resolved
...Commands.Network/Cortex/HubVnetConnection/UpdateAzureRmHubVirtualNetworkConnectionCommand.cs
Outdated
Show resolved
Hide resolved
@nalinrajgupta One small comment, then once the test is rerecorded we can merge. |
@nalinrajgupta Please ping me when you get this test recording in, and I'll take a final look. |
@maddieclayton : I've resolved all comments and recorded tests also. Can you please take a look ? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Two very small comment I didn't catch next time, then this is ready to go.
...k/Commands.Network/Cortex/VirtualWan/GetAzureRmVirtualWanSupportedSecurityProviderCommand.cs
Outdated
Show resolved
Hide resolved
src/ResourceManager/Network/Commands.Network/help/Update-AzureRmVirtualHubVnetConnection.md
Outdated
Show resolved
Hide resolved
...Commands.Network/Cortex/HubVnetConnection/UpdateAzureRmHubVirtualNetworkConnectionCommand.cs
Outdated
Show resolved
Hide resolved
@maddieclayton : Can you please approve the PR ? All validations has passed now. |
@nalinrajgupta Can you regenerate the help files one more time? It looks like the Update-AzureRmVirtualHubVnetConnection parameter sets are wrong (InputObject is optional, ResourceId is optional), but it's correct in the actual cs file. That's my only remaining comment. |
Description
Adding support for security provider integration in cortext.
Customer can provide SecurityProviderName and Offic365LocalBreakoutCategory when creating/updating VirtualWan object.
Customer can also provide/update EnbleInternetSecurity flag in VpnConnection and VirtualHubVnetConnection.
Checklist
CONTRIBUTING.md
platyPS
module