-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
[Network] Added Cmdlets for Network Virtual Appliance (NVA) and NVA site resources. #12213
Conversation
The tests for NVA Site CRUD operations is in skipped state. Reason for this is a bug in the Nfv-RP which fails the New-AzVirtualApplianceSite command. The fix is underway and Nfv-RP team will record the tests and push it in a separate change.
Can one of the admins verify this patch? |
@number213 , I see that some validations are failing due to "online version" field being empty in the help md files. We do not have any online version of the help yet on these commands. Should I just add the expected online help page link in those fields? Edit: I see that there is an open issue on this behavior of the platyPS and checks in the CI. Let me know the steps I need to follow to resolve this. :) |
The online version should be in certain format, just paste it to help markdown. |
Hi @VeryEarly , can you point me to the required format?. The generated online version is empty. |
should be like this: |
src/Network/Network/NetworkVirtualAppliance/GetNetworkVirtualApplianceCommand.cs
Outdated
Show resolved
Hide resolved
|
||
namespace Microsoft.Azure.Commands.Network | ||
{ | ||
[Cmdlet("New", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "NetworkVirtualAppliance", SupportsShouldProcess = true), OutputType(typeof(PSNetworkVirtualAppliance))] |
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 add ResourceNameParameterSet as default parameter
src/Network/Network/NetworkVirtualAppliance/RemoveNetworkVirtualApplianceCommand.cs
Outdated
Show resolved
Hide resolved
public virtual string ResourceGroupName { get; set; } | ||
|
||
[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 true
src/Network/Network/NetworkVirtualAppliance/Sites/GetVirtualApplianceSiteCommand.cs
Show resolved
Hide resolved
src/Network/Network/NetworkVirtualAppliance/Sites/NewVirtualApplianceSiteCommand.cs
Outdated
Show resolved
Hide resolved
...tworkVirtualAppliance/Sites/Office365PolicyProperties/NewOffice365PolicyPropertiesCommand.cs
Outdated
Show resolved
Hide resolved
src/Network/Network/NetworkVirtualAppliance/Sites/RemoveVirtualApplianceSiteCommand.cs
Outdated
Show resolved
Hide resolved
...ork/Network/NetworkVirtualAppliance/SkuProperties/NewVirtualApplianceSkuPropertiesCommand.cs
Outdated
Show resolved
Hide resolved
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 resolve comments, and re-generate help accordingly
@VeryEarly , some of the checks are failing due to the commands "New-AzOffice365PolicyProperty" and "New-AzVirtualApplianceSkuProperty". Both commands do NOT create any resources but rather create a local powershell objects to be inserted in a subsequent command. In these cases I believe the options like ShouldProcess, Force, Confirm do not apply. Let me know if my understanding is incorrect and something needs to be changed. Also, shall we change the design review issue with the new command names as well? |
Hi @neelbhavsar97 , Please suppress these two messages into https://github.com/Azure/azure-powershell/blob/master/tools/StaticAnalysis/Exceptions/Az.Network/BreakingChangeIssues.csv Please re-target your PR to network-june branch, one simple way is to create a new branch out of network-june and cherry-pick commits into it. |
@VeryEarly , created a new branch and a new PR. Closing this PR. |
/azp run |
Azure Pipelines successfully started running 3 pipeline(s). |
@VeryEarly , Some checks are failing with no obvious reason related to the changes I've pushed. Is this expected or I'm missing something here? |
Hi @neelbhavsar97 , These failures were caused by some recent changes in master branch, I'll take care of it. |
Sure, let me know if you need something. You can go ahead and merge this when convenient. Thanks you. |
/azp run |
Azure Pipelines successfully started running 3 pipeline(s). |
Hi @VeryEarly , there is a conflict for this PR. Can you resolve this conflict as it is related to introducing a new version to the Az.Network module. Let me know if you need anything from my side. |
/azp run |
Azure Pipelines successfully started running 3 pipeline(s). |
Hi @number213 , please review and merge this pull request as the release date is approaching. Let me know if you need any changes. |
Description
This pull request adds cmdlets for a new resource type "Network Virtual Appliance" in Azure.
The link to powershell design review
Checklist
CONTRIBUTING.md
ChangeLog.md
file(s) has been updated:ChangeLog.md
file can be found atsrc/{{SERVICE}}/{{SERVICE}}/ChangeLog.md
## Upcoming Release
header -- no new version header should be added