Servicebus 2026-01-01 cmdlets#29772
Open
schaudhari6254888 wants to merge 4 commits into
Open
Conversation
| Thanks for your contribution! The pull request validation has started. Please revisit this comment for updated status. |
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the Az.ServiceBus module to target Service Bus ARM API version 2026-01-01, adding new cmdlets/parameters and regenerating UX mappings, docs, and recordings to align with the new swagger surface.
Changes:
- Updated Service Bus UX definitions and multiple test recordings to use
api-version=2026-01-01. - Added cmdlets and parameter surface related to namespace geo-replication (failover + replica location object construction).
- Regenerated/updated reference docs and test assets for the updated API surface.
Reviewed changes
Copilot reviewed 91 out of 121 changed files in this pull request and generated 16 comments.
Show a summary per file
| File | Description |
|---|---|
| src/ServiceBus/ServiceBus/help/Az.ServiceBus.md | Adds new cmdlets to the module help index. |
| src/ServiceBus/ServiceBus/ChangeLog.md | Documents upcoming user-facing changes. |
| src/ServiceBus/ServiceBus/Az.ServiceBus.psd1 | Exports newly added functions. |
| src/ServiceBus/ServiceBus.Autorest/UX/Microsoft.ServiceBus/namespaces.json | Updates UX resource apiVersion to 2026-01-01. |
| src/ServiceBus/ServiceBus.Autorest/UX/Microsoft.ServiceBus/namespaces-topics.json | Updates UX resource apiVersion to 2026-01-01. |
| src/ServiceBus/ServiceBus.Autorest/UX/Microsoft.ServiceBus/namespaces-topics-subscriptions.json | Updates UX resource apiVersion to 2026-01-01. |
| src/ServiceBus/ServiceBus.Autorest/UX/Microsoft.ServiceBus/namespaces-topics-subscriptions-rules.json | Updates UX resource apiVersion to 2026-01-01. |
| src/ServiceBus/ServiceBus.Autorest/UX/Microsoft.ServiceBus/namespaces-queues.json | Updates UX resource apiVersion to 2026-01-01. |
| src/ServiceBus/ServiceBus.Autorest/UX/Microsoft.ServiceBus/namespaces-privateEndpointConnections.json | Updates UX resource apiVersion to 2026-01-01. |
| src/ServiceBus/ServiceBus.Autorest/UX/Microsoft.ServiceBus/namespaces-networkSecurityPerimeterConfigurations.json | Adds UX mapping for network security perimeter configurations. |
| src/ServiceBus/ServiceBus.Autorest/UX/Microsoft.ServiceBus/namespaces-migrationConfigurations.json | Updates UX resource apiVersion to 2026-01-01. |
| src/ServiceBus/ServiceBus.Autorest/UX/Microsoft.ServiceBus/namespaces-disasterRecoveryConfigs.json | Updates UX resource apiVersion to 2026-01-01. |
| src/ServiceBus/ServiceBus.Autorest/test/utils.ps1 | Adjusts test environment resource naming. |
| src/ServiceBus/ServiceBus.Autorest/test/Test-AzServiceBusName.Recording.json | Updates recordings for name availability checks under 2026-01-01. |
| src/ServiceBus/ServiceBus.Autorest/test/Start-AzServiceBusNamespaceFailOver.Tests.ps1 | Adds test scaffold for the new failover cmdlet. |
| src/ServiceBus/ServiceBus.Autorest/test/Start-AzServiceBusMigration.Tests.ps1 | Adjusts migration test behavior under the new API version. |
| src/ServiceBus/ServiceBus.Autorest/test/Set-AzServiceBusTopic.Tests.ps1 | Adjusts topic tests (including skip behavior). |
| src/ServiceBus/ServiceBus.Autorest/test/Set-AzServiceBusQueue.Tests.ps1 | Adjusts queue tests (including skip behavior and parameters). |
| src/ServiceBus/ServiceBus.Autorest/test/Set-AzServiceBusNamespaceV2.Tests.ps1 | Adjusts namespace v2 tests and parameter usage. |
| src/ServiceBus/ServiceBus.Autorest/test/Set-AzServiceBusGeoDRConfigurationBreakPair.Tests.ps1 | Adds retry logic / changes polling delay for GeoDR tests. |
| src/ServiceBus/ServiceBus.Autorest/test/Remove-AzServiceBusPrivateEndpointConnection.Tests.ps1 | Adjusts private endpoint connection delete tests (now skipped). |
| src/ServiceBus/ServiceBus.Autorest/test/README.md | Normalizes doc paths. |
| src/ServiceBus/ServiceBus.Autorest/test/New-AzServiceBusRule.Recording.json | Updates rule recordings for 2026-01-01. |
| src/ServiceBus/ServiceBus.Autorest/test/New-AzServiceBusNamespaceV2.Tests.ps1 | Updates namespace v2 test expectations. |
| src/ServiceBus/ServiceBus.Autorest/test/New-AzServiceBusNamespaceReplicaLocationObject.Tests.ps1 | Adds test scaffold for replica location model cmdlet. |
| src/ServiceBus/ServiceBus.Autorest/test/New-AzServiceBusLocationsNameObject.Tests.ps1 | Adds test scaffold for locations name model cmdlet. |
| src/ServiceBus/ServiceBus.Autorest/test/New-AzServiceBusKey.Tests.ps1 | Adjusts key rotation test assertions. |
| src/ServiceBus/ServiceBus.Autorest/test/localEnv.json | Updates local env test inputs/resources (sanitization changes included). |
| src/ServiceBus/ServiceBus.Autorest/test/Invoke-AzServiceBusReconcileNetworkSecurityPerimeterConfiguration.Tests.ps1 | Adds test scaffold for reconcile cmdlet. |
| src/ServiceBus/ServiceBus.Autorest/test/Get-AzServiceBusSubscription.Recording.json | Updates subscription recordings for 2026-01-01. |
| src/ServiceBus/ServiceBus.Autorest/test/Get-AzServiceBusRule.Recording.json | Updates rule recordings for 2026-01-01. |
| src/ServiceBus/ServiceBus.Autorest/test/Get-AzServiceBusPrivateLink.Recording.json | Updates private link recordings for 2026-01-01 / updated payload shape. |
| src/ServiceBus/ServiceBus.Autorest/test/Get-AzServiceBusNetworkSecurityPerimeterConfigurationResourceAssociationName.Tests.ps1 | Adds test scaffold for resource association name cmdlet. |
| src/ServiceBus/ServiceBus.Autorest/test/Get-AzServiceBusNetworkSecurityPerimeterConfiguration.Tests.ps1 | Adds test scaffold for NSP configuration listing cmdlet. |
| src/ServiceBus/ServiceBus.Autorest/test/Get-AzServiceBusNetworkRuleSet.Recording.json | Updates network ruleset recordings for 2026-01-01. |
| src/ServiceBus/ServiceBus.Autorest/test/Get-AzServiceBusKey.Recording.json | Updates key/listKeys recordings for 2026-01-01 and sanitization. |
| src/ServiceBus/ServiceBus.Autorest/test/env.json | Updates shared test environment values (sanitization changes included). |
| src/ServiceBus/ServiceBus.Autorest/test/deployment-template/parameter.json | Updates deployment-template parameters to new test resource names. |
| src/ServiceBus/ServiceBus.Autorest/test/deployment-template/keyVaultParameters.json | Updates KV deployment template parameters. |
| src/ServiceBus/ServiceBus.Autorest/test/deployment-template/DependentResourcesParameters.json | Updates dependent resources template parameters. |
| src/ServiceBus/ServiceBus.Autorest/resources/README.md | Normalizes doc paths. |
| src/ServiceBus/ServiceBus.Autorest/README.md | Updates autorest configuration and swagger input for 2026-01-01. |
| src/ServiceBus/ServiceBus.Autorest/Properties/AssemblyInfo.cs | Updates assembly version metadata. |
| src/ServiceBus/ServiceBus.Autorest/generate-info.json | Removes generate-info metadata file. |
| src/ServiceBus/ServiceBus.Autorest/examples/Start-AzServiceBusNamespaceFailOver.md | Adds example for new failover cmdlet. |
| src/ServiceBus/ServiceBus.Autorest/examples/New-AzServiceBusLocationsNameObject.md | Adds example for replica-location model construction cmdlet. |
| src/ServiceBus/ServiceBus.Autorest/examples/Invoke-AzServiceBusReconcileNetworkSecurityPerimeterConfiguration.md | Adds examples file (currently template placeholders). |
| src/ServiceBus/ServiceBus.Autorest/examples/Get-AzServiceBusNetworkSecurityPerimeterConfigurationResourceAssociationName.md | Adds examples file (currently template placeholders). |
| src/ServiceBus/ServiceBus.Autorest/examples/Get-AzServiceBusNetworkSecurityPerimeterConfiguration.md | Adds examples file (currently template placeholders). |
| src/ServiceBus/ServiceBus.Autorest/docs/Stop-AzServiceBusMigration.md | Updates parameter descriptions. |
| src/ServiceBus/ServiceBus.Autorest/docs/Start-AzServiceBusNamespaceFailOver.md | Adds reference doc for new failover cmdlet. |
| src/ServiceBus/ServiceBus.Autorest/docs/Start-AzServiceBusMigration.md | Updates synopsis/parameter descriptions. |
| src/ServiceBus/ServiceBus.Autorest/docs/Set-AzServiceBusNamespace.md | Adds new parameters to reference doc. |
| src/ServiceBus/ServiceBus.Autorest/docs/Remove-AzServiceBusTopic.md | Updates parameter descriptions. |
| src/ServiceBus/ServiceBus.Autorest/docs/Remove-AzServiceBusSubscription.md | Updates parameter descriptions. |
| src/ServiceBus/ServiceBus.Autorest/docs/Remove-AzServiceBusRule.md | Updates parameter descriptions. |
| src/ServiceBus/ServiceBus.Autorest/docs/Remove-AzServiceBusQueue.md | Updates parameter descriptions. |
| src/ServiceBus/ServiceBus.Autorest/docs/Remove-AzServiceBusPrivateEndpointConnection.md | Updates parameter descriptions. |
| src/ServiceBus/ServiceBus.Autorest/docs/Remove-AzServiceBusNamespace.md | Updates parameter descriptions. |
| src/ServiceBus/ServiceBus.Autorest/docs/Remove-AzServiceBusMigration.md | Updates parameter descriptions. |
| src/ServiceBus/ServiceBus.Autorest/docs/Remove-AzServiceBusGeoDRConfiguration.md | Updates parameter descriptions and removes PassThru section. |
| src/ServiceBus/ServiceBus.Autorest/docs/README.md | Normalizes doc paths. |
| src/ServiceBus/ServiceBus.Autorest/docs/New-AzServiceBusTopic.md | Adds UserMetadata and updates descriptions. |
| src/ServiceBus/ServiceBus.Autorest/docs/New-AzServiceBusSubscription.md | Adds UserMetadata and updates descriptions. |
| src/ServiceBus/ServiceBus.Autorest/docs/New-AzServiceBusRule.md | Updates descriptions. |
| src/ServiceBus/ServiceBus.Autorest/docs/New-AzServiceBusQueue.md | Adds UserMetadata and updates descriptions. |
| src/ServiceBus/ServiceBus.Autorest/docs/New-AzServiceBusNamespace.md | Adds new geo replication/IP parameters. |
| src/ServiceBus/ServiceBus.Autorest/docs/New-AzServiceBusLocationsNameObject.md | Adds reference doc for locations-name model cmdlet. |
| src/ServiceBus/ServiceBus.Autorest/docs/New-AzServiceBusGeoDRConfiguration.md | Updates synopsis/syntax and parameter descriptions. |
| src/ServiceBus/ServiceBus.Autorest/docs/Invoke-AzServiceBusReconcileNetworkSecurityPerimeterConfiguration.md | Adds reference doc (examples currently placeholders). |
| src/ServiceBus/ServiceBus.Autorest/docs/Get-AzServiceBusTopic.md | Updates parameter descriptions. |
| src/ServiceBus/ServiceBus.Autorest/docs/Get-AzServiceBusSubscription.md | Updates parameter descriptions. |
| src/ServiceBus/ServiceBus.Autorest/docs/Get-AzServiceBusRule.md | Updates parameter descriptions. |
| src/ServiceBus/ServiceBus.Autorest/docs/Get-AzServiceBusQueue.md | Updates parameter descriptions. |
| src/ServiceBus/ServiceBus.Autorest/docs/Get-AzServiceBusPrivateLink.md | Updates parameter descriptions. |
| src/ServiceBus/ServiceBus.Autorest/docs/Get-AzServiceBusPrivateEndpointConnection.md | Updates parameter descriptions. |
| src/ServiceBus/ServiceBus.Autorest/docs/Get-AzServiceBusNetworkSecurityPerimeterConfigurationResourceAssociationName.md | Adds reference doc (examples currently placeholders). |
| src/ServiceBus/ServiceBus.Autorest/docs/Get-AzServiceBusNetworkSecurityPerimeterConfiguration.md | Adds reference doc (examples currently placeholders). |
| src/ServiceBus/ServiceBus.Autorest/docs/Get-AzServiceBusNetworkRuleSet.md | Updates parameter descriptions. |
| src/ServiceBus/ServiceBus.Autorest/docs/Get-AzServiceBusNamespace.md | Updates parameter descriptions. |
| src/ServiceBus/ServiceBus.Autorest/docs/Get-AzServiceBusMigration.md | Updates parameter descriptions. |
| src/ServiceBus/ServiceBus.Autorest/docs/Get-AzServiceBusGeoDRConfiguration.md | Updates parameter descriptions. |
| src/ServiceBus/ServiceBus.Autorest/docs/Complete-AzServiceBusMigration.md | Updates parameter descriptions. |
| src/ServiceBus/ServiceBus.Autorest/docs/Az.ServiceBus.md | Updates module help index and module GUID. |
| src/ServiceBus/ServiceBus.Autorest/custom/Start-AzServiceBusNamespaceFailOver.ps1 | Adds custom cmdlet implementation for namespace failover. |
| src/ServiceBus/ServiceBus.Autorest/custom/Set-AzServiceBusNamespace.ps1 | Adds geo replication/IP parameters to custom Set cmdlet. |
| src/ServiceBus/ServiceBus.Autorest/custom/README.md | Normalizes doc paths. |
| src/ServiceBus/ServiceBus.Autorest/custom/New-AzServiceBusNamespace.ps1 | Adds geo replication/IP parameters to custom New cmdlet. |
| src/ServiceBus/ServiceBus.Autorest/custom/Az.ServiceBus.custom.psm1 | Normalizes module import paths. |
| src/ServiceBus/ServiceBus.Autorest/custom/autogen-model-cmdlets/New-AzServiceBusLocationsNameObject.ps1 | Adds model cmdlet for building replica location objects. |
| src/ServiceBus/ServiceBus.Autorest/13 | Adds a stray artifact file. |
| src/ServiceBus/ServiceBus.Autorest/11 | Adds a stray artifact file. |
Comment on lines
+19
to
22
| It 'Delete' -skip{ | ||
| Remove-AzServiceBusPrivateEndpointConnection -ResourceGroupName $env.resourceGroup -NamespaceName $env.namespace -Name $listOfPrivateEndpoints[0].Name | ||
| { Get-AzServiceBusPrivateEndpointConnection -ResourceGroupName $env.resourceGroup -NamespaceName $env.namespace -Name $listOfPrivateEndpoints[0].Name -ErrorAction Stop } | Should -Throw | ||
| } |
3 tasks
Contributor
|
/azp run |
Contributor
|
Azure Pipelines successfully started running 3 pipeline(s). |
| @@ -103,34 +103,34 @@ Describe 'Set-AzServiceBusNamespaceV2' { | |||
| $serviceBusNamespace.IdentityType | Should -Be $null | |||
| } | |||
|
|
|||
| It 'SetExpandedNamespace' { | |||
| It 'SetExpandedNamespace' -skip{ | |||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
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.)
Check this box to confirm: I have read the Submitting Changes section of
CONTRIBUTING.mdand reviewed the following information:ChangeLog.mdfile(s) appropriatelysrc/{{SERVICE}}/{{SERVICE}}/ChangeLog.md.## Upcoming Releaseheader in the past tense.ChangeLog.mdif no new release is required, such as fixing test case only.