ServiceBus: Generate cmdlets for api-version 2026-07-01-preview - #30084
Open
schaudhari6254888 wants to merge 2 commits into
Open
ServiceBus: Generate cmdlets for api-version 2026-07-01-preview#30084schaudhari6254888 wants to merge 2 commits into
schaudhari6254888 wants to merge 2 commits into
Conversation
Point the ServiceBus AutoRest config at the 2026-07-01-preview swagger (azure-rest-api-specs commit f4b6a62908ed82e4983478e6103580875aba233b) and bump the UX apiVersion metadata. The 2026-07-01-preview API surface is identical to 2026-01-01 stable, so no cmdlet or parameter changes are required; the change is purely additive. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 91af4899-a1a4-4ed3-a64b-8ecd42bf4b90
Contributor
|
Azure Pipelines: There may be pipelines that require an authorized user to comment /azp run to run. |
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the ServiceBus AutoRest configuration and UX metadata to target the 2026-07-01-preview API version (via the pinned azure-rest-api-specs commit), and records the change in the ServiceBus module changelog.
Changes:
- Updated
src/ServiceBus/ServiceBus.Autorest/README.mdto reference the2026-07-01-previewswagger and newazure-rest-api-specscommit. - Bumped the UX metadata
apiVersionfor ServiceBus resource types to2026-07-01-preview. - Added a ServiceBus changelog entry noting the default API version update.
Reviewed changes
Copilot reviewed 11 out of 11 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| src/ServiceBus/ServiceBus/ChangeLog.md | Documents the default API version change for the upcoming release notes. |
| src/ServiceBus/ServiceBus.Autorest/README.md | Points AutoRest generation to the preview swagger path and updated specs commit. |
| src/ServiceBus/ServiceBus.Autorest/UX/Microsoft.ServiceBus/namespaces.json | Updates UX apiVersion metadata to 2026-07-01-preview. |
| src/ServiceBus/ServiceBus.Autorest/UX/Microsoft.ServiceBus/namespaces-queues.json | Updates UX apiVersion metadata to 2026-07-01-preview. |
| src/ServiceBus/ServiceBus.Autorest/UX/Microsoft.ServiceBus/namespaces-topics.json | Updates UX apiVersion metadata to 2026-07-01-preview. |
| src/ServiceBus/ServiceBus.Autorest/UX/Microsoft.ServiceBus/namespaces-topics-subscriptions.json | Updates UX apiVersion metadata to 2026-07-01-preview. |
| src/ServiceBus/ServiceBus.Autorest/UX/Microsoft.ServiceBus/namespaces-topics-subscriptions-rules.json | Updates UX apiVersion metadata to 2026-07-01-preview. |
| src/ServiceBus/ServiceBus.Autorest/UX/Microsoft.ServiceBus/namespaces-privateEndpointConnections.json | Updates UX apiVersion metadata to 2026-07-01-preview. |
| src/ServiceBus/ServiceBus.Autorest/UX/Microsoft.ServiceBus/namespaces-networkSecurityPerimeterConfigurations.json | Updates UX apiVersion metadata to 2026-07-01-preview. |
| src/ServiceBus/ServiceBus.Autorest/UX/Microsoft.ServiceBus/namespaces-migrationConfigurations.json | Updates UX apiVersion metadata to 2026-07-01-preview. |
| src/ServiceBus/ServiceBus.Autorest/UX/Microsoft.ServiceBus/namespaces-disasterRecoveryConfigs.json | Updates UX apiVersion metadata to 2026-07-01-preview. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Member
|
/azp run |
Contributor
|
Azure Pipelines: Successfully started running 3 pipeline(s). |
The 2026-07-01-preview API surface is identical to 2026-01-01, so the only request change is the api-version query value. Update the committed (already sanitized) playback recordings accordingly so recorded-test playback matches the regenerated cmdlets. Playback: 79 passed / 0 failed / 58 skipped. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 91af4899-a1a4-4ed3-a64b-8ecd42bf4b90
Comment on lines
21
to
+22
| ## Upcoming Release | ||
| * Updated the default API version to '2026-07-01-preview' |
Comment on lines
29
to
38
| ``` yaml | ||
| # Please specify the commit id that includes your features to make sure generated codes stable. | ||
| commit: 2605aac932e54e2f6c1b335bc034a1edc44d5783 | ||
| commit: f4b6a62908ed82e4983478e6103580875aba233b | ||
| require: | ||
| # readme.azure.noprofile.md is the common configuration file | ||
| - $(this-folder)/../../readme.azure.noprofile.md | ||
| input-file: | ||
| # You need to specify your swagger files here. | ||
| - $(repo)/specification/servicebus/resource-manager/Microsoft.ServiceBus/ServiceBus/stable/2026-01-01/servicebus.json | ||
| - $(repo)/specification/servicebus/resource-manager/Microsoft.ServiceBus/ServiceBus/preview/2026-07-01-preview/servicebus.json | ||
| # If the swagger has not been put in the repo, you may uncomment the following line and refer to it locally |
Member
|
/azp run |
Contributor
|
Azure Pipelines: Successfully started running 3 pipeline(s). |
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.
🤖 PR Validation — ❌ Action needed
️✔️Az.Accounts
️✔️Az.KeyVault
️✔️Az.Network
❌Az.ServiceBus
Point the ServiceBus AutoRest config at the 2026-07-01-preview swagger (azure-rest-api-specs commit f4b6a62908ed82e4983478e6103580875aba233b) and bump the UX apiVersion metadata. The 2026-07-01-preview API surface is identical to 2026-01-01 stable, so no cmdlet or parameter changes are required; the change is purely additive.
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.