Skip to content

[Network] az network private-endpoint create/update: Add parameter --ip-version-type to support IPv6#32937

Merged
necusjz merged 1 commit intoAzure:devfrom
huiii99:network-pe-support-ip-type
Mar 11, 2026
Merged

[Network] az network private-endpoint create/update: Add parameter --ip-version-type to support IPv6#32937
necusjz merged 1 commit intoAzure:devfrom
huiii99:network-pe-support-ip-type

Conversation

@huiii99
Copy link
Member

@huiii99 huiii99 commented Mar 9, 2026

Related command
az network private-endpoint create
az network private-endpoint update

Description
This feature adds support for configuring the IP version type of Azure Private Endpoints through Azure CLI, enabling customers to create and update Private Endpoints with IPv4, IPv6, or DualStack connectivity.

aaz: Azure/aaz#958

Testing Guide
azdev test test_network_private_endpoint_ip_version_type --live

History Notes


This checklist is used to make sure that common guidelines for a pull request are followed.

Copilot AI review requested due to automatic review settings March 9, 2026 04:23
@azure-client-tools-bot-prd
Copy link

azure-client-tools-bot-prd bot commented Mar 9, 2026

️✔️AzureCLI-FullTest
️✔️acr
️✔️latest
️✔️3.12
️✔️3.13
️✔️acs
️✔️latest
️✔️3.12
️✔️3.13
️✔️advisor
️✔️latest
️✔️3.12
️✔️3.13
️✔️ams
️✔️latest
️✔️3.12
️✔️3.13
️✔️apim
️✔️latest
️✔️3.12
️✔️3.13
️✔️appconfig
️✔️latest
️✔️3.12
️✔️3.13
️✔️appservice
️✔️latest
️✔️3.12
️✔️3.13
️✔️aro
️✔️latest
️✔️3.12
️✔️3.13
️✔️backup
️✔️latest
️✔️3.12
️✔️3.13
️✔️batch
️✔️latest
️✔️3.12
️✔️3.13
️✔️batchai
️✔️latest
️✔️3.12
️✔️3.13
️✔️billing
️✔️latest
️✔️3.12
️✔️3.13
️✔️botservice
️✔️latest
️✔️3.12
️✔️3.13
️✔️cdn
️✔️latest
️✔️3.12
️✔️3.13
️✔️cloud
️✔️latest
️✔️3.12
️✔️3.13
️✔️cognitiveservices
️✔️latest
️✔️3.12
️✔️3.13
️✔️compute_recommender
️✔️latest
️✔️3.12
️✔️3.13
️✔️computefleet
️✔️latest
️✔️3.12
️✔️3.13
️✔️config
️✔️latest
️✔️3.12
️✔️3.13
️✔️configure
️✔️latest
️✔️3.12
️✔️3.13
️✔️consumption
️✔️latest
️✔️3.12
️✔️3.13
️✔️container
️✔️latest
️✔️3.12
️✔️3.13
️✔️containerapp
️✔️latest
️✔️3.12
️✔️3.13
️✔️core
️✔️latest
️✔️3.12
️✔️3.13
️✔️cosmosdb
️✔️latest
️✔️3.12
️✔️3.13
️✔️databoxedge
️✔️latest
️✔️3.12
️✔️3.13
️✔️dls
️✔️latest
️✔️3.12
️✔️3.13
️✔️dms
️✔️latest
️✔️3.12
️✔️3.13
️✔️eventgrid
️✔️latest
️✔️3.12
️✔️3.13
️✔️eventhubs
️✔️latest
️✔️3.12
️✔️3.13
️✔️feedback
️✔️latest
️✔️3.12
️✔️3.13
️✔️find
️✔️latest
️✔️3.12
️✔️3.13
️✔️hdinsight
️✔️latest
️✔️3.12
️✔️3.13
️✔️identity
️✔️latest
️✔️3.12
️✔️3.13
️✔️iot
️✔️latest
️✔️3.12
️✔️3.13
️✔️keyvault
️✔️latest
️✔️3.12
️✔️3.13
️✔️lab
️✔️latest
️✔️3.12
️✔️3.13
️✔️managedservices
️✔️latest
️✔️3.12
️✔️3.13
️✔️maps
️✔️latest
️✔️3.12
️✔️3.13
️✔️marketplaceordering
️✔️latest
️✔️3.12
️✔️3.13
️✔️monitor
️✔️latest
️✔️3.12
️✔️3.13
️✔️mysql
️✔️latest
️✔️3.12
️✔️3.13
️✔️netappfiles
️✔️latest
️✔️3.12
️✔️3.13
️✔️network
️✔️latest
️✔️3.12
️✔️3.13
️✔️policyinsights
️✔️latest
️✔️3.12
️✔️3.13
️✔️postgresql
️✔️latest
️✔️3.12
️✔️3.13
️✔️privatedns
️✔️latest
️✔️3.12
️✔️3.13
️✔️profile
️✔️latest
️✔️3.12
️✔️3.13
️✔️rdbms
️✔️latest
️✔️3.12
️✔️3.13
️✔️redis
️✔️latest
️✔️3.12
️✔️3.13
️✔️relay
️✔️latest
️✔️3.12
️✔️3.13
️✔️resource
️✔️latest
️✔️3.12
️✔️3.13
️✔️role
️✔️latest
️✔️3.12
️✔️3.13
️✔️search
️✔️latest
️✔️3.12
️✔️3.13
️✔️security
️✔️latest
️✔️3.12
️✔️3.13
️✔️servicebus
️✔️latest
️✔️3.12
️✔️3.13
️✔️serviceconnector
️✔️latest
️✔️3.12
️✔️3.13
️✔️servicefabric
️✔️latest
️✔️3.12
️✔️3.13
️✔️signalr
️✔️latest
️✔️3.12
️✔️3.13
️✔️sql
️✔️latest
️✔️3.12
️✔️3.13
️✔️sqlvm
️✔️latest
️✔️3.12
️✔️3.13
️✔️storage
️✔️latest
️✔️3.12
️✔️3.13
️✔️synapse
️✔️latest
️✔️3.12
️✔️3.13
️✔️telemetry
️✔️latest
️✔️3.12
️✔️3.13
️✔️util
️✔️latest
️✔️3.12
️✔️3.13
️✔️vm
️✔️latest
️✔️3.12
️✔️3.13

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

azure-client-tools-bot-prd bot commented Mar 9, 2026

⚠️AzureCLI-BreakingChangeTest
⚠️network
rule cmd_name rule_message suggest_message
⚠️ 1006 - ParaAdd network private-endpoint create cmd network private-endpoint create added parameter application_gateway_ip_configurations
⚠️ 1006 - ParaAdd network private-endpoint create cmd network private-endpoint create added parameter default_outbound_access
⚠️ 1006 - ParaAdd network private-endpoint create cmd network private-endpoint create added parameter ip_version_type
⚠️ 1006 - ParaAdd network private-endpoint create cmd network private-endpoint create added parameter ipam_pool_prefix_allocations
⚠️ 1006 - ParaAdd network private-endpoint create cmd network private-endpoint create added parameter service_gateway
⚠️ 1006 - ParaAdd network private-endpoint create cmd network private-endpoint create added parameter sharing_scope
⚠️ 1006 - ParaAdd network private-endpoint list cmd network private-endpoint list added parameter pagination_limit
⚠️ 1006 - ParaAdd network private-endpoint list cmd network private-endpoint list added parameter pagination_token
⚠️ 1006 - ParaAdd network private-endpoint list-types cmd network private-endpoint list-types added parameter pagination_limit
⚠️ 1006 - ParaAdd network private-endpoint list-types cmd network private-endpoint list-types added parameter pagination_token
⚠️ 1006 - ParaAdd network private-endpoint update cmd network private-endpoint update added parameter ip_version_type

@yonzhan
Copy link
Collaborator

yonzhan commented Mar 9, 2026

Thank you for your contribution! We will review the pull request and get back to you soon.

@github-actions
Copy link

github-actions bot commented Mar 9, 2026

The git hooks are available for azure-cli and azure-cli-extensions repos. They could help you run required checks before creating the PR.

Please sync the latest code with latest dev branch (for azure-cli) or main branch (for azure-cli-extensions).
After that please run the following commands to enable git hooks:

pip install azdev --upgrade
azdev setup -c <your azure-cli repo path> -r <your azure-cli-extensions repo path>

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

Adds Azure Private Endpoint CLI support for selecting IP stack (IPv4/IPv6/DualStack), aligning the AAZ implementations with a newer Network RP API version and validating behavior via a new live scenario test.

Changes:

  • Add --ip-version-type to az network private-endpoint create and az network private-endpoint update.
  • Bump privateEndpoint AAZ commands to Network API version 2025-05-01 and extend read schemas accordingly.
  • Add a new live scenario test covering create for IPv4/IPv6/DualStack.

Reviewed changes

Copilot reviewed 8 out of 9 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
src/azure-cli/azure/cli/command_modules/network/tests/latest/test_network_commands.py Adds a live scenario test validating --ip-version-type on private-endpoint create.
src/azure-cli/azure/cli/command_modules/network/aaz/latest/network/private_endpoint/_create.py Adds --ip-version-type to create and includes it in the request payload; also introduces additional subnet-related args.
src/azure-cli/azure/cli/command_modules/network/aaz/latest/network/private_endpoint/_update.py Adds --ip-version-type to update and maps it into the update payload.
src/azure-cli/azure/cli/command_modules/network/aaz/latest/network/private_endpoint/_show.py Updates API version and read schema to surface ipVersionType and other newer fields.
src/azure-cli/azure/cli/command_modules/network/aaz/latest/network/private_endpoint/_wait.py Updates API version and read schema to match 2025-05-01.
src/azure-cli/azure/cli/command_modules/network/aaz/latest/network/private_endpoint/_list.py Updates API version and enables pagination for list results.
src/azure-cli/azure/cli/command_modules/network/aaz/latest/network/private_endpoint/_list_types.py Enables pagination for list-types results.
src/azure-cli/azure/cli/command_modules/network/aaz/latest/network/private_endpoint/_delete.py Updates API version for delete.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.

@yonzhan
Copy link
Collaborator

yonzhan commented Mar 9, 2026

Please fix CI issues

feat: update test case

fix: update test case recording

fix: update recording

fix: update recording

fix: update recording

fix: update recording

dev
@huiii99 huiii99 force-pushed the network-pe-support-ip-type branch from ef95dd9 to 11cc8cd Compare March 10, 2026 02:32
@huiii99 huiii99 requested a review from digimaun as a code owner March 10, 2026 02:32
@huiii99 huiii99 changed the title [Network] CLI support for Azure Private Link IPv6 [Network] az network private-endpoint create/update support --ip-version-type Mar 10, 2026
@huiii99 huiii99 changed the title [Network] az network private-endpoint create/update support --ip-version-type [Network] az network private-endpoint create/update: Add parameter --ip-version-type to support IPv6 Mar 10, 2026
@necusjz necusjz merged commit f3c4036 into Azure:dev Mar 11, 2026
48 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Auto-Assign Auto assign by bot

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants