Refresh azure-mgmt-relay after migrate to Typespec - #48321
Merged
Conversation
…/Relay/tspconfig.yaml', API Version: 2024-01-01, SDK Release Type: stable, and CommitSHA: '801a60cdad2669e8f824fedfbabbfe7f7093b940' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6632078 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release.
|
Azure Pipelines: Successfully started running 1 pipeline(s). 9 pipeline(s) were filtered out due to trigger conditions. There may be pipelines that require an authorized user to comment /azp run to run. |
ChenxiJiang333
marked this pull request as ready for review
July 29, 2026 06:08
|
Azure Pipelines: Successfully started running 1 pipeline(s). 9 pipeline(s) were filtered out due to trigger conditions. 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
Refreshes azure-mgmt-relay from the latest TypeSpec source and promotes version 2.0.0 to stable.
Changes:
- Updates generation metadata and stable-release configuration.
- Documents API additions and breaking changes.
- Refreshes generated API surfaces and model documentation.
Reviewed changes
Copilot reviewed 10 out of 10 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
tsp-location.yaml |
Updates the specification commit. |
pyproject.toml |
Marks the package stable. |
CHANGELOG.md |
Adds 2.0.0 release notes. |
azure/mgmt/relay/types.py |
Refreshes generated type aliases. |
azure/mgmt/relay/_version.py |
Sets version 2.0.0. |
azure/mgmt/relay/_utils/model_base.py |
Improves generated docstrings. |
apiview-properties.json |
Updates cross-language API metadata. |
api.metadata.yml |
Updates API snapshot metadata. |
api.md |
Refreshes the public API snapshot. |
_metadata.json |
Updates specification and emitter metadata. |
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 10 out of 10 changed files in this pull request and generated no new comments.
Comments suppressed due to low confidence (1)
sdk/relay/azure-mgmt-relay/CHANGELOG.md:54
- The stable release notes omit migration-critical breaking changes. The existing 2.0.0b2 entry documents the
NetworkRuleSet,Operation,PrivateEndpointConnection,PrivateLinkResource, andProxyResourcemoves/removals, and the currentapi.mdconfirms those shapes still apply; this PR also removes several publicazure.mgmt.relay.typesaliases without mentioning that delta from b2. Please regenerate or complete this section against both the prior stable API and 2.0.0b2 so upgraders get the full breaking-change list.
### Breaking Changes
- This version introduces new hybrid models which have dual dictionary and model nature. Please follow https://aka.ms/azsdk/python/migrate/hybrid-models for migration.
- Renamed client `RelayAPI` to `RelayAPIMgmtClient`
- Model `AuthorizationRule` moved instance variable `rights` under property `properties` whose type is `AuthorizationRuleProperties`
Member
✅ Live Test ResultsSummary: 4 passed, 4 warnings in 47.99s |
Contributor
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 15 out of 15 changed files in this pull request and generated no new comments.
Comments suppressed due to low confidence (2)
sdk/relay/azure-mgmt-relay/tests/conftest.py:21
- Use “recording” after “avoid” to make this security guidance grammatical.
# For security, please avoid record sensitive identity information in recordings
sdk/relay/azure-mgmt-relay/CHANGELOG.md:50
- This release removes the public
azure.mgmt.relay.typessymbolsAccessKeys,CheckNameAvailabilityResult,ErrorAdditionalInfo,ErrorDetail,ErrorResponse,Operation,OperationDisplay,PrivateLinkResource,PrivateLinkResourceProperties, andPrivateLinkResourcesListResult(as reflected inapi.md), but this section does not disclose those import-breaking removals or their replacements. Please document them so users upgrading from 2.0.0b2 can migrate affected imports.
### Breaking Changes
msyyc
approved these changes
Jul 29, 2026
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.
Configurations: 'specification/relay/resource-manager/Microsoft.Relay/Relay/tspconfig.yaml', API Version: 2024-01-01, SDK Release Type: stable, and CommitSHA: '801a60cdad2669e8f824fedfbabbfe7f7093b940' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6632078 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release.