[Az.DnsResolver] Add breaking change announcements for 2025-10-01-preview API migration#29308
Conversation
Announce upcoming breaking changes for the 2025-10-01-preview API migration: - Removed ActionBlockResponseCode parameter from DnsSecurityRule cmdlets - DnsResolverDomainList parameter no longer mandatory (ManagedDomainList alternative) - Domain parameter no longer mandatory (bulk upload alternative) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
| Thanks for your contribution! The pull request validation has started. Please revisit this comment for updated status. |
There was a problem hiding this comment.
Pull request overview
Adds additional breaking-change pre-announcements to the Az.DnsResolver module changelog, intended to prepare users for the upcoming migration to API version 2025-10-01-preview.
Changes:
- Announced removal of
ActionBlockResponseCodefrom DNS security rule create/update cmdlets. - Announced loosening of mandatory parameters (
DnsResolverDomainListandDomain) and pointed to new/alternate workflows.
- Add 3 breaking-change directives to README.md for runtime warnings: * ActionBlockResponseCode parameter removed from DnsSecurityRule cmdlets * DnsResolverDomainList parameter no longer mandatory * Domain parameter no longer mandatory - Add Az.DnsResolver section to upcoming-breaking-changes.md - All changes target Az v16.0.0 / module v2.0.0 / effective 2026/05/01 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
/azp run |
|
Azure Pipelines successfully started running 3 pipeline(s). |
| - where: | ||
| verb: New|Update | ||
| subject: PolicyDnsSecurityRule | ||
| set: | ||
| breaking-change: | ||
| deprecated-cmdlet-output-type: '' | ||
| change-description: The parameter 'ActionBlockResponseCode' has been removed. The block response code is no longer configurable in API version 2025-10-01-preview. | ||
| deprecated-by-version: 2.0.0 | ||
| deprecated-by-azversion: 16.0.0 | ||
| change-effective-date: 2026/05/01 | ||
| - where: | ||
| verb: New | ||
| subject: PolicyDnsSecurityRule | ||
| set: | ||
| breaking-change: | ||
| deprecated-cmdlet-output-type: '' | ||
| change-description: The parameter 'DnsResolverDomainList' is no longer mandatory. DNS security rules now support 'ManagedDomainList' as an alternative to user-defined domain lists. | ||
| deprecated-by-version: 2.0.0 | ||
| deprecated-by-azversion: 16.0.0 | ||
| change-effective-date: 2026/05/01 | ||
| - where: | ||
| verb: New | ||
| subject: DnsResolverDomainList | ||
| set: | ||
| breaking-change: | ||
| deprecated-cmdlet-output-type: '' | ||
| change-description: The parameter 'Domain' is no longer mandatory. Domain lists now support bulk upload via 'Invoke-AzDnsResolverBulkDnsResolverDomainList' as an alternative to inline domain specification. | ||
| deprecated-by-version: 2.0.0 | ||
| deprecated-by-azversion: 16.0.0 | ||
| change-effective-date: 2026/05/01 |
There was a problem hiding this comment.
These new AutoRest directives add breaking-change metadata but don’t include an inline comment explaining the purpose (“why”) of each directive. Please add brief # comments above each new directive block to keep the directive section maintainable and consistent with the documented guidance for AutoRest README directives.
| breaking-change: | ||
| deprecated-cmdlet-output-type: '' | ||
| change-description: The parameter 'ActionBlockResponseCode' has been removed. The block response code is no longer configurable in API version 2025-10-01-preview. | ||
| deprecated-by-version: 2.0.0 | ||
| deprecated-by-azversion: 16.0.0 | ||
| change-effective-date: 2026/05/01 | ||
| - where: | ||
| verb: New | ||
| subject: PolicyDnsSecurityRule | ||
| set: | ||
| breaking-change: | ||
| deprecated-cmdlet-output-type: '' | ||
| change-description: The parameter 'DnsResolverDomainList' is no longer mandatory. DNS security rules now support 'ManagedDomainList' as an alternative to user-defined domain lists. | ||
| deprecated-by-version: 2.0.0 | ||
| deprecated-by-azversion: 16.0.0 | ||
| change-effective-date: 2026/05/01 | ||
| - where: | ||
| verb: New | ||
| subject: DnsResolverDomainList | ||
| set: | ||
| breaking-change: | ||
| deprecated-cmdlet-output-type: '' | ||
| change-description: The parameter 'Domain' is no longer mandatory. Domain lists now support bulk upload via 'Invoke-AzDnsResolverBulkDnsResolverDomainList' as an alternative to inline domain specification. | ||
| deprecated-by-version: 2.0.0 | ||
| deprecated-by-azversion: 16.0.0 | ||
| change-effective-date: 2026/05/01 |
There was a problem hiding this comment.
The breaking-change blocks here set deprecated-cmdlet-output-type to an empty string. That field is intended for output-type changes (see breakingchange-for-autogen-module.md), and using an empty value can be misleading and may be rejected by tooling later. Prefer omitting it entirely, or (better for parameter changes) use a parameter-level breaking-change directive (where: parameter-name: ...) with become-mandatory: false / a change-description, scoped to the relevant cmdlet(s).
| - Change description: The block response code is no longer configurable in API version 2025-10-01-preview. | ||
| - This change will take effect on '05/01/2026' | ||
| - The change is expected to take effect from Az version : '16.0.0' | ||
| - The change is expected to take effect from version : '2.0.0' | ||
|
|
||
| - Cmdlet breaking-change will happen to all parameter sets | ||
| - The parameter 'DnsResolverDomainList' will no longer be mandatory. | ||
| - Change description: DNS security rules now support 'ManagedDomainList' as an alternative to user-defined domain lists. | ||
| - This change will take effect on '05/01/2026' | ||
| - The change is expected to take effect from Az version : '16.0.0' | ||
| - The change is expected to take effect from version : '2.0.0' | ||
|
|
||
| ### `Update-AzDnsResolverPolicyDnsSecurityRule` | ||
|
|
||
| - Cmdlet breaking-change will happen to all parameter sets | ||
| - The parameter 'ActionBlockResponseCode' is being removed. | ||
| - Change description: The block response code is no longer configurable in API version 2025-10-01-preview. | ||
| - This change will take effect on '05/01/2026' | ||
| - The change is expected to take effect from Az version : '16.0.0' | ||
| - The change is expected to take effect from version : '2.0.0' | ||
|
|
||
| ### `New-AzDnsResolverDomainList` | ||
|
|
||
| - Cmdlet breaking-change will happen to all parameter sets | ||
| - The parameter 'Domain' will no longer be mandatory. | ||
| - Change description: Domain lists now support bulk upload via 'Invoke-AzDnsResolverBulkDnsResolverDomainList' as an alternative to inline domain specification. | ||
| - This change will take effect on '05/01/2026' | ||
| - The change is expected to take effect from Az version : '16.0.0' | ||
| - The change is expected to take effect from version : '2.0.0' |
There was a problem hiding this comment.
This new section uses a different effective-date formatting than nearby entries (e.g., '05/01/2026' vs '5/1/2026') and slightly different “Change description” punctuation. Consider aligning the new lines to the prevailing format in this document to keep it consistent (especially if this file is consumed or diffed by automation).
|
This PR was labeled "needs-revision" because it has unresolved review comments or CI failures. |
- Reformat ChangeLog per reviewer: single 'Added announcement' line with sub-bullets - Add API version context (2025-10-01-preview) to ChangeLog entries - Clarify new cmdlet and managed domain lists wording - Remove empty deprecated-cmdlet-output-type from README directives - Add inline comments to README directive blocks - Align date format in upcoming-breaking-changes.md (5/1/2026 not 05/01/2026) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
/azp run |
|
Azure Pipelines successfully started running 3 pipeline(s). |
Removed breaking change details for Az.DnsResolver cmdlets and updated upcoming breaking changes section.
|
/azp run |
|
Azure Pipelines successfully started running 3 pipeline(s). |
…view API migration (#29308) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: Yabo Hu <yabhu@microsoft.com>
…view API migration (#29308) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: Yabo Hu <yabhu@microsoft.com>
Description
Adds breaking change announcements to \ChangeLog.md\ for the upcoming DnsResolver module migration to API version \2025-10-01-preview.
Breaking Changes Announced:
These announcements complement the existing breaking change pre-announcement from PR #28698.
Mandatory Checklist