Skip to content

Conversation

@sbhosalemsft
Copy link
Contributor

@sbhosalemsft sbhosalemsft commented Oct 29, 2025

Description

Mandatory Checklist

  • SHOULD update ChangeLog.md file(s) appropriately
    • 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.
    • 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

@azure-client-tools-bot-prd
Copy link

Thanks for your contribution! The pull request validation has started. Please revisit this comment for updated status.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds support for Network Virtual Appliance (NVA) interface configurations for NVAs deployed in VNet. The key changes enable users to configure network interface settings for NVAs that are deployed directly into virtual networks, as an alternative to deploying them into virtual hubs.

  • Adds new model classes for NVA interface configurations
  • Introduces two new cmdlets for creating interface configurations
  • Updates the New-AzNetworkVirtualAppliance cmdlet to support the new interface configuration parameter
  • Includes AutoMapper configurations for bidirectional mapping between PowerShell and SDK models

Reviewed Changes

Copilot reviewed 11 out of 11 changed files in this pull request and generated 15 comments.

Show a summary per file
File Description
NewNetworkVirtualApplianceCommand.cs Modified to make VirtualHubId optional, added NvaInterfaceConfigurations parameter, and added mutual exclusivity validation
NvaInVnetBaseCmdlet.cs New base class for NVA-in-VNet cmdlets (placeholder for future functionality)
NewNvaInterfaceConfigurationsCommand.cs New cmdlet to build multiple interface configurations from an array
NewNvaInterfaceConfigurationCommand.cs New cmdlet to build individual interface configuration objects
Network.generated.format.ps1xml Updated formatting definition to display NvaInterfaceConfigurations property
Network.format.ps1xml Updated formatting definition to display NvaInterfaceConfigurations property
PSNetworkVirtualApplianceInterfaceConfig.cs New model classes for interface configurations
PSNetworkVirtualAppliance.cs Added NvaInterfaceConfigurations property to the model
NetworkResourceManagerProfile.cs Added AutoMapper configurations for bidirectional mapping of interface configuration models
ChangeLog.md Documented the new feature and cmdlets
Az.Network.psd1 Exported the two new cmdlets

@isra-fel
Copy link
Member

/azp run

@azure-pipelines
Copy link
Contributor

Azure Pipelines successfully started running 3 pipeline(s).

@dolauli dolauli self-assigned this Oct 30, 2025
@isra-fel
Copy link
Member

/azp run

@azure-pipelines
Copy link
Contributor

Azure Pipelines successfully started running 3 pipeline(s).

sbhosalemsft and others added 5 commits October 30, 2025 17:34
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…pplianceCommand.cs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…terfaceConfigurationsCommand.cs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…terfaceConfigurationCommand.cs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@isra-fel
Copy link
Member

/azp run

…onfig.cs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@azure-pipelines
Copy link
Contributor

Azure Pipelines successfully started running 3 pipeline(s).

sbhosalemsft and others added 7 commits October 30, 2025 17:38
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
correct indentation

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
correct indentation

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
correct indentation

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
correct indentation

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
correct indentation

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
correct indentation

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@isra-fel
Copy link
Member

/azp run

@azure-pipelines
Copy link
Contributor

Azure Pipelines successfully started running 3 pipeline(s).

@akshimittal1310 akshimittal1310 removed their request for review October 31, 2025 04:47
@akshimittal1310
Copy link
Contributor

Was mistakenly added for reviewing the PR, I am not from PS team, thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants