Skip to content

Servicebus 2026-01-01 cmdlets#29772

Open
schaudhari6254888 wants to merge 4 commits into
Azure:mainfrom
schaudhari6254888:servicebus-2026-01-01
Open

Servicebus 2026-01-01 cmdlets#29772
schaudhari6254888 wants to merge 4 commits into
Azure:mainfrom
schaudhari6254888:servicebus-2026-01-01

Conversation

@schaudhari6254888

@schaudhari6254888 schaudhari6254888 commented Jun 28, 2026

Copy link
Copy Markdown
Member

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

Copilot AI review requested due to automatic review settings June 28, 2026 09:43
@azure-client-tools-bot-prd

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

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

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 thread src/ServiceBus/ServiceBus.Autorest/README.md
Comment thread src/ServiceBus/ServiceBus/ChangeLog.md Outdated
Comment thread src/ServiceBus/ServiceBus/help/Az.ServiceBus.md
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
}
Comment thread src/ServiceBus/ServiceBus.Autorest/custom/New-AzServiceBusNamespace.ps1 Outdated
Copilot AI review requested due to automatic review settings June 28, 2026 09:53

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 91 out of 121 changed files in this pull request and generated 24 comments.

Comment thread src/ServiceBus/ServiceBus.Autorest/custom/New-AzServiceBusNamespace.ps1 Outdated
Comment thread src/ServiceBus/ServiceBus.Autorest/README.md
Comment thread src/ServiceBus/ServiceBus.Autorest/Properties/AssemblyInfo.cs
Comment thread src/ServiceBus/ServiceBus/ChangeLog.md Outdated
Comment thread src/ServiceBus/ServiceBus/Az.ServiceBus.psd1
@Pan-Qi

Pan-Qi commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

/azp run

@azure-pipelines

Copy link
Copy Markdown
Contributor
Azure Pipelines successfully started running 3 pipeline(s).

Copilot AI review requested due to automatic review settings June 30, 2026 08:02

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 90 out of 121 changed files in this pull request and generated 21 comments.

Comment thread src/ServiceBus/ServiceBus/help/Az.ServiceBus.md
@@ -103,34 +103,34 @@ Describe 'Set-AzServiceBusNamespaceV2' {
$serviceBusNamespace.IdentityType | Should -Be $null
}

It 'SetExpandedNamespace' {
It 'SetExpandedNamespace' -skip{
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.

3 participants