Onboard HorizonDB to Private Link common cmdlets
Description
Onboards HorizonDB clusters to the existing generic Az.Network Private Link common cmdlets by registering Microsoft.HorizonDB/clusters in the Private Link provider map.
This enables the generic cmdlet flows for HorizonDB cluster resource IDs:
Get-AzPrivateLinkResource -PrivateLinkResourceId $clusterId
Get-AzPrivateEndpointConnection -PrivateLinkResourceId $clusterId
Approve-AzPrivateEndpointConnection -ResourceId $privateEndpointConnectionId
Deny-AzPrivateEndpointConnection -ResourceId $privateEndpointConnectionId
Remove-AzPrivateEndpointConnection -ResourceId $privateEndpointConnectionId
No new cmdlets, parameters, or markdown help regeneration are needed because this is provider-map-only onboarding for existing common cmdlets.
Validation performed:
- Built Az.Network successfully with
dotnet msbuild build.proj /p:Scope=Network. - Verified the built provider map contains
Microsoft.HorizonDB/clusters, API version2026-01-20-preview,HasConnectionsURI = true,SupportGetPrivateLinkResource = true, andSupportListPrivateLinkResource = true. - Validated read flows against a live HorizonDB cluster:
Get-AzPrivateLinkResource -PrivateLinkResourceId $clusterIdGet-AzPrivateLinkResource -PrivateLinkResourceId $clusterId -Name DefaultPoolGet-AzPrivateEndpointConnection -PrivateLinkResourceId $clusterIdGet-AzPrivateEndpointConnection -ResourceId $privateEndpointConnectionId
- Validated full disposable private endpoint lifecycle against a live HorizonDB cluster in UK South:
- Created two manual private endpoints.
- Approved one private endpoint connection.
- Rejected one private endpoint connection.
- Removed both validation private endpoint connections.
- Confirmed no validation private endpoint connections remained.
- Deleted and confirmed cleanup of the disposable validation resource group.
Note: HorizonDB approval and rejection complete asynchronously. The generic cmdlet returns immediately after PUT plus immediate GET, so the immediate output can still show Pending; follow-up Get-AzPrivateEndpointConnection reaches final Approved or Rejected.
Mandatory Checklist
-
Please choose the target release of Azure PowerShell. (⚠️Target release is a different concept from API readiness. Please click below links for details.)
- [x] General release
- [ ] Public preview
- [ ] Private preview
- [ ] Engineering build
- [ ] No need for a release
-
[x] Check this box to confirm: I have read the Submitting Changes section of
CONTRIBUTING.mdand reviewed the following information:
- SHOULD update
ChangeLog.mdfile(s) appropriately- Update
src/{{SERVICE}}/{{SERVICE}}/ChangeLog.md.- A snippet outlining the change(s) made in the PR should be written under the
## Upcoming Releaseheader in the past tense.
- A snippet outlining the change(s) made in the PR should be written under the
- Should not change
ChangeLog.mdif no new release is required, such as fixing test case only.
- Update
- 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
Thanks for your contribution! The pull request validation has started. Please revisit this comment for updated status.
/azp run
Azure Pipelines successfully started running 3 pipeline(s).
/azp run
Commenter does not have sufficient privileges for PR 29764 in repo Azure/azure-powershell
@yonzhan thank you for the quick response on our other PRs, could you help us getting a review on this one as well? This should be one of the last things we need for HorizonDB NRP compliance
/azp run
Azure Pipelines successfully started running 3 pipeline(s).