Skip to content
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 resiliency model as an optional parameter on virtual network gateway for ExpressRoute #26485

Conversation

diagaval
Copy link
Contributor

@diagaval diagaval commented Oct 25, 2024

Description

Adding an optional property of Resiliency model on Virtual Network Gateway Create and Update commands for ExpressRoute. This is used to provide customers an option to maintain resiliency on the gateways for ExpressRoute setups.

Mandatory Checklist

  • SHOULD update ChangeLog.md file(s) appropriately
    • For SDK-based development mode, update src/{{SERVICE}}/{{SERVICE}}/ChangeLog.md.
      • A snippet outlining the change(s) made in the PR should be written under the ## Upcoming Release header in the past tense.
    • For autorest-based development mode, include the changelog in the PR description.
    • Should not change ChangeLog.md if no new release is required, such as fixing test case only.
  • SHOULD regenerate markdown help files if there is cmdlet API change. Instruction
  • SHOULD have proper test coverage for changes in pull request.
  • SHOULD NOT adjust version of module manually in pull request

Copy link

azure-client-tools-bot-prd bot commented Oct 25, 2024

️✔️Az.Accounts
️✔️Build
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Az.ApplicationInsights
️✔️Build
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Az.Batch
️✔️Build
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Test
️✔️ - Linux
️✔️ - MacOS
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Az.CognitiveServices
️✔️Build
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Test
️✔️ - Linux
️✔️ - MacOS
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Az.Compute
️✔️Build
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Test
️✔️ - Linux
️✔️ - MacOS
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Az.ContainerRegistry
️✔️Build
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Test
️✔️ - Linux
️✔️ - MacOS
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Az.CosmosDB
️✔️Build
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Test
️✔️ - Linux
️✔️ - MacOS
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Az.DataLakeStore
️✔️Build
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Test
️✔️ - Linux
️✔️ - MacOS
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Az.Dns
️✔️Build
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Test
️✔️ - Linux
️✔️ - MacOS
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Az.EventHub
️✔️Build
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Test
️✔️ - Linux
️✔️ - MacOS
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
⚠️Az.KeyVault
️✔️Build
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
⚠️Test
⚠️ - Linux
Type Title Current Coverage Description
⚠️ Test Coverage Less Than 50% 22.09 % Test coverage for the module cannot be lower than 50%.
⚠️ - MacOS
Type Title Current Coverage Description
⚠️ Test Coverage Less Than 50% 22.09% Test coverage for the module cannot be lower than 50%.
⚠️PowerShell Core - Windows
Type Title Current Coverage Description
⚠️ Test Coverage Less Than 50% 22.09% Test coverage for the module cannot be lower than 50%.
⚠️Windows PowerShell - Windows
Type Title Current Coverage Description
⚠️ Test Coverage Less Than 50% 22.09% Test coverage for the module cannot be lower than 50%.
️✔️Az.ManagedServiceIdentity
️✔️Build
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
⚠️Az.Monitor
️✔️Build
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
⚠️Test
⚠️ - Linux
Type Title Current Coverage Description
⚠️ Test Coverage Less Than 50% 17.39 % Test coverage for the module cannot be lower than 50%.
⚠️ - MacOS
Type Title Current Coverage Description
⚠️ Test Coverage Less Than 50% 17.39% Test coverage for the module cannot be lower than 50%.
⚠️PowerShell Core - Windows
Type Title Current Coverage Description
⚠️ Test Coverage Less Than 50% 17.39% Test coverage for the module cannot be lower than 50%.
⚠️Windows PowerShell - Windows
Type Title Current Coverage Description
⚠️ Test Coverage Less Than 50% 17.39% Test coverage for the module cannot be lower than 50%.
⚠️Az.NetAppFiles
️✔️Build
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
⚠️Test
⚠️ - Linux
Type Title Current Coverage Last Coverage Description
⚠️ Test Coverage Less Than 80% 77.92 % 78.87% Test coverage cannot be lower than the number of the last release.
⚠️ - MacOS
Type Title Current Coverage Last Coverage Description
⚠️ Test Coverage Less Than 80% 77.92% 78.87% Test coverage cannot be lower than the number of the last release.
⚠️PowerShell Core - Windows
Type Title Current Coverage Last Coverage Description
⚠️ Test Coverage Less Than 80% 77.92% 78.87% Test coverage cannot be lower than the number of the last release.
⚠️Windows PowerShell - Windows
Type Title Current Coverage Last Coverage Description
⚠️ Test Coverage Less Than 80% 77.92% 78.87% Test coverage cannot be lower than the number of the last release.
⚠️Az.Network
️✔️Build
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Breaking Change Check
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Signature Check
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
⚠️Help Example Check
⚠️PowerShell Core - Windows
Type Cmdlet Example Line RuleName Description Extent Remediation
⚠️ New-AzVirtualNetworkGateway 2 5 Unassigned_Variable New-AzVirtualNetwork -Subnet $subnet is a null-valued parameter value. -Subnet Assign value for $subnet.
⚠️ New-AzVirtualNetworkGateway 3 8 Unassigned_Variable New-AzVpnClientRootCertificate -Name $clientRootCertName is a null-valued parameter value. -Name Assign value for $clientRootCertName.
⚠️ New-AzVirtualNetworkGateway 3 8 Unassigned_Variable New-AzVpnClientRootCertificate -PublicCertData $samplePublicCertData is a null-valued parameter value. -PublicCertData Assign value for $samplePublicCertData.
⚠️ New-AzVirtualNetworkGateway 4 5 Unassigned_Variable New-AzVirtualNetwork -Subnet $subnet is a null-valued parameter value. -Subnet Assign value for $subnet.
⚠️ Set-AzVirtualNetworkGateway 7 5 Mismatched_Parameter_Value_Type Set-AzVirtualNetworkGateway -NatRule $vngNatRules.NatRules is not an expected parameter value type. -NatRule Use correct parameter value type. Expected Type is Microsoft.Azure.Commands.Network.Models.PSVirtualNetworkGatewayNatRule. Now the type is .(Command).
⚠️Windows PowerShell - Windows
Type Cmdlet Example Line RuleName Description Extent Remediation
⚠️ New-AzVirtualNetworkGateway 2 5 Unassigned_Variable New-AzVirtualNetwork -Subnet $subnet is a null-valued parameter value. -Subnet Assign value for $subnet.
⚠️ New-AzVirtualNetworkGateway 3 8 Unassigned_Variable New-AzVpnClientRootCertificate -Name $clientRootCertName is a null-valued parameter value. -Name Assign value for $clientRootCertName.
⚠️ New-AzVirtualNetworkGateway 3 8 Unassigned_Variable New-AzVpnClientRootCertificate -PublicCertData $samplePublicCertData is a null-valued parameter value. -PublicCertData Assign value for $samplePublicCertData.
⚠️ New-AzVirtualNetworkGateway 4 5 Unassigned_Variable New-AzVirtualNetwork -Subnet $subnet is a null-valued parameter value. -Subnet Assign value for $subnet.
⚠️ Set-AzVirtualNetworkGateway 7 5 Mismatched_Parameter_Value_Type Set-AzVirtualNetworkGateway -NatRule $vngNatRules.NatRules is not an expected parameter value type. -NatRule Use correct parameter value type. Expected Type is Microsoft.Azure.Commands.Network.Models.PSVirtualNetworkGatewayNatRule. Now the type is .(Command).
️✔️Help File Existence Check
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️File Change Check
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️UX Metadata Check
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Test
️✔️ - Linux
️✔️ - MacOS
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Az.OperationalInsights
️✔️Build
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Az.PrivateDns
️✔️Build
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Test
️✔️ - Linux
️✔️ - MacOS
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Az.RecoveryServices
️✔️Build
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Test
️✔️ - Linux
️✔️ - MacOS
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Az.Resources
️✔️Build
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Az.Security
️✔️Build
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Test
️✔️ - Linux
️✔️ - MacOS
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Az.ServiceBus
️✔️Build
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Test
️✔️ - Linux
️✔️ - MacOS
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Az.SignalR
️✔️Build
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Test
️✔️ - Linux
️✔️ - MacOS
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Az.Sql
️✔️Build
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Test
️✔️ - Linux
️✔️ - MacOS
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Az.Storage
️✔️Build
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Az.Websites
️✔️Build
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Test
️✔️ - Linux
️✔️ - MacOS
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows

@Nickcandy
Copy link
Contributor

/azp run azure-powershell - security-tools

Copy link
Contributor

Azure Pipelines successfully started running 1 pipeline(s).

@diagaval
Copy link
Contributor Author

Can I please get a review on this PR? We are hoping to merge these changes before the release. Thank you.

@diagaval
Copy link
Contributor Author

diagaval commented Oct 29, 2024

Do I create a new PR for this? I see that there are conflicts on the branch. @Nickcandy

@vidai-msft
Copy link
Contributor

@diagaval Please resolve the conflicts first.

@diagaval
Copy link
Contributor Author

diagaval commented Nov 1, 2024

Fixed the conflicts

@vidai-msft
Copy link
Contributor

/azp run azure-powershell - security-tools

Copy link
Contributor

Azure Pipelines successfully started running 1 pipeline(s).

@vidai-msft
Copy link
Contributor

@diagaval Please update the help doc.

Copy link

github-actions bot commented Nov 4, 2024

This PR was labeled "needs-revision" because it has unresolved review comments or CI failures.
Please resolve all open review comments and make sure all CI checks are green. Refer to our guide to troubleshoot common CI failures.

@diagaval
Copy link
Contributor Author

diagaval commented Nov 4, 2024

Fixed the helpdocs.

@diagaval
Copy link
Contributor Author

diagaval commented Nov 7, 2024

Can anyone please help review this change? Hoping to get this in as part of the 2024-05-01 release. Thanks

@vidai-msft
Copy link
Contributor

/azp run azure-powershell - security-tools

Copy link
Contributor

Azure Pipelines successfully started running 1 pipeline(s).

Copy link
Contributor

@vidai-msft vidai-msft left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@vidai-msft vidai-msft merged commit 726ecac into Azure:release-network-2024-05-01 Nov 8, 2024
13 checks passed
VeryEarly added a commit that referenced this pull request Dec 2, 2024
* [Network] - Add DefaultOutboundConnectivityEnabled property in PSNetworkInterface (#26512)

* [Network] - Add DefaultOutboundConnectivityEnabled property in PSNetworkInterface

* update changelog.md

* Azure Firewall Autoscale Configuration Support (#26257)

* Azure Firewall Autoscale Configuration Support

* Help files with new parameters

* add validation

* New cmdlets for IPAM, VnV, Vnet, and AVNM SA (#26345)

* new cmdlets

* Help docs for IPAM cmdlets

Update New-AzNetworkManagerIpamPoolStaticCidr.md

Update Set-AzNetworkManagerIpamPool.md

Update Remove-AzNetworkManagerIpamPoolStaticCidr.md

Update Remove-AzNetworkManagerIpamPool.md

Update New-AzNetworkManagerIpamPoolStaticCidr.md

Update New-AzNetworkManagerIpamPool.md

Update Get-AzNetworkManagerIpamPoolUsage.md

Update Get-AzNetworkManagerIpamPoolStaticCidr.md

Update Get-AzNetworkManagerIpamPool.md

Update Get-AzNetworkManagerIpamPoolUsage.md

Update Get-AzNetworkManagerIpamPool.md

update set ipam pool cmdlet help doc

updated help docs for new IPAM commands

update help docs for ipam remove cmdlets

update help docs for new Get cmdlets

fix new ipam pool static cidr requirement

* cmdlets for vnv

* adding UTs

* nomenclature fix

* debug

* mapping fix and inital help docs

* update some help docs

* NetworkManagerVerifierWorkspaceCRUD test

* add location

* update run crud

* Security admin config changes

* security rule update

* updating change log

* update for SA command

* Reachability Analysis Run Test

* all vnv tests working

* NetworkManagerVerifierWorkspaceCRUD test

* update run crud

* Security admin config changes

* security rule update

* updating change log

* update for SA command

* Reachability Analysis Run Test

* all vnv tests working

* Help Doc Update

nomenclature fix

mapping fix and inital help docs

add location

remaining help docs

fix change log

fix changelog pt 2

debug

update some help docs

* all SA and network manager tests running

* new commit to jumpstart the pipeline

* build issues

* add help doc online version links

* fix help doc header

* fix psd1 file

* updated scenario test for analysis result

* help doc fixes

* fixes for analyze plural param bug

* fix analyze example issue

* fix generated sdk bug

* add related links

* param rename for analyze job

* rerun build

* adding tag testing

* help doc update

* added list test coverage and combined all vnv crud into one run crud

* add and test tags for vnv

* update test file

* debug

* fix az

* add help documentation

* checking analysis result obj and added SA aggre prop to help doc

* adding all read only properties for run

* trying to get check running

* regenerated sdk and updated az.network

---------

Co-authored-by: Sonalli S Sharma <[email protected]>
Co-authored-by: sssharma24 <[email protected]>
Co-authored-by: NanxiangLiu <[email protected]>

* fix analysis run errors

* Ipam cmdlet bug fixes

* update help doc

* display error message to customer

* Adding resiliency model as an optional parameter on virtual network gateway for ExpressRoute (#26485)

* initial commit

* nit fixes

* nit fix

* Warning message updated

* updated help docs

---------

Co-authored-by: NanxiangLiu <[email protected]>

* Suppress false positive cred scan

---------

Co-authored-by: Vincent Dai <[email protected]>
Co-authored-by: phrazfipho <[email protected]>
Co-authored-by: Ben Eshed <[email protected]>
Co-authored-by: p-thompson <[email protected]>
Co-authored-by: Sonalli S Sharma <[email protected]>
Co-authored-by: sssharma24 <[email protected]>
Co-authored-by: NanxiangLiu <[email protected]>
Co-authored-by: p-thompson <[email protected]>
Co-authored-by: diagaval <[email protected]>
github-actions bot pushed a commit that referenced this pull request Dec 2, 2024
* [Network] - Add DefaultOutboundConnectivityEnabled property in PSNetworkInterface (#26512)

* [Network] - Add DefaultOutboundConnectivityEnabled property in PSNetworkInterface

* update changelog.md

* Azure Firewall Autoscale Configuration Support (#26257)

* Azure Firewall Autoscale Configuration Support

* Help files with new parameters

* add validation

* New cmdlets for IPAM, VnV, Vnet, and AVNM SA (#26345)

* new cmdlets

* Help docs for IPAM cmdlets

Update New-AzNetworkManagerIpamPoolStaticCidr.md

Update Set-AzNetworkManagerIpamPool.md

Update Remove-AzNetworkManagerIpamPoolStaticCidr.md

Update Remove-AzNetworkManagerIpamPool.md

Update New-AzNetworkManagerIpamPoolStaticCidr.md

Update New-AzNetworkManagerIpamPool.md

Update Get-AzNetworkManagerIpamPoolUsage.md

Update Get-AzNetworkManagerIpamPoolStaticCidr.md

Update Get-AzNetworkManagerIpamPool.md

Update Get-AzNetworkManagerIpamPoolUsage.md

Update Get-AzNetworkManagerIpamPool.md

update set ipam pool cmdlet help doc

updated help docs for new IPAM commands

update help docs for ipam remove cmdlets

update help docs for new Get cmdlets

fix new ipam pool static cidr requirement

* cmdlets for vnv

* adding UTs

* nomenclature fix

* debug

* mapping fix and inital help docs

* update some help docs

* NetworkManagerVerifierWorkspaceCRUD test

* add location

* update run crud

* Security admin config changes

* security rule update

* updating change log

* update for SA command

* Reachability Analysis Run Test

* all vnv tests working

* NetworkManagerVerifierWorkspaceCRUD test

* update run crud

* Security admin config changes

* security rule update

* updating change log

* update for SA command

* Reachability Analysis Run Test

* all vnv tests working

* Help Doc Update

nomenclature fix

mapping fix and inital help docs

add location

remaining help docs

fix change log

fix changelog pt 2

debug

update some help docs

* all SA and network manager tests running

* new commit to jumpstart the pipeline

* build issues

* add help doc online version links

* fix help doc header

* fix psd1 file

* updated scenario test for analysis result

* help doc fixes

* fixes for analyze plural param bug

* fix analyze example issue

* fix generated sdk bug

* add related links

* param rename for analyze job

* rerun build

* adding tag testing

* help doc update

* added list test coverage and combined all vnv crud into one run crud

* add and test tags for vnv

* update test file

* debug

* fix az

* add help documentation

* checking analysis result obj and added SA aggre prop to help doc

* adding all read only properties for run

* trying to get check running

* regenerated sdk and updated az.network

---------

Co-authored-by: Sonalli S Sharma <[email protected]>
Co-authored-by: sssharma24 <[email protected]>
Co-authored-by: NanxiangLiu <[email protected]>

* fix analysis run errors

* Ipam cmdlet bug fixes

* update help doc

* display error message to customer

* Adding resiliency model as an optional parameter on virtual network gateway for ExpressRoute (#26485)

* initial commit

* nit fixes

* nit fix

* Warning message updated

* updated help docs

---------

Co-authored-by: NanxiangLiu <[email protected]>

* Suppress false positive cred scan

---------

Co-authored-by: Vincent Dai <[email protected]>
Co-authored-by: phrazfipho <[email protected]>
Co-authored-by: Ben Eshed <[email protected]>
Co-authored-by: p-thompson <[email protected]>
Co-authored-by: Sonalli S Sharma <[email protected]>
Co-authored-by: sssharma24 <[email protected]>
Co-authored-by: NanxiangLiu <[email protected]>
Co-authored-by: p-thompson <[email protected]>
Co-authored-by: diagaval <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants